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 an invitation to a resource share from another Amazon Web Services account.
Synopsis
- data AcceptResourceShareInvitation = AcceptResourceShareInvitation' {}
- newAcceptResourceShareInvitation :: Text -> AcceptResourceShareInvitation
- acceptResourceShareInvitation_clientToken :: Lens' AcceptResourceShareInvitation (Maybe Text)
- acceptResourceShareInvitation_resourceShareInvitationArn :: Lens' AcceptResourceShareInvitation Text
- data AcceptResourceShareInvitationResponse = AcceptResourceShareInvitationResponse' {}
- newAcceptResourceShareInvitationResponse :: Int -> AcceptResourceShareInvitationResponse
- acceptResourceShareInvitationResponse_clientToken :: Lens' AcceptResourceShareInvitationResponse (Maybe Text)
- acceptResourceShareInvitationResponse_resourceShareInvitation :: Lens' AcceptResourceShareInvitationResponse (Maybe ResourceShareInvitation)
- acceptResourceShareInvitationResponse_httpStatus :: Lens' AcceptResourceShareInvitationResponse Int
Creating a Request
data AcceptResourceShareInvitation Source #
See: newAcceptResourceShareInvitation
smart constructor.
AcceptResourceShareInvitation' | |
|
Instances
newAcceptResourceShareInvitation Source #
:: Text |
|
-> AcceptResourceShareInvitation |
Create a value of AcceptResourceShareInvitation
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:AcceptResourceShareInvitation'
, acceptResourceShareInvitation_clientToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:resourceShareInvitationArn:AcceptResourceShareInvitation'
, acceptResourceShareInvitation_resourceShareInvitationArn
- The Amazon Resource Name (ARN) of the invitation.
Request Lenses
acceptResourceShareInvitation_clientToken :: Lens' AcceptResourceShareInvitation (Maybe Text) Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
acceptResourceShareInvitation_resourceShareInvitationArn :: Lens' AcceptResourceShareInvitation Text Source #
The Amazon Resource Name (ARN) of the invitation.
Destructuring the Response
data AcceptResourceShareInvitationResponse Source #
See: newAcceptResourceShareInvitationResponse
smart constructor.
AcceptResourceShareInvitationResponse' | |
|
Instances
newAcceptResourceShareInvitationResponse Source #
Create a value of AcceptResourceShareInvitationResponse
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:AcceptResourceShareInvitation'
, acceptResourceShareInvitationResponse_clientToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:resourceShareInvitation:AcceptResourceShareInvitationResponse'
, acceptResourceShareInvitationResponse_resourceShareInvitation
- Information about the invitation.
$sel:httpStatus:AcceptResourceShareInvitationResponse'
, acceptResourceShareInvitationResponse_httpStatus
- The response's http status code.
Response Lenses
acceptResourceShareInvitationResponse_clientToken :: Lens' AcceptResourceShareInvitationResponse (Maybe Text) Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
acceptResourceShareInvitationResponse_resourceShareInvitation :: Lens' AcceptResourceShareInvitationResponse (Maybe ResourceShareInvitation) Source #
Information about the invitation.
acceptResourceShareInvitationResponse_httpStatus :: Lens' AcceptResourceShareInvitationResponse Int Source #
The response's http status code.