@aws-sdk/client-connect 3.204.0 → 3.208.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_restJson1.js +9 -0
- package/dist-es/protocols/Aws_restJson1.js +9 -0
- package/dist-types/Connect.d.ts +1 -2
- package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +1 -2
- package/dist-types/models/models_0.d.ts +14 -0
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +35 -35
|
@@ -7217,6 +7217,15 @@ const deserializeAws_restJson1GetFederationTokenCommand = async (output, context
|
|
|
7217
7217
|
if (data.Credentials != null) {
|
|
7218
7218
|
contents.Credentials = deserializeAws_restJson1Credentials(data.Credentials, context);
|
|
7219
7219
|
}
|
|
7220
|
+
if (data.SignInUrl != null) {
|
|
7221
|
+
contents.SignInUrl = (0, smithy_client_1.expectString)(data.SignInUrl);
|
|
7222
|
+
}
|
|
7223
|
+
if (data.UserArn != null) {
|
|
7224
|
+
contents.UserArn = (0, smithy_client_1.expectString)(data.UserArn);
|
|
7225
|
+
}
|
|
7226
|
+
if (data.UserId != null) {
|
|
7227
|
+
contents.UserId = (0, smithy_client_1.expectString)(data.UserId);
|
|
7228
|
+
}
|
|
7220
7229
|
return contents;
|
|
7221
7230
|
};
|
|
7222
7231
|
exports.deserializeAws_restJson1GetFederationTokenCommand = deserializeAws_restJson1GetFederationTokenCommand;
|
|
@@ -6975,6 +6975,15 @@ export const deserializeAws_restJson1GetFederationTokenCommand = async (output,
|
|
|
6975
6975
|
if (data.Credentials != null) {
|
|
6976
6976
|
contents.Credentials = deserializeAws_restJson1Credentials(data.Credentials, context);
|
|
6977
6977
|
}
|
|
6978
|
+
if (data.SignInUrl != null) {
|
|
6979
|
+
contents.SignInUrl = __expectString(data.SignInUrl);
|
|
6980
|
+
}
|
|
6981
|
+
if (data.UserArn != null) {
|
|
6982
|
+
contents.UserArn = __expectString(data.UserArn);
|
|
6983
|
+
}
|
|
6984
|
+
if (data.UserId != null) {
|
|
6985
|
+
contents.UserId = __expectString(data.UserId);
|
|
6986
|
+
}
|
|
6978
6987
|
return contents;
|
|
6979
6988
|
};
|
|
6980
6989
|
const deserializeAws_restJson1GetFederationTokenCommandError = async (output, context) => {
|
package/dist-types/Connect.d.ts
CHANGED
|
@@ -369,8 +369,7 @@ export declare class Connect extends ConnectClient {
|
|
|
369
369
|
createTaskTemplate(args: CreateTaskTemplateCommandInput, cb: (err: any, data?: CreateTaskTemplateCommandOutput) => void): void;
|
|
370
370
|
createTaskTemplate(args: CreateTaskTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTaskTemplateCommandOutput) => void): void;
|
|
371
371
|
/**
|
|
372
|
-
* <p>Creates
|
|
373
|
-
* a traffic distribution group given an Amazon Connect instance that has been replicated. </p>
|
|
372
|
+
* <p>Creates a traffic distribution group given an Amazon Connect instance that has been replicated. </p>
|
|
374
373
|
* <p>For more information about creating traffic distribution groups, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-traffic-distribution-groups.html">Set up traffic distribution groups</a> in
|
|
375
374
|
* the <i>Amazon Connect Administrator Guide</i>. </p>
|
|
376
375
|
*/
|
|
@@ -8,8 +8,7 @@ export interface CreateTrafficDistributionGroupCommandInput extends CreateTraffi
|
|
|
8
8
|
export interface CreateTrafficDistributionGroupCommandOutput extends CreateTrafficDistributionGroupResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Creates
|
|
12
|
-
* a traffic distribution group given an Amazon Connect instance that has been replicated. </p>
|
|
11
|
+
* <p>Creates a traffic distribution group given an Amazon Connect instance that has been replicated. </p>
|
|
13
12
|
* <p>For more information about creating traffic distribution groups, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-traffic-distribution-groups.html">Set up traffic distribution groups</a> in
|
|
14
13
|
* the <i>Amazon Connect Administrator Guide</i>. </p>
|
|
15
14
|
* @example
|
|
@@ -650,6 +650,8 @@ export interface ClaimPhoneNumberRequest {
|
|
|
650
650
|
* request. If not provided, the Amazon Web Services
|
|
651
651
|
* SDK populates this field. For more information about idempotency, see
|
|
652
652
|
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
|
|
653
|
+
* <p>Pattern: <code>^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$</code>
|
|
654
|
+
* </p>
|
|
653
655
|
*/
|
|
654
656
|
ClientToken?: string;
|
|
655
657
|
}
|
|
@@ -3874,6 +3876,18 @@ export interface GetFederationTokenResponse {
|
|
|
3874
3876
|
* <p>The credentials to use for federation.</p>
|
|
3875
3877
|
*/
|
|
3876
3878
|
Credentials?: Credentials;
|
|
3879
|
+
/**
|
|
3880
|
+
* <p>The URL to sign into the user's instance. </p>
|
|
3881
|
+
*/
|
|
3882
|
+
SignInUrl?: string;
|
|
3883
|
+
/**
|
|
3884
|
+
* <p>The Amazon Resource Name (ARN) of the user.</p>
|
|
3885
|
+
*/
|
|
3886
|
+
UserArn?: string;
|
|
3887
|
+
/**
|
|
3888
|
+
* <p>The identifier for the user.</p>
|
|
3889
|
+
*/
|
|
3890
|
+
UserId?: string;
|
|
3877
3891
|
}
|
|
3878
3892
|
/**
|
|
3879
3893
|
* <p>No user with the specified credentials was found in the Amazon Connect instance.</p>
|
|
@@ -885,7 +885,7 @@ export interface ReleasePhoneNumberRequest {
|
|
|
885
885
|
}
|
|
886
886
|
export interface ReplicateInstanceRequest {
|
|
887
887
|
/**
|
|
888
|
-
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
|
|
888
|
+
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance. You can provide the <code>InstanceId</code>, or the entire ARN.</p>
|
|
889
889
|
*/
|
|
890
890
|
InstanceId: string | undefined;
|
|
891
891
|
/**
|
|
@@ -1562,6 +1562,9 @@ export interface Credentials {
|
|
|
1562
1562
|
}
|
|
1563
1563
|
export interface GetFederationTokenResponse {
|
|
1564
1564
|
Credentials?: Credentials;
|
|
1565
|
+
SignInUrl?: string;
|
|
1566
|
+
UserArn?: string;
|
|
1567
|
+
UserId?: string;
|
|
1565
1568
|
}
|
|
1566
1569
|
export declare class UserNotFoundException extends __BaseException {
|
|
1567
1570
|
readonly name: "UserNotFoundException";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.208.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,47 +19,47 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64": "3.
|
|
45
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
46
|
-
"@aws-sdk/util-base64-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.208.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.208.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.208.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.208.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.208.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.208.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.208.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.208.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.208.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.208.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.208.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.208.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.208.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.208.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.208.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.208.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.208.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.208.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.208.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.208.0",
|
|
42
|
+
"@aws-sdk/types": "3.208.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.208.0",
|
|
44
|
+
"@aws-sdk/util-base64": "3.208.0",
|
|
45
|
+
"@aws-sdk/util-base64-browser": "3.208.0",
|
|
46
|
+
"@aws-sdk/util-base64-node": "3.208.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.208.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.208.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.208.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.208.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.208.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
55
|
+
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
56
|
"tslib": "^2.3.1",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.208.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
|
-
"@types/node": "^
|
|
62
|
+
"@types/node": "^14.14.31",
|
|
63
63
|
"@types/uuid": "^8.3.0",
|
|
64
64
|
"concurrently": "7.0.0",
|
|
65
65
|
"downlevel-dts": "0.10.1",
|