describe_security_group_vpc_associations
async
¶
describe_security_group_vpc_associations(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
filters: Optional[FilterList] = None,
next_token: Optional[String] = None,
max_results: Optional[DescribeSecurityGroupVpcAssociationsMaxResults] = None,
dry_run: Optional[Boolean] = None,
) -> DescribeSecurityGroupVpcAssociationsResult
Describes security group VPC associations made with AssociateSecurityGroupVpc.
Parameters:
-
filters(Optional[FilterList], default:None) –Security group VPC association filters.
-
group-id: The security group ID. -
group-owner-id: The group owner ID. -
state: The state of the association. -
vpc-id: The ID of the associated VPC. -
vpc-owner-id: The account ID of the VPC owner.
-
-
next_token(Optional[String], default:None) –The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
-
max_results(Optional[DescribeSecurityGroupVpcAssociationsMaxResults], default:None) –The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
33437 33438 33439 33440 33441 33442 33443 33444 33445 33446 33447 33448 33449 33450 33451 33452 33453 33454 33455 33456 33457 33458 33459 33460 33461 33462 33463 33464 33465 33466 33467 33468 33469 33470 33471 33472 33473 33474 33475 33476 33477 33478 33479 33480 33481 33482 33483 33484 33485 33486 33487 33488 33489 33490 33491 33492 33493 33494 | |