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 specified member account to administer the Organizations features of the specified Amazon Web Services service. It grants read-only access to Organizations service data. The account still requires IAM permissions to access and administer the Amazon Web Services service.
You can run this action only for Amazon Web Services services that support this feature. For a current list of services that support it, see the column Supports Delegated Administrator in the table at Amazon Web Services Services that you can use with Organizations in the 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.
RegisterDelegatedAdministrator' | |
|
Instances
newRegisterDelegatedAdministrator Source #
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:
RegisterDelegatedAdministrator
, registerDelegatedAdministrator_accountId
- The account ID number of the member account in the organization to
register as a delegated administrator.
RegisterDelegatedAdministrator
, registerDelegatedAdministrator_servicePrincipal
- The service principal of the Amazon Web Services 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 Amazon Web Services service for which you want to make the member account a delegated administrator.
Destructuring the Response
data RegisterDelegatedAdministratorResponse Source #
See: newRegisterDelegatedAdministratorResponse
smart constructor.
Instances
Generic RegisterDelegatedAdministratorResponse Source # | |
Defined in Amazonka.Organizations.RegisterDelegatedAdministrator type Rep RegisterDelegatedAdministratorResponse :: Type -> Type # | |
Read RegisterDelegatedAdministratorResponse Source # | |
Show RegisterDelegatedAdministratorResponse Source # | |
NFData RegisterDelegatedAdministratorResponse Source # | |
Eq RegisterDelegatedAdministratorResponse Source # | |
type Rep RegisterDelegatedAdministratorResponse Source # | |
Defined in Amazonka.Organizations.RegisterDelegatedAdministrator type Rep RegisterDelegatedAdministratorResponse = D1 ('MetaData "RegisterDelegatedAdministratorResponse" "Amazonka.Organizations.RegisterDelegatedAdministrator" "amazonka-organizations-2.0-JONpdX4PtttLcKxQshpOlA" '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.