Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates a VPC attachment.
Synopsis
- data UpdateVpcAttachment = UpdateVpcAttachment' {
- addSubnetArns :: Maybe [Text]
- options :: Maybe VpcOptions
- removeSubnetArns :: Maybe [Text]
- attachmentId :: Text
- newUpdateVpcAttachment :: Text -> UpdateVpcAttachment
- updateVpcAttachment_addSubnetArns :: Lens' UpdateVpcAttachment (Maybe [Text])
- updateVpcAttachment_options :: Lens' UpdateVpcAttachment (Maybe VpcOptions)
- updateVpcAttachment_removeSubnetArns :: Lens' UpdateVpcAttachment (Maybe [Text])
- updateVpcAttachment_attachmentId :: Lens' UpdateVpcAttachment Text
- data UpdateVpcAttachmentResponse = UpdateVpcAttachmentResponse' {}
- newUpdateVpcAttachmentResponse :: Int -> UpdateVpcAttachmentResponse
- updateVpcAttachmentResponse_vpcAttachment :: Lens' UpdateVpcAttachmentResponse (Maybe VpcAttachment)
- updateVpcAttachmentResponse_httpStatus :: Lens' UpdateVpcAttachmentResponse Int
Creating a Request
data UpdateVpcAttachment Source #
See: newUpdateVpcAttachment
smart constructor.
UpdateVpcAttachment' | |
|
Instances
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.
updateVpcAttachment_attachmentId :: Lens' UpdateVpcAttachment Text Source #
The ID of the attachment.
Destructuring the Response
data UpdateVpcAttachmentResponse Source #
See: newUpdateVpcAttachmentResponse
smart constructor.
UpdateVpcAttachmentResponse' | |
|
Instances
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
updateVpcAttachmentResponse_vpcAttachment :: Lens' UpdateVpcAttachmentResponse (Maybe VpcAttachment) Source #
Describes the updated VPC attachment.
updateVpcAttachmentResponse_httpStatus :: Lens' UpdateVpcAttachmentResponse Int Source #
The response's http status code.