amazonka-cloudwatch-logs-1.3.1: Amazon CloudWatch Logs SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




Creates or updates an access policy associated with an existing Destination. An access policy is an IAM policy document that is used to authorize claims to register a subscription filter against a given destination.

See: AWS API Reference for PutDestinationPolicy.


Creating a Request

putDestinationPolicy Source

Creates a value of PutDestinationPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

pdpDestinationName :: Lens' PutDestinationPolicy Text Source

A name for an existing destination.

pdpAccessPolicy :: Lens' PutDestinationPolicy Text Source

An IAM policy document that authorizes cross-account users to deliver their log events to associated destination.

Destructuring the Response

putDestinationPolicyResponse :: PutDestinationPolicyResponse Source

Creates a value of PutDestinationPolicyResponse with the minimum fields required to make a request.