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

Class: Aws::Personalize::Types::CreateDatasetGroupRequest

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

Overview

Note:

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

{
  name: "Name", # required
  role_arn: "RoleArn",
  kms_key_arn: "KmsKeyArn",
}

Instance Attribute Summary collapse

Instance Attribute Details

#kms_key_arnString

The Amazon Resource Name (ARN) of a KMS key used to encrypt the datasets.

Returns:

  • (String)


421
422
423
424
425
426
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 421

class CreateDatasetGroupRequest < Struct.new(
  :name,
  :role_arn,
  :kms_key_arn)
  include Aws::Structure
end

#nameString

The name for the new dataset group.

Returns:

  • (String)


421
422
423
424
425
426
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 421

class CreateDatasetGroupRequest < Struct.new(
  :name,
  :role_arn,
  :kms_key_arn)
  include Aws::Structure
end

#role_arnString

The ARN of the IAM role that has permissions to access the KMS key. Supplying an IAM role is only valid when also specifying a KMS key.

Returns:

  • (String)


421
422
423
424
425
426
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 421

class CreateDatasetGroupRequest < Struct.new(
  :name,
  :role_arn,
  :kms_key_arn)
  include Aws::Structure
end