amazonka-support-app-2.0: Amazon Support App SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SupportApp.Types.SlackChannelConfiguration

Description

 
Synopsis

Documentation

data SlackChannelConfiguration Source #

The configuration for a Slack channel that you added for your Amazon Web Services account.

See: newSlackChannelConfiguration smart constructor.

Constructors

SlackChannelConfiguration' 

Fields

Instances

Instances details
FromJSON SlackChannelConfiguration Source # 
Instance details

Defined in Amazonka.SupportApp.Types.SlackChannelConfiguration

Generic SlackChannelConfiguration Source # 
Instance details

Defined in Amazonka.SupportApp.Types.SlackChannelConfiguration

Associated Types

type Rep SlackChannelConfiguration :: Type -> Type #

Read SlackChannelConfiguration Source # 
Instance details

Defined in Amazonka.SupportApp.Types.SlackChannelConfiguration

Show SlackChannelConfiguration Source # 
Instance details

Defined in Amazonka.SupportApp.Types.SlackChannelConfiguration

NFData SlackChannelConfiguration Source # 
Instance details

Defined in Amazonka.SupportApp.Types.SlackChannelConfiguration

Eq SlackChannelConfiguration Source # 
Instance details

Defined in Amazonka.SupportApp.Types.SlackChannelConfiguration

Hashable SlackChannelConfiguration Source # 
Instance details

Defined in Amazonka.SupportApp.Types.SlackChannelConfiguration

type Rep SlackChannelConfiguration Source # 
Instance details

Defined in Amazonka.SupportApp.Types.SlackChannelConfiguration

type Rep SlackChannelConfiguration = D1 ('MetaData "SlackChannelConfiguration" "Amazonka.SupportApp.Types.SlackChannelConfiguration" "amazonka-support-app-2.0-K70l4Z7c1tk36e2ucvecLC" 'False) (C1 ('MetaCons "SlackChannelConfiguration'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "channelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "channelRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "notifyOnAddCorrespondenceToCase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "notifyOnCaseSeverity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotificationSeverityLevel)))) :*: ((S1 ('MetaSel ('Just "notifyOnCreateOrReopenCase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "notifyOnResolveCase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "channelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "teamId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newSlackChannelConfiguration Source #

Create a value of SlackChannelConfiguration 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:SlackChannelConfiguration', slackChannelConfiguration_channelName - The name of the Slack channel that you configured with the Amazon Web Services Support App for your Amazon Web Services account.

$sel:channelRoleArn:SlackChannelConfiguration', slackChannelConfiguration_channelRoleArn - The Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations on Amazon Web Services. For more information, see Managing access to the Amazon Web Services Support App in the Amazon Web Services Support User Guide.

$sel:notifyOnAddCorrespondenceToCase:SlackChannelConfiguration', slackChannelConfiguration_notifyOnAddCorrespondenceToCase - Whether you want to get notified when a support case has a new correspondence.

$sel:notifyOnCaseSeverity:SlackChannelConfiguration', slackChannelConfiguration_notifyOnCaseSeverity - The case severity for a support case that you want to receive notifications.

$sel:notifyOnCreateOrReopenCase:SlackChannelConfiguration', slackChannelConfiguration_notifyOnCreateOrReopenCase - Whether you want to get notified when a support case is created or reopened.

$sel:notifyOnResolveCase:SlackChannelConfiguration', slackChannelConfiguration_notifyOnResolveCase - Whether you want to get notified when a support case is resolved.

$sel:channelId:SlackChannelConfiguration', slackChannelConfiguration_channelId - The channel ID in Slack. This ID identifies a channel within a Slack workspace.

$sel:teamId:SlackChannelConfiguration', slackChannelConfiguration_teamId - The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG.

slackChannelConfiguration_channelName :: Lens' SlackChannelConfiguration (Maybe Text) Source #

The name of the Slack channel that you configured with the Amazon Web Services Support App for your Amazon Web Services account.

slackChannelConfiguration_channelRoleArn :: Lens' SlackChannelConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of an IAM role that you want to use to perform operations on Amazon Web Services. For more information, see Managing access to the Amazon Web Services Support App in the Amazon Web Services Support User Guide.

slackChannelConfiguration_notifyOnAddCorrespondenceToCase :: Lens' SlackChannelConfiguration (Maybe Bool) Source #

Whether you want to get notified when a support case has a new correspondence.

slackChannelConfiguration_notifyOnCaseSeverity :: Lens' SlackChannelConfiguration (Maybe NotificationSeverityLevel) Source #

The case severity for a support case that you want to receive notifications.

slackChannelConfiguration_notifyOnCreateOrReopenCase :: Lens' SlackChannelConfiguration (Maybe Bool) Source #

Whether you want to get notified when a support case is created or reopened.

slackChannelConfiguration_notifyOnResolveCase :: Lens' SlackChannelConfiguration (Maybe Bool) Source #

Whether you want to get notified when a support case is resolved.

slackChannelConfiguration_channelId :: Lens' SlackChannelConfiguration Text Source #

The channel ID in Slack. This ID identifies a channel within a Slack workspace.

slackChannelConfiguration_teamId :: Lens' SlackChannelConfiguration Text Source #

The team ID in Slack. This ID uniquely identifies a Slack workspace, such as T012ABCDEFG.