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 |
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 #
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:
RejectResourceShareInvitation
, rejectResourceShareInvitation_clientToken
- Specifies a unique, case-sensitive identifier that you provide to ensure
the idempotency of the request. This lets you safely retry the request
without accidentally performing the same operation a second time.
Passing the same value to a later call to an operation requires that you
also pass the same value for all other parameters. We recommend that you
use a
UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
RejectResourceShareInvitation
, rejectResourceShareInvitation_resourceShareInvitationArn
- Specifies the
Amazon Resoure Name (ARN)
of the invitation that you want to reject.
Request Lenses
rejectResourceShareInvitation_clientToken :: Lens' RejectResourceShareInvitation (Maybe Text) Source #
Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value..
If you don't provide this value, then Amazon Web Services generates a random one for you.
rejectResourceShareInvitation_resourceShareInvitationArn :: Lens' RejectResourceShareInvitation Text Source #
Specifies the Amazon Resoure Name (ARN) of the invitation that you want to reject.
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:
RejectResourceShareInvitation
, rejectResourceShareInvitationResponse_clientToken
- The idempotency identifier associated with this request. If you want to
repeat the same operation in an idempotent manner then you must include
this value in the clientToken
request parameter of that later call.
All other parameters must also have the same values that you used in the
first call.
$sel:resourceShareInvitation:RejectResourceShareInvitationResponse'
, rejectResourceShareInvitationResponse_resourceShareInvitation
- An object that contains the details about the rejected invitation.
$sel:httpStatus:RejectResourceShareInvitationResponse'
, rejectResourceShareInvitationResponse_httpStatus
- The response's http status code.
Response Lenses
rejectResourceShareInvitationResponse_clientToken :: Lens' RejectResourceShareInvitationResponse (Maybe Text) Source #
The idempotency identifier associated with this request. If you want to
repeat the same operation in an idempotent manner then you must include
this value in the clientToken
request parameter of that later call.
All other parameters must also have the same values that you used in the
first call.
rejectResourceShareInvitationResponse_resourceShareInvitation :: Lens' RejectResourceShareInvitationResponse (Maybe ResourceShareInvitation) Source #
An object that contains the details about the rejected invitation.
rejectResourceShareInvitationResponse_httpStatus :: Lens' RejectResourceShareInvitationResponse Int Source #
The response's http status code.