libZSservicesZSamazonka-mediastoreZSamazonka-mediastore
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.MediaStore.GetLifecyclePolicy

Description

Retrieves the object lifecycle policy that is assigned to a container.

Synopsis

Creating a Request

data GetLifecyclePolicy Source #

See: newGetLifecyclePolicy smart constructor.

Constructors

GetLifecyclePolicy' 

Fields

  • containerName :: Text

    The name of the container that the object lifecycle policy is assigned to.

Instances

Instances details
Eq GetLifecyclePolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

Read GetLifecyclePolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

Show GetLifecyclePolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

Generic GetLifecyclePolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

Associated Types

type Rep GetLifecyclePolicy :: Type -> Type #

NFData GetLifecyclePolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

Methods

rnf :: GetLifecyclePolicy -> () #

Hashable GetLifecyclePolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

ToJSON GetLifecyclePolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

AWSRequest GetLifecyclePolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

Associated Types

type AWSResponse GetLifecyclePolicy #

ToHeaders GetLifecyclePolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

ToPath GetLifecyclePolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

ToQuery GetLifecyclePolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

type Rep GetLifecyclePolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

type Rep GetLifecyclePolicy = D1 ('MetaData "GetLifecyclePolicy" "Amazonka.MediaStore.GetLifecyclePolicy" "libZSservicesZSamazonka-mediastoreZSamazonka-mediastore" 'False) (C1 ('MetaCons "GetLifecyclePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "containerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetLifecyclePolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

newGetLifecyclePolicy Source #

Create a value of GetLifecyclePolicy 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:containerName:GetLifecyclePolicy', getLifecyclePolicy_containerName - The name of the container that the object lifecycle policy is assigned to.

Request Lenses

getLifecyclePolicy_containerName :: Lens' GetLifecyclePolicy Text Source #

The name of the container that the object lifecycle policy is assigned to.

Destructuring the Response

data GetLifecyclePolicyResponse Source #

See: newGetLifecyclePolicyResponse smart constructor.

Constructors

GetLifecyclePolicyResponse' 

Fields

Instances

Instances details
Eq GetLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

Read GetLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

Show GetLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

Generic GetLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

Associated Types

type Rep GetLifecyclePolicyResponse :: Type -> Type #

NFData GetLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

type Rep GetLifecyclePolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetLifecyclePolicy

type Rep GetLifecyclePolicyResponse = D1 ('MetaData "GetLifecyclePolicyResponse" "Amazonka.MediaStore.GetLifecyclePolicy" "libZSservicesZSamazonka-mediastoreZSamazonka-mediastore" 'False) (C1 ('MetaCons "GetLifecyclePolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "lifecyclePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetLifecyclePolicyResponse Source #

Create a value of GetLifecyclePolicyResponse 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:httpStatus:GetLifecyclePolicyResponse', getLifecyclePolicyResponse_httpStatus - The response's http status code.

$sel:lifecyclePolicy:GetLifecyclePolicyResponse', getLifecyclePolicyResponse_lifecyclePolicy - The object lifecycle policy that is assigned to the container.

Response Lenses

getLifecyclePolicyResponse_lifecyclePolicy :: Lens' GetLifecyclePolicyResponse Text Source #

The object lifecycle policy that is assigned to the container.