@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSSupportAppAsyncClient extends AWSSupportAppClient implements AWSSupportAppAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
<note> <ul> <li> <p>You must have a Business or Enterprise Support plan to use the Amazon Web Services Support App API. </p> </li> <li> <p>For more information about the Amazon Web Services Support App endpoints, see the <a href="https://docs.aws.amazon.com/general/latest/gr/awssupport.html#awssupport_app_region">Amazon Web Services Support App in Slack endpoints</a> in the <i>Amazon Web Services General Reference</i>.</p> </li> </ul> </note>
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createSlackChannelConfiguration, deleteAccountAlias, deleteSlackChannelConfiguration, deleteSlackWorkspaceConfiguration, getAccountAlias, getCachedResponseMetadata, listSlackChannelConfigurations, listSlackWorkspaceConfigurations, putAccountAlias, updateSlackChannelConfiguration
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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createSlackChannelConfiguration, deleteAccountAlias, deleteSlackChannelConfiguration, deleteSlackWorkspaceConfiguration, getAccountAlias, getCachedResponseMetadata, listSlackChannelConfigurations, listSlackWorkspaceConfigurations, putAccountAlias, updateSlackChannelConfiguration
public static AWSSupportAppAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateSlackChannelConfigurationResult> createSlackChannelConfigurationAsync(CreateSlackChannelConfigurationRequest request)
AWSSupportAppAsync
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.
createSlackChannelConfigurationAsync
in interface AWSSupportAppAsync
public Future<CreateSlackChannelConfigurationResult> createSlackChannelConfigurationAsync(CreateSlackChannelConfigurationRequest request, AsyncHandler<CreateSlackChannelConfigurationRequest,CreateSlackChannelConfigurationResult> asyncHandler)
AWSSupportAppAsync
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.
createSlackChannelConfigurationAsync
in interface AWSSupportAppAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteAccountAliasResult> deleteAccountAliasAsync(DeleteAccountAliasRequest request)
AWSSupportAppAsync
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.
deleteAccountAliasAsync
in interface AWSSupportAppAsync
public Future<DeleteAccountAliasResult> deleteAccountAliasAsync(DeleteAccountAliasRequest request, AsyncHandler<DeleteAccountAliasRequest,DeleteAccountAliasResult> asyncHandler)
AWSSupportAppAsync
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.
deleteAccountAliasAsync
in interface AWSSupportAppAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSlackChannelConfigurationResult> deleteSlackChannelConfigurationAsync(DeleteSlackChannelConfigurationRequest request)
AWSSupportAppAsync
Deletes a Slack channel configuration from your Amazon Web Services account. This operation doesn't delete your Slack channel.
deleteSlackChannelConfigurationAsync
in interface AWSSupportAppAsync
public Future<DeleteSlackChannelConfigurationResult> deleteSlackChannelConfigurationAsync(DeleteSlackChannelConfigurationRequest request, AsyncHandler<DeleteSlackChannelConfigurationRequest,DeleteSlackChannelConfigurationResult> asyncHandler)
AWSSupportAppAsync
Deletes a Slack channel configuration from your Amazon Web Services account. This operation doesn't delete your Slack channel.
deleteSlackChannelConfigurationAsync
in interface AWSSupportAppAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteSlackWorkspaceConfigurationResult> deleteSlackWorkspaceConfigurationAsync(DeleteSlackWorkspaceConfigurationRequest request)
AWSSupportAppAsync
Deletes a Slack workspace configuration from your Amazon Web Services account. This operation doesn't delete your Slack workspace.
deleteSlackWorkspaceConfigurationAsync
in interface AWSSupportAppAsync
public Future<DeleteSlackWorkspaceConfigurationResult> deleteSlackWorkspaceConfigurationAsync(DeleteSlackWorkspaceConfigurationRequest request, AsyncHandler<DeleteSlackWorkspaceConfigurationRequest,DeleteSlackWorkspaceConfigurationResult> asyncHandler)
AWSSupportAppAsync
Deletes a Slack workspace configuration from your Amazon Web Services account. This operation doesn't delete your Slack workspace.
deleteSlackWorkspaceConfigurationAsync
in interface AWSSupportAppAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetAccountAliasResult> getAccountAliasAsync(GetAccountAliasRequest request)
AWSSupportAppAsync
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.
getAccountAliasAsync
in interface AWSSupportAppAsync
public Future<GetAccountAliasResult> getAccountAliasAsync(GetAccountAliasRequest request, AsyncHandler<GetAccountAliasRequest,GetAccountAliasResult> asyncHandler)
AWSSupportAppAsync
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.
getAccountAliasAsync
in interface AWSSupportAppAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSlackChannelConfigurationsResult> listSlackChannelConfigurationsAsync(ListSlackChannelConfigurationsRequest request)
AWSSupportAppAsync
Lists the Slack channel configurations for an Amazon Web Services account.
listSlackChannelConfigurationsAsync
in interface AWSSupportAppAsync
public Future<ListSlackChannelConfigurationsResult> listSlackChannelConfigurationsAsync(ListSlackChannelConfigurationsRequest request, AsyncHandler<ListSlackChannelConfigurationsRequest,ListSlackChannelConfigurationsResult> asyncHandler)
AWSSupportAppAsync
Lists the Slack channel configurations for an Amazon Web Services account.
listSlackChannelConfigurationsAsync
in interface AWSSupportAppAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListSlackWorkspaceConfigurationsResult> listSlackWorkspaceConfigurationsAsync(ListSlackWorkspaceConfigurationsRequest request)
AWSSupportAppAsync
Lists the Slack workspace configurations for an Amazon Web Services account.
listSlackWorkspaceConfigurationsAsync
in interface AWSSupportAppAsync
public Future<ListSlackWorkspaceConfigurationsResult> listSlackWorkspaceConfigurationsAsync(ListSlackWorkspaceConfigurationsRequest request, AsyncHandler<ListSlackWorkspaceConfigurationsRequest,ListSlackWorkspaceConfigurationsResult> asyncHandler)
AWSSupportAppAsync
Lists the Slack workspace configurations for an Amazon Web Services account.
listSlackWorkspaceConfigurationsAsync
in interface AWSSupportAppAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<PutAccountAliasResult> putAccountAliasAsync(PutAccountAliasRequest request)
AWSSupportAppAsync
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.
putAccountAliasAsync
in interface AWSSupportAppAsync
public Future<PutAccountAliasResult> putAccountAliasAsync(PutAccountAliasRequest request, AsyncHandler<PutAccountAliasRequest,PutAccountAliasResult> asyncHandler)
AWSSupportAppAsync
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.
putAccountAliasAsync
in interface AWSSupportAppAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateSlackChannelConfigurationResult> updateSlackChannelConfigurationAsync(UpdateSlackChannelConfigurationRequest request)
AWSSupportAppAsync
Updates the configuration for a Slack channel, such as case update notifications.
updateSlackChannelConfigurationAsync
in interface AWSSupportAppAsync
public Future<UpdateSlackChannelConfigurationResult> updateSlackChannelConfigurationAsync(UpdateSlackChannelConfigurationRequest request, AsyncHandler<UpdateSlackChannelConfigurationRequest,UpdateSlackChannelConfigurationResult> asyncHandler)
AWSSupportAppAsync
Updates the configuration for a Slack channel, such as case update notifications.
updateSlackChannelConfigurationAsync
in interface AWSSupportAppAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSSupportApp
shutdown
in class AWSSupportAppClient