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:



2279
2280
2281
2282
2283
2284
2285
# File 'lib/aws-sdk-cloudwatch/types.rb', line 2279

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)


2279
2280
2281
2282
2283
2284
2285
# File 'lib/aws-sdk-cloudwatch/types.rb', line 2279

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


2279
2280
2281
2282
2283
2284
2285
# File 'lib/aws-sdk-cloudwatch/types.rb', line 2279

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