Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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.
Creating a Request
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:
pdpDestinationName
- A name for an existing destination.pdpAccessPolicy
- An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination.
data PutDestinationPolicy Source #
See: putDestinationPolicy
smart constructor.
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 the associated destination.
Destructuring the Response
putDestinationPolicyResponse :: PutDestinationPolicyResponse Source #
Creates a value of PutDestinationPolicyResponse
with the minimum fields required to make a request.
data PutDestinationPolicyResponse Source #
See: putDestinationPolicyResponse
smart constructor.