MultipartyApproval / Client / get_policy_version
get_policy_version¶
- MultipartyApproval.Client.get_policy_version(**kwargs)¶
Returns details for the version of a policy. Policies define the permissions for team resources.
The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.
See also: AWS API Documentation
Request Syntax
response = client.get_policy_version( PolicyVersionArn='string' )
- Parameters:
PolicyVersionArn (string) –
[REQUIRED]
Amazon Resource Name (ARN) for the policy.
- Return type:
dict
- Returns:
Response Syntax
{ 'PolicyVersion': { 'Arn': 'string', 'PolicyArn': 'string', 'VersionId': 123, 'PolicyType': 'AWS_MANAGED'|'AWS_RAM', 'IsDefault': True|False, 'Name': 'string', 'Status': 'ATTACHABLE'|'DEPRECATED', 'CreationTime': datetime(2015, 1, 1), 'LastUpdatedTime': datetime(2015, 1, 1), 'Document': 'string' } }
Response Structure
(dict) –
PolicyVersion (dict) –
A
PolicyVersion
object. Contains details for the version of the policy. Policies define the permissions for team resources.The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.
Arn (string) –
Amazon Resource Name (ARN) for the team.
PolicyArn (string) –
Amazon Resource Name (ARN) for the policy.
VersionId (integer) –
Verison ID
PolicyType (string) –
The type of policy.
IsDefault (boolean) –
Determines if the specified policy is the default for the team.
Name (string) –
Name of the policy.
Status (string) –
Status for the policy. For example, if the policy is attachable or deprecated.
CreationTime (datetime) –
Timestamp when the policy was created.
LastUpdatedTime (datetime) –
Timestamp when the policy was last updated.
Document (string) –
Document that contains the policy contents.
Exceptions