We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.
Essential cookies are necessary to provide our site and services and cannot be deactivated. They are usually set in response to your actions on the site, such as setting your privacy preferences, signing in, or filling in forms.
Performance cookies provide anonymous statistics about how customers navigate our site so we can improve site experience and performance. Approved third parties may perform analytics on our behalf, but they cannot use the data for their own purposes.
Functional cookies help us provide useful site features, remember your preferences, and display relevant content. Approved third parties may set these cookies to provide certain site features. If you do not allow these cookies, then some or all of these services may not function properly.
Advertising cookies may be set through our site by us or our advertising partners and help us deliver relevant marketing content. If you do not allow these cookies, you will experience less relevant advertising.
Blocking some types of cookies may impact your experience of our sites. You may review and change your choices at any time by clicking Cookie preferences in the footer of this site. We and selected third-parties use cookies or similar technologies as specified in the AWS Cookie Notice.
RAM.Paginator.
GetResourceShareInvitations
¶paginator = client.get_paginator('get_resource_share_invitations')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from RAM.Client.get_resource_share_invitations()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
resourceShareInvitationArns=[
'string',
],
resourceShareArns=[
'string',
],
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
Specifies the Amazon Resource Names (ARNs) of the resource share invitations you want information about.
Specifies that you want details about invitations only for the resource shares described by this list of Amazon Resource Names (ARNs)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'resourceShareInvitations': [
{
'resourceShareInvitationArn': 'string',
'resourceShareName': 'string',
'resourceShareArn': 'string',
'senderAccountId': 'string',
'receiverAccountId': 'string',
'invitationTimestamp': datetime(2015, 1, 1),
'status': 'PENDING'|'ACCEPTED'|'REJECTED'|'EXPIRED',
'resourceShareAssociations': [
{
'resourceShareArn': 'string',
'resourceShareName': 'string',
'associatedEntity': 'string',
'associationType': 'PRINCIPAL'|'RESOURCE',
'status': 'ASSOCIATING'|'ASSOCIATED'|'FAILED'|'DISASSOCIATING'|'DISASSOCIATED',
'statusMessage': 'string',
'creationTime': datetime(2015, 1, 1),
'lastUpdatedTime': datetime(2015, 1, 1),
'external': True|False
},
],
'receiverArn': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
resourceShareInvitations (list) --
An array of objects that contain the details about the invitations.
(dict) --
Describes an invitation for an Amazon Web Services account to join a resource share.
resourceShareInvitationArn (string) --
The Amazon Resoure Name (ARN) of the invitation.
resourceShareName (string) --
The name of the resource share.
resourceShareArn (string) --
The Amazon Resoure Name (ARN) of the resource share
senderAccountId (string) --
The ID of the Amazon Web Services account that sent the invitation.
receiverAccountId (string) --
The ID of the Amazon Web Services account that received the invitation.
invitationTimestamp (datetime) --
The date and time when the invitation was sent.
status (string) --
The current status of the invitation.
resourceShareAssociations (list) --
To view the resources associated with a pending resource share invitation, use ListPendingInvitationResources.
(dict) --
Describes an association with a resource share and either a principal or a resource.
resourceShareArn (string) --
The Amazon Resoure Name (ARN) of the resource share.
resourceShareName (string) --
The name of the resource share.
associatedEntity (string) --
The associated entity. This can be either of the following:
associationType (string) --
The type of entity included in this association.
status (string) --
The current status of the association.
statusMessage (string) --
A message about the status of the association.
creationTime (datetime) --
The date and time when the association was created.
lastUpdatedTime (datetime) --
The date and time when the association was last updated.
external (boolean) --
Indicates whether the principal belongs to the same organization in Organizations as the Amazon Web Services account that owns the resource share.
receiverArn (string) --
The Amazon Resoure Name (ARN) of the IAM user or role that received the invitation.
NextToken (string) --
A token to resume pagination.