Class: Aws::Personalize::Types::CreateDatasetGroupRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Personalize::Types::CreateDatasetGroupRequest
- Defined in:
- gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb
Overview
When making an API call, you may pass CreateDatasetGroupRequest data as a hash:
{
name: "Name", # required
role_arn: "RoleArn",
kms_key_arn: "KmsKeyArn",
domain: "ECOMMERCE", # accepts ECOMMERCE, VIDEO_ON_DEMAND
tags: [
{
tag_key: "TagKey", # required
tag_value: "TagValue", # required
},
],
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#domain ⇒ String
The domain of the dataset group.
-
#kms_key_arn ⇒ String
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.
-
#name ⇒ String
The name for the new dataset group.
-
#role_arn ⇒ String
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key.
-
#tags ⇒ Array<Types::Tag>
A list of [tags][1] to apply to the dataset group.
Instance Attribute Details
#domain ⇒ String
The domain of the dataset group. Specify a domain to create a Domain dataset group. The domain you specify determines the default schemas for datasets and the use cases available for recommenders. If you don't specify a domain, you create a Custom dataset group with solution versions that you deploy with a campaign.
1270 1271 1272 1273 1274 1275 1276 1277 1278 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1270 class CreateDatasetGroupRequest < Struct.new( :name, :role_arn, :kms_key_arn, :domain, :tags) SENSITIVE = [] include Aws::Structure end |
#kms_key_arn ⇒ String
The Amazon Resource Name (ARN) of a Key Management Service (KMS) key used to encrypt the datasets.
1270 1271 1272 1273 1274 1275 1276 1277 1278 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1270 class CreateDatasetGroupRequest < Struct.new( :name, :role_arn, :kms_key_arn, :domain, :tags) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name for the new dataset group.
1270 1271 1272 1273 1274 1275 1276 1277 1278 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1270 class CreateDatasetGroupRequest < Struct.new( :name, :role_arn, :kms_key_arn, :domain, :tags) SENSITIVE = [] include Aws::Structure end |
#role_arn ⇒ String
The ARN of the Identity and Access Management (IAM) role that has permissions to access the Key Management Service (KMS) key. Supplying an IAM role is only valid when also specifying a KMS key.
1270 1271 1272 1273 1274 1275 1276 1277 1278 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1270 class CreateDatasetGroupRequest < Struct.new( :name, :role_arn, :kms_key_arn, :domain, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of tags to apply to the dataset group.
1270 1271 1272 1273 1274 1275 1276 1277 1278 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 1270 class CreateDatasetGroupRequest < Struct.new( :name, :role_arn, :kms_key_arn, :domain, :tags) SENSITIVE = [] include Aws::Structure end |