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 |
Gets the policy for the specified application.
- getApplicationPolicy :: Text -> GetApplicationPolicy
- data GetApplicationPolicy
- gapApplicationId :: Lens' GetApplicationPolicy Text
- getApplicationPolicyResponse :: Int -> GetApplicationPolicyResponse
- data GetApplicationPolicyResponse
- gaprsStatements :: Lens' GetApplicationPolicyResponse [ApplicationPolicyStatement]
- gaprsResponseStatus :: Lens' GetApplicationPolicyResponse Int
Creating a Request
Creates a value of GetApplicationPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gapApplicationId
- The ID of the application to get.
data GetApplicationPolicy Source #
See: getApplicationPolicy
smart constructor.
Request Lenses
gapApplicationId :: Lens' GetApplicationPolicy Text Source #
The ID of the application to get.
Destructuring the Response
getApplicationPolicyResponse Source #
Creates a value of GetApplicationPolicyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gaprsStatements
- Array of policy statements applied to the application.gaprsResponseStatus
- -- | The response status code.
data GetApplicationPolicyResponse Source #
See: getApplicationPolicyResponse
smart constructor.
Response Lenses
gaprsStatements :: Lens' GetApplicationPolicyResponse [ApplicationPolicyStatement] Source #
Array of policy statements applied to the application.
gaprsResponseStatus :: Lens' GetApplicationPolicyResponse Int Source #
- - | The response status code.