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 |
Puts the policy for the specified application.
- putApplicationPolicy :: Text -> PutApplicationPolicy
- data PutApplicationPolicy
- papStatements :: Lens' PutApplicationPolicy [ApplicationPolicyStatement]
- papApplicationId :: Lens' PutApplicationPolicy Text
- putApplicationPolicyResponse :: Int -> PutApplicationPolicyResponse
- data PutApplicationPolicyResponse
- paprsStatements :: Lens' PutApplicationPolicyResponse [ApplicationPolicyStatement]
- paprsResponseStatus :: Lens' PutApplicationPolicyResponse Int
Creating a Request
Creates a value of PutApplicationPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
papStatements
- Array of policy statements applied to the application.papApplicationId
- The ID of the application to get.
data PutApplicationPolicy Source #
See: putApplicationPolicy
smart constructor.
Request Lenses
papStatements :: Lens' PutApplicationPolicy [ApplicationPolicyStatement] Source #
Array of policy statements applied to the application.
papApplicationId :: Lens' PutApplicationPolicy Text Source #
The ID of the application to get.
Destructuring the Response
putApplicationPolicyResponse Source #
Creates a value of PutApplicationPolicyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
paprsStatements
- Array of policy statements applied to the application.paprsResponseStatus
- -- | The response status code.
data PutApplicationPolicyResponse Source #
See: putApplicationPolicyResponse
smart constructor.
Response Lenses
paprsStatements :: Lens' PutApplicationPolicyResponse [ApplicationPolicyStatement] Source #
Array of policy statements applied to the application.
paprsResponseStatus :: Lens' PutApplicationPolicyResponse Int Source #
- - | The response status code.