Safe Haskell | None |
---|---|
Language | Haskell2010 |
Creates a VPC endpoint for a specified AWS service. An endpoint enables you to create a private connection between your VPC and another AWS service in your account. You can specify an endpoint policy to attach to the endpoint that will control access to the service from your VPC. You can also specify the VPC route tables that use the endpoint.
Currently, only endpoints to Amazon S3 are supported.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CreateVpcEndpoint.html
- data CreateVpcEndpoint
- createVpcEndpoint :: Text -> Text -> CreateVpcEndpoint
- cveClientToken :: Lens' CreateVpcEndpoint (Maybe Text)
- cveDryRun :: Lens' CreateVpcEndpoint (Maybe Bool)
- cvePolicyDocument :: Lens' CreateVpcEndpoint (Maybe Text)
- cveRouteTableIds :: Lens' CreateVpcEndpoint [Text]
- cveServiceName :: Lens' CreateVpcEndpoint Text
- cveVpcId :: Lens' CreateVpcEndpoint Text
- data CreateVpcEndpointResponse
- createVpcEndpointResponse :: CreateVpcEndpointResponse
- cverClientToken :: Lens' CreateVpcEndpointResponse (Maybe Text)
- cverVpcEndpoint :: Lens' CreateVpcEndpointResponse (Maybe VpcEndpoint)
Request
data CreateVpcEndpoint Source
Request constructor
CreateVpcEndpoint
constructor.
The fields accessible through corresponding lenses are:
Request lenses
cveClientToken :: Lens' CreateVpcEndpoint (Maybe Text) Source
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
cveDryRun :: Lens' CreateVpcEndpoint (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
.
cvePolicyDocument :: Lens' CreateVpcEndpoint (Maybe Text) Source
A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.
cveRouteTableIds :: Lens' CreateVpcEndpoint [Text] Source
One or more route table IDs.
cveVpcId :: Lens' CreateVpcEndpoint Text Source
The ID of the VPC in which the endpoint will be used.
Response
Response constructor
createVpcEndpointResponse :: CreateVpcEndpointResponse Source
CreateVpcEndpointResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
cverClientToken :: Lens' CreateVpcEndpointResponse (Maybe Text) Source
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
cverVpcEndpoint :: Lens' CreateVpcEndpointResponse (Maybe VpcEndpoint) Source
Information about the endpoint.