@aws-sdk/client-chime-sdk-identity 3.489.0 → 3.495.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/dist-cjs/ChimeSDKIdentity.js +1 -71
- package/dist-cjs/ChimeSDKIdentityClient.js +1 -43
- package/dist-cjs/commands/CreateAppInstanceAdminCommand.js +1 -29
- package/dist-cjs/commands/CreateAppInstanceBotCommand.js +1 -29
- package/dist-cjs/commands/CreateAppInstanceCommand.js +1 -29
- package/dist-cjs/commands/CreateAppInstanceUserCommand.js +1 -29
- package/dist-cjs/commands/DeleteAppInstanceAdminCommand.js +1 -28
- package/dist-cjs/commands/DeleteAppInstanceBotCommand.js +1 -28
- package/dist-cjs/commands/DeleteAppInstanceCommand.js +1 -28
- package/dist-cjs/commands/DeleteAppInstanceUserCommand.js +1 -28
- package/dist-cjs/commands/DeregisterAppInstanceUserEndpointCommand.js +1 -28
- package/dist-cjs/commands/DescribeAppInstanceAdminCommand.js +1 -29
- package/dist-cjs/commands/DescribeAppInstanceBotCommand.js +1 -29
- package/dist-cjs/commands/DescribeAppInstanceCommand.js +1 -29
- package/dist-cjs/commands/DescribeAppInstanceUserCommand.js +1 -29
- package/dist-cjs/commands/DescribeAppInstanceUserEndpointCommand.js +1 -29
- package/dist-cjs/commands/GetAppInstanceRetentionSettingsCommand.js +1 -28
- package/dist-cjs/commands/ListAppInstanceAdminsCommand.js +1 -29
- package/dist-cjs/commands/ListAppInstanceBotsCommand.js +1 -29
- package/dist-cjs/commands/ListAppInstanceUserEndpointsCommand.js +1 -29
- package/dist-cjs/commands/ListAppInstanceUsersCommand.js +1 -29
- package/dist-cjs/commands/ListAppInstancesCommand.js +1 -29
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -29
- package/dist-cjs/commands/PutAppInstanceRetentionSettingsCommand.js +1 -28
- package/dist-cjs/commands/PutAppInstanceUserExpirationSettingsCommand.js +1 -28
- package/dist-cjs/commands/RegisterAppInstanceUserEndpointCommand.js +1 -29
- package/dist-cjs/commands/TagResourceCommand.js +1 -29
- package/dist-cjs/commands/UntagResourceCommand.js +1 -29
- package/dist-cjs/commands/UpdateAppInstanceBotCommand.js +1 -29
- package/dist-cjs/commands/UpdateAppInstanceCommand.js +1 -29
- package/dist-cjs/commands/UpdateAppInstanceUserCommand.js +1 -29
- package/dist-cjs/commands/UpdateAppInstanceUserEndpointCommand.js +1 -29
- package/dist-cjs/commands/index.js +1 -33
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3484 -11
- package/dist-cjs/models/ChimeSDKIdentityServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -428
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAppInstanceAdminsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAppInstanceBotsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAppInstanceUserEndpointsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAppInstanceUsersPaginator.js +1 -7
- package/dist-cjs/pagination/ListAppInstancesPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -9
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2205
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,3485 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AllowMessages: () => AllowMessages,
|
|
25
|
+
AppInstanceAdminFilterSensitiveLog: () => AppInstanceAdminFilterSensitiveLog,
|
|
26
|
+
AppInstanceAdminSummaryFilterSensitiveLog: () => AppInstanceAdminSummaryFilterSensitiveLog,
|
|
27
|
+
AppInstanceBotFilterSensitiveLog: () => AppInstanceBotFilterSensitiveLog,
|
|
28
|
+
AppInstanceBotSummaryFilterSensitiveLog: () => AppInstanceBotSummaryFilterSensitiveLog,
|
|
29
|
+
AppInstanceFilterSensitiveLog: () => AppInstanceFilterSensitiveLog,
|
|
30
|
+
AppInstanceSummaryFilterSensitiveLog: () => AppInstanceSummaryFilterSensitiveLog,
|
|
31
|
+
AppInstanceUserEndpointFilterSensitiveLog: () => AppInstanceUserEndpointFilterSensitiveLog,
|
|
32
|
+
AppInstanceUserEndpointSummaryFilterSensitiveLog: () => AppInstanceUserEndpointSummaryFilterSensitiveLog,
|
|
33
|
+
AppInstanceUserEndpointType: () => AppInstanceUserEndpointType,
|
|
34
|
+
AppInstanceUserFilterSensitiveLog: () => AppInstanceUserFilterSensitiveLog,
|
|
35
|
+
AppInstanceUserSummaryFilterSensitiveLog: () => AppInstanceUserSummaryFilterSensitiveLog,
|
|
36
|
+
BadRequestException: () => BadRequestException,
|
|
37
|
+
ChimeSDKIdentity: () => ChimeSDKIdentity,
|
|
38
|
+
ChimeSDKIdentityClient: () => ChimeSDKIdentityClient,
|
|
39
|
+
ChimeSDKIdentityServiceException: () => ChimeSDKIdentityServiceException,
|
|
40
|
+
ConflictException: () => ConflictException,
|
|
41
|
+
CreateAppInstanceAdminCommand: () => CreateAppInstanceAdminCommand,
|
|
42
|
+
CreateAppInstanceAdminResponseFilterSensitiveLog: () => CreateAppInstanceAdminResponseFilterSensitiveLog,
|
|
43
|
+
CreateAppInstanceBotCommand: () => CreateAppInstanceBotCommand,
|
|
44
|
+
CreateAppInstanceBotRequestFilterSensitiveLog: () => CreateAppInstanceBotRequestFilterSensitiveLog,
|
|
45
|
+
CreateAppInstanceCommand: () => CreateAppInstanceCommand,
|
|
46
|
+
CreateAppInstanceRequestFilterSensitiveLog: () => CreateAppInstanceRequestFilterSensitiveLog,
|
|
47
|
+
CreateAppInstanceUserCommand: () => CreateAppInstanceUserCommand,
|
|
48
|
+
CreateAppInstanceUserRequestFilterSensitiveLog: () => CreateAppInstanceUserRequestFilterSensitiveLog,
|
|
49
|
+
DeleteAppInstanceAdminCommand: () => DeleteAppInstanceAdminCommand,
|
|
50
|
+
DeleteAppInstanceBotCommand: () => DeleteAppInstanceBotCommand,
|
|
51
|
+
DeleteAppInstanceCommand: () => DeleteAppInstanceCommand,
|
|
52
|
+
DeleteAppInstanceUserCommand: () => DeleteAppInstanceUserCommand,
|
|
53
|
+
DeregisterAppInstanceUserEndpointCommand: () => DeregisterAppInstanceUserEndpointCommand,
|
|
54
|
+
DescribeAppInstanceAdminCommand: () => DescribeAppInstanceAdminCommand,
|
|
55
|
+
DescribeAppInstanceAdminResponseFilterSensitiveLog: () => DescribeAppInstanceAdminResponseFilterSensitiveLog,
|
|
56
|
+
DescribeAppInstanceBotCommand: () => DescribeAppInstanceBotCommand,
|
|
57
|
+
DescribeAppInstanceBotResponseFilterSensitiveLog: () => DescribeAppInstanceBotResponseFilterSensitiveLog,
|
|
58
|
+
DescribeAppInstanceCommand: () => DescribeAppInstanceCommand,
|
|
59
|
+
DescribeAppInstanceResponseFilterSensitiveLog: () => DescribeAppInstanceResponseFilterSensitiveLog,
|
|
60
|
+
DescribeAppInstanceUserCommand: () => DescribeAppInstanceUserCommand,
|
|
61
|
+
DescribeAppInstanceUserEndpointCommand: () => DescribeAppInstanceUserEndpointCommand,
|
|
62
|
+
DescribeAppInstanceUserEndpointResponseFilterSensitiveLog: () => DescribeAppInstanceUserEndpointResponseFilterSensitiveLog,
|
|
63
|
+
DescribeAppInstanceUserResponseFilterSensitiveLog: () => DescribeAppInstanceUserResponseFilterSensitiveLog,
|
|
64
|
+
EndpointAttributesFilterSensitiveLog: () => EndpointAttributesFilterSensitiveLog,
|
|
65
|
+
EndpointStatus: () => EndpointStatus,
|
|
66
|
+
EndpointStatusReason: () => EndpointStatusReason,
|
|
67
|
+
ErrorCode: () => ErrorCode,
|
|
68
|
+
ExpirationCriterion: () => ExpirationCriterion,
|
|
69
|
+
ForbiddenException: () => ForbiddenException,
|
|
70
|
+
GetAppInstanceRetentionSettingsCommand: () => GetAppInstanceRetentionSettingsCommand,
|
|
71
|
+
IdentityFilterSensitiveLog: () => IdentityFilterSensitiveLog,
|
|
72
|
+
ListAppInstanceAdminsCommand: () => ListAppInstanceAdminsCommand,
|
|
73
|
+
ListAppInstanceAdminsRequestFilterSensitiveLog: () => ListAppInstanceAdminsRequestFilterSensitiveLog,
|
|
74
|
+
ListAppInstanceAdminsResponseFilterSensitiveLog: () => ListAppInstanceAdminsResponseFilterSensitiveLog,
|
|
75
|
+
ListAppInstanceBotsCommand: () => ListAppInstanceBotsCommand,
|
|
76
|
+
ListAppInstanceBotsRequestFilterSensitiveLog: () => ListAppInstanceBotsRequestFilterSensitiveLog,
|
|
77
|
+
ListAppInstanceBotsResponseFilterSensitiveLog: () => ListAppInstanceBotsResponseFilterSensitiveLog,
|
|
78
|
+
ListAppInstanceUserEndpointsCommand: () => ListAppInstanceUserEndpointsCommand,
|
|
79
|
+
ListAppInstanceUserEndpointsRequestFilterSensitiveLog: () => ListAppInstanceUserEndpointsRequestFilterSensitiveLog,
|
|
80
|
+
ListAppInstanceUserEndpointsResponseFilterSensitiveLog: () => ListAppInstanceUserEndpointsResponseFilterSensitiveLog,
|
|
81
|
+
ListAppInstanceUsersCommand: () => ListAppInstanceUsersCommand,
|
|
82
|
+
ListAppInstanceUsersRequestFilterSensitiveLog: () => ListAppInstanceUsersRequestFilterSensitiveLog,
|
|
83
|
+
ListAppInstanceUsersResponseFilterSensitiveLog: () => ListAppInstanceUsersResponseFilterSensitiveLog,
|
|
84
|
+
ListAppInstancesCommand: () => ListAppInstancesCommand,
|
|
85
|
+
ListAppInstancesRequestFilterSensitiveLog: () => ListAppInstancesRequestFilterSensitiveLog,
|
|
86
|
+
ListAppInstancesResponseFilterSensitiveLog: () => ListAppInstancesResponseFilterSensitiveLog,
|
|
87
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
88
|
+
ListTagsForResourceResponseFilterSensitiveLog: () => ListTagsForResourceResponseFilterSensitiveLog,
|
|
89
|
+
NotFoundException: () => NotFoundException,
|
|
90
|
+
PutAppInstanceRetentionSettingsCommand: () => PutAppInstanceRetentionSettingsCommand,
|
|
91
|
+
PutAppInstanceUserExpirationSettingsCommand: () => PutAppInstanceUserExpirationSettingsCommand,
|
|
92
|
+
RegisterAppInstanceUserEndpointCommand: () => RegisterAppInstanceUserEndpointCommand,
|
|
93
|
+
RegisterAppInstanceUserEndpointRequestFilterSensitiveLog: () => RegisterAppInstanceUserEndpointRequestFilterSensitiveLog,
|
|
94
|
+
ResourceLimitExceededException: () => ResourceLimitExceededException,
|
|
95
|
+
RespondsTo: () => RespondsTo,
|
|
96
|
+
ServiceFailureException: () => ServiceFailureException,
|
|
97
|
+
ServiceUnavailableException: () => ServiceUnavailableException,
|
|
98
|
+
StandardMessages: () => StandardMessages,
|
|
99
|
+
TagFilterSensitiveLog: () => TagFilterSensitiveLog,
|
|
100
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
101
|
+
TagResourceRequestFilterSensitiveLog: () => TagResourceRequestFilterSensitiveLog,
|
|
102
|
+
TargetedMessages: () => TargetedMessages,
|
|
103
|
+
ThrottledClientException: () => ThrottledClientException,
|
|
104
|
+
UnauthorizedClientException: () => UnauthorizedClientException,
|
|
105
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
106
|
+
UntagResourceRequestFilterSensitiveLog: () => UntagResourceRequestFilterSensitiveLog,
|
|
107
|
+
UpdateAppInstanceBotCommand: () => UpdateAppInstanceBotCommand,
|
|
108
|
+
UpdateAppInstanceBotRequestFilterSensitiveLog: () => UpdateAppInstanceBotRequestFilterSensitiveLog,
|
|
109
|
+
UpdateAppInstanceCommand: () => UpdateAppInstanceCommand,
|
|
110
|
+
UpdateAppInstanceRequestFilterSensitiveLog: () => UpdateAppInstanceRequestFilterSensitiveLog,
|
|
111
|
+
UpdateAppInstanceUserCommand: () => UpdateAppInstanceUserCommand,
|
|
112
|
+
UpdateAppInstanceUserEndpointCommand: () => UpdateAppInstanceUserEndpointCommand,
|
|
113
|
+
UpdateAppInstanceUserEndpointRequestFilterSensitiveLog: () => UpdateAppInstanceUserEndpointRequestFilterSensitiveLog,
|
|
114
|
+
UpdateAppInstanceUserRequestFilterSensitiveLog: () => UpdateAppInstanceUserRequestFilterSensitiveLog,
|
|
115
|
+
__Client: () => import_smithy_client.Client,
|
|
116
|
+
paginateListAppInstanceAdmins: () => paginateListAppInstanceAdmins,
|
|
117
|
+
paginateListAppInstanceBots: () => paginateListAppInstanceBots,
|
|
118
|
+
paginateListAppInstanceUserEndpoints: () => paginateListAppInstanceUserEndpoints,
|
|
119
|
+
paginateListAppInstanceUsers: () => paginateListAppInstanceUsers,
|
|
120
|
+
paginateListAppInstances: () => paginateListAppInstances
|
|
121
|
+
});
|
|
122
|
+
module.exports = __toCommonJS(src_exports);
|
|
123
|
+
|
|
124
|
+
// src/ChimeSDKIdentityClient.ts
|
|
125
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
126
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
127
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
128
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
129
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
130
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
131
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
132
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
133
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
// src/endpoint/EndpointParameters.ts
|
|
137
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
138
|
+
return {
|
|
139
|
+
...options,
|
|
140
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
141
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
142
|
+
defaultSigningName: "chime"
|
|
143
|
+
};
|
|
144
|
+
}, "resolveClientEndpointParameters");
|
|
145
|
+
var commonParams = {
|
|
146
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
147
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
148
|
+
Region: { type: "builtInParams", name: "region" },
|
|
149
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
// src/ChimeSDKIdentityClient.ts
|
|
153
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
154
|
+
|
|
155
|
+
// src/runtimeExtensions.ts
|
|
156
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
157
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
158
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
159
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
160
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
161
|
+
const extensionConfiguration = {
|
|
162
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
163
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
164
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
165
|
+
};
|
|
166
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
167
|
+
return {
|
|
168
|
+
...runtimeConfig,
|
|
169
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
170
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
171
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
172
|
+
};
|
|
173
|
+
}, "resolveRuntimeExtensions");
|
|
174
|
+
|
|
175
|
+
// src/ChimeSDKIdentityClient.ts
|
|
176
|
+
var _ChimeSDKIdentityClient = class _ChimeSDKIdentityClient extends import_smithy_client.Client {
|
|
177
|
+
constructor(...[configuration]) {
|
|
178
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
179
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
180
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
181
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
182
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
183
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
184
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
185
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
186
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
187
|
+
super(_config_8);
|
|
188
|
+
this.config = _config_8;
|
|
189
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
190
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
191
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
192
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
193
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
194
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
195
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
199
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
200
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
201
|
+
*/
|
|
202
|
+
destroy() {
|
|
203
|
+
super.destroy();
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
__name(_ChimeSDKIdentityClient, "ChimeSDKIdentityClient");
|
|
207
|
+
var ChimeSDKIdentityClient = _ChimeSDKIdentityClient;
|
|
208
|
+
|
|
209
|
+
// src/ChimeSDKIdentity.ts
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
// src/commands/CreateAppInstanceAdminCommand.ts
|
|
213
|
+
|
|
214
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
215
|
+
|
|
216
|
+
var import_types = require("@smithy/types");
|
|
217
|
+
|
|
218
|
+
// src/models/models_0.ts
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
// src/models/ChimeSDKIdentityServiceException.ts
|
|
222
|
+
|
|
223
|
+
var _ChimeSDKIdentityServiceException = class _ChimeSDKIdentityServiceException extends import_smithy_client.ServiceException {
|
|
224
|
+
/**
|
|
225
|
+
* @internal
|
|
226
|
+
*/
|
|
227
|
+
constructor(options) {
|
|
228
|
+
super(options);
|
|
229
|
+
Object.setPrototypeOf(this, _ChimeSDKIdentityServiceException.prototype);
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
__name(_ChimeSDKIdentityServiceException, "ChimeSDKIdentityServiceException");
|
|
233
|
+
var ChimeSDKIdentityServiceException = _ChimeSDKIdentityServiceException;
|
|
234
|
+
|
|
235
|
+
// src/models/models_0.ts
|
|
236
|
+
var AllowMessages = {
|
|
237
|
+
ALL: "ALL",
|
|
238
|
+
NONE: "NONE"
|
|
239
|
+
};
|
|
240
|
+
var StandardMessages = {
|
|
241
|
+
ALL: "ALL",
|
|
242
|
+
AUTO: "AUTO",
|
|
243
|
+
MENTIONS: "MENTIONS",
|
|
244
|
+
NONE: "NONE"
|
|
245
|
+
};
|
|
246
|
+
var TargetedMessages = {
|
|
247
|
+
ALL: "ALL",
|
|
248
|
+
NONE: "NONE"
|
|
249
|
+
};
|
|
250
|
+
var RespondsTo = {
|
|
251
|
+
STANDARD_MESSAGES: "STANDARD_MESSAGES"
|
|
252
|
+
};
|
|
253
|
+
var ExpirationCriterion = {
|
|
254
|
+
CREATED_TIMESTAMP: "CREATED_TIMESTAMP"
|
|
255
|
+
};
|
|
256
|
+
var EndpointStatus = {
|
|
257
|
+
ACTIVE: "ACTIVE",
|
|
258
|
+
INACTIVE: "INACTIVE"
|
|
259
|
+
};
|
|
260
|
+
var EndpointStatusReason = {
|
|
261
|
+
INVALID_DEVICE_TOKEN: "INVALID_DEVICE_TOKEN",
|
|
262
|
+
INVALID_PINPOINT_ARN: "INVALID_PINPOINT_ARN"
|
|
263
|
+
};
|
|
264
|
+
var AppInstanceUserEndpointType = {
|
|
265
|
+
APNS: "APNS",
|
|
266
|
+
APNS_SANDBOX: "APNS_SANDBOX",
|
|
267
|
+
GCM: "GCM"
|
|
268
|
+
};
|
|
269
|
+
var ErrorCode = {
|
|
270
|
+
AccessDenied: "AccessDenied",
|
|
271
|
+
BadRequest: "BadRequest",
|
|
272
|
+
Conflict: "Conflict",
|
|
273
|
+
Forbidden: "Forbidden",
|
|
274
|
+
NotFound: "NotFound",
|
|
275
|
+
PhoneNumberAssociationsExist: "PhoneNumberAssociationsExist",
|
|
276
|
+
PreconditionFailed: "PreconditionFailed",
|
|
277
|
+
ResourceLimitExceeded: "ResourceLimitExceeded",
|
|
278
|
+
ServiceFailure: "ServiceFailure",
|
|
279
|
+
ServiceUnavailable: "ServiceUnavailable",
|
|
280
|
+
Throttled: "Throttled",
|
|
281
|
+
Throttling: "Throttling",
|
|
282
|
+
Unauthorized: "Unauthorized",
|
|
283
|
+
Unprocessable: "Unprocessable",
|
|
284
|
+
VoiceConnectorGroupAssociationsExist: "VoiceConnectorGroupAssociationsExist"
|
|
285
|
+
};
|
|
286
|
+
var _BadRequestException = class _BadRequestException extends ChimeSDKIdentityServiceException {
|
|
287
|
+
/**
|
|
288
|
+
* @internal
|
|
289
|
+
*/
|
|
290
|
+
constructor(opts) {
|
|
291
|
+
super({
|
|
292
|
+
name: "BadRequestException",
|
|
293
|
+
$fault: "client",
|
|
294
|
+
...opts
|
|
295
|
+
});
|
|
296
|
+
this.name = "BadRequestException";
|
|
297
|
+
this.$fault = "client";
|
|
298
|
+
Object.setPrototypeOf(this, _BadRequestException.prototype);
|
|
299
|
+
this.Code = opts.Code;
|
|
300
|
+
this.Message = opts.Message;
|
|
301
|
+
}
|
|
302
|
+
};
|
|
303
|
+
__name(_BadRequestException, "BadRequestException");
|
|
304
|
+
var BadRequestException = _BadRequestException;
|
|
305
|
+
var _ConflictException = class _ConflictException extends ChimeSDKIdentityServiceException {
|
|
306
|
+
/**
|
|
307
|
+
* @internal
|
|
308
|
+
*/
|
|
309
|
+
constructor(opts) {
|
|
310
|
+
super({
|
|
311
|
+
name: "ConflictException",
|
|
312
|
+
$fault: "client",
|
|
313
|
+
...opts
|
|
314
|
+
});
|
|
315
|
+
this.name = "ConflictException";
|
|
316
|
+
this.$fault = "client";
|
|
317
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
318
|
+
this.Code = opts.Code;
|
|
319
|
+
this.Message = opts.Message;
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
__name(_ConflictException, "ConflictException");
|
|
323
|
+
var ConflictException = _ConflictException;
|
|
324
|
+
var _ForbiddenException = class _ForbiddenException extends ChimeSDKIdentityServiceException {
|
|
325
|
+
/**
|
|
326
|
+
* @internal
|
|
327
|
+
*/
|
|
328
|
+
constructor(opts) {
|
|
329
|
+
super({
|
|
330
|
+
name: "ForbiddenException",
|
|
331
|
+
$fault: "client",
|
|
332
|
+
...opts
|
|
333
|
+
});
|
|
334
|
+
this.name = "ForbiddenException";
|
|
335
|
+
this.$fault = "client";
|
|
336
|
+
Object.setPrototypeOf(this, _ForbiddenException.prototype);
|
|
337
|
+
this.Code = opts.Code;
|
|
338
|
+
this.Message = opts.Message;
|
|
339
|
+
}
|
|
340
|
+
};
|
|
341
|
+
__name(_ForbiddenException, "ForbiddenException");
|
|
342
|
+
var ForbiddenException = _ForbiddenException;
|
|
343
|
+
var _ResourceLimitExceededException = class _ResourceLimitExceededException extends ChimeSDKIdentityServiceException {
|
|
344
|
+
/**
|
|
345
|
+
* @internal
|
|
346
|
+
*/
|
|
347
|
+
constructor(opts) {
|
|
348
|
+
super({
|
|
349
|
+
name: "ResourceLimitExceededException",
|
|
350
|
+
$fault: "client",
|
|
351
|
+
...opts
|
|
352
|
+
});
|
|
353
|
+
this.name = "ResourceLimitExceededException";
|
|
354
|
+
this.$fault = "client";
|
|
355
|
+
Object.setPrototypeOf(this, _ResourceLimitExceededException.prototype);
|
|
356
|
+
this.Code = opts.Code;
|
|
357
|
+
this.Message = opts.Message;
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
__name(_ResourceLimitExceededException, "ResourceLimitExceededException");
|
|
361
|
+
var ResourceLimitExceededException = _ResourceLimitExceededException;
|
|
362
|
+
var _ServiceFailureException = class _ServiceFailureException extends ChimeSDKIdentityServiceException {
|
|
363
|
+
/**
|
|
364
|
+
* @internal
|
|
365
|
+
*/
|
|
366
|
+
constructor(opts) {
|
|
367
|
+
super({
|
|
368
|
+
name: "ServiceFailureException",
|
|
369
|
+
$fault: "server",
|
|
370
|
+
...opts
|
|
371
|
+
});
|
|
372
|
+
this.name = "ServiceFailureException";
|
|
373
|
+
this.$fault = "server";
|
|
374
|
+
Object.setPrototypeOf(this, _ServiceFailureException.prototype);
|
|
375
|
+
this.Code = opts.Code;
|
|
376
|
+
this.Message = opts.Message;
|
|
377
|
+
}
|
|
378
|
+
};
|
|
379
|
+
__name(_ServiceFailureException, "ServiceFailureException");
|
|
380
|
+
var ServiceFailureException = _ServiceFailureException;
|
|
381
|
+
var _ServiceUnavailableException = class _ServiceUnavailableException extends ChimeSDKIdentityServiceException {
|
|
382
|
+
/**
|
|
383
|
+
* @internal
|
|
384
|
+
*/
|
|
385
|
+
constructor(opts) {
|
|
386
|
+
super({
|
|
387
|
+
name: "ServiceUnavailableException",
|
|
388
|
+
$fault: "server",
|
|
389
|
+
...opts
|
|
390
|
+
});
|
|
391
|
+
this.name = "ServiceUnavailableException";
|
|
392
|
+
this.$fault = "server";
|
|
393
|
+
Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
|
|
394
|
+
this.Code = opts.Code;
|
|
395
|
+
this.Message = opts.Message;
|
|
396
|
+
}
|
|
397
|
+
};
|
|
398
|
+
__name(_ServiceUnavailableException, "ServiceUnavailableException");
|
|
399
|
+
var ServiceUnavailableException = _ServiceUnavailableException;
|
|
400
|
+
var _ThrottledClientException = class _ThrottledClientException extends ChimeSDKIdentityServiceException {
|
|
401
|
+
/**
|
|
402
|
+
* @internal
|
|
403
|
+
*/
|
|
404
|
+
constructor(opts) {
|
|
405
|
+
super({
|
|
406
|
+
name: "ThrottledClientException",
|
|
407
|
+
$fault: "client",
|
|
408
|
+
...opts
|
|
409
|
+
});
|
|
410
|
+
this.name = "ThrottledClientException";
|
|
411
|
+
this.$fault = "client";
|
|
412
|
+
Object.setPrototypeOf(this, _ThrottledClientException.prototype);
|
|
413
|
+
this.Code = opts.Code;
|
|
414
|
+
this.Message = opts.Message;
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
__name(_ThrottledClientException, "ThrottledClientException");
|
|
418
|
+
var ThrottledClientException = _ThrottledClientException;
|
|
419
|
+
var _UnauthorizedClientException = class _UnauthorizedClientException extends ChimeSDKIdentityServiceException {
|
|
420
|
+
/**
|
|
421
|
+
* @internal
|
|
422
|
+
*/
|
|
423
|
+
constructor(opts) {
|
|
424
|
+
super({
|
|
425
|
+
name: "UnauthorizedClientException",
|
|
426
|
+
$fault: "client",
|
|
427
|
+
...opts
|
|
428
|
+
});
|
|
429
|
+
this.name = "UnauthorizedClientException";
|
|
430
|
+
this.$fault = "client";
|
|
431
|
+
Object.setPrototypeOf(this, _UnauthorizedClientException.prototype);
|
|
432
|
+
this.Code = opts.Code;
|
|
433
|
+
this.Message = opts.Message;
|
|
434
|
+
}
|
|
435
|
+
};
|
|
436
|
+
__name(_UnauthorizedClientException, "UnauthorizedClientException");
|
|
437
|
+
var UnauthorizedClientException = _UnauthorizedClientException;
|
|
438
|
+
var _NotFoundException = class _NotFoundException extends ChimeSDKIdentityServiceException {
|
|
439
|
+
/**
|
|
440
|
+
* @internal
|
|
441
|
+
*/
|
|
442
|
+
constructor(opts) {
|
|
443
|
+
super({
|
|
444
|
+
name: "NotFoundException",
|
|
445
|
+
$fault: "client",
|
|
446
|
+
...opts
|
|
447
|
+
});
|
|
448
|
+
this.name = "NotFoundException";
|
|
449
|
+
this.$fault = "client";
|
|
450
|
+
Object.setPrototypeOf(this, _NotFoundException.prototype);
|
|
451
|
+
this.Code = opts.Code;
|
|
452
|
+
this.Message = opts.Message;
|
|
453
|
+
}
|
|
454
|
+
};
|
|
455
|
+
__name(_NotFoundException, "NotFoundException");
|
|
456
|
+
var NotFoundException = _NotFoundException;
|
|
457
|
+
var AppInstanceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
458
|
+
...obj,
|
|
459
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
460
|
+
...obj.Metadata && { Metadata: import_smithy_client.SENSITIVE_STRING }
|
|
461
|
+
}), "AppInstanceFilterSensitiveLog");
|
|
462
|
+
var IdentityFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
463
|
+
...obj,
|
|
464
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
|
|
465
|
+
}), "IdentityFilterSensitiveLog");
|
|
466
|
+
var AppInstanceAdminFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
467
|
+
...obj,
|
|
468
|
+
...obj.Admin && { Admin: IdentityFilterSensitiveLog(obj.Admin) }
|
|
469
|
+
}), "AppInstanceAdminFilterSensitiveLog");
|
|
470
|
+
var AppInstanceAdminSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
471
|
+
...obj,
|
|
472
|
+
...obj.Admin && { Admin: IdentityFilterSensitiveLog(obj.Admin) }
|
|
473
|
+
}), "AppInstanceAdminSummaryFilterSensitiveLog");
|
|
474
|
+
var AppInstanceBotFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
475
|
+
...obj,
|
|
476
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
477
|
+
...obj.Metadata && { Metadata: import_smithy_client.SENSITIVE_STRING }
|
|
478
|
+
}), "AppInstanceBotFilterSensitiveLog");
|
|
479
|
+
var AppInstanceBotSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
480
|
+
...obj,
|
|
481
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
482
|
+
...obj.Metadata && { Metadata: import_smithy_client.SENSITIVE_STRING }
|
|
483
|
+
}), "AppInstanceBotSummaryFilterSensitiveLog");
|
|
484
|
+
var AppInstanceSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
485
|
+
...obj,
|
|
486
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
487
|
+
...obj.Metadata && { Metadata: import_smithy_client.SENSITIVE_STRING }
|
|
488
|
+
}), "AppInstanceSummaryFilterSensitiveLog");
|
|
489
|
+
var AppInstanceUserFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
490
|
+
...obj,
|
|
491
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
492
|
+
...obj.Metadata && { Metadata: import_smithy_client.SENSITIVE_STRING }
|
|
493
|
+
}), "AppInstanceUserFilterSensitiveLog");
|
|
494
|
+
var EndpointAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
495
|
+
...obj,
|
|
496
|
+
...obj.DeviceToken && { DeviceToken: import_smithy_client.SENSITIVE_STRING },
|
|
497
|
+
...obj.VoipDeviceToken && { VoipDeviceToken: import_smithy_client.SENSITIVE_STRING }
|
|
498
|
+
}), "EndpointAttributesFilterSensitiveLog");
|
|
499
|
+
var AppInstanceUserEndpointFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
500
|
+
...obj,
|
|
501
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
502
|
+
...obj.EndpointAttributes && { EndpointAttributes: EndpointAttributesFilterSensitiveLog(obj.EndpointAttributes) }
|
|
503
|
+
}), "AppInstanceUserEndpointFilterSensitiveLog");
|
|
504
|
+
var AppInstanceUserEndpointSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
505
|
+
...obj,
|
|
506
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
|
|
507
|
+
}), "AppInstanceUserEndpointSummaryFilterSensitiveLog");
|
|
508
|
+
var AppInstanceUserSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
509
|
+
...obj,
|
|
510
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
511
|
+
...obj.Metadata && { Metadata: import_smithy_client.SENSITIVE_STRING }
|
|
512
|
+
}), "AppInstanceUserSummaryFilterSensitiveLog");
|
|
513
|
+
var TagFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
514
|
+
...obj,
|
|
515
|
+
...obj.Key && { Key: import_smithy_client.SENSITIVE_STRING },
|
|
516
|
+
...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }
|
|
517
|
+
}), "TagFilterSensitiveLog");
|
|
518
|
+
var CreateAppInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
519
|
+
...obj,
|
|
520
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
521
|
+
...obj.Metadata && { Metadata: import_smithy_client.SENSITIVE_STRING },
|
|
522
|
+
...obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
523
|
+
}), "CreateAppInstanceRequestFilterSensitiveLog");
|
|
524
|
+
var CreateAppInstanceAdminResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
525
|
+
...obj,
|
|
526
|
+
...obj.AppInstanceAdmin && { AppInstanceAdmin: IdentityFilterSensitiveLog(obj.AppInstanceAdmin) }
|
|
527
|
+
}), "CreateAppInstanceAdminResponseFilterSensitiveLog");
|
|
528
|
+
var CreateAppInstanceBotRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
529
|
+
...obj,
|
|
530
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
531
|
+
...obj.Metadata && { Metadata: import_smithy_client.SENSITIVE_STRING },
|
|
532
|
+
...obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
533
|
+
}), "CreateAppInstanceBotRequestFilterSensitiveLog");
|
|
534
|
+
var CreateAppInstanceUserRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
535
|
+
...obj,
|
|
536
|
+
...obj.AppInstanceUserId && { AppInstanceUserId: import_smithy_client.SENSITIVE_STRING },
|
|
537
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
538
|
+
...obj.Metadata && { Metadata: import_smithy_client.SENSITIVE_STRING },
|
|
539
|
+
...obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
540
|
+
}), "CreateAppInstanceUserRequestFilterSensitiveLog");
|
|
541
|
+
var DescribeAppInstanceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
542
|
+
...obj,
|
|
543
|
+
...obj.AppInstance && { AppInstance: AppInstanceFilterSensitiveLog(obj.AppInstance) }
|
|
544
|
+
}), "DescribeAppInstanceResponseFilterSensitiveLog");
|
|
545
|
+
var DescribeAppInstanceAdminResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
546
|
+
...obj,
|
|
547
|
+
...obj.AppInstanceAdmin && { AppInstanceAdmin: AppInstanceAdminFilterSensitiveLog(obj.AppInstanceAdmin) }
|
|
548
|
+
}), "DescribeAppInstanceAdminResponseFilterSensitiveLog");
|
|
549
|
+
var DescribeAppInstanceBotResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
550
|
+
...obj,
|
|
551
|
+
...obj.AppInstanceBot && { AppInstanceBot: AppInstanceBotFilterSensitiveLog(obj.AppInstanceBot) }
|
|
552
|
+
}), "DescribeAppInstanceBotResponseFilterSensitiveLog");
|
|
553
|
+
var DescribeAppInstanceUserResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
554
|
+
...obj,
|
|
555
|
+
...obj.AppInstanceUser && { AppInstanceUser: AppInstanceUserFilterSensitiveLog(obj.AppInstanceUser) }
|
|
556
|
+
}), "DescribeAppInstanceUserResponseFilterSensitiveLog");
|
|
557
|
+
var DescribeAppInstanceUserEndpointResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
558
|
+
...obj,
|
|
559
|
+
...obj.AppInstanceUserEndpoint && {
|
|
560
|
+
AppInstanceUserEndpoint: AppInstanceUserEndpointFilterSensitiveLog(obj.AppInstanceUserEndpoint)
|
|
561
|
+
}
|
|
562
|
+
}), "DescribeAppInstanceUserEndpointResponseFilterSensitiveLog");
|
|
563
|
+
var ListAppInstanceAdminsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
564
|
+
...obj,
|
|
565
|
+
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
566
|
+
}), "ListAppInstanceAdminsRequestFilterSensitiveLog");
|
|
567
|
+
var ListAppInstanceAdminsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
568
|
+
...obj,
|
|
569
|
+
...obj.AppInstanceAdmins && {
|
|
570
|
+
AppInstanceAdmins: obj.AppInstanceAdmins.map((item) => AppInstanceAdminSummaryFilterSensitiveLog(item))
|
|
571
|
+
},
|
|
572
|
+
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
573
|
+
}), "ListAppInstanceAdminsResponseFilterSensitiveLog");
|
|
574
|
+
var ListAppInstanceBotsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
575
|
+
...obj,
|
|
576
|
+
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
577
|
+
}), "ListAppInstanceBotsRequestFilterSensitiveLog");
|
|
578
|
+
var ListAppInstanceBotsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
579
|
+
...obj,
|
|
580
|
+
...obj.AppInstanceBots && {
|
|
581
|
+
AppInstanceBots: obj.AppInstanceBots.map((item) => AppInstanceBotSummaryFilterSensitiveLog(item))
|
|
582
|
+
},
|
|
583
|
+
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
584
|
+
}), "ListAppInstanceBotsResponseFilterSensitiveLog");
|
|
585
|
+
var ListAppInstancesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
586
|
+
...obj,
|
|
587
|
+
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
588
|
+
}), "ListAppInstancesRequestFilterSensitiveLog");
|
|
589
|
+
var ListAppInstancesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
590
|
+
...obj,
|
|
591
|
+
...obj.AppInstances && { AppInstances: obj.AppInstances.map((item) => AppInstanceSummaryFilterSensitiveLog(item)) },
|
|
592
|
+
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
593
|
+
}), "ListAppInstancesResponseFilterSensitiveLog");
|
|
594
|
+
var ListAppInstanceUserEndpointsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
595
|
+
...obj,
|
|
596
|
+
...obj.AppInstanceUserArn && { AppInstanceUserArn: import_smithy_client.SENSITIVE_STRING },
|
|
597
|
+
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
598
|
+
}), "ListAppInstanceUserEndpointsRequestFilterSensitiveLog");
|
|
599
|
+
var ListAppInstanceUserEndpointsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
600
|
+
...obj,
|
|
601
|
+
...obj.AppInstanceUserEndpoints && {
|
|
602
|
+
AppInstanceUserEndpoints: obj.AppInstanceUserEndpoints.map(
|
|
603
|
+
(item) => AppInstanceUserEndpointSummaryFilterSensitiveLog(item)
|
|
604
|
+
)
|
|
605
|
+
},
|
|
606
|
+
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
607
|
+
}), "ListAppInstanceUserEndpointsResponseFilterSensitiveLog");
|
|
608
|
+
var ListAppInstanceUsersRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
609
|
+
...obj,
|
|
610
|
+
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
611
|
+
}), "ListAppInstanceUsersRequestFilterSensitiveLog");
|
|
612
|
+
var ListAppInstanceUsersResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
613
|
+
...obj,
|
|
614
|
+
...obj.AppInstanceUsers && {
|
|
615
|
+
AppInstanceUsers: obj.AppInstanceUsers.map((item) => AppInstanceUserSummaryFilterSensitiveLog(item))
|
|
616
|
+
},
|
|
617
|
+
...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
|
|
618
|
+
}), "ListAppInstanceUsersResponseFilterSensitiveLog");
|
|
619
|
+
var ListTagsForResourceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
620
|
+
...obj,
|
|
621
|
+
...obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
622
|
+
}), "ListTagsForResourceResponseFilterSensitiveLog");
|
|
623
|
+
var RegisterAppInstanceUserEndpointRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
624
|
+
...obj,
|
|
625
|
+
...obj.AppInstanceUserArn && { AppInstanceUserArn: import_smithy_client.SENSITIVE_STRING },
|
|
626
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
627
|
+
...obj.EndpointAttributes && { EndpointAttributes: EndpointAttributesFilterSensitiveLog(obj.EndpointAttributes) }
|
|
628
|
+
}), "RegisterAppInstanceUserEndpointRequestFilterSensitiveLog");
|
|
629
|
+
var TagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
630
|
+
...obj,
|
|
631
|
+
...obj.Tags && { Tags: obj.Tags.map((item) => TagFilterSensitiveLog(item)) }
|
|
632
|
+
}), "TagResourceRequestFilterSensitiveLog");
|
|
633
|
+
var UntagResourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
634
|
+
...obj,
|
|
635
|
+
...obj.TagKeys && { TagKeys: import_smithy_client.SENSITIVE_STRING }
|
|
636
|
+
}), "UntagResourceRequestFilterSensitiveLog");
|
|
637
|
+
var UpdateAppInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
638
|
+
...obj,
|
|
639
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
640
|
+
...obj.Metadata && { Metadata: import_smithy_client.SENSITIVE_STRING }
|
|
641
|
+
}), "UpdateAppInstanceRequestFilterSensitiveLog");
|
|
642
|
+
var UpdateAppInstanceBotRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
643
|
+
...obj,
|
|
644
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
645
|
+
...obj.Metadata && { Metadata: import_smithy_client.SENSITIVE_STRING }
|
|
646
|
+
}), "UpdateAppInstanceBotRequestFilterSensitiveLog");
|
|
647
|
+
var UpdateAppInstanceUserRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
648
|
+
...obj,
|
|
649
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING },
|
|
650
|
+
...obj.Metadata && { Metadata: import_smithy_client.SENSITIVE_STRING }
|
|
651
|
+
}), "UpdateAppInstanceUserRequestFilterSensitiveLog");
|
|
652
|
+
var UpdateAppInstanceUserEndpointRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
653
|
+
...obj,
|
|
654
|
+
...obj.Name && { Name: import_smithy_client.SENSITIVE_STRING }
|
|
655
|
+
}), "UpdateAppInstanceUserEndpointRequestFilterSensitiveLog");
|
|
656
|
+
|
|
657
|
+
// src/protocols/Aws_restJson1.ts
|
|
658
|
+
var import_core = require("@smithy/core");
|
|
659
|
+
|
|
660
|
+
var import_uuid = require("uuid");
|
|
661
|
+
var se_CreateAppInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
662
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
663
|
+
const headers = {
|
|
664
|
+
"content-type": "application/json"
|
|
665
|
+
};
|
|
666
|
+
b.bp("/app-instances");
|
|
667
|
+
let body;
|
|
668
|
+
body = JSON.stringify(
|
|
669
|
+
(0, import_smithy_client.take)(input, {
|
|
670
|
+
ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
671
|
+
Metadata: [],
|
|
672
|
+
Name: [],
|
|
673
|
+
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
674
|
+
})
|
|
675
|
+
);
|
|
676
|
+
b.m("POST").h(headers).b(body);
|
|
677
|
+
return b.build();
|
|
678
|
+
}, "se_CreateAppInstanceCommand");
|
|
679
|
+
var se_CreateAppInstanceAdminCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
680
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
681
|
+
const headers = {
|
|
682
|
+
"content-type": "application/json"
|
|
683
|
+
};
|
|
684
|
+
b.bp("/app-instances/{AppInstanceArn}/admins");
|
|
685
|
+
b.p("AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
686
|
+
let body;
|
|
687
|
+
body = JSON.stringify(
|
|
688
|
+
(0, import_smithy_client.take)(input, {
|
|
689
|
+
AppInstanceAdminArn: []
|
|
690
|
+
})
|
|
691
|
+
);
|
|
692
|
+
b.m("POST").h(headers).b(body);
|
|
693
|
+
return b.build();
|
|
694
|
+
}, "se_CreateAppInstanceAdminCommand");
|
|
695
|
+
var se_CreateAppInstanceBotCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
696
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
697
|
+
const headers = {
|
|
698
|
+
"content-type": "application/json"
|
|
699
|
+
};
|
|
700
|
+
b.bp("/app-instance-bots");
|
|
701
|
+
let body;
|
|
702
|
+
body = JSON.stringify(
|
|
703
|
+
(0, import_smithy_client.take)(input, {
|
|
704
|
+
AppInstanceArn: [],
|
|
705
|
+
ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
706
|
+
Configuration: (_) => (0, import_smithy_client._json)(_),
|
|
707
|
+
Metadata: [],
|
|
708
|
+
Name: [],
|
|
709
|
+
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
710
|
+
})
|
|
711
|
+
);
|
|
712
|
+
b.m("POST").h(headers).b(body);
|
|
713
|
+
return b.build();
|
|
714
|
+
}, "se_CreateAppInstanceBotCommand");
|
|
715
|
+
var se_CreateAppInstanceUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
716
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
717
|
+
const headers = {
|
|
718
|
+
"content-type": "application/json"
|
|
719
|
+
};
|
|
720
|
+
b.bp("/app-instance-users");
|
|
721
|
+
let body;
|
|
722
|
+
body = JSON.stringify(
|
|
723
|
+
(0, import_smithy_client.take)(input, {
|
|
724
|
+
AppInstanceArn: [],
|
|
725
|
+
AppInstanceUserId: [],
|
|
726
|
+
ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
727
|
+
ExpirationSettings: (_) => (0, import_smithy_client._json)(_),
|
|
728
|
+
Metadata: [],
|
|
729
|
+
Name: [],
|
|
730
|
+
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
731
|
+
})
|
|
732
|
+
);
|
|
733
|
+
b.m("POST").h(headers).b(body);
|
|
734
|
+
return b.build();
|
|
735
|
+
}, "se_CreateAppInstanceUserCommand");
|
|
736
|
+
var se_DeleteAppInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
737
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
738
|
+
const headers = {};
|
|
739
|
+
b.bp("/app-instances/{AppInstanceArn}");
|
|
740
|
+
b.p("AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
741
|
+
let body;
|
|
742
|
+
b.m("DELETE").h(headers).b(body);
|
|
743
|
+
return b.build();
|
|
744
|
+
}, "se_DeleteAppInstanceCommand");
|
|
745
|
+
var se_DeleteAppInstanceAdminCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
746
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
747
|
+
const headers = {};
|
|
748
|
+
b.bp("/app-instances/{AppInstanceArn}/admins/{AppInstanceAdminArn}");
|
|
749
|
+
b.p("AppInstanceAdminArn", () => input.AppInstanceAdminArn, "{AppInstanceAdminArn}", false);
|
|
750
|
+
b.p("AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
751
|
+
let body;
|
|
752
|
+
b.m("DELETE").h(headers).b(body);
|
|
753
|
+
return b.build();
|
|
754
|
+
}, "se_DeleteAppInstanceAdminCommand");
|
|
755
|
+
var se_DeleteAppInstanceBotCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
756
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
757
|
+
const headers = {};
|
|
758
|
+
b.bp("/app-instance-bots/{AppInstanceBotArn}");
|
|
759
|
+
b.p("AppInstanceBotArn", () => input.AppInstanceBotArn, "{AppInstanceBotArn}", false);
|
|
760
|
+
let body;
|
|
761
|
+
b.m("DELETE").h(headers).b(body);
|
|
762
|
+
return b.build();
|
|
763
|
+
}, "se_DeleteAppInstanceBotCommand");
|
|
764
|
+
var se_DeleteAppInstanceUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
765
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
766
|
+
const headers = {};
|
|
767
|
+
b.bp("/app-instance-users/{AppInstanceUserArn}");
|
|
768
|
+
b.p("AppInstanceUserArn", () => input.AppInstanceUserArn, "{AppInstanceUserArn}", false);
|
|
769
|
+
let body;
|
|
770
|
+
b.m("DELETE").h(headers).b(body);
|
|
771
|
+
return b.build();
|
|
772
|
+
}, "se_DeleteAppInstanceUserCommand");
|
|
773
|
+
var se_DeregisterAppInstanceUserEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
774
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
775
|
+
const headers = {};
|
|
776
|
+
b.bp("/app-instance-users/{AppInstanceUserArn}/endpoints/{EndpointId}");
|
|
777
|
+
b.p("AppInstanceUserArn", () => input.AppInstanceUserArn, "{AppInstanceUserArn}", false);
|
|
778
|
+
b.p("EndpointId", () => input.EndpointId, "{EndpointId}", false);
|
|
779
|
+
let body;
|
|
780
|
+
b.m("DELETE").h(headers).b(body);
|
|
781
|
+
return b.build();
|
|
782
|
+
}, "se_DeregisterAppInstanceUserEndpointCommand");
|
|
783
|
+
var se_DescribeAppInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
784
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
785
|
+
const headers = {};
|
|
786
|
+
b.bp("/app-instances/{AppInstanceArn}");
|
|
787
|
+
b.p("AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
788
|
+
let body;
|
|
789
|
+
b.m("GET").h(headers).b(body);
|
|
790
|
+
return b.build();
|
|
791
|
+
}, "se_DescribeAppInstanceCommand");
|
|
792
|
+
var se_DescribeAppInstanceAdminCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
793
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
794
|
+
const headers = {};
|
|
795
|
+
b.bp("/app-instances/{AppInstanceArn}/admins/{AppInstanceAdminArn}");
|
|
796
|
+
b.p("AppInstanceAdminArn", () => input.AppInstanceAdminArn, "{AppInstanceAdminArn}", false);
|
|
797
|
+
b.p("AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
798
|
+
let body;
|
|
799
|
+
b.m("GET").h(headers).b(body);
|
|
800
|
+
return b.build();
|
|
801
|
+
}, "se_DescribeAppInstanceAdminCommand");
|
|
802
|
+
var se_DescribeAppInstanceBotCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
803
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
804
|
+
const headers = {};
|
|
805
|
+
b.bp("/app-instance-bots/{AppInstanceBotArn}");
|
|
806
|
+
b.p("AppInstanceBotArn", () => input.AppInstanceBotArn, "{AppInstanceBotArn}", false);
|
|
807
|
+
let body;
|
|
808
|
+
b.m("GET").h(headers).b(body);
|
|
809
|
+
return b.build();
|
|
810
|
+
}, "se_DescribeAppInstanceBotCommand");
|
|
811
|
+
var se_DescribeAppInstanceUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
812
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
813
|
+
const headers = {};
|
|
814
|
+
b.bp("/app-instance-users/{AppInstanceUserArn}");
|
|
815
|
+
b.p("AppInstanceUserArn", () => input.AppInstanceUserArn, "{AppInstanceUserArn}", false);
|
|
816
|
+
let body;
|
|
817
|
+
b.m("GET").h(headers).b(body);
|
|
818
|
+
return b.build();
|
|
819
|
+
}, "se_DescribeAppInstanceUserCommand");
|
|
820
|
+
var se_DescribeAppInstanceUserEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
821
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
822
|
+
const headers = {};
|
|
823
|
+
b.bp("/app-instance-users/{AppInstanceUserArn}/endpoints/{EndpointId}");
|
|
824
|
+
b.p("AppInstanceUserArn", () => input.AppInstanceUserArn, "{AppInstanceUserArn}", false);
|
|
825
|
+
b.p("EndpointId", () => input.EndpointId, "{EndpointId}", false);
|
|
826
|
+
let body;
|
|
827
|
+
b.m("GET").h(headers).b(body);
|
|
828
|
+
return b.build();
|
|
829
|
+
}, "se_DescribeAppInstanceUserEndpointCommand");
|
|
830
|
+
var se_GetAppInstanceRetentionSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
831
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
832
|
+
const headers = {};
|
|
833
|
+
b.bp("/app-instances/{AppInstanceArn}/retention-settings");
|
|
834
|
+
b.p("AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
835
|
+
let body;
|
|
836
|
+
b.m("GET").h(headers).b(body);
|
|
837
|
+
return b.build();
|
|
838
|
+
}, "se_GetAppInstanceRetentionSettingsCommand");
|
|
839
|
+
var se_ListAppInstanceAdminsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
840
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
841
|
+
const headers = {};
|
|
842
|
+
b.bp("/app-instances/{AppInstanceArn}/admins");
|
|
843
|
+
b.p("AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
844
|
+
const query = (0, import_smithy_client.map)({
|
|
845
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
846
|
+
[_nt]: [, input[_NT]]
|
|
847
|
+
});
|
|
848
|
+
let body;
|
|
849
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
850
|
+
return b.build();
|
|
851
|
+
}, "se_ListAppInstanceAdminsCommand");
|
|
852
|
+
var se_ListAppInstanceBotsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
853
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
854
|
+
const headers = {};
|
|
855
|
+
b.bp("/app-instance-bots");
|
|
856
|
+
const query = (0, import_smithy_client.map)({
|
|
857
|
+
[_aia]: [, (0, import_smithy_client.expectNonNull)(input[_AIA], `AppInstanceArn`)],
|
|
858
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
859
|
+
[_nt]: [, input[_NT]]
|
|
860
|
+
});
|
|
861
|
+
let body;
|
|
862
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
863
|
+
return b.build();
|
|
864
|
+
}, "se_ListAppInstanceBotsCommand");
|
|
865
|
+
var se_ListAppInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
866
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
867
|
+
const headers = {};
|
|
868
|
+
b.bp("/app-instances");
|
|
869
|
+
const query = (0, import_smithy_client.map)({
|
|
870
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
871
|
+
[_nt]: [, input[_NT]]
|
|
872
|
+
});
|
|
873
|
+
let body;
|
|
874
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
875
|
+
return b.build();
|
|
876
|
+
}, "se_ListAppInstancesCommand");
|
|
877
|
+
var se_ListAppInstanceUserEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
878
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
879
|
+
const headers = {};
|
|
880
|
+
b.bp("/app-instance-users/{AppInstanceUserArn}/endpoints");
|
|
881
|
+
b.p("AppInstanceUserArn", () => input.AppInstanceUserArn, "{AppInstanceUserArn}", false);
|
|
882
|
+
const query = (0, import_smithy_client.map)({
|
|
883
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
884
|
+
[_nt]: [, input[_NT]]
|
|
885
|
+
});
|
|
886
|
+
let body;
|
|
887
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
888
|
+
return b.build();
|
|
889
|
+
}, "se_ListAppInstanceUserEndpointsCommand");
|
|
890
|
+
var se_ListAppInstanceUsersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
891
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
892
|
+
const headers = {};
|
|
893
|
+
b.bp("/app-instance-users");
|
|
894
|
+
const query = (0, import_smithy_client.map)({
|
|
895
|
+
[_aia]: [, (0, import_smithy_client.expectNonNull)(input[_AIA], `AppInstanceArn`)],
|
|
896
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
897
|
+
[_nt]: [, input[_NT]]
|
|
898
|
+
});
|
|
899
|
+
let body;
|
|
900
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
901
|
+
return b.build();
|
|
902
|
+
}, "se_ListAppInstanceUsersCommand");
|
|
903
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
904
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
905
|
+
const headers = {};
|
|
906
|
+
b.bp("/tags");
|
|
907
|
+
const query = (0, import_smithy_client.map)({
|
|
908
|
+
[_a]: [, (0, import_smithy_client.expectNonNull)(input[_RARN], `ResourceARN`)]
|
|
909
|
+
});
|
|
910
|
+
let body;
|
|
911
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
912
|
+
return b.build();
|
|
913
|
+
}, "se_ListTagsForResourceCommand");
|
|
914
|
+
var se_PutAppInstanceRetentionSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
915
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
916
|
+
const headers = {
|
|
917
|
+
"content-type": "application/json"
|
|
918
|
+
};
|
|
919
|
+
b.bp("/app-instances/{AppInstanceArn}/retention-settings");
|
|
920
|
+
b.p("AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
921
|
+
let body;
|
|
922
|
+
body = JSON.stringify(
|
|
923
|
+
(0, import_smithy_client.take)(input, {
|
|
924
|
+
AppInstanceRetentionSettings: (_) => (0, import_smithy_client._json)(_)
|
|
925
|
+
})
|
|
926
|
+
);
|
|
927
|
+
b.m("PUT").h(headers).b(body);
|
|
928
|
+
return b.build();
|
|
929
|
+
}, "se_PutAppInstanceRetentionSettingsCommand");
|
|
930
|
+
var se_PutAppInstanceUserExpirationSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
931
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
932
|
+
const headers = {
|
|
933
|
+
"content-type": "application/json"
|
|
934
|
+
};
|
|
935
|
+
b.bp("/app-instance-users/{AppInstanceUserArn}/expiration-settings");
|
|
936
|
+
b.p("AppInstanceUserArn", () => input.AppInstanceUserArn, "{AppInstanceUserArn}", false);
|
|
937
|
+
let body;
|
|
938
|
+
body = JSON.stringify(
|
|
939
|
+
(0, import_smithy_client.take)(input, {
|
|
940
|
+
ExpirationSettings: (_) => (0, import_smithy_client._json)(_)
|
|
941
|
+
})
|
|
942
|
+
);
|
|
943
|
+
b.m("PUT").h(headers).b(body);
|
|
944
|
+
return b.build();
|
|
945
|
+
}, "se_PutAppInstanceUserExpirationSettingsCommand");
|
|
946
|
+
var se_RegisterAppInstanceUserEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
947
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
948
|
+
const headers = {
|
|
949
|
+
"content-type": "application/json"
|
|
950
|
+
};
|
|
951
|
+
b.bp("/app-instance-users/{AppInstanceUserArn}/endpoints");
|
|
952
|
+
b.p("AppInstanceUserArn", () => input.AppInstanceUserArn, "{AppInstanceUserArn}", false);
|
|
953
|
+
let body;
|
|
954
|
+
body = JSON.stringify(
|
|
955
|
+
(0, import_smithy_client.take)(input, {
|
|
956
|
+
AllowMessages: [],
|
|
957
|
+
ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
958
|
+
EndpointAttributes: (_) => (0, import_smithy_client._json)(_),
|
|
959
|
+
Name: [],
|
|
960
|
+
ResourceArn: [],
|
|
961
|
+
Type: []
|
|
962
|
+
})
|
|
963
|
+
);
|
|
964
|
+
b.m("POST").h(headers).b(body);
|
|
965
|
+
return b.build();
|
|
966
|
+
}, "se_RegisterAppInstanceUserEndpointCommand");
|
|
967
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
968
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
969
|
+
const headers = {
|
|
970
|
+
"content-type": "application/json"
|
|
971
|
+
};
|
|
972
|
+
b.bp("/tags");
|
|
973
|
+
const query = (0, import_smithy_client.map)({
|
|
974
|
+
[_o]: [, "tag-resource"]
|
|
975
|
+
});
|
|
976
|
+
let body;
|
|
977
|
+
body = JSON.stringify(
|
|
978
|
+
(0, import_smithy_client.take)(input, {
|
|
979
|
+
ResourceARN: [],
|
|
980
|
+
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
981
|
+
})
|
|
982
|
+
);
|
|
983
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
984
|
+
return b.build();
|
|
985
|
+
}, "se_TagResourceCommand");
|
|
986
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
987
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
988
|
+
const headers = {
|
|
989
|
+
"content-type": "application/json"
|
|
990
|
+
};
|
|
991
|
+
b.bp("/tags");
|
|
992
|
+
const query = (0, import_smithy_client.map)({
|
|
993
|
+
[_o]: [, "untag-resource"]
|
|
994
|
+
});
|
|
995
|
+
let body;
|
|
996
|
+
body = JSON.stringify(
|
|
997
|
+
(0, import_smithy_client.take)(input, {
|
|
998
|
+
ResourceARN: [],
|
|
999
|
+
TagKeys: (_) => (0, import_smithy_client._json)(_)
|
|
1000
|
+
})
|
|
1001
|
+
);
|
|
1002
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
1003
|
+
return b.build();
|
|
1004
|
+
}, "se_UntagResourceCommand");
|
|
1005
|
+
var se_UpdateAppInstanceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1006
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1007
|
+
const headers = {
|
|
1008
|
+
"content-type": "application/json"
|
|
1009
|
+
};
|
|
1010
|
+
b.bp("/app-instances/{AppInstanceArn}");
|
|
1011
|
+
b.p("AppInstanceArn", () => input.AppInstanceArn, "{AppInstanceArn}", false);
|
|
1012
|
+
let body;
|
|
1013
|
+
body = JSON.stringify(
|
|
1014
|
+
(0, import_smithy_client.take)(input, {
|
|
1015
|
+
Metadata: [],
|
|
1016
|
+
Name: []
|
|
1017
|
+
})
|
|
1018
|
+
);
|
|
1019
|
+
b.m("PUT").h(headers).b(body);
|
|
1020
|
+
return b.build();
|
|
1021
|
+
}, "se_UpdateAppInstanceCommand");
|
|
1022
|
+
var se_UpdateAppInstanceBotCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1023
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1024
|
+
const headers = {
|
|
1025
|
+
"content-type": "application/json"
|
|
1026
|
+
};
|
|
1027
|
+
b.bp("/app-instance-bots/{AppInstanceBotArn}");
|
|
1028
|
+
b.p("AppInstanceBotArn", () => input.AppInstanceBotArn, "{AppInstanceBotArn}", false);
|
|
1029
|
+
let body;
|
|
1030
|
+
body = JSON.stringify(
|
|
1031
|
+
(0, import_smithy_client.take)(input, {
|
|
1032
|
+
Configuration: (_) => (0, import_smithy_client._json)(_),
|
|
1033
|
+
Metadata: [],
|
|
1034
|
+
Name: []
|
|
1035
|
+
})
|
|
1036
|
+
);
|
|
1037
|
+
b.m("PUT").h(headers).b(body);
|
|
1038
|
+
return b.build();
|
|
1039
|
+
}, "se_UpdateAppInstanceBotCommand");
|
|
1040
|
+
var se_UpdateAppInstanceUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1041
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1042
|
+
const headers = {
|
|
1043
|
+
"content-type": "application/json"
|
|
1044
|
+
};
|
|
1045
|
+
b.bp("/app-instance-users/{AppInstanceUserArn}");
|
|
1046
|
+
b.p("AppInstanceUserArn", () => input.AppInstanceUserArn, "{AppInstanceUserArn}", false);
|
|
1047
|
+
let body;
|
|
1048
|
+
body = JSON.stringify(
|
|
1049
|
+
(0, import_smithy_client.take)(input, {
|
|
1050
|
+
Metadata: [],
|
|
1051
|
+
Name: []
|
|
1052
|
+
})
|
|
1053
|
+
);
|
|
1054
|
+
b.m("PUT").h(headers).b(body);
|
|
1055
|
+
return b.build();
|
|
1056
|
+
}, "se_UpdateAppInstanceUserCommand");
|
|
1057
|
+
var se_UpdateAppInstanceUserEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1058
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1059
|
+
const headers = {
|
|
1060
|
+
"content-type": "application/json"
|
|
1061
|
+
};
|
|
1062
|
+
b.bp("/app-instance-users/{AppInstanceUserArn}/endpoints/{EndpointId}");
|
|
1063
|
+
b.p("AppInstanceUserArn", () => input.AppInstanceUserArn, "{AppInstanceUserArn}", false);
|
|
1064
|
+
b.p("EndpointId", () => input.EndpointId, "{EndpointId}", false);
|
|
1065
|
+
let body;
|
|
1066
|
+
body = JSON.stringify(
|
|
1067
|
+
(0, import_smithy_client.take)(input, {
|
|
1068
|
+
AllowMessages: [],
|
|
1069
|
+
Name: []
|
|
1070
|
+
})
|
|
1071
|
+
);
|
|
1072
|
+
b.m("PUT").h(headers).b(body);
|
|
1073
|
+
return b.build();
|
|
1074
|
+
}, "se_UpdateAppInstanceUserEndpointCommand");
|
|
1075
|
+
var de_CreateAppInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1076
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1077
|
+
return de_CreateAppInstanceCommandError(output, context);
|
|
1078
|
+
}
|
|
1079
|
+
const contents = (0, import_smithy_client.map)({
|
|
1080
|
+
$metadata: deserializeMetadata(output)
|
|
1081
|
+
});
|
|
1082
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1083
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1084
|
+
AppInstanceArn: import_smithy_client.expectString
|
|
1085
|
+
});
|
|
1086
|
+
Object.assign(contents, doc);
|
|
1087
|
+
return contents;
|
|
1088
|
+
}, "de_CreateAppInstanceCommand");
|
|
1089
|
+
var de_CreateAppInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1090
|
+
const parsedOutput = {
|
|
1091
|
+
...output,
|
|
1092
|
+
body: await parseErrorBody(output.body, context)
|
|
1093
|
+
};
|
|
1094
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1095
|
+
switch (errorCode) {
|
|
1096
|
+
case "BadRequestException":
|
|
1097
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1098
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1099
|
+
case "ConflictException":
|
|
1100
|
+
case "com.amazonaws.chimesdkidentity#ConflictException":
|
|
1101
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1102
|
+
case "ForbiddenException":
|
|
1103
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1104
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1105
|
+
case "ResourceLimitExceededException":
|
|
1106
|
+
case "com.amazonaws.chimesdkidentity#ResourceLimitExceededException":
|
|
1107
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1108
|
+
case "ServiceFailureException":
|
|
1109
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1110
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1111
|
+
case "ServiceUnavailableException":
|
|
1112
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1113
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1114
|
+
case "ThrottledClientException":
|
|
1115
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1116
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1117
|
+
case "UnauthorizedClientException":
|
|
1118
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1119
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1120
|
+
default:
|
|
1121
|
+
const parsedBody = parsedOutput.body;
|
|
1122
|
+
return throwDefaultError({
|
|
1123
|
+
output,
|
|
1124
|
+
parsedBody,
|
|
1125
|
+
errorCode
|
|
1126
|
+
});
|
|
1127
|
+
}
|
|
1128
|
+
}, "de_CreateAppInstanceCommandError");
|
|
1129
|
+
var de_CreateAppInstanceAdminCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1130
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1131
|
+
return de_CreateAppInstanceAdminCommandError(output, context);
|
|
1132
|
+
}
|
|
1133
|
+
const contents = (0, import_smithy_client.map)({
|
|
1134
|
+
$metadata: deserializeMetadata(output)
|
|
1135
|
+
});
|
|
1136
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1137
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1138
|
+
AppInstanceAdmin: import_smithy_client._json,
|
|
1139
|
+
AppInstanceArn: import_smithy_client.expectString
|
|
1140
|
+
});
|
|
1141
|
+
Object.assign(contents, doc);
|
|
1142
|
+
return contents;
|
|
1143
|
+
}, "de_CreateAppInstanceAdminCommand");
|
|
1144
|
+
var de_CreateAppInstanceAdminCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1145
|
+
const parsedOutput = {
|
|
1146
|
+
...output,
|
|
1147
|
+
body: await parseErrorBody(output.body, context)
|
|
1148
|
+
};
|
|
1149
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1150
|
+
switch (errorCode) {
|
|
1151
|
+
case "BadRequestException":
|
|
1152
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1153
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1154
|
+
case "ConflictException":
|
|
1155
|
+
case "com.amazonaws.chimesdkidentity#ConflictException":
|
|
1156
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1157
|
+
case "ForbiddenException":
|
|
1158
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1159
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1160
|
+
case "ResourceLimitExceededException":
|
|
1161
|
+
case "com.amazonaws.chimesdkidentity#ResourceLimitExceededException":
|
|
1162
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1163
|
+
case "ServiceFailureException":
|
|
1164
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1165
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1166
|
+
case "ServiceUnavailableException":
|
|
1167
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1168
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1169
|
+
case "ThrottledClientException":
|
|
1170
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1171
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1172
|
+
case "UnauthorizedClientException":
|
|
1173
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1174
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1175
|
+
default:
|
|
1176
|
+
const parsedBody = parsedOutput.body;
|
|
1177
|
+
return throwDefaultError({
|
|
1178
|
+
output,
|
|
1179
|
+
parsedBody,
|
|
1180
|
+
errorCode
|
|
1181
|
+
});
|
|
1182
|
+
}
|
|
1183
|
+
}, "de_CreateAppInstanceAdminCommandError");
|
|
1184
|
+
var de_CreateAppInstanceBotCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1185
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1186
|
+
return de_CreateAppInstanceBotCommandError(output, context);
|
|
1187
|
+
}
|
|
1188
|
+
const contents = (0, import_smithy_client.map)({
|
|
1189
|
+
$metadata: deserializeMetadata(output)
|
|
1190
|
+
});
|
|
1191
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1192
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1193
|
+
AppInstanceBotArn: import_smithy_client.expectString
|
|
1194
|
+
});
|
|
1195
|
+
Object.assign(contents, doc);
|
|
1196
|
+
return contents;
|
|
1197
|
+
}, "de_CreateAppInstanceBotCommand");
|
|
1198
|
+
var de_CreateAppInstanceBotCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1199
|
+
const parsedOutput = {
|
|
1200
|
+
...output,
|
|
1201
|
+
body: await parseErrorBody(output.body, context)
|
|
1202
|
+
};
|
|
1203
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1204
|
+
switch (errorCode) {
|
|
1205
|
+
case "BadRequestException":
|
|
1206
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1207
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1208
|
+
case "ConflictException":
|
|
1209
|
+
case "com.amazonaws.chimesdkidentity#ConflictException":
|
|
1210
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1211
|
+
case "ForbiddenException":
|
|
1212
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1213
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1214
|
+
case "ResourceLimitExceededException":
|
|
1215
|
+
case "com.amazonaws.chimesdkidentity#ResourceLimitExceededException":
|
|
1216
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1217
|
+
case "ServiceFailureException":
|
|
1218
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1219
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1220
|
+
case "ServiceUnavailableException":
|
|
1221
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1222
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1223
|
+
case "ThrottledClientException":
|
|
1224
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1225
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1226
|
+
case "UnauthorizedClientException":
|
|
1227
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1228
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1229
|
+
default:
|
|
1230
|
+
const parsedBody = parsedOutput.body;
|
|
1231
|
+
return throwDefaultError({
|
|
1232
|
+
output,
|
|
1233
|
+
parsedBody,
|
|
1234
|
+
errorCode
|
|
1235
|
+
});
|
|
1236
|
+
}
|
|
1237
|
+
}, "de_CreateAppInstanceBotCommandError");
|
|
1238
|
+
var de_CreateAppInstanceUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1239
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1240
|
+
return de_CreateAppInstanceUserCommandError(output, context);
|
|
1241
|
+
}
|
|
1242
|
+
const contents = (0, import_smithy_client.map)({
|
|
1243
|
+
$metadata: deserializeMetadata(output)
|
|
1244
|
+
});
|
|
1245
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1246
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1247
|
+
AppInstanceUserArn: import_smithy_client.expectString
|
|
1248
|
+
});
|
|
1249
|
+
Object.assign(contents, doc);
|
|
1250
|
+
return contents;
|
|
1251
|
+
}, "de_CreateAppInstanceUserCommand");
|
|
1252
|
+
var de_CreateAppInstanceUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1253
|
+
const parsedOutput = {
|
|
1254
|
+
...output,
|
|
1255
|
+
body: await parseErrorBody(output.body, context)
|
|
1256
|
+
};
|
|
1257
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1258
|
+
switch (errorCode) {
|
|
1259
|
+
case "BadRequestException":
|
|
1260
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1261
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1262
|
+
case "ConflictException":
|
|
1263
|
+
case "com.amazonaws.chimesdkidentity#ConflictException":
|
|
1264
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1265
|
+
case "ForbiddenException":
|
|
1266
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1267
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1268
|
+
case "ResourceLimitExceededException":
|
|
1269
|
+
case "com.amazonaws.chimesdkidentity#ResourceLimitExceededException":
|
|
1270
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1271
|
+
case "ServiceFailureException":
|
|
1272
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1273
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1274
|
+
case "ServiceUnavailableException":
|
|
1275
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1276
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1277
|
+
case "ThrottledClientException":
|
|
1278
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1279
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1280
|
+
case "UnauthorizedClientException":
|
|
1281
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1282
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1283
|
+
default:
|
|
1284
|
+
const parsedBody = parsedOutput.body;
|
|
1285
|
+
return throwDefaultError({
|
|
1286
|
+
output,
|
|
1287
|
+
parsedBody,
|
|
1288
|
+
errorCode
|
|
1289
|
+
});
|
|
1290
|
+
}
|
|
1291
|
+
}, "de_CreateAppInstanceUserCommandError");
|
|
1292
|
+
var de_DeleteAppInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1293
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1294
|
+
return de_DeleteAppInstanceCommandError(output, context);
|
|
1295
|
+
}
|
|
1296
|
+
const contents = (0, import_smithy_client.map)({
|
|
1297
|
+
$metadata: deserializeMetadata(output)
|
|
1298
|
+
});
|
|
1299
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1300
|
+
return contents;
|
|
1301
|
+
}, "de_DeleteAppInstanceCommand");
|
|
1302
|
+
var de_DeleteAppInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1303
|
+
const parsedOutput = {
|
|
1304
|
+
...output,
|
|
1305
|
+
body: await parseErrorBody(output.body, context)
|
|
1306
|
+
};
|
|
1307
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1308
|
+
switch (errorCode) {
|
|
1309
|
+
case "BadRequestException":
|
|
1310
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1311
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1312
|
+
case "ForbiddenException":
|
|
1313
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1314
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1315
|
+
case "ResourceLimitExceededException":
|
|
1316
|
+
case "com.amazonaws.chimesdkidentity#ResourceLimitExceededException":
|
|
1317
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1318
|
+
case "ServiceFailureException":
|
|
1319
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1320
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1321
|
+
case "ServiceUnavailableException":
|
|
1322
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1323
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1324
|
+
case "ThrottledClientException":
|
|
1325
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1326
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1327
|
+
case "UnauthorizedClientException":
|
|
1328
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1329
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1330
|
+
default:
|
|
1331
|
+
const parsedBody = parsedOutput.body;
|
|
1332
|
+
return throwDefaultError({
|
|
1333
|
+
output,
|
|
1334
|
+
parsedBody,
|
|
1335
|
+
errorCode
|
|
1336
|
+
});
|
|
1337
|
+
}
|
|
1338
|
+
}, "de_DeleteAppInstanceCommandError");
|
|
1339
|
+
var de_DeleteAppInstanceAdminCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1340
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1341
|
+
return de_DeleteAppInstanceAdminCommandError(output, context);
|
|
1342
|
+
}
|
|
1343
|
+
const contents = (0, import_smithy_client.map)({
|
|
1344
|
+
$metadata: deserializeMetadata(output)
|
|
1345
|
+
});
|
|
1346
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1347
|
+
return contents;
|
|
1348
|
+
}, "de_DeleteAppInstanceAdminCommand");
|
|
1349
|
+
var de_DeleteAppInstanceAdminCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1350
|
+
const parsedOutput = {
|
|
1351
|
+
...output,
|
|
1352
|
+
body: await parseErrorBody(output.body, context)
|
|
1353
|
+
};
|
|
1354
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1355
|
+
switch (errorCode) {
|
|
1356
|
+
case "BadRequestException":
|
|
1357
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1358
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1359
|
+
case "ConflictException":
|
|
1360
|
+
case "com.amazonaws.chimesdkidentity#ConflictException":
|
|
1361
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1362
|
+
case "ForbiddenException":
|
|
1363
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1364
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1365
|
+
case "ResourceLimitExceededException":
|
|
1366
|
+
case "com.amazonaws.chimesdkidentity#ResourceLimitExceededException":
|
|
1367
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1368
|
+
case "ServiceFailureException":
|
|
1369
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1370
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1371
|
+
case "ServiceUnavailableException":
|
|
1372
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1373
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1374
|
+
case "ThrottledClientException":
|
|
1375
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1376
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1377
|
+
case "UnauthorizedClientException":
|
|
1378
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1379
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1380
|
+
default:
|
|
1381
|
+
const parsedBody = parsedOutput.body;
|
|
1382
|
+
return throwDefaultError({
|
|
1383
|
+
output,
|
|
1384
|
+
parsedBody,
|
|
1385
|
+
errorCode
|
|
1386
|
+
});
|
|
1387
|
+
}
|
|
1388
|
+
}, "de_DeleteAppInstanceAdminCommandError");
|
|
1389
|
+
var de_DeleteAppInstanceBotCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1390
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1391
|
+
return de_DeleteAppInstanceBotCommandError(output, context);
|
|
1392
|
+
}
|
|
1393
|
+
const contents = (0, import_smithy_client.map)({
|
|
1394
|
+
$metadata: deserializeMetadata(output)
|
|
1395
|
+
});
|
|
1396
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1397
|
+
return contents;
|
|
1398
|
+
}, "de_DeleteAppInstanceBotCommand");
|
|
1399
|
+
var de_DeleteAppInstanceBotCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1400
|
+
const parsedOutput = {
|
|
1401
|
+
...output,
|
|
1402
|
+
body: await parseErrorBody(output.body, context)
|
|
1403
|
+
};
|
|
1404
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1405
|
+
switch (errorCode) {
|
|
1406
|
+
case "BadRequestException":
|
|
1407
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1408
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1409
|
+
case "ConflictException":
|
|
1410
|
+
case "com.amazonaws.chimesdkidentity#ConflictException":
|
|
1411
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1412
|
+
case "ForbiddenException":
|
|
1413
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1414
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1415
|
+
case "ResourceLimitExceededException":
|
|
1416
|
+
case "com.amazonaws.chimesdkidentity#ResourceLimitExceededException":
|
|
1417
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1418
|
+
case "ServiceFailureException":
|
|
1419
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1420
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1421
|
+
case "ServiceUnavailableException":
|
|
1422
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1423
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1424
|
+
case "ThrottledClientException":
|
|
1425
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1426
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1427
|
+
case "UnauthorizedClientException":
|
|
1428
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1429
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1430
|
+
default:
|
|
1431
|
+
const parsedBody = parsedOutput.body;
|
|
1432
|
+
return throwDefaultError({
|
|
1433
|
+
output,
|
|
1434
|
+
parsedBody,
|
|
1435
|
+
errorCode
|
|
1436
|
+
});
|
|
1437
|
+
}
|
|
1438
|
+
}, "de_DeleteAppInstanceBotCommandError");
|
|
1439
|
+
var de_DeleteAppInstanceUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1440
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1441
|
+
return de_DeleteAppInstanceUserCommandError(output, context);
|
|
1442
|
+
}
|
|
1443
|
+
const contents = (0, import_smithy_client.map)({
|
|
1444
|
+
$metadata: deserializeMetadata(output)
|
|
1445
|
+
});
|
|
1446
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1447
|
+
return contents;
|
|
1448
|
+
}, "de_DeleteAppInstanceUserCommand");
|
|
1449
|
+
var de_DeleteAppInstanceUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1450
|
+
const parsedOutput = {
|
|
1451
|
+
...output,
|
|
1452
|
+
body: await parseErrorBody(output.body, context)
|
|
1453
|
+
};
|
|
1454
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1455
|
+
switch (errorCode) {
|
|
1456
|
+
case "BadRequestException":
|
|
1457
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1458
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1459
|
+
case "ConflictException":
|
|
1460
|
+
case "com.amazonaws.chimesdkidentity#ConflictException":
|
|
1461
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1462
|
+
case "ForbiddenException":
|
|
1463
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1464
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1465
|
+
case "ResourceLimitExceededException":
|
|
1466
|
+
case "com.amazonaws.chimesdkidentity#ResourceLimitExceededException":
|
|
1467
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1468
|
+
case "ServiceFailureException":
|
|
1469
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1470
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1471
|
+
case "ServiceUnavailableException":
|
|
1472
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1473
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1474
|
+
case "ThrottledClientException":
|
|
1475
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1476
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1477
|
+
case "UnauthorizedClientException":
|
|
1478
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1479
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1480
|
+
default:
|
|
1481
|
+
const parsedBody = parsedOutput.body;
|
|
1482
|
+
return throwDefaultError({
|
|
1483
|
+
output,
|
|
1484
|
+
parsedBody,
|
|
1485
|
+
errorCode
|
|
1486
|
+
});
|
|
1487
|
+
}
|
|
1488
|
+
}, "de_DeleteAppInstanceUserCommandError");
|
|
1489
|
+
var de_DeregisterAppInstanceUserEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1490
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1491
|
+
return de_DeregisterAppInstanceUserEndpointCommandError(output, context);
|
|
1492
|
+
}
|
|
1493
|
+
const contents = (0, import_smithy_client.map)({
|
|
1494
|
+
$metadata: deserializeMetadata(output)
|
|
1495
|
+
});
|
|
1496
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1497
|
+
return contents;
|
|
1498
|
+
}, "de_DeregisterAppInstanceUserEndpointCommand");
|
|
1499
|
+
var de_DeregisterAppInstanceUserEndpointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1500
|
+
const parsedOutput = {
|
|
1501
|
+
...output,
|
|
1502
|
+
body: await parseErrorBody(output.body, context)
|
|
1503
|
+
};
|
|
1504
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1505
|
+
switch (errorCode) {
|
|
1506
|
+
case "BadRequestException":
|
|
1507
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1508
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1509
|
+
case "ForbiddenException":
|
|
1510
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1511
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1512
|
+
case "ServiceFailureException":
|
|
1513
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1514
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1515
|
+
case "ServiceUnavailableException":
|
|
1516
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1517
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1518
|
+
case "ThrottledClientException":
|
|
1519
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1520
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1521
|
+
case "UnauthorizedClientException":
|
|
1522
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1523
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1524
|
+
default:
|
|
1525
|
+
const parsedBody = parsedOutput.body;
|
|
1526
|
+
return throwDefaultError({
|
|
1527
|
+
output,
|
|
1528
|
+
parsedBody,
|
|
1529
|
+
errorCode
|
|
1530
|
+
});
|
|
1531
|
+
}
|
|
1532
|
+
}, "de_DeregisterAppInstanceUserEndpointCommandError");
|
|
1533
|
+
var de_DescribeAppInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1534
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1535
|
+
return de_DescribeAppInstanceCommandError(output, context);
|
|
1536
|
+
}
|
|
1537
|
+
const contents = (0, import_smithy_client.map)({
|
|
1538
|
+
$metadata: deserializeMetadata(output)
|
|
1539
|
+
});
|
|
1540
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1541
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1542
|
+
AppInstance: (_) => de_AppInstance(_, context)
|
|
1543
|
+
});
|
|
1544
|
+
Object.assign(contents, doc);
|
|
1545
|
+
return contents;
|
|
1546
|
+
}, "de_DescribeAppInstanceCommand");
|
|
1547
|
+
var de_DescribeAppInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1548
|
+
const parsedOutput = {
|
|
1549
|
+
...output,
|
|
1550
|
+
body: await parseErrorBody(output.body, context)
|
|
1551
|
+
};
|
|
1552
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1553
|
+
switch (errorCode) {
|
|
1554
|
+
case "BadRequestException":
|
|
1555
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1556
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1557
|
+
case "ForbiddenException":
|
|
1558
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1559
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1560
|
+
case "ServiceFailureException":
|
|
1561
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1562
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1563
|
+
case "ServiceUnavailableException":
|
|
1564
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1565
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1566
|
+
case "ThrottledClientException":
|
|
1567
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1568
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1569
|
+
case "UnauthorizedClientException":
|
|
1570
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1571
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1572
|
+
default:
|
|
1573
|
+
const parsedBody = parsedOutput.body;
|
|
1574
|
+
return throwDefaultError({
|
|
1575
|
+
output,
|
|
1576
|
+
parsedBody,
|
|
1577
|
+
errorCode
|
|
1578
|
+
});
|
|
1579
|
+
}
|
|
1580
|
+
}, "de_DescribeAppInstanceCommandError");
|
|
1581
|
+
var de_DescribeAppInstanceAdminCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1582
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1583
|
+
return de_DescribeAppInstanceAdminCommandError(output, context);
|
|
1584
|
+
}
|
|
1585
|
+
const contents = (0, import_smithy_client.map)({
|
|
1586
|
+
$metadata: deserializeMetadata(output)
|
|
1587
|
+
});
|
|
1588
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1589
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1590
|
+
AppInstanceAdmin: (_) => de_AppInstanceAdmin(_, context)
|
|
1591
|
+
});
|
|
1592
|
+
Object.assign(contents, doc);
|
|
1593
|
+
return contents;
|
|
1594
|
+
}, "de_DescribeAppInstanceAdminCommand");
|
|
1595
|
+
var de_DescribeAppInstanceAdminCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1596
|
+
const parsedOutput = {
|
|
1597
|
+
...output,
|
|
1598
|
+
body: await parseErrorBody(output.body, context)
|
|
1599
|
+
};
|
|
1600
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1601
|
+
switch (errorCode) {
|
|
1602
|
+
case "BadRequestException":
|
|
1603
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1604
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1605
|
+
case "ForbiddenException":
|
|
1606
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1607
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1608
|
+
case "ServiceFailureException":
|
|
1609
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1610
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1611
|
+
case "ServiceUnavailableException":
|
|
1612
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1613
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1614
|
+
case "ThrottledClientException":
|
|
1615
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1616
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1617
|
+
case "UnauthorizedClientException":
|
|
1618
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1619
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1620
|
+
default:
|
|
1621
|
+
const parsedBody = parsedOutput.body;
|
|
1622
|
+
return throwDefaultError({
|
|
1623
|
+
output,
|
|
1624
|
+
parsedBody,
|
|
1625
|
+
errorCode
|
|
1626
|
+
});
|
|
1627
|
+
}
|
|
1628
|
+
}, "de_DescribeAppInstanceAdminCommandError");
|
|
1629
|
+
var de_DescribeAppInstanceBotCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1630
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1631
|
+
return de_DescribeAppInstanceBotCommandError(output, context);
|
|
1632
|
+
}
|
|
1633
|
+
const contents = (0, import_smithy_client.map)({
|
|
1634
|
+
$metadata: deserializeMetadata(output)
|
|
1635
|
+
});
|
|
1636
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1637
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1638
|
+
AppInstanceBot: (_) => de_AppInstanceBot(_, context)
|
|
1639
|
+
});
|
|
1640
|
+
Object.assign(contents, doc);
|
|
1641
|
+
return contents;
|
|
1642
|
+
}, "de_DescribeAppInstanceBotCommand");
|
|
1643
|
+
var de_DescribeAppInstanceBotCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1644
|
+
const parsedOutput = {
|
|
1645
|
+
...output,
|
|
1646
|
+
body: await parseErrorBody(output.body, context)
|
|
1647
|
+
};
|
|
1648
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1649
|
+
switch (errorCode) {
|
|
1650
|
+
case "BadRequestException":
|
|
1651
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1652
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1653
|
+
case "ForbiddenException":
|
|
1654
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1655
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1656
|
+
case "NotFoundException":
|
|
1657
|
+
case "com.amazonaws.chimesdkidentity#NotFoundException":
|
|
1658
|
+
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1659
|
+
case "ServiceFailureException":
|
|
1660
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1661
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1662
|
+
case "ServiceUnavailableException":
|
|
1663
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1664
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1665
|
+
case "ThrottledClientException":
|
|
1666
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1667
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1668
|
+
case "UnauthorizedClientException":
|
|
1669
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1670
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1671
|
+
default:
|
|
1672
|
+
const parsedBody = parsedOutput.body;
|
|
1673
|
+
return throwDefaultError({
|
|
1674
|
+
output,
|
|
1675
|
+
parsedBody,
|
|
1676
|
+
errorCode
|
|
1677
|
+
});
|
|
1678
|
+
}
|
|
1679
|
+
}, "de_DescribeAppInstanceBotCommandError");
|
|
1680
|
+
var de_DescribeAppInstanceUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1681
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1682
|
+
return de_DescribeAppInstanceUserCommandError(output, context);
|
|
1683
|
+
}
|
|
1684
|
+
const contents = (0, import_smithy_client.map)({
|
|
1685
|
+
$metadata: deserializeMetadata(output)
|
|
1686
|
+
});
|
|
1687
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1688
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1689
|
+
AppInstanceUser: (_) => de_AppInstanceUser(_, context)
|
|
1690
|
+
});
|
|
1691
|
+
Object.assign(contents, doc);
|
|
1692
|
+
return contents;
|
|
1693
|
+
}, "de_DescribeAppInstanceUserCommand");
|
|
1694
|
+
var de_DescribeAppInstanceUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1695
|
+
const parsedOutput = {
|
|
1696
|
+
...output,
|
|
1697
|
+
body: await parseErrorBody(output.body, context)
|
|
1698
|
+
};
|
|
1699
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1700
|
+
switch (errorCode) {
|
|
1701
|
+
case "BadRequestException":
|
|
1702
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1703
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1704
|
+
case "ForbiddenException":
|
|
1705
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1706
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1707
|
+
case "ServiceFailureException":
|
|
1708
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1709
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1710
|
+
case "ServiceUnavailableException":
|
|
1711
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1712
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1713
|
+
case "ThrottledClientException":
|
|
1714
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1715
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1716
|
+
case "UnauthorizedClientException":
|
|
1717
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1718
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1719
|
+
default:
|
|
1720
|
+
const parsedBody = parsedOutput.body;
|
|
1721
|
+
return throwDefaultError({
|
|
1722
|
+
output,
|
|
1723
|
+
parsedBody,
|
|
1724
|
+
errorCode
|
|
1725
|
+
});
|
|
1726
|
+
}
|
|
1727
|
+
}, "de_DescribeAppInstanceUserCommandError");
|
|
1728
|
+
var de_DescribeAppInstanceUserEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1729
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1730
|
+
return de_DescribeAppInstanceUserEndpointCommandError(output, context);
|
|
1731
|
+
}
|
|
1732
|
+
const contents = (0, import_smithy_client.map)({
|
|
1733
|
+
$metadata: deserializeMetadata(output)
|
|
1734
|
+
});
|
|
1735
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1736
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1737
|
+
AppInstanceUserEndpoint: (_) => de_AppInstanceUserEndpoint(_, context)
|
|
1738
|
+
});
|
|
1739
|
+
Object.assign(contents, doc);
|
|
1740
|
+
return contents;
|
|
1741
|
+
}, "de_DescribeAppInstanceUserEndpointCommand");
|
|
1742
|
+
var de_DescribeAppInstanceUserEndpointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1743
|
+
const parsedOutput = {
|
|
1744
|
+
...output,
|
|
1745
|
+
body: await parseErrorBody(output.body, context)
|
|
1746
|
+
};
|
|
1747
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1748
|
+
switch (errorCode) {
|
|
1749
|
+
case "BadRequestException":
|
|
1750
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1751
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1752
|
+
case "ForbiddenException":
|
|
1753
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1754
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1755
|
+
case "ServiceFailureException":
|
|
1756
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1757
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1758
|
+
case "ServiceUnavailableException":
|
|
1759
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1760
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1761
|
+
case "ThrottledClientException":
|
|
1762
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1763
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1764
|
+
case "UnauthorizedClientException":
|
|
1765
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1766
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1767
|
+
default:
|
|
1768
|
+
const parsedBody = parsedOutput.body;
|
|
1769
|
+
return throwDefaultError({
|
|
1770
|
+
output,
|
|
1771
|
+
parsedBody,
|
|
1772
|
+
errorCode
|
|
1773
|
+
});
|
|
1774
|
+
}
|
|
1775
|
+
}, "de_DescribeAppInstanceUserEndpointCommandError");
|
|
1776
|
+
var de_GetAppInstanceRetentionSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1777
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1778
|
+
return de_GetAppInstanceRetentionSettingsCommandError(output, context);
|
|
1779
|
+
}
|
|
1780
|
+
const contents = (0, import_smithy_client.map)({
|
|
1781
|
+
$metadata: deserializeMetadata(output)
|
|
1782
|
+
});
|
|
1783
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1784
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1785
|
+
AppInstanceRetentionSettings: import_smithy_client._json,
|
|
1786
|
+
InitiateDeletionTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1787
|
+
});
|
|
1788
|
+
Object.assign(contents, doc);
|
|
1789
|
+
return contents;
|
|
1790
|
+
}, "de_GetAppInstanceRetentionSettingsCommand");
|
|
1791
|
+
var de_GetAppInstanceRetentionSettingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1792
|
+
const parsedOutput = {
|
|
1793
|
+
...output,
|
|
1794
|
+
body: await parseErrorBody(output.body, context)
|
|
1795
|
+
};
|
|
1796
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1797
|
+
switch (errorCode) {
|
|
1798
|
+
case "BadRequestException":
|
|
1799
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1800
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1801
|
+
case "ForbiddenException":
|
|
1802
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1803
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1804
|
+
case "ServiceFailureException":
|
|
1805
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1806
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1807
|
+
case "ServiceUnavailableException":
|
|
1808
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1809
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1810
|
+
case "ThrottledClientException":
|
|
1811
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1812
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1813
|
+
case "UnauthorizedClientException":
|
|
1814
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1815
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1816
|
+
default:
|
|
1817
|
+
const parsedBody = parsedOutput.body;
|
|
1818
|
+
return throwDefaultError({
|
|
1819
|
+
output,
|
|
1820
|
+
parsedBody,
|
|
1821
|
+
errorCode
|
|
1822
|
+
});
|
|
1823
|
+
}
|
|
1824
|
+
}, "de_GetAppInstanceRetentionSettingsCommandError");
|
|
1825
|
+
var de_ListAppInstanceAdminsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1826
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1827
|
+
return de_ListAppInstanceAdminsCommandError(output, context);
|
|
1828
|
+
}
|
|
1829
|
+
const contents = (0, import_smithy_client.map)({
|
|
1830
|
+
$metadata: deserializeMetadata(output)
|
|
1831
|
+
});
|
|
1832
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1833
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1834
|
+
AppInstanceAdmins: import_smithy_client._json,
|
|
1835
|
+
AppInstanceArn: import_smithy_client.expectString,
|
|
1836
|
+
NextToken: import_smithy_client.expectString
|
|
1837
|
+
});
|
|
1838
|
+
Object.assign(contents, doc);
|
|
1839
|
+
return contents;
|
|
1840
|
+
}, "de_ListAppInstanceAdminsCommand");
|
|
1841
|
+
var de_ListAppInstanceAdminsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1842
|
+
const parsedOutput = {
|
|
1843
|
+
...output,
|
|
1844
|
+
body: await parseErrorBody(output.body, context)
|
|
1845
|
+
};
|
|
1846
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1847
|
+
switch (errorCode) {
|
|
1848
|
+
case "BadRequestException":
|
|
1849
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1850
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1851
|
+
case "ForbiddenException":
|
|
1852
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1853
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1854
|
+
case "ResourceLimitExceededException":
|
|
1855
|
+
case "com.amazonaws.chimesdkidentity#ResourceLimitExceededException":
|
|
1856
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1857
|
+
case "ServiceFailureException":
|
|
1858
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1859
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1860
|
+
case "ServiceUnavailableException":
|
|
1861
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1862
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1863
|
+
case "ThrottledClientException":
|
|
1864
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1865
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1866
|
+
case "UnauthorizedClientException":
|
|
1867
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1868
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1869
|
+
default:
|
|
1870
|
+
const parsedBody = parsedOutput.body;
|
|
1871
|
+
return throwDefaultError({
|
|
1872
|
+
output,
|
|
1873
|
+
parsedBody,
|
|
1874
|
+
errorCode
|
|
1875
|
+
});
|
|
1876
|
+
}
|
|
1877
|
+
}, "de_ListAppInstanceAdminsCommandError");
|
|
1878
|
+
var de_ListAppInstanceBotsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1879
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1880
|
+
return de_ListAppInstanceBotsCommandError(output, context);
|
|
1881
|
+
}
|
|
1882
|
+
const contents = (0, import_smithy_client.map)({
|
|
1883
|
+
$metadata: deserializeMetadata(output)
|
|
1884
|
+
});
|
|
1885
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1886
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1887
|
+
AppInstanceArn: import_smithy_client.expectString,
|
|
1888
|
+
AppInstanceBots: import_smithy_client._json,
|
|
1889
|
+
NextToken: import_smithy_client.expectString
|
|
1890
|
+
});
|
|
1891
|
+
Object.assign(contents, doc);
|
|
1892
|
+
return contents;
|
|
1893
|
+
}, "de_ListAppInstanceBotsCommand");
|
|
1894
|
+
var de_ListAppInstanceBotsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1895
|
+
const parsedOutput = {
|
|
1896
|
+
...output,
|
|
1897
|
+
body: await parseErrorBody(output.body, context)
|
|
1898
|
+
};
|
|
1899
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1900
|
+
switch (errorCode) {
|
|
1901
|
+
case "BadRequestException":
|
|
1902
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1903
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1904
|
+
case "ForbiddenException":
|
|
1905
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1906
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1907
|
+
case "ResourceLimitExceededException":
|
|
1908
|
+
case "com.amazonaws.chimesdkidentity#ResourceLimitExceededException":
|
|
1909
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
1910
|
+
case "ServiceFailureException":
|
|
1911
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1912
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1913
|
+
case "ServiceUnavailableException":
|
|
1914
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1915
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1916
|
+
case "ThrottledClientException":
|
|
1917
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1918
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1919
|
+
case "UnauthorizedClientException":
|
|
1920
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1921
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1922
|
+
default:
|
|
1923
|
+
const parsedBody = parsedOutput.body;
|
|
1924
|
+
return throwDefaultError({
|
|
1925
|
+
output,
|
|
1926
|
+
parsedBody,
|
|
1927
|
+
errorCode
|
|
1928
|
+
});
|
|
1929
|
+
}
|
|
1930
|
+
}, "de_ListAppInstanceBotsCommandError");
|
|
1931
|
+
var de_ListAppInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1932
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1933
|
+
return de_ListAppInstancesCommandError(output, context);
|
|
1934
|
+
}
|
|
1935
|
+
const contents = (0, import_smithy_client.map)({
|
|
1936
|
+
$metadata: deserializeMetadata(output)
|
|
1937
|
+
});
|
|
1938
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1939
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1940
|
+
AppInstances: import_smithy_client._json,
|
|
1941
|
+
NextToken: import_smithy_client.expectString
|
|
1942
|
+
});
|
|
1943
|
+
Object.assign(contents, doc);
|
|
1944
|
+
return contents;
|
|
1945
|
+
}, "de_ListAppInstancesCommand");
|
|
1946
|
+
var de_ListAppInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1947
|
+
const parsedOutput = {
|
|
1948
|
+
...output,
|
|
1949
|
+
body: await parseErrorBody(output.body, context)
|
|
1950
|
+
};
|
|
1951
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1952
|
+
switch (errorCode) {
|
|
1953
|
+
case "BadRequestException":
|
|
1954
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
1955
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1956
|
+
case "ForbiddenException":
|
|
1957
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
1958
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1959
|
+
case "ServiceFailureException":
|
|
1960
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
1961
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
1962
|
+
case "ServiceUnavailableException":
|
|
1963
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
1964
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1965
|
+
case "ThrottledClientException":
|
|
1966
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
1967
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
1968
|
+
case "UnauthorizedClientException":
|
|
1969
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
1970
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
1971
|
+
default:
|
|
1972
|
+
const parsedBody = parsedOutput.body;
|
|
1973
|
+
return throwDefaultError({
|
|
1974
|
+
output,
|
|
1975
|
+
parsedBody,
|
|
1976
|
+
errorCode
|
|
1977
|
+
});
|
|
1978
|
+
}
|
|
1979
|
+
}, "de_ListAppInstancesCommandError");
|
|
1980
|
+
var de_ListAppInstanceUserEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1981
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1982
|
+
return de_ListAppInstanceUserEndpointsCommandError(output, context);
|
|
1983
|
+
}
|
|
1984
|
+
const contents = (0, import_smithy_client.map)({
|
|
1985
|
+
$metadata: deserializeMetadata(output)
|
|
1986
|
+
});
|
|
1987
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1988
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1989
|
+
AppInstanceUserEndpoints: import_smithy_client._json,
|
|
1990
|
+
NextToken: import_smithy_client.expectString
|
|
1991
|
+
});
|
|
1992
|
+
Object.assign(contents, doc);
|
|
1993
|
+
return contents;
|
|
1994
|
+
}, "de_ListAppInstanceUserEndpointsCommand");
|
|
1995
|
+
var de_ListAppInstanceUserEndpointsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1996
|
+
const parsedOutput = {
|
|
1997
|
+
...output,
|
|
1998
|
+
body: await parseErrorBody(output.body, context)
|
|
1999
|
+
};
|
|
2000
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2001
|
+
switch (errorCode) {
|
|
2002
|
+
case "BadRequestException":
|
|
2003
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
2004
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2005
|
+
case "ForbiddenException":
|
|
2006
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
2007
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2008
|
+
case "ServiceFailureException":
|
|
2009
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
2010
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2011
|
+
case "ServiceUnavailableException":
|
|
2012
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
2013
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2014
|
+
case "ThrottledClientException":
|
|
2015
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
2016
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2017
|
+
case "UnauthorizedClientException":
|
|
2018
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
2019
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2020
|
+
default:
|
|
2021
|
+
const parsedBody = parsedOutput.body;
|
|
2022
|
+
return throwDefaultError({
|
|
2023
|
+
output,
|
|
2024
|
+
parsedBody,
|
|
2025
|
+
errorCode
|
|
2026
|
+
});
|
|
2027
|
+
}
|
|
2028
|
+
}, "de_ListAppInstanceUserEndpointsCommandError");
|
|
2029
|
+
var de_ListAppInstanceUsersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2030
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2031
|
+
return de_ListAppInstanceUsersCommandError(output, context);
|
|
2032
|
+
}
|
|
2033
|
+
const contents = (0, import_smithy_client.map)({
|
|
2034
|
+
$metadata: deserializeMetadata(output)
|
|
2035
|
+
});
|
|
2036
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2037
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2038
|
+
AppInstanceArn: import_smithy_client.expectString,
|
|
2039
|
+
AppInstanceUsers: import_smithy_client._json,
|
|
2040
|
+
NextToken: import_smithy_client.expectString
|
|
2041
|
+
});
|
|
2042
|
+
Object.assign(contents, doc);
|
|
2043
|
+
return contents;
|
|
2044
|
+
}, "de_ListAppInstanceUsersCommand");
|
|
2045
|
+
var de_ListAppInstanceUsersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2046
|
+
const parsedOutput = {
|
|
2047
|
+
...output,
|
|
2048
|
+
body: await parseErrorBody(output.body, context)
|
|
2049
|
+
};
|
|
2050
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2051
|
+
switch (errorCode) {
|
|
2052
|
+
case "BadRequestException":
|
|
2053
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
2054
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2055
|
+
case "ForbiddenException":
|
|
2056
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
2057
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2058
|
+
case "ServiceFailureException":
|
|
2059
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
2060
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2061
|
+
case "ServiceUnavailableException":
|
|
2062
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
2063
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2064
|
+
case "ThrottledClientException":
|
|
2065
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
2066
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2067
|
+
case "UnauthorizedClientException":
|
|
2068
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
2069
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2070
|
+
default:
|
|
2071
|
+
const parsedBody = parsedOutput.body;
|
|
2072
|
+
return throwDefaultError({
|
|
2073
|
+
output,
|
|
2074
|
+
parsedBody,
|
|
2075
|
+
errorCode
|
|
2076
|
+
});
|
|
2077
|
+
}
|
|
2078
|
+
}, "de_ListAppInstanceUsersCommandError");
|
|
2079
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2080
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2081
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
2082
|
+
}
|
|
2083
|
+
const contents = (0, import_smithy_client.map)({
|
|
2084
|
+
$metadata: deserializeMetadata(output)
|
|
2085
|
+
});
|
|
2086
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2087
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2088
|
+
Tags: import_smithy_client._json
|
|
2089
|
+
});
|
|
2090
|
+
Object.assign(contents, doc);
|
|
2091
|
+
return contents;
|
|
2092
|
+
}, "de_ListTagsForResourceCommand");
|
|
2093
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2094
|
+
const parsedOutput = {
|
|
2095
|
+
...output,
|
|
2096
|
+
body: await parseErrorBody(output.body, context)
|
|
2097
|
+
};
|
|
2098
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2099
|
+
switch (errorCode) {
|
|
2100
|
+
case "BadRequestException":
|
|
2101
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
2102
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2103
|
+
case "ForbiddenException":
|
|
2104
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
2105
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2106
|
+
case "ServiceFailureException":
|
|
2107
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
2108
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2109
|
+
case "ServiceUnavailableException":
|
|
2110
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
2111
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2112
|
+
case "ThrottledClientException":
|
|
2113
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
2114
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2115
|
+
case "UnauthorizedClientException":
|
|
2116
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
2117
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2118
|
+
default:
|
|
2119
|
+
const parsedBody = parsedOutput.body;
|
|
2120
|
+
return throwDefaultError({
|
|
2121
|
+
output,
|
|
2122
|
+
parsedBody,
|
|
2123
|
+
errorCode
|
|
2124
|
+
});
|
|
2125
|
+
}
|
|
2126
|
+
}, "de_ListTagsForResourceCommandError");
|
|
2127
|
+
var de_PutAppInstanceRetentionSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2128
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2129
|
+
return de_PutAppInstanceRetentionSettingsCommandError(output, context);
|
|
2130
|
+
}
|
|
2131
|
+
const contents = (0, import_smithy_client.map)({
|
|
2132
|
+
$metadata: deserializeMetadata(output)
|
|
2133
|
+
});
|
|
2134
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2135
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2136
|
+
AppInstanceRetentionSettings: import_smithy_client._json,
|
|
2137
|
+
InitiateDeletionTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2138
|
+
});
|
|
2139
|
+
Object.assign(contents, doc);
|
|
2140
|
+
return contents;
|
|
2141
|
+
}, "de_PutAppInstanceRetentionSettingsCommand");
|
|
2142
|
+
var de_PutAppInstanceRetentionSettingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2143
|
+
const parsedOutput = {
|
|
2144
|
+
...output,
|
|
2145
|
+
body: await parseErrorBody(output.body, context)
|
|
2146
|
+
};
|
|
2147
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2148
|
+
switch (errorCode) {
|
|
2149
|
+
case "BadRequestException":
|
|
2150
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
2151
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2152
|
+
case "ForbiddenException":
|
|
2153
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
2154
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2155
|
+
case "ServiceFailureException":
|
|
2156
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
2157
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2158
|
+
case "ServiceUnavailableException":
|
|
2159
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
2160
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2161
|
+
case "ThrottledClientException":
|
|
2162
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
2163
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2164
|
+
case "UnauthorizedClientException":
|
|
2165
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
2166
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2167
|
+
default:
|
|
2168
|
+
const parsedBody = parsedOutput.body;
|
|
2169
|
+
return throwDefaultError({
|
|
2170
|
+
output,
|
|
2171
|
+
parsedBody,
|
|
2172
|
+
errorCode
|
|
2173
|
+
});
|
|
2174
|
+
}
|
|
2175
|
+
}, "de_PutAppInstanceRetentionSettingsCommandError");
|
|
2176
|
+
var de_PutAppInstanceUserExpirationSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2177
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2178
|
+
return de_PutAppInstanceUserExpirationSettingsCommandError(output, context);
|
|
2179
|
+
}
|
|
2180
|
+
const contents = (0, import_smithy_client.map)({
|
|
2181
|
+
$metadata: deserializeMetadata(output)
|
|
2182
|
+
});
|
|
2183
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2184
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2185
|
+
AppInstanceUserArn: import_smithy_client.expectString,
|
|
2186
|
+
ExpirationSettings: import_smithy_client._json
|
|
2187
|
+
});
|
|
2188
|
+
Object.assign(contents, doc);
|
|
2189
|
+
return contents;
|
|
2190
|
+
}, "de_PutAppInstanceUserExpirationSettingsCommand");
|
|
2191
|
+
var de_PutAppInstanceUserExpirationSettingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2192
|
+
const parsedOutput = {
|
|
2193
|
+
...output,
|
|
2194
|
+
body: await parseErrorBody(output.body, context)
|
|
2195
|
+
};
|
|
2196
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2197
|
+
switch (errorCode) {
|
|
2198
|
+
case "BadRequestException":
|
|
2199
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
2200
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2201
|
+
case "ConflictException":
|
|
2202
|
+
case "com.amazonaws.chimesdkidentity#ConflictException":
|
|
2203
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2204
|
+
case "ForbiddenException":
|
|
2205
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
2206
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2207
|
+
case "ServiceFailureException":
|
|
2208
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
2209
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2210
|
+
case "ServiceUnavailableException":
|
|
2211
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
2212
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2213
|
+
case "ThrottledClientException":
|
|
2214
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
2215
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2216
|
+
case "UnauthorizedClientException":
|
|
2217
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
2218
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2219
|
+
default:
|
|
2220
|
+
const parsedBody = parsedOutput.body;
|
|
2221
|
+
return throwDefaultError({
|
|
2222
|
+
output,
|
|
2223
|
+
parsedBody,
|
|
2224
|
+
errorCode
|
|
2225
|
+
});
|
|
2226
|
+
}
|
|
2227
|
+
}, "de_PutAppInstanceUserExpirationSettingsCommandError");
|
|
2228
|
+
var de_RegisterAppInstanceUserEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2229
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2230
|
+
return de_RegisterAppInstanceUserEndpointCommandError(output, context);
|
|
2231
|
+
}
|
|
2232
|
+
const contents = (0, import_smithy_client.map)({
|
|
2233
|
+
$metadata: deserializeMetadata(output)
|
|
2234
|
+
});
|
|
2235
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2236
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2237
|
+
AppInstanceUserArn: import_smithy_client.expectString,
|
|
2238
|
+
EndpointId: import_smithy_client.expectString
|
|
2239
|
+
});
|
|
2240
|
+
Object.assign(contents, doc);
|
|
2241
|
+
return contents;
|
|
2242
|
+
}, "de_RegisterAppInstanceUserEndpointCommand");
|
|
2243
|
+
var de_RegisterAppInstanceUserEndpointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2244
|
+
const parsedOutput = {
|
|
2245
|
+
...output,
|
|
2246
|
+
body: await parseErrorBody(output.body, context)
|
|
2247
|
+
};
|
|
2248
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2249
|
+
switch (errorCode) {
|
|
2250
|
+
case "BadRequestException":
|
|
2251
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
2252
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2253
|
+
case "ConflictException":
|
|
2254
|
+
case "com.amazonaws.chimesdkidentity#ConflictException":
|
|
2255
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2256
|
+
case "ForbiddenException":
|
|
2257
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
2258
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2259
|
+
case "ResourceLimitExceededException":
|
|
2260
|
+
case "com.amazonaws.chimesdkidentity#ResourceLimitExceededException":
|
|
2261
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
2262
|
+
case "ServiceFailureException":
|
|
2263
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
2264
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2265
|
+
case "ServiceUnavailableException":
|
|
2266
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
2267
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2268
|
+
case "ThrottledClientException":
|
|
2269
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
2270
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2271
|
+
case "UnauthorizedClientException":
|
|
2272
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
2273
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2274
|
+
default:
|
|
2275
|
+
const parsedBody = parsedOutput.body;
|
|
2276
|
+
return throwDefaultError({
|
|
2277
|
+
output,
|
|
2278
|
+
parsedBody,
|
|
2279
|
+
errorCode
|
|
2280
|
+
});
|
|
2281
|
+
}
|
|
2282
|
+
}, "de_RegisterAppInstanceUserEndpointCommandError");
|
|
2283
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2284
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2285
|
+
return de_TagResourceCommandError(output, context);
|
|
2286
|
+
}
|
|
2287
|
+
const contents = (0, import_smithy_client.map)({
|
|
2288
|
+
$metadata: deserializeMetadata(output)
|
|
2289
|
+
});
|
|
2290
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2291
|
+
return contents;
|
|
2292
|
+
}, "de_TagResourceCommand");
|
|
2293
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2294
|
+
const parsedOutput = {
|
|
2295
|
+
...output,
|
|
2296
|
+
body: await parseErrorBody(output.body, context)
|
|
2297
|
+
};
|
|
2298
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2299
|
+
switch (errorCode) {
|
|
2300
|
+
case "BadRequestException":
|
|
2301
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
2302
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2303
|
+
case "ForbiddenException":
|
|
2304
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
2305
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2306
|
+
case "ResourceLimitExceededException":
|
|
2307
|
+
case "com.amazonaws.chimesdkidentity#ResourceLimitExceededException":
|
|
2308
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
2309
|
+
case "ServiceFailureException":
|
|
2310
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
2311
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2312
|
+
case "ServiceUnavailableException":
|
|
2313
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
2314
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2315
|
+
case "ThrottledClientException":
|
|
2316
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
2317
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2318
|
+
case "UnauthorizedClientException":
|
|
2319
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
2320
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2321
|
+
default:
|
|
2322
|
+
const parsedBody = parsedOutput.body;
|
|
2323
|
+
return throwDefaultError({
|
|
2324
|
+
output,
|
|
2325
|
+
parsedBody,
|
|
2326
|
+
errorCode
|
|
2327
|
+
});
|
|
2328
|
+
}
|
|
2329
|
+
}, "de_TagResourceCommandError");
|
|
2330
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2331
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2332
|
+
return de_UntagResourceCommandError(output, context);
|
|
2333
|
+
}
|
|
2334
|
+
const contents = (0, import_smithy_client.map)({
|
|
2335
|
+
$metadata: deserializeMetadata(output)
|
|
2336
|
+
});
|
|
2337
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2338
|
+
return contents;
|
|
2339
|
+
}, "de_UntagResourceCommand");
|
|
2340
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2341
|
+
const parsedOutput = {
|
|
2342
|
+
...output,
|
|
2343
|
+
body: await parseErrorBody(output.body, context)
|
|
2344
|
+
};
|
|
2345
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2346
|
+
switch (errorCode) {
|
|
2347
|
+
case "BadRequestException":
|
|
2348
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
2349
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2350
|
+
case "ForbiddenException":
|
|
2351
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
2352
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2353
|
+
case "ServiceFailureException":
|
|
2354
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
2355
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2356
|
+
case "ServiceUnavailableException":
|
|
2357
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
2358
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2359
|
+
case "ThrottledClientException":
|
|
2360
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
2361
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2362
|
+
case "UnauthorizedClientException":
|
|
2363
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
2364
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2365
|
+
default:
|
|
2366
|
+
const parsedBody = parsedOutput.body;
|
|
2367
|
+
return throwDefaultError({
|
|
2368
|
+
output,
|
|
2369
|
+
parsedBody,
|
|
2370
|
+
errorCode
|
|
2371
|
+
});
|
|
2372
|
+
}
|
|
2373
|
+
}, "de_UntagResourceCommandError");
|
|
2374
|
+
var de_UpdateAppInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2375
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2376
|
+
return de_UpdateAppInstanceCommandError(output, context);
|
|
2377
|
+
}
|
|
2378
|
+
const contents = (0, import_smithy_client.map)({
|
|
2379
|
+
$metadata: deserializeMetadata(output)
|
|
2380
|
+
});
|
|
2381
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2382
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2383
|
+
AppInstanceArn: import_smithy_client.expectString
|
|
2384
|
+
});
|
|
2385
|
+
Object.assign(contents, doc);
|
|
2386
|
+
return contents;
|
|
2387
|
+
}, "de_UpdateAppInstanceCommand");
|
|
2388
|
+
var de_UpdateAppInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2389
|
+
const parsedOutput = {
|
|
2390
|
+
...output,
|
|
2391
|
+
body: await parseErrorBody(output.body, context)
|
|
2392
|
+
};
|
|
2393
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2394
|
+
switch (errorCode) {
|
|
2395
|
+
case "BadRequestException":
|
|
2396
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
2397
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2398
|
+
case "ConflictException":
|
|
2399
|
+
case "com.amazonaws.chimesdkidentity#ConflictException":
|
|
2400
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2401
|
+
case "ForbiddenException":
|
|
2402
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
2403
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2404
|
+
case "ServiceFailureException":
|
|
2405
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
2406
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2407
|
+
case "ServiceUnavailableException":
|
|
2408
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
2409
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2410
|
+
case "ThrottledClientException":
|
|
2411
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
2412
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2413
|
+
case "UnauthorizedClientException":
|
|
2414
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
2415
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2416
|
+
default:
|
|
2417
|
+
const parsedBody = parsedOutput.body;
|
|
2418
|
+
return throwDefaultError({
|
|
2419
|
+
output,
|
|
2420
|
+
parsedBody,
|
|
2421
|
+
errorCode
|
|
2422
|
+
});
|
|
2423
|
+
}
|
|
2424
|
+
}, "de_UpdateAppInstanceCommandError");
|
|
2425
|
+
var de_UpdateAppInstanceBotCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2426
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2427
|
+
return de_UpdateAppInstanceBotCommandError(output, context);
|
|
2428
|
+
}
|
|
2429
|
+
const contents = (0, import_smithy_client.map)({
|
|
2430
|
+
$metadata: deserializeMetadata(output)
|
|
2431
|
+
});
|
|
2432
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2433
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2434
|
+
AppInstanceBotArn: import_smithy_client.expectString
|
|
2435
|
+
});
|
|
2436
|
+
Object.assign(contents, doc);
|
|
2437
|
+
return contents;
|
|
2438
|
+
}, "de_UpdateAppInstanceBotCommand");
|
|
2439
|
+
var de_UpdateAppInstanceBotCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2440
|
+
const parsedOutput = {
|
|
2441
|
+
...output,
|
|
2442
|
+
body: await parseErrorBody(output.body, context)
|
|
2443
|
+
};
|
|
2444
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2445
|
+
switch (errorCode) {
|
|
2446
|
+
case "BadRequestException":
|
|
2447
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
2448
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2449
|
+
case "ConflictException":
|
|
2450
|
+
case "com.amazonaws.chimesdkidentity#ConflictException":
|
|
2451
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2452
|
+
case "ForbiddenException":
|
|
2453
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
2454
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2455
|
+
case "ResourceLimitExceededException":
|
|
2456
|
+
case "com.amazonaws.chimesdkidentity#ResourceLimitExceededException":
|
|
2457
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
2458
|
+
case "ServiceFailureException":
|
|
2459
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
2460
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2461
|
+
case "ServiceUnavailableException":
|
|
2462
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
2463
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2464
|
+
case "ThrottledClientException":
|
|
2465
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
2466
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2467
|
+
case "UnauthorizedClientException":
|
|
2468
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
2469
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2470
|
+
default:
|
|
2471
|
+
const parsedBody = parsedOutput.body;
|
|
2472
|
+
return throwDefaultError({
|
|
2473
|
+
output,
|
|
2474
|
+
parsedBody,
|
|
2475
|
+
errorCode
|
|
2476
|
+
});
|
|
2477
|
+
}
|
|
2478
|
+
}, "de_UpdateAppInstanceBotCommandError");
|
|
2479
|
+
var de_UpdateAppInstanceUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2480
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2481
|
+
return de_UpdateAppInstanceUserCommandError(output, context);
|
|
2482
|
+
}
|
|
2483
|
+
const contents = (0, import_smithy_client.map)({
|
|
2484
|
+
$metadata: deserializeMetadata(output)
|
|
2485
|
+
});
|
|
2486
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2487
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2488
|
+
AppInstanceUserArn: import_smithy_client.expectString
|
|
2489
|
+
});
|
|
2490
|
+
Object.assign(contents, doc);
|
|
2491
|
+
return contents;
|
|
2492
|
+
}, "de_UpdateAppInstanceUserCommand");
|
|
2493
|
+
var de_UpdateAppInstanceUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2494
|
+
const parsedOutput = {
|
|
2495
|
+
...output,
|
|
2496
|
+
body: await parseErrorBody(output.body, context)
|
|
2497
|
+
};
|
|
2498
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2499
|
+
switch (errorCode) {
|
|
2500
|
+
case "BadRequestException":
|
|
2501
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
2502
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2503
|
+
case "ConflictException":
|
|
2504
|
+
case "com.amazonaws.chimesdkidentity#ConflictException":
|
|
2505
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2506
|
+
case "ForbiddenException":
|
|
2507
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
2508
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2509
|
+
case "ResourceLimitExceededException":
|
|
2510
|
+
case "com.amazonaws.chimesdkidentity#ResourceLimitExceededException":
|
|
2511
|
+
throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);
|
|
2512
|
+
case "ServiceFailureException":
|
|
2513
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
2514
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2515
|
+
case "ServiceUnavailableException":
|
|
2516
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
2517
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2518
|
+
case "ThrottledClientException":
|
|
2519
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
2520
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2521
|
+
case "UnauthorizedClientException":
|
|
2522
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
2523
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2524
|
+
default:
|
|
2525
|
+
const parsedBody = parsedOutput.body;
|
|
2526
|
+
return throwDefaultError({
|
|
2527
|
+
output,
|
|
2528
|
+
parsedBody,
|
|
2529
|
+
errorCode
|
|
2530
|
+
});
|
|
2531
|
+
}
|
|
2532
|
+
}, "de_UpdateAppInstanceUserCommandError");
|
|
2533
|
+
var de_UpdateAppInstanceUserEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2534
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2535
|
+
return de_UpdateAppInstanceUserEndpointCommandError(output, context);
|
|
2536
|
+
}
|
|
2537
|
+
const contents = (0, import_smithy_client.map)({
|
|
2538
|
+
$metadata: deserializeMetadata(output)
|
|
2539
|
+
});
|
|
2540
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2541
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2542
|
+
AppInstanceUserArn: import_smithy_client.expectString,
|
|
2543
|
+
EndpointId: import_smithy_client.expectString
|
|
2544
|
+
});
|
|
2545
|
+
Object.assign(contents, doc);
|
|
2546
|
+
return contents;
|
|
2547
|
+
}, "de_UpdateAppInstanceUserEndpointCommand");
|
|
2548
|
+
var de_UpdateAppInstanceUserEndpointCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2549
|
+
const parsedOutput = {
|
|
2550
|
+
...output,
|
|
2551
|
+
body: await parseErrorBody(output.body, context)
|
|
2552
|
+
};
|
|
2553
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2554
|
+
switch (errorCode) {
|
|
2555
|
+
case "BadRequestException":
|
|
2556
|
+
case "com.amazonaws.chimesdkidentity#BadRequestException":
|
|
2557
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2558
|
+
case "ConflictException":
|
|
2559
|
+
case "com.amazonaws.chimesdkidentity#ConflictException":
|
|
2560
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2561
|
+
case "ForbiddenException":
|
|
2562
|
+
case "com.amazonaws.chimesdkidentity#ForbiddenException":
|
|
2563
|
+
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
2564
|
+
case "ServiceFailureException":
|
|
2565
|
+
case "com.amazonaws.chimesdkidentity#ServiceFailureException":
|
|
2566
|
+
throw await de_ServiceFailureExceptionRes(parsedOutput, context);
|
|
2567
|
+
case "ServiceUnavailableException":
|
|
2568
|
+
case "com.amazonaws.chimesdkidentity#ServiceUnavailableException":
|
|
2569
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2570
|
+
case "ThrottledClientException":
|
|
2571
|
+
case "com.amazonaws.chimesdkidentity#ThrottledClientException":
|
|
2572
|
+
throw await de_ThrottledClientExceptionRes(parsedOutput, context);
|
|
2573
|
+
case "UnauthorizedClientException":
|
|
2574
|
+
case "com.amazonaws.chimesdkidentity#UnauthorizedClientException":
|
|
2575
|
+
throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);
|
|
2576
|
+
default:
|
|
2577
|
+
const parsedBody = parsedOutput.body;
|
|
2578
|
+
return throwDefaultError({
|
|
2579
|
+
output,
|
|
2580
|
+
parsedBody,
|
|
2581
|
+
errorCode
|
|
2582
|
+
});
|
|
2583
|
+
}
|
|
2584
|
+
}, "de_UpdateAppInstanceUserEndpointCommandError");
|
|
2585
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(ChimeSDKIdentityServiceException);
|
|
2586
|
+
var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2587
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2588
|
+
const data = parsedOutput.body;
|
|
2589
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2590
|
+
Code: import_smithy_client.expectString,
|
|
2591
|
+
Message: import_smithy_client.expectString
|
|
2592
|
+
});
|
|
2593
|
+
Object.assign(contents, doc);
|
|
2594
|
+
const exception = new BadRequestException({
|
|
2595
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2596
|
+
...contents
|
|
2597
|
+
});
|
|
2598
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2599
|
+
}, "de_BadRequestExceptionRes");
|
|
2600
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2601
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2602
|
+
const data = parsedOutput.body;
|
|
2603
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2604
|
+
Code: import_smithy_client.expectString,
|
|
2605
|
+
Message: import_smithy_client.expectString
|
|
2606
|
+
});
|
|
2607
|
+
Object.assign(contents, doc);
|
|
2608
|
+
const exception = new ConflictException({
|
|
2609
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2610
|
+
...contents
|
|
2611
|
+
});
|
|
2612
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2613
|
+
}, "de_ConflictExceptionRes");
|
|
2614
|
+
var de_ForbiddenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2615
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2616
|
+
const data = parsedOutput.body;
|
|
2617
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2618
|
+
Code: import_smithy_client.expectString,
|
|
2619
|
+
Message: import_smithy_client.expectString
|
|
2620
|
+
});
|
|
2621
|
+
Object.assign(contents, doc);
|
|
2622
|
+
const exception = new ForbiddenException({
|
|
2623
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2624
|
+
...contents
|
|
2625
|
+
});
|
|
2626
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2627
|
+
}, "de_ForbiddenExceptionRes");
|
|
2628
|
+
var de_NotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2629
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2630
|
+
const data = parsedOutput.body;
|
|
2631
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2632
|
+
Code: import_smithy_client.expectString,
|
|
2633
|
+
Message: import_smithy_client.expectString
|
|
2634
|
+
});
|
|
2635
|
+
Object.assign(contents, doc);
|
|
2636
|
+
const exception = new NotFoundException({
|
|
2637
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2638
|
+
...contents
|
|
2639
|
+
});
|
|
2640
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2641
|
+
}, "de_NotFoundExceptionRes");
|
|
2642
|
+
var de_ResourceLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2643
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2644
|
+
const data = parsedOutput.body;
|
|
2645
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2646
|
+
Code: import_smithy_client.expectString,
|
|
2647
|
+
Message: import_smithy_client.expectString
|
|
2648
|
+
});
|
|
2649
|
+
Object.assign(contents, doc);
|
|
2650
|
+
const exception = new ResourceLimitExceededException({
|
|
2651
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2652
|
+
...contents
|
|
2653
|
+
});
|
|
2654
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2655
|
+
}, "de_ResourceLimitExceededExceptionRes");
|
|
2656
|
+
var de_ServiceFailureExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2657
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2658
|
+
const data = parsedOutput.body;
|
|
2659
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2660
|
+
Code: import_smithy_client.expectString,
|
|
2661
|
+
Message: import_smithy_client.expectString
|
|
2662
|
+
});
|
|
2663
|
+
Object.assign(contents, doc);
|
|
2664
|
+
const exception = new ServiceFailureException({
|
|
2665
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2666
|
+
...contents
|
|
2667
|
+
});
|
|
2668
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2669
|
+
}, "de_ServiceFailureExceptionRes");
|
|
2670
|
+
var de_ServiceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2671
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2672
|
+
const data = parsedOutput.body;
|
|
2673
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2674
|
+
Code: import_smithy_client.expectString,
|
|
2675
|
+
Message: import_smithy_client.expectString
|
|
2676
|
+
});
|
|
2677
|
+
Object.assign(contents, doc);
|
|
2678
|
+
const exception = new ServiceUnavailableException({
|
|
2679
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2680
|
+
...contents
|
|
2681
|
+
});
|
|
2682
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2683
|
+
}, "de_ServiceUnavailableExceptionRes");
|
|
2684
|
+
var de_ThrottledClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2685
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2686
|
+
const data = parsedOutput.body;
|
|
2687
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2688
|
+
Code: import_smithy_client.expectString,
|
|
2689
|
+
Message: import_smithy_client.expectString
|
|
2690
|
+
});
|
|
2691
|
+
Object.assign(contents, doc);
|
|
2692
|
+
const exception = new ThrottledClientException({
|
|
2693
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2694
|
+
...contents
|
|
2695
|
+
});
|
|
2696
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2697
|
+
}, "de_ThrottledClientExceptionRes");
|
|
2698
|
+
var de_UnauthorizedClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2699
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2700
|
+
const data = parsedOutput.body;
|
|
2701
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2702
|
+
Code: import_smithy_client.expectString,
|
|
2703
|
+
Message: import_smithy_client.expectString
|
|
2704
|
+
});
|
|
2705
|
+
Object.assign(contents, doc);
|
|
2706
|
+
const exception = new UnauthorizedClientException({
|
|
2707
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2708
|
+
...contents
|
|
2709
|
+
});
|
|
2710
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2711
|
+
}, "de_UnauthorizedClientExceptionRes");
|
|
2712
|
+
var de_AppInstance = /* @__PURE__ */ __name((output, context) => {
|
|
2713
|
+
return (0, import_smithy_client.take)(output, {
|
|
2714
|
+
AppInstanceArn: import_smithy_client.expectString,
|
|
2715
|
+
CreatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2716
|
+
LastUpdatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2717
|
+
Metadata: import_smithy_client.expectString,
|
|
2718
|
+
Name: import_smithy_client.expectString
|
|
2719
|
+
});
|
|
2720
|
+
}, "de_AppInstance");
|
|
2721
|
+
var de_AppInstanceAdmin = /* @__PURE__ */ __name((output, context) => {
|
|
2722
|
+
return (0, import_smithy_client.take)(output, {
|
|
2723
|
+
Admin: import_smithy_client._json,
|
|
2724
|
+
AppInstanceArn: import_smithy_client.expectString,
|
|
2725
|
+
CreatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
2726
|
+
});
|
|
2727
|
+
}, "de_AppInstanceAdmin");
|
|
2728
|
+
var de_AppInstanceBot = /* @__PURE__ */ __name((output, context) => {
|
|
2729
|
+
return (0, import_smithy_client.take)(output, {
|
|
2730
|
+
AppInstanceBotArn: import_smithy_client.expectString,
|
|
2731
|
+
Configuration: import_smithy_client._json,
|
|
2732
|
+
CreatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2733
|
+
LastUpdatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2734
|
+
Metadata: import_smithy_client.expectString,
|
|
2735
|
+
Name: import_smithy_client.expectString
|
|
2736
|
+
});
|
|
2737
|
+
}, "de_AppInstanceBot");
|
|
2738
|
+
var de_AppInstanceUser = /* @__PURE__ */ __name((output, context) => {
|
|
2739
|
+
return (0, import_smithy_client.take)(output, {
|
|
2740
|
+
AppInstanceUserArn: import_smithy_client.expectString,
|
|
2741
|
+
CreatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2742
|
+
ExpirationSettings: import_smithy_client._json,
|
|
2743
|
+
LastUpdatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2744
|
+
Metadata: import_smithy_client.expectString,
|
|
2745
|
+
Name: import_smithy_client.expectString
|
|
2746
|
+
});
|
|
2747
|
+
}, "de_AppInstanceUser");
|
|
2748
|
+
var de_AppInstanceUserEndpoint = /* @__PURE__ */ __name((output, context) => {
|
|
2749
|
+
return (0, import_smithy_client.take)(output, {
|
|
2750
|
+
AllowMessages: import_smithy_client.expectString,
|
|
2751
|
+
AppInstanceUserArn: import_smithy_client.expectString,
|
|
2752
|
+
CreatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2753
|
+
EndpointAttributes: import_smithy_client._json,
|
|
2754
|
+
EndpointId: import_smithy_client.expectString,
|
|
2755
|
+
EndpointState: import_smithy_client._json,
|
|
2756
|
+
LastUpdatedTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
2757
|
+
Name: import_smithy_client.expectString,
|
|
2758
|
+
ResourceArn: import_smithy_client.expectString,
|
|
2759
|
+
Type: import_smithy_client.expectString
|
|
2760
|
+
});
|
|
2761
|
+
}, "de_AppInstanceUserEndpoint");
|
|
2762
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2763
|
+
httpStatusCode: output.statusCode,
|
|
2764
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2765
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2766
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2767
|
+
}), "deserializeMetadata");
|
|
2768
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2769
|
+
var _AIA = "AppInstanceArn";
|
|
2770
|
+
var _MR = "MaxResults";
|
|
2771
|
+
var _NT = "NextToken";
|
|
2772
|
+
var _RARN = "ResourceARN";
|
|
2773
|
+
var _a = "arn";
|
|
2774
|
+
var _aia = "app-instance-arn";
|
|
2775
|
+
var _mr = "max-results";
|
|
2776
|
+
var _nt = "next-token";
|
|
2777
|
+
var _o = "operation";
|
|
2778
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2779
|
+
if (encoded.length) {
|
|
2780
|
+
return JSON.parse(encoded);
|
|
2781
|
+
}
|
|
2782
|
+
return {};
|
|
2783
|
+
}), "parseBody");
|
|
2784
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2785
|
+
const value = await parseBody(errorBody, context);
|
|
2786
|
+
value.message = value.message ?? value.Message;
|
|
2787
|
+
return value;
|
|
2788
|
+
}, "parseErrorBody");
|
|
2789
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2790
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2791
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2792
|
+
let cleanValue = rawValue;
|
|
2793
|
+
if (typeof cleanValue === "number") {
|
|
2794
|
+
cleanValue = cleanValue.toString();
|
|
2795
|
+
}
|
|
2796
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2797
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2798
|
+
}
|
|
2799
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2800
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2801
|
+
}
|
|
2802
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2803
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2804
|
+
}
|
|
2805
|
+
return cleanValue;
|
|
2806
|
+
}, "sanitizeErrorCode");
|
|
2807
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2808
|
+
if (headerKey !== void 0) {
|
|
2809
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2810
|
+
}
|
|
2811
|
+
if (data.code !== void 0) {
|
|
2812
|
+
return sanitizeErrorCode(data.code);
|
|
2813
|
+
}
|
|
2814
|
+
if (data["__type"] !== void 0) {
|
|
2815
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2816
|
+
}
|
|
2817
|
+
}, "loadRestJsonErrorCode");
|
|
2818
|
+
|
|
2819
|
+
// src/commands/CreateAppInstanceAdminCommand.ts
|
|
2820
|
+
var _CreateAppInstanceAdminCommand = class _CreateAppInstanceAdminCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2821
|
+
...commonParams
|
|
2822
|
+
}).m(function(Command, cs, config, o) {
|
|
2823
|
+
return [
|
|
2824
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2825
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2826
|
+
];
|
|
2827
|
+
}).s("ChimeIdentityService", "CreateAppInstanceAdmin", {}).n("ChimeSDKIdentityClient", "CreateAppInstanceAdminCommand").f(void 0, CreateAppInstanceAdminResponseFilterSensitiveLog).ser(se_CreateAppInstanceAdminCommand).de(de_CreateAppInstanceAdminCommand).build() {
|
|
2828
|
+
};
|
|
2829
|
+
__name(_CreateAppInstanceAdminCommand, "CreateAppInstanceAdminCommand");
|
|
2830
|
+
var CreateAppInstanceAdminCommand = _CreateAppInstanceAdminCommand;
|
|
2831
|
+
|
|
2832
|
+
// src/commands/CreateAppInstanceBotCommand.ts
|
|
2833
|
+
|
|
2834
|
+
|
|
2835
|
+
|
|
2836
|
+
|
|
2837
|
+
var _CreateAppInstanceBotCommand = class _CreateAppInstanceBotCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2838
|
+
...commonParams
|
|
2839
|
+
}).m(function(Command, cs, config, o) {
|
|
2840
|
+
return [
|
|
2841
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2842
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2843
|
+
];
|
|
2844
|
+
}).s("ChimeIdentityService", "CreateAppInstanceBot", {}).n("ChimeSDKIdentityClient", "CreateAppInstanceBotCommand").f(CreateAppInstanceBotRequestFilterSensitiveLog, void 0).ser(se_CreateAppInstanceBotCommand).de(de_CreateAppInstanceBotCommand).build() {
|
|
2845
|
+
};
|
|
2846
|
+
__name(_CreateAppInstanceBotCommand, "CreateAppInstanceBotCommand");
|
|
2847
|
+
var CreateAppInstanceBotCommand = _CreateAppInstanceBotCommand;
|
|
2848
|
+
|
|
2849
|
+
// src/commands/CreateAppInstanceCommand.ts
|
|
2850
|
+
|
|
2851
|
+
|
|
2852
|
+
|
|
2853
|
+
|
|
2854
|
+
var _CreateAppInstanceCommand = class _CreateAppInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2855
|
+
...commonParams
|
|
2856
|
+
}).m(function(Command, cs, config, o) {
|
|
2857
|
+
return [
|
|
2858
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2859
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2860
|
+
];
|
|
2861
|
+
}).s("ChimeIdentityService", "CreateAppInstance", {}).n("ChimeSDKIdentityClient", "CreateAppInstanceCommand").f(CreateAppInstanceRequestFilterSensitiveLog, void 0).ser(se_CreateAppInstanceCommand).de(de_CreateAppInstanceCommand).build() {
|
|
2862
|
+
};
|
|
2863
|
+
__name(_CreateAppInstanceCommand, "CreateAppInstanceCommand");
|
|
2864
|
+
var CreateAppInstanceCommand = _CreateAppInstanceCommand;
|
|
2865
|
+
|
|
2866
|
+
// src/commands/CreateAppInstanceUserCommand.ts
|
|
2867
|
+
|
|
2868
|
+
|
|
2869
|
+
|
|
2870
|
+
|
|
2871
|
+
var _CreateAppInstanceUserCommand = class _CreateAppInstanceUserCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2872
|
+
...commonParams
|
|
2873
|
+
}).m(function(Command, cs, config, o) {
|
|
2874
|
+
return [
|
|
2875
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2876
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2877
|
+
];
|
|
2878
|
+
}).s("ChimeIdentityService", "CreateAppInstanceUser", {}).n("ChimeSDKIdentityClient", "CreateAppInstanceUserCommand").f(CreateAppInstanceUserRequestFilterSensitiveLog, void 0).ser(se_CreateAppInstanceUserCommand).de(de_CreateAppInstanceUserCommand).build() {
|
|
2879
|
+
};
|
|
2880
|
+
__name(_CreateAppInstanceUserCommand, "CreateAppInstanceUserCommand");
|
|
2881
|
+
var CreateAppInstanceUserCommand = _CreateAppInstanceUserCommand;
|
|
2882
|
+
|
|
2883
|
+
// src/commands/DeleteAppInstanceAdminCommand.ts
|
|
2884
|
+
|
|
2885
|
+
|
|
2886
|
+
|
|
2887
|
+
|
|
2888
|
+
var _DeleteAppInstanceAdminCommand = class _DeleteAppInstanceAdminCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2889
|
+
...commonParams
|
|
2890
|
+
}).m(function(Command, cs, config, o) {
|
|
2891
|
+
return [
|
|
2892
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2893
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2894
|
+
];
|
|
2895
|
+
}).s("ChimeIdentityService", "DeleteAppInstanceAdmin", {}).n("ChimeSDKIdentityClient", "DeleteAppInstanceAdminCommand").f(void 0, void 0).ser(se_DeleteAppInstanceAdminCommand).de(de_DeleteAppInstanceAdminCommand).build() {
|
|
2896
|
+
};
|
|
2897
|
+
__name(_DeleteAppInstanceAdminCommand, "DeleteAppInstanceAdminCommand");
|
|
2898
|
+
var DeleteAppInstanceAdminCommand = _DeleteAppInstanceAdminCommand;
|
|
2899
|
+
|
|
2900
|
+
// src/commands/DeleteAppInstanceBotCommand.ts
|
|
2901
|
+
|
|
2902
|
+
|
|
2903
|
+
|
|
2904
|
+
|
|
2905
|
+
var _DeleteAppInstanceBotCommand = class _DeleteAppInstanceBotCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2906
|
+
...commonParams
|
|
2907
|
+
}).m(function(Command, cs, config, o) {
|
|
2908
|
+
return [
|
|
2909
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2910
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2911
|
+
];
|
|
2912
|
+
}).s("ChimeIdentityService", "DeleteAppInstanceBot", {}).n("ChimeSDKIdentityClient", "DeleteAppInstanceBotCommand").f(void 0, void 0).ser(se_DeleteAppInstanceBotCommand).de(de_DeleteAppInstanceBotCommand).build() {
|
|
2913
|
+
};
|
|
2914
|
+
__name(_DeleteAppInstanceBotCommand, "DeleteAppInstanceBotCommand");
|
|
2915
|
+
var DeleteAppInstanceBotCommand = _DeleteAppInstanceBotCommand;
|
|
2916
|
+
|
|
2917
|
+
// src/commands/DeleteAppInstanceCommand.ts
|
|
2918
|
+
|
|
2919
|
+
|
|
2920
|
+
|
|
2921
|
+
|
|
2922
|
+
var _DeleteAppInstanceCommand = class _DeleteAppInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2923
|
+
...commonParams
|
|
2924
|
+
}).m(function(Command, cs, config, o) {
|
|
2925
|
+
return [
|
|
2926
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2927
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2928
|
+
];
|
|
2929
|
+
}).s("ChimeIdentityService", "DeleteAppInstance", {}).n("ChimeSDKIdentityClient", "DeleteAppInstanceCommand").f(void 0, void 0).ser(se_DeleteAppInstanceCommand).de(de_DeleteAppInstanceCommand).build() {
|
|
2930
|
+
};
|
|
2931
|
+
__name(_DeleteAppInstanceCommand, "DeleteAppInstanceCommand");
|
|
2932
|
+
var DeleteAppInstanceCommand = _DeleteAppInstanceCommand;
|
|
2933
|
+
|
|
2934
|
+
// src/commands/DeleteAppInstanceUserCommand.ts
|
|
2935
|
+
|
|
2936
|
+
|
|
2937
|
+
|
|
2938
|
+
|
|
2939
|
+
var _DeleteAppInstanceUserCommand = class _DeleteAppInstanceUserCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2940
|
+
...commonParams
|
|
2941
|
+
}).m(function(Command, cs, config, o) {
|
|
2942
|
+
return [
|
|
2943
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2944
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2945
|
+
];
|
|
2946
|
+
}).s("ChimeIdentityService", "DeleteAppInstanceUser", {}).n("ChimeSDKIdentityClient", "DeleteAppInstanceUserCommand").f(void 0, void 0).ser(se_DeleteAppInstanceUserCommand).de(de_DeleteAppInstanceUserCommand).build() {
|
|
2947
|
+
};
|
|
2948
|
+
__name(_DeleteAppInstanceUserCommand, "DeleteAppInstanceUserCommand");
|
|
2949
|
+
var DeleteAppInstanceUserCommand = _DeleteAppInstanceUserCommand;
|
|
2950
|
+
|
|
2951
|
+
// src/commands/DeregisterAppInstanceUserEndpointCommand.ts
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
|
|
2955
|
+
|
|
2956
|
+
var _DeregisterAppInstanceUserEndpointCommand = class _DeregisterAppInstanceUserEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2957
|
+
...commonParams
|
|
2958
|
+
}).m(function(Command, cs, config, o) {
|
|
2959
|
+
return [
|
|
2960
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2961
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2962
|
+
];
|
|
2963
|
+
}).s("ChimeIdentityService", "DeregisterAppInstanceUserEndpoint", {}).n("ChimeSDKIdentityClient", "DeregisterAppInstanceUserEndpointCommand").f(void 0, void 0).ser(se_DeregisterAppInstanceUserEndpointCommand).de(de_DeregisterAppInstanceUserEndpointCommand).build() {
|
|
2964
|
+
};
|
|
2965
|
+
__name(_DeregisterAppInstanceUserEndpointCommand, "DeregisterAppInstanceUserEndpointCommand");
|
|
2966
|
+
var DeregisterAppInstanceUserEndpointCommand = _DeregisterAppInstanceUserEndpointCommand;
|
|
2967
|
+
|
|
2968
|
+
// src/commands/DescribeAppInstanceAdminCommand.ts
|
|
2969
|
+
|
|
2970
|
+
|
|
2971
|
+
|
|
2972
|
+
|
|
2973
|
+
var _DescribeAppInstanceAdminCommand = class _DescribeAppInstanceAdminCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2974
|
+
...commonParams
|
|
2975
|
+
}).m(function(Command, cs, config, o) {
|
|
2976
|
+
return [
|
|
2977
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2978
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2979
|
+
];
|
|
2980
|
+
}).s("ChimeIdentityService", "DescribeAppInstanceAdmin", {}).n("ChimeSDKIdentityClient", "DescribeAppInstanceAdminCommand").f(void 0, DescribeAppInstanceAdminResponseFilterSensitiveLog).ser(se_DescribeAppInstanceAdminCommand).de(de_DescribeAppInstanceAdminCommand).build() {
|
|
2981
|
+
};
|
|
2982
|
+
__name(_DescribeAppInstanceAdminCommand, "DescribeAppInstanceAdminCommand");
|
|
2983
|
+
var DescribeAppInstanceAdminCommand = _DescribeAppInstanceAdminCommand;
|
|
2984
|
+
|
|
2985
|
+
// src/commands/DescribeAppInstanceBotCommand.ts
|
|
2986
|
+
|
|
2987
|
+
|
|
2988
|
+
|
|
2989
|
+
|
|
2990
|
+
var _DescribeAppInstanceBotCommand = class _DescribeAppInstanceBotCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2991
|
+
...commonParams
|
|
2992
|
+
}).m(function(Command, cs, config, o) {
|
|
2993
|
+
return [
|
|
2994
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2995
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2996
|
+
];
|
|
2997
|
+
}).s("ChimeIdentityService", "DescribeAppInstanceBot", {}).n("ChimeSDKIdentityClient", "DescribeAppInstanceBotCommand").f(void 0, DescribeAppInstanceBotResponseFilterSensitiveLog).ser(se_DescribeAppInstanceBotCommand).de(de_DescribeAppInstanceBotCommand).build() {
|
|
2998
|
+
};
|
|
2999
|
+
__name(_DescribeAppInstanceBotCommand, "DescribeAppInstanceBotCommand");
|
|
3000
|
+
var DescribeAppInstanceBotCommand = _DescribeAppInstanceBotCommand;
|
|
3001
|
+
|
|
3002
|
+
// src/commands/DescribeAppInstanceCommand.ts
|
|
3003
|
+
|
|
3004
|
+
|
|
3005
|
+
|
|
3006
|
+
|
|
3007
|
+
var _DescribeAppInstanceCommand = class _DescribeAppInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3008
|
+
...commonParams
|
|
3009
|
+
}).m(function(Command, cs, config, o) {
|
|
3010
|
+
return [
|
|
3011
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3012
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3013
|
+
];
|
|
3014
|
+
}).s("ChimeIdentityService", "DescribeAppInstance", {}).n("ChimeSDKIdentityClient", "DescribeAppInstanceCommand").f(void 0, DescribeAppInstanceResponseFilterSensitiveLog).ser(se_DescribeAppInstanceCommand).de(de_DescribeAppInstanceCommand).build() {
|
|
3015
|
+
};
|
|
3016
|
+
__name(_DescribeAppInstanceCommand, "DescribeAppInstanceCommand");
|
|
3017
|
+
var DescribeAppInstanceCommand = _DescribeAppInstanceCommand;
|
|
3018
|
+
|
|
3019
|
+
// src/commands/DescribeAppInstanceUserCommand.ts
|
|
3020
|
+
|
|
3021
|
+
|
|
3022
|
+
|
|
3023
|
+
|
|
3024
|
+
var _DescribeAppInstanceUserCommand = class _DescribeAppInstanceUserCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3025
|
+
...commonParams
|
|
3026
|
+
}).m(function(Command, cs, config, o) {
|
|
3027
|
+
return [
|
|
3028
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3029
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3030
|
+
];
|
|
3031
|
+
}).s("ChimeIdentityService", "DescribeAppInstanceUser", {}).n("ChimeSDKIdentityClient", "DescribeAppInstanceUserCommand").f(void 0, DescribeAppInstanceUserResponseFilterSensitiveLog).ser(se_DescribeAppInstanceUserCommand).de(de_DescribeAppInstanceUserCommand).build() {
|
|
3032
|
+
};
|
|
3033
|
+
__name(_DescribeAppInstanceUserCommand, "DescribeAppInstanceUserCommand");
|
|
3034
|
+
var DescribeAppInstanceUserCommand = _DescribeAppInstanceUserCommand;
|
|
3035
|
+
|
|
3036
|
+
// src/commands/DescribeAppInstanceUserEndpointCommand.ts
|
|
3037
|
+
|
|
3038
|
+
|
|
3039
|
+
|
|
3040
|
+
|
|
3041
|
+
var _DescribeAppInstanceUserEndpointCommand = class _DescribeAppInstanceUserEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3042
|
+
...commonParams
|
|
3043
|
+
}).m(function(Command, cs, config, o) {
|
|
3044
|
+
return [
|
|
3045
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3046
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3047
|
+
];
|
|
3048
|
+
}).s("ChimeIdentityService", "DescribeAppInstanceUserEndpoint", {}).n("ChimeSDKIdentityClient", "DescribeAppInstanceUserEndpointCommand").f(void 0, DescribeAppInstanceUserEndpointResponseFilterSensitiveLog).ser(se_DescribeAppInstanceUserEndpointCommand).de(de_DescribeAppInstanceUserEndpointCommand).build() {
|
|
3049
|
+
};
|
|
3050
|
+
__name(_DescribeAppInstanceUserEndpointCommand, "DescribeAppInstanceUserEndpointCommand");
|
|
3051
|
+
var DescribeAppInstanceUserEndpointCommand = _DescribeAppInstanceUserEndpointCommand;
|
|
3052
|
+
|
|
3053
|
+
// src/commands/GetAppInstanceRetentionSettingsCommand.ts
|
|
3054
|
+
|
|
3055
|
+
|
|
3056
|
+
|
|
3057
|
+
|
|
3058
|
+
var _GetAppInstanceRetentionSettingsCommand = class _GetAppInstanceRetentionSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3059
|
+
...commonParams
|
|
3060
|
+
}).m(function(Command, cs, config, o) {
|
|
3061
|
+
return [
|
|
3062
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3063
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3064
|
+
];
|
|
3065
|
+
}).s("ChimeIdentityService", "GetAppInstanceRetentionSettings", {}).n("ChimeSDKIdentityClient", "GetAppInstanceRetentionSettingsCommand").f(void 0, void 0).ser(se_GetAppInstanceRetentionSettingsCommand).de(de_GetAppInstanceRetentionSettingsCommand).build() {
|
|
3066
|
+
};
|
|
3067
|
+
__name(_GetAppInstanceRetentionSettingsCommand, "GetAppInstanceRetentionSettingsCommand");
|
|
3068
|
+
var GetAppInstanceRetentionSettingsCommand = _GetAppInstanceRetentionSettingsCommand;
|
|
3069
|
+
|
|
3070
|
+
// src/commands/ListAppInstanceAdminsCommand.ts
|
|
3071
|
+
|
|
3072
|
+
|
|
3073
|
+
|
|
3074
|
+
|
|
3075
|
+
var _ListAppInstanceAdminsCommand = class _ListAppInstanceAdminsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3076
|
+
...commonParams
|
|
3077
|
+
}).m(function(Command, cs, config, o) {
|
|
3078
|
+
return [
|
|
3079
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3080
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3081
|
+
];
|
|
3082
|
+
}).s("ChimeIdentityService", "ListAppInstanceAdmins", {}).n("ChimeSDKIdentityClient", "ListAppInstanceAdminsCommand").f(ListAppInstanceAdminsRequestFilterSensitiveLog, ListAppInstanceAdminsResponseFilterSensitiveLog).ser(se_ListAppInstanceAdminsCommand).de(de_ListAppInstanceAdminsCommand).build() {
|
|
3083
|
+
};
|
|
3084
|
+
__name(_ListAppInstanceAdminsCommand, "ListAppInstanceAdminsCommand");
|
|
3085
|
+
var ListAppInstanceAdminsCommand = _ListAppInstanceAdminsCommand;
|
|
3086
|
+
|
|
3087
|
+
// src/commands/ListAppInstanceBotsCommand.ts
|
|
3088
|
+
|
|
3089
|
+
|
|
3090
|
+
|
|
3091
|
+
|
|
3092
|
+
var _ListAppInstanceBotsCommand = class _ListAppInstanceBotsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3093
|
+
...commonParams
|
|
3094
|
+
}).m(function(Command, cs, config, o) {
|
|
3095
|
+
return [
|
|
3096
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3097
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3098
|
+
];
|
|
3099
|
+
}).s("ChimeIdentityService", "ListAppInstanceBots", {}).n("ChimeSDKIdentityClient", "ListAppInstanceBotsCommand").f(ListAppInstanceBotsRequestFilterSensitiveLog, ListAppInstanceBotsResponseFilterSensitiveLog).ser(se_ListAppInstanceBotsCommand).de(de_ListAppInstanceBotsCommand).build() {
|
|
3100
|
+
};
|
|
3101
|
+
__name(_ListAppInstanceBotsCommand, "ListAppInstanceBotsCommand");
|
|
3102
|
+
var ListAppInstanceBotsCommand = _ListAppInstanceBotsCommand;
|
|
3103
|
+
|
|
3104
|
+
// src/commands/ListAppInstancesCommand.ts
|
|
3105
|
+
|
|
3106
|
+
|
|
3107
|
+
|
|
3108
|
+
|
|
3109
|
+
var _ListAppInstancesCommand = class _ListAppInstancesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3110
|
+
...commonParams
|
|
3111
|
+
}).m(function(Command, cs, config, o) {
|
|
3112
|
+
return [
|
|
3113
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3114
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3115
|
+
];
|
|
3116
|
+
}).s("ChimeIdentityService", "ListAppInstances", {}).n("ChimeSDKIdentityClient", "ListAppInstancesCommand").f(ListAppInstancesRequestFilterSensitiveLog, ListAppInstancesResponseFilterSensitiveLog).ser(se_ListAppInstancesCommand).de(de_ListAppInstancesCommand).build() {
|
|
3117
|
+
};
|
|
3118
|
+
__name(_ListAppInstancesCommand, "ListAppInstancesCommand");
|
|
3119
|
+
var ListAppInstancesCommand = _ListAppInstancesCommand;
|
|
3120
|
+
|
|
3121
|
+
// src/commands/ListAppInstanceUserEndpointsCommand.ts
|
|
3122
|
+
|
|
3123
|
+
|
|
3124
|
+
|
|
3125
|
+
|
|
3126
|
+
var _ListAppInstanceUserEndpointsCommand = class _ListAppInstanceUserEndpointsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3127
|
+
...commonParams
|
|
3128
|
+
}).m(function(Command, cs, config, o) {
|
|
3129
|
+
return [
|
|
3130
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3131
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3132
|
+
];
|
|
3133
|
+
}).s("ChimeIdentityService", "ListAppInstanceUserEndpoints", {}).n("ChimeSDKIdentityClient", "ListAppInstanceUserEndpointsCommand").f(ListAppInstanceUserEndpointsRequestFilterSensitiveLog, ListAppInstanceUserEndpointsResponseFilterSensitiveLog).ser(se_ListAppInstanceUserEndpointsCommand).de(de_ListAppInstanceUserEndpointsCommand).build() {
|
|
3134
|
+
};
|
|
3135
|
+
__name(_ListAppInstanceUserEndpointsCommand, "ListAppInstanceUserEndpointsCommand");
|
|
3136
|
+
var ListAppInstanceUserEndpointsCommand = _ListAppInstanceUserEndpointsCommand;
|
|
3137
|
+
|
|
3138
|
+
// src/commands/ListAppInstanceUsersCommand.ts
|
|
3139
|
+
|
|
3140
|
+
|
|
3141
|
+
|
|
3142
|
+
|
|
3143
|
+
var _ListAppInstanceUsersCommand = class _ListAppInstanceUsersCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3144
|
+
...commonParams
|
|
3145
|
+
}).m(function(Command, cs, config, o) {
|
|
3146
|
+
return [
|
|
3147
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3148
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3149
|
+
];
|
|
3150
|
+
}).s("ChimeIdentityService", "ListAppInstanceUsers", {}).n("ChimeSDKIdentityClient", "ListAppInstanceUsersCommand").f(ListAppInstanceUsersRequestFilterSensitiveLog, ListAppInstanceUsersResponseFilterSensitiveLog).ser(se_ListAppInstanceUsersCommand).de(de_ListAppInstanceUsersCommand).build() {
|
|
3151
|
+
};
|
|
3152
|
+
__name(_ListAppInstanceUsersCommand, "ListAppInstanceUsersCommand");
|
|
3153
|
+
var ListAppInstanceUsersCommand = _ListAppInstanceUsersCommand;
|
|
3154
|
+
|
|
3155
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
3156
|
+
|
|
3157
|
+
|
|
3158
|
+
|
|
3159
|
+
|
|
3160
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3161
|
+
...commonParams
|
|
3162
|
+
}).m(function(Command, cs, config, o) {
|
|
3163
|
+
return [
|
|
3164
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3165
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3166
|
+
];
|
|
3167
|
+
}).s("ChimeIdentityService", "ListTagsForResource", {}).n("ChimeSDKIdentityClient", "ListTagsForResourceCommand").f(void 0, ListTagsForResourceResponseFilterSensitiveLog).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
3168
|
+
};
|
|
3169
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
3170
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
3171
|
+
|
|
3172
|
+
// src/commands/PutAppInstanceRetentionSettingsCommand.ts
|
|
3173
|
+
|
|
3174
|
+
|
|
3175
|
+
|
|
3176
|
+
|
|
3177
|
+
var _PutAppInstanceRetentionSettingsCommand = class _PutAppInstanceRetentionSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3178
|
+
...commonParams
|
|
3179
|
+
}).m(function(Command, cs, config, o) {
|
|
3180
|
+
return [
|
|
3181
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3182
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3183
|
+
];
|
|
3184
|
+
}).s("ChimeIdentityService", "PutAppInstanceRetentionSettings", {}).n("ChimeSDKIdentityClient", "PutAppInstanceRetentionSettingsCommand").f(void 0, void 0).ser(se_PutAppInstanceRetentionSettingsCommand).de(de_PutAppInstanceRetentionSettingsCommand).build() {
|
|
3185
|
+
};
|
|
3186
|
+
__name(_PutAppInstanceRetentionSettingsCommand, "PutAppInstanceRetentionSettingsCommand");
|
|
3187
|
+
var PutAppInstanceRetentionSettingsCommand = _PutAppInstanceRetentionSettingsCommand;
|
|
3188
|
+
|
|
3189
|
+
// src/commands/PutAppInstanceUserExpirationSettingsCommand.ts
|
|
3190
|
+
|
|
3191
|
+
|
|
3192
|
+
|
|
3193
|
+
|
|
3194
|
+
var _PutAppInstanceUserExpirationSettingsCommand = class _PutAppInstanceUserExpirationSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3195
|
+
...commonParams
|
|
3196
|
+
}).m(function(Command, cs, config, o) {
|
|
3197
|
+
return [
|
|
3198
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3199
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3200
|
+
];
|
|
3201
|
+
}).s("ChimeIdentityService", "PutAppInstanceUserExpirationSettings", {}).n("ChimeSDKIdentityClient", "PutAppInstanceUserExpirationSettingsCommand").f(void 0, void 0).ser(se_PutAppInstanceUserExpirationSettingsCommand).de(de_PutAppInstanceUserExpirationSettingsCommand).build() {
|
|
3202
|
+
};
|
|
3203
|
+
__name(_PutAppInstanceUserExpirationSettingsCommand, "PutAppInstanceUserExpirationSettingsCommand");
|
|
3204
|
+
var PutAppInstanceUserExpirationSettingsCommand = _PutAppInstanceUserExpirationSettingsCommand;
|
|
3205
|
+
|
|
3206
|
+
// src/commands/RegisterAppInstanceUserEndpointCommand.ts
|
|
3207
|
+
|
|
3208
|
+
|
|
3209
|
+
|
|
3210
|
+
|
|
3211
|
+
var _RegisterAppInstanceUserEndpointCommand = class _RegisterAppInstanceUserEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3212
|
+
...commonParams
|
|
3213
|
+
}).m(function(Command, cs, config, o) {
|
|
3214
|
+
return [
|
|
3215
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3216
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3217
|
+
];
|
|
3218
|
+
}).s("ChimeIdentityService", "RegisterAppInstanceUserEndpoint", {}).n("ChimeSDKIdentityClient", "RegisterAppInstanceUserEndpointCommand").f(RegisterAppInstanceUserEndpointRequestFilterSensitiveLog, void 0).ser(se_RegisterAppInstanceUserEndpointCommand).de(de_RegisterAppInstanceUserEndpointCommand).build() {
|
|
3219
|
+
};
|
|
3220
|
+
__name(_RegisterAppInstanceUserEndpointCommand, "RegisterAppInstanceUserEndpointCommand");
|
|
3221
|
+
var RegisterAppInstanceUserEndpointCommand = _RegisterAppInstanceUserEndpointCommand;
|
|
3222
|
+
|
|
3223
|
+
// src/commands/TagResourceCommand.ts
|
|
3224
|
+
|
|
3225
|
+
|
|
3226
|
+
|
|
3227
|
+
|
|
3228
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3229
|
+
...commonParams
|
|
3230
|
+
}).m(function(Command, cs, config, o) {
|
|
3231
|
+
return [
|
|
3232
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3233
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3234
|
+
];
|
|
3235
|
+
}).s("ChimeIdentityService", "TagResource", {}).n("ChimeSDKIdentityClient", "TagResourceCommand").f(TagResourceRequestFilterSensitiveLog, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
3236
|
+
};
|
|
3237
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
3238
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
3239
|
+
|
|
3240
|
+
// src/commands/UntagResourceCommand.ts
|
|
3241
|
+
|
|
3242
|
+
|
|
3243
|
+
|
|
3244
|
+
|
|
3245
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3246
|
+
...commonParams
|
|
3247
|
+
}).m(function(Command, cs, config, o) {
|
|
3248
|
+
return [
|
|
3249
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3250
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3251
|
+
];
|
|
3252
|
+
}).s("ChimeIdentityService", "UntagResource", {}).n("ChimeSDKIdentityClient", "UntagResourceCommand").f(UntagResourceRequestFilterSensitiveLog, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
3253
|
+
};
|
|
3254
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
3255
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
3256
|
+
|
|
3257
|
+
// src/commands/UpdateAppInstanceBotCommand.ts
|
|
3258
|
+
|
|
3259
|
+
|
|
3260
|
+
|
|
3261
|
+
|
|
3262
|
+
var _UpdateAppInstanceBotCommand = class _UpdateAppInstanceBotCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3263
|
+
...commonParams
|
|
3264
|
+
}).m(function(Command, cs, config, o) {
|
|
3265
|
+
return [
|
|
3266
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3267
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3268
|
+
];
|
|
3269
|
+
}).s("ChimeIdentityService", "UpdateAppInstanceBot", {}).n("ChimeSDKIdentityClient", "UpdateAppInstanceBotCommand").f(UpdateAppInstanceBotRequestFilterSensitiveLog, void 0).ser(se_UpdateAppInstanceBotCommand).de(de_UpdateAppInstanceBotCommand).build() {
|
|
3270
|
+
};
|
|
3271
|
+
__name(_UpdateAppInstanceBotCommand, "UpdateAppInstanceBotCommand");
|
|
3272
|
+
var UpdateAppInstanceBotCommand = _UpdateAppInstanceBotCommand;
|
|
3273
|
+
|
|
3274
|
+
// src/commands/UpdateAppInstanceCommand.ts
|
|
3275
|
+
|
|
3276
|
+
|
|
3277
|
+
|
|
3278
|
+
|
|
3279
|
+
var _UpdateAppInstanceCommand = class _UpdateAppInstanceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3280
|
+
...commonParams
|
|
3281
|
+
}).m(function(Command, cs, config, o) {
|
|
3282
|
+
return [
|
|
3283
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3284
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3285
|
+
];
|
|
3286
|
+
}).s("ChimeIdentityService", "UpdateAppInstance", {}).n("ChimeSDKIdentityClient", "UpdateAppInstanceCommand").f(UpdateAppInstanceRequestFilterSensitiveLog, void 0).ser(se_UpdateAppInstanceCommand).de(de_UpdateAppInstanceCommand).build() {
|
|
3287
|
+
};
|
|
3288
|
+
__name(_UpdateAppInstanceCommand, "UpdateAppInstanceCommand");
|
|
3289
|
+
var UpdateAppInstanceCommand = _UpdateAppInstanceCommand;
|
|
3290
|
+
|
|
3291
|
+
// src/commands/UpdateAppInstanceUserCommand.ts
|
|
3292
|
+
|
|
3293
|
+
|
|
3294
|
+
|
|
3295
|
+
|
|
3296
|
+
var _UpdateAppInstanceUserCommand = class _UpdateAppInstanceUserCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3297
|
+
...commonParams
|
|
3298
|
+
}).m(function(Command, cs, config, o) {
|
|
3299
|
+
return [
|
|
3300
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3301
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3302
|
+
];
|
|
3303
|
+
}).s("ChimeIdentityService", "UpdateAppInstanceUser", {}).n("ChimeSDKIdentityClient", "UpdateAppInstanceUserCommand").f(UpdateAppInstanceUserRequestFilterSensitiveLog, void 0).ser(se_UpdateAppInstanceUserCommand).de(de_UpdateAppInstanceUserCommand).build() {
|
|
3304
|
+
};
|
|
3305
|
+
__name(_UpdateAppInstanceUserCommand, "UpdateAppInstanceUserCommand");
|
|
3306
|
+
var UpdateAppInstanceUserCommand = _UpdateAppInstanceUserCommand;
|
|
3307
|
+
|
|
3308
|
+
// src/commands/UpdateAppInstanceUserEndpointCommand.ts
|
|
3309
|
+
|
|
3310
|
+
|
|
3311
|
+
|
|
3312
|
+
|
|
3313
|
+
var _UpdateAppInstanceUserEndpointCommand = class _UpdateAppInstanceUserEndpointCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3314
|
+
...commonParams
|
|
3315
|
+
}).m(function(Command, cs, config, o) {
|
|
3316
|
+
return [
|
|
3317
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3318
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3319
|
+
];
|
|
3320
|
+
}).s("ChimeIdentityService", "UpdateAppInstanceUserEndpoint", {}).n("ChimeSDKIdentityClient", "UpdateAppInstanceUserEndpointCommand").f(UpdateAppInstanceUserEndpointRequestFilterSensitiveLog, void 0).ser(se_UpdateAppInstanceUserEndpointCommand).de(de_UpdateAppInstanceUserEndpointCommand).build() {
|
|
3321
|
+
};
|
|
3322
|
+
__name(_UpdateAppInstanceUserEndpointCommand, "UpdateAppInstanceUserEndpointCommand");
|
|
3323
|
+
var UpdateAppInstanceUserEndpointCommand = _UpdateAppInstanceUserEndpointCommand;
|
|
3324
|
+
|
|
3325
|
+
// src/ChimeSDKIdentity.ts
|
|
3326
|
+
var commands = {
|
|
3327
|
+
CreateAppInstanceCommand,
|
|
3328
|
+
CreateAppInstanceAdminCommand,
|
|
3329
|
+
CreateAppInstanceBotCommand,
|
|
3330
|
+
CreateAppInstanceUserCommand,
|
|
3331
|
+
DeleteAppInstanceCommand,
|
|
3332
|
+
DeleteAppInstanceAdminCommand,
|
|
3333
|
+
DeleteAppInstanceBotCommand,
|
|
3334
|
+
DeleteAppInstanceUserCommand,
|
|
3335
|
+
DeregisterAppInstanceUserEndpointCommand,
|
|
3336
|
+
DescribeAppInstanceCommand,
|
|
3337
|
+
DescribeAppInstanceAdminCommand,
|
|
3338
|
+
DescribeAppInstanceBotCommand,
|
|
3339
|
+
DescribeAppInstanceUserCommand,
|
|
3340
|
+
DescribeAppInstanceUserEndpointCommand,
|
|
3341
|
+
GetAppInstanceRetentionSettingsCommand,
|
|
3342
|
+
ListAppInstanceAdminsCommand,
|
|
3343
|
+
ListAppInstanceBotsCommand,
|
|
3344
|
+
ListAppInstancesCommand,
|
|
3345
|
+
ListAppInstanceUserEndpointsCommand,
|
|
3346
|
+
ListAppInstanceUsersCommand,
|
|
3347
|
+
ListTagsForResourceCommand,
|
|
3348
|
+
PutAppInstanceRetentionSettingsCommand,
|
|
3349
|
+
PutAppInstanceUserExpirationSettingsCommand,
|
|
3350
|
+
RegisterAppInstanceUserEndpointCommand,
|
|
3351
|
+
TagResourceCommand,
|
|
3352
|
+
UntagResourceCommand,
|
|
3353
|
+
UpdateAppInstanceCommand,
|
|
3354
|
+
UpdateAppInstanceBotCommand,
|
|
3355
|
+
UpdateAppInstanceUserCommand,
|
|
3356
|
+
UpdateAppInstanceUserEndpointCommand
|
|
3357
|
+
};
|
|
3358
|
+
var _ChimeSDKIdentity = class _ChimeSDKIdentity extends ChimeSDKIdentityClient {
|
|
3359
|
+
};
|
|
3360
|
+
__name(_ChimeSDKIdentity, "ChimeSDKIdentity");
|
|
3361
|
+
var ChimeSDKIdentity = _ChimeSDKIdentity;
|
|
3362
|
+
(0, import_smithy_client.createAggregatedClient)(commands, ChimeSDKIdentity);
|
|
3363
|
+
|
|
3364
|
+
// src/pagination/ListAppInstanceAdminsPaginator.ts
|
|
3365
|
+
|
|
3366
|
+
var paginateListAppInstanceAdmins = (0, import_core.createPaginator)(ChimeSDKIdentityClient, ListAppInstanceAdminsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3367
|
+
|
|
3368
|
+
// src/pagination/ListAppInstanceBotsPaginator.ts
|
|
3369
|
+
|
|
3370
|
+
var paginateListAppInstanceBots = (0, import_core.createPaginator)(ChimeSDKIdentityClient, ListAppInstanceBotsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3371
|
+
|
|
3372
|
+
// src/pagination/ListAppInstanceUserEndpointsPaginator.ts
|
|
3373
|
+
|
|
3374
|
+
var paginateListAppInstanceUserEndpoints = (0, import_core.createPaginator)(ChimeSDKIdentityClient, ListAppInstanceUserEndpointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
3375
|
+
|
|
3376
|
+
// src/pagination/ListAppInstanceUsersPaginator.ts
|
|
3377
|
+
|
|
3378
|
+
var paginateListAppInstanceUsers = (0, import_core.createPaginator)(ChimeSDKIdentityClient, ListAppInstanceUsersCommand, "NextToken", "NextToken", "MaxResults");
|
|
3379
|
+
|
|
3380
|
+
// src/pagination/ListAppInstancesPaginator.ts
|
|
3381
|
+
|
|
3382
|
+
var paginateListAppInstances = (0, import_core.createPaginator)(ChimeSDKIdentityClient, ListAppInstancesCommand, "NextToken", "NextToken", "MaxResults");
|
|
3383
|
+
|
|
3384
|
+
// src/index.ts
|
|
3385
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
3386
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
3387
|
+
0 && (module.exports = {
|
|
3388
|
+
AllowMessages,
|
|
3389
|
+
AppInstanceAdminFilterSensitiveLog,
|
|
3390
|
+
AppInstanceAdminSummaryFilterSensitiveLog,
|
|
3391
|
+
AppInstanceBotFilterSensitiveLog,
|
|
3392
|
+
AppInstanceBotSummaryFilterSensitiveLog,
|
|
3393
|
+
AppInstanceFilterSensitiveLog,
|
|
3394
|
+
AppInstanceSummaryFilterSensitiveLog,
|
|
3395
|
+
AppInstanceUserEndpointFilterSensitiveLog,
|
|
3396
|
+
AppInstanceUserEndpointSummaryFilterSensitiveLog,
|
|
3397
|
+
AppInstanceUserEndpointType,
|
|
3398
|
+
AppInstanceUserFilterSensitiveLog,
|
|
3399
|
+
AppInstanceUserSummaryFilterSensitiveLog,
|
|
3400
|
+
BadRequestException,
|
|
3401
|
+
ChimeSDKIdentity,
|
|
3402
|
+
ChimeSDKIdentityClient,
|
|
3403
|
+
ChimeSDKIdentityServiceException,
|
|
3404
|
+
ConflictException,
|
|
3405
|
+
CreateAppInstanceAdminCommand,
|
|
3406
|
+
CreateAppInstanceAdminResponseFilterSensitiveLog,
|
|
3407
|
+
CreateAppInstanceBotCommand,
|
|
3408
|
+
CreateAppInstanceBotRequestFilterSensitiveLog,
|
|
3409
|
+
CreateAppInstanceCommand,
|
|
3410
|
+
CreateAppInstanceRequestFilterSensitiveLog,
|
|
3411
|
+
CreateAppInstanceUserCommand,
|
|
3412
|
+
CreateAppInstanceUserRequestFilterSensitiveLog,
|
|
3413
|
+
DeleteAppInstanceAdminCommand,
|
|
3414
|
+
DeleteAppInstanceBotCommand,
|
|
3415
|
+
DeleteAppInstanceCommand,
|
|
3416
|
+
DeleteAppInstanceUserCommand,
|
|
3417
|
+
DeregisterAppInstanceUserEndpointCommand,
|
|
3418
|
+
DescribeAppInstanceAdminCommand,
|
|
3419
|
+
DescribeAppInstanceAdminResponseFilterSensitiveLog,
|
|
3420
|
+
DescribeAppInstanceBotCommand,
|
|
3421
|
+
DescribeAppInstanceBotResponseFilterSensitiveLog,
|
|
3422
|
+
DescribeAppInstanceCommand,
|
|
3423
|
+
DescribeAppInstanceResponseFilterSensitiveLog,
|
|
3424
|
+
DescribeAppInstanceUserCommand,
|
|
3425
|
+
DescribeAppInstanceUserEndpointCommand,
|
|
3426
|
+
DescribeAppInstanceUserEndpointResponseFilterSensitiveLog,
|
|
3427
|
+
DescribeAppInstanceUserResponseFilterSensitiveLog,
|
|
3428
|
+
EndpointAttributesFilterSensitiveLog,
|
|
3429
|
+
EndpointStatus,
|
|
3430
|
+
EndpointStatusReason,
|
|
3431
|
+
ErrorCode,
|
|
3432
|
+
ExpirationCriterion,
|
|
3433
|
+
ForbiddenException,
|
|
3434
|
+
GetAppInstanceRetentionSettingsCommand,
|
|
3435
|
+
IdentityFilterSensitiveLog,
|
|
3436
|
+
ListAppInstanceAdminsCommand,
|
|
3437
|
+
ListAppInstanceAdminsRequestFilterSensitiveLog,
|
|
3438
|
+
ListAppInstanceAdminsResponseFilterSensitiveLog,
|
|
3439
|
+
ListAppInstanceBotsCommand,
|
|
3440
|
+
ListAppInstanceBotsRequestFilterSensitiveLog,
|
|
3441
|
+
ListAppInstanceBotsResponseFilterSensitiveLog,
|
|
3442
|
+
ListAppInstanceUserEndpointsCommand,
|
|
3443
|
+
ListAppInstanceUserEndpointsRequestFilterSensitiveLog,
|
|
3444
|
+
ListAppInstanceUserEndpointsResponseFilterSensitiveLog,
|
|
3445
|
+
ListAppInstanceUsersCommand,
|
|
3446
|
+
ListAppInstanceUsersRequestFilterSensitiveLog,
|
|
3447
|
+
ListAppInstanceUsersResponseFilterSensitiveLog,
|
|
3448
|
+
ListAppInstancesCommand,
|
|
3449
|
+
ListAppInstancesRequestFilterSensitiveLog,
|
|
3450
|
+
ListAppInstancesResponseFilterSensitiveLog,
|
|
3451
|
+
ListTagsForResourceCommand,
|
|
3452
|
+
ListTagsForResourceResponseFilterSensitiveLog,
|
|
3453
|
+
NotFoundException,
|
|
3454
|
+
PutAppInstanceRetentionSettingsCommand,
|
|
3455
|
+
PutAppInstanceUserExpirationSettingsCommand,
|
|
3456
|
+
RegisterAppInstanceUserEndpointCommand,
|
|
3457
|
+
RegisterAppInstanceUserEndpointRequestFilterSensitiveLog,
|
|
3458
|
+
ResourceLimitExceededException,
|
|
3459
|
+
RespondsTo,
|
|
3460
|
+
ServiceFailureException,
|
|
3461
|
+
ServiceUnavailableException,
|
|
3462
|
+
StandardMessages,
|
|
3463
|
+
TagFilterSensitiveLog,
|
|
3464
|
+
TagResourceCommand,
|
|
3465
|
+
TagResourceRequestFilterSensitiveLog,
|
|
3466
|
+
TargetedMessages,
|
|
3467
|
+
ThrottledClientException,
|
|
3468
|
+
UnauthorizedClientException,
|
|
3469
|
+
UntagResourceCommand,
|
|
3470
|
+
UntagResourceRequestFilterSensitiveLog,
|
|
3471
|
+
UpdateAppInstanceBotCommand,
|
|
3472
|
+
UpdateAppInstanceBotRequestFilterSensitiveLog,
|
|
3473
|
+
UpdateAppInstanceCommand,
|
|
3474
|
+
UpdateAppInstanceRequestFilterSensitiveLog,
|
|
3475
|
+
UpdateAppInstanceUserCommand,
|
|
3476
|
+
UpdateAppInstanceUserEndpointCommand,
|
|
3477
|
+
UpdateAppInstanceUserEndpointRequestFilterSensitiveLog,
|
|
3478
|
+
UpdateAppInstanceUserRequestFilterSensitiveLog,
|
|
3479
|
+
__Client,
|
|
3480
|
+
paginateListAppInstanceAdmins,
|
|
3481
|
+
paginateListAppInstanceBots,
|
|
3482
|
+
paginateListAppInstanceUserEndpoints,
|
|
3483
|
+
paginateListAppInstanceUsers,
|
|
3484
|
+
paginateListAppInstances
|
|
3485
|
+
});
|