@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
|
@@ -0,0 +1,88 @@
|
|
|
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 { PutAppInstanceUserExpirationSettingsRequest, PutAppInstanceUserExpirationSettingsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link PutAppInstanceUserExpirationSettingsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface PutAppInstanceUserExpirationSettingsCommandInput extends PutAppInstanceUserExpirationSettingsRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link PutAppInstanceUserExpirationSettingsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface PutAppInstanceUserExpirationSettingsCommandOutput extends PutAppInstanceUserExpirationSettingsResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Sets the number of days before the <code>AppInstanceUser</code> is automatically deleted.</p>
|
|
23
|
+
* <note>
|
|
24
|
+
* <p>A background process deletes expired <code>AppInstanceUsers</code> within 6 hours of expiration.
|
|
25
|
+
* Actual deletion times may vary.</p>
|
|
26
|
+
* <p>Expired <code>AppInstanceUsers</code> that have not yet been deleted appear as active, and you can update
|
|
27
|
+
* their expiration settings. The system honors the new settings.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { ChimeSDKIdentityClient, PutAppInstanceUserExpirationSettingsCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
|
|
33
|
+
* // const { ChimeSDKIdentityClient, PutAppInstanceUserExpirationSettingsCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
|
|
34
|
+
* const client = new ChimeSDKIdentityClient(config);
|
|
35
|
+
* const command = new PutAppInstanceUserExpirationSettingsCommand(input);
|
|
36
|
+
* const response = await client.send(command);
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* @param PutAppInstanceUserExpirationSettingsCommandInput - {@link PutAppInstanceUserExpirationSettingsCommandInput}
|
|
40
|
+
* @returns {@link PutAppInstanceUserExpirationSettingsCommandOutput}
|
|
41
|
+
* @see {@link PutAppInstanceUserExpirationSettingsCommandInput} for command's `input` shape.
|
|
42
|
+
* @see {@link PutAppInstanceUserExpirationSettingsCommandOutput} for command's `response` shape.
|
|
43
|
+
* @see {@link ChimeSDKIdentityClientResolvedConfig | config} for ChimeSDKIdentityClient's `config` shape.
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link BadRequestException} (client fault)
|
|
46
|
+
* <p>The input parameters don't match the service's restrictions.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ConflictException} (client fault)
|
|
49
|
+
* <p>The request could not be processed because of conflict in the current state of the
|
|
50
|
+
* resource.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
53
|
+
* <p>The client is permanently forbidden from making the request.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ServiceFailureException} (server fault)
|
|
56
|
+
* <p>The service encountered an unexpected error.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
59
|
+
* <p>The service is currently unavailable.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ThrottledClientException} (client fault)
|
|
62
|
+
* <p>The client exceeded its request rate limit.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link UnauthorizedClientException} (client fault)
|
|
65
|
+
* <p>The client is not currently authorized to make the request.</p>
|
|
66
|
+
*
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
export declare class PutAppInstanceUserExpirationSettingsCommand extends $Command<PutAppInstanceUserExpirationSettingsCommandInput, PutAppInstanceUserExpirationSettingsCommandOutput, ChimeSDKIdentityClientResolvedConfig> {
|
|
70
|
+
readonly input: PutAppInstanceUserExpirationSettingsCommandInput;
|
|
71
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
constructor(input: PutAppInstanceUserExpirationSettingsCommandInput);
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutAppInstanceUserExpirationSettingsCommandInput, PutAppInstanceUserExpirationSettingsCommandOutput>;
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
private serialize;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private deserialize;
|
|
88
|
+
}
|
|
@@ -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 { UpdateAppInstanceBotRequest, UpdateAppInstanceBotResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link UpdateAppInstanceBotCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface UpdateAppInstanceBotCommandInput extends UpdateAppInstanceBotRequest {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link UpdateAppInstanceBotCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateAppInstanceBotCommandOutput extends UpdateAppInstanceBotResponse, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Updates the name and metadata of 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, UpdateAppInstanceBotCommand } from "@aws-sdk/client-chime-sdk-identity"; // ES Modules import
|
|
27
|
+
* // const { ChimeSDKIdentityClient, UpdateAppInstanceBotCommand } = require("@aws-sdk/client-chime-sdk-identity"); // CommonJS import
|
|
28
|
+
* const client = new ChimeSDKIdentityClient(config);
|
|
29
|
+
* const command = new UpdateAppInstanceBotCommand(input);
|
|
30
|
+
* const response = await client.send(command);
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* @param UpdateAppInstanceBotCommandInput - {@link UpdateAppInstanceBotCommandInput}
|
|
34
|
+
* @returns {@link UpdateAppInstanceBotCommandOutput}
|
|
35
|
+
* @see {@link UpdateAppInstanceBotCommandInput} for command's `input` shape.
|
|
36
|
+
* @see {@link UpdateAppInstanceBotCommandOutput} 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 UpdateAppInstanceBotCommand extends $Command<UpdateAppInstanceBotCommandInput, UpdateAppInstanceBotCommandOutput, ChimeSDKIdentityClientResolvedConfig> {
|
|
67
|
+
readonly input: UpdateAppInstanceBotCommandInput;
|
|
68
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
constructor(input: UpdateAppInstanceBotCommandInput);
|
|
73
|
+
/**
|
|
74
|
+
* @internal
|
|
75
|
+
*/
|
|
76
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKIdentityClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAppInstanceBotCommandInput, UpdateAppInstanceBotCommandOutput>;
|
|
77
|
+
/**
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
private serialize;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
private deserialize;
|
|
85
|
+
}
|
|
@@ -1,24 +1,30 @@
|
|
|
1
1
|
export * from "./CreateAppInstanceAdminCommand";
|
|
2
|
+
export * from "./CreateAppInstanceBotCommand";
|
|
2
3
|
export * from "./CreateAppInstanceCommand";
|
|
3
4
|
export * from "./CreateAppInstanceUserCommand";
|
|
4
5
|
export * from "./DeleteAppInstanceAdminCommand";
|
|
6
|
+
export * from "./DeleteAppInstanceBotCommand";
|
|
5
7
|
export * from "./DeleteAppInstanceCommand";
|
|
6
8
|
export * from "./DeleteAppInstanceUserCommand";
|
|
7
9
|
export * from "./DeregisterAppInstanceUserEndpointCommand";
|
|
8
10
|
export * from "./DescribeAppInstanceAdminCommand";
|
|
11
|
+
export * from "./DescribeAppInstanceBotCommand";
|
|
9
12
|
export * from "./DescribeAppInstanceCommand";
|
|
10
13
|
export * from "./DescribeAppInstanceUserCommand";
|
|
11
14
|
export * from "./DescribeAppInstanceUserEndpointCommand";
|
|
12
15
|
export * from "./GetAppInstanceRetentionSettingsCommand";
|
|
13
16
|
export * from "./ListAppInstanceAdminsCommand";
|
|
17
|
+
export * from "./ListAppInstanceBotsCommand";
|
|
14
18
|
export * from "./ListAppInstanceUserEndpointsCommand";
|
|
15
19
|
export * from "./ListAppInstanceUsersCommand";
|
|
16
20
|
export * from "./ListAppInstancesCommand";
|
|
17
21
|
export * from "./ListTagsForResourceCommand";
|
|
18
22
|
export * from "./PutAppInstanceRetentionSettingsCommand";
|
|
23
|
+
export * from "./PutAppInstanceUserExpirationSettingsCommand";
|
|
19
24
|
export * from "./RegisterAppInstanceUserEndpointCommand";
|
|
20
25
|
export * from "./TagResourceCommand";
|
|
21
26
|
export * from "./UntagResourceCommand";
|
|
27
|
+
export * from "./UpdateAppInstanceBotCommand";
|
|
22
28
|
export * from "./UpdateAppInstanceCommand";
|
|
23
29
|
export * from "./UpdateAppInstanceUserCommand";
|
|
24
30
|
export * from "./UpdateAppInstanceUserEndpointCommand";
|