| 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.SupportApp.DeleteSlackChannelConfiguration
Description
Deletes a Slack channel configuration from your Amazon Web Services account. This operation doesn't delete your Slack channel.
Synopsis
- data DeleteSlackChannelConfiguration = DeleteSlackChannelConfiguration' {}
- newDeleteSlackChannelConfiguration :: Text -> Text -> DeleteSlackChannelConfiguration
- deleteSlackChannelConfiguration_channelId :: Lens' DeleteSlackChannelConfiguration Text
- deleteSlackChannelConfiguration_teamId :: Lens' DeleteSlackChannelConfiguration Text
- data DeleteSlackChannelConfigurationResponse = DeleteSlackChannelConfigurationResponse' {
- httpStatus :: Int
- newDeleteSlackChannelConfigurationResponse :: Int -> DeleteSlackChannelConfigurationResponse
- deleteSlackChannelConfigurationResponse_httpStatus :: Lens' DeleteSlackChannelConfigurationResponse Int
Creating a Request
data DeleteSlackChannelConfiguration Source #
See: newDeleteSlackChannelConfiguration smart constructor.
Constructors
| DeleteSlackChannelConfiguration' | |
Instances
newDeleteSlackChannelConfiguration Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteSlackChannelConfiguration |
Create a value of DeleteSlackChannelConfiguration 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:
DeleteSlackChannelConfiguration, deleteSlackChannelConfiguration_channelId - The channel ID in Slack. This ID identifies a channel within a Slack
workspace.
DeleteSlackChannelConfiguration, deleteSlackChannelConfiguration_teamId - The team ID in Slack. This ID uniquely identifies a Slack workspace,
such as T012ABCDEFG.
Request Lenses
deleteSlackChannelConfiguration_channelId :: Lens' DeleteSlackChannelConfiguration Text Source #
The channel ID in Slack. This ID identifies a channel within a Slack workspace.
deleteSlackChannelConfiguration_teamId :: Lens' DeleteSlackChannelConfiguration Text Source #
The team ID in Slack. This ID uniquely identifies a Slack workspace,
such as T012ABCDEFG.
Destructuring the Response
data DeleteSlackChannelConfigurationResponse Source #
See: newDeleteSlackChannelConfigurationResponse smart constructor.
Constructors
| DeleteSlackChannelConfigurationResponse' | |
Fields
| |
Instances
newDeleteSlackChannelConfigurationResponse Source #
Arguments
| :: Int | |
| -> DeleteSlackChannelConfigurationResponse |
Create a value of DeleteSlackChannelConfigurationResponse 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:DeleteSlackChannelConfigurationResponse', deleteSlackChannelConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
deleteSlackChannelConfigurationResponse_httpStatus :: Lens' DeleteSlackChannelConfigurationResponse Int Source #
The response's http status code.