/AWS1/CL_CWL=>DESCRIBEACCOUNTPOLICIES()
¶
About DescribeAccountPolicies¶
Returns a list of all CloudWatch Logs account policies in the account.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_POLICYTYPE
TYPE /AWS1/CWLPOLICYTYPE
/AWS1/CWLPOLICYTYPE
¶
Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.
Optional arguments:¶
IV_POLICYNAME
TYPE /AWS1/CWLPOLICYNAME
/AWS1/CWLPOLICYNAME
¶
Use this parameter to limit the returned policies to only the policy with the name that you specify.
IT_ACCOUNTIDENTIFIERS
TYPE /AWS1/CL_CWLACCOUNTIDS_W=>TT_ACCOUNTIDS
TT_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.