class Amazonite::CloudWatch::GetMetricStreamOutput

Included Modules

Defined in:

cloudwatch/get_metric_stream_output.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(arn : String | Nil = nil, name : String | Nil = nil, include_filters : Array(MetricStreamFilter) | Nil = nil, exclude_filters : Array(MetricStreamFilter) | Nil = nil, firehose_arn : String | Nil = nil, role_arn : String | Nil = nil, state : String | Nil = nil, creation_date : Time | Nil = nil, last_update_date : Time | Nil = nil, output_format : MetricStreamOutputFormat | Nil = nil, statistics_configurations : Array(MetricStreamStatisticsConfiguration) | Nil = nil, include_linked_accounts_metrics : Bool | Nil = nil) #

[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 arn : String | Nil #

The ARN of the metric stream.


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

The ARN of the metric stream.


[View source]
def creation_date : Time | Nil #

The date that the metric stream was created.


[View source]
def creation_date=(creation_date : Time | Nil) #

The date that the metric stream was created.


[View source]
def exclude_filters : Array(MetricStreamFilter) | Nil #

If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not streamed by this metric stream. In this case, all other metric namespaces in the account are streamed by this metric stream.


[View source]
def exclude_filters=(exclude_filters : Array(MetricStreamFilter) | Nil) #

If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are not streamed by this metric stream. In this case, all other metric namespaces in the account are streamed by this metric stream.


[View source]
def firehose_arn : String | Nil #

The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this metric stream.


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

The ARN of the Amazon Kinesis Data Firehose delivery stream that is used by this metric stream.


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

See Object#hash(hasher)


def include_filters : Array(MetricStreamFilter) | Nil #

If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are streamed by this metric stream.


[View source]
def include_filters=(include_filters : Array(MetricStreamFilter) | Nil) #

If this array of metric namespaces is present, then these namespaces are the only metric namespaces that are streamed by this metric stream.


[View source]
def include_linked_accounts_metrics : Bool | Nil #

If this is true and this metric stream is in a monitoring account, then the stream includes metrics from source accounts that the monitoring account is linked to.


[View source]
def include_linked_accounts_metrics=(include_linked_accounts_metrics : Bool | Nil) #

If this is true and this metric stream is in a monitoring account, then the stream includes metrics from source accounts that the monitoring account is linked to.


[View source]
def last_update_date : Time | Nil #

The date of the most recent update to the metric stream's configuration.


[View source]
def last_update_date=(last_update_date : Time | Nil) #

The date of the most recent update to the metric stream's configuration.


[View source]
def name : String | Nil #

The name of the metric stream.


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

The name of the metric stream.


[View source]
def output_format : MetricStreamOutputFormat | Nil #

The output format for the stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.


[View source]
def output_format=(output_format : MetricStreamOutputFormat | Nil) #

The output format for the stream. Valid values are json, opentelemetry1.0, and opentelemetry0.7. For more information about metric stream output formats, see Metric streams output formats.


[View source]
def role_arn : String | Nil #

The ARN of the IAM role that is used by this metric stream.


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

The ARN of the IAM role that is used by this metric stream.


[View source]
def state : String | Nil #

The state of the metric stream. The possible values are running and stopped.


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

The state of the metric stream. The possible values are running and stopped.


[View source]
def statistics_configurations : Array(MetricStreamStatisticsConfiguration) | Nil #

Each entry in this array displays information about one or more metrics that include additional statistics in the metric stream. For more information about the additional statistics, see CloudWatch statistics definitions.


[View source]
def statistics_configurations=(statistics_configurations : Array(MetricStreamStatisticsConfiguration) | Nil) #

Each entry in this array displays information about one or more metrics that include additional statistics in the metric stream. For more information about the additional statistics, see CloudWatch statistics definitions.


[View source]
def validate! : Nil #

[View source]