Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Modifies attributes of a specified VPC endpoint. The attributes that you can modify depend on the type of VPC endpoint (interface or gateway). For more information, see VPC Endpoints in the Amazon Virtual Private Cloud User Guide .
- modifyVPCEndpoint :: Text -> ModifyVPCEndpoint
- data ModifyVPCEndpoint
- mvePolicyDocument :: Lens' ModifyVPCEndpoint (Maybe Text)
- mveRemoveRouteTableIds :: Lens' ModifyVPCEndpoint [Text]
- mveResetPolicy :: Lens' ModifyVPCEndpoint (Maybe Bool)
- mveAddRouteTableIds :: Lens' ModifyVPCEndpoint [Text]
- mvePrivateDNSEnabled :: Lens' ModifyVPCEndpoint (Maybe Bool)
- mveAddSubnetIds :: Lens' ModifyVPCEndpoint [Text]
- mveRemoveSubnetIds :: Lens' ModifyVPCEndpoint [Text]
- mveAddSecurityGroupIds :: Lens' ModifyVPCEndpoint [Text]
- mveDryRun :: Lens' ModifyVPCEndpoint (Maybe Bool)
- mveRemoveSecurityGroupIds :: Lens' ModifyVPCEndpoint [Text]
- mveVPCEndpointId :: Lens' ModifyVPCEndpoint Text
- modifyVPCEndpointResponse :: Int -> ModifyVPCEndpointResponse
- data ModifyVPCEndpointResponse
- mversReturn :: Lens' ModifyVPCEndpointResponse (Maybe Bool)
- mversResponseStatus :: Lens' ModifyVPCEndpointResponse Int
Creating a Request
Creates a value of ModifyVPCEndpoint
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mvePolicyDocument
- (Gateway endpoint) A policy document to attach to the endpoint. The policy must be in valid JSON format.mveRemoveRouteTableIds
- (Gateway endpoint) One or more route table IDs to disassociate from the endpoint.mveResetPolicy
- (Gateway endpoint) Specifytrue
to reset the policy document to the default policy. The default policy allows full access to the service.mveAddRouteTableIds
- (Gateway endpoint) One or more route tables IDs to associate with the endpoint.mvePrivateDNSEnabled
- (Interface endpoint) Indicate whether a private hosted zone is associated with the VPC.mveAddSubnetIds
- (Interface endpoint) One or more subnet IDs in which to serve the endpoint.mveRemoveSubnetIds
- (Interface endpoint) One or more subnets IDs in which to remove the endpoint.mveAddSecurityGroupIds
- (Interface endpoint) One or more security group IDs to associate with the network interface.mveDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.mveRemoveSecurityGroupIds
- (Interface endpoint) One or more security group IDs to disassociate from the network interface.mveVPCEndpointId
- The ID of the endpoint.
data ModifyVPCEndpoint Source #
Contains the parameters for ModifyVpcEndpoint.
See: modifyVPCEndpoint
smart constructor.
Request Lenses
mvePolicyDocument :: Lens' ModifyVPCEndpoint (Maybe Text) Source #
(Gateway endpoint) A policy document to attach to the endpoint. The policy must be in valid JSON format.
mveRemoveRouteTableIds :: Lens' ModifyVPCEndpoint [Text] Source #
(Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
mveResetPolicy :: Lens' ModifyVPCEndpoint (Maybe Bool) Source #
(Gateway endpoint) Specify true
to reset the policy document to the default policy. The default policy allows full access to the service.
mveAddRouteTableIds :: Lens' ModifyVPCEndpoint [Text] Source #
(Gateway endpoint) One or more route tables IDs to associate with the endpoint.
mvePrivateDNSEnabled :: Lens' ModifyVPCEndpoint (Maybe Bool) Source #
(Interface endpoint) Indicate whether a private hosted zone is associated with the VPC.
mveAddSubnetIds :: Lens' ModifyVPCEndpoint [Text] Source #
(Interface endpoint) One or more subnet IDs in which to serve the endpoint.
mveRemoveSubnetIds :: Lens' ModifyVPCEndpoint [Text] Source #
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
mveAddSecurityGroupIds :: Lens' ModifyVPCEndpoint [Text] Source #
(Interface endpoint) One or more security group IDs to associate with the network interface.
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
.
mveRemoveSecurityGroupIds :: Lens' ModifyVPCEndpoint [Text] Source #
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
mveVPCEndpointId :: Lens' ModifyVPCEndpoint Text Source #
The ID of the endpoint.
Destructuring the Response
modifyVPCEndpointResponse Source #
Creates a value of ModifyVPCEndpointResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mversReturn
- Returnstrue
if the request succeeds; otherwise, it returns an error.mversResponseStatus
- -- | The response status code.
data ModifyVPCEndpointResponse Source #
See: modifyVPCEndpointResponse
smart constructor.
Response Lenses
mversReturn :: Lens' ModifyVPCEndpointResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, it returns an error.
mversResponseStatus :: Lens' ModifyVPCEndpointResponse Int Source #
- - | The response status code.