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 Amazon Inspector delegated administrator for your Organizations organization.
Synopsis
- data EnableDelegatedAdminAccount = EnableDelegatedAdminAccount' {}
- newEnableDelegatedAdminAccount :: Text -> EnableDelegatedAdminAccount
- enableDelegatedAdminAccount_clientToken :: Lens' EnableDelegatedAdminAccount (Maybe Text)
- enableDelegatedAdminAccount_delegatedAdminAccountId :: Lens' EnableDelegatedAdminAccount Text
- data EnableDelegatedAdminAccountResponse = EnableDelegatedAdminAccountResponse' {}
- newEnableDelegatedAdminAccountResponse :: Int -> Text -> EnableDelegatedAdminAccountResponse
- enableDelegatedAdminAccountResponse_httpStatus :: Lens' EnableDelegatedAdminAccountResponse Int
- enableDelegatedAdminAccountResponse_delegatedAdminAccountId :: Lens' EnableDelegatedAdminAccountResponse Text
Creating a Request
data EnableDelegatedAdminAccount Source #
See: newEnableDelegatedAdminAccount
smart constructor.
EnableDelegatedAdminAccount' | |
|
Instances
newEnableDelegatedAdminAccount Source #
Create a value of EnableDelegatedAdminAccount
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:clientToken:EnableDelegatedAdminAccount'
, enableDelegatedAdminAccount_clientToken
- The idempotency token for the request.
EnableDelegatedAdminAccount
, enableDelegatedAdminAccount_delegatedAdminAccountId
- The Amazon Web Services account ID of the Amazon Inspector delegated
administrator.
Request Lenses
enableDelegatedAdminAccount_clientToken :: Lens' EnableDelegatedAdminAccount (Maybe Text) Source #
The idempotency token for the request.
enableDelegatedAdminAccount_delegatedAdminAccountId :: Lens' EnableDelegatedAdminAccount Text Source #
The Amazon Web Services account ID of the Amazon Inspector delegated administrator.
Destructuring the Response
data EnableDelegatedAdminAccountResponse Source #
See: newEnableDelegatedAdminAccountResponse
smart constructor.
EnableDelegatedAdminAccountResponse' | |
|
Instances
newEnableDelegatedAdminAccountResponse Source #
Create a value of EnableDelegatedAdminAccountResponse
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:httpStatus:EnableDelegatedAdminAccountResponse'
, enableDelegatedAdminAccountResponse_httpStatus
- The response's http status code.
EnableDelegatedAdminAccount
, enableDelegatedAdminAccountResponse_delegatedAdminAccountId
- The Amazon Web Services account ID of the successfully Amazon Inspector
delegated administrator.
Response Lenses
enableDelegatedAdminAccountResponse_httpStatus :: Lens' EnableDelegatedAdminAccountResponse Int Source #
The response's http status code.
enableDelegatedAdminAccountResponse_delegatedAdminAccountId :: Lens' EnableDelegatedAdminAccountResponse Text Source #
The Amazon Web Services account ID of the successfully Amazon Inspector delegated administrator.