Skip to content

Commit 552e450

Browse files
author
awstools
committed
feat(client-connect): This release adds new fields SignInUrl, UserArn, and UserId to GetFederationToken response payload.
1 parent f0aeeb1 commit 552e450

File tree

6 files changed

+152
-107
lines changed

6 files changed

+152
-107
lines changed

clients/client-connect/src/Connect.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1539,8 +1539,7 @@ export class Connect extends ConnectClient {
15391539
}
15401540

15411541
/**
1542-
* <p>Creates
1543-
* a traffic distribution group given an Amazon Connect instance that has been replicated. </p>
1542+
* <p>Creates a traffic distribution group given an Amazon Connect instance that has been replicated. </p>
15441543
* <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
15451544
* the <i>Amazon Connect Administrator Guide</i>. </p>
15461545
*/

clients/client-connect/src/commands/CreateTrafficDistributionGroupCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ export interface CreateTrafficDistributionGroupCommandOutput
3131
__MetadataBearer {}
3232

3333
/**
34-
* <p>Creates
35-
* a traffic distribution group given an Amazon Connect instance that has been replicated. </p>
34+
* <p>Creates a traffic distribution group given an Amazon Connect instance that has been replicated. </p>
3635
* <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
3736
* the <i>Amazon Connect Administrator Guide</i>. </p>
3837
* @example

clients/client-connect/src/models/models_0.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,8 @@ export interface ClaimPhoneNumberRequest {
824824
* request. If not provided, the Amazon Web Services
825825
* SDK populates this field. For more information about idempotency, see
826826
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
827+
* <p>Pattern: <code>^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$</code>
828+
* </p>
827829
*/
828830
ClientToken?: string;
829831
}
@@ -4634,6 +4636,21 @@ export interface GetFederationTokenResponse {
46344636
* <p>The credentials to use for federation.</p>
46354637
*/
46364638
Credentials?: Credentials;
4639+
4640+
/**
4641+
* <p>The URL to sign into the user's instance. </p>
4642+
*/
4643+
SignInUrl?: string;
4644+
4645+
/**
4646+
* <p>The Amazon Resource Name (ARN) of the user.</p>
4647+
*/
4648+
UserArn?: string;
4649+
4650+
/**
4651+
* <p>The identifier for the user.</p>
4652+
*/
4653+
UserId?: string;
46374654
}
46384655

46394656
/**

clients/client-connect/src/models/models_1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ export interface ReleasePhoneNumberRequest {
10841084

10851085
export interface ReplicateInstanceRequest {
10861086
/**
1087-
* <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
1087+
* <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>
10881088
*/
10891089
InstanceId: string | undefined;
10901090

clients/client-connect/src/protocols/Aws_restJson1.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9394,6 +9394,15 @@ export const deserializeAws_restJson1GetFederationTokenCommand = async (
93949394
if (data.Credentials != null) {
93959395
contents.Credentials = deserializeAws_restJson1Credentials(data.Credentials, context);
93969396
}
9397+
if (data.SignInUrl != null) {
9398+
contents.SignInUrl = __expectString(data.SignInUrl);
9399+
}
9400+
if (data.UserArn != null) {
9401+
contents.UserArn = __expectString(data.UserArn);
9402+
}
9403+
if (data.UserId != null) {
9404+
contents.UserId = __expectString(data.UserId);
9405+
}
93979406
return contents;
93989407
};
93999408

0 commit comments

Comments
 (0)