AIOps / Client / get_investigation_group_policy

get_investigation_group_policy

AIOps.Client.get_investigation_group_policy(**kwargs)

Returns the IAM resource policy that is associated with the specified investigation group.

See also: AWS API Documentation

Request Syntax

response = client.get_investigation_group_policy(
    identifier='string'
)
Parameters:

identifier (string) –

[REQUIRED]

Specify either the name or the ARN of the investigation group that you want to view the policy of.

Return type:

dict

Returns:

Response Syntax

{
    'investigationGroupArn': 'string',
    'policy': 'string'
}

Response Structure

  • (dict) –

    • investigationGroupArn (string) –

      The Amazon Resource Name (ARN) of the investigation group that you want to view the policy of.

    • policy (string) –

      The policy, in JSON format.

Exceptions