@aws-sdk/client-connect 3.204.0 → 3.207.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.
@@ -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) => {
@@ -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.204.0",
4
+ "version": "3.207.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",