Copyright | (c) 2013-2021 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 |
Deletes a channel's IAM policy.
Synopsis
- data DeleteChannelPolicy = DeleteChannelPolicy' {
- channelName :: Text
- newDeleteChannelPolicy :: Text -> DeleteChannelPolicy
- deleteChannelPolicy_channelName :: Lens' DeleteChannelPolicy Text
- data DeleteChannelPolicyResponse = DeleteChannelPolicyResponse' {
- httpStatus :: Int
- newDeleteChannelPolicyResponse :: Int -> DeleteChannelPolicyResponse
- deleteChannelPolicyResponse_httpStatus :: Lens' DeleteChannelPolicyResponse Int
Creating a Request
data DeleteChannelPolicy Source #
See: newDeleteChannelPolicy
smart constructor.
DeleteChannelPolicy' | |
|
Instances
newDeleteChannelPolicy Source #
Create a value of DeleteChannelPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:channelName:DeleteChannelPolicy'
, deleteChannelPolicy_channelName
- The identifier for the channel you are working on.
Request Lenses
deleteChannelPolicy_channelName :: Lens' DeleteChannelPolicy Text Source #
The identifier for the channel you are working on.
Destructuring the Response
data DeleteChannelPolicyResponse Source #
See: newDeleteChannelPolicyResponse
smart constructor.
DeleteChannelPolicyResponse' | |
|
Instances
newDeleteChannelPolicyResponse Source #
Create a value of DeleteChannelPolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteChannelPolicyResponse'
, deleteChannelPolicyResponse_httpStatus
- The response's http status code.
Response Lenses
deleteChannelPolicyResponse_httpStatus :: Lens' DeleteChannelPolicyResponse Int Source #
The response's http status code.