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,
}

Instance Attribute Summary collapse

Instance Attribute Details

#expire_atTime

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

Returns:

  • (Time)


2870
2871
2872
2873
2874
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2870

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

#hit_idString

The HIT to update.

Returns:

  • (String)


2870
2871
2872
2873
2874
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2870

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