libZSservicesZSamazonka-mediapackage-vodZSamazonka-mediapackage-vod
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaPackageVOD.CreateAsset

Description

Creates a new MediaPackage VOD Asset resource.

Synopsis

Creating a Request

data CreateAsset Source #

A new MediaPackage VOD Asset configuration.

See: newCreateAsset smart constructor.

Constructors

CreateAsset' 

Fields

Instances

Instances details
Eq CreateAsset Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

Read CreateAsset Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

Show CreateAsset Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

Generic CreateAsset Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

Associated Types

type Rep CreateAsset :: Type -> Type #

NFData CreateAsset Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

Methods

rnf :: CreateAsset -> () #

Hashable CreateAsset Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

ToJSON CreateAsset Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

AWSRequest CreateAsset Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

Associated Types

type AWSResponse CreateAsset #

ToHeaders CreateAsset Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

Methods

toHeaders :: CreateAsset -> [Header] #

ToPath CreateAsset Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

ToQuery CreateAsset Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

type Rep CreateAsset Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

type Rep CreateAsset = D1 ('MetaData "CreateAsset" "Amazonka.MediaPackageVOD.CreateAsset" "libZSservicesZSamazonka-mediapackage-vodZSamazonka-mediapackage-vod" 'False) (C1 ('MetaCons "CreateAsset'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "sourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "packagingGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sourceRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateAsset Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

newCreateAsset Source #

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_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.

Constructors

CreateAssetResponse' 

Fields

Instances

Instances details
Eq CreateAssetResponse Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

Read CreateAssetResponse Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

Show CreateAssetResponse Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

Generic CreateAssetResponse Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

Associated Types

type Rep CreateAssetResponse :: Type -> Type #

NFData CreateAssetResponse Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

Methods

rnf :: CreateAssetResponse -> () #

type Rep CreateAssetResponse Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.CreateAsset

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_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_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.