@aws-sdk/client-support-app 3.155.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +260 -0
  4. package/dist-cjs/SupportApp.js +142 -0
  5. package/dist-cjs/SupportAppClient.js +37 -0
  6. package/dist-cjs/commands/CreateSlackChannelConfigurationCommand.js +36 -0
  7. package/dist-cjs/commands/DeleteAccountAliasCommand.js +36 -0
  8. package/dist-cjs/commands/DeleteSlackChannelConfigurationCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteSlackWorkspaceConfigurationCommand.js +36 -0
  10. package/dist-cjs/commands/GetAccountAliasCommand.js +36 -0
  11. package/dist-cjs/commands/ListSlackChannelConfigurationsCommand.js +36 -0
  12. package/dist-cjs/commands/ListSlackWorkspaceConfigurationsCommand.js +36 -0
  13. package/dist-cjs/commands/PutAccountAliasCommand.js +36 -0
  14. package/dist-cjs/commands/UpdateSlackChannelConfigurationCommand.js +36 -0
  15. package/dist-cjs/commands/index.js +12 -0
  16. package/dist-cjs/endpoints.js +131 -0
  17. package/dist-cjs/index.js +11 -0
  18. package/dist-cjs/models/SupportAppServiceException.js +11 -0
  19. package/dist-cjs/models/index.js +4 -0
  20. package/dist-cjs/models/models_0.js +168 -0
  21. package/dist-cjs/pagination/Interfaces.js +2 -0
  22. package/dist-cjs/pagination/ListSlackChannelConfigurationsPaginator.js +35 -0
  23. package/dist-cjs/pagination/ListSlackWorkspaceConfigurationsPaginator.js +35 -0
  24. package/dist-cjs/pagination/index.js +6 -0
  25. package/dist-cjs/protocols/Aws_restJson1.js +766 -0
  26. package/dist-cjs/runtimeConfig.browser.js +45 -0
  27. package/dist-cjs/runtimeConfig.js +52 -0
  28. package/dist-cjs/runtimeConfig.native.js +16 -0
  29. package/dist-cjs/runtimeConfig.shared.js +17 -0
  30. package/dist-es/SupportApp.js +145 -0
  31. package/dist-es/SupportAppClient.js +39 -0
  32. package/dist-es/commands/CreateSlackChannelConfigurationCommand.js +39 -0
  33. package/dist-es/commands/DeleteAccountAliasCommand.js +39 -0
  34. package/dist-es/commands/DeleteSlackChannelConfigurationCommand.js +39 -0
  35. package/dist-es/commands/DeleteSlackWorkspaceConfigurationCommand.js +39 -0
  36. package/dist-es/commands/GetAccountAliasCommand.js +39 -0
  37. package/dist-es/commands/ListSlackChannelConfigurationsCommand.js +39 -0
  38. package/dist-es/commands/ListSlackWorkspaceConfigurationsCommand.js +39 -0
  39. package/dist-es/commands/PutAccountAliasCommand.js +39 -0
  40. package/dist-es/commands/UpdateSlackChannelConfigurationCommand.js +39 -0
  41. package/dist-es/commands/index.js +9 -0
  42. package/dist-es/endpoints.js +127 -0
  43. package/dist-es/index.js +6 -0
  44. package/dist-es/models/SupportAppServiceException.js +12 -0
  45. package/dist-es/models/index.js +1 -0
  46. package/dist-es/models/models_0.js +100 -0
  47. package/dist-es/pagination/Interfaces.js +1 -0
  48. package/dist-es/pagination/ListSlackChannelConfigurationsPaginator.js +74 -0
  49. package/dist-es/pagination/ListSlackWorkspaceConfigurationsPaginator.js +74 -0
  50. package/dist-es/pagination/index.js +3 -0
  51. package/dist-es/protocols/Aws_restJson1.js +997 -0
  52. package/dist-es/runtimeConfig.browser.js +26 -0
  53. package/dist-es/runtimeConfig.js +30 -0
  54. package/dist-es/runtimeConfig.native.js +8 -0
  55. package/dist-es/runtimeConfig.shared.js +13 -0
  56. package/dist-types/SupportApp.d.ts +150 -0
  57. package/dist-types/SupportAppClient.d.ts +207 -0
  58. package/dist-types/commands/CreateSlackChannelConfigurationCommand.d.ts +55 -0
  59. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +36 -0
  60. package/dist-types/commands/DeleteSlackChannelConfigurationCommand.d.ts +36 -0
  61. package/dist-types/commands/DeleteSlackWorkspaceConfigurationCommand.d.ts +36 -0
  62. package/dist-types/commands/GetAccountAliasCommand.d.ts +36 -0
  63. package/dist-types/commands/ListSlackChannelConfigurationsCommand.d.ts +35 -0
  64. package/dist-types/commands/ListSlackWorkspaceConfigurationsCommand.d.ts +35 -0
  65. package/dist-types/commands/PutAccountAliasCommand.d.ts +37 -0
  66. package/dist-types/commands/UpdateSlackChannelConfigurationCommand.d.ts +35 -0
  67. package/dist-types/commands/index.d.ts +9 -0
  68. package/dist-types/endpoints.d.ts +2 -0
  69. package/dist-types/index.d.ts +6 -0
  70. package/dist-types/models/SupportAppServiceException.d.ts +10 -0
  71. package/dist-types/models/index.d.ts +1 -0
  72. package/dist-types/models/models_0.d.ts +502 -0
  73. package/dist-types/pagination/Interfaces.d.ts +6 -0
  74. package/dist-types/pagination/ListSlackChannelConfigurationsPaginator.d.ts +4 -0
  75. package/dist-types/pagination/ListSlackWorkspaceConfigurationsPaginator.d.ts +4 -0
  76. package/dist-types/pagination/index.d.ts +3 -0
  77. package/dist-types/protocols/Aws_restJson1.d.ts +29 -0
  78. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  79. package/dist-types/runtimeConfig.d.ts +40 -0
  80. package/dist-types/runtimeConfig.native.d.ts +39 -0
  81. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  82. package/dist-types/ts3.4/SupportApp.d.ts +50 -0
  83. package/dist-types/ts3.4/SupportAppClient.d.ts +82 -0
  84. package/dist-types/ts3.4/commands/CreateSlackChannelConfigurationCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/DeleteAccountAliasCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/DeleteSlackChannelConfigurationCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/DeleteSlackWorkspaceConfigurationCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/GetAccountAliasCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/ListSlackChannelConfigurationsCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/ListSlackWorkspaceConfigurationsCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/PutAccountAliasCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/UpdateSlackChannelConfigurationCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  94. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  95. package/dist-types/ts3.4/index.d.ts +6 -0
  96. package/dist-types/ts3.4/models/SupportAppServiceException.d.ts +6 -0
  97. package/dist-types/ts3.4/models/index.d.ts +1 -0
  98. package/dist-types/ts3.4/models/models_0.d.ts +219 -0
  99. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  100. package/dist-types/ts3.4/pagination/ListSlackChannelConfigurationsPaginator.d.ts +4 -0
  101. package/dist-types/ts3.4/pagination/ListSlackWorkspaceConfigurationsPaginator.d.ts +4 -0
  102. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  103. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +29 -0
  104. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  105. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  106. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  107. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  108. package/package.json +99 -0
@@ -0,0 +1,26 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import packageInfo from "../package.json";
3
+ import { Sha256 } from "@aws-crypto/sha256-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
+ import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
9
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
15
+ export var getRuntimeConfig = function (config) {
16
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
+ var clientSharedValues = getSharedRuntimeConfig(config);
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
26
+ };
@@ -0,0 +1,30 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
+ import packageInfo from "../package.json";
3
+ import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
+ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
+ import { Hash } from "@aws-sdk/hash-node";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
+ import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
+ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
+ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
+ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
+ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
+ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
17
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
18
+ export var getRuntimeConfig = function (config) {
19
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ emitWarningIfUnsupportedVersion(process.version);
21
+ var defaultsMode = resolveDefaultsModeConfig(config);
22
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
23
+ var clientSharedValues = getSharedRuntimeConfig(config);
24
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
25
+ switch (_a.label) {
26
+ case 0: return [4, defaultConfigProvider()];
27
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
28
+ }
29
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
30
+ };
@@ -0,0 +1,8 @@
1
+ import { __assign } from "tslib";
2
+ import { Sha256 } from "@aws-crypto/sha256-js";
3
+ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
4
+ export var getRuntimeConfig = function (config) {
5
+ var _a;
6
+ var browserDefaults = getBrowserRuntimeConfig(config);
7
+ return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
8
+ };
@@ -0,0 +1,13 @@
1
+ import { parseUrl } from "@aws-sdk/url-parser";
2
+ import { defaultRegionInfoProvider } from "./endpoints";
3
+ export var getRuntimeConfig = function (config) {
4
+ var _a, _b, _c, _d, _e;
5
+ return ({
6
+ apiVersion: "2021-08-20",
7
+ disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
8
+ logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
9
+ regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : defaultRegionInfoProvider,
10
+ serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "Support App",
11
+ urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
+ });
13
+ };
@@ -0,0 +1,150 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CreateSlackChannelConfigurationCommandInput, CreateSlackChannelConfigurationCommandOutput } from "./commands/CreateSlackChannelConfigurationCommand";
3
+ import { DeleteAccountAliasCommandInput, DeleteAccountAliasCommandOutput } from "./commands/DeleteAccountAliasCommand";
4
+ import { DeleteSlackChannelConfigurationCommandInput, DeleteSlackChannelConfigurationCommandOutput } from "./commands/DeleteSlackChannelConfigurationCommand";
5
+ import { DeleteSlackWorkspaceConfigurationCommandInput, DeleteSlackWorkspaceConfigurationCommandOutput } from "./commands/DeleteSlackWorkspaceConfigurationCommand";
6
+ import { GetAccountAliasCommandInput, GetAccountAliasCommandOutput } from "./commands/GetAccountAliasCommand";
7
+ import { ListSlackChannelConfigurationsCommandInput, ListSlackChannelConfigurationsCommandOutput } from "./commands/ListSlackChannelConfigurationsCommand";
8
+ import { ListSlackWorkspaceConfigurationsCommandInput, ListSlackWorkspaceConfigurationsCommandOutput } from "./commands/ListSlackWorkspaceConfigurationsCommand";
9
+ import { PutAccountAliasCommandInput, PutAccountAliasCommandOutput } from "./commands/PutAccountAliasCommand";
10
+ import { UpdateSlackChannelConfigurationCommandInput, UpdateSlackChannelConfigurationCommandOutput } from "./commands/UpdateSlackChannelConfigurationCommand";
11
+ import { SupportAppClient } from "./SupportAppClient";
12
+ /**
13
+ * <fullname>Amazon Web Services Support App in Slack</fullname>
14
+ * <p>You can use the Amazon Web Services Support App in Slack API to manage your support cases in Slack for your
15
+ * Amazon Web Services account. After you configure your Slack workspace and channel with the Amazon Web Services Support App, you can
16
+ * perform the following tasks directly in your Slack channel:</p>
17
+ * <ul>
18
+ * <li>
19
+ * <p>Create, search, update, and resolve your support cases</p>
20
+ * </li>
21
+ * <li>
22
+ * <p>Request service quota increases for your account</p>
23
+ * </li>
24
+ * <li>
25
+ * <p>Invite Amazon Web Services Support agents to your channel so that you can chat directly about your
26
+ * support cases</p>
27
+ * </li>
28
+ * </ul>
29
+ * <p>For more information about how to perform these actions in Slack, see the following
30
+ * documentation in the <i>Amazon Web Services Support User Guide</i>:</p>
31
+ * <ul>
32
+ * <li>
33
+ * <p>
34
+ * <a href="https://docs.aws.amazon.com/awssupport/latest/user/aws-support-app-for-slack.html">Amazon Web Services Support App in Slack</a>
35
+ * </p>
36
+ * </li>
37
+ * <li>
38
+ * <p>
39
+ * <a href="https://docs.aws.amazon.com/awssupport/latest/user/joining-a-live-chat-session.html">Joining a live chat session with Amazon Web Services Support</a>
40
+ * </p>
41
+ * </li>
42
+ * <li>
43
+ * <p>
44
+ * <a href="https://docs.aws.amazon.com/awssupport/latest/user/service-quota-increase.html">Requesting service quota increases</a>
45
+ * </p>
46
+ * </li>
47
+ * <li>
48
+ * <p>
49
+ * <a href="https://docs.aws.amazon.com/awssupport/latest/user/support-app-commands.html">Amazon Web Services Support App commands in Slack</a>
50
+ * </p>
51
+ * </li>
52
+ * </ul>
53
+ * <p>You can also use the Amazon Web Services Management Console instead of the Amazon Web Services Support App API to manage your Slack
54
+ * configurations. For more information, see <a href="https://docs.aws.amazon.com/awssupport/latest/user/authorize-slack-workspace.html">Authorize a
55
+ * Slack workspace to enable the Amazon Web Services Support App</a>.</p>
56
+ *
57
+ * <note>
58
+ * <ul>
59
+ * <li>
60
+ * <p>You must have a Business or Enterprise Support plan to use the Amazon Web Services Support App API. </p>
61
+ * </li>
62
+ * <li>
63
+ * <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
64
+ * Reference</i>.</p>
65
+ * </li>
66
+ * </ul>
67
+ * </note>
68
+ */
69
+ export declare class SupportApp extends SupportAppClient {
70
+ /**
71
+ * <p>Creates a Slack channel configuration for your Amazon Web Services account.</p>
72
+ * <note>
73
+ * <ul>
74
+ * <li>
75
+ * <p>You can add up to 5 Slack workspaces for your account.</p>
76
+ * </li>
77
+ * <li>
78
+ * <p>You can add up to 20 Slack channels for your account.</p>
79
+ * </li>
80
+ * </ul>
81
+ * </note>
82
+ * <p>A Slack channel can have up to 100 Amazon Web Services accounts. This means that only 100 accounts can
83
+ * add the same Slack channel to the Amazon Web Services Support App. We recommend that you only add the accounts that
84
+ * you need to manage support cases for your organization. This can reduce the notifications
85
+ * about case updates that you receive in the Slack channel.</p>
86
+ * <note>
87
+ * <p>We recommend that you choose a private Slack channel so that only members in that
88
+ * channel have read and write access to your support cases. Anyone in your Slack channel can
89
+ * create, update, or resolve support cases for your account. Users require an invitation to
90
+ * join private channels. </p>
91
+ * </note>
92
+ */
93
+ createSlackChannelConfiguration(args: CreateSlackChannelConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateSlackChannelConfigurationCommandOutput>;
94
+ createSlackChannelConfiguration(args: CreateSlackChannelConfigurationCommandInput, cb: (err: any, data?: CreateSlackChannelConfigurationCommandOutput) => void): void;
95
+ createSlackChannelConfiguration(args: CreateSlackChannelConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSlackChannelConfigurationCommandOutput) => void): void;
96
+ /**
97
+ * <p>Deletes an alias for an Amazon Web Services account ID. The alias appears in the Amazon Web Services Support App page of the
98
+ * Amazon Web Services Support Center. The alias also appears in Slack messages from the Amazon Web Services Support App.</p>
99
+ */
100
+ deleteAccountAlias(args: DeleteAccountAliasCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccountAliasCommandOutput>;
101
+ deleteAccountAlias(args: DeleteAccountAliasCommandInput, cb: (err: any, data?: DeleteAccountAliasCommandOutput) => void): void;
102
+ deleteAccountAlias(args: DeleteAccountAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccountAliasCommandOutput) => void): void;
103
+ /**
104
+ * <p>Deletes a Slack channel configuration from your Amazon Web Services account. This operation doesn't
105
+ * delete your Slack channel.</p>
106
+ */
107
+ deleteSlackChannelConfiguration(args: DeleteSlackChannelConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSlackChannelConfigurationCommandOutput>;
108
+ deleteSlackChannelConfiguration(args: DeleteSlackChannelConfigurationCommandInput, cb: (err: any, data?: DeleteSlackChannelConfigurationCommandOutput) => void): void;
109
+ deleteSlackChannelConfiguration(args: DeleteSlackChannelConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSlackChannelConfigurationCommandOutput) => void): void;
110
+ /**
111
+ * <p>Deletes a Slack workspace configuration from your Amazon Web Services account. This operation doesn't
112
+ * delete your Slack workspace.</p>
113
+ */
114
+ deleteSlackWorkspaceConfiguration(args: DeleteSlackWorkspaceConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSlackWorkspaceConfigurationCommandOutput>;
115
+ deleteSlackWorkspaceConfiguration(args: DeleteSlackWorkspaceConfigurationCommandInput, cb: (err: any, data?: DeleteSlackWorkspaceConfigurationCommandOutput) => void): void;
116
+ deleteSlackWorkspaceConfiguration(args: DeleteSlackWorkspaceConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSlackWorkspaceConfigurationCommandOutput) => void): void;
117
+ /**
118
+ * <p>Retrieves the alias from an Amazon Web Services account ID. The alias appears in the Amazon Web Services Support App page of
119
+ * the Amazon Web Services Support Center. The alias also appears in Slack messages from the Amazon Web Services Support App.</p>
120
+ */
121
+ getAccountAlias(args: GetAccountAliasCommandInput, options?: __HttpHandlerOptions): Promise<GetAccountAliasCommandOutput>;
122
+ getAccountAlias(args: GetAccountAliasCommandInput, cb: (err: any, data?: GetAccountAliasCommandOutput) => void): void;
123
+ getAccountAlias(args: GetAccountAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountAliasCommandOutput) => void): void;
124
+ /**
125
+ * <p>Lists the Slack channel configurations for an Amazon Web Services account.</p>
126
+ */
127
+ listSlackChannelConfigurations(args: ListSlackChannelConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListSlackChannelConfigurationsCommandOutput>;
128
+ listSlackChannelConfigurations(args: ListSlackChannelConfigurationsCommandInput, cb: (err: any, data?: ListSlackChannelConfigurationsCommandOutput) => void): void;
129
+ listSlackChannelConfigurations(args: ListSlackChannelConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSlackChannelConfigurationsCommandOutput) => void): void;
130
+ /**
131
+ * <p>Lists the Slack workspace configurations for an Amazon Web Services account.</p>
132
+ */
133
+ listSlackWorkspaceConfigurations(args: ListSlackWorkspaceConfigurationsCommandInput, options?: __HttpHandlerOptions): Promise<ListSlackWorkspaceConfigurationsCommandOutput>;
134
+ listSlackWorkspaceConfigurations(args: ListSlackWorkspaceConfigurationsCommandInput, cb: (err: any, data?: ListSlackWorkspaceConfigurationsCommandOutput) => void): void;
135
+ listSlackWorkspaceConfigurations(args: ListSlackWorkspaceConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSlackWorkspaceConfigurationsCommandOutput) => void): void;
136
+ /**
137
+ * <p>Creates or updates an individual alias for each Amazon Web Services account ID. The alias appears in the
138
+ * Amazon Web Services Support App page of the Amazon Web Services Support Center. The alias also appears in Slack messages from the
139
+ * Amazon Web Services Support App.</p>
140
+ */
141
+ putAccountAlias(args: PutAccountAliasCommandInput, options?: __HttpHandlerOptions): Promise<PutAccountAliasCommandOutput>;
142
+ putAccountAlias(args: PutAccountAliasCommandInput, cb: (err: any, data?: PutAccountAliasCommandOutput) => void): void;
143
+ putAccountAlias(args: PutAccountAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAccountAliasCommandOutput) => void): void;
144
+ /**
145
+ * <p>Updates the configuration for a Slack channel, such as case update notifications.</p>
146
+ */
147
+ updateSlackChannelConfiguration(args: UpdateSlackChannelConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSlackChannelConfigurationCommandOutput>;
148
+ updateSlackChannelConfiguration(args: UpdateSlackChannelConfigurationCommandInput, cb: (err: any, data?: UpdateSlackChannelConfigurationCommandOutput) => void): void;
149
+ updateSlackChannelConfiguration(args: UpdateSlackChannelConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSlackChannelConfigurationCommandOutput) => void): void;
150
+ }
@@ -0,0 +1,207 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { CreateSlackChannelConfigurationCommandInput, CreateSlackChannelConfigurationCommandOutput } from "./commands/CreateSlackChannelConfigurationCommand";
10
+ import { DeleteAccountAliasCommandInput, DeleteAccountAliasCommandOutput } from "./commands/DeleteAccountAliasCommand";
11
+ import { DeleteSlackChannelConfigurationCommandInput, DeleteSlackChannelConfigurationCommandOutput } from "./commands/DeleteSlackChannelConfigurationCommand";
12
+ import { DeleteSlackWorkspaceConfigurationCommandInput, DeleteSlackWorkspaceConfigurationCommandOutput } from "./commands/DeleteSlackWorkspaceConfigurationCommand";
13
+ import { GetAccountAliasCommandInput, GetAccountAliasCommandOutput } from "./commands/GetAccountAliasCommand";
14
+ import { ListSlackChannelConfigurationsCommandInput, ListSlackChannelConfigurationsCommandOutput } from "./commands/ListSlackChannelConfigurationsCommand";
15
+ import { ListSlackWorkspaceConfigurationsCommandInput, ListSlackWorkspaceConfigurationsCommandOutput } from "./commands/ListSlackWorkspaceConfigurationsCommand";
16
+ import { PutAccountAliasCommandInput, PutAccountAliasCommandOutput } from "./commands/PutAccountAliasCommand";
17
+ import { UpdateSlackChannelConfigurationCommandInput, UpdateSlackChannelConfigurationCommandOutput } from "./commands/UpdateSlackChannelConfigurationCommand";
18
+ export declare type ServiceInputTypes = CreateSlackChannelConfigurationCommandInput | DeleteAccountAliasCommandInput | DeleteSlackChannelConfigurationCommandInput | DeleteSlackWorkspaceConfigurationCommandInput | GetAccountAliasCommandInput | ListSlackChannelConfigurationsCommandInput | ListSlackWorkspaceConfigurationsCommandInput | PutAccountAliasCommandInput | UpdateSlackChannelConfigurationCommandInput;
19
+ export declare type ServiceOutputTypes = CreateSlackChannelConfigurationCommandOutput | DeleteAccountAliasCommandOutput | DeleteSlackChannelConfigurationCommandOutput | DeleteSlackWorkspaceConfigurationCommandOutput | GetAccountAliasCommandOutput | ListSlackChannelConfigurationsCommandOutput | ListSlackWorkspaceConfigurationsCommandOutput | PutAccountAliasCommandOutput | UpdateSlackChannelConfigurationCommandOutput;
20
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
21
+ /**
22
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
23
+ */
24
+ requestHandler?: __HttpHandler;
25
+ /**
26
+ * A constructor for a class implementing the {@link __Hash} interface
27
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
28
+ * @internal
29
+ */
30
+ sha256?: __HashConstructor;
31
+ /**
32
+ * The function that will be used to convert strings into HTTP endpoints.
33
+ * @internal
34
+ */
35
+ urlParser?: __UrlParser;
36
+ /**
37
+ * A function that can calculate the length of a request body.
38
+ * @internal
39
+ */
40
+ bodyLengthChecker?: __BodyLengthCalculator;
41
+ /**
42
+ * A function that converts a stream into an array of bytes.
43
+ * @internal
44
+ */
45
+ streamCollector?: __StreamCollector;
46
+ /**
47
+ * The function that will be used to convert a base64-encoded string to a byte array.
48
+ * @internal
49
+ */
50
+ base64Decoder?: __Decoder;
51
+ /**
52
+ * The function that will be used to convert binary data to a base64-encoded string.
53
+ * @internal
54
+ */
55
+ base64Encoder?: __Encoder;
56
+ /**
57
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
58
+ * @internal
59
+ */
60
+ utf8Decoder?: __Decoder;
61
+ /**
62
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
63
+ * @internal
64
+ */
65
+ utf8Encoder?: __Encoder;
66
+ /**
67
+ * The runtime environment.
68
+ * @internal
69
+ */
70
+ runtime?: string;
71
+ /**
72
+ * Disable dyanamically changing the endpoint of the client based on the hostPrefix
73
+ * trait of an operation.
74
+ */
75
+ disableHostPrefix?: boolean;
76
+ /**
77
+ * Value for how many times a request will be made at most in case of retry.
78
+ */
79
+ maxAttempts?: number | __Provider<number>;
80
+ /**
81
+ * Specifies which retry algorithm to use.
82
+ */
83
+ retryMode?: string | __Provider<string>;
84
+ /**
85
+ * Optional logger for logging debug/info/warn/error.
86
+ */
87
+ logger?: __Logger;
88
+ /**
89
+ * Enables IPv6/IPv4 dualstack endpoint.
90
+ */
91
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
92
+ /**
93
+ * Enables FIPS compatible endpoints.
94
+ */
95
+ useFipsEndpoint?: boolean | __Provider<boolean>;
96
+ /**
97
+ * Unique service identifier.
98
+ * @internal
99
+ */
100
+ serviceId?: string;
101
+ /**
102
+ * The AWS region to which this client will send requests
103
+ */
104
+ region?: string | __Provider<string>;
105
+ /**
106
+ * Default credentials provider; Not available in browser runtime.
107
+ * @internal
108
+ */
109
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
110
+ /**
111
+ * Fetch related hostname, signing name or signing region with given region.
112
+ * @internal
113
+ */
114
+ regionInfoProvider?: RegionInfoProvider;
115
+ /**
116
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
117
+ * @internal
118
+ */
119
+ defaultUserAgentProvider?: Provider<__UserAgent>;
120
+ /**
121
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
122
+ */
123
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
124
+ }
125
+ declare type SupportAppClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
126
+ /**
127
+ * The configuration interface of SupportAppClient class constructor that set the region, credentials and other options.
128
+ */
129
+ export interface SupportAppClientConfig extends SupportAppClientConfigType {
130
+ }
131
+ declare type SupportAppClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
132
+ /**
133
+ * The resolved configuration interface of SupportAppClient class. This is resolved and normalized from the {@link SupportAppClientConfig | constructor configuration interface}.
134
+ */
135
+ export interface SupportAppClientResolvedConfig extends SupportAppClientResolvedConfigType {
136
+ }
137
+ /**
138
+ * <fullname>Amazon Web Services Support App in Slack</fullname>
139
+ * <p>You can use the Amazon Web Services Support App in Slack API to manage your support cases in Slack for your
140
+ * Amazon Web Services account. After you configure your Slack workspace and channel with the Amazon Web Services Support App, you can
141
+ * perform the following tasks directly in your Slack channel:</p>
142
+ * <ul>
143
+ * <li>
144
+ * <p>Create, search, update, and resolve your support cases</p>
145
+ * </li>
146
+ * <li>
147
+ * <p>Request service quota increases for your account</p>
148
+ * </li>
149
+ * <li>
150
+ * <p>Invite Amazon Web Services Support agents to your channel so that you can chat directly about your
151
+ * support cases</p>
152
+ * </li>
153
+ * </ul>
154
+ * <p>For more information about how to perform these actions in Slack, see the following
155
+ * documentation in the <i>Amazon Web Services Support User Guide</i>:</p>
156
+ * <ul>
157
+ * <li>
158
+ * <p>
159
+ * <a href="https://docs.aws.amazon.com/awssupport/latest/user/aws-support-app-for-slack.html">Amazon Web Services Support App in Slack</a>
160
+ * </p>
161
+ * </li>
162
+ * <li>
163
+ * <p>
164
+ * <a href="https://docs.aws.amazon.com/awssupport/latest/user/joining-a-live-chat-session.html">Joining a live chat session with Amazon Web Services Support</a>
165
+ * </p>
166
+ * </li>
167
+ * <li>
168
+ * <p>
169
+ * <a href="https://docs.aws.amazon.com/awssupport/latest/user/service-quota-increase.html">Requesting service quota increases</a>
170
+ * </p>
171
+ * </li>
172
+ * <li>
173
+ * <p>
174
+ * <a href="https://docs.aws.amazon.com/awssupport/latest/user/support-app-commands.html">Amazon Web Services Support App commands in Slack</a>
175
+ * </p>
176
+ * </li>
177
+ * </ul>
178
+ * <p>You can also use the Amazon Web Services Management Console instead of the Amazon Web Services Support App API to manage your Slack
179
+ * configurations. For more information, see <a href="https://docs.aws.amazon.com/awssupport/latest/user/authorize-slack-workspace.html">Authorize a
180
+ * Slack workspace to enable the Amazon Web Services Support App</a>.</p>
181
+ *
182
+ * <note>
183
+ * <ul>
184
+ * <li>
185
+ * <p>You must have a Business or Enterprise Support plan to use the Amazon Web Services Support App API. </p>
186
+ * </li>
187
+ * <li>
188
+ * <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
189
+ * Reference</i>.</p>
190
+ * </li>
191
+ * </ul>
192
+ * </note>
193
+ */
194
+ export declare class SupportAppClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SupportAppClientResolvedConfig> {
195
+ /**
196
+ * The resolved configuration of SupportAppClient class. This is resolved and normalized from the {@link SupportAppClientConfig | constructor configuration interface}.
197
+ */
198
+ readonly config: SupportAppClientResolvedConfig;
199
+ constructor(configuration: SupportAppClientConfig);
200
+ /**
201
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
202
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
203
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
204
+ */
205
+ destroy(): void;
206
+ }
207
+ export {};
@@ -0,0 +1,55 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateSlackChannelConfigurationRequest, CreateSlackChannelConfigurationResult } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SupportAppClientResolvedConfig } from "../SupportAppClient";
5
+ export interface CreateSlackChannelConfigurationCommandInput extends CreateSlackChannelConfigurationRequest {
6
+ }
7
+ export interface CreateSlackChannelConfigurationCommandOutput extends CreateSlackChannelConfigurationResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Creates a Slack channel configuration for your Amazon Web Services account.</p>
11
+ * <note>
12
+ * <ul>
13
+ * <li>
14
+ * <p>You can add up to 5 Slack workspaces for your account.</p>
15
+ * </li>
16
+ * <li>
17
+ * <p>You can add up to 20 Slack channels for your account.</p>
18
+ * </li>
19
+ * </ul>
20
+ * </note>
21
+ * <p>A Slack channel can have up to 100 Amazon Web Services accounts. This means that only 100 accounts can
22
+ * add the same Slack channel to the Amazon Web Services Support App. We recommend that you only add the accounts that
23
+ * you need to manage support cases for your organization. This can reduce the notifications
24
+ * about case updates that you receive in the Slack channel.</p>
25
+ * <note>
26
+ * <p>We recommend that you choose a private Slack channel so that only members in that
27
+ * channel have read and write access to your support cases. Anyone in your Slack channel can
28
+ * create, update, or resolve support cases for your account. Users require an invitation to
29
+ * join private channels. </p>
30
+ * </note>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { SupportAppClient, CreateSlackChannelConfigurationCommand } from "@aws-sdk/client-support-app"; // ES Modules import
35
+ * // const { SupportAppClient, CreateSlackChannelConfigurationCommand } = require("@aws-sdk/client-support-app"); // CommonJS import
36
+ * const client = new SupportAppClient(config);
37
+ * const command = new CreateSlackChannelConfigurationCommand(input);
38
+ * const response = await client.send(command);
39
+ * ```
40
+ *
41
+ * @see {@link CreateSlackChannelConfigurationCommandInput} for command's `input` shape.
42
+ * @see {@link CreateSlackChannelConfigurationCommandOutput} for command's `response` shape.
43
+ * @see {@link SupportAppClientResolvedConfig | config} for SupportAppClient's `config` shape.
44
+ *
45
+ */
46
+ export declare class CreateSlackChannelConfigurationCommand extends $Command<CreateSlackChannelConfigurationCommandInput, CreateSlackChannelConfigurationCommandOutput, SupportAppClientResolvedConfig> {
47
+ readonly input: CreateSlackChannelConfigurationCommandInput;
48
+ constructor(input: CreateSlackChannelConfigurationCommandInput);
49
+ /**
50
+ * @internal
51
+ */
52
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SupportAppClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSlackChannelConfigurationCommandInput, CreateSlackChannelConfigurationCommandOutput>;
53
+ private serialize;
54
+ private deserialize;
55
+ }
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DeleteAccountAliasRequest, DeleteAccountAliasResult } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SupportAppClientResolvedConfig } from "../SupportAppClient";
5
+ export interface DeleteAccountAliasCommandInput extends DeleteAccountAliasRequest {
6
+ }
7
+ export interface DeleteAccountAliasCommandOutput extends DeleteAccountAliasResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes an alias for an Amazon Web Services account ID. The alias appears in the Amazon Web Services Support App page of the
11
+ * Amazon Web Services Support Center. The alias also appears in Slack messages from the Amazon Web Services Support App.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { SupportAppClient, DeleteAccountAliasCommand } from "@aws-sdk/client-support-app"; // ES Modules import
16
+ * // const { SupportAppClient, DeleteAccountAliasCommand } = require("@aws-sdk/client-support-app"); // CommonJS import
17
+ * const client = new SupportAppClient(config);
18
+ * const command = new DeleteAccountAliasCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteAccountAliasCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteAccountAliasCommandOutput} for command's `response` shape.
24
+ * @see {@link SupportAppClientResolvedConfig | config} for SupportAppClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteAccountAliasCommand extends $Command<DeleteAccountAliasCommandInput, DeleteAccountAliasCommandOutput, SupportAppClientResolvedConfig> {
28
+ readonly input: DeleteAccountAliasCommandInput;
29
+ constructor(input: DeleteAccountAliasCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SupportAppClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAccountAliasCommandInput, DeleteAccountAliasCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DeleteSlackChannelConfigurationRequest, DeleteSlackChannelConfigurationResult } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SupportAppClientResolvedConfig } from "../SupportAppClient";
5
+ export interface DeleteSlackChannelConfigurationCommandInput extends DeleteSlackChannelConfigurationRequest {
6
+ }
7
+ export interface DeleteSlackChannelConfigurationCommandOutput extends DeleteSlackChannelConfigurationResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes a Slack channel configuration from your Amazon Web Services account. This operation doesn't
11
+ * delete your Slack channel.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { SupportAppClient, DeleteSlackChannelConfigurationCommand } from "@aws-sdk/client-support-app"; // ES Modules import
16
+ * // const { SupportAppClient, DeleteSlackChannelConfigurationCommand } = require("@aws-sdk/client-support-app"); // CommonJS import
17
+ * const client = new SupportAppClient(config);
18
+ * const command = new DeleteSlackChannelConfigurationCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteSlackChannelConfigurationCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteSlackChannelConfigurationCommandOutput} for command's `response` shape.
24
+ * @see {@link SupportAppClientResolvedConfig | config} for SupportAppClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteSlackChannelConfigurationCommand extends $Command<DeleteSlackChannelConfigurationCommandInput, DeleteSlackChannelConfigurationCommandOutput, SupportAppClientResolvedConfig> {
28
+ readonly input: DeleteSlackChannelConfigurationCommandInput;
29
+ constructor(input: DeleteSlackChannelConfigurationCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SupportAppClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSlackChannelConfigurationCommandInput, DeleteSlackChannelConfigurationCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DeleteSlackWorkspaceConfigurationRequest, DeleteSlackWorkspaceConfigurationResult } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, SupportAppClientResolvedConfig } from "../SupportAppClient";
5
+ export interface DeleteSlackWorkspaceConfigurationCommandInput extends DeleteSlackWorkspaceConfigurationRequest {
6
+ }
7
+ export interface DeleteSlackWorkspaceConfigurationCommandOutput extends DeleteSlackWorkspaceConfigurationResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes a Slack workspace configuration from your Amazon Web Services account. This operation doesn't
11
+ * delete your Slack workspace.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { SupportAppClient, DeleteSlackWorkspaceConfigurationCommand } from "@aws-sdk/client-support-app"; // ES Modules import
16
+ * // const { SupportAppClient, DeleteSlackWorkspaceConfigurationCommand } = require("@aws-sdk/client-support-app"); // CommonJS import
17
+ * const client = new SupportAppClient(config);
18
+ * const command = new DeleteSlackWorkspaceConfigurationCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteSlackWorkspaceConfigurationCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteSlackWorkspaceConfigurationCommandOutput} for command's `response` shape.
24
+ * @see {@link SupportAppClientResolvedConfig | config} for SupportAppClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteSlackWorkspaceConfigurationCommand extends $Command<DeleteSlackWorkspaceConfigurationCommandInput, DeleteSlackWorkspaceConfigurationCommandOutput, SupportAppClientResolvedConfig> {
28
+ readonly input: DeleteSlackWorkspaceConfigurationCommandInput;
29
+ constructor(input: DeleteSlackWorkspaceConfigurationCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SupportAppClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSlackWorkspaceConfigurationCommandInput, DeleteSlackWorkspaceConfigurationCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }