| 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 |
Network.AWS.IoT.GetEffectivePolicies
Description
Gets effective policies.
Synopsis
- getEffectivePolicies :: GetEffectivePolicies
- data GetEffectivePolicies
- gepPrincipal :: Lens' GetEffectivePolicies (Maybe Text)
- gepCognitoIdentityPoolId :: Lens' GetEffectivePolicies (Maybe Text)
- gepThingName :: Lens' GetEffectivePolicies (Maybe Text)
- getEffectivePoliciesResponse :: Int -> GetEffectivePoliciesResponse
- data GetEffectivePoliciesResponse
- geprsEffectivePolicies :: Lens' GetEffectivePoliciesResponse [EffectivePolicy]
- geprsResponseStatus :: Lens' GetEffectivePoliciesResponse Int
Creating a Request
getEffectivePolicies :: GetEffectivePolicies Source #
Creates a value of GetEffectivePolicies with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gepPrincipal- The principal.gepCognitoIdentityPoolId- The Cognito identity pool ID.gepThingName- The thing name.
data GetEffectivePolicies Source #
See: getEffectivePolicies smart constructor.
Instances
Request Lenses
gepPrincipal :: Lens' GetEffectivePolicies (Maybe Text) Source #
The principal.
gepCognitoIdentityPoolId :: Lens' GetEffectivePolicies (Maybe Text) Source #
The Cognito identity pool ID.
gepThingName :: Lens' GetEffectivePolicies (Maybe Text) Source #
The thing name.
Destructuring the Response
getEffectivePoliciesResponse Source #
Arguments
| :: Int | |
| -> GetEffectivePoliciesResponse |
Creates a value of GetEffectivePoliciesResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
geprsEffectivePolicies- The effective policies.geprsResponseStatus- -- | The response status code.
data GetEffectivePoliciesResponse Source #
See: getEffectivePoliciesResponse smart constructor.
Instances
Response Lenses
geprsEffectivePolicies :: Lens' GetEffectivePoliciesResponse [EffectivePolicy] Source #
The effective policies.
geprsResponseStatus :: Lens' GetEffectivePoliciesResponse Int Source #
- - | The response status code.