| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
Amazonka.DataExchange.CreateDataSet
Description
This operation creates a data set.
Synopsis
- data CreateDataSet = CreateDataSet' {}
 - newCreateDataSet :: AssetType -> Text -> Text -> CreateDataSet
 - createDataSet_tags :: Lens' CreateDataSet (Maybe (HashMap Text Text))
 - createDataSet_assetType :: Lens' CreateDataSet AssetType
 - createDataSet_description :: Lens' CreateDataSet Text
 - createDataSet_name :: Lens' CreateDataSet Text
 - data CreateDataSetResponse = CreateDataSetResponse' {}
 - newCreateDataSetResponse :: Int -> CreateDataSetResponse
 - createDataSetResponse_arn :: Lens' CreateDataSetResponse (Maybe Text)
 - createDataSetResponse_assetType :: Lens' CreateDataSetResponse (Maybe AssetType)
 - createDataSetResponse_createdAt :: Lens' CreateDataSetResponse (Maybe UTCTime)
 - createDataSetResponse_description :: Lens' CreateDataSetResponse (Maybe Text)
 - createDataSetResponse_id :: Lens' CreateDataSetResponse (Maybe Text)
 - createDataSetResponse_name :: Lens' CreateDataSetResponse (Maybe Text)
 - createDataSetResponse_origin :: Lens' CreateDataSetResponse (Maybe Origin)
 - createDataSetResponse_originDetails :: Lens' CreateDataSetResponse (Maybe OriginDetails)
 - createDataSetResponse_sourceId :: Lens' CreateDataSetResponse (Maybe Text)
 - createDataSetResponse_tags :: Lens' CreateDataSetResponse (Maybe (HashMap Text Text))
 - createDataSetResponse_updatedAt :: Lens' CreateDataSetResponse (Maybe UTCTime)
 - createDataSetResponse_httpStatus :: Lens' CreateDataSetResponse Int
 
Creating a Request
data CreateDataSet Source #
See: newCreateDataSet smart constructor.
Constructors
| CreateDataSet' | |
Fields 
  | |
Instances
Arguments
| :: AssetType | |
| -> Text | |
| -> Text | |
| -> CreateDataSet | 
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
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_arn :: Lens' CreateDataSetResponse (Maybe Text) Source #
The ARN for the data set.
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_description :: Lens' CreateDataSetResponse (Maybe Text) Source #
The description for the data set.
createDataSetResponse_id :: Lens' CreateDataSetResponse (Maybe Text) Source #
The unique identifier for the data set.
createDataSetResponse_name :: Lens' CreateDataSetResponse (Maybe Text) Source #
The name of 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_tags :: Lens' CreateDataSetResponse (Maybe (HashMap Text Text)) Source #
The tags for the data set.
createDataSetResponse_updatedAt :: Lens' CreateDataSetResponse (Maybe UTCTime) Source #
The date and time that the data set was last updated, in ISO 8601 format.
createDataSetResponse_httpStatus :: Lens' CreateDataSetResponse Int Source #
The response's http status code.