WellArchitected / Client / list_profile_shares
list_profile_shares#
- WellArchitected.Client.list_profile_shares(**kwargs)#
List profile shares.
See also: AWS API Documentation
Request Syntax
response = client.list_profile_shares( ProfileArn='string', SharedWithPrefix='string', NextToken='string', MaxResults=123, Status='ACCEPTED'|'REJECTED'|'PENDING'|'REVOKED'|'EXPIRED'|'ASSOCIATING'|'ASSOCIATED'|'FAILED' )
- Parameters:
ProfileArn (string) –
[REQUIRED]
The profile ARN.
SharedWithPrefix (string) – The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the profile is shared.
NextToken (string) – The token to use to retrieve the next set of results.
MaxResults (integer) – The maximum number of results to return for this request.
Status (string) – The status of the share request.
- Return type:
dict
- Returns:
Response Syntax
{ 'ProfileShareSummaries': [ { 'ShareId': 'string', 'SharedWith': 'string', 'Status': 'ACCEPTED'|'REJECTED'|'PENDING'|'REVOKED'|'EXPIRED'|'ASSOCIATING'|'ASSOCIATED'|'FAILED', 'StatusMessage': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
ProfileShareSummaries (list) –
Profile share summaries.
(dict) –
Summary of a profile share.
ShareId (string) –
The ID associated with the share.
SharedWith (string) –
The Amazon Web Services account ID, organization ID, or organizational unit (OU) ID with which the workload, lens, profile, or review template is shared.
Status (string) –
The status of the share request.
StatusMessage (string) –
Profile share invitation status message.
NextToken (string) –
The token to use to retrieve the next set of results.
Exceptions
WellArchitected.Client.exceptions.ValidationException
WellArchitected.Client.exceptions.InternalServerException
WellArchitected.Client.exceptions.ResourceNotFoundException
WellArchitected.Client.exceptions.AccessDeniedException
WellArchitected.Client.exceptions.ThrottlingException