Class: Aws::CloudWatch::Types::ListMetricsOutput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metricsArray<Types::Metric>

The metrics that match your request.

Returns:



2184
2185
2186
2187
2188
2189
2190
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2184

class ListMetricsOutput < Struct.new(
  :metrics,
  :next_token,
  :owning_accounts)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token that marks the start of the next batch of returned results.

Returns:

  • (String)


2184
2185
2186
2187
2188
2189
2190
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2184

class ListMetricsOutput < Struct.new(
  :metrics,
  :next_token,
  :owning_accounts)
  SENSITIVE = []
  include Aws::Structure
end

#owning_accountsArray<String>

If you are using this operation in a monitoring account, this array contains the account IDs of the source accounts where the metrics in the returned data are from.

This field is a 1:1 mapping between each metric that is returned and the ID of the owning account.

Returns:

  • (Array<String>)


2184
2185
2186
2187
2188
2189
2190
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2184

class ListMetricsOutput < Struct.new(
  :metrics,
  :next_token,
  :owning_accounts)
  SENSITIVE = []
  include Aws::Structure
end