@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,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 { UpdateSlackChannelConfigurationRequestFilterSensitiveLog, UpdateSlackChannelConfigurationResultFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateSlackChannelConfigurationCommand, serializeAws_restJson1UpdateSlackChannelConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateSlackChannelConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateSlackChannelConfigurationCommand, _super);
|
|
8
|
+
function UpdateSlackChannelConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateSlackChannelConfigurationCommand.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 = "UpdateSlackChannelConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateSlackChannelConfigurationRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateSlackChannelConfigurationResultFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateSlackChannelConfigurationCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateSlackChannelConfigurationCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateSlackChannelConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateSlackChannelConfigurationCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateSlackChannelConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateSlackChannelConfigurationCommand };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./CreateSlackChannelConfigurationCommand";
|
|
2
|
+
export * from "./DeleteAccountAliasCommand";
|
|
3
|
+
export * from "./DeleteSlackChannelConfigurationCommand";
|
|
4
|
+
export * from "./DeleteSlackWorkspaceConfigurationCommand";
|
|
5
|
+
export * from "./GetAccountAliasCommand";
|
|
6
|
+
export * from "./ListSlackChannelConfigurationsCommand";
|
|
7
|
+
export * from "./ListSlackWorkspaceConfigurationsCommand";
|
|
8
|
+
export * from "./PutAccountAliasCommand";
|
|
9
|
+
export * from "./UpdateSlackChannelConfigurationCommand";
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
|
+
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
+
var regionHash = {};
|
|
4
|
+
var partitionHash = {
|
|
5
|
+
aws: {
|
|
6
|
+
regions: [
|
|
7
|
+
"af-south-1",
|
|
8
|
+
"ap-east-1",
|
|
9
|
+
"ap-northeast-1",
|
|
10
|
+
"ap-northeast-2",
|
|
11
|
+
"ap-northeast-3",
|
|
12
|
+
"ap-south-1",
|
|
13
|
+
"ap-southeast-1",
|
|
14
|
+
"ap-southeast-2",
|
|
15
|
+
"ap-southeast-3",
|
|
16
|
+
"ca-central-1",
|
|
17
|
+
"eu-central-1",
|
|
18
|
+
"eu-north-1",
|
|
19
|
+
"eu-south-1",
|
|
20
|
+
"eu-west-1",
|
|
21
|
+
"eu-west-2",
|
|
22
|
+
"eu-west-3",
|
|
23
|
+
"me-south-1",
|
|
24
|
+
"sa-east-1",
|
|
25
|
+
"us-east-1",
|
|
26
|
+
"us-east-2",
|
|
27
|
+
"us-west-1",
|
|
28
|
+
"us-west-2",
|
|
29
|
+
],
|
|
30
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
31
|
+
variants: [
|
|
32
|
+
{
|
|
33
|
+
hostname: "supportapp.{region}.amazonaws.com",
|
|
34
|
+
tags: [],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
hostname: "supportapp-fips.{region}.amazonaws.com",
|
|
38
|
+
tags: ["fips"],
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
hostname: "supportapp-fips.{region}.api.aws",
|
|
42
|
+
tags: ["dualstack", "fips"],
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
hostname: "supportapp.{region}.api.aws",
|
|
46
|
+
tags: ["dualstack"],
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
},
|
|
50
|
+
"aws-cn": {
|
|
51
|
+
regions: ["cn-north-1", "cn-northwest-1"],
|
|
52
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
53
|
+
variants: [
|
|
54
|
+
{
|
|
55
|
+
hostname: "supportapp.{region}.amazonaws.com.cn",
|
|
56
|
+
tags: [],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
hostname: "supportapp-fips.{region}.amazonaws.com.cn",
|
|
60
|
+
tags: ["fips"],
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
hostname: "supportapp-fips.{region}.api.amazonwebservices.com.cn",
|
|
64
|
+
tags: ["dualstack", "fips"],
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
hostname: "supportapp.{region}.api.amazonwebservices.com.cn",
|
|
68
|
+
tags: ["dualstack"],
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
},
|
|
72
|
+
"aws-iso": {
|
|
73
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
74
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
75
|
+
variants: [
|
|
76
|
+
{
|
|
77
|
+
hostname: "supportapp.{region}.c2s.ic.gov",
|
|
78
|
+
tags: [],
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
hostname: "supportapp-fips.{region}.c2s.ic.gov",
|
|
82
|
+
tags: ["fips"],
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
},
|
|
86
|
+
"aws-iso-b": {
|
|
87
|
+
regions: ["us-isob-east-1"],
|
|
88
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
89
|
+
variants: [
|
|
90
|
+
{
|
|
91
|
+
hostname: "supportapp.{region}.sc2s.sgov.gov",
|
|
92
|
+
tags: [],
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
hostname: "supportapp-fips.{region}.sc2s.sgov.gov",
|
|
96
|
+
tags: ["fips"],
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
},
|
|
100
|
+
"aws-us-gov": {
|
|
101
|
+
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
102
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
103
|
+
variants: [
|
|
104
|
+
{
|
|
105
|
+
hostname: "supportapp.{region}.amazonaws.com",
|
|
106
|
+
tags: [],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
hostname: "supportapp-fips.{region}.amazonaws.com",
|
|
110
|
+
tags: ["fips"],
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
hostname: "supportapp-fips.{region}.api.aws",
|
|
114
|
+
tags: ["dualstack", "fips"],
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
hostname: "supportapp.{region}.api.aws",
|
|
118
|
+
tags: ["dualstack"],
|
|
119
|
+
},
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
};
|
|
123
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
124
|
+
return __generator(this, function (_a) {
|
|
125
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "supportapp", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
126
|
+
});
|
|
127
|
+
}); };
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var SupportAppServiceException = (function (_super) {
|
|
4
|
+
__extends(SupportAppServiceException, _super);
|
|
5
|
+
function SupportAppServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, SupportAppServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return SupportAppServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { SupportAppServiceException };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
|
+
import { SupportAppServiceException as __BaseException } from "./SupportAppServiceException";
|
|
3
|
+
var AccessDeniedException = (function (_super) {
|
|
4
|
+
__extends(AccessDeniedException, _super);
|
|
5
|
+
function AccessDeniedException(opts) {
|
|
6
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
7
|
+
_this.name = "AccessDeniedException";
|
|
8
|
+
_this.$fault = "client";
|
|
9
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
10
|
+
return _this;
|
|
11
|
+
}
|
|
12
|
+
return AccessDeniedException;
|
|
13
|
+
}(__BaseException));
|
|
14
|
+
export { AccessDeniedException };
|
|
15
|
+
var ConflictException = (function (_super) {
|
|
16
|
+
__extends(ConflictException, _super);
|
|
17
|
+
function ConflictException(opts) {
|
|
18
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
19
|
+
_this.name = "ConflictException";
|
|
20
|
+
_this.$fault = "client";
|
|
21
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
22
|
+
return _this;
|
|
23
|
+
}
|
|
24
|
+
return ConflictException;
|
|
25
|
+
}(__BaseException));
|
|
26
|
+
export { ConflictException };
|
|
27
|
+
export var NotificationSeverityLevel;
|
|
28
|
+
(function (NotificationSeverityLevel) {
|
|
29
|
+
NotificationSeverityLevel["ALL"] = "all";
|
|
30
|
+
NotificationSeverityLevel["HIGH"] = "high";
|
|
31
|
+
NotificationSeverityLevel["NONE"] = "none";
|
|
32
|
+
})(NotificationSeverityLevel || (NotificationSeverityLevel = {}));
|
|
33
|
+
var InternalServerException = (function (_super) {
|
|
34
|
+
__extends(InternalServerException, _super);
|
|
35
|
+
function InternalServerException(opts) {
|
|
36
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
37
|
+
_this.name = "InternalServerException";
|
|
38
|
+
_this.$fault = "server";
|
|
39
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
40
|
+
return _this;
|
|
41
|
+
}
|
|
42
|
+
return InternalServerException;
|
|
43
|
+
}(__BaseException));
|
|
44
|
+
export { InternalServerException };
|
|
45
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
46
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
47
|
+
function ServiceQuotaExceededException(opts) {
|
|
48
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
49
|
+
_this.name = "ServiceQuotaExceededException";
|
|
50
|
+
_this.$fault = "client";
|
|
51
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
52
|
+
return _this;
|
|
53
|
+
}
|
|
54
|
+
return ServiceQuotaExceededException;
|
|
55
|
+
}(__BaseException));
|
|
56
|
+
export { ServiceQuotaExceededException };
|
|
57
|
+
var ValidationException = (function (_super) {
|
|
58
|
+
__extends(ValidationException, _super);
|
|
59
|
+
function ValidationException(opts) {
|
|
60
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
61
|
+
_this.name = "ValidationException";
|
|
62
|
+
_this.$fault = "client";
|
|
63
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
64
|
+
return _this;
|
|
65
|
+
}
|
|
66
|
+
return ValidationException;
|
|
67
|
+
}(__BaseException));
|
|
68
|
+
export { ValidationException };
|
|
69
|
+
var ResourceNotFoundException = (function (_super) {
|
|
70
|
+
__extends(ResourceNotFoundException, _super);
|
|
71
|
+
function ResourceNotFoundException(opts) {
|
|
72
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
73
|
+
_this.name = "ResourceNotFoundException";
|
|
74
|
+
_this.$fault = "client";
|
|
75
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
76
|
+
return _this;
|
|
77
|
+
}
|
|
78
|
+
return ResourceNotFoundException;
|
|
79
|
+
}(__BaseException));
|
|
80
|
+
export { ResourceNotFoundException };
|
|
81
|
+
export var CreateSlackChannelConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
82
|
+
export var CreateSlackChannelConfigurationResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
83
|
+
export var DeleteAccountAliasRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
84
|
+
export var DeleteAccountAliasResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
85
|
+
export var DeleteSlackChannelConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
86
|
+
export var DeleteSlackChannelConfigurationResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
87
|
+
export var DeleteSlackWorkspaceConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
88
|
+
export var DeleteSlackWorkspaceConfigurationResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
89
|
+
export var GetAccountAliasRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
90
|
+
export var GetAccountAliasResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
91
|
+
export var ListSlackChannelConfigurationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
92
|
+
export var SlackChannelConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
|
+
export var ListSlackChannelConfigurationsResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
94
|
+
export var ListSlackWorkspaceConfigurationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
95
|
+
export var SlackWorkspaceConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
96
|
+
export var ListSlackWorkspaceConfigurationsResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
97
|
+
export var PutAccountAliasRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
98
|
+
export var PutAccountAliasResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
99
|
+
export var UpdateSlackChannelConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
100
|
+
export var UpdateSlackChannelConfigurationResultFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListSlackChannelConfigurationsCommand, } from "../commands/ListSlackChannelConfigurationsCommand";
|
|
3
|
+
import { SupportApp } from "../SupportApp";
|
|
4
|
+
import { SupportAppClient } from "../SupportAppClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListSlackChannelConfigurationsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listSlackChannelConfigurations.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListSlackChannelConfigurations(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListSlackChannelConfigurations_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
if (!(config.client instanceof SupportApp)) return [3, 3];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
|
+
case 2:
|
|
52
|
+
page = _a.sent();
|
|
53
|
+
return [3, 6];
|
|
54
|
+
case 3:
|
|
55
|
+
if (!(config.client instanceof SupportAppClient)) return [3, 5];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
|
+
case 4:
|
|
58
|
+
page = _a.sent();
|
|
59
|
+
return [3, 6];
|
|
60
|
+
case 5: throw new Error("Invalid client, expected SupportApp | SupportAppClient");
|
|
61
|
+
case 6: return [4, __await(page)];
|
|
62
|
+
case 7: return [4, _a.sent()];
|
|
63
|
+
case 8:
|
|
64
|
+
_a.sent();
|
|
65
|
+
prevToken = token;
|
|
66
|
+
token = page.nextToken;
|
|
67
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListSlackWorkspaceConfigurationsCommand, } from "../commands/ListSlackWorkspaceConfigurationsCommand";
|
|
3
|
+
import { SupportApp } from "../SupportApp";
|
|
4
|
+
import { SupportAppClient } from "../SupportAppClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListSlackWorkspaceConfigurationsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listSlackWorkspaceConfigurations.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListSlackWorkspaceConfigurations(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListSlackWorkspaceConfigurations_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
if (!(config.client instanceof SupportApp)) return [3, 3];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
|
+
case 2:
|
|
52
|
+
page = _a.sent();
|
|
53
|
+
return [3, 6];
|
|
54
|
+
case 3:
|
|
55
|
+
if (!(config.client instanceof SupportAppClient)) return [3, 5];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
|
+
case 4:
|
|
58
|
+
page = _a.sent();
|
|
59
|
+
return [3, 6];
|
|
60
|
+
case 5: throw new Error("Invalid client, expected SupportApp | SupportAppClient");
|
|
61
|
+
case 6: return [4, __await(page)];
|
|
62
|
+
case 7: return [4, _a.sent()];
|
|
63
|
+
case 8:
|
|
64
|
+
_a.sent();
|
|
65
|
+
prevToken = token;
|
|
66
|
+
token = page.nextToken;
|
|
67
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|