class Amazonite::CloudWatchLogs::DescribeAccountPoliciesRequest

Included Modules

Defined in:

cloudwatch_logs/describe_account_policies_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(policy_type : PolicyType, policy_name : String | Nil = nil, account_identifiers : Array(String) | Nil = nil, next_token : String | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def 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. 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.


[View source]
def 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. 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.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def next_token : String | Nil #

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


[View source]
def next_token=(next_token : String | Nil) #

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


[View source]
def policy_name : String | Nil #

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


[View source]
def policy_name=(policy_name : String | Nil) #

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


[View source]
def policy_type : PolicyType #

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


[View source]
def 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.


[View source]
def validate! : Nil #

[View source]