amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.DescribeSecurityGroupReferences

Description

VPC only
Describes the VPCs on the other side of a VPC peering connection that are referencing the security groups you've specified in this request.
Synopsis

Creating a Request

data DescribeSecurityGroupReferences Source #

See: newDescribeSecurityGroupReferences smart constructor.

Constructors

DescribeSecurityGroupReferences' 

Fields

  • dryRun :: Maybe Bool

    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 is UnauthorizedOperation.

  • groupId :: [Text]

    The IDs of the security groups in your account.

Instances

Instances details
ToHeaders DescribeSecurityGroupReferences Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

ToPath DescribeSecurityGroupReferences Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

ToQuery DescribeSecurityGroupReferences Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

AWSRequest DescribeSecurityGroupReferences Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

Generic DescribeSecurityGroupReferences Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

Associated Types

type Rep DescribeSecurityGroupReferences :: Type -> Type #

Read DescribeSecurityGroupReferences Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

Show DescribeSecurityGroupReferences Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

NFData DescribeSecurityGroupReferences Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

Eq DescribeSecurityGroupReferences Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

Hashable DescribeSecurityGroupReferences Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

type AWSResponse DescribeSecurityGroupReferences Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

type Rep DescribeSecurityGroupReferences Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

type Rep DescribeSecurityGroupReferences = D1 ('MetaData "DescribeSecurityGroupReferences" "Amazonka.EC2.DescribeSecurityGroupReferences" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeSecurityGroupReferences'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "groupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newDescribeSecurityGroupReferences :: DescribeSecurityGroupReferences Source #

Create a value of DescribeSecurityGroupReferences with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dryRun:DescribeSecurityGroupReferences', describeSecurityGroupReferences_dryRun - 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 is UnauthorizedOperation.

DescribeSecurityGroupReferences, describeSecurityGroupReferences_groupId - The IDs of the security groups in your account.

Request Lenses

describeSecurityGroupReferences_dryRun :: Lens' DescribeSecurityGroupReferences (Maybe Bool) Source #

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 is UnauthorizedOperation.

Destructuring the Response

data DescribeSecurityGroupReferencesResponse Source #

Constructors

DescribeSecurityGroupReferencesResponse' 

Fields

Instances

Instances details
Generic DescribeSecurityGroupReferencesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

Read DescribeSecurityGroupReferencesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

Show DescribeSecurityGroupReferencesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

NFData DescribeSecurityGroupReferencesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

Eq DescribeSecurityGroupReferencesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

type Rep DescribeSecurityGroupReferencesResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeSecurityGroupReferences

type Rep DescribeSecurityGroupReferencesResponse = D1 ('MetaData "DescribeSecurityGroupReferencesResponse" "Amazonka.EC2.DescribeSecurityGroupReferences" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeSecurityGroupReferencesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityGroupReferenceSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SecurityGroupReference])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeSecurityGroupReferencesResponse Source #

Create a value of DescribeSecurityGroupReferencesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:securityGroupReferenceSet:DescribeSecurityGroupReferencesResponse', describeSecurityGroupReferencesResponse_securityGroupReferenceSet - Information about the VPCs with the referencing security groups.

$sel:httpStatus:DescribeSecurityGroupReferencesResponse', describeSecurityGroupReferencesResponse_httpStatus - The response's http status code.

Response Lenses