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 |
Enables the integration of an AWS service (the service that is specified by ServicePrincipal
) with AWS Organizations. When you enable integration, you allow the specified service to create a service-linked role in all the accounts in your organization. This allows the service to perform operations on your behalf in your organization and its accounts.
Important: We recommend that you enable integration between AWS Organizations and the specified AWS service by using the console or commands that are provided by the specified service. Doing so ensures that the service is aware that it can create the resources that are required for the integration. How the service creates those resources in the organization's accounts depends on that service. For more information, see the documentation for the other AWS service.
For more information about enabling services to integrate with AWS 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 and only if the organization has enabled all features .
Creating a Request
enableAWSServiceAccess Source #
Creates a value of EnableAWSServiceAccess
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
easaServicePrincipal
- The service principal name of the AWS service for which you want to enable integration with your organization. This is typically in the form of a URL, such asservice-abbreviation .amazonaws.com
.
data EnableAWSServiceAccess Source #
See: enableAWSServiceAccess
smart constructor.
Request Lenses
easaServicePrincipal :: Lens' EnableAWSServiceAccess Text Source #
The service principal name of the AWS service for which you want to enable integration with your organization. This is typically in the form of a URL, such as service-abbreviation .amazonaws.com
.
Destructuring the Response
enableAWSServiceAccessResponse :: EnableAWSServiceAccessResponse Source #
Creates a value of EnableAWSServiceAccessResponse
with the minimum fields required to make a request.
data EnableAWSServiceAccessResponse Source #
See: enableAWSServiceAccessResponse
smart constructor.