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:
Amazon Web Services Support App in Slack (https://docs.aws.amazon.com/awssupport/latest/user/aws-support-app-for-slack.html)
Joining a live chat session with Amazon Web Services Support (https://docs.aws.amazon.com/awssupport/latest/user/joining-a-live-chat-session.html)
Requesting service quota increases (https://docs.aws.amazon.com/awssupport/latest/user/service-quota-increase.html)
Amazon Web Services Support App commands in Slack (https://docs.aws.amazon.com/awssupport/latest/user/support-app-commands.html)
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).
You must have a Business or Enterprise Support plan to use the Amazon Web Services Support App API.
For more information about the Amazon Web Services Support App endpoints, see the Amazon Web Services Support App in Slack endpoints (https://docs.aws.amazon.com/general/latest/gr/awssupport.html#awssupport_app_region) in the Amazon Web Services General Reference.
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
- func AccountType_Values() []string
- func NotificationSeverityLevel_Values() []string
- type AccessDeniedException
- func (s *AccessDeniedException) Code() string
- func (s *AccessDeniedException) Error() string
- func (s AccessDeniedException) GoString() string
- func (s *AccessDeniedException) Message() string
- func (s *AccessDeniedException) OrigErr() error
- func (s *AccessDeniedException) RequestID() string
- func (s *AccessDeniedException) StatusCode() int
- func (s AccessDeniedException) String() string
- type ConflictException
- func (s *ConflictException) Code() string
- func (s *ConflictException) Error() string
- func (s ConflictException) GoString() string
- func (s *ConflictException) Message() string
- func (s *ConflictException) OrigErr() error
- func (s *ConflictException) RequestID() string
- func (s *ConflictException) StatusCode() int
- func (s ConflictException) String() string
- type CreateSlackChannelConfigurationInput
- func (s CreateSlackChannelConfigurationInput) GoString() string
- func (s *CreateSlackChannelConfigurationInput) SetChannelId(v string) *CreateSlackChannelConfigurationInput
- func (s *CreateSlackChannelConfigurationInput) SetChannelName(v string) *CreateSlackChannelConfigurationInput
- func (s *CreateSlackChannelConfigurationInput) SetChannelRoleArn(v string) *CreateSlackChannelConfigurationInput
- func (s *CreateSlackChannelConfigurationInput) SetNotifyOnAddCorrespondenceToCase(v bool) *CreateSlackChannelConfigurationInput
- func (s *CreateSlackChannelConfigurationInput) SetNotifyOnCaseSeverity(v string) *CreateSlackChannelConfigurationInput
- func (s *CreateSlackChannelConfigurationInput) SetNotifyOnCreateOrReopenCase(v bool) *CreateSlackChannelConfigurationInput
- func (s *CreateSlackChannelConfigurationInput) SetNotifyOnResolveCase(v bool) *CreateSlackChannelConfigurationInput
- func (s *CreateSlackChannelConfigurationInput) SetTeamId(v string) *CreateSlackChannelConfigurationInput
- func (s CreateSlackChannelConfigurationInput) String() string
- func (s *CreateSlackChannelConfigurationInput) Validate() error
- type CreateSlackChannelConfigurationOutput
- type DeleteAccountAliasInput
- type DeleteAccountAliasOutput
- type DeleteSlackChannelConfigurationInput
- func (s DeleteSlackChannelConfigurationInput) GoString() string
- func (s *DeleteSlackChannelConfigurationInput) SetChannelId(v string) *DeleteSlackChannelConfigurationInput
- func (s *DeleteSlackChannelConfigurationInput) SetTeamId(v string) *DeleteSlackChannelConfigurationInput
- func (s DeleteSlackChannelConfigurationInput) String() string
- func (s *DeleteSlackChannelConfigurationInput) Validate() error
- type DeleteSlackChannelConfigurationOutput
- type DeleteSlackWorkspaceConfigurationInput
- func (s DeleteSlackWorkspaceConfigurationInput) GoString() string
- func (s *DeleteSlackWorkspaceConfigurationInput) SetTeamId(v string) *DeleteSlackWorkspaceConfigurationInput
- func (s DeleteSlackWorkspaceConfigurationInput) String() string
- func (s *DeleteSlackWorkspaceConfigurationInput) Validate() error
- type DeleteSlackWorkspaceConfigurationOutput
- type GetAccountAliasInput
- type GetAccountAliasOutput
- type InternalServerException
- func (s *InternalServerException) Code() string
- func (s *InternalServerException) Error() string
- func (s InternalServerException) GoString() string
- func (s *InternalServerException) Message() string
- func (s *InternalServerException) OrigErr() error
- func (s *InternalServerException) RequestID() string
- func (s *InternalServerException) StatusCode() int
- func (s InternalServerException) String() string
- type ListSlackChannelConfigurationsInput
- type ListSlackChannelConfigurationsOutput
- func (s ListSlackChannelConfigurationsOutput) GoString() string
- func (s *ListSlackChannelConfigurationsOutput) SetNextToken(v string) *ListSlackChannelConfigurationsOutput
- func (s *ListSlackChannelConfigurationsOutput) SetSlackChannelConfigurations(v []*SlackChannelConfiguration) *ListSlackChannelConfigurationsOutput
- func (s ListSlackChannelConfigurationsOutput) String() string
- type ListSlackWorkspaceConfigurationsInput
- func (s ListSlackWorkspaceConfigurationsInput) GoString() string
- func (s *ListSlackWorkspaceConfigurationsInput) SetNextToken(v string) *ListSlackWorkspaceConfigurationsInput
- func (s ListSlackWorkspaceConfigurationsInput) String() string
- func (s *ListSlackWorkspaceConfigurationsInput) Validate() error
- type ListSlackWorkspaceConfigurationsOutput
- func (s ListSlackWorkspaceConfigurationsOutput) GoString() string
- func (s *ListSlackWorkspaceConfigurationsOutput) SetNextToken(v string) *ListSlackWorkspaceConfigurationsOutput
- func (s *ListSlackWorkspaceConfigurationsOutput) SetSlackWorkspaceConfigurations(v []*SlackWorkspaceConfiguration) *ListSlackWorkspaceConfigurationsOutput
- func (s ListSlackWorkspaceConfigurationsOutput) String() string
- type PutAccountAliasInput
- type PutAccountAliasOutput
- type RegisterSlackWorkspaceForOrganizationInput
- func (s RegisterSlackWorkspaceForOrganizationInput) GoString() string
- func (s *RegisterSlackWorkspaceForOrganizationInput) SetTeamId(v string) *RegisterSlackWorkspaceForOrganizationInput
- func (s RegisterSlackWorkspaceForOrganizationInput) String() string
- func (s *RegisterSlackWorkspaceForOrganizationInput) Validate() error
- type RegisterSlackWorkspaceForOrganizationOutput
- func (s RegisterSlackWorkspaceForOrganizationOutput) GoString() string
- func (s *RegisterSlackWorkspaceForOrganizationOutput) SetAccountType(v string) *RegisterSlackWorkspaceForOrganizationOutput
- func (s *RegisterSlackWorkspaceForOrganizationOutput) SetTeamId(v string) *RegisterSlackWorkspaceForOrganizationOutput
- func (s *RegisterSlackWorkspaceForOrganizationOutput) SetTeamName(v string) *RegisterSlackWorkspaceForOrganizationOutput
- func (s RegisterSlackWorkspaceForOrganizationOutput) String() string
- type ResourceNotFoundException
- func (s *ResourceNotFoundException) Code() string
- func (s *ResourceNotFoundException) Error() string
- func (s ResourceNotFoundException) GoString() string
- func (s *ResourceNotFoundException) Message() string
- func (s *ResourceNotFoundException) OrigErr() error
- func (s *ResourceNotFoundException) RequestID() string
- func (s *ResourceNotFoundException) StatusCode() int
- func (s ResourceNotFoundException) String() string
- type ServiceQuotaExceededException
- func (s *ServiceQuotaExceededException) Code() string
- func (s *ServiceQuotaExceededException) Error() string
- func (s ServiceQuotaExceededException) GoString() string
- func (s *ServiceQuotaExceededException) Message() string
- func (s *ServiceQuotaExceededException) OrigErr() error
- func (s *ServiceQuotaExceededException) RequestID() string
- func (s *ServiceQuotaExceededException) StatusCode() int
- func (s ServiceQuotaExceededException) String() string
- type SlackChannelConfiguration
- func (s SlackChannelConfiguration) GoString() string
- func (s *SlackChannelConfiguration) SetChannelId(v string) *SlackChannelConfiguration
- func (s *SlackChannelConfiguration) SetChannelName(v string) *SlackChannelConfiguration
- func (s *SlackChannelConfiguration) SetChannelRoleArn(v string) *SlackChannelConfiguration
- func (s *SlackChannelConfiguration) SetNotifyOnAddCorrespondenceToCase(v bool) *SlackChannelConfiguration
- func (s *SlackChannelConfiguration) SetNotifyOnCaseSeverity(v string) *SlackChannelConfiguration
- func (s *SlackChannelConfiguration) SetNotifyOnCreateOrReopenCase(v bool) *SlackChannelConfiguration
- func (s *SlackChannelConfiguration) SetNotifyOnResolveCase(v bool) *SlackChannelConfiguration
- func (s *SlackChannelConfiguration) SetTeamId(v string) *SlackChannelConfiguration
- func (s SlackChannelConfiguration) String() string
- type SlackWorkspaceConfiguration
- func (s SlackWorkspaceConfiguration) GoString() string
- func (s *SlackWorkspaceConfiguration) SetAllowOrganizationMemberAccount(v bool) *SlackWorkspaceConfiguration
- func (s *SlackWorkspaceConfiguration) SetTeamId(v string) *SlackWorkspaceConfiguration
- func (s *SlackWorkspaceConfiguration) SetTeamName(v string) *SlackWorkspaceConfiguration
- func (s SlackWorkspaceConfiguration) String() string
- type SupportApp
- func (c *SupportApp) CreateSlackChannelConfiguration(input *CreateSlackChannelConfigurationInput) (*CreateSlackChannelConfigurationOutput, error)
- func (c *SupportApp) CreateSlackChannelConfigurationRequest(input *CreateSlackChannelConfigurationInput) (req *request.Request, output *CreateSlackChannelConfigurationOutput)
- func (c *SupportApp) CreateSlackChannelConfigurationWithContext(ctx aws.Context, input *CreateSlackChannelConfigurationInput, ...) (*CreateSlackChannelConfigurationOutput, error)
- func (c *SupportApp) DeleteAccountAlias(input *DeleteAccountAliasInput) (*DeleteAccountAliasOutput, error)
- func (c *SupportApp) DeleteAccountAliasRequest(input *DeleteAccountAliasInput) (req *request.Request, output *DeleteAccountAliasOutput)
- func (c *SupportApp) DeleteAccountAliasWithContext(ctx aws.Context, input *DeleteAccountAliasInput, opts ...request.Option) (*DeleteAccountAliasOutput, error)
- func (c *SupportApp) DeleteSlackChannelConfiguration(input *DeleteSlackChannelConfigurationInput) (*DeleteSlackChannelConfigurationOutput, error)
- func (c *SupportApp) DeleteSlackChannelConfigurationRequest(input *DeleteSlackChannelConfigurationInput) (req *request.Request, output *DeleteSlackChannelConfigurationOutput)
- func (c *SupportApp) DeleteSlackChannelConfigurationWithContext(ctx aws.Context, input *DeleteSlackChannelConfigurationInput, ...) (*DeleteSlackChannelConfigurationOutput, error)
- func (c *SupportApp) DeleteSlackWorkspaceConfiguration(input *DeleteSlackWorkspaceConfigurationInput) (*DeleteSlackWorkspaceConfigurationOutput, error)
- func (c *SupportApp) DeleteSlackWorkspaceConfigurationRequest(input *DeleteSlackWorkspaceConfigurationInput) (req *request.Request, output *DeleteSlackWorkspaceConfigurationOutput)
- func (c *SupportApp) DeleteSlackWorkspaceConfigurationWithContext(ctx aws.Context, input *DeleteSlackWorkspaceConfigurationInput, ...) (*DeleteSlackWorkspaceConfigurationOutput, error)
- func (c *SupportApp) GetAccountAlias(input *GetAccountAliasInput) (*GetAccountAliasOutput, error)
- func (c *SupportApp) GetAccountAliasRequest(input *GetAccountAliasInput) (req *request.Request, output *GetAccountAliasOutput)
- func (c *SupportApp) GetAccountAliasWithContext(ctx aws.Context, input *GetAccountAliasInput, opts ...request.Option) (*GetAccountAliasOutput, error)
- func (c *SupportApp) ListSlackChannelConfigurations(input *ListSlackChannelConfigurationsInput) (*ListSlackChannelConfigurationsOutput, error)
- func (c *SupportApp) ListSlackChannelConfigurationsPages(input *ListSlackChannelConfigurationsInput, ...) error
- func (c *SupportApp) ListSlackChannelConfigurationsPagesWithContext(ctx aws.Context, input *ListSlackChannelConfigurationsInput, ...) error
- func (c *SupportApp) ListSlackChannelConfigurationsRequest(input *ListSlackChannelConfigurationsInput) (req *request.Request, output *ListSlackChannelConfigurationsOutput)
- func (c *SupportApp) ListSlackChannelConfigurationsWithContext(ctx aws.Context, input *ListSlackChannelConfigurationsInput, ...) (*ListSlackChannelConfigurationsOutput, error)
- func (c *SupportApp) ListSlackWorkspaceConfigurations(input *ListSlackWorkspaceConfigurationsInput) (*ListSlackWorkspaceConfigurationsOutput, error)
- func (c *SupportApp) ListSlackWorkspaceConfigurationsPages(input *ListSlackWorkspaceConfigurationsInput, ...) error
- func (c *SupportApp) ListSlackWorkspaceConfigurationsPagesWithContext(ctx aws.Context, input *ListSlackWorkspaceConfigurationsInput, ...) error
- func (c *SupportApp) ListSlackWorkspaceConfigurationsRequest(input *ListSlackWorkspaceConfigurationsInput) (req *request.Request, output *ListSlackWorkspaceConfigurationsOutput)
- func (c *SupportApp) ListSlackWorkspaceConfigurationsWithContext(ctx aws.Context, input *ListSlackWorkspaceConfigurationsInput, ...) (*ListSlackWorkspaceConfigurationsOutput, error)
- func (c *SupportApp) PutAccountAlias(input *PutAccountAliasInput) (*PutAccountAliasOutput, error)
- func (c *SupportApp) PutAccountAliasRequest(input *PutAccountAliasInput) (req *request.Request, output *PutAccountAliasOutput)
- func (c *SupportApp) PutAccountAliasWithContext(ctx aws.Context, input *PutAccountAliasInput, opts ...request.Option) (*PutAccountAliasOutput, error)
- func (c *SupportApp) RegisterSlackWorkspaceForOrganization(input *RegisterSlackWorkspaceForOrganizationInput) (*RegisterSlackWorkspaceForOrganizationOutput, error)
- func (c *SupportApp) RegisterSlackWorkspaceForOrganizationRequest(input *RegisterSlackWorkspaceForOrganizationInput) (req *request.Request, output *RegisterSlackWorkspaceForOrganizationOutput)
- func (c *SupportApp) RegisterSlackWorkspaceForOrganizationWithContext(ctx aws.Context, input *RegisterSlackWorkspaceForOrganizationInput, ...) (*RegisterSlackWorkspaceForOrganizationOutput, error)
- func (c *SupportApp) UpdateSlackChannelConfiguration(input *UpdateSlackChannelConfigurationInput) (*UpdateSlackChannelConfigurationOutput, error)
- func (c *SupportApp) UpdateSlackChannelConfigurationRequest(input *UpdateSlackChannelConfigurationInput) (req *request.Request, output *UpdateSlackChannelConfigurationOutput)
- func (c *SupportApp) UpdateSlackChannelConfigurationWithContext(ctx aws.Context, input *UpdateSlackChannelConfigurationInput, ...) (*UpdateSlackChannelConfigurationOutput, error)
- type UpdateSlackChannelConfigurationInput
- func (s UpdateSlackChannelConfigurationInput) GoString() string
- func (s *UpdateSlackChannelConfigurationInput) SetChannelId(v string) *UpdateSlackChannelConfigurationInput
- func (s *UpdateSlackChannelConfigurationInput) SetChannelName(v string) *UpdateSlackChannelConfigurationInput
- func (s *UpdateSlackChannelConfigurationInput) SetChannelRoleArn(v string) *UpdateSlackChannelConfigurationInput
- func (s *UpdateSlackChannelConfigurationInput) SetNotifyOnAddCorrespondenceToCase(v bool) *UpdateSlackChannelConfigurationInput
- func (s *UpdateSlackChannelConfigurationInput) SetNotifyOnCaseSeverity(v string) *UpdateSlackChannelConfigurationInput
- func (s *UpdateSlackChannelConfigurationInput) SetNotifyOnCreateOrReopenCase(v bool) *UpdateSlackChannelConfigurationInput
- func (s *UpdateSlackChannelConfigurationInput) SetNotifyOnResolveCase(v bool) *UpdateSlackChannelConfigurationInput
- func (s *UpdateSlackChannelConfigurationInput) SetTeamId(v string) *UpdateSlackChannelConfigurationInput
- func (s UpdateSlackChannelConfigurationInput) String() string
- func (s *UpdateSlackChannelConfigurationInput) Validate() error
- type UpdateSlackChannelConfigurationOutput
- func (s UpdateSlackChannelConfigurationOutput) GoString() string
- func (s *UpdateSlackChannelConfigurationOutput) SetChannelId(v string) *UpdateSlackChannelConfigurationOutput
- func (s *UpdateSlackChannelConfigurationOutput) SetChannelName(v string) *UpdateSlackChannelConfigurationOutput
- func (s *UpdateSlackChannelConfigurationOutput) SetChannelRoleArn(v string) *UpdateSlackChannelConfigurationOutput
- func (s *UpdateSlackChannelConfigurationOutput) SetNotifyOnAddCorrespondenceToCase(v bool) *UpdateSlackChannelConfigurationOutput
- func (s *UpdateSlackChannelConfigurationOutput) SetNotifyOnCaseSeverity(v string) *UpdateSlackChannelConfigurationOutput
- func (s *UpdateSlackChannelConfigurationOutput) SetNotifyOnCreateOrReopenCase(v bool) *UpdateSlackChannelConfigurationOutput
- func (s *UpdateSlackChannelConfigurationOutput) SetNotifyOnResolveCase(v bool) *UpdateSlackChannelConfigurationOutput
- func (s *UpdateSlackChannelConfigurationOutput) SetTeamId(v string) *UpdateSlackChannelConfigurationOutput
- func (s UpdateSlackChannelConfigurationOutput) String() string
- type ValidationException
- func (s *ValidationException) Code() string
- func (s *ValidationException) Error() string
- func (s ValidationException) GoString() string
- func (s *ValidationException) Message() string
- func (s *ValidationException) OrigErr() error
- func (s *ValidationException) RequestID() string
- func (s *ValidationException) StatusCode() int
- func (s ValidationException) String() string
Constants ¶
const ( // AccountTypeManagement is a AccountType enum value AccountTypeManagement = "management" // AccountTypeMember is a AccountType enum value AccountTypeMember = "member" )
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" )
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" )
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 ¶
func (s CreateSlackChannelConfigurationInput) 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 (*CreateSlackChannelConfigurationInput) SetChannelId ¶
func (s *CreateSlackChannelConfigurationInput) SetChannelId(v string) *CreateSlackChannelConfigurationInput
SetChannelId sets the ChannelId field's value.
func (*CreateSlackChannelConfigurationInput) SetChannelName ¶
func (s *CreateSlackChannelConfigurationInput) SetChannelName(v string) *CreateSlackChannelConfigurationInput
SetChannelName sets the ChannelName field's value.
func (*CreateSlackChannelConfigurationInput) SetChannelRoleArn ¶
func (s *CreateSlackChannelConfigurationInput) SetChannelRoleArn(v string) *CreateSlackChannelConfigurationInput
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 ¶
func (s *CreateSlackChannelConfigurationInput) SetNotifyOnCaseSeverity(v string) *CreateSlackChannelConfigurationInput
SetNotifyOnCaseSeverity sets the NotifyOnCaseSeverity field's value.
func (*CreateSlackChannelConfigurationInput) SetNotifyOnCreateOrReopenCase ¶
func (s *CreateSlackChannelConfigurationInput) SetNotifyOnCreateOrReopenCase(v bool) *CreateSlackChannelConfigurationInput
SetNotifyOnCreateOrReopenCase sets the NotifyOnCreateOrReopenCase field's value.
func (*CreateSlackChannelConfigurationInput) SetNotifyOnResolveCase ¶
func (s *CreateSlackChannelConfigurationInput) SetNotifyOnResolveCase(v bool) *CreateSlackChannelConfigurationInput
SetNotifyOnResolveCase sets the NotifyOnResolveCase field's value.
func (*CreateSlackChannelConfigurationInput) SetTeamId ¶
func (s *CreateSlackChannelConfigurationInput) SetTeamId(v string) *CreateSlackChannelConfigurationInput
SetTeamId sets the TeamId field's value.
func (CreateSlackChannelConfigurationInput) String ¶
func (s CreateSlackChannelConfigurationInput) 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 (*CreateSlackChannelConfigurationInput) Validate ¶
func (s *CreateSlackChannelConfigurationInput) Validate() error
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 ¶
func (s CreateSlackChannelConfigurationOutput) 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 (CreateSlackChannelConfigurationOutput) String ¶
func (s CreateSlackChannelConfigurationOutput) 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 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 ¶
func (s DeleteSlackChannelConfigurationInput) 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 (*DeleteSlackChannelConfigurationInput) SetChannelId ¶
func (s *DeleteSlackChannelConfigurationInput) SetChannelId(v string) *DeleteSlackChannelConfigurationInput
SetChannelId sets the ChannelId field's value.
func (*DeleteSlackChannelConfigurationInput) SetTeamId ¶
func (s *DeleteSlackChannelConfigurationInput) SetTeamId(v string) *DeleteSlackChannelConfigurationInput
SetTeamId sets the TeamId field's value.
func (DeleteSlackChannelConfigurationInput) String ¶
func (s DeleteSlackChannelConfigurationInput) 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 (*DeleteSlackChannelConfigurationInput) Validate ¶
func (s *DeleteSlackChannelConfigurationInput) Validate() error
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 ¶
func (s DeleteSlackChannelConfigurationOutput) 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 (DeleteSlackChannelConfigurationOutput) String ¶
func (s DeleteSlackChannelConfigurationOutput) 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 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 ¶
func (s DeleteSlackWorkspaceConfigurationInput) 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 (*DeleteSlackWorkspaceConfigurationInput) SetTeamId ¶
func (s *DeleteSlackWorkspaceConfigurationInput) SetTeamId(v string) *DeleteSlackWorkspaceConfigurationInput
SetTeamId sets the TeamId field's value.
func (DeleteSlackWorkspaceConfigurationInput) String ¶
func (s DeleteSlackWorkspaceConfigurationInput) 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 (*DeleteSlackWorkspaceConfigurationInput) Validate ¶
func (s *DeleteSlackWorkspaceConfigurationInput) Validate() error
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 ¶
func (s DeleteSlackWorkspaceConfigurationOutput) 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 (DeleteSlackWorkspaceConfigurationOutput) String ¶
func (s DeleteSlackWorkspaceConfigurationOutput) 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 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 ¶
func (s ListSlackChannelConfigurationsInput) 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 (*ListSlackChannelConfigurationsInput) SetNextToken ¶
func (s *ListSlackChannelConfigurationsInput) SetNextToken(v string) *ListSlackChannelConfigurationsInput
SetNextToken sets the NextToken field's value.
func (ListSlackChannelConfigurationsInput) String ¶
func (s ListSlackChannelConfigurationsInput) 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 (*ListSlackChannelConfigurationsInput) Validate ¶
func (s *ListSlackChannelConfigurationsInput) Validate() error
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 ¶
func (s ListSlackChannelConfigurationsOutput) 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 (*ListSlackChannelConfigurationsOutput) SetNextToken ¶
func (s *ListSlackChannelConfigurationsOutput) SetNextToken(v string) *ListSlackChannelConfigurationsOutput
SetNextToken sets the NextToken field's value.
func (*ListSlackChannelConfigurationsOutput) SetSlackChannelConfigurations ¶
func (s *ListSlackChannelConfigurationsOutput) SetSlackChannelConfigurations(v []*SlackChannelConfiguration) *ListSlackChannelConfigurationsOutput
SetSlackChannelConfigurations sets the SlackChannelConfigurations field's value.
func (ListSlackChannelConfigurationsOutput) String ¶
func (s ListSlackChannelConfigurationsOutput) 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 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 ¶
func (s ListSlackWorkspaceConfigurationsInput) 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 (*ListSlackWorkspaceConfigurationsInput) SetNextToken ¶
func (s *ListSlackWorkspaceConfigurationsInput) SetNextToken(v string) *ListSlackWorkspaceConfigurationsInput
SetNextToken sets the NextToken field's value.
func (ListSlackWorkspaceConfigurationsInput) String ¶
func (s ListSlackWorkspaceConfigurationsInput) 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 (*ListSlackWorkspaceConfigurationsInput) Validate ¶
func (s *ListSlackWorkspaceConfigurationsInput) Validate() error
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 ¶
func (s ListSlackWorkspaceConfigurationsOutput) 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 (*ListSlackWorkspaceConfigurationsOutput) SetNextToken ¶
func (s *ListSlackWorkspaceConfigurationsOutput) SetNextToken(v string) *ListSlackWorkspaceConfigurationsOutput
SetNextToken sets the NextToken field's value.
func (*ListSlackWorkspaceConfigurationsOutput) SetSlackWorkspaceConfigurations ¶
func (s *ListSlackWorkspaceConfigurationsOutput) SetSlackWorkspaceConfigurations(v []*SlackWorkspaceConfiguration) *ListSlackWorkspaceConfigurationsOutput
SetSlackWorkspaceConfigurations sets the SlackWorkspaceConfigurations field's value.
func (ListSlackWorkspaceConfigurationsOutput) String ¶
func (s ListSlackWorkspaceConfigurationsOutput) 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 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 ¶
func (s RegisterSlackWorkspaceForOrganizationInput) 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 (*RegisterSlackWorkspaceForOrganizationInput) SetTeamId ¶
func (s *RegisterSlackWorkspaceForOrganizationInput) SetTeamId(v string) *RegisterSlackWorkspaceForOrganizationInput
SetTeamId sets the TeamId field's value.
func (RegisterSlackWorkspaceForOrganizationInput) String ¶
func (s RegisterSlackWorkspaceForOrganizationInput) 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 (*RegisterSlackWorkspaceForOrganizationInput) Validate ¶
func (s *RegisterSlackWorkspaceForOrganizationInput) Validate() error
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 ¶
func (s RegisterSlackWorkspaceForOrganizationOutput) 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 (*RegisterSlackWorkspaceForOrganizationOutput) SetAccountType ¶
func (s *RegisterSlackWorkspaceForOrganizationOutput) SetAccountType(v string) *RegisterSlackWorkspaceForOrganizationOutput
SetAccountType sets the AccountType field's value.
func (*RegisterSlackWorkspaceForOrganizationOutput) SetTeamId ¶
func (s *RegisterSlackWorkspaceForOrganizationOutput) SetTeamId(v string) *RegisterSlackWorkspaceForOrganizationOutput
SetTeamId sets the TeamId field's value.
func (*RegisterSlackWorkspaceForOrganizationOutput) SetTeamName ¶
func (s *RegisterSlackWorkspaceForOrganizationOutput) SetTeamName(v string) *RegisterSlackWorkspaceForOrganizationOutput
SetTeamName sets the TeamName field's value.
func (RegisterSlackWorkspaceForOrganizationOutput) String ¶
func (s RegisterSlackWorkspaceForOrganizationOutput) 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 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 ¶
func (s *ResourceNotFoundException) Code() string
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 ¶
func (s *ServiceQuotaExceededException) Code() string
Code returns the exception type name.
func (*ServiceQuotaExceededException) Error ¶
func (s *ServiceQuotaExceededException) Error() string
func (ServiceQuotaExceededException) GoString ¶
func (s ServiceQuotaExceededException) 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 (*ServiceQuotaExceededException) Message ¶
func (s *ServiceQuotaExceededException) Message() string
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 ¶
func (s ServiceQuotaExceededException) 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 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 ¶
func (s *SlackChannelConfiguration) SetChannelId(v string) *SlackChannelConfiguration
SetChannelId sets the ChannelId field's value.
func (*SlackChannelConfiguration) SetChannelName ¶
func (s *SlackChannelConfiguration) SetChannelName(v string) *SlackChannelConfiguration
SetChannelName sets the ChannelName field's value.
func (*SlackChannelConfiguration) SetChannelRoleArn ¶
func (s *SlackChannelConfiguration) SetChannelRoleArn(v string) *SlackChannelConfiguration
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 ¶
func (s *SlackChannelConfiguration) SetTeamId(v string) *SlackChannelConfiguration
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 ¶
func (s *SlackWorkspaceConfiguration) SetTeamId(v string) *SlackWorkspaceConfiguration
SetTeamId sets the TeamId field's value.
func (*SlackWorkspaceConfiguration) SetTeamName ¶
func (s *SlackWorkspaceConfiguration) SetTeamName(v string) *SlackWorkspaceConfiguration
SetTeamName sets the TeamName field's value.
func (SlackWorkspaceConfiguration) String ¶
func (s SlackWorkspaceConfiguration) 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 SupportApp ¶
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 ¶
func (c *SupportApp) DeleteSlackWorkspaceConfiguration(input *DeleteSlackWorkspaceConfigurationInput) (*DeleteSlackWorkspaceConfigurationOutput, error)
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 ¶
func (c *SupportApp) RegisterSlackWorkspaceForOrganization(input *RegisterSlackWorkspaceForOrganizationInput) (*RegisterSlackWorkspaceForOrganizationOutput, error)
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:
Create an Identity and Access Management (IAM) role with the required permission. 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).
Configure a Slack channel to use the Amazon Web Services Support App for support cases for that account. For more information, see Configuring a Slack channel (https://docs.aws.amazon.com/awssupport/latest/user/add-your-slack-channel.html).
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 ¶
func (s UpdateSlackChannelConfigurationInput) 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 (*UpdateSlackChannelConfigurationInput) SetChannelId ¶
func (s *UpdateSlackChannelConfigurationInput) SetChannelId(v string) *UpdateSlackChannelConfigurationInput
SetChannelId sets the ChannelId field's value.
func (*UpdateSlackChannelConfigurationInput) SetChannelName ¶
func (s *UpdateSlackChannelConfigurationInput) SetChannelName(v string) *UpdateSlackChannelConfigurationInput
SetChannelName sets the ChannelName field's value.
func (*UpdateSlackChannelConfigurationInput) SetChannelRoleArn ¶
func (s *UpdateSlackChannelConfigurationInput) SetChannelRoleArn(v string) *UpdateSlackChannelConfigurationInput
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 ¶
func (s *UpdateSlackChannelConfigurationInput) SetNotifyOnCaseSeverity(v string) *UpdateSlackChannelConfigurationInput
SetNotifyOnCaseSeverity sets the NotifyOnCaseSeverity field's value.
func (*UpdateSlackChannelConfigurationInput) SetNotifyOnCreateOrReopenCase ¶
func (s *UpdateSlackChannelConfigurationInput) SetNotifyOnCreateOrReopenCase(v bool) *UpdateSlackChannelConfigurationInput
SetNotifyOnCreateOrReopenCase sets the NotifyOnCreateOrReopenCase field's value.
func (*UpdateSlackChannelConfigurationInput) SetNotifyOnResolveCase ¶
func (s *UpdateSlackChannelConfigurationInput) SetNotifyOnResolveCase(v bool) *UpdateSlackChannelConfigurationInput
SetNotifyOnResolveCase sets the NotifyOnResolveCase field's value.
func (*UpdateSlackChannelConfigurationInput) SetTeamId ¶
func (s *UpdateSlackChannelConfigurationInput) SetTeamId(v string) *UpdateSlackChannelConfigurationInput
SetTeamId sets the TeamId field's value.
func (UpdateSlackChannelConfigurationInput) String ¶
func (s UpdateSlackChannelConfigurationInput) 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 (*UpdateSlackChannelConfigurationInput) Validate ¶
func (s *UpdateSlackChannelConfigurationInput) Validate() error
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 ¶
func (s UpdateSlackChannelConfigurationOutput) 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 (*UpdateSlackChannelConfigurationOutput) SetChannelId ¶
func (s *UpdateSlackChannelConfigurationOutput) SetChannelId(v string) *UpdateSlackChannelConfigurationOutput
SetChannelId sets the ChannelId field's value.
func (*UpdateSlackChannelConfigurationOutput) SetChannelName ¶
func (s *UpdateSlackChannelConfigurationOutput) SetChannelName(v string) *UpdateSlackChannelConfigurationOutput
SetChannelName sets the ChannelName field's value.
func (*UpdateSlackChannelConfigurationOutput) SetChannelRoleArn ¶
func (s *UpdateSlackChannelConfigurationOutput) SetChannelRoleArn(v string) *UpdateSlackChannelConfigurationOutput
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 ¶
func (s *UpdateSlackChannelConfigurationOutput) SetNotifyOnCaseSeverity(v string) *UpdateSlackChannelConfigurationOutput
SetNotifyOnCaseSeverity sets the NotifyOnCaseSeverity field's value.
func (*UpdateSlackChannelConfigurationOutput) SetNotifyOnCreateOrReopenCase ¶
func (s *UpdateSlackChannelConfigurationOutput) SetNotifyOnCreateOrReopenCase(v bool) *UpdateSlackChannelConfigurationOutput
SetNotifyOnCreateOrReopenCase sets the NotifyOnCreateOrReopenCase field's value.
func (*UpdateSlackChannelConfigurationOutput) SetNotifyOnResolveCase ¶
func (s *UpdateSlackChannelConfigurationOutput) SetNotifyOnResolveCase(v bool) *UpdateSlackChannelConfigurationOutput
SetNotifyOnResolveCase sets the NotifyOnResolveCase field's value.
func (*UpdateSlackChannelConfigurationOutput) SetTeamId ¶
func (s *UpdateSlackChannelConfigurationOutput) SetTeamId(v string) *UpdateSlackChannelConfigurationOutput
SetTeamId sets the TeamId field's value.
func (UpdateSlackChannelConfigurationOutput) String ¶
func (s UpdateSlackChannelConfigurationOutput) 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 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. |