amazonka-organizations-1.6.0: Amazon Organizations 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.Organizations.ListAWSServiceAccessForOrganization

Contents

Description

Returns a list of the AWS services that you enabled to integrate with your organization. After a service on this list creates the resources that it requires for the integration, it can perform operations on your organization and its accounts.

For more information about integrating other services with AWS Organizations, including the list of services that currently work with Organizations, see Integrating AWS Organizations with Other AWS Services in the AWS Organizations User Guide .

This operation can be called only from the organization's master account.

This operation returns paginated results.

Synopsis

Creating a Request

listAWSServiceAccessForOrganization :: ListAWSServiceAccessForOrganization Source #

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

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

  • lasafoNextToken - Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from.
  • lasafoMaxResults - (Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

data ListAWSServiceAccessForOrganization Source #

See: listAWSServiceAccessForOrganization smart constructor.

Instances

Eq ListAWSServiceAccessForOrganization Source # 
Data ListAWSServiceAccessForOrganization Source # 

Methods

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

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

toConstr :: ListAWSServiceAccessForOrganization -> Constr #

dataTypeOf :: ListAWSServiceAccessForOrganization -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListAWSServiceAccessForOrganization Source # 
Show ListAWSServiceAccessForOrganization Source # 
Generic ListAWSServiceAccessForOrganization Source # 
Hashable ListAWSServiceAccessForOrganization Source # 
ToJSON ListAWSServiceAccessForOrganization Source # 
NFData ListAWSServiceAccessForOrganization Source # 
AWSPager ListAWSServiceAccessForOrganization Source # 
AWSRequest ListAWSServiceAccessForOrganization Source # 
ToHeaders ListAWSServiceAccessForOrganization Source # 
ToPath ListAWSServiceAccessForOrganization Source # 
ToQuery ListAWSServiceAccessForOrganization Source # 
type Rep ListAWSServiceAccessForOrganization Source # 
type Rep ListAWSServiceAccessForOrganization = D1 * (MetaData "ListAWSServiceAccessForOrganization" "Network.AWS.Organizations.ListAWSServiceAccessForOrganization" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "ListAWSServiceAccessForOrganization'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lasafoNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lasafoMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))))
type Rs ListAWSServiceAccessForOrganization Source # 

Request Lenses

lasafoNextToken :: Lens' ListAWSServiceAccessForOrganization (Maybe Text) Source #

Use this parameter if you receive a NextToken response in a previous request that indicates that there is more output available. Set it to the value of the previous call's NextToken response to indicate where the output should continue from.

lasafoMaxResults :: Lens' ListAWSServiceAccessForOrganization (Maybe Natural) Source #

(Optional) Use this to limit the number of results you want included in the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the maximum you specify, the NextToken response element is present and has a value (is not null). Include that value as the NextToken request parameter in the next call to the operation to get the next part of the results. Note that Organizations might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.

Destructuring the Response

listAWSServiceAccessForOrganizationResponse Source #

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

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

  • lasaforsNextToken - If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null .
  • lasaforsEnabledServicePrincipals - A list of the service principals for the services that are enabled to integrate with your organization. Each principal is a structure that includes the name and the date that it was enabled for integration with AWS Organizations.
  • lasaforsResponseStatus - -- | The response status code.

data ListAWSServiceAccessForOrganizationResponse Source #

Instances

Eq ListAWSServiceAccessForOrganizationResponse Source # 
Data ListAWSServiceAccessForOrganizationResponse Source # 

Methods

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

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

toConstr :: ListAWSServiceAccessForOrganizationResponse -> Constr #

dataTypeOf :: ListAWSServiceAccessForOrganizationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListAWSServiceAccessForOrganizationResponse Source # 
Show ListAWSServiceAccessForOrganizationResponse Source # 
Generic ListAWSServiceAccessForOrganizationResponse Source # 
NFData ListAWSServiceAccessForOrganizationResponse Source # 
type Rep ListAWSServiceAccessForOrganizationResponse Source # 
type Rep ListAWSServiceAccessForOrganizationResponse = D1 * (MetaData "ListAWSServiceAccessForOrganizationResponse" "Network.AWS.Organizations.ListAWSServiceAccessForOrganization" "amazonka-organizations-1.6.0-rHxjcIb8Bn6XT7VgZWDi9" False) (C1 * (MetaCons "ListAWSServiceAccessForOrganizationResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lasaforsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lasaforsEnabledServicePrincipals") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [EnabledServicePrincipal]))) (S1 * (MetaSel (Just Symbol "_lasaforsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lasaforsNextToken :: Lens' ListAWSServiceAccessForOrganizationResponse (Maybe Text) Source #

If present, this value indicates that there is more output available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null .

lasaforsEnabledServicePrincipals :: Lens' ListAWSServiceAccessForOrganizationResponse [EnabledServicePrincipal] Source #

A list of the service principals for the services that are enabled to integrate with your organization. Each principal is a structure that includes the name and the date that it was enabled for integration with AWS Organizations.