@aws-sdk/client-chime-sdk-identity 3.297.0 → 3.298.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 +48 -0
- package/dist-cjs/ChimeSDKIdentity.js +90 -0
- package/dist-cjs/commands/CreateAppInstanceAdminCommand.js +1 -1
- package/dist-cjs/commands/CreateAppInstanceBotCommand.js +46 -0
- package/dist-cjs/commands/CreateAppInstanceCommand.js +1 -1
- package/dist-cjs/commands/CreateAppInstanceUserCommand.js +1 -1
- package/dist-cjs/commands/DeleteAppInstanceAdminCommand.js +2 -3
- package/dist-cjs/commands/DeleteAppInstanceBotCommand.js +45 -0
- package/dist-cjs/commands/DeleteAppInstanceCommand.js +2 -3
- package/dist-cjs/commands/DeleteAppInstanceUserCommand.js +2 -3
- package/dist-cjs/commands/DeregisterAppInstanceUserEndpointCommand.js +1 -1
- package/dist-cjs/commands/DescribeAppInstanceAdminCommand.js +1 -1
- package/dist-cjs/commands/DescribeAppInstanceBotCommand.js +46 -0
- package/dist-cjs/commands/DescribeAppInstanceCommand.js +1 -1
- package/dist-cjs/commands/DescribeAppInstanceUserCommand.js +1 -1
- package/dist-cjs/commands/GetAppInstanceRetentionSettingsCommand.js +2 -3
- package/dist-cjs/commands/ListAppInstanceBotsCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -1
- package/dist-cjs/commands/PutAppInstanceRetentionSettingsCommand.js +2 -3
- package/dist-cjs/commands/PutAppInstanceUserExpirationSettingsCommand.js +45 -0
- package/dist-cjs/commands/TagResourceCommand.js +1 -1
- package/dist-cjs/commands/UntagResourceCommand.js +1 -1
- package/dist-cjs/commands/UpdateAppInstanceBotCommand.js +46 -0
- package/dist-cjs/commands/UpdateAppInstanceCommand.js +1 -1
- package/dist-cjs/commands/UpdateAppInstanceUserCommand.js +1 -1
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +62 -77
- package/dist-cjs/pagination/ListAppInstanceBotsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +552 -1
- package/dist-es/ChimeSDKIdentity.js +90 -0
- package/dist-es/commands/CreateAppInstanceAdminCommand.js +2 -2
- package/dist-es/commands/CreateAppInstanceBotCommand.js +42 -0
- package/dist-es/commands/CreateAppInstanceCommand.js +2 -2
- package/dist-es/commands/CreateAppInstanceUserCommand.js +2 -2
- package/dist-es/commands/DeleteAppInstanceAdminCommand.js +2 -3
- package/dist-es/commands/DeleteAppInstanceBotCommand.js +41 -0
- package/dist-es/commands/DeleteAppInstanceCommand.js +2 -3
- package/dist-es/commands/DeleteAppInstanceUserCommand.js +2 -3
- package/dist-es/commands/DeregisterAppInstanceUserEndpointCommand.js +1 -1
- package/dist-es/commands/DescribeAppInstanceAdminCommand.js +2 -2
- package/dist-es/commands/DescribeAppInstanceBotCommand.js +42 -0
- package/dist-es/commands/DescribeAppInstanceCommand.js +2 -2
- package/dist-es/commands/DescribeAppInstanceUserCommand.js +2 -2
- package/dist-es/commands/GetAppInstanceRetentionSettingsCommand.js +2 -3
- package/dist-es/commands/ListAppInstanceBotsCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PutAppInstanceRetentionSettingsCommand.js +2 -3
- package/dist-es/commands/PutAppInstanceUserExpirationSettingsCommand.js +41 -0
- package/dist-es/commands/TagResourceCommand.js +1 -1
- package/dist-es/commands/UntagResourceCommand.js +1 -1
- package/dist-es/commands/UpdateAppInstanceBotCommand.js +42 -0
- package/dist-es/commands/UpdateAppInstanceCommand.js +2 -2
- package/dist-es/commands/UpdateAppInstanceUserCommand.js +2 -2
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +51 -55
- package/dist-es/pagination/ListAppInstanceBotsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +539 -1
- package/dist-types/ChimeSDKIdentity.d.ts +61 -6
- package/dist-types/ChimeSDKIdentityClient.d.ts +8 -2
- package/dist-types/commands/CreateAppInstanceAdminCommand.d.ts +4 -5
- package/dist-types/commands/CreateAppInstanceBotCommand.d.ts +86 -0
- package/dist-types/commands/DeleteAppInstanceAdminCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAppInstanceBotCommand.d.ts +85 -0
- package/dist-types/commands/DescribeAppInstanceBotCommand.d.ts +81 -0
- package/dist-types/commands/ListAppInstanceBotsCommand.d.ts +81 -0
- package/dist-types/commands/PutAppInstanceUserExpirationSettingsCommand.d.ts +88 -0
- package/dist-types/commands/UpdateAppInstanceBotCommand.d.ts +85 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +302 -66
- package/dist-types/pagination/ListAppInstanceBotsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/ChimeSDKIdentity.d.ts +108 -0
- package/dist-types/ts3.4/ChimeSDKIdentityClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateAppInstanceBotCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteAppInstanceBotCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DescribeAppInstanceBotCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListAppInstanceBotsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutAppInstanceUserExpirationSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateAppInstanceBotCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +106 -55
- package/dist-types/ts3.4/pagination/ListAppInstanceBotsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +4 -3
|
@@ -1,25 +1,31 @@
|
|
|
1
1
|
import { ChimeSDKIdentityClient } from "./ChimeSDKIdentityClient";
|
|
2
2
|
import { CreateAppInstanceAdminCommand, } from "./commands/CreateAppInstanceAdminCommand";
|
|
3
|
+
import { CreateAppInstanceBotCommand, } from "./commands/CreateAppInstanceBotCommand";
|
|
3
4
|
import { CreateAppInstanceCommand, } from "./commands/CreateAppInstanceCommand";
|
|
4
5
|
import { CreateAppInstanceUserCommand, } from "./commands/CreateAppInstanceUserCommand";
|
|
5
6
|
import { DeleteAppInstanceAdminCommand, } from "./commands/DeleteAppInstanceAdminCommand";
|
|
7
|
+
import { DeleteAppInstanceBotCommand, } from "./commands/DeleteAppInstanceBotCommand";
|
|
6
8
|
import { DeleteAppInstanceCommand, } from "./commands/DeleteAppInstanceCommand";
|
|
7
9
|
import { DeleteAppInstanceUserCommand, } from "./commands/DeleteAppInstanceUserCommand";
|
|
8
10
|
import { DeregisterAppInstanceUserEndpointCommand, } from "./commands/DeregisterAppInstanceUserEndpointCommand";
|
|
9
11
|
import { DescribeAppInstanceAdminCommand, } from "./commands/DescribeAppInstanceAdminCommand";
|
|
12
|
+
import { DescribeAppInstanceBotCommand, } from "./commands/DescribeAppInstanceBotCommand";
|
|
10
13
|
import { DescribeAppInstanceCommand, } from "./commands/DescribeAppInstanceCommand";
|
|
11
14
|
import { DescribeAppInstanceUserCommand, } from "./commands/DescribeAppInstanceUserCommand";
|
|
12
15
|
import { DescribeAppInstanceUserEndpointCommand, } from "./commands/DescribeAppInstanceUserEndpointCommand";
|
|
13
16
|
import { GetAppInstanceRetentionSettingsCommand, } from "./commands/GetAppInstanceRetentionSettingsCommand";
|
|
14
17
|
import { ListAppInstanceAdminsCommand, } from "./commands/ListAppInstanceAdminsCommand";
|
|
18
|
+
import { ListAppInstanceBotsCommand, } from "./commands/ListAppInstanceBotsCommand";
|
|
15
19
|
import { ListAppInstancesCommand, } from "./commands/ListAppInstancesCommand";
|
|
16
20
|
import { ListAppInstanceUserEndpointsCommand, } from "./commands/ListAppInstanceUserEndpointsCommand";
|
|
17
21
|
import { ListAppInstanceUsersCommand, } from "./commands/ListAppInstanceUsersCommand";
|
|
18
22
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
19
23
|
import { PutAppInstanceRetentionSettingsCommand, } from "./commands/PutAppInstanceRetentionSettingsCommand";
|
|
24
|
+
import { PutAppInstanceUserExpirationSettingsCommand, } from "./commands/PutAppInstanceUserExpirationSettingsCommand";
|
|
20
25
|
import { RegisterAppInstanceUserEndpointCommand, } from "./commands/RegisterAppInstanceUserEndpointCommand";
|
|
21
26
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
22
27
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
28
|
+
import { UpdateAppInstanceBotCommand, } from "./commands/UpdateAppInstanceBotCommand";
|
|
23
29
|
import { UpdateAppInstanceCommand, } from "./commands/UpdateAppInstanceCommand";
|
|
24
30
|
import { UpdateAppInstanceUserCommand, } from "./commands/UpdateAppInstanceUserCommand";
|
|
25
31
|
import { UpdateAppInstanceUserEndpointCommand, } from "./commands/UpdateAppInstanceUserEndpointCommand";
|
|
@@ -52,6 +58,20 @@ export class ChimeSDKIdentity extends ChimeSDKIdentityClient {
|
|
|
52
58
|
return this.send(command, optionsOrCb);
|
|
53
59
|
}
|
|
54
60
|
}
|
|
61
|
+
createAppInstanceBot(args, optionsOrCb, cb) {
|
|
62
|
+
const command = new CreateAppInstanceBotCommand(args);
|
|
63
|
+
if (typeof optionsOrCb === "function") {
|
|
64
|
+
this.send(command, optionsOrCb);
|
|
65
|
+
}
|
|
66
|
+
else if (typeof cb === "function") {
|
|
67
|
+
if (typeof optionsOrCb !== "object")
|
|
68
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
69
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
return this.send(command, optionsOrCb);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
55
75
|
createAppInstanceUser(args, optionsOrCb, cb) {
|
|
56
76
|
const command = new CreateAppInstanceUserCommand(args);
|
|
57
77
|
if (typeof optionsOrCb === "function") {
|
|
@@ -94,6 +114,20 @@ export class ChimeSDKIdentity extends ChimeSDKIdentityClient {
|
|
|
94
114
|
return this.send(command, optionsOrCb);
|
|
95
115
|
}
|
|
96
116
|
}
|
|
117
|
+
deleteAppInstanceBot(args, optionsOrCb, cb) {
|
|
118
|
+
const command = new DeleteAppInstanceBotCommand(args);
|
|
119
|
+
if (typeof optionsOrCb === "function") {
|
|
120
|
+
this.send(command, optionsOrCb);
|
|
121
|
+
}
|
|
122
|
+
else if (typeof cb === "function") {
|
|
123
|
+
if (typeof optionsOrCb !== "object")
|
|
124
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
125
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
return this.send(command, optionsOrCb);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
97
131
|
deleteAppInstanceUser(args, optionsOrCb, cb) {
|
|
98
132
|
const command = new DeleteAppInstanceUserCommand(args);
|
|
99
133
|
if (typeof optionsOrCb === "function") {
|
|
@@ -150,6 +184,20 @@ export class ChimeSDKIdentity extends ChimeSDKIdentityClient {
|
|
|
150
184
|
return this.send(command, optionsOrCb);
|
|
151
185
|
}
|
|
152
186
|
}
|
|
187
|
+
describeAppInstanceBot(args, optionsOrCb, cb) {
|
|
188
|
+
const command = new DescribeAppInstanceBotCommand(args);
|
|
189
|
+
if (typeof optionsOrCb === "function") {
|
|
190
|
+
this.send(command, optionsOrCb);
|
|
191
|
+
}
|
|
192
|
+
else if (typeof cb === "function") {
|
|
193
|
+
if (typeof optionsOrCb !== "object")
|
|
194
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
195
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
196
|
+
}
|
|
197
|
+
else {
|
|
198
|
+
return this.send(command, optionsOrCb);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
153
201
|
describeAppInstanceUser(args, optionsOrCb, cb) {
|
|
154
202
|
const command = new DescribeAppInstanceUserCommand(args);
|
|
155
203
|
if (typeof optionsOrCb === "function") {
|
|
@@ -206,6 +254,20 @@ export class ChimeSDKIdentity extends ChimeSDKIdentityClient {
|
|
|
206
254
|
return this.send(command, optionsOrCb);
|
|
207
255
|
}
|
|
208
256
|
}
|
|
257
|
+
listAppInstanceBots(args, optionsOrCb, cb) {
|
|
258
|
+
const command = new ListAppInstanceBotsCommand(args);
|
|
259
|
+
if (typeof optionsOrCb === "function") {
|
|
260
|
+
this.send(command, optionsOrCb);
|
|
261
|
+
}
|
|
262
|
+
else if (typeof cb === "function") {
|
|
263
|
+
if (typeof optionsOrCb !== "object")
|
|
264
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
265
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
266
|
+
}
|
|
267
|
+
else {
|
|
268
|
+
return this.send(command, optionsOrCb);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
209
271
|
listAppInstances(args, optionsOrCb, cb) {
|
|
210
272
|
const command = new ListAppInstancesCommand(args);
|
|
211
273
|
if (typeof optionsOrCb === "function") {
|
|
@@ -276,6 +338,20 @@ export class ChimeSDKIdentity extends ChimeSDKIdentityClient {
|
|
|
276
338
|
return this.send(command, optionsOrCb);
|
|
277
339
|
}
|
|
278
340
|
}
|
|
341
|
+
putAppInstanceUserExpirationSettings(args, optionsOrCb, cb) {
|
|
342
|
+
const command = new PutAppInstanceUserExpirationSettingsCommand(args);
|
|
343
|
+
if (typeof optionsOrCb === "function") {
|
|
344
|
+
this.send(command, optionsOrCb);
|
|
345
|
+
}
|
|
346
|
+
else if (typeof cb === "function") {
|
|
347
|
+
if (typeof optionsOrCb !== "object")
|
|
348
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
349
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
350
|
+
}
|
|
351
|
+
else {
|
|
352
|
+
return this.send(command, optionsOrCb);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
279
355
|
registerAppInstanceUserEndpoint(args, optionsOrCb, cb) {
|
|
280
356
|
const command = new RegisterAppInstanceUserEndpointCommand(args);
|
|
281
357
|
if (typeof optionsOrCb === "function") {
|
|
@@ -332,6 +408,20 @@ export class ChimeSDKIdentity extends ChimeSDKIdentityClient {
|
|
|
332
408
|
return this.send(command, optionsOrCb);
|
|
333
409
|
}
|
|
334
410
|
}
|
|
411
|
+
updateAppInstanceBot(args, optionsOrCb, cb) {
|
|
412
|
+
const command = new UpdateAppInstanceBotCommand(args);
|
|
413
|
+
if (typeof optionsOrCb === "function") {
|
|
414
|
+
this.send(command, optionsOrCb);
|
|
415
|
+
}
|
|
416
|
+
else if (typeof cb === "function") {
|
|
417
|
+
if (typeof optionsOrCb !== "object")
|
|
418
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
419
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
420
|
+
}
|
|
421
|
+
else {
|
|
422
|
+
return this.send(command, optionsOrCb);
|
|
423
|
+
}
|
|
424
|
+
}
|
|
335
425
|
updateAppInstanceUser(args, optionsOrCb, cb) {
|
|
336
426
|
const command = new UpdateAppInstanceUserCommand(args);
|
|
337
427
|
if (typeof optionsOrCb === "function") {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateAppInstanceAdminResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1CreateAppInstanceAdminCommand, serializeAws_restJson1CreateAppInstanceAdminCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class CreateAppInstanceAdminCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class CreateAppInstanceAdminCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: CreateAppInstanceAdminResponseFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateAppInstanceBotRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateAppInstanceBotCommand, serializeAws_restJson1CreateAppInstanceBotCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class CreateAppInstanceBotCommand 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, CreateAppInstanceBotCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ChimeSDKIdentityClient";
|
|
25
|
+
const commandName = "CreateAppInstanceBotCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: CreateAppInstanceBotRequestFilterSensitiveLog,
|
|
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 serializeAws_restJson1CreateAppInstanceBotCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1CreateAppInstanceBotCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { CreateAppInstanceRequestFilterSensitiveLog,
|
|
4
|
+
import { CreateAppInstanceRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1CreateAppInstanceCommand, serializeAws_restJson1CreateAppInstanceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class CreateAppInstanceCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -28,7 +28,7 @@ export class CreateAppInstanceCommand extends $Command {
|
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
30
|
inputFilterSensitiveLog: CreateAppInstanceRequestFilterSensitiveLog,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { CreateAppInstanceUserRequestFilterSensitiveLog,
|
|
4
|
+
import { CreateAppInstanceUserRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1CreateAppInstanceUserCommand, serializeAws_restJson1CreateAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class CreateAppInstanceUserCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -28,7 +28,7 @@ export class CreateAppInstanceUserCommand extends $Command {
|
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
30
|
inputFilterSensitiveLog: CreateAppInstanceUserRequestFilterSensitiveLog,
|
|
31
|
-
outputFilterSensitiveLog:
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DeleteAppInstanceAdminRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DeleteAppInstanceAdminCommand, serializeAws_restJson1DeleteAppInstanceAdminCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class DeleteAppInstanceAdminCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class DeleteAppInstanceAdminCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog: (
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { deserializeAws_restJson1DeleteAppInstanceBotCommand, serializeAws_restJson1DeleteAppInstanceBotCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class DeleteAppInstanceBotCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAppInstanceBotCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "ChimeSDKIdentityClient";
|
|
24
|
+
const commandName = "DeleteAppInstanceBotCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_restJson1DeleteAppInstanceBotCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_restJson1DeleteAppInstanceBotCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DeleteAppInstanceRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DeleteAppInstanceCommand, serializeAws_restJson1DeleteAppInstanceCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class DeleteAppInstanceCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class DeleteAppInstanceCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog: (
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { DeleteAppInstanceUserRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1DeleteAppInstanceUserCommand, serializeAws_restJson1DeleteAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class DeleteAppInstanceUserCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class DeleteAppInstanceUserCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog: (
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -28,7 +28,7 @@ export class DeregisterAppInstanceUserEndpointCommand extends $Command {
|
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
30
|
inputFilterSensitiveLog: DeregisterAppInstanceUserEndpointRequestFilterSensitiveLog,
|
|
31
|
-
outputFilterSensitiveLog: (
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeAppInstanceAdminResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DescribeAppInstanceAdminCommand, serializeAws_restJson1DescribeAppInstanceAdminCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class DescribeAppInstanceAdminCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class DescribeAppInstanceAdminCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: DescribeAppInstanceAdminResponseFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeAppInstanceBotResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeAppInstanceBotCommand, serializeAws_restJson1DescribeAppInstanceBotCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class DescribeAppInstanceBotCommand 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, DescribeAppInstanceBotCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ChimeSDKIdentityClient";
|
|
25
|
+
const commandName = "DescribeAppInstanceBotCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: DescribeAppInstanceBotResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1DescribeAppInstanceBotCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1DescribeAppInstanceBotCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeAppInstanceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DescribeAppInstanceCommand, serializeAws_restJson1DescribeAppInstanceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class DescribeAppInstanceCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class DescribeAppInstanceCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: DescribeAppInstanceResponseFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeAppInstanceUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DescribeAppInstanceUserCommand, serializeAws_restJson1DescribeAppInstanceUserCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class DescribeAppInstanceUserCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class DescribeAppInstanceUserCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: DescribeAppInstanceUserResponseFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { GetAppInstanceRetentionSettingsRequestFilterSensitiveLog, GetAppInstanceRetentionSettingsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1GetAppInstanceRetentionSettingsCommand, serializeAws_restJson1GetAppInstanceRetentionSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class GetAppInstanceRetentionSettingsCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class GetAppInstanceRetentionSettingsCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListAppInstanceBotsRequestFilterSensitiveLog, ListAppInstanceBotsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListAppInstanceBotsCommand, serializeAws_restJson1ListAppInstanceBotsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class ListAppInstanceBotsCommand 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, ListAppInstanceBotsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ChimeSDKIdentityClient";
|
|
25
|
+
const commandName = "ListAppInstanceBotsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: ListAppInstanceBotsRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: ListAppInstanceBotsResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1ListAppInstanceBotsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1ListAppInstanceBotsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command {
|
|
7
7
|
static getEndpointParameterInstructions() {
|
|
@@ -27,7 +27,7 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
27
27
|
logger,
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
31
|
outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { PutAppInstanceRetentionSettingsRequestFilterSensitiveLog, PutAppInstanceRetentionSettingsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1PutAppInstanceRetentionSettingsCommand, serializeAws_restJson1PutAppInstanceRetentionSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class PutAppInstanceRetentionSettingsCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class PutAppInstanceRetentionSettingsCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { deserializeAws_restJson1PutAppInstanceUserExpirationSettingsCommand, serializeAws_restJson1PutAppInstanceUserExpirationSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
+
export class PutAppInstanceUserExpirationSettingsCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, PutAppInstanceUserExpirationSettingsCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "ChimeSDKIdentityClient";
|
|
24
|
+
const commandName = "PutAppInstanceUserExpirationSettingsCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return serializeAws_restJson1PutAppInstanceUserExpirationSettingsCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return deserializeAws_restJson1PutAppInstanceUserExpirationSettingsCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -28,7 +28,7 @@ export class TagResourceCommand extends $Command {
|
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
30
|
inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
|
|
31
|
-
outputFilterSensitiveLog: (
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -28,7 +28,7 @@ export class UntagResourceCommand extends $Command {
|
|
|
28
28
|
clientName,
|
|
29
29
|
commandName,
|
|
30
30
|
inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
|
|
31
|
-
outputFilterSensitiveLog: (
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
32
|
};
|
|
33
33
|
const { requestHandler } = configuration;
|
|
34
34
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|