| 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 |
Amazonka.MediaPackageVOD.DescribeAsset
Description
Returns a description of a MediaPackage VOD Asset resource.
Synopsis
- data DescribeAsset = DescribeAsset' {}
- newDescribeAsset :: Text -> DescribeAsset
- describeAsset_id :: Lens' DescribeAsset Text
- data DescribeAssetResponse = DescribeAssetResponse' {}
- newDescribeAssetResponse :: Int -> DescribeAssetResponse
- describeAssetResponse_resourceId :: Lens' DescribeAssetResponse (Maybe Text)
- describeAssetResponse_arn :: Lens' DescribeAssetResponse (Maybe Text)
- describeAssetResponse_createdAt :: Lens' DescribeAssetResponse (Maybe Text)
- describeAssetResponse_packagingGroupId :: Lens' DescribeAssetResponse (Maybe Text)
- describeAssetResponse_sourceArn :: Lens' DescribeAssetResponse (Maybe Text)
- describeAssetResponse_sourceRoleArn :: Lens' DescribeAssetResponse (Maybe Text)
- describeAssetResponse_id :: Lens' DescribeAssetResponse (Maybe Text)
- describeAssetResponse_egressEndpoints :: Lens' DescribeAssetResponse (Maybe [EgressEndpoint])
- describeAssetResponse_tags :: Lens' DescribeAssetResponse (Maybe (HashMap Text Text))
- describeAssetResponse_httpStatus :: Lens' DescribeAssetResponse Int
Creating a Request
data DescribeAsset Source #
See: newDescribeAsset smart constructor.
Constructors
| DescribeAsset' | |
Instances
Arguments
| :: Text | |
| -> DescribeAsset |
Create a value of DescribeAsset 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:id:DescribeAsset', describeAsset_id - The ID of an MediaPackage VOD Asset resource.
Request Lenses
describeAsset_id :: Lens' DescribeAsset Text Source #
The ID of an MediaPackage VOD Asset resource.
Destructuring the Response
data DescribeAssetResponse Source #
See: newDescribeAssetResponse smart constructor.
Constructors
| DescribeAssetResponse' | |
Fields
| |
Instances
newDescribeAssetResponse Source #
Create a value of DescribeAssetResponse 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:DescribeAssetResponse', describeAssetResponse_resourceId - The resource ID to include in SPEKE key requests.
$sel:arn:DescribeAssetResponse', describeAssetResponse_arn - The ARN of the Asset.
$sel:createdAt:DescribeAssetResponse', describeAssetResponse_createdAt - The time the Asset was initially submitted for Ingest.
$sel:packagingGroupId:DescribeAssetResponse', describeAssetResponse_packagingGroupId - The ID of the PackagingGroup for the Asset.
$sel:sourceArn:DescribeAssetResponse', describeAssetResponse_sourceArn - ARN of the source object in S3.
$sel:sourceRoleArn:DescribeAssetResponse', describeAssetResponse_sourceRoleArn - The IAM role_arn used to access the source S3 bucket.
$sel:id:DescribeAsset', describeAssetResponse_id - The unique identifier for the Asset.
$sel:egressEndpoints:DescribeAssetResponse', describeAssetResponse_egressEndpoints - The list of egress endpoints available for the Asset.
$sel:tags:DescribeAssetResponse', describeAssetResponse_tags - Undocumented member.
$sel:httpStatus:DescribeAssetResponse', describeAssetResponse_httpStatus - The response's http status code.
Response Lenses
describeAssetResponse_resourceId :: Lens' DescribeAssetResponse (Maybe Text) Source #
The resource ID to include in SPEKE key requests.
describeAssetResponse_arn :: Lens' DescribeAssetResponse (Maybe Text) Source #
The ARN of the Asset.
describeAssetResponse_createdAt :: Lens' DescribeAssetResponse (Maybe Text) Source #
The time the Asset was initially submitted for Ingest.
describeAssetResponse_packagingGroupId :: Lens' DescribeAssetResponse (Maybe Text) Source #
The ID of the PackagingGroup for the Asset.
describeAssetResponse_sourceArn :: Lens' DescribeAssetResponse (Maybe Text) Source #
ARN of the source object in S3.
describeAssetResponse_sourceRoleArn :: Lens' DescribeAssetResponse (Maybe Text) Source #
The IAM role_arn used to access the source S3 bucket.
describeAssetResponse_id :: Lens' DescribeAssetResponse (Maybe Text) Source #
The unique identifier for the Asset.
describeAssetResponse_egressEndpoints :: Lens' DescribeAssetResponse (Maybe [EgressEndpoint]) Source #
The list of egress endpoints available for the Asset.
describeAssetResponse_tags :: Lens' DescribeAssetResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
describeAssetResponse_httpStatus :: Lens' DescribeAssetResponse Int Source #
The response's http status code.