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 the attributes of your VPC endpoint service configuration. You can change the Network Load Balancers for your service, and you can specify whether acceptance is required for requests to connect to your endpoint service through an interface VPC endpoint.
Synopsis
- modifyVPCEndpointServiceConfiguration :: Text -> ModifyVPCEndpointServiceConfiguration
- data ModifyVPCEndpointServiceConfiguration
- mvescRemoveNetworkLoadBalancerARNs :: Lens' ModifyVPCEndpointServiceConfiguration [Text]
- mvescAcceptanceRequired :: Lens' ModifyVPCEndpointServiceConfiguration (Maybe Bool)
- mvescAddNetworkLoadBalancerARNs :: Lens' ModifyVPCEndpointServiceConfiguration [Text]
- mvescDryRun :: Lens' ModifyVPCEndpointServiceConfiguration (Maybe Bool)
- mvescServiceId :: Lens' ModifyVPCEndpointServiceConfiguration Text
- modifyVPCEndpointServiceConfigurationResponse :: Int -> ModifyVPCEndpointServiceConfigurationResponse
- data ModifyVPCEndpointServiceConfigurationResponse
- mvescrsReturn :: Lens' ModifyVPCEndpointServiceConfigurationResponse (Maybe Bool)
- mvescrsResponseStatus :: Lens' ModifyVPCEndpointServiceConfigurationResponse Int
Creating a Request
modifyVPCEndpointServiceConfiguration Source #
Creates a value of ModifyVPCEndpointServiceConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mvescRemoveNetworkLoadBalancerARNs
- The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service configuration.mvescAcceptanceRequired
- Indicate whether requests to create an endpoint to your service must be accepted.mvescAddNetworkLoadBalancerARNs
- The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service configuration.mvescDryRun
- 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
.mvescServiceId
- The ID of the service.
data ModifyVPCEndpointServiceConfiguration Source #
See: modifyVPCEndpointServiceConfiguration
smart constructor.
Instances
Request Lenses
mvescRemoveNetworkLoadBalancerARNs :: Lens' ModifyVPCEndpointServiceConfiguration [Text] Source #
The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service configuration.
mvescAcceptanceRequired :: Lens' ModifyVPCEndpointServiceConfiguration (Maybe Bool) Source #
Indicate whether requests to create an endpoint to your service must be accepted.
mvescAddNetworkLoadBalancerARNs :: Lens' ModifyVPCEndpointServiceConfiguration [Text] Source #
The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service configuration.
mvescDryRun :: Lens' ModifyVPCEndpointServiceConfiguration (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
.
mvescServiceId :: Lens' ModifyVPCEndpointServiceConfiguration Text Source #
The ID of the service.
Destructuring the Response
modifyVPCEndpointServiceConfigurationResponse Source #
Creates a value of ModifyVPCEndpointServiceConfigurationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mvescrsReturn
- Returnstrue
if the request succeeds; otherwise, it returns an error.mvescrsResponseStatus
- -- | The response status code.
data ModifyVPCEndpointServiceConfigurationResponse Source #
See: modifyVPCEndpointServiceConfigurationResponse
smart constructor.
Instances
Response Lenses
mvescrsReturn :: Lens' ModifyVPCEndpointServiceConfigurationResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, it returns an error.
mvescrsResponseStatus :: Lens' ModifyVPCEndpointServiceConfigurationResponse Int Source #
- - | The response status code.