/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the support-app-2021-08-20.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.SupportApp.Model; namespace Amazon.SupportApp { /// /// Interface for accessing SupportApp /// /// Amazon Web Services Support App in Slack /// /// 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: /// /// /// /// 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. /// ///
///
///
public partial interface IAmazonSupportApp : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// ISupportAppPaginatorFactory Paginators { get; } #endif #region CreateSlackChannelConfiguration /// /// Creates a Slack channel configuration for your Amazon Web Services 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. /// /// /// /// Container for the necessary parameters to execute the CreateSlackChannelConfiguration service method. /// /// The response from the CreateSlackChannelConfiguration service method, as returned by SupportApp. /// /// You don't have sufficient permission to perform this action. /// /// /// Your request has a conflict. For example, you might receive this error if you try /// the following: /// /// /// /// /// We can’t process your request right now because of a server issue. Try again later. /// /// /// 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. /// /// /// Your request input doesn't meet the constraints that the Amazon Web Services Support /// App specifies. /// /// REST API Reference for CreateSlackChannelConfiguration Operation CreateSlackChannelConfigurationResponse CreateSlackChannelConfiguration(CreateSlackChannelConfigurationRequest request); /// /// Initiates the asynchronous execution of the CreateSlackChannelConfiguration operation. /// /// /// Container for the necessary parameters to execute the CreateSlackChannelConfiguration operation on AmazonSupportAppClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSlackChannelConfiguration /// operation. /// REST API Reference for CreateSlackChannelConfiguration Operation IAsyncResult BeginCreateSlackChannelConfiguration(CreateSlackChannelConfigurationRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateSlackChannelConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSlackChannelConfiguration. /// /// Returns a CreateSlackChannelConfigurationResult from SupportApp. /// REST API Reference for CreateSlackChannelConfiguration Operation CreateSlackChannelConfigurationResponse EndCreateSlackChannelConfiguration(IAsyncResult asyncResult); #endregion #region DeleteAccountAlias /// /// 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. /// /// Container for the necessary parameters to execute the DeleteAccountAlias service method. /// /// The response from the DeleteAccountAlias service method, as returned by SupportApp. /// /// You don't have sufficient permission to perform this action. /// /// /// We can’t process your request right now because of a server issue. Try again later. /// /// /// The specified resource is missing or doesn't exist, such as an account alias, Slack /// channel configuration, or Slack workspace configuration. /// /// REST API Reference for DeleteAccountAlias Operation DeleteAccountAliasResponse DeleteAccountAlias(DeleteAccountAliasRequest request); /// /// Initiates the asynchronous execution of the DeleteAccountAlias operation. /// /// /// Container for the necessary parameters to execute the DeleteAccountAlias operation on AmazonSupportAppClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAccountAlias /// operation. /// REST API Reference for DeleteAccountAlias Operation IAsyncResult BeginDeleteAccountAlias(DeleteAccountAliasRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteAccountAlias operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAccountAlias. /// /// Returns a DeleteAccountAliasResult from SupportApp. /// REST API Reference for DeleteAccountAlias Operation DeleteAccountAliasResponse EndDeleteAccountAlias(IAsyncResult asyncResult); #endregion #region DeleteSlackChannelConfiguration /// /// Deletes a Slack channel configuration from your Amazon Web Services account. This /// operation doesn't delete your Slack channel. /// /// Container for the necessary parameters to execute the DeleteSlackChannelConfiguration service method. /// /// The response from the DeleteSlackChannelConfiguration service method, as returned by SupportApp. /// /// You don't have sufficient permission to perform this action. /// /// /// Your request has a conflict. For example, you might receive this error if you try /// the following: /// /// /// /// /// We can’t process your request right now because of a server issue. Try again later. /// /// /// The specified resource is missing or doesn't exist, such as an account alias, Slack /// channel configuration, or Slack workspace configuration. /// /// /// Your request input doesn't meet the constraints that the Amazon Web Services Support /// App specifies. /// /// REST API Reference for DeleteSlackChannelConfiguration Operation DeleteSlackChannelConfigurationResponse DeleteSlackChannelConfiguration(DeleteSlackChannelConfigurationRequest request); /// /// Initiates the asynchronous execution of the DeleteSlackChannelConfiguration operation. /// /// /// Container for the necessary parameters to execute the DeleteSlackChannelConfiguration operation on AmazonSupportAppClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSlackChannelConfiguration /// operation. /// REST API Reference for DeleteSlackChannelConfiguration Operation IAsyncResult BeginDeleteSlackChannelConfiguration(DeleteSlackChannelConfigurationRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteSlackChannelConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSlackChannelConfiguration. /// /// Returns a DeleteSlackChannelConfigurationResult from SupportApp. /// REST API Reference for DeleteSlackChannelConfiguration Operation DeleteSlackChannelConfigurationResponse EndDeleteSlackChannelConfiguration(IAsyncResult asyncResult); #endregion #region DeleteSlackWorkspaceConfiguration /// /// Deletes a Slack workspace configuration from your Amazon Web Services account. This /// operation doesn't delete your Slack workspace. /// /// Container for the necessary parameters to execute the DeleteSlackWorkspaceConfiguration service method. /// /// The response from the DeleteSlackWorkspaceConfiguration service method, as returned by SupportApp. /// /// You don't have sufficient permission to perform this action. /// /// /// Your request has a conflict. For example, you might receive this error if you try /// the following: /// /// /// /// /// We can’t process your request right now because of a server issue. Try again later. /// /// /// The specified resource is missing or doesn't exist, such as an account alias, Slack /// channel configuration, or Slack workspace configuration. /// /// /// Your request input doesn't meet the constraints that the Amazon Web Services Support /// App specifies. /// /// REST API Reference for DeleteSlackWorkspaceConfiguration Operation DeleteSlackWorkspaceConfigurationResponse DeleteSlackWorkspaceConfiguration(DeleteSlackWorkspaceConfigurationRequest request); /// /// Initiates the asynchronous execution of the DeleteSlackWorkspaceConfiguration operation. /// /// /// Container for the necessary parameters to execute the DeleteSlackWorkspaceConfiguration operation on AmazonSupportAppClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSlackWorkspaceConfiguration /// operation. /// REST API Reference for DeleteSlackWorkspaceConfiguration Operation IAsyncResult BeginDeleteSlackWorkspaceConfiguration(DeleteSlackWorkspaceConfigurationRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteSlackWorkspaceConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSlackWorkspaceConfiguration. /// /// Returns a DeleteSlackWorkspaceConfigurationResult from SupportApp. /// REST API Reference for DeleteSlackWorkspaceConfiguration Operation DeleteSlackWorkspaceConfigurationResponse EndDeleteSlackWorkspaceConfiguration(IAsyncResult asyncResult); #endregion #region GetAccountAlias /// /// 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. /// /// Container for the necessary parameters to execute the GetAccountAlias service method. /// /// The response from the GetAccountAlias service method, as returned by SupportApp. /// /// We can’t process your request right now because of a server issue. Try again later. /// /// REST API Reference for GetAccountAlias Operation GetAccountAliasResponse GetAccountAlias(GetAccountAliasRequest request); /// /// Initiates the asynchronous execution of the GetAccountAlias operation. /// /// /// Container for the necessary parameters to execute the GetAccountAlias operation on AmazonSupportAppClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAccountAlias /// operation. /// REST API Reference for GetAccountAlias Operation IAsyncResult BeginGetAccountAlias(GetAccountAliasRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetAccountAlias operation. /// /// /// The IAsyncResult returned by the call to BeginGetAccountAlias. /// /// Returns a GetAccountAliasResult from SupportApp. /// REST API Reference for GetAccountAlias Operation GetAccountAliasResponse EndGetAccountAlias(IAsyncResult asyncResult); #endregion #region ListSlackChannelConfigurations /// /// Lists the Slack channel configurations for an Amazon Web Services account. /// /// Container for the necessary parameters to execute the ListSlackChannelConfigurations service method. /// /// The response from the ListSlackChannelConfigurations service method, as returned by SupportApp. /// /// You don't have sufficient permission to perform this action. /// /// /// We can’t process your request right now because of a server issue. Try again later. /// /// REST API Reference for ListSlackChannelConfigurations Operation ListSlackChannelConfigurationsResponse ListSlackChannelConfigurations(ListSlackChannelConfigurationsRequest request); /// /// Initiates the asynchronous execution of the ListSlackChannelConfigurations operation. /// /// /// Container for the necessary parameters to execute the ListSlackChannelConfigurations operation on AmazonSupportAppClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSlackChannelConfigurations /// operation. /// REST API Reference for ListSlackChannelConfigurations Operation IAsyncResult BeginListSlackChannelConfigurations(ListSlackChannelConfigurationsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListSlackChannelConfigurations operation. /// /// /// The IAsyncResult returned by the call to BeginListSlackChannelConfigurations. /// /// Returns a ListSlackChannelConfigurationsResult from SupportApp. /// REST API Reference for ListSlackChannelConfigurations Operation ListSlackChannelConfigurationsResponse EndListSlackChannelConfigurations(IAsyncResult asyncResult); #endregion #region ListSlackWorkspaceConfigurations /// /// Lists the Slack workspace configurations for an Amazon Web Services account. /// /// Container for the necessary parameters to execute the ListSlackWorkspaceConfigurations service method. /// /// The response from the ListSlackWorkspaceConfigurations service method, as returned by SupportApp. /// /// You don't have sufficient permission to perform this action. /// /// /// We can’t process your request right now because of a server issue. Try again later. /// /// REST API Reference for ListSlackWorkspaceConfigurations Operation ListSlackWorkspaceConfigurationsResponse ListSlackWorkspaceConfigurations(ListSlackWorkspaceConfigurationsRequest request); /// /// Initiates the asynchronous execution of the ListSlackWorkspaceConfigurations operation. /// /// /// Container for the necessary parameters to execute the ListSlackWorkspaceConfigurations operation on AmazonSupportAppClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSlackWorkspaceConfigurations /// operation. /// REST API Reference for ListSlackWorkspaceConfigurations Operation IAsyncResult BeginListSlackWorkspaceConfigurations(ListSlackWorkspaceConfigurationsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListSlackWorkspaceConfigurations operation. /// /// /// The IAsyncResult returned by the call to BeginListSlackWorkspaceConfigurations. /// /// Returns a ListSlackWorkspaceConfigurationsResult from SupportApp. /// REST API Reference for ListSlackWorkspaceConfigurations Operation ListSlackWorkspaceConfigurationsResponse EndListSlackWorkspaceConfigurations(IAsyncResult asyncResult); #endregion #region PutAccountAlias /// /// 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. /// /// Container for the necessary parameters to execute the PutAccountAlias service method. /// /// The response from the PutAccountAlias service method, as returned by SupportApp. /// /// You don't have sufficient permission to perform this action. /// /// /// We can’t process your request right now because of a server issue. Try again later. /// /// /// Your request input doesn't meet the constraints that the Amazon Web Services Support /// App specifies. /// /// REST API Reference for PutAccountAlias Operation PutAccountAliasResponse PutAccountAlias(PutAccountAliasRequest request); /// /// Initiates the asynchronous execution of the PutAccountAlias operation. /// /// /// Container for the necessary parameters to execute the PutAccountAlias operation on AmazonSupportAppClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutAccountAlias /// operation. /// REST API Reference for PutAccountAlias Operation IAsyncResult BeginPutAccountAlias(PutAccountAliasRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutAccountAlias operation. /// /// /// The IAsyncResult returned by the call to BeginPutAccountAlias. /// /// Returns a PutAccountAliasResult from SupportApp. /// REST API Reference for PutAccountAlias Operation PutAccountAliasResponse EndPutAccountAlias(IAsyncResult asyncResult); #endregion #region RegisterSlackWorkspaceForOrganization /// /// 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: /// ///
  1. /// /// 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. /// ///
  2. /// /// 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: /// /// ///
/// Container for the necessary parameters to execute the RegisterSlackWorkspaceForOrganization service method. /// /// The response from the RegisterSlackWorkspaceForOrganization service method, as returned by SupportApp. /// /// You don't have sufficient permission to perform this action. /// /// /// Your request has a conflict. For example, you might receive this error if you try /// the following: /// /// /// /// /// We can’t process your request right now because of a server issue. Try again later. /// /// /// The specified resource is missing or doesn't exist, such as an account alias, Slack /// channel configuration, or Slack workspace configuration. /// /// /// Your request input doesn't meet the constraints that the Amazon Web Services Support /// App specifies. /// /// REST API Reference for RegisterSlackWorkspaceForOrganization Operation RegisterSlackWorkspaceForOrganizationResponse RegisterSlackWorkspaceForOrganization(RegisterSlackWorkspaceForOrganizationRequest request); /// /// Initiates the asynchronous execution of the RegisterSlackWorkspaceForOrganization operation. /// /// /// Container for the necessary parameters to execute the RegisterSlackWorkspaceForOrganization operation on AmazonSupportAppClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRegisterSlackWorkspaceForOrganization /// operation. /// REST API Reference for RegisterSlackWorkspaceForOrganization Operation IAsyncResult BeginRegisterSlackWorkspaceForOrganization(RegisterSlackWorkspaceForOrganizationRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the RegisterSlackWorkspaceForOrganization operation. /// /// /// The IAsyncResult returned by the call to BeginRegisterSlackWorkspaceForOrganization. /// /// Returns a RegisterSlackWorkspaceForOrganizationResult from SupportApp. /// REST API Reference for RegisterSlackWorkspaceForOrganization Operation RegisterSlackWorkspaceForOrganizationResponse EndRegisterSlackWorkspaceForOrganization(IAsyncResult asyncResult); #endregion #region UpdateSlackChannelConfiguration /// /// Updates the configuration for a Slack channel, such as case update notifications. /// /// Container for the necessary parameters to execute the UpdateSlackChannelConfiguration service method. /// /// The response from the UpdateSlackChannelConfiguration service method, as returned by SupportApp. /// /// You don't have sufficient permission to perform this action. /// /// /// Your request has a conflict. For example, you might receive this error if you try /// the following: /// /// /// /// /// We can’t process your request right now because of a server issue. Try again later. /// /// /// The specified resource is missing or doesn't exist, such as an account alias, Slack /// channel configuration, or Slack workspace configuration. /// /// /// Your request input doesn't meet the constraints that the Amazon Web Services Support /// App specifies. /// /// REST API Reference for UpdateSlackChannelConfiguration Operation UpdateSlackChannelConfigurationResponse UpdateSlackChannelConfiguration(UpdateSlackChannelConfigurationRequest request); /// /// Initiates the asynchronous execution of the UpdateSlackChannelConfiguration operation. /// /// /// Container for the necessary parameters to execute the UpdateSlackChannelConfiguration operation on AmazonSupportAppClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSlackChannelConfiguration /// operation. /// REST API Reference for UpdateSlackChannelConfiguration Operation IAsyncResult BeginUpdateSlackChannelConfiguration(UpdateSlackChannelConfigurationRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateSlackChannelConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateSlackChannelConfiguration. /// /// Returns a UpdateSlackChannelConfigurationResult from SupportApp. /// REST API Reference for UpdateSlackChannelConfiguration Operation UpdateSlackChannelConfigurationResponse EndUpdateSlackChannelConfiguration(IAsyncResult asyncResult); #endregion } }