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 |
Accepts the invitation to be a member account and be monitored by the Security Hub administrator account that the invitation was sent from.
This operation is only used by member accounts that are not added through Organizations.
When the member account accepts the invitation, permission is granted to the administrator account to view findings generated in the member account.
Synopsis
- data AcceptAdministratorInvitation = AcceptAdministratorInvitation' {}
- newAcceptAdministratorInvitation :: Text -> Text -> AcceptAdministratorInvitation
- acceptAdministratorInvitation_administratorId :: Lens' AcceptAdministratorInvitation Text
- acceptAdministratorInvitation_invitationId :: Lens' AcceptAdministratorInvitation Text
- data AcceptAdministratorInvitationResponse = AcceptAdministratorInvitationResponse' {
- httpStatus :: Int
- newAcceptAdministratorInvitationResponse :: Int -> AcceptAdministratorInvitationResponse
- acceptAdministratorInvitationResponse_httpStatus :: Lens' AcceptAdministratorInvitationResponse Int
Creating a Request
data AcceptAdministratorInvitation Source #
See: newAcceptAdministratorInvitation
smart constructor.
AcceptAdministratorInvitation' | |
|
Instances
newAcceptAdministratorInvitation Source #
Create a value of AcceptAdministratorInvitation
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:administratorId:AcceptAdministratorInvitation'
, acceptAdministratorInvitation_administratorId
- The account ID of the Security Hub administrator account that sent the
invitation.
$sel:invitationId:AcceptAdministratorInvitation'
, acceptAdministratorInvitation_invitationId
- The identifier of the invitation sent from the Security Hub
administrator account.
Request Lenses
acceptAdministratorInvitation_administratorId :: Lens' AcceptAdministratorInvitation Text Source #
The account ID of the Security Hub administrator account that sent the invitation.
acceptAdministratorInvitation_invitationId :: Lens' AcceptAdministratorInvitation Text Source #
The identifier of the invitation sent from the Security Hub administrator account.
Destructuring the Response
data AcceptAdministratorInvitationResponse Source #
See: newAcceptAdministratorInvitationResponse
smart constructor.
AcceptAdministratorInvitationResponse' | |
|
Instances
newAcceptAdministratorInvitationResponse Source #
Create a value of AcceptAdministratorInvitationResponse
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:AcceptAdministratorInvitationResponse'
, acceptAdministratorInvitationResponse_httpStatus
- The response's http status code.
Response Lenses
acceptAdministratorInvitationResponse_httpStatus :: Lens' AcceptAdministratorInvitationResponse Int Source #
The response's http status code.