| 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 |
Amazonka.RAM.GetResourceShareInvitations
Description
Gets the invitations that you have received for resource shares.
This operation returns paginated results.
Synopsis
- data GetResourceShareInvitations = GetResourceShareInvitations' {}
- newGetResourceShareInvitations :: GetResourceShareInvitations
- getResourceShareInvitations_nextToken :: Lens' GetResourceShareInvitations (Maybe Text)
- getResourceShareInvitations_resourceShareInvitationArns :: Lens' GetResourceShareInvitations (Maybe [Text])
- getResourceShareInvitations_maxResults :: Lens' GetResourceShareInvitations (Maybe Natural)
- getResourceShareInvitations_resourceShareArns :: Lens' GetResourceShareInvitations (Maybe [Text])
- data GetResourceShareInvitationsResponse = GetResourceShareInvitationsResponse' {}
- newGetResourceShareInvitationsResponse :: Int -> GetResourceShareInvitationsResponse
- getResourceShareInvitationsResponse_resourceShareInvitations :: Lens' GetResourceShareInvitationsResponse (Maybe [ResourceShareInvitation])
- getResourceShareInvitationsResponse_nextToken :: Lens' GetResourceShareInvitationsResponse (Maybe Text)
- getResourceShareInvitationsResponse_httpStatus :: Lens' GetResourceShareInvitationsResponse Int
Creating a Request
data GetResourceShareInvitations Source #
See: newGetResourceShareInvitations smart constructor.
Constructors
| GetResourceShareInvitations' | |
Fields
| |
Instances
newGetResourceShareInvitations :: GetResourceShareInvitations Source #
Create a value of GetResourceShareInvitations 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:nextToken:GetResourceShareInvitations', getResourceShareInvitations_nextToken - The token for the next page of results.
$sel:resourceShareInvitationArns:GetResourceShareInvitations', getResourceShareInvitations_resourceShareInvitationArns - The Amazon Resource Names (ARN) of the invitations.
$sel:maxResults:GetResourceShareInvitations', getResourceShareInvitations_maxResults - The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
$sel:resourceShareArns:GetResourceShareInvitations', getResourceShareInvitations_resourceShareArns - The Amazon Resource Names (ARN) of the resource shares.
Request Lenses
getResourceShareInvitations_nextToken :: Lens' GetResourceShareInvitations (Maybe Text) Source #
The token for the next page of results.
getResourceShareInvitations_resourceShareInvitationArns :: Lens' GetResourceShareInvitations (Maybe [Text]) Source #
The Amazon Resource Names (ARN) of the invitations.
getResourceShareInvitations_maxResults :: Lens' GetResourceShareInvitations (Maybe Natural) Source #
The maximum number of results to return with a single call. To retrieve
the remaining results, make another call with the returned nextToken
value.
getResourceShareInvitations_resourceShareArns :: Lens' GetResourceShareInvitations (Maybe [Text]) Source #
The Amazon Resource Names (ARN) of the resource shares.
Destructuring the Response
data GetResourceShareInvitationsResponse Source #
See: newGetResourceShareInvitationsResponse smart constructor.
Constructors
| GetResourceShareInvitationsResponse' | |
Fields
| |
Instances
newGetResourceShareInvitationsResponse Source #
Arguments
| :: Int | |
| -> GetResourceShareInvitationsResponse |
Create a value of GetResourceShareInvitationsResponse 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:resourceShareInvitations:GetResourceShareInvitationsResponse', getResourceShareInvitationsResponse_resourceShareInvitations - Information about the invitations.
$sel:nextToken:GetResourceShareInvitations', getResourceShareInvitationsResponse_nextToken - The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
$sel:httpStatus:GetResourceShareInvitationsResponse', getResourceShareInvitationsResponse_httpStatus - The response's http status code.
Response Lenses
getResourceShareInvitationsResponse_resourceShareInvitations :: Lens' GetResourceShareInvitationsResponse (Maybe [ResourceShareInvitation]) Source #
Information about the invitations.
getResourceShareInvitationsResponse_nextToken :: Lens' GetResourceShareInvitationsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
getResourceShareInvitationsResponse_httpStatus :: Lens' GetResourceShareInvitationsResponse Int Source #
The response's http status code.