@aws-sdk/client-chime-sdk-identity 3.297.0 → 3.299.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 +11 -10
|
@@ -1,26 +1,32 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { ChimeSDKIdentityClient } from "./ChimeSDKIdentityClient";
|
|
3
3
|
import { CreateAppInstanceAdminCommandInput, CreateAppInstanceAdminCommandOutput } from "./commands/CreateAppInstanceAdminCommand";
|
|
4
|
+
import { CreateAppInstanceBotCommandInput, CreateAppInstanceBotCommandOutput } from "./commands/CreateAppInstanceBotCommand";
|
|
4
5
|
import { CreateAppInstanceCommandInput, CreateAppInstanceCommandOutput } from "./commands/CreateAppInstanceCommand";
|
|
5
6
|
import { CreateAppInstanceUserCommandInput, CreateAppInstanceUserCommandOutput } from "./commands/CreateAppInstanceUserCommand";
|
|
6
7
|
import { DeleteAppInstanceAdminCommandInput, DeleteAppInstanceAdminCommandOutput } from "./commands/DeleteAppInstanceAdminCommand";
|
|
8
|
+
import { DeleteAppInstanceBotCommandInput, DeleteAppInstanceBotCommandOutput } from "./commands/DeleteAppInstanceBotCommand";
|
|
7
9
|
import { DeleteAppInstanceCommandInput, DeleteAppInstanceCommandOutput } from "./commands/DeleteAppInstanceCommand";
|
|
8
10
|
import { DeleteAppInstanceUserCommandInput, DeleteAppInstanceUserCommandOutput } from "./commands/DeleteAppInstanceUserCommand";
|
|
9
11
|
import { DeregisterAppInstanceUserEndpointCommandInput, DeregisterAppInstanceUserEndpointCommandOutput } from "./commands/DeregisterAppInstanceUserEndpointCommand";
|
|
10
12
|
import { DescribeAppInstanceAdminCommandInput, DescribeAppInstanceAdminCommandOutput } from "./commands/DescribeAppInstanceAdminCommand";
|
|
13
|
+
import { DescribeAppInstanceBotCommandInput, DescribeAppInstanceBotCommandOutput } from "./commands/DescribeAppInstanceBotCommand";
|
|
11
14
|
import { DescribeAppInstanceCommandInput, DescribeAppInstanceCommandOutput } from "./commands/DescribeAppInstanceCommand";
|
|
12
15
|
import { DescribeAppInstanceUserCommandInput, DescribeAppInstanceUserCommandOutput } from "./commands/DescribeAppInstanceUserCommand";
|
|
13
16
|
import { DescribeAppInstanceUserEndpointCommandInput, DescribeAppInstanceUserEndpointCommandOutput } from "./commands/DescribeAppInstanceUserEndpointCommand";
|
|
14
17
|
import { GetAppInstanceRetentionSettingsCommandInput, GetAppInstanceRetentionSettingsCommandOutput } from "./commands/GetAppInstanceRetentionSettingsCommand";
|
|
15
18
|
import { ListAppInstanceAdminsCommandInput, ListAppInstanceAdminsCommandOutput } from "./commands/ListAppInstanceAdminsCommand";
|
|
19
|
+
import { ListAppInstanceBotsCommandInput, ListAppInstanceBotsCommandOutput } from "./commands/ListAppInstanceBotsCommand";
|
|
16
20
|
import { ListAppInstancesCommandInput, ListAppInstancesCommandOutput } from "./commands/ListAppInstancesCommand";
|
|
17
21
|
import { ListAppInstanceUserEndpointsCommandInput, ListAppInstanceUserEndpointsCommandOutput } from "./commands/ListAppInstanceUserEndpointsCommand";
|
|
18
22
|
import { ListAppInstanceUsersCommandInput, ListAppInstanceUsersCommandOutput } from "./commands/ListAppInstanceUsersCommand";
|
|
19
23
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
20
24
|
import { PutAppInstanceRetentionSettingsCommandInput, PutAppInstanceRetentionSettingsCommandOutput } from "./commands/PutAppInstanceRetentionSettingsCommand";
|
|
25
|
+
import { PutAppInstanceUserExpirationSettingsCommandInput, PutAppInstanceUserExpirationSettingsCommandOutput } from "./commands/PutAppInstanceUserExpirationSettingsCommand";
|
|
21
26
|
import { RegisterAppInstanceUserEndpointCommandInput, RegisterAppInstanceUserEndpointCommandOutput } from "./commands/RegisterAppInstanceUserEndpointCommand";
|
|
22
27
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
23
28
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
29
|
+
import { UpdateAppInstanceBotCommandInput, UpdateAppInstanceBotCommandOutput } from "./commands/UpdateAppInstanceBotCommand";
|
|
24
30
|
import { UpdateAppInstanceCommandInput, UpdateAppInstanceCommandOutput } from "./commands/UpdateAppInstanceCommand";
|
|
25
31
|
import { UpdateAppInstanceUserCommandInput, UpdateAppInstanceUserCommandOutput } from "./commands/UpdateAppInstanceUserCommand";
|
|
26
32
|
import { UpdateAppInstanceUserEndpointCommandInput, UpdateAppInstanceUserEndpointCommandOutput } from "./commands/UpdateAppInstanceUserEndpointCommand";
|
|
@@ -44,9 +50,9 @@ export declare class ChimeSDKIdentity extends ChimeSDKIdentityClient {
|
|
|
44
50
|
createAppInstance(args: CreateAppInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAppInstanceCommandOutput) => void): void;
|
|
45
51
|
/**
|
|
46
52
|
* @public
|
|
47
|
-
* <p>Promotes an <code>AppInstanceUser</code>
|
|
48
|
-
*
|
|
49
|
-
*
|
|
53
|
+
* <p>Promotes an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> to an
|
|
54
|
+
* <code>AppInstanceAdmin</code>. The
|
|
55
|
+
* promoted entity can perform the following actions. </p>
|
|
50
56
|
* <ul>
|
|
51
57
|
* <li>
|
|
52
58
|
* <p>
|
|
@@ -58,13 +64,20 @@ export declare class ChimeSDKIdentity extends ChimeSDKIdentityClient {
|
|
|
58
64
|
* <code>DeleteChannelMessage</code> actions.</p>
|
|
59
65
|
* </li>
|
|
60
66
|
* </ul>
|
|
61
|
-
*
|
|
62
|
-
* <p>Only an <code>AppInstanceUser</code> can be promoted to an <code>AppInstanceAdmin</code>
|
|
67
|
+
* <p>Only an <code>AppInstanceUser</code> and <code>AppInstanceBot</code> can be promoted to an <code>AppInstanceAdmin</code>
|
|
63
68
|
* role.</p>
|
|
64
69
|
*/
|
|
65
70
|
createAppInstanceAdmin(args: CreateAppInstanceAdminCommandInput, options?: __HttpHandlerOptions): Promise<CreateAppInstanceAdminCommandOutput>;
|
|
66
71
|
createAppInstanceAdmin(args: CreateAppInstanceAdminCommandInput, cb: (err: any, data?: CreateAppInstanceAdminCommandOutput) => void): void;
|
|
67
72
|
createAppInstanceAdmin(args: CreateAppInstanceAdminCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAppInstanceAdminCommandOutput) => void): void;
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* <p>Creates a bot under an Amazon Chime <code>AppInstance</code>. The request consists of a
|
|
76
|
+
* unique <code>Configuration</code> and <code>Name</code> for that bot.</p>
|
|
77
|
+
*/
|
|
78
|
+
createAppInstanceBot(args: CreateAppInstanceBotCommandInput, options?: __HttpHandlerOptions): Promise<CreateAppInstanceBotCommandOutput>;
|
|
79
|
+
createAppInstanceBot(args: CreateAppInstanceBotCommandInput, cb: (err: any, data?: CreateAppInstanceBotCommandOutput) => void): void;
|
|
80
|
+
createAppInstanceBot(args: CreateAppInstanceBotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAppInstanceBotCommandOutput) => void): void;
|
|
68
81
|
/**
|
|
69
82
|
* @public
|
|
70
83
|
* <p>Creates a user under an Amazon Chime <code>AppInstance</code>. The request consists of a
|
|
@@ -82,12 +95,20 @@ export declare class ChimeSDKIdentity extends ChimeSDKIdentityClient {
|
|
|
82
95
|
deleteAppInstance(args: DeleteAppInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAppInstanceCommandOutput) => void): void;
|
|
83
96
|
/**
|
|
84
97
|
* @public
|
|
85
|
-
* <p>Demotes an <code>AppInstanceAdmin</code> to an <code>AppInstanceUser</code
|
|
98
|
+
* <p>Demotes an <code>AppInstanceAdmin</code> to an <code>AppInstanceUser</code> or
|
|
99
|
+
* <code>AppInstanceBot</code>. This action
|
|
86
100
|
* does not delete the user.</p>
|
|
87
101
|
*/
|
|
88
102
|
deleteAppInstanceAdmin(args: DeleteAppInstanceAdminCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAppInstanceAdminCommandOutput>;
|
|
89
103
|
deleteAppInstanceAdmin(args: DeleteAppInstanceAdminCommandInput, cb: (err: any, data?: DeleteAppInstanceAdminCommandOutput) => void): void;
|
|
90
104
|
deleteAppInstanceAdmin(args: DeleteAppInstanceAdminCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAppInstanceAdminCommandOutput) => void): void;
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
* <p>Deletes an <code>AppInstanceBot</code>.</p>
|
|
108
|
+
*/
|
|
109
|
+
deleteAppInstanceBot(args: DeleteAppInstanceBotCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAppInstanceBotCommandOutput>;
|
|
110
|
+
deleteAppInstanceBot(args: DeleteAppInstanceBotCommandInput, cb: (err: any, data?: DeleteAppInstanceBotCommandOutput) => void): void;
|
|
111
|
+
deleteAppInstanceBot(args: DeleteAppInstanceBotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAppInstanceBotCommandOutput) => void): void;
|
|
91
112
|
/**
|
|
92
113
|
* @public
|
|
93
114
|
* <p>Deletes an <code>AppInstanceUser</code>.</p>
|
|
@@ -116,6 +137,13 @@ export declare class ChimeSDKIdentity extends ChimeSDKIdentityClient {
|
|
|
116
137
|
describeAppInstanceAdmin(args: DescribeAppInstanceAdminCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAppInstanceAdminCommandOutput>;
|
|
117
138
|
describeAppInstanceAdmin(args: DescribeAppInstanceAdminCommandInput, cb: (err: any, data?: DescribeAppInstanceAdminCommandOutput) => void): void;
|
|
118
139
|
describeAppInstanceAdmin(args: DescribeAppInstanceAdminCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAppInstanceAdminCommandOutput) => void): void;
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
* <p>The <code>AppInstanceBot's</code> information.</p>
|
|
143
|
+
*/
|
|
144
|
+
describeAppInstanceBot(args: DescribeAppInstanceBotCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAppInstanceBotCommandOutput>;
|
|
145
|
+
describeAppInstanceBot(args: DescribeAppInstanceBotCommandInput, cb: (err: any, data?: DescribeAppInstanceBotCommandOutput) => void): void;
|
|
146
|
+
describeAppInstanceBot(args: DescribeAppInstanceBotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAppInstanceBotCommandOutput) => void): void;
|
|
119
147
|
/**
|
|
120
148
|
* @public
|
|
121
149
|
* <p>Returns the full details of an <code>AppInstanceUser</code>.</p>
|
|
@@ -144,6 +172,13 @@ export declare class ChimeSDKIdentity extends ChimeSDKIdentityClient {
|
|
|
144
172
|
listAppInstanceAdmins(args: ListAppInstanceAdminsCommandInput, options?: __HttpHandlerOptions): Promise<ListAppInstanceAdminsCommandOutput>;
|
|
145
173
|
listAppInstanceAdmins(args: ListAppInstanceAdminsCommandInput, cb: (err: any, data?: ListAppInstanceAdminsCommandOutput) => void): void;
|
|
146
174
|
listAppInstanceAdmins(args: ListAppInstanceAdminsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppInstanceAdminsCommandOutput) => void): void;
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
* <p>Lists all <code>AppInstanceBots</code> created under a single <code>AppInstance</code>.</p>
|
|
178
|
+
*/
|
|
179
|
+
listAppInstanceBots(args: ListAppInstanceBotsCommandInput, options?: __HttpHandlerOptions): Promise<ListAppInstanceBotsCommandOutput>;
|
|
180
|
+
listAppInstanceBots(args: ListAppInstanceBotsCommandInput, cb: (err: any, data?: ListAppInstanceBotsCommandOutput) => void): void;
|
|
181
|
+
listAppInstanceBots(args: ListAppInstanceBotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppInstanceBotsCommandOutput) => void): void;
|
|
147
182
|
/**
|
|
148
183
|
* @public
|
|
149
184
|
* <p>Lists all Amazon Chime <code>AppInstance</code>s created under a single AWS
|
|
@@ -182,6 +217,19 @@ export declare class ChimeSDKIdentity extends ChimeSDKIdentityClient {
|
|
|
182
217
|
putAppInstanceRetentionSettings(args: PutAppInstanceRetentionSettingsCommandInput, options?: __HttpHandlerOptions): Promise<PutAppInstanceRetentionSettingsCommandOutput>;
|
|
183
218
|
putAppInstanceRetentionSettings(args: PutAppInstanceRetentionSettingsCommandInput, cb: (err: any, data?: PutAppInstanceRetentionSettingsCommandOutput) => void): void;
|
|
184
219
|
putAppInstanceRetentionSettings(args: PutAppInstanceRetentionSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAppInstanceRetentionSettingsCommandOutput) => void): void;
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
* <p>Sets the number of days before the <code>AppInstanceUser</code> is automatically deleted.</p>
|
|
223
|
+
* <note>
|
|
224
|
+
* <p>A background process deletes expired <code>AppInstanceUsers</code> within 6 hours of expiration.
|
|
225
|
+
* Actual deletion times may vary.</p>
|
|
226
|
+
* <p>Expired <code>AppInstanceUsers</code> that have not yet been deleted appear as active, and you can update
|
|
227
|
+
* their expiration settings. The system honors the new settings.</p>
|
|
228
|
+
* </note>
|
|
229
|
+
*/
|
|
230
|
+
putAppInstanceUserExpirationSettings(args: PutAppInstanceUserExpirationSettingsCommandInput, options?: __HttpHandlerOptions): Promise<PutAppInstanceUserExpirationSettingsCommandOutput>;
|
|
231
|
+
putAppInstanceUserExpirationSettings(args: PutAppInstanceUserExpirationSettingsCommandInput, cb: (err: any, data?: PutAppInstanceUserExpirationSettingsCommandOutput) => void): void;
|
|
232
|
+
putAppInstanceUserExpirationSettings(args: PutAppInstanceUserExpirationSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAppInstanceUserExpirationSettingsCommandOutput) => void): void;
|
|
185
233
|
/**
|
|
186
234
|
* @public
|
|
187
235
|
* <p>Registers an endpoint under an Amazon Chime <code>AppInstanceUser</code>. The endpoint receives messages for a user. For push notifications, the endpoint is a mobile device used to receive mobile push notifications for a user.</p>
|
|
@@ -210,6 +258,13 @@ export declare class ChimeSDKIdentity extends ChimeSDKIdentityClient {
|
|
|
210
258
|
updateAppInstance(args: UpdateAppInstanceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAppInstanceCommandOutput>;
|
|
211
259
|
updateAppInstance(args: UpdateAppInstanceCommandInput, cb: (err: any, data?: UpdateAppInstanceCommandOutput) => void): void;
|
|
212
260
|
updateAppInstance(args: UpdateAppInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAppInstanceCommandOutput) => void): void;
|
|
261
|
+
/**
|
|
262
|
+
* @public
|
|
263
|
+
* <p>Updates the name and metadata of an <code>AppInstanceBot</code>.</p>
|
|
264
|
+
*/
|
|
265
|
+
updateAppInstanceBot(args: UpdateAppInstanceBotCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAppInstanceBotCommandOutput>;
|
|
266
|
+
updateAppInstanceBot(args: UpdateAppInstanceBotCommandInput, cb: (err: any, data?: UpdateAppInstanceBotCommandOutput) => void): void;
|
|
267
|
+
updateAppInstanceBot(args: UpdateAppInstanceBotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAppInstanceBotCommandOutput) => void): void;
|
|
213
268
|
/**
|
|
214
269
|
* @public
|
|
215
270
|
* <p>Updates the details of an <code>AppInstanceUser</code>. You can update names and
|
|
@@ -8,26 +8,32 @@ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
|
8
8
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
9
|
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { CreateAppInstanceAdminCommandInput, CreateAppInstanceAdminCommandOutput } from "./commands/CreateAppInstanceAdminCommand";
|
|
11
|
+
import { CreateAppInstanceBotCommandInput, CreateAppInstanceBotCommandOutput } from "./commands/CreateAppInstanceBotCommand";
|
|
11
12
|
import { CreateAppInstanceCommandInput, CreateAppInstanceCommandOutput } from "./commands/CreateAppInstanceCommand";
|
|
12
13
|
import { CreateAppInstanceUserCommandInput, CreateAppInstanceUserCommandOutput } from "./commands/CreateAppInstanceUserCommand";
|
|
13
14
|
import { DeleteAppInstanceAdminCommandInput, DeleteAppInstanceAdminCommandOutput } from "./commands/DeleteAppInstanceAdminCommand";
|
|
15
|
+
import { DeleteAppInstanceBotCommandInput, DeleteAppInstanceBotCommandOutput } from "./commands/DeleteAppInstanceBotCommand";
|
|
14
16
|
import { DeleteAppInstanceCommandInput, DeleteAppInstanceCommandOutput } from "./commands/DeleteAppInstanceCommand";
|
|
15
17
|
import { DeleteAppInstanceUserCommandInput, DeleteAppInstanceUserCommandOutput } from "./commands/DeleteAppInstanceUserCommand";
|
|
16
18
|
import { DeregisterAppInstanceUserEndpointCommandInput, DeregisterAppInstanceUserEndpointCommandOutput } from "./commands/DeregisterAppInstanceUserEndpointCommand";
|
|
17
19
|
import { DescribeAppInstanceAdminCommandInput, DescribeAppInstanceAdminCommandOutput } from "./commands/DescribeAppInstanceAdminCommand";
|
|
20
|
+
import { DescribeAppInstanceBotCommandInput, DescribeAppInstanceBotCommandOutput } from "./commands/DescribeAppInstanceBotCommand";
|
|
18
21
|
import { DescribeAppInstanceCommandInput, DescribeAppInstanceCommandOutput } from "./commands/DescribeAppInstanceCommand";
|
|
19
22
|
import { DescribeAppInstanceUserCommandInput, DescribeAppInstanceUserCommandOutput } from "./commands/DescribeAppInstanceUserCommand";
|
|
20
23
|
import { DescribeAppInstanceUserEndpointCommandInput, DescribeAppInstanceUserEndpointCommandOutput } from "./commands/DescribeAppInstanceUserEndpointCommand";
|
|
21
24
|
import { GetAppInstanceRetentionSettingsCommandInput, GetAppInstanceRetentionSettingsCommandOutput } from "./commands/GetAppInstanceRetentionSettingsCommand";
|
|
22
25
|
import { ListAppInstanceAdminsCommandInput, ListAppInstanceAdminsCommandOutput } from "./commands/ListAppInstanceAdminsCommand";
|
|
26
|
+
import { ListAppInstanceBotsCommandInput, ListAppInstanceBotsCommandOutput } from "./commands/ListAppInstanceBotsCommand";
|
|
23
27
|
import { ListAppInstancesCommandInput, ListAppInstancesCommandOutput } from "./commands/ListAppInstancesCommand";
|
|
24
28
|
import { ListAppInstanceUserEndpointsCommandInput, ListAppInstanceUserEndpointsCommandOutput } from "./commands/ListAppInstanceUserEndpointsCommand";
|
|
25
29
|
import { ListAppInstanceUsersCommandInput, ListAppInstanceUsersCommandOutput } from "./commands/ListAppInstanceUsersCommand";
|
|
26
30
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
27
31
|
import { PutAppInstanceRetentionSettingsCommandInput, PutAppInstanceRetentionSettingsCommandOutput } from "./commands/PutAppInstanceRetentionSettingsCommand";
|
|
32
|
+
import { PutAppInstanceUserExpirationSettingsCommandInput, PutAppInstanceUserExpirationSettingsCommandOutput } from "./commands/PutAppInstanceUserExpirationSettingsCommand";
|
|
28
33
|
import { RegisterAppInstanceUserEndpointCommandInput, RegisterAppInstanceUserEndpointCommandOutput } from "./commands/RegisterAppInstanceUserEndpointCommand";
|
|
29
34
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
30
35
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
36
|
+
import { UpdateAppInstanceBotCommandInput, UpdateAppInstanceBotCommandOutput } from "./commands/UpdateAppInstanceBotCommand";
|
|
31
37
|
import { UpdateAppInstanceCommandInput, UpdateAppInstanceCommandOutput } from "./commands/UpdateAppInstanceCommand";
|
|
32
38
|
import { UpdateAppInstanceUserCommandInput, UpdateAppInstanceUserCommandOutput } from "./commands/UpdateAppInstanceUserCommand";
|
|
33
39
|
import { UpdateAppInstanceUserEndpointCommandInput, UpdateAppInstanceUserEndpointCommandOutput } from "./commands/UpdateAppInstanceUserEndpointCommand";
|
|
@@ -35,11 +41,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
|
|
|
35
41
|
/**
|
|
36
42
|
* @public
|
|
37
43
|
*/
|
|
38
|
-
export type ServiceInputTypes = CreateAppInstanceAdminCommandInput | CreateAppInstanceCommandInput | CreateAppInstanceUserCommandInput | DeleteAppInstanceAdminCommandInput | DeleteAppInstanceCommandInput | DeleteAppInstanceUserCommandInput | DeregisterAppInstanceUserEndpointCommandInput | DescribeAppInstanceAdminCommandInput | DescribeAppInstanceCommandInput | DescribeAppInstanceUserCommandInput | DescribeAppInstanceUserEndpointCommandInput | GetAppInstanceRetentionSettingsCommandInput | ListAppInstanceAdminsCommandInput | ListAppInstanceUserEndpointsCommandInput | ListAppInstanceUsersCommandInput | ListAppInstancesCommandInput | ListTagsForResourceCommandInput | PutAppInstanceRetentionSettingsCommandInput | RegisterAppInstanceUserEndpointCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAppInstanceCommandInput | UpdateAppInstanceUserCommandInput | UpdateAppInstanceUserEndpointCommandInput;
|
|
44
|
+
export type ServiceInputTypes = CreateAppInstanceAdminCommandInput | CreateAppInstanceBotCommandInput | CreateAppInstanceCommandInput | CreateAppInstanceUserCommandInput | DeleteAppInstanceAdminCommandInput | DeleteAppInstanceBotCommandInput | DeleteAppInstanceCommandInput | DeleteAppInstanceUserCommandInput | DeregisterAppInstanceUserEndpointCommandInput | DescribeAppInstanceAdminCommandInput | DescribeAppInstanceBotCommandInput | DescribeAppInstanceCommandInput | DescribeAppInstanceUserCommandInput | DescribeAppInstanceUserEndpointCommandInput | GetAppInstanceRetentionSettingsCommandInput | ListAppInstanceAdminsCommandInput | ListAppInstanceBotsCommandInput | ListAppInstanceUserEndpointsCommandInput | ListAppInstanceUsersCommandInput | ListAppInstancesCommandInput | ListTagsForResourceCommandInput | PutAppInstanceRetentionSettingsCommandInput | PutAppInstanceUserExpirationSettingsCommandInput | RegisterAppInstanceUserEndpointCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAppInstanceBotCommandInput | UpdateAppInstanceCommandInput | UpdateAppInstanceUserCommandInput | UpdateAppInstanceUserEndpointCommandInput;
|
|
39
45
|
/**
|
|
40
46
|
* @public
|
|
41
47
|
*/
|
|
42
|
-
export type ServiceOutputTypes = CreateAppInstanceAdminCommandOutput | CreateAppInstanceCommandOutput | CreateAppInstanceUserCommandOutput | DeleteAppInstanceAdminCommandOutput | DeleteAppInstanceCommandOutput | DeleteAppInstanceUserCommandOutput | DeregisterAppInstanceUserEndpointCommandOutput | DescribeAppInstanceAdminCommandOutput | DescribeAppInstanceCommandOutput | DescribeAppInstanceUserCommandOutput | DescribeAppInstanceUserEndpointCommandOutput | GetAppInstanceRetentionSettingsCommandOutput | ListAppInstanceAdminsCommandOutput | ListAppInstanceUserEndpointsCommandOutput | ListAppInstanceUsersCommandOutput | ListAppInstancesCommandOutput | ListTagsForResourceCommandOutput | PutAppInstanceRetentionSettingsCommandOutput | RegisterAppInstanceUserEndpointCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAppInstanceCommandOutput | UpdateAppInstanceUserCommandOutput | UpdateAppInstanceUserEndpointCommandOutput;
|
|
48
|
+
export type ServiceOutputTypes = CreateAppInstanceAdminCommandOutput | CreateAppInstanceBotCommandOutput | CreateAppInstanceCommandOutput | CreateAppInstanceUserCommandOutput | DeleteAppInstanceAdminCommandOutput | DeleteAppInstanceBotCommandOutput | DeleteAppInstanceCommandOutput | DeleteAppInstanceUserCommandOutput | DeregisterAppInstanceUserEndpointCommandOutput | DescribeAppInstanceAdminCommandOutput | DescribeAppInstanceBotCommandOutput | DescribeAppInstanceCommandOutput | DescribeAppInstanceUserCommandOutput | DescribeAppInstanceUserEndpointCommandOutput | GetAppInstanceRetentionSettingsCommandOutput | ListAppInstanceAdminsCommandOutput | ListAppInstanceBotsCommandOutput | ListAppInstanceUserEndpointsCommandOutput | ListAppInstanceUsersCommandOutput | ListAppInstancesCommandOutput | ListTagsForResourceCommandOutput | PutAppInstanceRetentionSettingsCommandOutput | PutAppInstanceUserExpirationSettingsCommandOutput | RegisterAppInstanceUserEndpointCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAppInstanceBotCommandOutput | UpdateAppInstanceCommandOutput | UpdateAppInstanceUserCommandOutput | UpdateAppInstanceUserEndpointCommandOutput;
|
|
43
49
|
/**
|
|
44
50
|
* @public
|
|
45
51
|
*/
|
|
@@ -19,9 +19,9 @@ export interface CreateAppInstanceAdminCommandOutput extends CreateAppInstanceAd
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Promotes an <code>AppInstanceUser</code>
|
|
23
|
-
*
|
|
24
|
-
*
|
|
22
|
+
* <p>Promotes an <code>AppInstanceUser</code> or <code>AppInstanceBot</code> to an
|
|
23
|
+
* <code>AppInstanceAdmin</code>. The
|
|
24
|
+
* promoted entity can perform the following actions. </p>
|
|
25
25
|
* <ul>
|
|
26
26
|
* <li>
|
|
27
27
|
* <p>
|
|
@@ -33,8 +33,7 @@ export interface CreateAppInstanceAdminCommandOutput extends CreateAppInstanceAd
|
|
|
33
33
|
* <code>DeleteChannelMessage</code> actions.</p>
|
|
34
34
|
* </li>
|
|
35
35
|
* </ul>
|
|
36
|
-
*
|
|
37
|
-
* <p>Only an <code>AppInstanceUser</code> can be promoted to an <code>AppInstanceAdmin</code>
|
|
36
|
+
* <p>Only an <code>AppInstanceUser</code> and <code>AppInstanceBot</code> can be promoted to an <code>AppInstanceAdmin</code>
|
|
38
37
|
* role.</p>
|
|
39
38
|
* @example
|
|
40
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKIdentityClient";
|
|
5
|
+
import { CreateAppInstanceBotRequest, CreateAppInstanceBotResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link CreateAppInstanceBotCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface CreateAppInstanceBotCommandInput extends CreateAppInstanceBotRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link CreateAppInstanceBotCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateAppInstanceBotCommandOutput extends CreateAppInstanceBotResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Creates a bot under an Amazon Chime <code>AppInstance</code>. The request consists of a
|
|
23
|
+
* unique <code>Configuration</code> and <code>Name</code> for that bot.</p>
|
|
24
|
+
* @example
|
|
25
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
+
* ```javascript
|
|
27
|
+
* import { ChimeSDKIdentityClient, CreateAppInstanceBotCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
|
|
28
|
+
* // const { ChimeSDKIdentityClient, CreateAppInstanceBotCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
|
|
29
|
+
* const client = new ChimeSDKIdentityClient(config);
|
|
30
|
+
* const command = new CreateAppInstanceBotCommand(input);
|
|
31
|
+
* const response = await client.send(command);
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* @param CreateAppInstanceBotCommandInput - {@link CreateAppInstanceBotCommandInput}
|
|
35
|
+
* @returns {@link CreateAppInstanceBotCommandOutput}
|
|
36
|
+
* @see {@link CreateAppInstanceBotCommandInput} for command's `input` shape.
|
|
37
|
+
* @see {@link CreateAppInstanceBotCommandOutput} for command's `response` shape.
|
|
38
|
+
* @see {@link ChimeSDKIdentityClientResolvedConfig | config} for ChimeSDKIdentityClient's `config` shape.
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link BadRequestException} (client fault)
|
|
41
|
+
* <p>The input parameters don't match the service's restrictions.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link ConflictException} (client fault)
|
|
44
|
+
* <p>The request could not be processed because of conflict in the current state of the
|
|
45
|
+
* resource.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
48
|
+
* <p>The client is permanently forbidden from making the request.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link ResourceLimitExceededException} (client fault)
|
|
51
|
+
* <p>The request exceeds the resource limit.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
54
|
+
* <p>The service encountered an unexpected error.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
57
|
+
* <p>The service is currently unavailable.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ThrottledClientException} (client fault)
|
|
60
|
+
* <p>The client exceeded its request rate limit.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link UnauthorizedClientException} (client fault)
|
|
63
|
+
* <p>The client is not currently authorized to make the request.</p>
|
|
64
|
+
*
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
export declare class CreateAppInstanceBotCommand extends $Command<CreateAppInstanceBotCommandInput, CreateAppInstanceBotCommandOutput, ChimeSDKIdentityClientResolvedConfig> {
|
|
68
|
+
readonly input: CreateAppInstanceBotCommandInput;
|
|
69
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
constructor(input: CreateAppInstanceBotCommandInput);
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAppInstanceBotCommandInput, CreateAppInstanceBotCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
private deserialize;
|
|
86
|
+
}
|
|
@@ -19,7 +19,8 @@ export interface DeleteAppInstanceAdminCommandOutput extends __MetadataBearer {
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Demotes an <code>AppInstanceAdmin</code> to an <code>AppInstanceUser</code
|
|
22
|
+
* <p>Demotes an <code>AppInstanceAdmin</code> to an <code>AppInstanceUser</code> or
|
|
23
|
+
* <code>AppInstanceBot</code>. This action
|
|
23
24
|
* does not delete the user.</p>
|
|
24
25
|
* @example
|
|
25
26
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKIdentityClient";
|
|
5
|
+
import { DeleteAppInstanceBotRequest } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link DeleteAppInstanceBotCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DeleteAppInstanceBotCommandInput extends DeleteAppInstanceBotRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DeleteAppInstanceBotCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DeleteAppInstanceBotCommandOutput extends __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Deletes an <code>AppInstanceBot</code>.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { ChimeSDKIdentityClient, DeleteAppInstanceBotCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
|
|
27
|
+
* // const { ChimeSDKIdentityClient, DeleteAppInstanceBotCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
|
|
28
|
+
* const client = new ChimeSDKIdentityClient(config);
|
|
29
|
+
* const command = new DeleteAppInstanceBotCommand(input);
|
|
30
|
+
* const response = await client.send(command);
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* @param DeleteAppInstanceBotCommandInput - {@link DeleteAppInstanceBotCommandInput}
|
|
34
|
+
* @returns {@link DeleteAppInstanceBotCommandOutput}
|
|
35
|
+
* @see {@link DeleteAppInstanceBotCommandInput} for command's `input` shape.
|
|
36
|
+
* @see {@link DeleteAppInstanceBotCommandOutput} for command's `response` shape.
|
|
37
|
+
* @see {@link ChimeSDKIdentityClientResolvedConfig | config} for ChimeSDKIdentityClient's `config` shape.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link BadRequestException} (client fault)
|
|
40
|
+
* <p>The input parameters don't match the service's restrictions.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link ConflictException} (client fault)
|
|
43
|
+
* <p>The request could not be processed because of conflict in the current state of the
|
|
44
|
+
* resource.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
47
|
+
* <p>The client is permanently forbidden from making the request.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link ResourceLimitExceededException} (client fault)
|
|
50
|
+
* <p>The request exceeds the resource limit.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
53
|
+
* <p>The service encountered an unexpected error.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
56
|
+
* <p>The service is currently unavailable.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ThrottledClientException} (client fault)
|
|
59
|
+
* <p>The client exceeded its request rate limit.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link UnauthorizedClientException} (client fault)
|
|
62
|
+
* <p>The client is not currently authorized to make the request.</p>
|
|
63
|
+
*
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
export declare class DeleteAppInstanceBotCommand extends $Command<DeleteAppInstanceBotCommandInput, DeleteAppInstanceBotCommandOutput, ChimeSDKIdentityClientResolvedConfig> {
|
|
67
|
+
readonly input: DeleteAppInstanceBotCommandInput;
|
|
68
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
constructor(input: DeleteAppInstanceBotCommandInput);
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAppInstanceBotCommandInput, DeleteAppInstanceBotCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
private serialize;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
private deserialize;
|
|
85
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKIdentityClient";
|
|
5
|
+
import { DescribeAppInstanceBotRequest, DescribeAppInstanceBotResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link DescribeAppInstanceBotCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface DescribeAppInstanceBotCommandInput extends DescribeAppInstanceBotRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link DescribeAppInstanceBotCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface DescribeAppInstanceBotCommandOutput extends DescribeAppInstanceBotResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>The <code>AppInstanceBot's</code> information.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { ChimeSDKIdentityClient, DescribeAppInstanceBotCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
|
|
27
|
+
* // const { ChimeSDKIdentityClient, DescribeAppInstanceBotCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
|
|
28
|
+
* const client = new ChimeSDKIdentityClient(config);
|
|
29
|
+
* const command = new DescribeAppInstanceBotCommand(input);
|
|
30
|
+
* const response = await client.send(command);
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* @param DescribeAppInstanceBotCommandInput - {@link DescribeAppInstanceBotCommandInput}
|
|
34
|
+
* @returns {@link DescribeAppInstanceBotCommandOutput}
|
|
35
|
+
* @see {@link DescribeAppInstanceBotCommandInput} for command's `input` shape.
|
|
36
|
+
* @see {@link DescribeAppInstanceBotCommandOutput} for command's `response` shape.
|
|
37
|
+
* @see {@link ChimeSDKIdentityClientResolvedConfig | config} for ChimeSDKIdentityClient's `config` shape.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link BadRequestException} (client fault)
|
|
40
|
+
* <p>The input parameters don't match the service's restrictions.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
43
|
+
* <p>The client is permanently forbidden from making the request.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link NotFoundException} (client fault)
|
|
46
|
+
* <p>One or more of the resources in the request does not exist in the system.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
49
|
+
* <p>The service encountered an unexpected error.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
52
|
+
* <p>The service is currently unavailable.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ThrottledClientException} (client fault)
|
|
55
|
+
* <p>The client exceeded its request rate limit.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link UnauthorizedClientException} (client fault)
|
|
58
|
+
* <p>The client is not currently authorized to make the request.</p>
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export declare class DescribeAppInstanceBotCommand extends $Command<DescribeAppInstanceBotCommandInput, DescribeAppInstanceBotCommandOutput, ChimeSDKIdentityClientResolvedConfig> {
|
|
63
|
+
readonly input: DescribeAppInstanceBotCommandInput;
|
|
64
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
constructor(input: DescribeAppInstanceBotCommandInput);
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAppInstanceBotCommandInput, DescribeAppInstanceBotCommandOutput>;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
private serialize;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
private deserialize;
|
|
81
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ChimeSDKIdentityClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKIdentityClient";
|
|
5
|
+
import { ListAppInstanceBotsRequest, ListAppInstanceBotsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link ListAppInstanceBotsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface ListAppInstanceBotsCommandInput extends ListAppInstanceBotsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link ListAppInstanceBotsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface ListAppInstanceBotsCommandOutput extends ListAppInstanceBotsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Lists all <code>AppInstanceBots</code> created under a single <code>AppInstance</code>.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { ChimeSDKIdentityClient, ListAppInstanceBotsCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
|
|
27
|
+
* // const { ChimeSDKIdentityClient, ListAppInstanceBotsCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
|
|
28
|
+
* const client = new ChimeSDKIdentityClient(config);
|
|
29
|
+
* const command = new ListAppInstanceBotsCommand(input);
|
|
30
|
+
* const response = await client.send(command);
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* @param ListAppInstanceBotsCommandInput - {@link ListAppInstanceBotsCommandInput}
|
|
34
|
+
* @returns {@link ListAppInstanceBotsCommandOutput}
|
|
35
|
+
* @see {@link ListAppInstanceBotsCommandInput} for command's `input` shape.
|
|
36
|
+
* @see {@link ListAppInstanceBotsCommandOutput} for command's `response` shape.
|
|
37
|
+
* @see {@link ChimeSDKIdentityClientResolvedConfig | config} for ChimeSDKIdentityClient's `config` shape.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link BadRequestException} (client fault)
|
|
40
|
+
* <p>The input parameters don't match the service's restrictions.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
43
|
+
* <p>The client is permanently forbidden from making the request.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ResourceLimitExceededException} (client fault)
|
|
46
|
+
* <p>The request exceeds the resource limit.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
49
|
+
* <p>The service encountered an unexpected error.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
52
|
+
* <p>The service is currently unavailable.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ThrottledClientException} (client fault)
|
|
55
|
+
* <p>The client exceeded its request rate limit.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link UnauthorizedClientException} (client fault)
|
|
58
|
+
* <p>The client is not currently authorized to make the request.</p>
|
|
59
|
+
*
|
|
60
|
+
*
|
|
61
|
+
*/
|
|
62
|
+
export declare class ListAppInstanceBotsCommand extends $Command<ListAppInstanceBotsCommandInput, ListAppInstanceBotsCommandOutput, ChimeSDKIdentityClientResolvedConfig> {
|
|
63
|
+
readonly input: ListAppInstanceBotsCommandInput;
|
|
64
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
constructor(input: ListAppInstanceBotsCommandInput);
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAppInstanceBotsCommandInput, ListAppInstanceBotsCommandOutput>;
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
private serialize;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
private deserialize;
|
|
81
|
+
}
|