amazonka-dataexchange-2.0: Amazon Data Exchange SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataExchange.CreateDataSet

Description

This operation creates a data set.

Synopsis

Creating a Request

data CreateDataSet Source #

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
ToJSON CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.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

AWSRequest CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Associated Types

type AWSResponse CreateDataSet #

Generic CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Associated Types

type Rep CreateDataSet :: Type -> Type #

Read CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Show CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

NFData CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Methods

rnf :: CreateDataSet -> () #

Eq CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Hashable CreateDataSet Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

type AWSResponse 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" "amazonka-dataexchange-2.0-E9wmOad6xSxAaT3Y4FNlvY" '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))))

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:

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.

CreateDataSet, createDataSet_assetType - The type of asset that is added to a data set.

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

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
Generic CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Associated Types

type Rep CreateDataSetResponse :: Type -> Type #

Read CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Show CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

NFData CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

Methods

rnf :: CreateDataSetResponse -> () #

Eq CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

type Rep CreateDataSetResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateDataSet

type Rep CreateDataSetResponse = D1 ('MetaData "CreateDataSetResponse" "Amazonka.DataExchange.CreateDataSet" "amazonka-dataexchange-2.0-E9wmOad6xSxAaT3Y4FNlvY" 'False) (C1 ('MetaCons "CreateDataSetResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "assetType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssetType)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "origin") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Origin)) :*: (S1 ('MetaSel ('Just "originDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginDetails)) :*: S1 ('MetaSel ('Just "sourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "updatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: 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:

CreateDataSetResponse, createDataSetResponse_arn - The ARN for the data set.

CreateDataSet, createDataSetResponse_assetType - The type of asset that is added to a data set.

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

CreateDataSet, createDataSetResponse_description - The description for the data set.

CreateDataSetResponse, createDataSetResponse_id - The unique identifier for the data set.

CreateDataSet, createDataSetResponse_name - The name of the data set.

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

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

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.

CreateDataSet, createDataSetResponse_tags - The tags for the data set.

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

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

Response Lenses

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

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

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

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

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

The unique identifier for the data set.

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_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_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_updatedAt :: Lens' CreateDataSetResponse (Maybe UTCTime) Source #

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