Class: Aws::Deadline::Types::SessionsStatisticsResources

Inherits:
Struct
  • Object
show all
Includes:
Structure, Structure::Union
Defined in:
lib/aws-sdk-deadline/types.rb

Overview

Note:

SessionsStatisticsResources is a union - when making an API calls you must set exactly one of the members.

Specifies the fleet IDs or queue IDs to return statistics. You can specify only fleet IDs or queue IDS, not both.

Direct Known Subclasses

FleetIds, QueueIds, Unknown

Defined Under Namespace

Classes: FleetIds, QueueIds, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fleet_idsArray<String>

One to 10 fleet IDs that specify the fleets to return statistics for. If you specify the ‘fleetIds` field, you can’t specify the ‘queueIds` field.

Returns:

  • (Array<String>)


8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
# File 'lib/aws-sdk-deadline/types.rb', line 8230

class SessionsStatisticsResources < Struct.new(
  :queue_ids,
  :fleet_ids,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class QueueIds < SessionsStatisticsResources; end
  class FleetIds < SessionsStatisticsResources; end
  class Unknown < SessionsStatisticsResources; end
end

#queue_idsArray<String>

One to 10 queue IDs that specify the queues to return statistics for. If you specify the ‘queueIds` field, you can’t specify the ‘fleetIds` field.

Returns:

  • (Array<String>)


8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
# File 'lib/aws-sdk-deadline/types.rb', line 8230

class SessionsStatisticsResources < Struct.new(
  :queue_ids,
  :fleet_ids,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class QueueIds < SessionsStatisticsResources; end
  class FleetIds < SessionsStatisticsResources; end
  class Unknown < SessionsStatisticsResources; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



8230
8231
8232
# File 'lib/aws-sdk-deadline/types.rb', line 8230

def unknown
  @unknown
end