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.DescribeVPCEndpointServicePermissions

Contents

Description

Describes the principals (service consumers) that are permitted to discover your VPC endpoint service.

Synopsis

Creating a Request

describeVPCEndpointServicePermissions Source #

Creates a value of DescribeVPCEndpointServicePermissions with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dvespFilters - One or more filters. * principal - The ARN of the principal. * principal-type - The principal type (All | Service | OrganizationUnit | Account | User | Role ).
  • dvespNextToken - The token to retrieve the next page of results.
  • dvespDryRun - 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 .
  • dvespMaxResults - The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are returned.
  • dvespServiceId - The ID of the service.

data DescribeVPCEndpointServicePermissions Source #

Instances

Eq DescribeVPCEndpointServicePermissions Source # 
Data DescribeVPCEndpointServicePermissions Source # 

Methods

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

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

toConstr :: DescribeVPCEndpointServicePermissions -> Constr #

dataTypeOf :: DescribeVPCEndpointServicePermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeVPCEndpointServicePermissions Source # 
Show DescribeVPCEndpointServicePermissions Source # 
Generic DescribeVPCEndpointServicePermissions Source # 
Hashable DescribeVPCEndpointServicePermissions Source # 
NFData DescribeVPCEndpointServicePermissions Source # 
AWSRequest DescribeVPCEndpointServicePermissions Source # 
ToHeaders DescribeVPCEndpointServicePermissions Source # 
ToPath DescribeVPCEndpointServicePermissions Source # 
ToQuery DescribeVPCEndpointServicePermissions Source # 
type Rep DescribeVPCEndpointServicePermissions Source # 
type Rep DescribeVPCEndpointServicePermissions = D1 * (MetaData "DescribeVPCEndpointServicePermissions" "Network.AWS.EC2.DescribeVPCEndpointServicePermissions" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "DescribeVPCEndpointServicePermissions'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dvespFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Filter]))) (S1 * (MetaSel (Just Symbol "_dvespNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dvespDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dvespMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_dvespServiceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs DescribeVPCEndpointServicePermissions Source # 

Request Lenses

dvespFilters :: Lens' DescribeVPCEndpointServicePermissions [Filter] Source #

One or more filters. * principal - The ARN of the principal. * principal-type - The principal type (All | Service | OrganizationUnit | Account | User | Role ).

dvespNextToken :: Lens' DescribeVPCEndpointServicePermissions (Maybe Text) Source #

The token to retrieve the next page of results.

dvespDryRun :: Lens' DescribeVPCEndpointServicePermissions (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 .

dvespMaxResults :: Lens' DescribeVPCEndpointServicePermissions (Maybe Int) Source #

The maximum number of results to return for the request in a single page. The remaining results of the initial request can be seen by sending another request with the returned NextToken value. This value can be between 5 and 1000; if MaxResults is given a value larger than 1000, only 1000 results are returned.

Destructuring the Response

describeVPCEndpointServicePermissionsResponse Source #

Creates a value of DescribeVPCEndpointServicePermissionsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeVPCEndpointServicePermissionsResponse Source #

Instances

Eq DescribeVPCEndpointServicePermissionsResponse Source # 
Data DescribeVPCEndpointServicePermissionsResponse Source # 

Methods

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

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

toConstr :: DescribeVPCEndpointServicePermissionsResponse -> Constr #

dataTypeOf :: DescribeVPCEndpointServicePermissionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeVPCEndpointServicePermissionsResponse Source # 
Show DescribeVPCEndpointServicePermissionsResponse Source # 
Generic DescribeVPCEndpointServicePermissionsResponse Source # 
NFData DescribeVPCEndpointServicePermissionsResponse Source # 
type Rep DescribeVPCEndpointServicePermissionsResponse Source # 
type Rep DescribeVPCEndpointServicePermissionsResponse = D1 * (MetaData "DescribeVPCEndpointServicePermissionsResponse" "Network.AWS.EC2.DescribeVPCEndpointServicePermissions" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "DescribeVPCEndpointServicePermissionsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dvesprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dvesprsAllowedPrincipals") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [AllowedPrincipal]))) (S1 * (MetaSel (Just Symbol "_dvesprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

dvesprsNextToken :: Lens' DescribeVPCEndpointServicePermissionsResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.