@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.
- package/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +260 -0
- package/dist-cjs/SupportApp.js +142 -0
- package/dist-cjs/SupportAppClient.js +37 -0
- package/dist-cjs/commands/CreateSlackChannelConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DeleteAccountAliasCommand.js +36 -0
- package/dist-cjs/commands/DeleteSlackChannelConfigurationCommand.js +36 -0
- package/dist-cjs/commands/DeleteSlackWorkspaceConfigurationCommand.js +36 -0
- package/dist-cjs/commands/GetAccountAliasCommand.js +36 -0
- package/dist-cjs/commands/ListSlackChannelConfigurationsCommand.js +36 -0
- package/dist-cjs/commands/ListSlackWorkspaceConfigurationsCommand.js +36 -0
- package/dist-cjs/commands/PutAccountAliasCommand.js +36 -0
- package/dist-cjs/commands/UpdateSlackChannelConfigurationCommand.js +36 -0
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/SupportAppServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +168 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListSlackChannelConfigurationsPaginator.js +35 -0
- package/dist-cjs/pagination/ListSlackWorkspaceConfigurationsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +766 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/SupportApp.js +145 -0
- package/dist-es/SupportAppClient.js +39 -0
- package/dist-es/commands/CreateSlackChannelConfigurationCommand.js +39 -0
- package/dist-es/commands/DeleteAccountAliasCommand.js +39 -0
- package/dist-es/commands/DeleteSlackChannelConfigurationCommand.js +39 -0
- package/dist-es/commands/DeleteSlackWorkspaceConfigurationCommand.js +39 -0
- package/dist-es/commands/GetAccountAliasCommand.js +39 -0
- package/dist-es/commands/ListSlackChannelConfigurationsCommand.js +39 -0
- package/dist-es/commands/ListSlackWorkspaceConfigurationsCommand.js +39 -0
- package/dist-es/commands/PutAccountAliasCommand.js +39 -0
- package/dist-es/commands/UpdateSlackChannelConfigurationCommand.js +39 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/SupportAppServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +100 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListSlackChannelConfigurationsPaginator.js +74 -0
- package/dist-es/pagination/ListSlackWorkspaceConfigurationsPaginator.js +74 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +997 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +30 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/SupportApp.d.ts +150 -0
- package/dist-types/SupportAppClient.d.ts +207 -0
- package/dist-types/commands/CreateSlackChannelConfigurationCommand.d.ts +55 -0
- package/dist-types/commands/DeleteAccountAliasCommand.d.ts +36 -0
- package/dist-types/commands/DeleteSlackChannelConfigurationCommand.d.ts +36 -0
- package/dist-types/commands/DeleteSlackWorkspaceConfigurationCommand.d.ts +36 -0
- package/dist-types/commands/GetAccountAliasCommand.d.ts +36 -0
- package/dist-types/commands/ListSlackChannelConfigurationsCommand.d.ts +35 -0
- package/dist-types/commands/ListSlackWorkspaceConfigurationsCommand.d.ts +35 -0
- package/dist-types/commands/PutAccountAliasCommand.d.ts +37 -0
- package/dist-types/commands/UpdateSlackChannelConfigurationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/SupportAppServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +502 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListSlackChannelConfigurationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSlackWorkspaceConfigurationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +29 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/SupportApp.d.ts +50 -0
- package/dist-types/ts3.4/SupportAppClient.d.ts +82 -0
- package/dist-types/ts3.4/commands/CreateSlackChannelConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAccountAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSlackChannelConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteSlackWorkspaceConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAccountAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSlackChannelConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSlackWorkspaceConfigurationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutAccountAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSlackChannelConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/SupportAppServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +219 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListSlackChannelConfigurationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListSlackWorkspaceConfigurationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +29 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +99 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
+
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
|
+
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
|
+
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
10
|
+
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
|
+
const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
|
|
12
|
+
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
13
|
+
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
|
+
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
|
+
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
|
+
const getRuntimeConfig = (config) => {
|
|
19
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
|
+
return {
|
|
24
|
+
...clientSharedValues,
|
|
25
|
+
...config,
|
|
26
|
+
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
28
|
+
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
29
|
+
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
|
+
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
|
+
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
38
|
+
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
39
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
40
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
41
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
42
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
+
const client_sts_1 = require("@aws-sdk/client-sts");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
|
+
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
|
+
const hash_node_1 = require("@aws-sdk/hash-node");
|
|
10
|
+
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
|
+
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
12
|
+
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
13
|
+
const util_base64_node_1 = require("@aws-sdk/util-base64-node");
|
|
14
|
+
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
15
|
+
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
|
+
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
|
+
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
|
+
const smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
21
|
+
const getRuntimeConfig = (config) => {
|
|
22
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
23
|
+
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
24
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
25
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
26
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
27
|
+
return {
|
|
28
|
+
...clientSharedValues,
|
|
29
|
+
...config,
|
|
30
|
+
runtime: "node",
|
|
31
|
+
defaultsMode,
|
|
32
|
+
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
33
|
+
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
34
|
+
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
35
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
36
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
38
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
39
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
40
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
|
|
41
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
42
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
43
|
+
}),
|
|
44
|
+
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
45
|
+
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
46
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
48
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
49
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
|
+
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
|
+
const getRuntimeConfig = (config) => {
|
|
7
|
+
var _a;
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
|
+
return {
|
|
10
|
+
...browserDefaults,
|
|
11
|
+
...config,
|
|
12
|
+
runtime: "react-native",
|
|
13
|
+
sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : sha256_js_1.Sha256,
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
+
const endpoints_1 = require("./endpoints");
|
|
6
|
+
const getRuntimeConfig = (config) => {
|
|
7
|
+
var _a, _b, _c, _d, _e;
|
|
8
|
+
return ({
|
|
9
|
+
apiVersion: "2021-08-20",
|
|
10
|
+
disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
|
|
11
|
+
logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
|
|
12
|
+
regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : endpoints_1.defaultRegionInfoProvider,
|
|
13
|
+
serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "Support App",
|
|
14
|
+
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { CreateSlackChannelConfigurationCommand, } from "./commands/CreateSlackChannelConfigurationCommand";
|
|
3
|
+
import { DeleteAccountAliasCommand, } from "./commands/DeleteAccountAliasCommand";
|
|
4
|
+
import { DeleteSlackChannelConfigurationCommand, } from "./commands/DeleteSlackChannelConfigurationCommand";
|
|
5
|
+
import { DeleteSlackWorkspaceConfigurationCommand, } from "./commands/DeleteSlackWorkspaceConfigurationCommand";
|
|
6
|
+
import { GetAccountAliasCommand, } from "./commands/GetAccountAliasCommand";
|
|
7
|
+
import { ListSlackChannelConfigurationsCommand, } from "./commands/ListSlackChannelConfigurationsCommand";
|
|
8
|
+
import { ListSlackWorkspaceConfigurationsCommand, } from "./commands/ListSlackWorkspaceConfigurationsCommand";
|
|
9
|
+
import { PutAccountAliasCommand, } from "./commands/PutAccountAliasCommand";
|
|
10
|
+
import { UpdateSlackChannelConfigurationCommand, } from "./commands/UpdateSlackChannelConfigurationCommand";
|
|
11
|
+
import { SupportAppClient } from "./SupportAppClient";
|
|
12
|
+
var SupportApp = (function (_super) {
|
|
13
|
+
__extends(SupportApp, _super);
|
|
14
|
+
function SupportApp() {
|
|
15
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
16
|
+
}
|
|
17
|
+
SupportApp.prototype.createSlackChannelConfiguration = function (args, optionsOrCb, cb) {
|
|
18
|
+
var command = new CreateSlackChannelConfigurationCommand(args);
|
|
19
|
+
if (typeof optionsOrCb === "function") {
|
|
20
|
+
this.send(command, optionsOrCb);
|
|
21
|
+
}
|
|
22
|
+
else if (typeof cb === "function") {
|
|
23
|
+
if (typeof optionsOrCb !== "object")
|
|
24
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
25
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
return this.send(command, optionsOrCb);
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
SupportApp.prototype.deleteAccountAlias = function (args, optionsOrCb, cb) {
|
|
32
|
+
var command = new DeleteAccountAliasCommand(args);
|
|
33
|
+
if (typeof optionsOrCb === "function") {
|
|
34
|
+
this.send(command, optionsOrCb);
|
|
35
|
+
}
|
|
36
|
+
else if (typeof cb === "function") {
|
|
37
|
+
if (typeof optionsOrCb !== "object")
|
|
38
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
39
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
return this.send(command, optionsOrCb);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
SupportApp.prototype.deleteSlackChannelConfiguration = function (args, optionsOrCb, cb) {
|
|
46
|
+
var command = new DeleteSlackChannelConfigurationCommand(args);
|
|
47
|
+
if (typeof optionsOrCb === "function") {
|
|
48
|
+
this.send(command, optionsOrCb);
|
|
49
|
+
}
|
|
50
|
+
else if (typeof cb === "function") {
|
|
51
|
+
if (typeof optionsOrCb !== "object")
|
|
52
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
53
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
return this.send(command, optionsOrCb);
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
SupportApp.prototype.deleteSlackWorkspaceConfiguration = function (args, optionsOrCb, cb) {
|
|
60
|
+
var command = new DeleteSlackWorkspaceConfigurationCommand(args);
|
|
61
|
+
if (typeof optionsOrCb === "function") {
|
|
62
|
+
this.send(command, optionsOrCb);
|
|
63
|
+
}
|
|
64
|
+
else if (typeof cb === "function") {
|
|
65
|
+
if (typeof optionsOrCb !== "object")
|
|
66
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
67
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
return this.send(command, optionsOrCb);
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
SupportApp.prototype.getAccountAlias = function (args, optionsOrCb, cb) {
|
|
74
|
+
var command = new GetAccountAliasCommand(args);
|
|
75
|
+
if (typeof optionsOrCb === "function") {
|
|
76
|
+
this.send(command, optionsOrCb);
|
|
77
|
+
}
|
|
78
|
+
else if (typeof cb === "function") {
|
|
79
|
+
if (typeof optionsOrCb !== "object")
|
|
80
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
81
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
return this.send(command, optionsOrCb);
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
SupportApp.prototype.listSlackChannelConfigurations = function (args, optionsOrCb, cb) {
|
|
88
|
+
var command = new ListSlackChannelConfigurationsCommand(args);
|
|
89
|
+
if (typeof optionsOrCb === "function") {
|
|
90
|
+
this.send(command, optionsOrCb);
|
|
91
|
+
}
|
|
92
|
+
else if (typeof cb === "function") {
|
|
93
|
+
if (typeof optionsOrCb !== "object")
|
|
94
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
95
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
return this.send(command, optionsOrCb);
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
SupportApp.prototype.listSlackWorkspaceConfigurations = function (args, optionsOrCb, cb) {
|
|
102
|
+
var command = new ListSlackWorkspaceConfigurationsCommand(args);
|
|
103
|
+
if (typeof optionsOrCb === "function") {
|
|
104
|
+
this.send(command, optionsOrCb);
|
|
105
|
+
}
|
|
106
|
+
else if (typeof cb === "function") {
|
|
107
|
+
if (typeof optionsOrCb !== "object")
|
|
108
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
109
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
return this.send(command, optionsOrCb);
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
SupportApp.prototype.putAccountAlias = function (args, optionsOrCb, cb) {
|
|
116
|
+
var command = new PutAccountAliasCommand(args);
|
|
117
|
+
if (typeof optionsOrCb === "function") {
|
|
118
|
+
this.send(command, optionsOrCb);
|
|
119
|
+
}
|
|
120
|
+
else if (typeof cb === "function") {
|
|
121
|
+
if (typeof optionsOrCb !== "object")
|
|
122
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
123
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
return this.send(command, optionsOrCb);
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
SupportApp.prototype.updateSlackChannelConfiguration = function (args, optionsOrCb, cb) {
|
|
130
|
+
var command = new UpdateSlackChannelConfigurationCommand(args);
|
|
131
|
+
if (typeof optionsOrCb === "function") {
|
|
132
|
+
this.send(command, optionsOrCb);
|
|
133
|
+
}
|
|
134
|
+
else if (typeof cb === "function") {
|
|
135
|
+
if (typeof optionsOrCb !== "object")
|
|
136
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
137
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
140
|
+
return this.send(command, optionsOrCb);
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
return SupportApp;
|
|
144
|
+
}(SupportAppClient));
|
|
145
|
+
export { SupportApp };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
3
|
+
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
|
+
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
7
|
+
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
8
|
+
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
|
+
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
|
+
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
12
|
+
var SupportAppClient = (function (_super) {
|
|
13
|
+
__extends(SupportAppClient, _super);
|
|
14
|
+
function SupportAppClient(configuration) {
|
|
15
|
+
var _this = this;
|
|
16
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
17
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
18
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
19
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
20
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
21
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
22
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
23
|
+
_this = _super.call(this, _config_6) || this;
|
|
24
|
+
_this.config = _config_6;
|
|
25
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
26
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
27
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
28
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
30
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
32
|
+
return _this;
|
|
33
|
+
}
|
|
34
|
+
SupportAppClient.prototype.destroy = function () {
|
|
35
|
+
_super.prototype.destroy.call(this);
|
|
36
|
+
};
|
|
37
|
+
return SupportAppClient;
|
|
38
|
+
}(__Client));
|
|
39
|
+
export { SupportAppClient };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateSlackChannelConfigurationRequestFilterSensitiveLog, CreateSlackChannelConfigurationResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateSlackChannelConfigurationCommand, serializeAws_restJson1CreateSlackChannelConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateSlackChannelConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(CreateSlackChannelConfigurationCommand, _super);
|
|
8
|
+
function CreateSlackChannelConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateSlackChannelConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SupportAppClient";
|
|
18
|
+
var commandName = "CreateSlackChannelConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateSlackChannelConfigurationRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateSlackChannelConfigurationResultFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateSlackChannelConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CreateSlackChannelConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateSlackChannelConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CreateSlackChannelConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateSlackChannelConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateSlackChannelConfigurationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteAccountAliasRequestFilterSensitiveLog, DeleteAccountAliasResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteAccountAliasCommand, serializeAws_restJson1DeleteAccountAliasCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeleteAccountAliasCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteAccountAliasCommand, _super);
|
|
8
|
+
function DeleteAccountAliasCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteAccountAliasCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SupportAppClient";
|
|
18
|
+
var commandName = "DeleteAccountAliasCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteAccountAliasRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteAccountAliasResultFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteAccountAliasCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DeleteAccountAliasCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteAccountAliasCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DeleteAccountAliasCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteAccountAliasCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteAccountAliasCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteSlackChannelConfigurationRequestFilterSensitiveLog, DeleteSlackChannelConfigurationResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteSlackChannelConfigurationCommand, serializeAws_restJson1DeleteSlackChannelConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeleteSlackChannelConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteSlackChannelConfigurationCommand, _super);
|
|
8
|
+
function DeleteSlackChannelConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteSlackChannelConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SupportAppClient";
|
|
18
|
+
var commandName = "DeleteSlackChannelConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteSlackChannelConfigurationRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteSlackChannelConfigurationResultFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteSlackChannelConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DeleteSlackChannelConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteSlackChannelConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DeleteSlackChannelConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteSlackChannelConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteSlackChannelConfigurationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteSlackWorkspaceConfigurationRequestFilterSensitiveLog, DeleteSlackWorkspaceConfigurationResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteSlackWorkspaceConfigurationCommand, serializeAws_restJson1DeleteSlackWorkspaceConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeleteSlackWorkspaceConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteSlackWorkspaceConfigurationCommand, _super);
|
|
8
|
+
function DeleteSlackWorkspaceConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteSlackWorkspaceConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SupportAppClient";
|
|
18
|
+
var commandName = "DeleteSlackWorkspaceConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteSlackWorkspaceConfigurationRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteSlackWorkspaceConfigurationResultFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteSlackWorkspaceConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DeleteSlackWorkspaceConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteSlackWorkspaceConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DeleteSlackWorkspaceConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteSlackWorkspaceConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteSlackWorkspaceConfigurationCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetAccountAliasRequestFilterSensitiveLog, GetAccountAliasResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetAccountAliasCommand, serializeAws_restJson1GetAccountAliasCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetAccountAliasCommand = (function (_super) {
|
|
7
|
+
__extends(GetAccountAliasCommand, _super);
|
|
8
|
+
function GetAccountAliasCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetAccountAliasCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SupportAppClient";
|
|
18
|
+
var commandName = "GetAccountAliasCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetAccountAliasRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetAccountAliasResultFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetAccountAliasCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetAccountAliasCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetAccountAliasCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetAccountAliasCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetAccountAliasCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetAccountAliasCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListSlackChannelConfigurationsRequestFilterSensitiveLog, ListSlackChannelConfigurationsResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListSlackChannelConfigurationsCommand, serializeAws_restJson1ListSlackChannelConfigurationsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListSlackChannelConfigurationsCommand = (function (_super) {
|
|
7
|
+
__extends(ListSlackChannelConfigurationsCommand, _super);
|
|
8
|
+
function ListSlackChannelConfigurationsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListSlackChannelConfigurationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SupportAppClient";
|
|
18
|
+
var commandName = "ListSlackChannelConfigurationsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListSlackChannelConfigurationsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListSlackChannelConfigurationsResultFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListSlackChannelConfigurationsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListSlackChannelConfigurationsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListSlackChannelConfigurationsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListSlackChannelConfigurationsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListSlackChannelConfigurationsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListSlackChannelConfigurationsCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListSlackWorkspaceConfigurationsRequestFilterSensitiveLog, ListSlackWorkspaceConfigurationsResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListSlackWorkspaceConfigurationsCommand, serializeAws_restJson1ListSlackWorkspaceConfigurationsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListSlackWorkspaceConfigurationsCommand = (function (_super) {
|
|
7
|
+
__extends(ListSlackWorkspaceConfigurationsCommand, _super);
|
|
8
|
+
function ListSlackWorkspaceConfigurationsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListSlackWorkspaceConfigurationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SupportAppClient";
|
|
18
|
+
var commandName = "ListSlackWorkspaceConfigurationsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListSlackWorkspaceConfigurationsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListSlackWorkspaceConfigurationsResultFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListSlackWorkspaceConfigurationsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListSlackWorkspaceConfigurationsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListSlackWorkspaceConfigurationsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListSlackWorkspaceConfigurationsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListSlackWorkspaceConfigurationsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListSlackWorkspaceConfigurationsCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { PutAccountAliasRequestFilterSensitiveLog, PutAccountAliasResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1PutAccountAliasCommand, serializeAws_restJson1PutAccountAliasCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var PutAccountAliasCommand = (function (_super) {
|
|
7
|
+
__extends(PutAccountAliasCommand, _super);
|
|
8
|
+
function PutAccountAliasCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
PutAccountAliasCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "SupportAppClient";
|
|
18
|
+
var commandName = "PutAccountAliasCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: PutAccountAliasRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: PutAccountAliasResultFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
PutAccountAliasCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1PutAccountAliasCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
PutAccountAliasCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1PutAccountAliasCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return PutAccountAliasCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PutAccountAliasCommand };
|