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 permissions for your VPC endpoint service . You can add or remove permissions for service consumers (IAM users, IAM roles, and AWS accounts) to connect to your endpoint service.
- modifyVPCEndpointServicePermissions :: Text -> ModifyVPCEndpointServicePermissions
- data ModifyVPCEndpointServicePermissions
- mvespRemoveAllowedPrincipals :: Lens' ModifyVPCEndpointServicePermissions [Text]
- mvespAddAllowedPrincipals :: Lens' ModifyVPCEndpointServicePermissions [Text]
- mvespDryRun :: Lens' ModifyVPCEndpointServicePermissions (Maybe Bool)
- mvespServiceId :: Lens' ModifyVPCEndpointServicePermissions Text
- modifyVPCEndpointServicePermissionsResponse :: Int -> ModifyVPCEndpointServicePermissionsResponse
- data ModifyVPCEndpointServicePermissionsResponse
- mvesprsReturnValue :: Lens' ModifyVPCEndpointServicePermissionsResponse (Maybe Bool)
- mvesprsResponseStatus :: Lens' ModifyVPCEndpointServicePermissionsResponse Int
Creating a Request
modifyVPCEndpointServicePermissions Source #
Creates a value of ModifyVPCEndpointServicePermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mvespRemoveAllowedPrincipals
- One or more Amazon Resource Names (ARNs) of principals for which to remove permission.mvespAddAllowedPrincipals
- One or more Amazon Resource Names (ARNs) of principals for which to allow permission. Specify*
to allow all principals.mvespDryRun
- 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
.mvespServiceId
- The ID of the service.
data ModifyVPCEndpointServicePermissions Source #
See: modifyVPCEndpointServicePermissions
smart constructor.
Request Lenses
mvespRemoveAllowedPrincipals :: Lens' ModifyVPCEndpointServicePermissions [Text] Source #
One or more Amazon Resource Names (ARNs) of principals for which to remove permission.
mvespAddAllowedPrincipals :: Lens' ModifyVPCEndpointServicePermissions [Text] Source #
One or more Amazon Resource Names (ARNs) of principals for which to allow permission. Specify *
to allow all principals.
mvespDryRun :: Lens' ModifyVPCEndpointServicePermissions (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
.
mvespServiceId :: Lens' ModifyVPCEndpointServicePermissions Text Source #
The ID of the service.
Destructuring the Response
modifyVPCEndpointServicePermissionsResponse Source #
Creates a value of ModifyVPCEndpointServicePermissionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mvesprsReturnValue
- Returnstrue
if the request succeeds; otherwise, it returns an error.mvesprsResponseStatus
- -- | The response status code.
data ModifyVPCEndpointServicePermissionsResponse Source #
See: modifyVPCEndpointServicePermissionsResponse
smart constructor.
Response Lenses
mvesprsReturnValue :: Lens' ModifyVPCEndpointServicePermissionsResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, it returns an error.
mvesprsResponseStatus :: Lens' ModifyVPCEndpointServicePermissionsResponse Int Source #
- - | The response status code.