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 |
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.
Instances
newDeleteSlackChannelConfiguration Source #
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.
DeleteSlackChannelConfigurationResponse' | |
|
Instances
Generic DeleteSlackChannelConfigurationResponse Source # | |
Defined in Amazonka.SupportApp.DeleteSlackChannelConfiguration type Rep DeleteSlackChannelConfigurationResponse :: Type -> Type # | |
Read DeleteSlackChannelConfigurationResponse Source # | |
Show DeleteSlackChannelConfigurationResponse Source # | |
NFData DeleteSlackChannelConfigurationResponse Source # | |
Eq DeleteSlackChannelConfigurationResponse Source # | |
type Rep DeleteSlackChannelConfigurationResponse Source # | |
Defined in Amazonka.SupportApp.DeleteSlackChannelConfiguration type Rep DeleteSlackChannelConfigurationResponse = D1 ('MetaData "DeleteSlackChannelConfigurationResponse" "Amazonka.SupportApp.DeleteSlackChannelConfiguration" "amazonka-support-app-2.0-K70l4Z7c1tk36e2ucvecLC" 'False) (C1 ('MetaCons "DeleteSlackChannelConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteSlackChannelConfigurationResponse Source #
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.