| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MediaTailor.DeleteChannelPolicy
Description
The channel policy to delete.
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.
Constructors
| DeleteChannelPolicy' | |
Fields
| |
Instances
newDeleteChannelPolicy Source #
Arguments
| :: Text | |
| -> DeleteChannelPolicy |
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:
DeleteChannelPolicy, deleteChannelPolicy_channelName - The name of the channel associated with this channel policy.
Request Lenses
deleteChannelPolicy_channelName :: Lens' DeleteChannelPolicy Text Source #
The name of the channel associated with this channel policy.
Destructuring the Response
data DeleteChannelPolicyResponse Source #
See: newDeleteChannelPolicyResponse smart constructor.
Constructors
| DeleteChannelPolicyResponse' | |
Fields
| |
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.