| 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 |
Amazonka.NetworkManager.CreateVpcAttachment
Description
Creates a VPC attachment on an edge location of a core network.
Synopsis
- data CreateVpcAttachment = CreateVpcAttachment' {
- clientToken :: Maybe Text
- options :: Maybe VpcOptions
- tags :: Maybe [Tag]
- coreNetworkId :: Text
- vpcArn :: Text
- subnetArns :: [Text]
- newCreateVpcAttachment :: Text -> Text -> CreateVpcAttachment
- createVpcAttachment_clientToken :: Lens' CreateVpcAttachment (Maybe Text)
- createVpcAttachment_options :: Lens' CreateVpcAttachment (Maybe VpcOptions)
- createVpcAttachment_tags :: Lens' CreateVpcAttachment (Maybe [Tag])
- createVpcAttachment_coreNetworkId :: Lens' CreateVpcAttachment Text
- createVpcAttachment_vpcArn :: Lens' CreateVpcAttachment Text
- createVpcAttachment_subnetArns :: Lens' CreateVpcAttachment [Text]
- data CreateVpcAttachmentResponse = CreateVpcAttachmentResponse' {}
- newCreateVpcAttachmentResponse :: Int -> CreateVpcAttachmentResponse
- createVpcAttachmentResponse_vpcAttachment :: Lens' CreateVpcAttachmentResponse (Maybe VpcAttachment)
- createVpcAttachmentResponse_httpStatus :: Lens' CreateVpcAttachmentResponse Int
Creating a Request
data CreateVpcAttachment Source #
See: newCreateVpcAttachment smart constructor.
Constructors
| CreateVpcAttachment' | |
Fields
| |
Instances
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_options :: Lens' CreateVpcAttachment (Maybe VpcOptions) Source #
Options for the VPC attachment.
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_vpcArn :: Lens' CreateVpcAttachment Text Source #
The ARN of the VPC.
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
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
createVpcAttachmentResponse_vpcAttachment :: Lens' CreateVpcAttachmentResponse (Maybe VpcAttachment) Source #
Provides details about the VPC attachment.
createVpcAttachmentResponse_httpStatus :: Lens' CreateVpcAttachmentResponse Int Source #
The response's http status code.