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 |
Creates a new MediaPackage VOD Asset resource.
Synopsis
- data CreateAsset = CreateAsset' {}
- newCreateAsset :: Text -> Text -> Text -> Text -> CreateAsset
- createAsset_resourceId :: Lens' CreateAsset (Maybe Text)
- createAsset_tags :: Lens' CreateAsset (Maybe (HashMap Text Text))
- createAsset_sourceArn :: Lens' CreateAsset Text
- createAsset_id :: Lens' CreateAsset Text
- createAsset_packagingGroupId :: Lens' CreateAsset Text
- createAsset_sourceRoleArn :: Lens' CreateAsset Text
- data CreateAssetResponse = CreateAssetResponse' {}
- newCreateAssetResponse :: Int -> CreateAssetResponse
- createAssetResponse_resourceId :: Lens' CreateAssetResponse (Maybe Text)
- createAssetResponse_arn :: Lens' CreateAssetResponse (Maybe Text)
- createAssetResponse_createdAt :: Lens' CreateAssetResponse (Maybe Text)
- createAssetResponse_packagingGroupId :: Lens' CreateAssetResponse (Maybe Text)
- createAssetResponse_sourceArn :: Lens' CreateAssetResponse (Maybe Text)
- createAssetResponse_sourceRoleArn :: Lens' CreateAssetResponse (Maybe Text)
- createAssetResponse_id :: Lens' CreateAssetResponse (Maybe Text)
- createAssetResponse_egressEndpoints :: Lens' CreateAssetResponse (Maybe [EgressEndpoint])
- createAssetResponse_tags :: Lens' CreateAssetResponse (Maybe (HashMap Text Text))
- createAssetResponse_httpStatus :: Lens' CreateAssetResponse Int
Creating a Request
data CreateAsset Source #
A new MediaPackage VOD Asset configuration.
See: newCreateAsset
smart constructor.
CreateAsset' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> CreateAsset |
Create a value of CreateAsset
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:resourceId:CreateAsset'
, createAsset_resourceId
- The resource ID to include in SPEKE key requests.
$sel:tags:CreateAsset'
, createAsset_tags
- Undocumented member.
$sel:sourceArn:CreateAsset'
, createAsset_sourceArn
- ARN of the source object in S3.
$sel:id:CreateAsset'
, createAsset_id
- The unique identifier for the Asset.
$sel:packagingGroupId:CreateAsset'
, createAsset_packagingGroupId
- The ID of the PackagingGroup for the Asset.
$sel:sourceRoleArn:CreateAsset'
, createAsset_sourceRoleArn
- The IAM role ARN used to access the source S3 bucket.
Request Lenses
createAsset_resourceId :: Lens' CreateAsset (Maybe Text) Source #
The resource ID to include in SPEKE key requests.
createAsset_tags :: Lens' CreateAsset (Maybe (HashMap Text Text)) Source #
Undocumented member.
createAsset_sourceArn :: Lens' CreateAsset Text Source #
ARN of the source object in S3.
createAsset_id :: Lens' CreateAsset Text Source #
The unique identifier for the Asset.
createAsset_packagingGroupId :: Lens' CreateAsset Text Source #
The ID of the PackagingGroup for the Asset.
createAsset_sourceRoleArn :: Lens' CreateAsset Text Source #
The IAM role ARN used to access the source S3 bucket.
Destructuring the Response
data CreateAssetResponse Source #
See: newCreateAssetResponse
smart constructor.
CreateAssetResponse' | |
|
Instances
newCreateAssetResponse Source #
Create a value of CreateAssetResponse
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:resourceId:CreateAsset'
, createAssetResponse_resourceId
- The resource ID to include in SPEKE key requests.
$sel:arn:CreateAssetResponse'
, createAssetResponse_arn
- The ARN of the Asset.
$sel:createdAt:CreateAssetResponse'
, createAssetResponse_createdAt
- The time the Asset was initially submitted for Ingest.
$sel:packagingGroupId:CreateAsset'
, createAssetResponse_packagingGroupId
- The ID of the PackagingGroup for the Asset.
$sel:sourceArn:CreateAsset'
, createAssetResponse_sourceArn
- ARN of the source object in S3.
$sel:sourceRoleArn:CreateAsset'
, createAssetResponse_sourceRoleArn
- The IAM role_arn used to access the source S3 bucket.
$sel:id:CreateAsset'
, createAssetResponse_id
- The unique identifier for the Asset.
$sel:egressEndpoints:CreateAssetResponse'
, createAssetResponse_egressEndpoints
- The list of egress endpoints available for the Asset.
$sel:tags:CreateAsset'
, createAssetResponse_tags
- Undocumented member.
$sel:httpStatus:CreateAssetResponse'
, createAssetResponse_httpStatus
- The response's http status code.
Response Lenses
createAssetResponse_resourceId :: Lens' CreateAssetResponse (Maybe Text) Source #
The resource ID to include in SPEKE key requests.
createAssetResponse_arn :: Lens' CreateAssetResponse (Maybe Text) Source #
The ARN of the Asset.
createAssetResponse_createdAt :: Lens' CreateAssetResponse (Maybe Text) Source #
The time the Asset was initially submitted for Ingest.
createAssetResponse_packagingGroupId :: Lens' CreateAssetResponse (Maybe Text) Source #
The ID of the PackagingGroup for the Asset.
createAssetResponse_sourceArn :: Lens' CreateAssetResponse (Maybe Text) Source #
ARN of the source object in S3.
createAssetResponse_sourceRoleArn :: Lens' CreateAssetResponse (Maybe Text) Source #
The IAM role_arn used to access the source S3 bucket.
createAssetResponse_id :: Lens' CreateAssetResponse (Maybe Text) Source #
The unique identifier for the Asset.
createAssetResponse_egressEndpoints :: Lens' CreateAssetResponse (Maybe [EgressEndpoint]) Source #
The list of egress endpoints available for the Asset.
createAssetResponse_tags :: Lens' CreateAssetResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
createAssetResponse_httpStatus :: Lens' CreateAssetResponse Int Source #
The response's http status code.