You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MTurk::Types::UpdateExpirationForHITRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb

Overview

Note:

When making an API call, you may pass UpdateExpirationForHITRequest data as a hash:

{
  hit_id: "EntityId", # required
  expire_at: Time.now, # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#expire_atTime

The date and time at which you want the HIT to expire

Returns:

  • (Time)


2874
2875
2876
2877
2878
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2874

class UpdateExpirationForHITRequest < Struct.new(
  :hit_id,
  :expire_at)
  include Aws::Structure
end

#hit_idString

The HIT to update.

Returns:

  • (String)


2874
2875
2876
2877
2878
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2874

class UpdateExpirationForHITRequest < Struct.new(
  :hit_id,
  :expire_at)
  include Aws::Structure
end