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

Description

Returns the metric policy for the specified container.

Synopsis

Creating a Request

data GetMetricPolicy Source #

See: newGetMetricPolicy smart constructor.

Constructors

GetMetricPolicy' 

Fields

  • containerName :: Text

    The name of the container that is associated with the metric policy.

Instances

Instances details
Eq GetMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

Read GetMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

Show GetMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

Generic GetMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

Associated Types

type Rep GetMetricPolicy :: Type -> Type #

NFData GetMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

Methods

rnf :: GetMetricPolicy -> () #

Hashable GetMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

ToJSON GetMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

AWSRequest GetMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

Associated Types

type AWSResponse GetMetricPolicy #

ToHeaders GetMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

ToPath GetMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

ToQuery GetMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

type Rep GetMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

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

Defined in Amazonka.MediaStore.GetMetricPolicy

newGetMetricPolicy Source #

Create a value of GetMetricPolicy 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:GetMetricPolicy', getMetricPolicy_containerName - The name of the container that is associated with the metric policy.

Request Lenses

getMetricPolicy_containerName :: Lens' GetMetricPolicy Text Source #

The name of the container that is associated with the metric policy.

Destructuring the Response

data GetMetricPolicyResponse Source #

See: newGetMetricPolicyResponse smart constructor.

Constructors

GetMetricPolicyResponse' 

Fields

Instances

Instances details
Eq GetMetricPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

Read GetMetricPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

Show GetMetricPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

Generic GetMetricPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

Associated Types

type Rep GetMetricPolicyResponse :: Type -> Type #

NFData GetMetricPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

Methods

rnf :: GetMetricPolicyResponse -> () #

type Rep GetMetricPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.GetMetricPolicy

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

newGetMetricPolicyResponse Source #

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

$sel:metricPolicy:GetMetricPolicyResponse', getMetricPolicyResponse_metricPolicy - The metric policy that is associated with the specific container.

Response Lenses

getMetricPolicyResponse_metricPolicy :: Lens' GetMetricPolicyResponse MetricPolicy Source #

The metric policy that is associated with the specific container.