Values.DescribeAccountPoliciesResponseSourceReturns a list of all CloudWatch Logs account policies in the account. To use this operation, you must be signed on with the correct permissions depending on the type of policy that you are retrieving information for. To see data protection policies, you must have the logs:GetDataProtectionPolicy and logs:DescribeAccountPolicies permissions. To see subscription filter policies, you must have the logs:DescribeSubscriptionFilters and logs:DescribeAccountPolicies permissions. To see transformer policies, you must have the logs:GetTransformer and logs:DescribeAccountPolicies permissions. To see field index policies, you must have the logs:DescribeIndexPolicies and logs:DescribeAccountPolicies permissions.
type nonrec t = {accountPolicies : AccountPolicies.t option;An array of structures that contain information about the CloudWatch Logs account policies that match the specified filters.
*)nextToken : NextToken.t option;The token to use when requesting the next set of items. The token expires after 24 hours.
*)}type nonrec error = [ | `InvalidParameterException of InvalidParameterException.t| `OperationAbortedException of OperationAbortedException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InvalidParameterException of unit
| `OperationAbortedException of unit
| `ResourceNotFoundException of unit
| `ServiceUnavailableException of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InvalidParameterException of unit
| `OperationAbortedException of unit
| `ResourceNotFoundException of unit
| `ServiceUnavailableException of unit
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `Long of Timestamp.t
| `String of PolicyName.t ])
list ]
list
| `String of NextToken.t ])
list ]