class
Amazonite::CloudWatchLogs::DescribeAccountPoliciesRequest
- Amazonite::CloudWatchLogs::DescribeAccountPoliciesRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/describe_account_policies_request.crConstructors
- .new(pull : JSON::PullParser)
- .new(policy_type : PolicyType, policy_name : String | Nil = nil, account_identifiers : Array(String) | Nil = nil, next_token : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#account_identifiers : Array(String) | Nil
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.
-
#account_identifiers=(account_identifiers : Array(String) | Nil)
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.
-
#hash(hasher)
See
Object#hash(hasher) -
#next_token : String | Nil
The token for the next set of items to return.
-
#next_token=(next_token : String | Nil)
The token for the next set of items to return.
-
#policy_name : String | Nil
Use this parameter to limit the returned policies to only the policy with the name that you specify.
-
#policy_name=(policy_name : String | Nil)
Use this parameter to limit the returned policies to only the policy with the name that you specify.
-
#policy_type : PolicyType
Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.
-
#policy_type=(policy_type : PolicyType)
Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
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.
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.
The token for the next set of items to return. (You received this token from a previous call.)
The token for the next set of items to return. (You received this token from a previous call.)
Use this parameter to limit the returned policies to only the policy with the name that you specify.
Use this parameter to limit the returned policies to only the policy with the name that you specify.
Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.
Use this parameter to limit the returned policies to only the policies that match the policy type that you specify.