Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_origin :: Lens' CreateDataSetResponse (Maybe Origin)
- createDataSetResponse_arn :: Lens' CreateDataSetResponse (Maybe Text)
- createDataSetResponse_createdAt :: Lens' CreateDataSetResponse (Maybe UTCTime)
- createDataSetResponse_sourceId :: Lens' CreateDataSetResponse (Maybe Text)
- createDataSetResponse_originDetails :: Lens' CreateDataSetResponse (Maybe OriginDetails)
- createDataSetResponse_name :: Lens' CreateDataSetResponse (Maybe Text)
- createDataSetResponse_id :: Lens' CreateDataSetResponse (Maybe Text)
- createDataSetResponse_assetType :: Lens' CreateDataSetResponse (Maybe AssetType)
- createDataSetResponse_updatedAt :: Lens' CreateDataSetResponse (Maybe UTCTime)
- createDataSetResponse_description :: Lens' CreateDataSetResponse (Maybe Text)
- createDataSetResponse_tags :: Lens' CreateDataSetResponse (Maybe (HashMap Text Text))
- createDataSetResponse_httpStatus :: Lens' CreateDataSetResponse Int
Creating a Request
data CreateDataSet Source #
The request body for CreateDataSet.
See: newCreateDataSet
smart constructor.
CreateDataSet' | |
|
Instances
:: 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:
$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.
CreateDataSetResponse' | |
|
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:
$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_arn :: Lens' CreateDataSetResponse (Maybe Text) Source #
The ARN for the data set.
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_name :: Lens' CreateDataSetResponse (Maybe Text) Source #
The name of the data set.
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.
createDataSetResponse_description :: Lens' CreateDataSetResponse (Maybe Text) Source #
The description for the data set.
createDataSetResponse_tags :: Lens' CreateDataSetResponse (Maybe (HashMap Text Text)) Source #
The tags for the data set.
createDataSetResponse_httpStatus :: Lens' CreateDataSetResponse Int Source #
The response's http status code.