AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::DataExchange::Types::CreateDataSetRequest

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

Overview

Note:

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

{
  asset_type: "S3_SNAPSHOT", # required, accepts S3_SNAPSHOT, REDSHIFT_DATA_SHARE
  description: "Description", # required
  name: "Name", # required
  tags: {
    "__string" => "__string",
  },
}

A request to create a data set that contains one or more revisions.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#asset_typeString

The type of asset that is added to a data set.

Returns:

  • (String)


353
354
355
356
357
358
359
360
# File 'gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/types.rb', line 353

class CreateDataSetRequest < Struct.new(
  :asset_type,
  :description,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description for the data set. This value can be up to 16,348 characters long.

Returns:

  • (String)


353
354
355
356
357
358
359
360
# File 'gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/types.rb', line 353

class CreateDataSetRequest < Struct.new(
  :asset_type,
  :description,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the data set.

Returns:

  • (String)


353
354
355
356
357
358
359
360
# File 'gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/types.rb', line 353

class CreateDataSetRequest < Struct.new(
  :asset_type,
  :description,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

A data set tag is an optional label that you can assign to a data set when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to these data sets and revisions.

Returns:

  • (Hash<String,String>)


353
354
355
356
357
358
359
360
# File 'gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/types.rb', line 353

class CreateDataSetRequest < Struct.new(
  :asset_type,
  :description,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end