Class: Aws::Batch::Types::DescribeConsumableResourceResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#available_quantityInteger

The amount of the consumable resource that is currently available to use.

Returns:

  • (Integer)


2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
# File 'lib/aws-sdk-batch/types.rb', line 2778

class DescribeConsumableResourceResponse < Struct.new(
  :consumable_resource_name,
  :consumable_resource_arn,
  :total_quantity,
  :in_use_quantity,
  :available_quantity,
  :resource_type,
  :created_at,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#consumable_resource_arnString

The Amazon Resource Name (ARN) of the consumable resource.

Returns:

  • (String)


2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
# File 'lib/aws-sdk-batch/types.rb', line 2778

class DescribeConsumableResourceResponse < Struct.new(
  :consumable_resource_name,
  :consumable_resource_arn,
  :total_quantity,
  :in_use_quantity,
  :available_quantity,
  :resource_type,
  :created_at,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#consumable_resource_nameString

The name of the consumable resource.

Returns:

  • (String)


2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
# File 'lib/aws-sdk-batch/types.rb', line 2778

class DescribeConsumableResourceResponse < Struct.new(
  :consumable_resource_name,
  :consumable_resource_arn,
  :total_quantity,
  :in_use_quantity,
  :available_quantity,
  :resource_type,
  :created_at,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#created_atInteger

The Unix timestamp (in milliseconds) for when the consumable resource was created.

Returns:

  • (Integer)


2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
# File 'lib/aws-sdk-batch/types.rb', line 2778

class DescribeConsumableResourceResponse < Struct.new(
  :consumable_resource_name,
  :consumable_resource_arn,
  :total_quantity,
  :in_use_quantity,
  :available_quantity,
  :resource_type,
  :created_at,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#in_use_quantityInteger

The amount of the consumable resource that is currently in use.

Returns:

  • (Integer)


2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
# File 'lib/aws-sdk-batch/types.rb', line 2778

class DescribeConsumableResourceResponse < Struct.new(
  :consumable_resource_name,
  :consumable_resource_arn,
  :total_quantity,
  :in_use_quantity,
  :available_quantity,
  :resource_type,
  :created_at,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

Indicates whether the resource is available to be re-used after a job completes. Can be one of:

  • ‘REPLENISHABLE`

  • ‘NON_REPLENISHABLE`

Returns:

  • (String)


2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
# File 'lib/aws-sdk-batch/types.rb', line 2778

class DescribeConsumableResourceResponse < Struct.new(
  :consumable_resource_name,
  :consumable_resource_arn,
  :total_quantity,
  :in_use_quantity,
  :available_quantity,
  :resource_type,
  :created_at,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags that you apply to the consumable resource to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see [Tagging your Batch resources].

[1]: docs.aws.amazon.com/batch/latest/userguide/using-tags.html

Returns:

  • (Hash<String,String>)


2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
# File 'lib/aws-sdk-batch/types.rb', line 2778

class DescribeConsumableResourceResponse < Struct.new(
  :consumable_resource_name,
  :consumable_resource_arn,
  :total_quantity,
  :in_use_quantity,
  :available_quantity,
  :resource_type,
  :created_at,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#total_quantityInteger

The total amount of the consumable resource that is available.

Returns:

  • (Integer)


2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
# File 'lib/aws-sdk-batch/types.rb', line 2778

class DescribeConsumableResourceResponse < Struct.new(
  :consumable_resource_name,
  :consumable_resource_arn,
  :total_quantity,
  :in_use_quantity,
  :available_quantity,
  :resource_type,
  :created_at,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end