@aws-sdk/client-connect 3.398.0 → 3.408.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/README.md +72 -0
- package/dist-cjs/Connect.js +18 -0
- package/dist-cjs/commands/CreateViewCommand.js +47 -0
- package/dist-cjs/commands/CreateViewVersionCommand.js +47 -0
- package/dist-cjs/commands/DeleteViewCommand.js +46 -0
- package/dist-cjs/commands/DeleteViewVersionCommand.js +46 -0
- package/dist-cjs/commands/DescribeViewCommand.js +47 -0
- package/dist-cjs/commands/ListViewVersionsCommand.js +47 -0
- package/dist-cjs/commands/ListViewsCommand.js +47 -0
- package/dist-cjs/commands/UpdateViewContentCommand.js +47 -0
- package/dist-cjs/commands/UpdateViewMetadataCommand.js +47 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/models/models_0.js +66 -6
- package/dist-cjs/models/models_1.js +25 -1
- package/dist-cjs/models/models_2.js +18 -1
- package/dist-cjs/pagination/ListViewVersionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListViewsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +713 -20
- package/dist-es/Connect.js +18 -0
- package/dist-es/commands/CreateViewCommand.js +43 -0
- package/dist-es/commands/CreateViewVersionCommand.js +43 -0
- package/dist-es/commands/DeleteViewCommand.js +42 -0
- package/dist-es/commands/DeleteViewVersionCommand.js +42 -0
- package/dist-es/commands/DescribeViewCommand.js +43 -0
- package/dist-es/commands/ListViewVersionsCommand.js +43 -0
- package/dist-es/commands/ListViewsCommand.js +43 -0
- package/dist-es/commands/UpdateViewContentCommand.js +43 -0
- package/dist-es/commands/UpdateViewMetadataCommand.js +43 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +57 -5
- package/dist-es/models/models_1.js +20 -0
- package/dist-es/models/models_2.js +14 -0
- package/dist-es/pagination/ListViewVersionsPaginator.js +25 -0
- package/dist-es/pagination/ListViewsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +687 -13
- package/dist-types/Connect.d.ts +63 -0
- package/dist-types/ConnectClient.d.ts +11 -2
- package/dist-types/commands/CreateQueueCommand.d.ts +20 -13
- package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +8 -0
- package/dist-types/commands/CreateViewCommand.d.ts +140 -0
- package/dist-types/commands/CreateViewVersionCommand.d.ts +126 -0
- package/dist-types/commands/DeleteViewCommand.d.ts +93 -0
- package/dist-types/commands/DeleteViewVersionCommand.d.ts +94 -0
- package/dist-types/commands/DescribeViewCommand.d.ts +121 -0
- package/dist-types/commands/DescribeVocabularyCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateBotCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateLexBotCommand.d.ts +1 -1
- package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +1 -1
- package/dist-types/commands/DismissUserContactCommand.d.ts +1 -1
- package/dist-types/commands/GetContactAttributesCommand.d.ts +1 -2
- package/dist-types/commands/ListPhoneNumbersCommand.d.ts +14 -4
- package/dist-types/commands/ListViewVersionsCommand.d.ts +106 -0
- package/dist-types/commands/ListViewsCommand.d.ts +105 -0
- package/dist-types/commands/StopContactCommand.d.ts +5 -3
- package/dist-types/commands/UpdatePromptCommand.d.ts +2 -1
- package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +21 -14
- package/dist-types/commands/UpdateQueueStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRuleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +6 -3
- package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateViewContentCommand.d.ts +127 -0
- package/dist-types/commands/UpdateViewMetadataCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +359 -317
- package/dist-types/models/models_1.d.ts +478 -553
- package/dist-types/models/models_2.d.ts +632 -2
- package/dist-types/pagination/ListViewVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListViewsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/Connect.d.ts +153 -0
- package/dist-types/ts3.4/ConnectClient.d.ts +56 -2
- package/dist-types/ts3.4/commands/CreateViewCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateViewVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteViewCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteViewVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeViewCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeVocabularyCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DisassociateApprovedOriginCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateBotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateInstanceStorageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateLambdaFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateLexBotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateQueueQuickConnectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateSecurityKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTrafficDistributionGroupUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DismissUserContactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetContactAttributesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListViewVersionsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListViewsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRoutingProfileAgentAvailabilityTimerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTaskTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTrafficDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateViewContentCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateViewMetadataCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +117 -90
- package/dist-types/ts3.4/models/models_1.d.ts +121 -135
- package/dist-types/ts3.4/models/models_2.d.ts +171 -1
- package/dist-types/ts3.4/pagination/ListViewVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListViewsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +15 -15
package/dist-es/Connect.js
CHANGED
|
@@ -31,6 +31,8 @@ import { CreateTrafficDistributionGroupCommand, } from "./commands/CreateTraffic
|
|
|
31
31
|
import { CreateUseCaseCommand, } from "./commands/CreateUseCaseCommand";
|
|
32
32
|
import { CreateUserCommand } from "./commands/CreateUserCommand";
|
|
33
33
|
import { CreateUserHierarchyGroupCommand, } from "./commands/CreateUserHierarchyGroupCommand";
|
|
34
|
+
import { CreateViewCommand } from "./commands/CreateViewCommand";
|
|
35
|
+
import { CreateViewVersionCommand, } from "./commands/CreateViewVersionCommand";
|
|
34
36
|
import { CreateVocabularyCommand, } from "./commands/CreateVocabularyCommand";
|
|
35
37
|
import { DeactivateEvaluationFormCommand, } from "./commands/DeactivateEvaluationFormCommand";
|
|
36
38
|
import { DeleteContactEvaluationCommand, } from "./commands/DeleteContactEvaluationCommand";
|
|
@@ -51,6 +53,8 @@ import { DeleteTrafficDistributionGroupCommand, } from "./commands/DeleteTraffic
|
|
|
51
53
|
import { DeleteUseCaseCommand, } from "./commands/DeleteUseCaseCommand";
|
|
52
54
|
import { DeleteUserCommand } from "./commands/DeleteUserCommand";
|
|
53
55
|
import { DeleteUserHierarchyGroupCommand, } from "./commands/DeleteUserHierarchyGroupCommand";
|
|
56
|
+
import { DeleteViewCommand } from "./commands/DeleteViewCommand";
|
|
57
|
+
import { DeleteViewVersionCommand, } from "./commands/DeleteViewVersionCommand";
|
|
54
58
|
import { DeleteVocabularyCommand, } from "./commands/DeleteVocabularyCommand";
|
|
55
59
|
import { DescribeAgentStatusCommand, } from "./commands/DescribeAgentStatusCommand";
|
|
56
60
|
import { DescribeContactCommand, } from "./commands/DescribeContactCommand";
|
|
@@ -73,6 +77,7 @@ import { DescribeTrafficDistributionGroupCommand, } from "./commands/DescribeTra
|
|
|
73
77
|
import { DescribeUserCommand, } from "./commands/DescribeUserCommand";
|
|
74
78
|
import { DescribeUserHierarchyGroupCommand, } from "./commands/DescribeUserHierarchyGroupCommand";
|
|
75
79
|
import { DescribeUserHierarchyStructureCommand, } from "./commands/DescribeUserHierarchyStructureCommand";
|
|
80
|
+
import { DescribeViewCommand, } from "./commands/DescribeViewCommand";
|
|
76
81
|
import { DescribeVocabularyCommand, } from "./commands/DescribeVocabularyCommand";
|
|
77
82
|
import { DisassociateApprovedOriginCommand, } from "./commands/DisassociateApprovedOriginCommand";
|
|
78
83
|
import { DisassociateBotCommand, } from "./commands/DisassociateBotCommand";
|
|
@@ -130,6 +135,8 @@ import { ListTrafficDistributionGroupUsersCommand, } from "./commands/ListTraffi
|
|
|
130
135
|
import { ListUseCasesCommand, } from "./commands/ListUseCasesCommand";
|
|
131
136
|
import { ListUserHierarchyGroupsCommand, } from "./commands/ListUserHierarchyGroupsCommand";
|
|
132
137
|
import { ListUsersCommand } from "./commands/ListUsersCommand";
|
|
138
|
+
import { ListViewsCommand } from "./commands/ListViewsCommand";
|
|
139
|
+
import { ListViewVersionsCommand, } from "./commands/ListViewVersionsCommand";
|
|
133
140
|
import { MonitorContactCommand, } from "./commands/MonitorContactCommand";
|
|
134
141
|
import { PutUserStatusCommand, } from "./commands/PutUserStatusCommand";
|
|
135
142
|
import { ReleasePhoneNumberCommand, } from "./commands/ReleasePhoneNumberCommand";
|
|
@@ -199,6 +206,8 @@ import { UpdateUserIdentityInfoCommand, } from "./commands/UpdateUserIdentityInf
|
|
|
199
206
|
import { UpdateUserPhoneConfigCommand, } from "./commands/UpdateUserPhoneConfigCommand";
|
|
200
207
|
import { UpdateUserRoutingProfileCommand, } from "./commands/UpdateUserRoutingProfileCommand";
|
|
201
208
|
import { UpdateUserSecurityProfilesCommand, } from "./commands/UpdateUserSecurityProfilesCommand";
|
|
209
|
+
import { UpdateViewContentCommand, } from "./commands/UpdateViewContentCommand";
|
|
210
|
+
import { UpdateViewMetadataCommand, } from "./commands/UpdateViewMetadataCommand";
|
|
202
211
|
import { ConnectClient } from "./ConnectClient";
|
|
203
212
|
const commands = {
|
|
204
213
|
ActivateEvaluationFormCommand,
|
|
@@ -233,6 +242,8 @@ const commands = {
|
|
|
233
242
|
CreateUseCaseCommand,
|
|
234
243
|
CreateUserCommand,
|
|
235
244
|
CreateUserHierarchyGroupCommand,
|
|
245
|
+
CreateViewCommand,
|
|
246
|
+
CreateViewVersionCommand,
|
|
236
247
|
CreateVocabularyCommand,
|
|
237
248
|
DeactivateEvaluationFormCommand,
|
|
238
249
|
DeleteContactEvaluationCommand,
|
|
@@ -253,6 +264,8 @@ const commands = {
|
|
|
253
264
|
DeleteUseCaseCommand,
|
|
254
265
|
DeleteUserCommand,
|
|
255
266
|
DeleteUserHierarchyGroupCommand,
|
|
267
|
+
DeleteViewCommand,
|
|
268
|
+
DeleteViewVersionCommand,
|
|
256
269
|
DeleteVocabularyCommand,
|
|
257
270
|
DescribeAgentStatusCommand,
|
|
258
271
|
DescribeContactCommand,
|
|
@@ -275,6 +288,7 @@ const commands = {
|
|
|
275
288
|
DescribeUserCommand,
|
|
276
289
|
DescribeUserHierarchyGroupCommand,
|
|
277
290
|
DescribeUserHierarchyStructureCommand,
|
|
291
|
+
DescribeViewCommand,
|
|
278
292
|
DescribeVocabularyCommand,
|
|
279
293
|
DisassociateApprovedOriginCommand,
|
|
280
294
|
DisassociateBotCommand,
|
|
@@ -332,6 +346,8 @@ const commands = {
|
|
|
332
346
|
ListUseCasesCommand,
|
|
333
347
|
ListUserHierarchyGroupsCommand,
|
|
334
348
|
ListUsersCommand,
|
|
349
|
+
ListViewsCommand,
|
|
350
|
+
ListViewVersionsCommand,
|
|
335
351
|
MonitorContactCommand,
|
|
336
352
|
PutUserStatusCommand,
|
|
337
353
|
ReleasePhoneNumberCommand,
|
|
@@ -401,6 +417,8 @@ const commands = {
|
|
|
401
417
|
UpdateUserPhoneConfigCommand,
|
|
402
418
|
UpdateUserRoutingProfileCommand,
|
|
403
419
|
UpdateUserSecurityProfilesCommand,
|
|
420
|
+
UpdateViewContentCommand,
|
|
421
|
+
UpdateViewMetadataCommand,
|
|
404
422
|
};
|
|
405
423
|
export class Connect extends ConnectClient {
|
|
406
424
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { CreateViewRequestFilterSensitiveLog, CreateViewResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_CreateViewCommand, se_CreateViewCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateViewCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateViewCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "CreateViewCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: CreateViewRequestFilterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: CreateViewResponseFilterSensitiveLog,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_CreateViewCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_CreateViewCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { CreateViewVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_CreateViewVersionCommand, se_CreateViewVersionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateViewVersionCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateViewVersionCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "CreateViewVersionCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: CreateViewVersionResponseFilterSensitiveLog,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_CreateViewVersionCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_CreateViewVersionCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_DeleteViewCommand, se_DeleteViewCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteViewCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteViewCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ConnectClient";
|
|
25
|
+
const commandName = "DeleteViewCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteViewCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteViewCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_DeleteViewVersionCommand, se_DeleteViewVersionCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteViewVersionCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteViewVersionCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ConnectClient";
|
|
25
|
+
const commandName = "DeleteViewVersionCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteViewVersionCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteViewVersionCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { DescribeViewResponseFilterSensitiveLog } from "../models/models_0";
|
|
5
|
+
import { de_DescribeViewCommand, se_DescribeViewCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeViewCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeViewCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "DescribeViewCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: DescribeViewResponseFilterSensitiveLog,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_DescribeViewCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_DescribeViewCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { ListViewVersionsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
5
|
+
import { de_ListViewVersionsCommand, se_ListViewVersionsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListViewVersionsCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListViewVersionsCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "ListViewVersionsCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: ListViewVersionsResponseFilterSensitiveLog,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_ListViewVersionsCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_ListViewVersionsCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { ListViewsResponseFilterSensitiveLog } from "../models/models_1";
|
|
5
|
+
import { de_ListViewsCommand, se_ListViewsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListViewsCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListViewsCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "ListViewsCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: ListViewsResponseFilterSensitiveLog,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_ListViewsCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_ListViewsCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { UpdateViewContentRequestFilterSensitiveLog, UpdateViewContentResponseFilterSensitiveLog, } from "../models/models_2";
|
|
5
|
+
import { de_UpdateViewContentCommand, se_UpdateViewContentCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateViewContentCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateViewContentCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "UpdateViewContentCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: UpdateViewContentRequestFilterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: UpdateViewContentResponseFilterSensitiveLog,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_UpdateViewContentCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_UpdateViewContentCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { UpdateViewMetadataRequestFilterSensitiveLog, } from "../models/models_2";
|
|
5
|
+
import { de_UpdateViewMetadataCommand, se_UpdateViewMetadataCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateViewMetadataCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateViewMetadataCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ConnectClient";
|
|
26
|
+
const commandName = "UpdateViewMetadataCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: UpdateViewMetadataRequestFilterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_UpdateViewMetadataCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_UpdateViewMetadataCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -30,6 +30,8 @@ export * from "./CreateTrafficDistributionGroupCommand";
|
|
|
30
30
|
export * from "./CreateUseCaseCommand";
|
|
31
31
|
export * from "./CreateUserCommand";
|
|
32
32
|
export * from "./CreateUserHierarchyGroupCommand";
|
|
33
|
+
export * from "./CreateViewCommand";
|
|
34
|
+
export * from "./CreateViewVersionCommand";
|
|
33
35
|
export * from "./CreateVocabularyCommand";
|
|
34
36
|
export * from "./DeactivateEvaluationFormCommand";
|
|
35
37
|
export * from "./DeleteContactEvaluationCommand";
|
|
@@ -50,6 +52,8 @@ export * from "./DeleteTrafficDistributionGroupCommand";
|
|
|
50
52
|
export * from "./DeleteUseCaseCommand";
|
|
51
53
|
export * from "./DeleteUserCommand";
|
|
52
54
|
export * from "./DeleteUserHierarchyGroupCommand";
|
|
55
|
+
export * from "./DeleteViewCommand";
|
|
56
|
+
export * from "./DeleteViewVersionCommand";
|
|
53
57
|
export * from "./DeleteVocabularyCommand";
|
|
54
58
|
export * from "./DescribeAgentStatusCommand";
|
|
55
59
|
export * from "./DescribeContactCommand";
|
|
@@ -72,6 +76,7 @@ export * from "./DescribeTrafficDistributionGroupCommand";
|
|
|
72
76
|
export * from "./DescribeUserCommand";
|
|
73
77
|
export * from "./DescribeUserHierarchyGroupCommand";
|
|
74
78
|
export * from "./DescribeUserHierarchyStructureCommand";
|
|
79
|
+
export * from "./DescribeViewCommand";
|
|
75
80
|
export * from "./DescribeVocabularyCommand";
|
|
76
81
|
export * from "./DisassociateApprovedOriginCommand";
|
|
77
82
|
export * from "./DisassociateBotCommand";
|
|
@@ -129,6 +134,8 @@ export * from "./ListTrafficDistributionGroupsCommand";
|
|
|
129
134
|
export * from "./ListUseCasesCommand";
|
|
130
135
|
export * from "./ListUserHierarchyGroupsCommand";
|
|
131
136
|
export * from "./ListUsersCommand";
|
|
137
|
+
export * from "./ListViewVersionsCommand";
|
|
138
|
+
export * from "./ListViewsCommand";
|
|
132
139
|
export * from "./MonitorContactCommand";
|
|
133
140
|
export * from "./PutUserStatusCommand";
|
|
134
141
|
export * from "./ReleasePhoneNumberCommand";
|
|
@@ -198,3 +205,5 @@ export * from "./UpdateUserIdentityInfoCommand";
|
|
|
198
205
|
export * from "./UpdateUserPhoneConfigCommand";
|
|
199
206
|
export * from "./UpdateUserRoutingProfileCommand";
|
|
200
207
|
export * from "./UpdateUserSecurityProfilesCommand";
|
|
208
|
+
export * from "./UpdateViewContentCommand";
|
|
209
|
+
export * from "./UpdateViewMetadataCommand";
|
|
@@ -462,11 +462,13 @@ export const PhoneType = {
|
|
|
462
462
|
DESK_PHONE: "DESK_PHONE",
|
|
463
463
|
SOFT_PHONE: "SOFT_PHONE",
|
|
464
464
|
};
|
|
465
|
-
export const
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
465
|
+
export const ViewStatus = {
|
|
466
|
+
PUBLISHED: "PUBLISHED",
|
|
467
|
+
SAVED: "SAVED",
|
|
468
|
+
};
|
|
469
|
+
export const ViewType = {
|
|
470
|
+
AWS_MANAGED: "AWS_MANAGED",
|
|
471
|
+
CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
|
|
470
472
|
};
|
|
471
473
|
export const ResourceType = {
|
|
472
474
|
CONTACT: "CONTACT",
|
|
@@ -492,6 +494,25 @@ export class ResourceInUseException extends __BaseException {
|
|
|
492
494
|
this.ResourceId = opts.ResourceId;
|
|
493
495
|
}
|
|
494
496
|
}
|
|
497
|
+
export class TooManyRequestsException extends __BaseException {
|
|
498
|
+
constructor(opts) {
|
|
499
|
+
super({
|
|
500
|
+
name: "TooManyRequestsException",
|
|
501
|
+
$fault: "client",
|
|
502
|
+
...opts,
|
|
503
|
+
});
|
|
504
|
+
this.name = "TooManyRequestsException";
|
|
505
|
+
this.$fault = "client";
|
|
506
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
507
|
+
this.Message = opts.Message;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
export const VocabularyState = {
|
|
511
|
+
ACTIVE: "ACTIVE",
|
|
512
|
+
CREATION_FAILED: "CREATION_FAILED",
|
|
513
|
+
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
|
|
514
|
+
DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
|
|
515
|
+
};
|
|
495
516
|
export var EvaluationAnswerData;
|
|
496
517
|
(function (EvaluationAnswerData) {
|
|
497
518
|
EvaluationAnswerData.visit = (value, visitor) => {
|
|
@@ -822,6 +843,33 @@ export const CreateInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
|
822
843
|
...obj,
|
|
823
844
|
...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
|
|
824
845
|
});
|
|
846
|
+
export const ViewInputContentFilterSensitiveLog = (obj) => ({
|
|
847
|
+
...obj,
|
|
848
|
+
...(obj.Actions && { Actions: SENSITIVE_STRING }),
|
|
849
|
+
});
|
|
850
|
+
export const CreateViewRequestFilterSensitiveLog = (obj) => ({
|
|
851
|
+
...obj,
|
|
852
|
+
...(obj.Content && { Content: ViewInputContentFilterSensitiveLog(obj.Content) }),
|
|
853
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
854
|
+
});
|
|
855
|
+
export const ViewContentFilterSensitiveLog = (obj) => ({
|
|
856
|
+
...obj,
|
|
857
|
+
...(obj.InputSchema && { InputSchema: SENSITIVE_STRING }),
|
|
858
|
+
...(obj.Actions && { Actions: SENSITIVE_STRING }),
|
|
859
|
+
});
|
|
860
|
+
export const ViewFilterSensitiveLog = (obj) => ({
|
|
861
|
+
...obj,
|
|
862
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
863
|
+
...(obj.Content && { Content: ViewContentFilterSensitiveLog(obj.Content) }),
|
|
864
|
+
});
|
|
865
|
+
export const CreateViewResponseFilterSensitiveLog = (obj) => ({
|
|
866
|
+
...obj,
|
|
867
|
+
...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
|
|
868
|
+
});
|
|
869
|
+
export const CreateViewVersionResponseFilterSensitiveLog = (obj) => ({
|
|
870
|
+
...obj,
|
|
871
|
+
...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
|
|
872
|
+
});
|
|
825
873
|
export const InstanceFilterSensitiveLog = (obj) => ({
|
|
826
874
|
...obj,
|
|
827
875
|
...(obj.InstanceAlias && { InstanceAlias: SENSITIVE_STRING }),
|
|
@@ -830,3 +878,7 @@ export const DescribeInstanceResponseFilterSensitiveLog = (obj) => ({
|
|
|
830
878
|
...obj,
|
|
831
879
|
...(obj.Instance && { Instance: InstanceFilterSensitiveLog(obj.Instance) }),
|
|
832
880
|
});
|
|
881
|
+
export const DescribeViewResponseFilterSensitiveLog = (obj) => ({
|
|
882
|
+
...obj,
|
|
883
|
+
...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
|
|
884
|
+
});
|
|
@@ -232,6 +232,26 @@ export const ListInstancesResponseFilterSensitiveLog = (obj) => ({
|
|
|
232
232
|
InstanceSummaryList: obj.InstanceSummaryList.map((item) => InstanceSummaryFilterSensitiveLog(item)),
|
|
233
233
|
}),
|
|
234
234
|
});
|
|
235
|
+
export const ViewSummaryFilterSensitiveLog = (obj) => ({
|
|
236
|
+
...obj,
|
|
237
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
238
|
+
});
|
|
239
|
+
export const ListViewsResponseFilterSensitiveLog = (obj) => ({
|
|
240
|
+
...obj,
|
|
241
|
+
...(obj.ViewsSummaryList && {
|
|
242
|
+
ViewsSummaryList: obj.ViewsSummaryList.map((item) => ViewSummaryFilterSensitiveLog(item)),
|
|
243
|
+
}),
|
|
244
|
+
});
|
|
245
|
+
export const ViewVersionSummaryFilterSensitiveLog = (obj) => ({
|
|
246
|
+
...obj,
|
|
247
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
248
|
+
});
|
|
249
|
+
export const ListViewVersionsResponseFilterSensitiveLog = (obj) => ({
|
|
250
|
+
...obj,
|
|
251
|
+
...(obj.ViewVersionSummaryList && {
|
|
252
|
+
ViewVersionSummaryList: obj.ViewVersionSummaryList.map((item) => ViewVersionSummaryFilterSensitiveLog(item)),
|
|
253
|
+
}),
|
|
254
|
+
});
|
|
235
255
|
export const ReplicateInstanceRequestFilterSensitiveLog = (obj) => ({
|
|
236
256
|
...obj,
|
|
237
257
|
...(obj.ReplicaAlias && { ReplicaAlias: SENSITIVE_STRING }),
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
import { ViewFilterSensitiveLog, ViewInputContentFilterSensitiveLog, } from "./models_0";
|
|
1
3
|
export var EvaluationFormItem;
|
|
2
4
|
(function (EvaluationFormItem) {
|
|
3
5
|
EvaluationFormItem.visit = (value, visitor) => {
|
|
@@ -8,3 +10,15 @@ export var EvaluationFormItem;
|
|
|
8
10
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
9
11
|
};
|
|
10
12
|
})(EvaluationFormItem || (EvaluationFormItem = {}));
|
|
13
|
+
export const UpdateViewContentRequestFilterSensitiveLog = (obj) => ({
|
|
14
|
+
...obj,
|
|
15
|
+
...(obj.Content && { Content: ViewInputContentFilterSensitiveLog(obj.Content) }),
|
|
16
|
+
});
|
|
17
|
+
export const UpdateViewContentResponseFilterSensitiveLog = (obj) => ({
|
|
18
|
+
...obj,
|
|
19
|
+
...(obj.View && { View: ViewFilterSensitiveLog(obj.View) }),
|
|
20
|
+
});
|
|
21
|
+
export const UpdateViewMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
22
|
+
...obj,
|
|
23
|
+
...(obj.Name && { Name: SENSITIVE_STRING }),
|
|
24
|
+
});
|