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