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

Description

Updates a VPC attachment.

Synopsis

Creating a Request

data UpdateVpcAttachment Source #

See: newUpdateVpcAttachment smart constructor.

Constructors

UpdateVpcAttachment' 

Fields

Instances

Instances details
ToJSON UpdateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

ToHeaders UpdateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

ToPath UpdateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

ToQuery UpdateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

AWSRequest UpdateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

Associated Types

type AWSResponse UpdateVpcAttachment #

Generic UpdateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

Associated Types

type Rep UpdateVpcAttachment :: Type -> Type #

Read UpdateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

Show UpdateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

NFData UpdateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

Methods

rnf :: UpdateVpcAttachment -> () #

Eq UpdateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

Hashable UpdateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

type AWSResponse UpdateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

type Rep UpdateVpcAttachment Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

type Rep UpdateVpcAttachment = D1 ('MetaData "UpdateVpcAttachment" "Amazonka.NetworkManager.UpdateVpcAttachment" "amazonka-networkmanager-2.0-4HNcDlBc00x67cUJWWz3sw" 'False) (C1 ('MetaCons "UpdateVpcAttachment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "addSubnetArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcOptions))) :*: (S1 ('MetaSel ('Just "removeSubnetArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "attachmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateVpcAttachment Source #

Create a value of UpdateVpcAttachment 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:addSubnetArns:UpdateVpcAttachment', updateVpcAttachment_addSubnetArns - Adds a subnet ARN to the VPC attachment.

UpdateVpcAttachment, updateVpcAttachment_options - Additional options for updating the VPC attachment.

$sel:removeSubnetArns:UpdateVpcAttachment', updateVpcAttachment_removeSubnetArns - Removes a subnet ARN from the attachment.

UpdateVpcAttachment, updateVpcAttachment_attachmentId - The ID of the attachment.

Request Lenses

updateVpcAttachment_addSubnetArns :: Lens' UpdateVpcAttachment (Maybe [Text]) Source #

Adds a subnet ARN to the VPC attachment.

updateVpcAttachment_options :: Lens' UpdateVpcAttachment (Maybe VpcOptions) Source #

Additional options for updating the VPC attachment.

updateVpcAttachment_removeSubnetArns :: Lens' UpdateVpcAttachment (Maybe [Text]) Source #

Removes a subnet ARN from the attachment.

Destructuring the Response

data UpdateVpcAttachmentResponse Source #

See: newUpdateVpcAttachmentResponse smart constructor.

Constructors

UpdateVpcAttachmentResponse' 

Fields

Instances

Instances details
Generic UpdateVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

Associated Types

type Rep UpdateVpcAttachmentResponse :: Type -> Type #

Read UpdateVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

Show UpdateVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

NFData UpdateVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

Eq UpdateVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

type Rep UpdateVpcAttachmentResponse Source # 
Instance details

Defined in Amazonka.NetworkManager.UpdateVpcAttachment

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

newUpdateVpcAttachmentResponse Source #

Create a value of UpdateVpcAttachmentResponse 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:UpdateVpcAttachmentResponse', updateVpcAttachmentResponse_vpcAttachment - Describes the updated VPC attachment.

$sel:httpStatus:UpdateVpcAttachmentResponse', updateVpcAttachmentResponse_httpStatus - The response's http status code.

Response Lenses