supportapp

package
v0.0.0-...-3080b95 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2024 License: Apache-2.0, Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package supportapp provides the client and types for making API requests to AWS Support App.

You can use the Amazon Web Services Support App in Slack API to manage your support cases in Slack for your Amazon Web Services account. After you configure your Slack workspace and channel with the Amazon Web Services Support App, you can perform the following tasks directly in your Slack channel:

  • Create, search, update, and resolve your support cases

  • Request service quota increases for your account

  • Invite Amazon Web Services Support agents to your channel so that you can chat directly about your support cases

For more information about how to perform these actions in Slack, see the following documentation in the Amazon Web Services Support User Guide:

You can also use the Amazon Web Services Management Console instead of the Amazon Web Services Support App API to manage your Slack configurations. For more information, see Authorize a Slack workspace to enable the Amazon Web Services Support App (https://docs.aws.amazon.com/awssupport/latest/user/authorize-slack-workspace.html).

See https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20 for more information on this service.

See supportapp package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/supportapp/

Using the Client

To contact AWS Support App with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS Support App client SupportApp for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/supportapp/#New

Index

Constants

View Source
const (
	// AccountTypeManagement is a AccountType enum value
	AccountTypeManagement = "management"

	// AccountTypeMember is a AccountType enum value
	AccountTypeMember = "member"
)
View Source
const (
	// NotificationSeverityLevelNone is a NotificationSeverityLevel enum value
	NotificationSeverityLevelNone = "none"

	// NotificationSeverityLevelAll is a NotificationSeverityLevel enum value
	NotificationSeverityLevelAll = "all"

	// NotificationSeverityLevelHigh is a NotificationSeverityLevel enum value
	NotificationSeverityLevelHigh = "high"
)
View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// You don't have sufficient permission to perform this action.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeConflictException for service response error code
	// "ConflictException".
	//
	// Your request has a conflict. For example, you might receive this error if
	// you try the following:
	//
	//    * Add, update, or delete a Slack channel configuration before you add
	//    a Slack workspace to your Amazon Web Services account.
	//
	//    * Add a Slack channel configuration that already exists in your Amazon
	//    Web Services account.
	//
	//    * Delete a Slack channel configuration for a live chat channel.
	//
	//    * Delete a Slack workspace from your Amazon Web Services account that
	//    has an active live chat channel.
	//
	//    * Call the RegisterSlackWorkspaceForOrganization API from an Amazon Web
	//    Services account that doesn't belong to an organization.
	//
	//    * Call the RegisterSlackWorkspaceForOrganization API from a member account,
	//    but the management account hasn't registered that workspace yet for the
	//    organization.
	ErrCodeConflictException = "ConflictException"

	// ErrCodeInternalServerException for service response error code
	// "InternalServerException".
	//
	// We can’t process your request right now because of a server issue. Try
	// again later.
	ErrCodeInternalServerException = "InternalServerException"

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// The specified resource is missing or doesn't exist, such as an account alias,
	// Slack channel configuration, or Slack workspace configuration.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeServiceQuotaExceededException for service response error code
	// "ServiceQuotaExceededException".
	//
	// Your Service Quotas request exceeds the quota for the service. For example,
	// your Service Quotas request to Amazon Web Services Support App might exceed
	// the maximum number of workspaces or channels per account, or the maximum
	// number of accounts per Slack channel.
	ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// Your request input doesn't meet the constraints that the Amazon Web Services
	// Support App specifies.
	ErrCodeValidationException = "ValidationException"
)
View Source
const (
	ServiceName = "Support App" // Name of service.
	EndpointsID = "supportapp"  // ID to lookup a service endpoint with.
	ServiceID   = "Support App" // ServiceID is a unique identifier of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

func AccountType_Values

func AccountType_Values() []string

AccountType_Values returns all elements of the AccountType enum

func NotificationSeverityLevel_Values

func NotificationSeverityLevel_Values() []string

NotificationSeverityLevel_Values returns all elements of the NotificationSeverityLevel enum

Types

type AccessDeniedException

type AccessDeniedException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

You don't have sufficient permission to perform this action.

func (*AccessDeniedException) Code

func (s *AccessDeniedException) Code() string

Code returns the exception type name.

func (*AccessDeniedException) Error

func (s *AccessDeniedException) Error() string

func (AccessDeniedException) GoString

func (s AccessDeniedException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*AccessDeniedException) Message

func (s *AccessDeniedException) Message() string

Message returns the exception's message.

func (*AccessDeniedException) OrigErr

func (s *AccessDeniedException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*AccessDeniedException) RequestID

func (s *AccessDeniedException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*AccessDeniedException) StatusCode

func (s *AccessDeniedException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (AccessDeniedException) String

func (s AccessDeniedException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ConflictException

type ConflictException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Your request has a conflict. For example, you might receive this error if you try the following:

  • Add, update, or delete a Slack channel configuration before you add a Slack workspace to your Amazon Web Services account.

  • Add a Slack channel configuration that already exists in your Amazon Web Services account.

  • Delete a Slack channel configuration for a live chat channel.

  • Delete a Slack workspace from your Amazon Web Services account that has an active live chat channel.

  • Call the RegisterSlackWorkspaceForOrganization API from an Amazon Web Services account that doesn't belong to an organization.

  • Call the RegisterSlackWorkspaceForOrganization API from a member account, but the management account hasn't registered that workspace yet for the organization.

func (*ConflictException) Code

func (s *ConflictException) Code() string

Code returns the exception type name.

func (*ConflictException) Error

func (s *ConflictException) Error() string

func (ConflictException) GoString

func (s ConflictException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ConflictException) Message

func (s *ConflictException) Message() string

Message returns the exception's message.

func (*ConflictException) OrigErr

func (s *ConflictException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ConflictException) RequestID

func (s *ConflictException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ConflictException) StatusCode

func (s *ConflictException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ConflictException) String

func (s ConflictException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type CreateSlackChannelConfigurationInput

type CreateSlackChannelConfigurationInput struct {

	// The channel ID in Slack. This ID identifies a channel within a Slack workspace.
	//
	// ChannelId is a required field
	ChannelId *string `locationName:"channelId" min:"1" type:"string" required:"true"`

	// The name of the Slack channel that you configure for the Amazon Web Services
	// Support App.
	ChannelName *string `locationName:"channelName" min:"1" type:"string"`

	// 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 (https://docs.aws.amazon.com/awssupport/latest/user/support-app-permissions.html)
	// in the Amazon Web Services Support User Guide.
	//
	// ChannelRoleArn is a required field
	ChannelRoleArn *string `locationName:"channelRoleArn" min:"31" type:"string" required:"true"`

	// Whether you want to get notified when a support case has a new correspondence.
	NotifyOnAddCorrespondenceToCase *bool `locationName:"notifyOnAddCorrespondenceToCase" type:"boolean"`

	// The case severity for a support case that you want to receive notifications.
	//
	// If you specify high or all, you must specify true for at least one of the
	// following parameters:
	//
	//    * notifyOnAddCorrespondenceToCase
	//
	//    * notifyOnCreateOrReopenCase
	//
	//    * notifyOnResolveCase
	//
	// If you specify none, the following parameters must be null or false:
	//
	//    * notifyOnAddCorrespondenceToCase
	//
	//    * notifyOnCreateOrReopenCase
	//
	//    * notifyOnResolveCase
	//
	// If you don't specify these parameters in your request, they default to false.
	//
	// NotifyOnCaseSeverity is a required field
	NotifyOnCaseSeverity *string `locationName:"notifyOnCaseSeverity" type:"string" required:"true" enum:"NotificationSeverityLevel"`

	// Whether you want to get notified when a support case is created or reopened.
	NotifyOnCreateOrReopenCase *bool `locationName:"notifyOnCreateOrReopenCase" type:"boolean"`

	// Whether you want to get notified when a support case is resolved.
	NotifyOnResolveCase *bool `locationName:"notifyOnResolveCase" type:"boolean"`

	// The team ID in Slack. This ID uniquely identifies a Slack workspace, such
	// as T012ABCDEFG.
	//
	// TeamId is a required field
	TeamId *string `locationName:"teamId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateSlackChannelConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSlackChannelConfigurationInput) SetChannelId

SetChannelId sets the ChannelId field's value.

func (*CreateSlackChannelConfigurationInput) SetChannelName

SetChannelName sets the ChannelName field's value.

func (*CreateSlackChannelConfigurationInput) SetChannelRoleArn

SetChannelRoleArn sets the ChannelRoleArn field's value.

func (*CreateSlackChannelConfigurationInput) SetNotifyOnAddCorrespondenceToCase

func (s *CreateSlackChannelConfigurationInput) SetNotifyOnAddCorrespondenceToCase(v bool) *CreateSlackChannelConfigurationInput

SetNotifyOnAddCorrespondenceToCase sets the NotifyOnAddCorrespondenceToCase field's value.

func (*CreateSlackChannelConfigurationInput) SetNotifyOnCaseSeverity

SetNotifyOnCaseSeverity sets the NotifyOnCaseSeverity field's value.

func (*CreateSlackChannelConfigurationInput) SetNotifyOnCreateOrReopenCase

SetNotifyOnCreateOrReopenCase sets the NotifyOnCreateOrReopenCase field's value.

func (*CreateSlackChannelConfigurationInput) SetNotifyOnResolveCase

SetNotifyOnResolveCase sets the NotifyOnResolveCase field's value.

func (*CreateSlackChannelConfigurationInput) SetTeamId

SetTeamId sets the TeamId field's value.

func (CreateSlackChannelConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*CreateSlackChannelConfigurationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type CreateSlackChannelConfigurationOutput

type CreateSlackChannelConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (CreateSlackChannelConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (CreateSlackChannelConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAccountAliasInput

type DeleteAccountAliasInput struct {
	// contains filtered or unexported fields
}

func (DeleteAccountAliasInput) GoString

func (s DeleteAccountAliasInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteAccountAliasInput) String

func (s DeleteAccountAliasInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteAccountAliasOutput

type DeleteAccountAliasOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAccountAliasOutput) GoString

func (s DeleteAccountAliasOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteAccountAliasOutput) String

func (s DeleteAccountAliasOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteSlackChannelConfigurationInput

type DeleteSlackChannelConfigurationInput struct {

	// The channel ID in Slack. This ID identifies a channel within a Slack workspace.
	//
	// ChannelId is a required field
	ChannelId *string `locationName:"channelId" min:"1" type:"string" required:"true"`

	// The team ID in Slack. This ID uniquely identifies a Slack workspace, such
	// as T012ABCDEFG.
	//
	// TeamId is a required field
	TeamId *string `locationName:"teamId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSlackChannelConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSlackChannelConfigurationInput) SetChannelId

SetChannelId sets the ChannelId field's value.

func (*DeleteSlackChannelConfigurationInput) SetTeamId

SetTeamId sets the TeamId field's value.

func (DeleteSlackChannelConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSlackChannelConfigurationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DeleteSlackChannelConfigurationOutput

type DeleteSlackChannelConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (DeleteSlackChannelConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteSlackChannelConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type DeleteSlackWorkspaceConfigurationInput

type DeleteSlackWorkspaceConfigurationInput struct {

	// The team ID in Slack. This ID uniquely identifies a Slack workspace, such
	// as T012ABCDEFG.
	//
	// TeamId is a required field
	TeamId *string `locationName:"teamId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteSlackWorkspaceConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSlackWorkspaceConfigurationInput) SetTeamId

SetTeamId sets the TeamId field's value.

func (DeleteSlackWorkspaceConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*DeleteSlackWorkspaceConfigurationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DeleteSlackWorkspaceConfigurationOutput

type DeleteSlackWorkspaceConfigurationOutput struct {
	// contains filtered or unexported fields
}

func (DeleteSlackWorkspaceConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (DeleteSlackWorkspaceConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccountAliasInput

type GetAccountAliasInput struct {
	// contains filtered or unexported fields
}

func (GetAccountAliasInput) GoString

func (s GetAccountAliasInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (GetAccountAliasInput) String

func (s GetAccountAliasInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type GetAccountAliasOutput

type GetAccountAliasOutput struct {

	// An alias or short name for an Amazon Web Services account.
	AccountAlias *string `locationName:"accountAlias" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (GetAccountAliasOutput) GoString

func (s GetAccountAliasOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*GetAccountAliasOutput) SetAccountAlias

func (s *GetAccountAliasOutput) SetAccountAlias(v string) *GetAccountAliasOutput

SetAccountAlias sets the AccountAlias field's value.

func (GetAccountAliasOutput) String

func (s GetAccountAliasOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type InternalServerException

type InternalServerException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

We can’t process your request right now because of a server issue. Try again later.

func (*InternalServerException) Code

func (s *InternalServerException) Code() string

Code returns the exception type name.

func (*InternalServerException) Error

func (s *InternalServerException) Error() string

func (InternalServerException) GoString

func (s InternalServerException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*InternalServerException) Message

func (s *InternalServerException) Message() string

Message returns the exception's message.

func (*InternalServerException) OrigErr

func (s *InternalServerException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*InternalServerException) RequestID

func (s *InternalServerException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*InternalServerException) StatusCode

func (s *InternalServerException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (InternalServerException) String

func (s InternalServerException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListSlackChannelConfigurationsInput

type ListSlackChannelConfigurationsInput struct {

	// If the results of a search are large, the API only returns a portion of the
	// results and includes a nextToken pagination token in the response. To retrieve
	// the next batch of results, reissue the search request and include the returned
	// token. When the API returns the last set of results, the response doesn't
	// include a pagination token value.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListSlackChannelConfigurationsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSlackChannelConfigurationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListSlackChannelConfigurationsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSlackChannelConfigurationsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListSlackChannelConfigurationsOutput

type ListSlackChannelConfigurationsOutput struct {

	// The point where pagination should resume when the response returns only partial
	// results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The configurations for a Slack channel.
	//
	// SlackChannelConfigurations is a required field
	SlackChannelConfigurations []*SlackChannelConfiguration `locationName:"slackChannelConfigurations" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (ListSlackChannelConfigurationsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSlackChannelConfigurationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListSlackChannelConfigurationsOutput) SetSlackChannelConfigurations

SetSlackChannelConfigurations sets the SlackChannelConfigurations field's value.

func (ListSlackChannelConfigurationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ListSlackWorkspaceConfigurationsInput

type ListSlackWorkspaceConfigurationsInput struct {

	// If the results of a search are large, the API only returns a portion of the
	// results and includes a nextToken pagination token in the response. To retrieve
	// the next batch of results, reissue the search request and include the returned
	// token. When the API returns the last set of results, the response doesn't
	// include a pagination token value.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (ListSlackWorkspaceConfigurationsInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSlackWorkspaceConfigurationsInput) SetNextToken

SetNextToken sets the NextToken field's value.

func (ListSlackWorkspaceConfigurationsInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSlackWorkspaceConfigurationsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type ListSlackWorkspaceConfigurationsOutput

type ListSlackWorkspaceConfigurationsOutput struct {

	// The point where pagination should resume when the response returns only partial
	// results.
	NextToken *string `locationName:"nextToken" min:"1" type:"string"`

	// The configurations for a Slack workspace.
	SlackWorkspaceConfigurations []*SlackWorkspaceConfiguration `locationName:"slackWorkspaceConfigurations" type:"list"`
	// contains filtered or unexported fields
}

func (ListSlackWorkspaceConfigurationsOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ListSlackWorkspaceConfigurationsOutput) SetNextToken

SetNextToken sets the NextToken field's value.

func (*ListSlackWorkspaceConfigurationsOutput) SetSlackWorkspaceConfigurations

SetSlackWorkspaceConfigurations sets the SlackWorkspaceConfigurations field's value.

func (ListSlackWorkspaceConfigurationsOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type PutAccountAliasInput

type PutAccountAliasInput struct {

	// An alias or short name for an Amazon Web Services account.
	//
	// AccountAlias is a required field
	AccountAlias *string `locationName:"accountAlias" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (PutAccountAliasInput) GoString

func (s PutAccountAliasInput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccountAliasInput) SetAccountAlias

func (s *PutAccountAliasInput) SetAccountAlias(v string) *PutAccountAliasInput

SetAccountAlias sets the AccountAlias field's value.

func (PutAccountAliasInput) String

func (s PutAccountAliasInput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*PutAccountAliasInput) Validate

func (s *PutAccountAliasInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutAccountAliasOutput

type PutAccountAliasOutput struct {
	// contains filtered or unexported fields
}

func (PutAccountAliasOutput) GoString

func (s PutAccountAliasOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (PutAccountAliasOutput) String

func (s PutAccountAliasOutput) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type RegisterSlackWorkspaceForOrganizationInput

type RegisterSlackWorkspaceForOrganizationInput struct {

	// The team ID in Slack. This ID uniquely identifies a Slack workspace, such
	// as T012ABCDEFG. Specify the Slack workspace that you want to use for your
	// organization.
	//
	// TeamId is a required field
	TeamId *string `locationName:"teamId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RegisterSlackWorkspaceForOrganizationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisterSlackWorkspaceForOrganizationInput) SetTeamId

SetTeamId sets the TeamId field's value.

func (RegisterSlackWorkspaceForOrganizationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisterSlackWorkspaceForOrganizationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type RegisterSlackWorkspaceForOrganizationOutput

type RegisterSlackWorkspaceForOrganizationOutput struct {

	// Whether the Amazon Web Services account is a management or member account
	// that's part of an organization in Organizations.
	AccountType *string `locationName:"accountType" type:"string" enum:"AccountType"`

	// The team ID in Slack. This ID uniquely identifies a Slack workspace, such
	// as T012ABCDEFG.
	TeamId *string `locationName:"teamId" min:"1" type:"string"`

	// The name of the Slack workspace.
	TeamName *string `locationName:"teamName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (RegisterSlackWorkspaceForOrganizationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*RegisterSlackWorkspaceForOrganizationOutput) SetAccountType

SetAccountType sets the AccountType field's value.

func (*RegisterSlackWorkspaceForOrganizationOutput) SetTeamId

SetTeamId sets the TeamId field's value.

func (*RegisterSlackWorkspaceForOrganizationOutput) SetTeamName

SetTeamName sets the TeamName field's value.

func (RegisterSlackWorkspaceForOrganizationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ResourceNotFoundException

type ResourceNotFoundException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

The specified resource is missing or doesn't exist, such as an account alias, Slack channel configuration, or Slack workspace configuration.

func (*ResourceNotFoundException) Code

Code returns the exception type name.

func (*ResourceNotFoundException) Error

func (s *ResourceNotFoundException) Error() string

func (ResourceNotFoundException) GoString

func (s ResourceNotFoundException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ResourceNotFoundException) Message

func (s *ResourceNotFoundException) Message() string

Message returns the exception's message.

func (*ResourceNotFoundException) OrigErr

func (s *ResourceNotFoundException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ResourceNotFoundException) RequestID

func (s *ResourceNotFoundException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ResourceNotFoundException) StatusCode

func (s *ResourceNotFoundException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ResourceNotFoundException) String

func (s ResourceNotFoundException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ServiceQuotaExceededException

type ServiceQuotaExceededException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Your Service Quotas request exceeds the quota for the service. For example, your Service Quotas request to Amazon Web Services Support App might exceed the maximum number of workspaces or channels per account, or the maximum number of accounts per Slack channel.

func (*ServiceQuotaExceededException) Code

Code returns the exception type name.

func (*ServiceQuotaExceededException) Error

func (ServiceQuotaExceededException) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ServiceQuotaExceededException) Message

Message returns the exception's message.

func (*ServiceQuotaExceededException) OrigErr

func (s *ServiceQuotaExceededException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ServiceQuotaExceededException) RequestID

func (s *ServiceQuotaExceededException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ServiceQuotaExceededException) StatusCode

func (s *ServiceQuotaExceededException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ServiceQuotaExceededException) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SlackChannelConfiguration

type SlackChannelConfiguration struct {

	// The channel ID in Slack. This ID identifies a channel within a Slack workspace.
	//
	// ChannelId is a required field
	ChannelId *string `locationName:"channelId" min:"1" type:"string" required:"true"`

	// The name of the Slack channel that you configured with the Amazon Web Services
	// Support App for your Amazon Web Services account.
	ChannelName *string `locationName:"channelName" min:"1" type:"string"`

	// 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 (https://docs.aws.amazon.com/awssupport/latest/user/support-app-permissions.html)
	// in the Amazon Web Services Support User Guide.
	ChannelRoleArn *string `locationName:"channelRoleArn" min:"31" type:"string"`

	// Whether you want to get notified when a support case has a new correspondence.
	NotifyOnAddCorrespondenceToCase *bool `locationName:"notifyOnAddCorrespondenceToCase" type:"boolean"`

	// The case severity for a support case that you want to receive notifications.
	NotifyOnCaseSeverity *string `locationName:"notifyOnCaseSeverity" type:"string" enum:"NotificationSeverityLevel"`

	// Whether you want to get notified when a support case is created or reopened.
	NotifyOnCreateOrReopenCase *bool `locationName:"notifyOnCreateOrReopenCase" type:"boolean"`

	// Whether you want to get notified when a support case is resolved.
	NotifyOnResolveCase *bool `locationName:"notifyOnResolveCase" type:"boolean"`

	// The team ID in Slack. This ID uniquely identifies a Slack workspace, such
	// as T012ABCDEFG.
	//
	// TeamId is a required field
	TeamId *string `locationName:"teamId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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

func (SlackChannelConfiguration) GoString

func (s SlackChannelConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SlackChannelConfiguration) SetChannelId

SetChannelId sets the ChannelId field's value.

func (*SlackChannelConfiguration) SetChannelName

SetChannelName sets the ChannelName field's value.

func (*SlackChannelConfiguration) SetChannelRoleArn

SetChannelRoleArn sets the ChannelRoleArn field's value.

func (*SlackChannelConfiguration) SetNotifyOnAddCorrespondenceToCase

func (s *SlackChannelConfiguration) SetNotifyOnAddCorrespondenceToCase(v bool) *SlackChannelConfiguration

SetNotifyOnAddCorrespondenceToCase sets the NotifyOnAddCorrespondenceToCase field's value.

func (*SlackChannelConfiguration) SetNotifyOnCaseSeverity

func (s *SlackChannelConfiguration) SetNotifyOnCaseSeverity(v string) *SlackChannelConfiguration

SetNotifyOnCaseSeverity sets the NotifyOnCaseSeverity field's value.

func (*SlackChannelConfiguration) SetNotifyOnCreateOrReopenCase

func (s *SlackChannelConfiguration) SetNotifyOnCreateOrReopenCase(v bool) *SlackChannelConfiguration

SetNotifyOnCreateOrReopenCase sets the NotifyOnCreateOrReopenCase field's value.

func (*SlackChannelConfiguration) SetNotifyOnResolveCase

func (s *SlackChannelConfiguration) SetNotifyOnResolveCase(v bool) *SlackChannelConfiguration

SetNotifyOnResolveCase sets the NotifyOnResolveCase field's value.

func (*SlackChannelConfiguration) SetTeamId

SetTeamId sets the TeamId field's value.

func (SlackChannelConfiguration) String

func (s SlackChannelConfiguration) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SlackWorkspaceConfiguration

type SlackWorkspaceConfiguration struct {

	// Whether to allow member accounts to authorize Slack workspaces. Member accounts
	// must be part of an organization in Organizations.
	AllowOrganizationMemberAccount *bool `locationName:"allowOrganizationMemberAccount" type:"boolean"`

	// The team ID in Slack. This ID uniquely identifies a Slack workspace, such
	// as T012ABCDEFG.
	//
	// TeamId is a required field
	TeamId *string `locationName:"teamId" min:"1" type:"string" required:"true"`

	// The name of the Slack workspace.
	TeamName *string `locationName:"teamName" min:"1" type:"string"`
	// contains filtered or unexported fields
}

The configuration for a Slack workspace that you added to an Amazon Web Services account.

func (SlackWorkspaceConfiguration) GoString

func (s SlackWorkspaceConfiguration) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*SlackWorkspaceConfiguration) SetAllowOrganizationMemberAccount

func (s *SlackWorkspaceConfiguration) SetAllowOrganizationMemberAccount(v bool) *SlackWorkspaceConfiguration

SetAllowOrganizationMemberAccount sets the AllowOrganizationMemberAccount field's value.

func (*SlackWorkspaceConfiguration) SetTeamId

SetTeamId sets the TeamId field's value.

func (*SlackWorkspaceConfiguration) SetTeamName

SetTeamName sets the TeamName field's value.

func (SlackWorkspaceConfiguration) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type SupportApp

type SupportApp struct {
	*client.Client
}

SupportApp provides the API operation methods for making requests to AWS Support App. See this package's package overview docs for details on the service.

SupportApp methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *SupportApp

New creates a new instance of the SupportApp client with a session. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.

Example:

mySession := session.Must(session.NewSession())

// Create a SupportApp client from just a session.
svc := supportapp.New(mySession)

// Create a SupportApp client with additional configuration
svc := supportapp.New(mySession, aws.NewConfig().WithRegion("us-west-2"))

func (*SupportApp) CreateSlackChannelConfiguration

func (c *SupportApp) CreateSlackChannelConfiguration(input *CreateSlackChannelConfigurationInput) (*CreateSlackChannelConfigurationOutput, error)

CreateSlackChannelConfiguration API operation for AWS Support App.

Creates a Slack channel configuration for your Amazon Web Services account.

  • You can add up to 5 Slack workspaces for your account.

  • You can add up to 20 Slack channels for your account.

A Slack channel can have up to 100 Amazon Web Services accounts. This means that only 100 accounts can add the same Slack channel to the Amazon Web Services Support App. We recommend that you only add the accounts that you need to manage support cases for your organization. This can reduce the notifications about case updates that you receive in the Slack channel.

We recommend that you choose a private Slack channel so that only members in that channel have read and write access to your support cases. Anyone in your Slack channel can create, update, or resolve support cases for your account. Users require an invitation to join private channels.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Support App's API operation CreateSlackChannelConfiguration for usage and error information.

Returned Error Types:

  • ServiceQuotaExceededException Your Service Quotas request exceeds the quota for the service. For example, your Service Quotas request to Amazon Web Services Support App might exceed the maximum number of workspaces or channels per account, or the maximum number of accounts per Slack channel.

  • ConflictException Your request has a conflict. For example, you might receive this error if you try the following:

  • Add, update, or delete a Slack channel configuration before you add a Slack workspace to your Amazon Web Services account.

  • Add a Slack channel configuration that already exists in your Amazon Web Services account.

  • Delete a Slack channel configuration for a live chat channel.

  • Delete a Slack workspace from your Amazon Web Services account that has an active live chat channel.

  • Call the RegisterSlackWorkspaceForOrganization API from an Amazon Web Services account that doesn't belong to an organization.

  • Call the RegisterSlackWorkspaceForOrganization API from a member account, but the management account hasn't registered that workspace yet for the organization.

  • AccessDeniedException You don't have sufficient permission to perform this action.

  • InternalServerException We can’t process your request right now because of a server issue. Try again later.

  • ValidationException Your request input doesn't meet the constraints that the Amazon Web Services Support App specifies.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/CreateSlackChannelConfiguration

func (*SupportApp) CreateSlackChannelConfigurationRequest

func (c *SupportApp) CreateSlackChannelConfigurationRequest(input *CreateSlackChannelConfigurationInput) (req *request.Request, output *CreateSlackChannelConfigurationOutput)

CreateSlackChannelConfigurationRequest generates a "aws/request.Request" representing the client's request for the CreateSlackChannelConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See CreateSlackChannelConfiguration for more information on using the CreateSlackChannelConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the CreateSlackChannelConfigurationRequest method.
req, resp := client.CreateSlackChannelConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/CreateSlackChannelConfiguration

func (*SupportApp) CreateSlackChannelConfigurationWithContext

func (c *SupportApp) CreateSlackChannelConfigurationWithContext(ctx aws.Context, input *CreateSlackChannelConfigurationInput, opts ...request.Option) (*CreateSlackChannelConfigurationOutput, error)

CreateSlackChannelConfigurationWithContext is the same as CreateSlackChannelConfiguration with the addition of the ability to pass a context and additional request options.

See CreateSlackChannelConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SupportApp) DeleteAccountAlias

func (c *SupportApp) DeleteAccountAlias(input *DeleteAccountAliasInput) (*DeleteAccountAliasOutput, error)

DeleteAccountAlias API operation for AWS Support App.

Deletes an alias for an Amazon Web Services account ID. The alias appears in the Amazon Web Services Support App page of the Amazon Web Services Support Center. The alias also appears in Slack messages from the Amazon Web Services Support App.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Support App's API operation DeleteAccountAlias for usage and error information.

Returned Error Types:

  • ResourceNotFoundException The specified resource is missing or doesn't exist, such as an account alias, Slack channel configuration, or Slack workspace configuration.

  • AccessDeniedException You don't have sufficient permission to perform this action.

  • InternalServerException We can’t process your request right now because of a server issue. Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/DeleteAccountAlias

func (*SupportApp) DeleteAccountAliasRequest

func (c *SupportApp) DeleteAccountAliasRequest(input *DeleteAccountAliasInput) (req *request.Request, output *DeleteAccountAliasOutput)

DeleteAccountAliasRequest generates a "aws/request.Request" representing the client's request for the DeleteAccountAlias operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteAccountAlias for more information on using the DeleteAccountAlias API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteAccountAliasRequest method.
req, resp := client.DeleteAccountAliasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/DeleteAccountAlias

func (*SupportApp) DeleteAccountAliasWithContext

func (c *SupportApp) DeleteAccountAliasWithContext(ctx aws.Context, input *DeleteAccountAliasInput, opts ...request.Option) (*DeleteAccountAliasOutput, error)

DeleteAccountAliasWithContext is the same as DeleteAccountAlias with the addition of the ability to pass a context and additional request options.

See DeleteAccountAlias for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SupportApp) DeleteSlackChannelConfiguration

func (c *SupportApp) DeleteSlackChannelConfiguration(input *DeleteSlackChannelConfigurationInput) (*DeleteSlackChannelConfigurationOutput, error)

DeleteSlackChannelConfiguration API operation for AWS Support App.

Deletes a Slack channel configuration from your Amazon Web Services account. This operation doesn't delete your Slack channel.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Support App's API operation DeleteSlackChannelConfiguration for usage and error information.

Returned Error Types:

  • ConflictException Your request has a conflict. For example, you might receive this error if you try the following:

  • Add, update, or delete a Slack channel configuration before you add a Slack workspace to your Amazon Web Services account.

  • Add a Slack channel configuration that already exists in your Amazon Web Services account.

  • Delete a Slack channel configuration for a live chat channel.

  • Delete a Slack workspace from your Amazon Web Services account that has an active live chat channel.

  • Call the RegisterSlackWorkspaceForOrganization API from an Amazon Web Services account that doesn't belong to an organization.

  • Call the RegisterSlackWorkspaceForOrganization API from a member account, but the management account hasn't registered that workspace yet for the organization.

  • ResourceNotFoundException The specified resource is missing or doesn't exist, such as an account alias, Slack channel configuration, or Slack workspace configuration.

  • AccessDeniedException You don't have sufficient permission to perform this action.

  • InternalServerException We can’t process your request right now because of a server issue. Try again later.

  • ValidationException Your request input doesn't meet the constraints that the Amazon Web Services Support App specifies.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/DeleteSlackChannelConfiguration

func (*SupportApp) DeleteSlackChannelConfigurationRequest

func (c *SupportApp) DeleteSlackChannelConfigurationRequest(input *DeleteSlackChannelConfigurationInput) (req *request.Request, output *DeleteSlackChannelConfigurationOutput)

DeleteSlackChannelConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteSlackChannelConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSlackChannelConfiguration for more information on using the DeleteSlackChannelConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSlackChannelConfigurationRequest method.
req, resp := client.DeleteSlackChannelConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/DeleteSlackChannelConfiguration

func (*SupportApp) DeleteSlackChannelConfigurationWithContext

func (c *SupportApp) DeleteSlackChannelConfigurationWithContext(ctx aws.Context, input *DeleteSlackChannelConfigurationInput, opts ...request.Option) (*DeleteSlackChannelConfigurationOutput, error)

DeleteSlackChannelConfigurationWithContext is the same as DeleteSlackChannelConfiguration with the addition of the ability to pass a context and additional request options.

See DeleteSlackChannelConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SupportApp) DeleteSlackWorkspaceConfiguration

DeleteSlackWorkspaceConfiguration API operation for AWS Support App.

Deletes a Slack workspace configuration from your Amazon Web Services account. This operation doesn't delete your Slack workspace.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Support App's API operation DeleteSlackWorkspaceConfiguration for usage and error information.

Returned Error Types:

  • ConflictException Your request has a conflict. For example, you might receive this error if you try the following:

  • Add, update, or delete a Slack channel configuration before you add a Slack workspace to your Amazon Web Services account.

  • Add a Slack channel configuration that already exists in your Amazon Web Services account.

  • Delete a Slack channel configuration for a live chat channel.

  • Delete a Slack workspace from your Amazon Web Services account that has an active live chat channel.

  • Call the RegisterSlackWorkspaceForOrganization API from an Amazon Web Services account that doesn't belong to an organization.

  • Call the RegisterSlackWorkspaceForOrganization API from a member account, but the management account hasn't registered that workspace yet for the organization.

  • ResourceNotFoundException The specified resource is missing or doesn't exist, such as an account alias, Slack channel configuration, or Slack workspace configuration.

  • AccessDeniedException You don't have sufficient permission to perform this action.

  • InternalServerException We can’t process your request right now because of a server issue. Try again later.

  • ValidationException Your request input doesn't meet the constraints that the Amazon Web Services Support App specifies.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/DeleteSlackWorkspaceConfiguration

func (*SupportApp) DeleteSlackWorkspaceConfigurationRequest

func (c *SupportApp) DeleteSlackWorkspaceConfigurationRequest(input *DeleteSlackWorkspaceConfigurationInput) (req *request.Request, output *DeleteSlackWorkspaceConfigurationOutput)

DeleteSlackWorkspaceConfigurationRequest generates a "aws/request.Request" representing the client's request for the DeleteSlackWorkspaceConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See DeleteSlackWorkspaceConfiguration for more information on using the DeleteSlackWorkspaceConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the DeleteSlackWorkspaceConfigurationRequest method.
req, resp := client.DeleteSlackWorkspaceConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/DeleteSlackWorkspaceConfiguration

func (*SupportApp) DeleteSlackWorkspaceConfigurationWithContext

func (c *SupportApp) DeleteSlackWorkspaceConfigurationWithContext(ctx aws.Context, input *DeleteSlackWorkspaceConfigurationInput, opts ...request.Option) (*DeleteSlackWorkspaceConfigurationOutput, error)

DeleteSlackWorkspaceConfigurationWithContext is the same as DeleteSlackWorkspaceConfiguration with the addition of the ability to pass a context and additional request options.

See DeleteSlackWorkspaceConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SupportApp) GetAccountAlias

func (c *SupportApp) GetAccountAlias(input *GetAccountAliasInput) (*GetAccountAliasOutput, error)

GetAccountAlias API operation for AWS Support App.

Retrieves the alias from an Amazon Web Services account ID. The alias appears in the Amazon Web Services Support App page of the Amazon Web Services Support Center. The alias also appears in Slack messages from the Amazon Web Services Support App.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Support App's API operation GetAccountAlias for usage and error information.

Returned Error Types:

  • InternalServerException We can’t process your request right now because of a server issue. Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/GetAccountAlias

func (*SupportApp) GetAccountAliasRequest

func (c *SupportApp) GetAccountAliasRequest(input *GetAccountAliasInput) (req *request.Request, output *GetAccountAliasOutput)

GetAccountAliasRequest generates a "aws/request.Request" representing the client's request for the GetAccountAlias operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See GetAccountAlias for more information on using the GetAccountAlias API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the GetAccountAliasRequest method.
req, resp := client.GetAccountAliasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/GetAccountAlias

func (*SupportApp) GetAccountAliasWithContext

func (c *SupportApp) GetAccountAliasWithContext(ctx aws.Context, input *GetAccountAliasInput, opts ...request.Option) (*GetAccountAliasOutput, error)

GetAccountAliasWithContext is the same as GetAccountAlias with the addition of the ability to pass a context and additional request options.

See GetAccountAlias for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SupportApp) ListSlackChannelConfigurations

func (c *SupportApp) ListSlackChannelConfigurations(input *ListSlackChannelConfigurationsInput) (*ListSlackChannelConfigurationsOutput, error)

ListSlackChannelConfigurations API operation for AWS Support App.

Lists the Slack channel configurations for an Amazon Web Services account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Support App's API operation ListSlackChannelConfigurations for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have sufficient permission to perform this action.

  • InternalServerException We can’t process your request right now because of a server issue. Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/ListSlackChannelConfigurations

func (*SupportApp) ListSlackChannelConfigurationsPages

func (c *SupportApp) ListSlackChannelConfigurationsPages(input *ListSlackChannelConfigurationsInput, fn func(*ListSlackChannelConfigurationsOutput, bool) bool) error

ListSlackChannelConfigurationsPages iterates over the pages of a ListSlackChannelConfigurations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSlackChannelConfigurations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListSlackChannelConfigurations operation.
pageNum := 0
err := client.ListSlackChannelConfigurationsPages(params,
    func(page *supportapp.ListSlackChannelConfigurationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SupportApp) ListSlackChannelConfigurationsPagesWithContext

func (c *SupportApp) ListSlackChannelConfigurationsPagesWithContext(ctx aws.Context, input *ListSlackChannelConfigurationsInput, fn func(*ListSlackChannelConfigurationsOutput, bool) bool, opts ...request.Option) error

ListSlackChannelConfigurationsPagesWithContext same as ListSlackChannelConfigurationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SupportApp) ListSlackChannelConfigurationsRequest

func (c *SupportApp) ListSlackChannelConfigurationsRequest(input *ListSlackChannelConfigurationsInput) (req *request.Request, output *ListSlackChannelConfigurationsOutput)

ListSlackChannelConfigurationsRequest generates a "aws/request.Request" representing the client's request for the ListSlackChannelConfigurations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListSlackChannelConfigurations for more information on using the ListSlackChannelConfigurations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListSlackChannelConfigurationsRequest method.
req, resp := client.ListSlackChannelConfigurationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/ListSlackChannelConfigurations

func (*SupportApp) ListSlackChannelConfigurationsWithContext

func (c *SupportApp) ListSlackChannelConfigurationsWithContext(ctx aws.Context, input *ListSlackChannelConfigurationsInput, opts ...request.Option) (*ListSlackChannelConfigurationsOutput, error)

ListSlackChannelConfigurationsWithContext is the same as ListSlackChannelConfigurations with the addition of the ability to pass a context and additional request options.

See ListSlackChannelConfigurations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SupportApp) ListSlackWorkspaceConfigurations

func (c *SupportApp) ListSlackWorkspaceConfigurations(input *ListSlackWorkspaceConfigurationsInput) (*ListSlackWorkspaceConfigurationsOutput, error)

ListSlackWorkspaceConfigurations API operation for AWS Support App.

Lists the Slack workspace configurations for an Amazon Web Services account.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Support App's API operation ListSlackWorkspaceConfigurations for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have sufficient permission to perform this action.

  • InternalServerException We can’t process your request right now because of a server issue. Try again later.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/ListSlackWorkspaceConfigurations

func (*SupportApp) ListSlackWorkspaceConfigurationsPages

func (c *SupportApp) ListSlackWorkspaceConfigurationsPages(input *ListSlackWorkspaceConfigurationsInput, fn func(*ListSlackWorkspaceConfigurationsOutput, bool) bool) error

ListSlackWorkspaceConfigurationsPages iterates over the pages of a ListSlackWorkspaceConfigurations operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.

See ListSlackWorkspaceConfigurations method for more information on how to use this operation.

Note: This operation can generate multiple requests to a service.

// Example iterating over at most 3 pages of a ListSlackWorkspaceConfigurations operation.
pageNum := 0
err := client.ListSlackWorkspaceConfigurationsPages(params,
    func(page *supportapp.ListSlackWorkspaceConfigurationsOutput, lastPage bool) bool {
        pageNum++
        fmt.Println(page)
        return pageNum <= 3
    })

func (*SupportApp) ListSlackWorkspaceConfigurationsPagesWithContext

func (c *SupportApp) ListSlackWorkspaceConfigurationsPagesWithContext(ctx aws.Context, input *ListSlackWorkspaceConfigurationsInput, fn func(*ListSlackWorkspaceConfigurationsOutput, bool) bool, opts ...request.Option) error

ListSlackWorkspaceConfigurationsPagesWithContext same as ListSlackWorkspaceConfigurationsPages except it takes a Context and allows setting request options on the pages.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SupportApp) ListSlackWorkspaceConfigurationsRequest

func (c *SupportApp) ListSlackWorkspaceConfigurationsRequest(input *ListSlackWorkspaceConfigurationsInput) (req *request.Request, output *ListSlackWorkspaceConfigurationsOutput)

ListSlackWorkspaceConfigurationsRequest generates a "aws/request.Request" representing the client's request for the ListSlackWorkspaceConfigurations operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See ListSlackWorkspaceConfigurations for more information on using the ListSlackWorkspaceConfigurations API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the ListSlackWorkspaceConfigurationsRequest method.
req, resp := client.ListSlackWorkspaceConfigurationsRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/ListSlackWorkspaceConfigurations

func (*SupportApp) ListSlackWorkspaceConfigurationsWithContext

func (c *SupportApp) ListSlackWorkspaceConfigurationsWithContext(ctx aws.Context, input *ListSlackWorkspaceConfigurationsInput, opts ...request.Option) (*ListSlackWorkspaceConfigurationsOutput, error)

ListSlackWorkspaceConfigurationsWithContext is the same as ListSlackWorkspaceConfigurations with the addition of the ability to pass a context and additional request options.

See ListSlackWorkspaceConfigurations for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SupportApp) PutAccountAlias

func (c *SupportApp) PutAccountAlias(input *PutAccountAliasInput) (*PutAccountAliasOutput, error)

PutAccountAlias API operation for AWS Support App.

Creates or updates an individual alias for each Amazon Web Services account ID. The alias appears in the Amazon Web Services Support App page of the Amazon Web Services Support Center. The alias also appears in Slack messages from the Amazon Web Services Support App.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Support App's API operation PutAccountAlias for usage and error information.

Returned Error Types:

  • AccessDeniedException You don't have sufficient permission to perform this action.

  • InternalServerException We can’t process your request right now because of a server issue. Try again later.

  • ValidationException Your request input doesn't meet the constraints that the Amazon Web Services Support App specifies.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/PutAccountAlias

func (*SupportApp) PutAccountAliasRequest

func (c *SupportApp) PutAccountAliasRequest(input *PutAccountAliasInput) (req *request.Request, output *PutAccountAliasOutput)

PutAccountAliasRequest generates a "aws/request.Request" representing the client's request for the PutAccountAlias operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See PutAccountAlias for more information on using the PutAccountAlias API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the PutAccountAliasRequest method.
req, resp := client.PutAccountAliasRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/PutAccountAlias

func (*SupportApp) PutAccountAliasWithContext

func (c *SupportApp) PutAccountAliasWithContext(ctx aws.Context, input *PutAccountAliasInput, opts ...request.Option) (*PutAccountAliasOutput, error)

PutAccountAliasWithContext is the same as PutAccountAlias with the addition of the ability to pass a context and additional request options.

See PutAccountAlias for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SupportApp) RegisterSlackWorkspaceForOrganization

RegisterSlackWorkspaceForOrganization API operation for AWS Support App.

Registers a Slack workspace for your Amazon Web Services account. To call this API, your account must be part of an organization in Organizations.

If you're the management account and you want to register Slack workspaces for your organization, you must complete the following tasks:

Sign in to the Amazon Web Services Support Center (https://console.aws.amazon.com/support/app) and authorize the Slack workspaces where you want your organization to have access to. See Authorize a Slack workspace (https://docs.aws.amazon.com/awssupport/latest/user/authorize-slack-workspace.html) in the Amazon Web Services Support User Guide.

Call the RegisterSlackWorkspaceForOrganization API to authorize each Slack workspace for the organization.

After the management account authorizes the Slack workspace, member accounts can call this API to authorize the same Slack workspace for their individual accounts. Member accounts don't need to authorize the Slack workspace manually through the Amazon Web Services Support Center (https://console.aws.amazon.com/support/app).

To use the Amazon Web Services Support App, each account must then complete the following tasks:

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Support App's API operation RegisterSlackWorkspaceForOrganization for usage and error information.

Returned Error Types:

  • ConflictException Your request has a conflict. For example, you might receive this error if you try the following:

  • Add, update, or delete a Slack channel configuration before you add a Slack workspace to your Amazon Web Services account.

  • Add a Slack channel configuration that already exists in your Amazon Web Services account.

  • Delete a Slack channel configuration for a live chat channel.

  • Delete a Slack workspace from your Amazon Web Services account that has an active live chat channel.

  • Call the RegisterSlackWorkspaceForOrganization API from an Amazon Web Services account that doesn't belong to an organization.

  • Call the RegisterSlackWorkspaceForOrganization API from a member account, but the management account hasn't registered that workspace yet for the organization.

  • ResourceNotFoundException The specified resource is missing or doesn't exist, such as an account alias, Slack channel configuration, or Slack workspace configuration.

  • AccessDeniedException You don't have sufficient permission to perform this action.

  • InternalServerException We can’t process your request right now because of a server issue. Try again later.

  • ValidationException Your request input doesn't meet the constraints that the Amazon Web Services Support App specifies.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/RegisterSlackWorkspaceForOrganization

func (*SupportApp) RegisterSlackWorkspaceForOrganizationRequest

func (c *SupportApp) RegisterSlackWorkspaceForOrganizationRequest(input *RegisterSlackWorkspaceForOrganizationInput) (req *request.Request, output *RegisterSlackWorkspaceForOrganizationOutput)

RegisterSlackWorkspaceForOrganizationRequest generates a "aws/request.Request" representing the client's request for the RegisterSlackWorkspaceForOrganization operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See RegisterSlackWorkspaceForOrganization for more information on using the RegisterSlackWorkspaceForOrganization API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the RegisterSlackWorkspaceForOrganizationRequest method.
req, resp := client.RegisterSlackWorkspaceForOrganizationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/RegisterSlackWorkspaceForOrganization

func (*SupportApp) RegisterSlackWorkspaceForOrganizationWithContext

func (c *SupportApp) RegisterSlackWorkspaceForOrganizationWithContext(ctx aws.Context, input *RegisterSlackWorkspaceForOrganizationInput, opts ...request.Option) (*RegisterSlackWorkspaceForOrganizationOutput, error)

RegisterSlackWorkspaceForOrganizationWithContext is the same as RegisterSlackWorkspaceForOrganization with the addition of the ability to pass a context and additional request options.

See RegisterSlackWorkspaceForOrganization for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*SupportApp) UpdateSlackChannelConfiguration

func (c *SupportApp) UpdateSlackChannelConfiguration(input *UpdateSlackChannelConfigurationInput) (*UpdateSlackChannelConfigurationOutput, error)

UpdateSlackChannelConfiguration API operation for AWS Support App.

Updates the configuration for a Slack channel, such as case update notifications.

Returns awserr.Error for service API and SDK errors. Use runtime type assertions with awserr.Error's Code and Message methods to get detailed information about the error.

See the AWS API reference guide for AWS Support App's API operation UpdateSlackChannelConfiguration for usage and error information.

Returned Error Types:

  • ConflictException Your request has a conflict. For example, you might receive this error if you try the following:

  • Add, update, or delete a Slack channel configuration before you add a Slack workspace to your Amazon Web Services account.

  • Add a Slack channel configuration that already exists in your Amazon Web Services account.

  • Delete a Slack channel configuration for a live chat channel.

  • Delete a Slack workspace from your Amazon Web Services account that has an active live chat channel.

  • Call the RegisterSlackWorkspaceForOrganization API from an Amazon Web Services account that doesn't belong to an organization.

  • Call the RegisterSlackWorkspaceForOrganization API from a member account, but the management account hasn't registered that workspace yet for the organization.

  • ResourceNotFoundException The specified resource is missing or doesn't exist, such as an account alias, Slack channel configuration, or Slack workspace configuration.

  • AccessDeniedException You don't have sufficient permission to perform this action.

  • InternalServerException We can’t process your request right now because of a server issue. Try again later.

  • ValidationException Your request input doesn't meet the constraints that the Amazon Web Services Support App specifies.

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/UpdateSlackChannelConfiguration

func (*SupportApp) UpdateSlackChannelConfigurationRequest

func (c *SupportApp) UpdateSlackChannelConfigurationRequest(input *UpdateSlackChannelConfigurationInput) (req *request.Request, output *UpdateSlackChannelConfigurationOutput)

UpdateSlackChannelConfigurationRequest generates a "aws/request.Request" representing the client's request for the UpdateSlackChannelConfiguration operation. The "output" return value will be populated with the request's response once the request completes successfully.

Use "Send" method on the returned Request to send the API call to the service. the "output" return value is not valid until after Send returns without error.

See UpdateSlackChannelConfiguration for more information on using the UpdateSlackChannelConfiguration API call, and error handling.

This method is useful when you want to inject custom logic or configuration into the SDK's request lifecycle. Such as custom headers, or retry logic.

// Example sending a request using the UpdateSlackChannelConfigurationRequest method.
req, resp := client.UpdateSlackChannelConfigurationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

See also, https://docs.aws.amazon.com/goto/WebAPI/support-app-2021-08-20/UpdateSlackChannelConfiguration

func (*SupportApp) UpdateSlackChannelConfigurationWithContext

func (c *SupportApp) UpdateSlackChannelConfigurationWithContext(ctx aws.Context, input *UpdateSlackChannelConfigurationInput, opts ...request.Option) (*UpdateSlackChannelConfigurationOutput, error)

UpdateSlackChannelConfigurationWithContext is the same as UpdateSlackChannelConfiguration with the addition of the ability to pass a context and additional request options.

See UpdateSlackChannelConfiguration for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type UpdateSlackChannelConfigurationInput

type UpdateSlackChannelConfigurationInput struct {

	// The channel ID in Slack. This ID identifies a channel within a Slack workspace.
	//
	// ChannelId is a required field
	ChannelId *string `locationName:"channelId" min:"1" type:"string" required:"true"`

	// The Slack channel name that you want to update.
	ChannelName *string `locationName:"channelName" min:"1" type:"string"`

	// 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 (https://docs.aws.amazon.com/awssupport/latest/user/support-app-permissions.html)
	// in the Amazon Web Services Support User Guide.
	ChannelRoleArn *string `locationName:"channelRoleArn" min:"31" type:"string"`

	// Whether you want to get notified when a support case has a new correspondence.
	NotifyOnAddCorrespondenceToCase *bool `locationName:"notifyOnAddCorrespondenceToCase" type:"boolean"`

	// The case severity for a support case that you want to receive notifications.
	//
	// If you specify high or all, at least one of the following parameters must
	// be true:
	//
	//    * notifyOnAddCorrespondenceToCase
	//
	//    * notifyOnCreateOrReopenCase
	//
	//    * notifyOnResolveCase
	//
	// If you specify none, any of the following parameters that you specify in
	// your request must be false:
	//
	//    * notifyOnAddCorrespondenceToCase
	//
	//    * notifyOnCreateOrReopenCase
	//
	//    * notifyOnResolveCase
	//
	// If you don't specify these parameters in your request, the Amazon Web Services
	// Support App uses the current values by default.
	NotifyOnCaseSeverity *string `locationName:"notifyOnCaseSeverity" type:"string" enum:"NotificationSeverityLevel"`

	// Whether you want to get notified when a support case is created or reopened.
	NotifyOnCreateOrReopenCase *bool `locationName:"notifyOnCreateOrReopenCase" type:"boolean"`

	// Whether you want to get notified when a support case is resolved.
	NotifyOnResolveCase *bool `locationName:"notifyOnResolveCase" type:"boolean"`

	// The team ID in Slack. This ID uniquely identifies a Slack workspace, such
	// as T012ABCDEFG.
	//
	// TeamId is a required field
	TeamId *string `locationName:"teamId" min:"1" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateSlackChannelConfigurationInput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateSlackChannelConfigurationInput) SetChannelId

SetChannelId sets the ChannelId field's value.

func (*UpdateSlackChannelConfigurationInput) SetChannelName

SetChannelName sets the ChannelName field's value.

func (*UpdateSlackChannelConfigurationInput) SetChannelRoleArn

SetChannelRoleArn sets the ChannelRoleArn field's value.

func (*UpdateSlackChannelConfigurationInput) SetNotifyOnAddCorrespondenceToCase

func (s *UpdateSlackChannelConfigurationInput) SetNotifyOnAddCorrespondenceToCase(v bool) *UpdateSlackChannelConfigurationInput

SetNotifyOnAddCorrespondenceToCase sets the NotifyOnAddCorrespondenceToCase field's value.

func (*UpdateSlackChannelConfigurationInput) SetNotifyOnCaseSeverity

SetNotifyOnCaseSeverity sets the NotifyOnCaseSeverity field's value.

func (*UpdateSlackChannelConfigurationInput) SetNotifyOnCreateOrReopenCase

SetNotifyOnCreateOrReopenCase sets the NotifyOnCreateOrReopenCase field's value.

func (*UpdateSlackChannelConfigurationInput) SetNotifyOnResolveCase

SetNotifyOnResolveCase sets the NotifyOnResolveCase field's value.

func (*UpdateSlackChannelConfigurationInput) SetTeamId

SetTeamId sets the TeamId field's value.

func (UpdateSlackChannelConfigurationInput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateSlackChannelConfigurationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateSlackChannelConfigurationOutput

type UpdateSlackChannelConfigurationOutput struct {

	// The channel ID in Slack. This ID identifies a channel within a Slack workspace.
	ChannelId *string `locationName:"channelId" min:"1" type:"string"`

	// The name of the Slack channel that you configure for the Amazon Web Services
	// Support App.
	ChannelName *string `locationName:"channelName" min:"1" type:"string"`

	// 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 (https://docs.aws.amazon.com/awssupport/latest/user/support-app-permissions.html)
	// in the Amazon Web Services Support User Guide.
	ChannelRoleArn *string `locationName:"channelRoleArn" min:"31" type:"string"`

	// Whether you want to get notified when a support case has a new correspondence.
	NotifyOnAddCorrespondenceToCase *bool `locationName:"notifyOnAddCorrespondenceToCase" type:"boolean"`

	// The case severity for a support case that you want to receive notifications.
	NotifyOnCaseSeverity *string `locationName:"notifyOnCaseSeverity" type:"string" enum:"NotificationSeverityLevel"`

	// Whether you want to get notified when a support case is created or reopened.
	NotifyOnCreateOrReopenCase *bool `locationName:"notifyOnCreateOrReopenCase" type:"boolean"`

	// Whether you want to get notified when a support case is resolved.
	NotifyOnResolveCase *bool `locationName:"notifyOnResolveCase" type:"boolean"`

	// The team ID in Slack. This ID uniquely identifies a Slack workspace, such
	// as T012ABCDEFG.
	TeamId *string `locationName:"teamId" min:"1" type:"string"`
	// contains filtered or unexported fields
}

func (UpdateSlackChannelConfigurationOutput) GoString

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*UpdateSlackChannelConfigurationOutput) SetChannelId

SetChannelId sets the ChannelId field's value.

func (*UpdateSlackChannelConfigurationOutput) SetChannelName

SetChannelName sets the ChannelName field's value.

func (*UpdateSlackChannelConfigurationOutput) SetChannelRoleArn

SetChannelRoleArn sets the ChannelRoleArn field's value.

func (*UpdateSlackChannelConfigurationOutput) SetNotifyOnAddCorrespondenceToCase

func (s *UpdateSlackChannelConfigurationOutput) SetNotifyOnAddCorrespondenceToCase(v bool) *UpdateSlackChannelConfigurationOutput

SetNotifyOnAddCorrespondenceToCase sets the NotifyOnAddCorrespondenceToCase field's value.

func (*UpdateSlackChannelConfigurationOutput) SetNotifyOnCaseSeverity

SetNotifyOnCaseSeverity sets the NotifyOnCaseSeverity field's value.

func (*UpdateSlackChannelConfigurationOutput) SetNotifyOnCreateOrReopenCase

SetNotifyOnCreateOrReopenCase sets the NotifyOnCreateOrReopenCase field's value.

func (*UpdateSlackChannelConfigurationOutput) SetNotifyOnResolveCase

SetNotifyOnResolveCase sets the NotifyOnResolveCase field's value.

func (*UpdateSlackChannelConfigurationOutput) SetTeamId

SetTeamId sets the TeamId field's value.

func (UpdateSlackChannelConfigurationOutput) String

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

type ValidationException

type ValidationException struct {
	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`

	Message_ *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Your request input doesn't meet the constraints that the Amazon Web Services Support App specifies.

func (*ValidationException) Code

func (s *ValidationException) Code() string

Code returns the exception type name.

func (*ValidationException) Error

func (s *ValidationException) Error() string

func (ValidationException) GoString

func (s ValidationException) GoString() string

GoString returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

func (*ValidationException) Message

func (s *ValidationException) Message() string

Message returns the exception's message.

func (*ValidationException) OrigErr

func (s *ValidationException) OrigErr() error

OrigErr always returns nil, satisfies awserr.Error interface.

func (*ValidationException) RequestID

func (s *ValidationException) RequestID() string

RequestID returns the service's response RequestID for request.

func (*ValidationException) StatusCode

func (s *ValidationException) StatusCode() int

Status code returns the HTTP status code for the request's response error.

func (ValidationException) String

func (s ValidationException) String() string

String returns the string representation.

API parameter values that are decorated as "sensitive" in the API will not be included in the string output. The member name will be present, but the value will be replaced with "sensitive".

Directories

Path Synopsis
Package supportappiface provides an interface to enable mocking the AWS Support App service client for testing your code.
Package supportappiface provides an interface to enable mocking the AWS Support App service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL