Class: Aws::Batch::Types::UpdateConsumableResourceRequest
- Inherits:
- 
      Struct
      
        - Object
- Struct
- Aws::Batch::Types::UpdateConsumableResourceRequest
 
- Defined in:
- gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
- [] 
Instance Attribute Summary collapse
- 
  
    
      #client_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    If this parameter is specified and two update requests with identical payloads and clientTokens are received, these requests are considered the same request.
- 
  
    
      #consumable_resource  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name or ARN of the consumable resource to be updated. 
- 
  
    
      #operation  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates how the quantity of the consumable resource will be updated. 
- 
  
    
      #quantity  ⇒ Integer 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The change in the total quantity of the consumable resource. 
Instance Attribute Details
#client_token ⇒ String
If this parameter is specified and two update requests with
identical payloads and clientTokens are received, these requests
are considered the same request. Both requests will succeed, but the
update will only happen once. A clientToken is valid for 8 hours.
A suitable default value is auto-generated. You should normally not need to pass this option.
| 10052 10053 10054 10055 10056 10057 10058 10059 | # File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 10052 class UpdateConsumableResourceRequest < Struct.new( :consumable_resource, :operation, :quantity, :client_token) SENSITIVE = [] include Aws::Structure end | 
#consumable_resource ⇒ String
The name or ARN of the consumable resource to be updated.
| 10052 10053 10054 10055 10056 10057 10058 10059 | # File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 10052 class UpdateConsumableResourceRequest < Struct.new( :consumable_resource, :operation, :quantity, :client_token) SENSITIVE = [] include Aws::Structure end | 
#operation ⇒ String
Indicates how the quantity of the consumable resource will be updated. Must be one of:
- SET- Sets the quantity of the resource to the value specified by the - quantityparameter.
- ADD- Increases the quantity of the resource by the value specified by the - quantityparameter.
- REMOVE- Reduces the quantity of the resource by the value specified by the - quantityparameter.
| 10052 10053 10054 10055 10056 10057 10058 10059 | # File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 10052 class UpdateConsumableResourceRequest < Struct.new( :consumable_resource, :operation, :quantity, :client_token) SENSITIVE = [] include Aws::Structure end | 
#quantity ⇒ Integer
The change in the total quantity of the consumable resource. The
operation parameter determines whether the value specified here
will be the new total quantity, or the amount by which the total
quantity will be increased or reduced. Must be a non-negative value.
| 10052 10053 10054 10055 10056 10057 10058 10059 | # File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 10052 class UpdateConsumableResourceRequest < Struct.new( :consumable_resource, :operation, :quantity, :client_token) SENSITIVE = [] include Aws::Structure end |