Skip to content

Commit 4e1a96b

Browse files
author
awstools
committed
feat(client-connect): This release adds support for the UpdateParticipantAuthentication API used for customer authentication within Amazon Connect chats.
1 parent 2c03dc7 commit 4e1a96b

22 files changed

+623
-151
lines changed

clients/client-connect/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2201,6 +2201,14 @@ UpdateInstanceStorageConfig
22012201

22022202
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/UpdateInstanceStorageConfigCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/UpdateInstanceStorageConfigCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/UpdateInstanceStorageConfigCommandOutput/)
22032203

2204+
</details>
2205+
<details>
2206+
<summary>
2207+
UpdateParticipantAuthentication
2208+
</summary>
2209+
2210+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/connect/command/UpdateParticipantAuthenticationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/UpdateParticipantAuthenticationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-connect/Interface/UpdateParticipantAuthenticationCommandOutput/)
2211+
22042212
</details>
22052213
<details>
22062214
<summary>

clients/client-connect/src/Connect.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,6 +1161,11 @@ import {
11611161
UpdateInstanceStorageConfigCommandInput,
11621162
UpdateInstanceStorageConfigCommandOutput,
11631163
} from "./commands/UpdateInstanceStorageConfigCommand";
1164+
import {
1165+
UpdateParticipantAuthenticationCommand,
1166+
UpdateParticipantAuthenticationCommandInput,
1167+
UpdateParticipantAuthenticationCommandOutput,
1168+
} from "./commands/UpdateParticipantAuthenticationCommand";
11641169
import {
11651170
UpdateParticipantRoleConfigCommand,
11661171
UpdateParticipantRoleConfigCommandInput,
@@ -1567,6 +1572,7 @@ const commands = {
15671572
UpdateHoursOfOperationOverrideCommand,
15681573
UpdateInstanceAttributeCommand,
15691574
UpdateInstanceStorageConfigCommand,
1575+
UpdateParticipantAuthenticationCommand,
15701576
UpdateParticipantRoleConfigCommand,
15711577
UpdatePhoneNumberCommand,
15721578
UpdatePhoneNumberMetadataCommand,
@@ -5513,6 +5519,23 @@ export interface Connect {
55135519
cb: (err: any, data?: UpdateInstanceStorageConfigCommandOutput) => void
55145520
): void;
55155521

5522+
/**
5523+
* @see {@link UpdateParticipantAuthenticationCommand}
5524+
*/
5525+
updateParticipantAuthentication(
5526+
args: UpdateParticipantAuthenticationCommandInput,
5527+
options?: __HttpHandlerOptions
5528+
): Promise<UpdateParticipantAuthenticationCommandOutput>;
5529+
updateParticipantAuthentication(
5530+
args: UpdateParticipantAuthenticationCommandInput,
5531+
cb: (err: any, data?: UpdateParticipantAuthenticationCommandOutput) => void
5532+
): void;
5533+
updateParticipantAuthentication(
5534+
args: UpdateParticipantAuthenticationCommandInput,
5535+
options: __HttpHandlerOptions,
5536+
cb: (err: any, data?: UpdateParticipantAuthenticationCommandOutput) => void
5537+
): void;
5538+
55165539
/**
55175540
* @see {@link UpdateParticipantRoleConfigCommand}
55185541
*/

clients/client-connect/src/ConnectClient.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,10 @@ import {
741741
UpdateInstanceStorageConfigCommandInput,
742742
UpdateInstanceStorageConfigCommandOutput,
743743
} from "./commands/UpdateInstanceStorageConfigCommand";
744+
import {
745+
UpdateParticipantAuthenticationCommandInput,
746+
UpdateParticipantAuthenticationCommandOutput,
747+
} from "./commands/UpdateParticipantAuthenticationCommand";
744748
import {
745749
UpdateParticipantRoleConfigCommandInput,
746750
UpdateParticipantRoleConfigCommandOutput,
@@ -1107,6 +1111,7 @@ export type ServiceInputTypes =
11071111
| UpdateHoursOfOperationOverrideCommandInput
11081112
| UpdateInstanceAttributeCommandInput
11091113
| UpdateInstanceStorageConfigCommandInput
1114+
| UpdateParticipantAuthenticationCommandInput
11101115
| UpdateParticipantRoleConfigCommandInput
11111116
| UpdatePhoneNumberCommandInput
11121117
| UpdatePhoneNumberMetadataCommandInput
@@ -1391,6 +1396,7 @@ export type ServiceOutputTypes =
13911396
| UpdateHoursOfOperationOverrideCommandOutput
13921397
| UpdateInstanceAttributeCommandOutput
13931398
| UpdateInstanceStorageConfigCommandOutput
1399+
| UpdateParticipantAuthenticationCommandOutput
13941400
| UpdateParticipantRoleConfigCommandOutput
13951401
| UpdatePhoneNumberCommandOutput
13961402
| UpdatePhoneNumberMetadataCommandOutput

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface CreateIntegrationAssociationCommandOutput
4343
* const client = new ConnectClient(config);
4444
* const input = { // CreateIntegrationAssociationRequest
4545
* InstanceId: "STRING_VALUE", // required
46-
* IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY" || "ANALYTICS_CONNECTOR" || "CALL_TRANSFER_CONNECTOR", // required
46+
* IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY" || "ANALYTICS_CONNECTOR" || "CALL_TRANSFER_CONNECTOR" || "COGNITO_USER_POOL", // required
4747
* IntegrationArn: "STRING_VALUE", // required
4848
* SourceApplicationUrl: "STRING_VALUE",
4949
* SourceApplicationName: "STRING_VALUE",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface CreatePushNotificationRegistrationCommandOutput
3737

3838
/**
3939
* <p>Creates registration for a device token and a chat contact to receive real-time push
40-
* notifications. For more information about push notifications, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/set-up-push-notifications-for-mobile-chat.html">Set up push
40+
* notifications. For more information about push notifications, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/enable-push-notifications-for-mobile-chat.html">Set up push
4141
* notifications in Amazon Connect for mobile chat</a> in the <i>Amazon Connect
4242
* Administrator Guide</i>.</p>
4343
* @example

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ export interface DescribeContactCommandOutput extends DescribeContactResponse, _
106106
* // WisdomInfo: { // WisdomInfo
107107
* // SessionArn: "STRING_VALUE",
108108
* // },
109+
* // CustomerId: "STRING_VALUE",
109110
* // CustomerEndpoint: { // EndpointInfo
110111
* // Type: "TELEPHONE_NUMBER" || "VOIP" || "CONTACT_FLOW" || "CONNECT_PHONENUMBER_ARN" || "EMAIL_ADDRESS",
111112
* // Address: "STRING_VALUE",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ export interface DescribeInstanceAttributeCommandOutput extends DescribeInstance
3838
* const client = new ConnectClient(config);
3939
* const input = { // DescribeInstanceAttributeRequest
4040
* InstanceId: "STRING_VALUE", // required
41-
* AttributeType: "INBOUND_CALLS" || "OUTBOUND_CALLS" || "CONTACTFLOW_LOGS" || "CONTACT_LENS" || "AUTO_RESOLVE_BEST_VOICES" || "USE_CUSTOM_TTS_VOICES" || "EARLY_MEDIA" || "MULTI_PARTY_CONFERENCE" || "HIGH_VOLUME_OUTBOUND" || "ENHANCED_CONTACT_MONITORING" || "ENHANCED_CHAT_MONITORING", // required
41+
* AttributeType: "INBOUND_CALLS" || "OUTBOUND_CALLS" || "CONTACTFLOW_LOGS" || "CONTACT_LENS" || "AUTO_RESOLVE_BEST_VOICES" || "USE_CUSTOM_TTS_VOICES" || "EARLY_MEDIA" || "MULTI_PARTY_CONFERENCE" || "HIGH_VOLUME_OUTBOUND" || "ENHANCED_CONTACT_MONITORING" || "ENHANCED_CHAT_MONITORING" || "MULTI_PARTY_CHAT_CONFERENCE", // required
4242
* };
4343
* const command = new DescribeInstanceAttributeCommand(input);
4444
* const response = await client.send(command);
4545
* // { // DescribeInstanceAttributeResponse
4646
* // Attribute: { // Attribute
47-
* // AttributeType: "INBOUND_CALLS" || "OUTBOUND_CALLS" || "CONTACTFLOW_LOGS" || "CONTACT_LENS" || "AUTO_RESOLVE_BEST_VOICES" || "USE_CUSTOM_TTS_VOICES" || "EARLY_MEDIA" || "MULTI_PARTY_CONFERENCE" || "HIGH_VOLUME_OUTBOUND" || "ENHANCED_CONTACT_MONITORING" || "ENHANCED_CHAT_MONITORING",
47+
* // AttributeType: "INBOUND_CALLS" || "OUTBOUND_CALLS" || "CONTACTFLOW_LOGS" || "CONTACT_LENS" || "AUTO_RESOLVE_BEST_VOICES" || "USE_CUSTOM_TTS_VOICES" || "EARLY_MEDIA" || "MULTI_PARTY_CONFERENCE" || "HIGH_VOLUME_OUTBOUND" || "ENHANCED_CONTACT_MONITORING" || "ENHANCED_CHAT_MONITORING" || "MULTI_PARTY_CHAT_CONFERENCE",
4848
* // Value: "STRING_VALUE",
4949
* // },
5050
* // };

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface ListBotsCommandOutput extends ListBotsResponse, __MetadataBeare
2929

3030
/**
3131
* <p>This API is in preview release for Amazon Connect and is subject to change.</p>
32-
* <p>For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated with the instance. Use this API to returns both Amazon Lex V1 and V2 bots.</p>
32+
* <p>For the specified version of Amazon Lex, returns a paginated list of all the Amazon Lex bots currently associated with the instance. Use this API to return both Amazon Lex V1 and V2 bots.</p>
3333
* @example
3434
* Use a bare-bones client and the command you need to make an API call.
3535
* ```javascript

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export interface ListInstanceAttributesCommandOutput extends ListInstanceAttribu
4646
* // { // ListInstanceAttributesResponse
4747
* // Attributes: [ // AttributesList
4848
* // { // Attribute
49-
* // AttributeType: "INBOUND_CALLS" || "OUTBOUND_CALLS" || "CONTACTFLOW_LOGS" || "CONTACT_LENS" || "AUTO_RESOLVE_BEST_VOICES" || "USE_CUSTOM_TTS_VOICES" || "EARLY_MEDIA" || "MULTI_PARTY_CONFERENCE" || "HIGH_VOLUME_OUTBOUND" || "ENHANCED_CONTACT_MONITORING" || "ENHANCED_CHAT_MONITORING",
49+
* // AttributeType: "INBOUND_CALLS" || "OUTBOUND_CALLS" || "CONTACTFLOW_LOGS" || "CONTACT_LENS" || "AUTO_RESOLVE_BEST_VOICES" || "USE_CUSTOM_TTS_VOICES" || "EARLY_MEDIA" || "MULTI_PARTY_CONFERENCE" || "HIGH_VOLUME_OUTBOUND" || "ENHANCED_CONTACT_MONITORING" || "ENHANCED_CHAT_MONITORING" || "MULTI_PARTY_CHAT_CONFERENCE",
5050
* // Value: "STRING_VALUE",
5151
* // },
5252
* // ],

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export interface ListIntegrationAssociationsCommandOutput
4343
* const client = new ConnectClient(config);
4444
* const input = { // ListIntegrationAssociationsRequest
4545
* InstanceId: "STRING_VALUE", // required
46-
* IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY" || "ANALYTICS_CONNECTOR" || "CALL_TRANSFER_CONNECTOR",
46+
* IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY" || "ANALYTICS_CONNECTOR" || "CALL_TRANSFER_CONNECTOR" || "COGNITO_USER_POOL",
4747
* NextToken: "STRING_VALUE",
4848
* MaxResults: Number("int"),
4949
* IntegrationArn: "STRING_VALUE",
@@ -56,7 +56,7 @@ export interface ListIntegrationAssociationsCommandOutput
5656
* // IntegrationAssociationId: "STRING_VALUE",
5757
* // IntegrationAssociationArn: "STRING_VALUE",
5858
* // InstanceId: "STRING_VALUE",
59-
* // IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY" || "ANALYTICS_CONNECTOR" || "CALL_TRANSFER_CONNECTOR",
59+
* // IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "WISDOM_QUICK_RESPONSES" || "Q_MESSAGE_TEMPLATES" || "CASES_DOMAIN" || "APPLICATION" || "FILE_SCANNER" || "SES_IDENTITY" || "ANALYTICS_CONNECTOR" || "CALL_TRANSFER_CONNECTOR" || "COGNITO_USER_POOL",
6060
* // IntegrationArn: "STRING_VALUE",
6161
* // SourceApplicationUrl: "STRING_VALUE",
6262
* // SourceApplicationName: "STRING_VALUE",

0 commit comments

Comments
 (0)