@aws-sdk/client-support-app 3.183.0 → 3.185.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/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/SupportApp.js +45 -38
- package/dist-es/SupportAppClient.js +28 -22
- package/dist-es/commands/CreateSlackChannelConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteAccountAliasCommand.js +28 -21
- package/dist-es/commands/DeleteSlackChannelConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteSlackWorkspaceConfigurationCommand.js +28 -21
- package/dist-es/commands/GetAccountAliasCommand.js +28 -21
- package/dist-es/commands/ListSlackChannelConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListSlackWorkspaceConfigurationsCommand.js +28 -21
- package/dist-es/commands/PutAccountAliasCommand.js +28 -21
- package/dist-es/commands/UpdateSlackChannelConfigurationCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SupportAppServiceException.js +10 -5
- package/dist-es/models/models_0.js +87 -126
- package/dist-es/pagination/ListSlackChannelConfigurationsPaginator.js +67 -24
- package/dist-es/pagination/ListSlackWorkspaceConfigurationsPaginator.js +67 -24
- package/dist-es/protocols/Aws_restJson1.js +926 -663
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListSlackChannelConfigurationsRequestFilterSensitiveLog, ListSlackChannelConfigurationsResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListSlackChannelConfigurationsCommand, serializeAws_restJson1ListSlackChannelConfigurationsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListSlackChannelConfigurationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
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,
|
|
20
23
|
inputFilterSensitiveLog: ListSlackChannelConfigurationsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListSlackChannelConfigurationsResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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) {
|
|
27
32
|
return serializeAws_restJson1ListSlackChannelConfigurationsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListSlackChannelConfigurationsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListSlackChannelConfigurationsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListSlackChannelConfigurationsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListSlackChannelConfigurationsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListSlackWorkspaceConfigurationsRequestFilterSensitiveLog, ListSlackWorkspaceConfigurationsResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListSlackWorkspaceConfigurationsCommand, serializeAws_restJson1ListSlackWorkspaceConfigurationsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListSlackWorkspaceConfigurationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
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,
|
|
20
23
|
inputFilterSensitiveLog: ListSlackWorkspaceConfigurationsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListSlackWorkspaceConfigurationsResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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) {
|
|
27
32
|
return serializeAws_restJson1ListSlackWorkspaceConfigurationsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListSlackWorkspaceConfigurationsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListSlackWorkspaceConfigurationsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListSlackWorkspaceConfigurationsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListSlackWorkspaceConfigurationsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { PutAccountAliasRequestFilterSensitiveLog, PutAccountAliasResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1PutAccountAliasCommand, serializeAws_restJson1PutAccountAliasCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
PutAccountAliasCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
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,
|
|
20
23
|
inputFilterSensitiveLog: PutAccountAliasRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: PutAccountAliasResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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) {
|
|
27
32
|
return serializeAws_restJson1PutAccountAliasCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
PutAccountAliasCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1PutAccountAliasCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return PutAccountAliasCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { PutAccountAliasCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateSlackChannelConfigurationRequestFilterSensitiveLog, UpdateSlackChannelConfigurationResultFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1UpdateSlackChannelConfigurationCommand, serializeAws_restJson1UpdateSlackChannelConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateSlackChannelConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
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,
|
|
20
23
|
inputFilterSensitiveLog: UpdateSlackChannelConfigurationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateSlackChannelConfigurationResultFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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) {
|
|
27
32
|
return serializeAws_restJson1UpdateSlackChannelConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateSlackChannelConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1UpdateSlackChannelConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateSlackChannelConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateSlackChannelConfigurationCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
var regionHash = {};
|
|
4
|
+
var partitionHash = {
|
|
4
5
|
aws: {
|
|
5
6
|
regions: [
|
|
6
7
|
"af-south-1",
|
|
@@ -120,9 +121,8 @@ const partitionHash = {
|
|
|
120
121
|
],
|
|
121
122
|
},
|
|
122
123
|
};
|
|
123
|
-
export
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
});
|
|
124
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
125
|
+
return __generator(this, function (_a) {
|
|
126
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "supportapp", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
127
|
+
});
|
|
128
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return SupportAppServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { SupportAppServiceException };
|
|
@@ -1,139 +1,100 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { SupportAppServiceException as __BaseException } from "./SupportAppServiceException";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
this.$fault = "client";
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
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;
|
|
12
11
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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;
|
|
24
23
|
}
|
|
25
|
-
|
|
24
|
+
return ConflictException;
|
|
25
|
+
}(__BaseException));
|
|
26
|
+
export { ConflictException };
|
|
26
27
|
export var NotificationSeverityLevel;
|
|
27
28
|
(function (NotificationSeverityLevel) {
|
|
28
29
|
NotificationSeverityLevel["ALL"] = "all";
|
|
29
30
|
NotificationSeverityLevel["HIGH"] = "high";
|
|
30
31
|
NotificationSeverityLevel["NONE"] = "none";
|
|
31
32
|
})(NotificationSeverityLevel || (NotificationSeverityLevel = {}));
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
this.$fault = "server";
|
|
41
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
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;
|
|
42
41
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
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;
|
|
54
53
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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;
|
|
66
65
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
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;
|
|
78
77
|
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
});
|
|
83
|
-
export
|
|
84
|
-
|
|
85
|
-
});
|
|
86
|
-
export
|
|
87
|
-
|
|
88
|
-
});
|
|
89
|
-
export
|
|
90
|
-
|
|
91
|
-
});
|
|
92
|
-
export
|
|
93
|
-
|
|
94
|
-
});
|
|
95
|
-
export
|
|
96
|
-
|
|
97
|
-
});
|
|
98
|
-
export
|
|
99
|
-
|
|
100
|
-
});
|
|
101
|
-
export
|
|
102
|
-
...obj,
|
|
103
|
-
});
|
|
104
|
-
export const GetAccountAliasRequestFilterSensitiveLog = (obj) => ({
|
|
105
|
-
...obj,
|
|
106
|
-
});
|
|
107
|
-
export const GetAccountAliasResultFilterSensitiveLog = (obj) => ({
|
|
108
|
-
...obj,
|
|
109
|
-
});
|
|
110
|
-
export const ListSlackChannelConfigurationsRequestFilterSensitiveLog = (obj) => ({
|
|
111
|
-
...obj,
|
|
112
|
-
});
|
|
113
|
-
export const SlackChannelConfigurationFilterSensitiveLog = (obj) => ({
|
|
114
|
-
...obj,
|
|
115
|
-
});
|
|
116
|
-
export const ListSlackChannelConfigurationsResultFilterSensitiveLog = (obj) => ({
|
|
117
|
-
...obj,
|
|
118
|
-
});
|
|
119
|
-
export const ListSlackWorkspaceConfigurationsRequestFilterSensitiveLog = (obj) => ({
|
|
120
|
-
...obj,
|
|
121
|
-
});
|
|
122
|
-
export const SlackWorkspaceConfigurationFilterSensitiveLog = (obj) => ({
|
|
123
|
-
...obj,
|
|
124
|
-
});
|
|
125
|
-
export const ListSlackWorkspaceConfigurationsResultFilterSensitiveLog = (obj) => ({
|
|
126
|
-
...obj,
|
|
127
|
-
});
|
|
128
|
-
export const PutAccountAliasRequestFilterSensitiveLog = (obj) => ({
|
|
129
|
-
...obj,
|
|
130
|
-
});
|
|
131
|
-
export const PutAccountAliasResultFilterSensitiveLog = (obj) => ({
|
|
132
|
-
...obj,
|
|
133
|
-
});
|
|
134
|
-
export const UpdateSlackChannelConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
135
|
-
...obj,
|
|
136
|
-
});
|
|
137
|
-
export const UpdateSlackChannelConfigurationResultFilterSensitiveLog = (obj) => ({
|
|
138
|
-
...obj,
|
|
139
|
-
});
|
|
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)); };
|
|
@@ -1,31 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListSlackChannelConfigurationsCommand, } from "../commands/ListSlackChannelConfigurationsCommand";
|
|
2
3
|
import { SupportApp } from "../SupportApp";
|
|
3
4
|
import { SupportAppClient } from "../SupportAppClient";
|
|
4
|
-
|
|
5
|
-
|
|
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
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
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
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.nextToken = token;
|
|
16
|
-
if (config.client instanceof SupportApp) {
|
|
17
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else if (config.client instanceof SupportAppClient) {
|
|
20
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
21
|
-
}
|
|
22
|
-
else {
|
|
23
|
-
throw new Error("Invalid client, expected SupportApp | SupportAppClient");
|
|
24
|
-
}
|
|
25
|
-
yield page;
|
|
26
|
-
const prevToken = token;
|
|
27
|
-
token = page.nextToken;
|
|
28
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListSlackChannelConfigurations(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
29
37
|
}
|
|
30
|
-
return
|
|
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
|
+
});
|
|
31
74
|
}
|