| 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.ListPendingInvitationResources
Description
Lists the resources in a resource share that is shared with you but that the invitation is still pending for.
Synopsis
- data ListPendingInvitationResources = ListPendingInvitationResources' {}
- newListPendingInvitationResources :: Text -> ListPendingInvitationResources
- listPendingInvitationResources_nextToken :: Lens' ListPendingInvitationResources (Maybe Text)
- listPendingInvitationResources_maxResults :: Lens' ListPendingInvitationResources (Maybe Natural)
- listPendingInvitationResources_resourceShareInvitationArn :: Lens' ListPendingInvitationResources Text
- data ListPendingInvitationResourcesResponse = ListPendingInvitationResourcesResponse' {}
- newListPendingInvitationResourcesResponse :: Int -> ListPendingInvitationResourcesResponse
- listPendingInvitationResourcesResponse_resources :: Lens' ListPendingInvitationResourcesResponse (Maybe [Resource])
- listPendingInvitationResourcesResponse_nextToken :: Lens' ListPendingInvitationResourcesResponse (Maybe Text)
- listPendingInvitationResourcesResponse_httpStatus :: Lens' ListPendingInvitationResourcesResponse Int
Creating a Request
data ListPendingInvitationResources Source #
See: newListPendingInvitationResources smart constructor.
Constructors
| ListPendingInvitationResources' | |
Fields
| |
Instances
newListPendingInvitationResources Source #
Arguments
| :: Text |
|
| -> ListPendingInvitationResources |
Create a value of ListPendingInvitationResources 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:ListPendingInvitationResources', listPendingInvitationResources_nextToken - The token for the next page of results.
$sel:maxResults:ListPendingInvitationResources', listPendingInvitationResources_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:resourceShareInvitationArn:ListPendingInvitationResources', listPendingInvitationResources_resourceShareInvitationArn - The Amazon Resource Name (ARN) of the invitation.
Request Lenses
listPendingInvitationResources_nextToken :: Lens' ListPendingInvitationResources (Maybe Text) Source #
The token for the next page of results.
listPendingInvitationResources_maxResults :: Lens' ListPendingInvitationResources (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.
listPendingInvitationResources_resourceShareInvitationArn :: Lens' ListPendingInvitationResources Text Source #
The Amazon Resource Name (ARN) of the invitation.
Destructuring the Response
data ListPendingInvitationResourcesResponse Source #
See: newListPendingInvitationResourcesResponse smart constructor.
Constructors
| ListPendingInvitationResourcesResponse' | |
Instances
newListPendingInvitationResourcesResponse Source #
Arguments
| :: Int | |
| -> ListPendingInvitationResourcesResponse |
Create a value of ListPendingInvitationResourcesResponse 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:resources:ListPendingInvitationResourcesResponse', listPendingInvitationResourcesResponse_resources - Information about the resources included the resource share.
$sel:nextToken:ListPendingInvitationResources', listPendingInvitationResourcesResponse_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:ListPendingInvitationResourcesResponse', listPendingInvitationResourcesResponse_httpStatus - The response's http status code.
Response Lenses
listPendingInvitationResourcesResponse_resources :: Lens' ListPendingInvitationResourcesResponse (Maybe [Resource]) Source #
Information about the resources included the resource share.
listPendingInvitationResourcesResponse_nextToken :: Lens' ListPendingInvitationResourcesResponse (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.
listPendingInvitationResourcesResponse_httpStatus :: Lens' ListPendingInvitationResourcesResponse Int Source #
The response's http status code.