amazonka-ec2-1.6.0: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ModifyVPCEndpointServicePermissions

Contents

Description

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.

Synopsis

Creating a Request

modifyVPCEndpointServicePermissions #

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 is DryRunOperation . Otherwise, it is UnauthorizedOperation .
  • mvespServiceId - The ID of the service.

data ModifyVPCEndpointServicePermissions #

See: modifyVPCEndpointServicePermissions smart constructor.

Instances
Eq ModifyVPCEndpointServicePermissions # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

Data ModifyVPCEndpointServicePermissions # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyVPCEndpointServicePermissions -> c ModifyVPCEndpointServicePermissions #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyVPCEndpointServicePermissions #

toConstr :: ModifyVPCEndpointServicePermissions -> Constr #

dataTypeOf :: ModifyVPCEndpointServicePermissions -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ModifyVPCEndpointServicePermissions) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyVPCEndpointServicePermissions) #

gmapT :: (forall b. Data b => b -> b) -> ModifyVPCEndpointServicePermissions -> ModifyVPCEndpointServicePermissions #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyVPCEndpointServicePermissions -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyVPCEndpointServicePermissions -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyVPCEndpointServicePermissions -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyVPCEndpointServicePermissions -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyVPCEndpointServicePermissions -> m ModifyVPCEndpointServicePermissions #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyVPCEndpointServicePermissions -> m ModifyVPCEndpointServicePermissions #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyVPCEndpointServicePermissions -> m ModifyVPCEndpointServicePermissions #

Read ModifyVPCEndpointServicePermissions # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

Show ModifyVPCEndpointServicePermissions # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

Generic ModifyVPCEndpointServicePermissions # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

Associated Types

type Rep ModifyVPCEndpointServicePermissions :: * -> * #

Hashable ModifyVPCEndpointServicePermissions # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

AWSRequest ModifyVPCEndpointServicePermissions # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

Associated Types

type Rs ModifyVPCEndpointServicePermissions :: * #

ToHeaders ModifyVPCEndpointServicePermissions # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

ToPath ModifyVPCEndpointServicePermissions # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

ToQuery ModifyVPCEndpointServicePermissions # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

NFData ModifyVPCEndpointServicePermissions # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

type Rep ModifyVPCEndpointServicePermissions # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

type Rep ModifyVPCEndpointServicePermissions = D1 (MetaData "ModifyVPCEndpointServicePermissions" "Network.AWS.EC2.ModifyVPCEndpointServicePermissions" "amazonka-ec2-1.6.0-G6ppxISnQxeI7PhDx9p8Zy" False) (C1 (MetaCons "ModifyVPCEndpointServicePermissions'" PrefixI True) ((S1 (MetaSel (Just "_mvespRemoveAllowedPrincipals") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_mvespAddAllowedPrincipals") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_mvespDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_mvespServiceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ModifyVPCEndpointServicePermissions # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

Request Lenses

mvespRemoveAllowedPrincipals :: Lens' ModifyVPCEndpointServicePermissions [Text] #

One or more Amazon Resource Names (ARNs) of principals for which to remove permission.

mvespAddAllowedPrincipals :: Lens' ModifyVPCEndpointServicePermissions [Text] #

One or more Amazon Resource Names (ARNs) of principals for which to allow permission. Specify * to allow all principals.

mvespDryRun :: Lens' ModifyVPCEndpointServicePermissions (Maybe Bool) #

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 .

Destructuring the Response

modifyVPCEndpointServicePermissionsResponse #

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:

data ModifyVPCEndpointServicePermissionsResponse #

Instances
Eq ModifyVPCEndpointServicePermissionsResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

Data ModifyVPCEndpointServicePermissionsResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyVPCEndpointServicePermissionsResponse -> c ModifyVPCEndpointServicePermissionsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyVPCEndpointServicePermissionsResponse #

toConstr :: ModifyVPCEndpointServicePermissionsResponse -> Constr #

dataTypeOf :: ModifyVPCEndpointServicePermissionsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ModifyVPCEndpointServicePermissionsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyVPCEndpointServicePermissionsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ModifyVPCEndpointServicePermissionsResponse -> ModifyVPCEndpointServicePermissionsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyVPCEndpointServicePermissionsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyVPCEndpointServicePermissionsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyVPCEndpointServicePermissionsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyVPCEndpointServicePermissionsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyVPCEndpointServicePermissionsResponse -> m ModifyVPCEndpointServicePermissionsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyVPCEndpointServicePermissionsResponse -> m ModifyVPCEndpointServicePermissionsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyVPCEndpointServicePermissionsResponse -> m ModifyVPCEndpointServicePermissionsResponse #

Read ModifyVPCEndpointServicePermissionsResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

Show ModifyVPCEndpointServicePermissionsResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

Generic ModifyVPCEndpointServicePermissionsResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

NFData ModifyVPCEndpointServicePermissionsResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

type Rep ModifyVPCEndpointServicePermissionsResponse # 
Instance details

Defined in Network.AWS.EC2.ModifyVPCEndpointServicePermissions

type Rep ModifyVPCEndpointServicePermissionsResponse = D1 (MetaData "ModifyVPCEndpointServicePermissionsResponse" "Network.AWS.EC2.ModifyVPCEndpointServicePermissions" "amazonka-ec2-1.6.0-G6ppxISnQxeI7PhDx9p8Zy" False) (C1 (MetaCons "ModifyVPCEndpointServicePermissionsResponse'" PrefixI True) (S1 (MetaSel (Just "_mvesprsReturnValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_mvesprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

mvesprsReturnValue :: Lens' ModifyVPCEndpointServicePermissionsResponse (Maybe Bool) #

Returns true if the request succeeds; otherwise, it returns an error.