WellArchitected / Client / list_template_shares
list_template_shares#
- WellArchitected.Client.list_template_shares(**kwargs)#
List review template shares.
See also: AWS API Documentation
Request Syntax
response = client.list_template_shares( TemplateArn='string', SharedWithPrefix='string', NextToken='string', MaxResults=123, Status='ACCEPTED'|'REJECTED'|'PENDING'|'REVOKED'|'EXPIRED'|'ASSOCIATING'|'ASSOCIATED'|'FAILED' )
- Parameters:
TemplateArn (string) –
[REQUIRED]
The review template 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
{ 'TemplateArn': 'string', 'TemplateShareSummaries': [ { 'ShareId': 'string', 'SharedWith': 'string', 'Status': 'ACCEPTED'|'REJECTED'|'PENDING'|'REVOKED'|'EXPIRED'|'ASSOCIATING'|'ASSOCIATED'|'FAILED', 'StatusMessage': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
TemplateArn (string) –
The review template ARN.
TemplateShareSummaries (list) –
A review template share summary return object.
(dict) –
Summary of a review template 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) –
Review template 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