Safe Haskell | None |
---|---|
Language | Haskell2010 |
Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC. For more information about your VPC and Internet gateway, see the Amazon Virtual Private Cloud User Guide.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-AttachInternetGateway.html
- data AttachInternetGateway
- attachInternetGateway :: Text -> Text -> AttachInternetGateway
- aigDryRun :: Lens' AttachInternetGateway (Maybe Bool)
- aigInternetGatewayId :: Lens' AttachInternetGateway Text
- aigVpcId :: Lens' AttachInternetGateway Text
- data AttachInternetGatewayResponse
- attachInternetGatewayResponse :: AttachInternetGatewayResponse
Request
data AttachInternetGateway Source
Request constructor
AttachInternetGateway
constructor.
The fields accessible through corresponding lenses are:
Request lenses
aigDryRun :: Lens' AttachInternetGateway (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
.
aigInternetGatewayId :: Lens' AttachInternetGateway Text Source
The ID of the Internet gateway.
aigVpcId :: Lens' AttachInternetGateway Text Source
The ID of the VPC.