amazonka-mediapackage-vod-2.0: Amazon Elemental MediaPackage VOD SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MediaPackageVOD.ListAssets

Description

Returns a collection of MediaPackage VOD Asset resources.

This operation returns paginated results.

Synopsis

Creating a Request

data ListAssets Source #

See: newListAssets smart constructor.

Constructors

ListAssets' 

Fields

Instances

Instances details
ToHeaders ListAssets Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

Methods

toHeaders :: ListAssets -> [Header] #

ToPath ListAssets Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

ToQuery ListAssets Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

AWSPager ListAssets Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

AWSRequest ListAssets Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

Associated Types

type AWSResponse ListAssets #

Generic ListAssets Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

Associated Types

type Rep ListAssets :: Type -> Type #

Read ListAssets Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

Show ListAssets Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

NFData ListAssets Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

Methods

rnf :: ListAssets -> () #

Eq ListAssets Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

Hashable ListAssets Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

type AWSResponse ListAssets Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

type Rep ListAssets Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

type Rep ListAssets = D1 ('MetaData "ListAssets" "Amazonka.MediaPackageVOD.ListAssets" "amazonka-mediapackage-vod-2.0-BlBmQ6Hj2WSdiUpNBozUT" 'False) (C1 ('MetaCons "ListAssets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "packagingGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newListAssets :: ListAssets Source #

Create a value of ListAssets 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:maxResults:ListAssets', listAssets_maxResults - Upper bound on number of records to return.

ListAssets, listAssets_nextToken - A token used to resume pagination from the end of a previous request.

ListAssets, listAssets_packagingGroupId - Returns Assets associated with the specified PackagingGroup.

Request Lenses

listAssets_maxResults :: Lens' ListAssets (Maybe Natural) Source #

Upper bound on number of records to return.

listAssets_nextToken :: Lens' ListAssets (Maybe Text) Source #

A token used to resume pagination from the end of a previous request.

listAssets_packagingGroupId :: Lens' ListAssets (Maybe Text) Source #

Returns Assets associated with the specified PackagingGroup.

Destructuring the Response

data ListAssetsResponse Source #

See: newListAssetsResponse smart constructor.

Constructors

ListAssetsResponse' 

Fields

Instances

Instances details
Generic ListAssetsResponse Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

Associated Types

type Rep ListAssetsResponse :: Type -> Type #

Read ListAssetsResponse Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

Show ListAssetsResponse Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

NFData ListAssetsResponse Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

Methods

rnf :: ListAssetsResponse -> () #

Eq ListAssetsResponse Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

type Rep ListAssetsResponse Source # 
Instance details

Defined in Amazonka.MediaPackageVOD.ListAssets

type Rep ListAssetsResponse = D1 ('MetaData "ListAssetsResponse" "Amazonka.MediaPackageVOD.ListAssets" "amazonka-mediapackage-vod-2.0-BlBmQ6Hj2WSdiUpNBozUT" 'False) (C1 ('MetaCons "ListAssetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "assets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AssetShallow])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAssetsResponse Source #

Create a value of ListAssetsResponse 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:assets:ListAssetsResponse', listAssetsResponse_assets - A list of MediaPackage VOD Asset resources.

ListAssets, listAssetsResponse_nextToken - A token that can be used to resume pagination from the end of the collection.

$sel:httpStatus:ListAssetsResponse', listAssetsResponse_httpStatus - The response's http status code.

Response Lenses

listAssetsResponse_assets :: Lens' ListAssetsResponse (Maybe [AssetShallow]) Source #

A list of MediaPackage VOD Asset resources.

listAssetsResponse_nextToken :: Lens' ListAssetsResponse (Maybe Text) Source #

A token that can be used to resume pagination from the end of the collection.