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

Description

Deletes the metric policy that is associated with the specified container. If there is no metric policy associated with the container, MediaStore doesn't send metrics to CloudWatch.

Synopsis

Creating a Request

data DeleteMetricPolicy Source #

See: newDeleteMetricPolicy smart constructor.

Constructors

DeleteMetricPolicy' 

Fields

  • containerName :: Text

    The name of the container that is associated with the metric policy that you want to delete.

Instances

Instances details
Eq DeleteMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

Read DeleteMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

Show DeleteMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

Generic DeleteMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

Associated Types

type Rep DeleteMetricPolicy :: Type -> Type #

NFData DeleteMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

Methods

rnf :: DeleteMetricPolicy -> () #

Hashable DeleteMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

ToJSON DeleteMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

AWSRequest DeleteMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

Associated Types

type AWSResponse DeleteMetricPolicy #

ToHeaders DeleteMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

ToPath DeleteMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

ToQuery DeleteMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

type Rep DeleteMetricPolicy Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

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

Defined in Amazonka.MediaStore.DeleteMetricPolicy

newDeleteMetricPolicy Source #

Create a value of DeleteMetricPolicy 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:DeleteMetricPolicy', deleteMetricPolicy_containerName - The name of the container that is associated with the metric policy that you want to delete.

Request Lenses

deleteMetricPolicy_containerName :: Lens' DeleteMetricPolicy Text Source #

The name of the container that is associated with the metric policy that you want to delete.

Destructuring the Response

data DeleteMetricPolicyResponse Source #

See: newDeleteMetricPolicyResponse smart constructor.

Constructors

DeleteMetricPolicyResponse' 

Fields

Instances

Instances details
Eq DeleteMetricPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

Read DeleteMetricPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

Show DeleteMetricPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

Generic DeleteMetricPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

Associated Types

type Rep DeleteMetricPolicyResponse :: Type -> Type #

NFData DeleteMetricPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

type Rep DeleteMetricPolicyResponse Source # 
Instance details

Defined in Amazonka.MediaStore.DeleteMetricPolicy

type Rep DeleteMetricPolicyResponse = D1 ('MetaData "DeleteMetricPolicyResponse" "Amazonka.MediaStore.DeleteMetricPolicy" "libZSservicesZSamazonka-mediastoreZSamazonka-mediastore" 'False) (C1 ('MetaCons "DeleteMetricPolicyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteMetricPolicyResponse Source #

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

Response Lenses