describe_security_group_references
async
¶
describe_security_group_references(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
group_id: Optional[GroupIds] = None,
) -> DescribeSecurityGroupReferencesResult
Describes the VPCs on the other side of a VPC peering or Transit Gateway connection that are referencing the security groups you've specified in this request.
Parameters:
-
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. -
group_id(Optional[GroupIds], default:None) –The IDs of the security groups in your account.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To describe security group references This example describes the security group references for the specified security group.
Source code in docs_src/capo_ec2/_services/async_ec2.py
33170 33171 33172 33173 33174 33175 33176 33177 33178 33179 33180 33181 33182 33183 33184 33185 33186 33187 33188 33189 33190 33191 33192 33193 33194 33195 33196 33197 33198 33199 33200 33201 33202 33203 33204 33205 33206 33207 33208 33209 33210 33211 33212 33213 33214 33215 33216 33217 33218 33219 33220 33221 33222 33223 | |