amazonka-networkmanager-2.0: Amazon Network Manager 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.NetworkManager.CreateVpcAttachment

Description

Creates a VPC attachment on an edge location of a core network.

Synopsis

Creating a Request

data CreateVpcAttachment Source #

See: newCreateVpcAttachment smart constructor.

Constructors

CreateVpcAttachment' 

Fields

Instances

Instances details
ToJSON CreateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

ToHeaders CreateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

ToPath CreateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

ToQuery CreateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

AWSRequest CreateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

Associated Types

type AWSResponse CreateVpcAttachment #

Generic CreateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

Associated Types

type Rep CreateVpcAttachment :: Type -> Type #

Read CreateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

Show CreateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

NFData CreateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

Methods

rnf :: CreateVpcAttachment -> () #

Eq CreateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

Hashable CreateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

type AWSResponse CreateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

type Rep CreateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

type Rep CreateVpcAttachment = D1 ('MetaData "CreateVpcAttachment" "Amazonka.NetworkManager.CreateVpcAttachment" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "CreateVpcAttachment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcOptions)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))) :*: (S1 ('MetaSel ('Just "coreNetworkId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "vpcArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "subnetArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))))

newCreateVpcAttachment Source #

Create a value of CreateVpcAttachment 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:clientToken:CreateVpcAttachment', createVpcAttachment_clientToken - The client token associated with the request.

CreateVpcAttachment, createVpcAttachment_options - Options for the VPC attachment.

CreateVpcAttachment, createVpcAttachment_tags - The key-value tags associated with the request.

CreateVpcAttachment, createVpcAttachment_coreNetworkId - The ID of a core network for the VPC attachment.

$sel:vpcArn:CreateVpcAttachment', createVpcAttachment_vpcArn - The ARN of the VPC.

CreateVpcAttachment, createVpcAttachment_subnetArns - The subnet ARN of the VPC attachment.

Request Lenses

createVpcAttachment_clientToken :: Lens' CreateVpcAttachment (Maybe Text) Source #

The client token associated with the request.

createVpcAttachment_tags :: Lens' CreateVpcAttachment (Maybe [Tag]) Source #

The key-value tags associated with the request.

createVpcAttachment_coreNetworkId :: Lens' CreateVpcAttachment Text Source #

The ID of a core network for the VPC attachment.

createVpcAttachment_subnetArns :: Lens' CreateVpcAttachment [Text] Source #

The subnet ARN of the VPC attachment.

Destructuring the Response

data CreateVpcAttachmentResponse Source #

See: newCreateVpcAttachmentResponse smart constructor.

Constructors

CreateVpcAttachmentResponse' 

Fields

Instances

Instances details
Generic CreateVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

Associated Types

type Rep CreateVpcAttachmentResponse :: Type -> Type #

Read CreateVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

Show CreateVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

NFData CreateVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

Eq CreateVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

type Rep CreateVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.CreateVpcAttachment

type Rep CreateVpcAttachmentResponse = D1 ('MetaData "CreateVpcAttachmentResponse" "Amazonka.NetworkManager.CreateVpcAttachment" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "CreateVpcAttachmentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "vpcAttachment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcAttachment)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateVpcAttachmentResponse Source #

Create a value of CreateVpcAttachmentResponse 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:vpcAttachment:CreateVpcAttachmentResponse', createVpcAttachmentResponse_vpcAttachment - Provides details about the VPC attachment.

$sel:httpStatus:CreateVpcAttachmentResponse', createVpcAttachmentResponse_httpStatus - The response's http status code.

Response Lenses