Class: Aws::Translate::Types::CreateParallelDataRequest

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

Overview

Note:

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

{
  name: "ResourceName", # required
  description: "Description",
  parallel_data_config: { # required
    s3_uri: "S3Uri", # required
    format: "TSV", # required, accepts TSV, CSV, TMX
  },
  encryption_key: {
    type: "KMS", # required, accepts KMS
    id: "EncryptionKeyID", # required
  },
  client_token: "ClientTokenString", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique identifier for the request. This token is automatically generated when you use Amazon Translate through an AWS SDK.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


113
114
115
116
117
118
119
120
121
# File 'lib/aws-sdk-translate/types.rb', line 113

class CreateParallelDataRequest < Struct.new(
  :name,
  :description,
  :parallel_data_config,
  :encryption_key,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A custom description for the parallel data resource in Amazon Translate.

Returns:

  • (String)


113
114
115
116
117
118
119
120
121
# File 'lib/aws-sdk-translate/types.rb', line 113

class CreateParallelDataRequest < Struct.new(
  :name,
  :description,
  :parallel_data_config,
  :encryption_key,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#encryption_keyTypes::EncryptionKey

The encryption key used to encrypt this object.



113
114
115
116
117
118
119
120
121
# File 'lib/aws-sdk-translate/types.rb', line 113

class CreateParallelDataRequest < Struct.new(
  :name,
  :description,
  :parallel_data_config,
  :encryption_key,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A custom name for the parallel data resource in Amazon Translate. You must assign a name that is unique in the account and region.

Returns:

  • (String)


113
114
115
116
117
118
119
120
121
# File 'lib/aws-sdk-translate/types.rb', line 113

class CreateParallelDataRequest < Struct.new(
  :name,
  :description,
  :parallel_data_config,
  :encryption_key,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#parallel_data_configTypes::ParallelDataConfig

Specifies the format and S3 location of the parallel data input file.



113
114
115
116
117
118
119
120
121
# File 'lib/aws-sdk-translate/types.rb', line 113

class CreateParallelDataRequest < Struct.new(
  :name,
  :description,
  :parallel_data_config,
  :encryption_key,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end