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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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:



2212
2213
2214
2215
2216
2217
2218
# File 'lib/aws-sdk-cloudwatch/types.rb', line 2212

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)


2212
2213
2214
2215
2216
2217
2218
# File 'lib/aws-sdk-cloudwatch/types.rb', line 2212

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>)


2212
2213
2214
2215
2216
2217
2218
# File 'lib/aws-sdk-cloudwatch/types.rb', line 2212

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