Skip to content

Commit

Permalink
feat(client-connect): This release adds new fields SignInUrl, UserArn…
Browse files Browse the repository at this point in the history
…, and UserId to GetFederationToken response payload.
  • Loading branch information
awstools committed Nov 9, 2022
1 parent f0aeeb1 commit 552e450
Show file tree
Hide file tree
Showing 6 changed files with 152 additions and 107 deletions.
3 changes: 1 addition & 2 deletions clients/client-connect/src/Connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1539,8 +1539,7 @@ export class Connect extends ConnectClient {
}

/**
* <p>Creates
* a traffic distribution group given an Amazon Connect instance that has been replicated. </p>
* <p>Creates a traffic distribution group given an Amazon Connect instance that has been replicated. </p>
* <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
* the <i>Amazon Connect Administrator Guide</i>. </p>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ export interface CreateTrafficDistributionGroupCommandOutput
__MetadataBearer {}

/**
* <p>Creates
* a traffic distribution group given an Amazon Connect instance that has been replicated. </p>
* <p>Creates a traffic distribution group given an Amazon Connect instance that has been replicated. </p>
* <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
* the <i>Amazon Connect Administrator Guide</i>. </p>
* @example
Expand Down
17 changes: 17 additions & 0 deletions clients/client-connect/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,8 @@ export interface ClaimPhoneNumberRequest {
* request. If not provided, the Amazon Web Services
* SDK populates this field. For more information about idempotency, see
* <a href="https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/">Making retries safe with idempotent APIs</a>.</p>
* <p>Pattern: <code>^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$</code>
* </p>
*/
ClientToken?: string;
}
Expand Down Expand Up @@ -4634,6 +4636,21 @@ export interface GetFederationTokenResponse {
* <p>The credentials to use for federation.</p>
*/
Credentials?: Credentials;

/**
* <p>The URL to sign into the user's instance. </p>
*/
SignInUrl?: string;

/**
* <p>The Amazon Resource Name (ARN) of the user.</p>
*/
UserArn?: string;

/**
* <p>The identifier for the user.</p>
*/
UserId?: string;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion clients/client-connect/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ export interface ReleasePhoneNumberRequest {

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

Expand Down
9 changes: 9 additions & 0 deletions clients/client-connect/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9394,6 +9394,15 @@ export const deserializeAws_restJson1GetFederationTokenCommand = async (
if (data.Credentials != null) {
contents.Credentials = deserializeAws_restJson1Credentials(data.Credentials, context);
}
if (data.SignInUrl != null) {
contents.SignInUrl = __expectString(data.SignInUrl);
}
if (data.UserArn != null) {
contents.UserArn = __expectString(data.UserArn);
}
if (data.UserId != null) {
contents.UserId = __expectString(data.UserId);
}
return contents;
};

Expand Down
Loading

0 comments on commit 552e450

Please sign in to comment.