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

+8
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

+23
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

+6
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

+1-1
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

+1-1
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

+1
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

+2-2
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

+1-1
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

+1-1
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

+2-2
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",

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
77
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
88
import { commonParams } from "../endpoint/EndpointParameters";
99
import { StartChatContactResponse } from "../models/models_2";
10-
import { StartChatContactRequest } from "../models/models_3";
10+
import { StartChatContactRequest, StartChatContactRequestFilterSensitiveLog } from "../models/models_3";
1111
import { de_StartChatContactCommand, se_StartChatContactCommand } from "../protocols/Aws_restJson1";
1212

1313
/**
@@ -106,6 +106,7 @@ export interface StartChatContactCommandOutput extends StartChatContactResponse,
106106
* ValueInteger: Number("int"),
107107
* },
108108
* },
109+
* CustomerId: "STRING_VALUE",
109110
* };
110111
* const command = new StartChatContactCommand(input);
111112
* const response = await client.send(command);
@@ -161,7 +162,7 @@ export class StartChatContactCommand extends $Command
161162
})
162163
.s("AmazonConnectService", "StartChatContact", {})
163164
.n("ConnectClient", "StartChatContactCommand")
164-
.f(void 0, void 0)
165+
.f(StartChatContactRequestFilterSensitiveLog, void 0)
165166
.ser(se_StartChatContactCommand)
166167
.de(de_StartChatContactCommand)
167168
.build() {

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export interface UpdateInstanceAttributeCommandOutput extends __MetadataBearer {
3838
* const client = new ConnectClient(config);
3939
* const input = { // UpdateInstanceAttributeRequest
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
* Value: "STRING_VALUE", // required
4343
* };
4444
* const command = new UpdateInstanceAttributeCommand(input);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
// smithy-typescript generated code
2+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3+
import { getSerdePlugin } from "@smithy/middleware-serde";
4+
import { Command as $Command } from "@smithy/smithy-client";
5+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
6+
7+
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
8+
import { commonParams } from "../endpoint/EndpointParameters";
9+
import {
10+
UpdateParticipantAuthenticationRequest,
11+
UpdateParticipantAuthenticationRequestFilterSensitiveLog,
12+
UpdateParticipantAuthenticationResponse,
13+
} from "../models/models_2";
14+
import {
15+
de_UpdateParticipantAuthenticationCommand,
16+
se_UpdateParticipantAuthenticationCommand,
17+
} from "../protocols/Aws_restJson1";
18+
19+
/**
20+
* @public
21+
*/
22+
export type { __MetadataBearer };
23+
export { $Command };
24+
/**
25+
* @public
26+
*
27+
* The input for {@link UpdateParticipantAuthenticationCommand}.
28+
*/
29+
export interface UpdateParticipantAuthenticationCommandInput extends UpdateParticipantAuthenticationRequest {}
30+
/**
31+
* @public
32+
*
33+
* The output of {@link UpdateParticipantAuthenticationCommand}.
34+
*/
35+
export interface UpdateParticipantAuthenticationCommandOutput
36+
extends UpdateParticipantAuthenticationResponse,
37+
__MetadataBearer {}
38+
39+
/**
40+
* <p>Instructs Amazon Connect to resume the authentication process. The subsequent actions
41+
* depend on the request body contents:</p>
42+
* <ul>
43+
* <li>
44+
* <p>
45+
* <b>If a code is provided</b>: Connect retrieves the identity
46+
* information from Amazon Cognito and imports it into Connect Customer Profiles.</p>
47+
* </li>
48+
* <li>
49+
* <p>
50+
* <b>If an error is provided</b>: The error branch of the
51+
* Authenticate Customer block is executed.</p>
52+
* </li>
53+
* </ul>
54+
* <note>
55+
* <p>The API returns a success response to acknowledge the request. However, the interaction and
56+
* exchange of identity information occur asynchronously after the response is returned.</p>
57+
* </note>
58+
* @example
59+
* Use a bare-bones client and the command you need to make an API call.
60+
* ```javascript
61+
* import { ConnectClient, UpdateParticipantAuthenticationCommand } from "@aws-sdk/client-connect"; // ES Modules import
62+
* // const { ConnectClient, UpdateParticipantAuthenticationCommand } = require("@aws-sdk/client-connect"); // CommonJS import
63+
* const client = new ConnectClient(config);
64+
* const input = { // UpdateParticipantAuthenticationRequest
65+
* State: "STRING_VALUE", // required
66+
* InstanceId: "STRING_VALUE", // required
67+
* Code: "STRING_VALUE",
68+
* Error: "STRING_VALUE",
69+
* ErrorDescription: "STRING_VALUE",
70+
* };
71+
* const command = new UpdateParticipantAuthenticationCommand(input);
72+
* const response = await client.send(command);
73+
* // {};
74+
*
75+
* ```
76+
*
77+
* @param UpdateParticipantAuthenticationCommandInput - {@link UpdateParticipantAuthenticationCommandInput}
78+
* @returns {@link UpdateParticipantAuthenticationCommandOutput}
79+
* @see {@link UpdateParticipantAuthenticationCommandInput} for command's `input` shape.
80+
* @see {@link UpdateParticipantAuthenticationCommandOutput} for command's `response` shape.
81+
* @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
82+
*
83+
* @throws {@link AccessDeniedException} (client fault)
84+
* <p>You do not have sufficient permissions to perform this action.</p>
85+
*
86+
* @throws {@link ConflictException} (client fault)
87+
* <p>Operation cannot be performed at this time as there is a conflict with another operation or
88+
* contact state.</p>
89+
*
90+
* @throws {@link InternalServiceException} (server fault)
91+
* <p>Request processing failed because of an error or failure with the service.</p>
92+
*
93+
* @throws {@link InvalidParameterException} (client fault)
94+
* <p>One or more of the specified parameters are not valid.</p>
95+
*
96+
* @throws {@link InvalidRequestException} (client fault)
97+
* <p>The request is not valid.</p>
98+
*
99+
* @throws {@link ThrottlingException} (client fault)
100+
* <p>The throttling limit has been exceeded.</p>
101+
*
102+
* @throws {@link ConnectServiceException}
103+
* <p>Base exception class for all service exceptions from Connect service.</p>
104+
*
105+
* @public
106+
*/
107+
export class UpdateParticipantAuthenticationCommand extends $Command
108+
.classBuilder<
109+
UpdateParticipantAuthenticationCommandInput,
110+
UpdateParticipantAuthenticationCommandOutput,
111+
ConnectClientResolvedConfig,
112+
ServiceInputTypes,
113+
ServiceOutputTypes
114+
>()
115+
.ep(commonParams)
116+
.m(function (this: any, Command: any, cs: any, config: ConnectClientResolvedConfig, o: any) {
117+
return [
118+
getSerdePlugin(config, this.serialize, this.deserialize),
119+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
120+
];
121+
})
122+
.s("AmazonConnectService", "UpdateParticipantAuthentication", {})
123+
.n("ConnectClient", "UpdateParticipantAuthenticationCommand")
124+
.f(UpdateParticipantAuthenticationRequestFilterSensitiveLog, void 0)
125+
.ser(se_UpdateParticipantAuthenticationCommand)
126+
.de(de_UpdateParticipantAuthenticationCommand)
127+
.build() {
128+
/** @internal type navigation helper, not in runtime. */
129+
protected declare static __types: {
130+
api: {
131+
input: UpdateParticipantAuthenticationRequest;
132+
output: {};
133+
};
134+
sdk: {
135+
input: UpdateParticipantAuthenticationCommandInput;
136+
output: UpdateParticipantAuthenticationCommandOutput;
137+
};
138+
};
139+
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { UpdateSecurityProfileRequest } from "../models/models_2";
9+
import { UpdateSecurityProfileRequest } from "../models/models_3";
1010
import { de_UpdateSecurityProfileCommand, se_UpdateSecurityProfileCommand } from "../protocols/Aws_restJson1";
1111

1212
/**

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
88
import { commonParams } from "../endpoint/EndpointParameters";
9-
import { UpdateTaskTemplateRequest } from "../models/models_2";
10-
import { UpdateTaskTemplateResponse } from "../models/models_3";
9+
import { UpdateTaskTemplateRequest, UpdateTaskTemplateResponse } from "../models/models_3";
1110
import { de_UpdateTaskTemplateCommand, se_UpdateTaskTemplateCommand } from "../protocols/Aws_restJson1";
1211

1312
/**

0 commit comments

Comments
 (0)