Safe Haskell | None |
---|---|
Language | Haskell2010 |
Modifies attributes of a specified VPC endpoint. You can modify the policy associated with the endpoint, and you can add and remove route tables associated with the endpoint.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ModifyVpcEndpoint.html
- data ModifyVpcEndpoint
- modifyVpcEndpoint :: Text -> ModifyVpcEndpoint
- mveAddRouteTableIds :: Lens' ModifyVpcEndpoint [Text]
- mveDryRun :: Lens' ModifyVpcEndpoint (Maybe Bool)
- mvePolicyDocument :: Lens' ModifyVpcEndpoint (Maybe Text)
- mveRemoveRouteTableIds :: Lens' ModifyVpcEndpoint [Text]
- mveResetPolicy :: Lens' ModifyVpcEndpoint (Maybe Bool)
- mveVpcEndpointId :: Lens' ModifyVpcEndpoint Text
- data ModifyVpcEndpointResponse
- modifyVpcEndpointResponse :: ModifyVpcEndpointResponse
- mverReturn :: Lens' ModifyVpcEndpointResponse (Maybe Bool)
Request
data ModifyVpcEndpoint Source
Request constructor
ModifyVpcEndpoint
constructor.
The fields accessible through corresponding lenses are:
Request lenses
mveAddRouteTableIds :: Lens' ModifyVpcEndpoint [Text] Source
One or more route tables IDs to associate with the endpoint.
mveDryRun :: Lens' ModifyVpcEndpoint (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
.
mvePolicyDocument :: Lens' ModifyVpcEndpoint (Maybe Text) Source
A policy document to attach to the endpoint. The policy must be in valid JSON format.
mveRemoveRouteTableIds :: Lens' ModifyVpcEndpoint [Text] Source
One or more route table IDs to disassociate from the endpoint.
mveResetPolicy :: Lens' ModifyVpcEndpoint (Maybe Bool) Source
Specify true
to reset the policy document to the default policy. The default
policy allows access to the service.
mveVpcEndpointId :: Lens' ModifyVpcEndpoint Text Source
The ID of the endpoint.
Response
Response constructor
modifyVpcEndpointResponse :: ModifyVpcEndpointResponse Source
ModifyVpcEndpointResponse
constructor.
The fields accessible through corresponding lenses are:
mverReturn
::
Maybe
Bool
Response lenses
mverReturn :: Lens' ModifyVpcEndpointResponse (Maybe Bool) Source
Returns true
if the request succeeds; otherwise, it returns an error.