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 |
Retrieves the access policy for the specified container. For information about the data that is included in an access policy, see the AWS Identity and Access Management User Guide .
- getContainerPolicy :: Text -> GetContainerPolicy
- data GetContainerPolicy
- gContainerName :: Lens' GetContainerPolicy Text
- getContainerPolicyResponse :: Int -> Text -> GetContainerPolicyResponse
- data GetContainerPolicyResponse
- gcprsResponseStatus :: Lens' GetContainerPolicyResponse Int
- gcprsPolicy :: Lens' GetContainerPolicyResponse Text
Creating a Request
Creates a value of GetContainerPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gContainerName
- The name of the container.
data GetContainerPolicy Source #
See: getContainerPolicy
smart constructor.
Request Lenses
gContainerName :: Lens' GetContainerPolicy Text Source #
The name of the container.
Destructuring the Response
getContainerPolicyResponse Source #
Creates a value of GetContainerPolicyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcprsResponseStatus
- -- | The response status code.gcprsPolicy
- The contents of the access policy.
data GetContainerPolicyResponse Source #
See: getContainerPolicyResponse
smart constructor.
Response Lenses
gcprsResponseStatus :: Lens' GetContainerPolicyResponse Int Source #
- - | The response status code.
gcprsPolicy :: Lens' GetContainerPolicyResponse Text Source #
The contents of the access policy.