Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DeleteMetricPolicy = DeleteMetricPolicy' {}
- newDeleteMetricPolicy :: Text -> DeleteMetricPolicy
- deleteMetricPolicy_containerName :: Lens' DeleteMetricPolicy Text
- data DeleteMetricPolicyResponse = DeleteMetricPolicyResponse' {
- httpStatus :: Int
- newDeleteMetricPolicyResponse :: Int -> DeleteMetricPolicyResponse
- deleteMetricPolicyResponse_httpStatus :: Lens' DeleteMetricPolicyResponse Int
Creating a Request
data DeleteMetricPolicy Source #
See: newDeleteMetricPolicy
smart constructor.
DeleteMetricPolicy' | |
|
Instances
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.
DeleteMetricPolicyResponse' | |
|
Instances
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
deleteMetricPolicyResponse_httpStatus :: Lens' DeleteMetricPolicyResponse Int Source #
The response's http status code.