@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSSupportAppClient extends AmazonWebServiceClient implements AWSSupportApp
You can use the Amazon Web Services Support App in Slack API to manage your support cases in Slack for your Amazon Web Services account. After you configure your Slack workspace and channel with the Amazon Web Services Support App, you can perform the following tasks directly in your Slack channel:
Create, search, update, and resolve your support cases
Request service quota increases for your account
Invite Amazon Web Services Support agents to your channel so that you can chat directly about your support cases
For more information about how to perform these actions in Slack, see the following documentation in the Amazon Web Services Support User Guide:
You can also use the Amazon Web Services Management Console instead of the Amazon Web Services Support App API to manage your Slack configurations. For more information, see Authorize a Slack workspace to enable the Amazon Web Services Support App.
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 in the Amazon Web Services General Reference.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSSupportAppClientBuilder |
builder() |
CreateSlackChannelConfigurationResult |
createSlackChannelConfiguration(CreateSlackChannelConfigurationRequest request)
Creates a Slack channel configuration for your Amazon Web Services account.
|
DeleteAccountAliasResult |
deleteAccountAlias(DeleteAccountAliasRequest request)
Deletes an alias for an Amazon Web Services account ID.
|
DeleteSlackChannelConfigurationResult |
deleteSlackChannelConfiguration(DeleteSlackChannelConfigurationRequest request)
Deletes a Slack channel configuration from your Amazon Web Services account.
|
DeleteSlackWorkspaceConfigurationResult |
deleteSlackWorkspaceConfiguration(DeleteSlackWorkspaceConfigurationRequest request)
Deletes a Slack workspace configuration from your Amazon Web Services account.
|
GetAccountAliasResult |
getAccountAlias(GetAccountAliasRequest request)
Retrieves the alias from an Amazon Web Services account ID.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
ListSlackChannelConfigurationsResult |
listSlackChannelConfigurations(ListSlackChannelConfigurationsRequest request)
Lists the Slack channel configurations for an Amazon Web Services account.
|
ListSlackWorkspaceConfigurationsResult |
listSlackWorkspaceConfigurations(ListSlackWorkspaceConfigurationsRequest request)
Lists the Slack workspace configurations for an Amazon Web Services account.
|
PutAccountAliasResult |
putAccountAlias(PutAccountAliasRequest request)
Creates or updates an individual alias for each Amazon Web Services account ID.
|
RegisterSlackWorkspaceForOrganizationResult |
registerSlackWorkspaceForOrganization(RegisterSlackWorkspaceForOrganizationRequest request)
Registers a Slack workspace for your Amazon Web Services account.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
UpdateSlackChannelConfigurationResult |
updateSlackChannelConfiguration(UpdateSlackChannelConfigurationRequest request)
Updates the configuration for a Slack channel, such as case update notifications.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSSupportAppClientBuilder builder()
public CreateSlackChannelConfigurationResult createSlackChannelConfiguration(CreateSlackChannelConfigurationRequest request)
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.
createSlackChannelConfiguration
in interface AWSSupportApp
createSlackChannelConfigurationRequest
- 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.public DeleteAccountAliasResult deleteAccountAlias(DeleteAccountAliasRequest request)
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.
deleteAccountAlias
in interface AWSSupportApp
deleteAccountAliasRequest
- 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.public DeleteSlackChannelConfigurationResult deleteSlackChannelConfiguration(DeleteSlackChannelConfigurationRequest request)
Deletes a Slack channel configuration from your Amazon Web Services account. This operation doesn't delete your Slack channel.
deleteSlackChannelConfiguration
in interface AWSSupportApp
deleteSlackChannelConfigurationRequest
- 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.public DeleteSlackWorkspaceConfigurationResult deleteSlackWorkspaceConfiguration(DeleteSlackWorkspaceConfigurationRequest request)
Deletes a Slack workspace configuration from your Amazon Web Services account. This operation doesn't delete your Slack workspace.
deleteSlackWorkspaceConfiguration
in interface AWSSupportApp
deleteSlackWorkspaceConfigurationRequest
- 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.public GetAccountAliasResult getAccountAlias(GetAccountAliasRequest request)
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.
getAccountAlias
in interface AWSSupportApp
getAccountAliasRequest
- InternalServerException
- We can’t process your request right now because of a server issue. Try again later.public ListSlackChannelConfigurationsResult listSlackChannelConfigurations(ListSlackChannelConfigurationsRequest request)
Lists the Slack channel configurations for an Amazon Web Services account.
listSlackChannelConfigurations
in interface AWSSupportApp
listSlackChannelConfigurationsRequest
- 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.public ListSlackWorkspaceConfigurationsResult listSlackWorkspaceConfigurations(ListSlackWorkspaceConfigurationsRequest request)
Lists the Slack workspace configurations for an Amazon Web Services account.
listSlackWorkspaceConfigurations
in interface AWSSupportApp
listSlackWorkspaceConfigurationsRequest
- 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.public PutAccountAliasResult putAccountAlias(PutAccountAliasRequest request)
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.
putAccountAlias
in interface AWSSupportApp
putAccountAliasRequest
- 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.public RegisterSlackWorkspaceForOrganizationResult registerSlackWorkspaceForOrganization(RegisterSlackWorkspaceForOrganizationRequest request)
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 and authorize the Slack workspaces where you want your organization to have access to. See Authorize a Slack workspace 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.
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.
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.
registerSlackWorkspaceForOrganization
in interface AWSSupportApp
registerSlackWorkspaceForOrganizationRequest
- 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.public UpdateSlackChannelConfigurationResult updateSlackChannelConfiguration(UpdateSlackChannelConfigurationRequest request)
Updates the configuration for a Slack channel, such as case update notifications.
updateSlackChannelConfiguration
in interface AWSSupportApp
updateSlackChannelConfigurationRequest
- 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.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSSupportApp
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSSupportApp
shutdown
in class AmazonWebServiceClient