Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Enables the integration of an Amazon Web Services service (the service
that is specified by ServicePrincipal
) with 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.
We recommend that you enable integration between Organizations and the specified Amazon Web Services 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 Amazon Web Services service.
For more information about enabling services to integrate with Organizations, see Integrating Organizations with Other Amazon Web Services Services in the Organizations User Guide.
You can only call this operation from the organization's management account and only if the organization has enabled all features.
Synopsis
- data EnableAWSServiceAccess = EnableAWSServiceAccess' {}
- newEnableAWSServiceAccess :: Text -> EnableAWSServiceAccess
- enableAWSServiceAccess_servicePrincipal :: Lens' EnableAWSServiceAccess Text
- data EnableAWSServiceAccessResponse = EnableAWSServiceAccessResponse' {
- newEnableAWSServiceAccessResponse :: EnableAWSServiceAccessResponse
Creating a Request
data EnableAWSServiceAccess Source #
See: newEnableAWSServiceAccess
smart constructor.
EnableAWSServiceAccess' | |
|
Instances
newEnableAWSServiceAccess Source #
Create a value of EnableAWSServiceAccess
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
EnableAWSServiceAccess
, enableAWSServiceAccess_servicePrincipal
- The service principal name of the Amazon Web Services 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
.
Request Lenses
enableAWSServiceAccess_servicePrincipal :: Lens' EnableAWSServiceAccess Text Source #
The service principal name of the Amazon Web Services 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
data EnableAWSServiceAccessResponse Source #
See: newEnableAWSServiceAccessResponse
smart constructor.
Instances
newEnableAWSServiceAccessResponse :: EnableAWSServiceAccessResponse Source #
Create a value of EnableAWSServiceAccessResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.