Skip to content

DescribeAccountPoliciesRequest

Source code in docs_src/capo_cloudwatch_logs/types/describe_account_policies_request.py
class DescribeAccountPoliciesRequest(TypedDict, closed=True):
    policy_type: "capo_cloudwatch_logs.types.policy_type.PolicyType"
    """<p>Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.</p>"""
    policy_name: NotRequired["capo_cloudwatch_logs.types.policy_name.PolicyName"]
    """<p>Use this parameter to limit the returned policies to only the policy with the name that you specify.</p>"""
    account_identifiers: NotRequired[
        "capo_cloudwatch_logs.types.account_ids.AccountIds"
    ]
    """<p>If you are using an account that is set up as a monitoring account for CloudWatch unified cross-account observability, you can use this to specify the account ID of a source account. If you do, the operation returns the account policy for the specified account. Currently, you can specify only one account ID in this parameter.</p> <p>If you omit this parameter, only the policy in the current account is returned.</p>"""
    next_token: NotRequired["capo_cloudwatch_logs.types.next_token.NextToken"]
    """<p>The token for the next set of items to return. (You received this token from a previous call.)</p>"""

account_identifiers instance-attribute

account_identifiers: NotRequired[AccountIds]

If you are using an account that is set up as a monitoring account for CloudWatch unified cross-account observability, you can use this to specify the account ID of a source account. If you do, the operation returns the account policy for the specified account. Currently, you can specify only one account ID in this parameter.

If you omit this parameter, only the policy in the current account is returned.

next_token instance-attribute

next_token: NotRequired[NextToken]

The token for the next set of items to return. (You received this token from a previous call.)

policy_name instance-attribute

policy_name: NotRequired[PolicyName]

Use this parameter to limit the returned policies to only the policy with the name that you specify.

policy_type instance-attribute

policy_type: PolicyType

Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.