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.CreateTransitGatewayPrefixListReference

Description

Creates a reference (route) to a prefix list in a specified transit gateway route table.

Synopsis

Creating a Request

data CreateTransitGatewayPrefixListReference Source #

Constructors

CreateTransitGatewayPrefixListReference' 

Fields

  • blackhole :: Maybe Bool

    Indicates whether to drop traffic that matches this route.

  • 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.

  • transitGatewayAttachmentId :: Maybe Text

    The ID of the attachment to which traffic is routed.

  • transitGatewayRouteTableId :: Text

    The ID of the transit gateway route table.

  • prefixListId :: Text

    The ID of the prefix list that is used for destination matches.

Instances

Instances details
ToHeaders CreateTransitGatewayPrefixListReference Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

ToPath CreateTransitGatewayPrefixListReference Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

ToQuery CreateTransitGatewayPrefixListReference Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

AWSRequest CreateTransitGatewayPrefixListReference Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

Generic CreateTransitGatewayPrefixListReference Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

Read CreateTransitGatewayPrefixListReference Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

Show CreateTransitGatewayPrefixListReference Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

NFData CreateTransitGatewayPrefixListReference Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

Eq CreateTransitGatewayPrefixListReference Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

Hashable CreateTransitGatewayPrefixListReference Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

type AWSResponse CreateTransitGatewayPrefixListReference Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

type Rep CreateTransitGatewayPrefixListReference Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

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

newCreateTransitGatewayPrefixListReference Source #

Create a value of CreateTransitGatewayPrefixListReference 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:

CreateTransitGatewayPrefixListReference, createTransitGatewayPrefixListReference_blackhole - Indicates whether to drop traffic that matches this route.

$sel:dryRun:CreateTransitGatewayPrefixListReference', createTransitGatewayPrefixListReference_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.

CreateTransitGatewayPrefixListReference, createTransitGatewayPrefixListReference_transitGatewayAttachmentId - The ID of the attachment to which traffic is routed.

CreateTransitGatewayPrefixListReference, createTransitGatewayPrefixListReference_transitGatewayRouteTableId - The ID of the transit gateway route table.

CreateTransitGatewayPrefixListReference, createTransitGatewayPrefixListReference_prefixListId - The ID of the prefix list that is used for destination matches.

Request Lenses

createTransitGatewayPrefixListReference_dryRun :: Lens' CreateTransitGatewayPrefixListReference (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 CreateTransitGatewayPrefixListReferenceResponse Source #

Constructors

CreateTransitGatewayPrefixListReferenceResponse' 

Fields

Instances

Instances details
Generic CreateTransitGatewayPrefixListReferenceResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

Read CreateTransitGatewayPrefixListReferenceResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

Show CreateTransitGatewayPrefixListReferenceResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

NFData CreateTransitGatewayPrefixListReferenceResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

Eq CreateTransitGatewayPrefixListReferenceResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

type Rep CreateTransitGatewayPrefixListReferenceResponse Source # 
Instance details

Defined in Amazonka.EC2.CreateTransitGatewayPrefixListReference

type Rep CreateTransitGatewayPrefixListReferenceResponse = D1 ('MetaData "CreateTransitGatewayPrefixListReferenceResponse" "Amazonka.EC2.CreateTransitGatewayPrefixListReference" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateTransitGatewayPrefixListReferenceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "transitGatewayPrefixListReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TransitGatewayPrefixListReference)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

Response Lenses