libZSservicesZSamazonka-dataexchangeZSamazonka-dataexchange
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DataExchange.CreateDataSet

Description

This operation creates a data set.

Synopsis

Creating a Request

data CreateDataSet Source #

The request body for CreateDataSet.

See: newCreateDataSet smart constructor.

Constructors

CreateDataSet' 

Fields

  • tags :: Maybe (HashMap Text Text)

    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.

  • assetType :: AssetType

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

  • description :: Text

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

  • name :: Text

    The name of the data set.

Instances

Instances details
Eq CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Read CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Show CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Generic CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Associated Types

type Rep CreateDataSet :: Type -> Type #

NFData CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Methods

rnf :: CreateDataSet -> () #

Hashable CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

ToJSON CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

AWSRequest CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Associated Types

type AWSResponse CreateDataSet #

ToHeaders CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

ToPath CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

ToQuery CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

type Rep CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

type Rep CreateDataSet = D1 ('MetaData "CreateDataSet" "Amazonka.DataExchange.CreateDataSet" "libZSservicesZSamazonka-dataexchangeZSamazonka-dataexchange" 'False) (C1 ('MetaCons "CreateDataSet'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "assetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AssetType)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

newCreateDataSet Source #

Create a value of CreateDataSet with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:tags:CreateDataSet', createDataSet_tags - 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.

$sel:assetType:CreateDataSet', createDataSet_assetType - The type of asset that is added to a data set.

$sel:description:CreateDataSet', createDataSet_description - A description for the data set. This value can be up to 16,348 characters long.

$sel:name:CreateDataSet', createDataSet_name - The name of the data set.

Request Lenses

createDataSet_tags :: Lens' CreateDataSet (Maybe (HashMap Text Text)) Source #

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.

createDataSet_assetType :: Lens' CreateDataSet AssetType Source #

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

createDataSet_description :: Lens' CreateDataSet Text Source #

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

createDataSet_name :: Lens' CreateDataSet Text Source #

The name of the data set.

Destructuring the Response

data CreateDataSetResponse Source #

See: newCreateDataSetResponse smart constructor.

Constructors

CreateDataSetResponse' 

Fields

Instances

Instances details
Eq CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Read CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Show CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Generic CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Associated Types

type Rep CreateDataSetResponse :: Type -> Type #

NFData CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Methods

rnf :: CreateDataSetResponse -> () #

type Rep CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

type Rep CreateDataSetResponse = D1 ('MetaData "CreateDataSetResponse" "Amazonka.DataExchange.CreateDataSet" "libZSservicesZSamazonka-dataexchangeZSamazonka-dataexchange" 'False) (C1 ('MetaCons "CreateDataSetResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "origin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Origin)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "sourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "originDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginDetails)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "assetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssetType)) :*: S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newCreateDataSetResponse Source #

Create a value of CreateDataSetResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:origin:CreateDataSetResponse', createDataSetResponse_origin - A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).

$sel:arn:CreateDataSetResponse', createDataSetResponse_arn - The ARN for the data set.

$sel:createdAt:CreateDataSetResponse', createDataSetResponse_createdAt - The date and time that the data set was created, in ISO 8601 format.

$sel:sourceId:CreateDataSetResponse', createDataSetResponse_sourceId - The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set.

$sel:originDetails:CreateDataSetResponse', createDataSetResponse_originDetails - If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.

$sel:name:CreateDataSet', createDataSetResponse_name - The name of the data set.

$sel:id:CreateDataSetResponse', createDataSetResponse_id - The unique identifier for the data set.

$sel:assetType:CreateDataSet', createDataSetResponse_assetType - The type of asset that is added to a data set.

$sel:updatedAt:CreateDataSetResponse', createDataSetResponse_updatedAt - The date and time that the data set was last updated, in ISO 8601 format.

$sel:description:CreateDataSet', createDataSetResponse_description - The description for the data set.

$sel:tags:CreateDataSet', createDataSetResponse_tags - The tags for the data set.

$sel:httpStatus:CreateDataSetResponse', createDataSetResponse_httpStatus - The response's http status code.

Response Lenses

createDataSetResponse_origin :: Lens' CreateDataSetResponse (Maybe Origin) Source #

A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).

createDataSetResponse_createdAt :: Lens' CreateDataSetResponse (Maybe UTCTime) Source #

The date and time that the data set was created, in ISO 8601 format.

createDataSetResponse_sourceId :: Lens' CreateDataSetResponse (Maybe Text) Source #

The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set.

createDataSetResponse_originDetails :: Lens' CreateDataSetResponse (Maybe OriginDetails) Source #

If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.

createDataSetResponse_id :: Lens' CreateDataSetResponse (Maybe Text) Source #

The unique identifier for the data set.

createDataSetResponse_assetType :: Lens' CreateDataSetResponse (Maybe AssetType) Source #

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

createDataSetResponse_updatedAt :: Lens' CreateDataSetResponse (Maybe UTCTime) Source #

The date and time that the data set was last updated, in ISO 8601 format.