Class: Aws::ElementalInference::Types::CreateQuestionSetVersionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#description ⇒ String

A description of the new version. You can't change the description after Elemental Inference publishes the version. If DRAFT hasn't changed since the latest version, Elemental Inference ignores this value and returns the latest version with its existing description.

The description can be up to 256 characters. It can contain the letters A-Z and a-z, the digits 0-9, underscores, spaces, and the following characters: - . ' , @ : ;.

Returns:

  • (String)


888
889
890
891
892
893
894
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 888

class CreateQuestionSetVersionRequest < Struct.new(
  :id,
  :sha256,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#id ⇒ String

The ID of the question set whose DRAFT version you want to publish.

Returns:

  • (String)


888
889
890
891
892
893
894
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 888

class CreateQuestionSetVersionRequest < Struct.new(
  :id,
  :sha256,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#sha256 ⇒ String

The SHA-256 hash of the DRAFT version that you want to publish, as returned by GetQuestionSet or UpdateQuestionSet. If you specify this value, Elemental Inference publishes DRAFT only if its current hash matches. If it doesn't match, because DRAFT changed after you retrieved it, the request fails with ConflictException.

If you don't specify this value, Elemental Inference publishes DRAFT as it is when it receives the request.

Returns:

  • (String)


888
889
890
891
892
893
894
# File 'gems/aws-sdk-elementalinference/lib/aws-sdk-elementalinference/types.rb', line 888

class CreateQuestionSetVersionRequest < Struct.new(
  :id,
  :sha256,
  :description)
  SENSITIVE = []
  include Aws::Structure
end