Copyright | (c) 2013-2021 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 |
Amazonka.Organizations.RegisterDelegatedAdministrator
Description
Enables the specified member account to administer the Organizations features of the specified AWS service. It grants read-only access to AWS Organizations service data. The account still requires IAM permissions to access and administer the AWS service.
You can run this action only for AWS services that support this feature. For a current list of services that support it, see the column /Supports Delegated Administrator/ in the table at AWS Services that you can use with AWS Organizations in the AWS Organizations User Guide.
This operation can be called only from the organization's management account.
Synopsis
- data RegisterDelegatedAdministrator = RegisterDelegatedAdministrator' {}
- newRegisterDelegatedAdministrator :: Text -> Text -> RegisterDelegatedAdministrator
- registerDelegatedAdministrator_accountId :: Lens' RegisterDelegatedAdministrator Text
- registerDelegatedAdministrator_servicePrincipal :: Lens' RegisterDelegatedAdministrator Text
- data RegisterDelegatedAdministratorResponse = RegisterDelegatedAdministratorResponse' {
- newRegisterDelegatedAdministratorResponse :: RegisterDelegatedAdministratorResponse
Creating a Request
data RegisterDelegatedAdministrator Source #
See: newRegisterDelegatedAdministrator
smart constructor.
Constructors
RegisterDelegatedAdministrator' | |
Fields
|
Instances
newRegisterDelegatedAdministrator Source #
Arguments
:: Text | |
-> Text | |
-> RegisterDelegatedAdministrator |
Create a value of RegisterDelegatedAdministrator
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:
$sel:accountId:RegisterDelegatedAdministrator'
, registerDelegatedAdministrator_accountId
- The account ID number of the member account in the organization to
register as a delegated administrator.
$sel:servicePrincipal:RegisterDelegatedAdministrator'
, registerDelegatedAdministrator_servicePrincipal
- The service principal of the AWS service for which you want to make the
member account a delegated administrator.
Request Lenses
registerDelegatedAdministrator_accountId :: Lens' RegisterDelegatedAdministrator Text Source #
The account ID number of the member account in the organization to register as a delegated administrator.
registerDelegatedAdministrator_servicePrincipal :: Lens' RegisterDelegatedAdministrator Text Source #
The service principal of the AWS service for which you want to make the member account a delegated administrator.
Destructuring the Response
data RegisterDelegatedAdministratorResponse Source #
See: newRegisterDelegatedAdministratorResponse
smart constructor.
Constructors
RegisterDelegatedAdministratorResponse' | |
Instances
Eq RegisterDelegatedAdministratorResponse Source # | |
Read RegisterDelegatedAdministratorResponse Source # | |
Show RegisterDelegatedAdministratorResponse Source # | |
Generic RegisterDelegatedAdministratorResponse Source # | |
Defined in Amazonka.Organizations.RegisterDelegatedAdministrator Associated Types type Rep RegisterDelegatedAdministratorResponse :: Type -> Type # | |
NFData RegisterDelegatedAdministratorResponse Source # | |
Defined in Amazonka.Organizations.RegisterDelegatedAdministrator Methods rnf :: RegisterDelegatedAdministratorResponse -> () # | |
type Rep RegisterDelegatedAdministratorResponse Source # | |
Defined in Amazonka.Organizations.RegisterDelegatedAdministrator type Rep RegisterDelegatedAdministratorResponse = D1 ('MetaData "RegisterDelegatedAdministratorResponse" "Amazonka.Organizations.RegisterDelegatedAdministrator" "libZSservicesZSamazonka-organizationsZSamazonka-organizations" 'False) (C1 ('MetaCons "RegisterDelegatedAdministratorResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newRegisterDelegatedAdministratorResponse :: RegisterDelegatedAdministratorResponse Source #
Create a value of RegisterDelegatedAdministratorResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.