| 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.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_arn :: Lens' DescribeAssetResponse (Maybe Text)
- describeAssetResponse_createdAt :: Lens' DescribeAssetResponse (Maybe Text)
- describeAssetResponse_egressEndpoints :: Lens' DescribeAssetResponse (Maybe [EgressEndpoint])
- describeAssetResponse_id :: Lens' DescribeAssetResponse (Maybe Text)
- describeAssetResponse_packagingGroupId :: Lens' DescribeAssetResponse (Maybe Text)
- describeAssetResponse_resourceId :: Lens' DescribeAssetResponse (Maybe Text)
- describeAssetResponse_sourceArn :: Lens' DescribeAssetResponse (Maybe Text)
- describeAssetResponse_sourceRoleArn :: Lens' DescribeAssetResponse (Maybe Text)
- 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:
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:
DescribeAssetResponse, describeAssetResponse_arn - The ARN of the Asset.
DescribeAssetResponse, describeAssetResponse_createdAt - The time the Asset was initially submitted for Ingest.
$sel:egressEndpoints:DescribeAssetResponse', describeAssetResponse_egressEndpoints - The list of egress endpoints available for the Asset.
DescribeAsset, describeAssetResponse_id - The unique identifier for the Asset.
DescribeAssetResponse, describeAssetResponse_packagingGroupId - The ID of the PackagingGroup for the Asset.
DescribeAssetResponse, describeAssetResponse_resourceId - The resource ID to include in SPEKE key requests.
DescribeAssetResponse, describeAssetResponse_sourceArn - ARN of the source object in S3.
DescribeAssetResponse, describeAssetResponse_sourceRoleArn - The IAM role_arn used to access the source S3 bucket.
DescribeAssetResponse, describeAssetResponse_tags - Undocumented member.
$sel:httpStatus:DescribeAssetResponse', describeAssetResponse_httpStatus - The response's http status code.
Response Lenses
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_egressEndpoints :: Lens' DescribeAssetResponse (Maybe [EgressEndpoint]) Source #
The list of egress endpoints available for the Asset.
describeAssetResponse_id :: Lens' DescribeAssetResponse (Maybe Text) Source #
The unique identifier for the Asset.
describeAssetResponse_packagingGroupId :: Lens' DescribeAssetResponse (Maybe Text) Source #
The ID of the PackagingGroup for the Asset.
describeAssetResponse_resourceId :: Lens' DescribeAssetResponse (Maybe Text) Source #
The resource ID to include in SPEKE key requests.
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_tags :: Lens' DescribeAssetResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
describeAssetResponse_httpStatus :: Lens' DescribeAssetResponse Int Source #
The response's http status code.