@aws-sdk/client-connect 3.199.0 → 3.201.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist-cjs/Connect.js +15 -0
  3. package/dist-cjs/commands/DismissUserContactCommand.js +46 -0
  4. package/dist-cjs/commands/ListLambdaFunctionsCommand.js +2 -1
  5. package/dist-cjs/commands/ListLexBotsCommand.js +1 -2
  6. package/dist-cjs/commands/index.js +1 -0
  7. package/dist-cjs/endpoint/EndpointParameters.js +2 -3
  8. package/dist-cjs/endpoint/ruleset.js +1 -1
  9. package/dist-cjs/models/models_0.js +11 -11
  10. package/dist-cjs/models/models_1.js +12 -4
  11. package/dist-cjs/protocols/Aws_restJson1.js +255 -202
  12. package/dist-cjs/runtimeConfig.browser.js +16 -16
  13. package/dist-cjs/runtimeConfig.js +20 -19
  14. package/dist-cjs/runtimeConfig.native.js +1 -2
  15. package/dist-cjs/runtimeConfig.shared.js +8 -11
  16. package/dist-es/Connect.js +15 -0
  17. package/dist-es/commands/DismissUserContactCommand.js +42 -0
  18. package/dist-es/commands/ListLambdaFunctionsCommand.js +2 -1
  19. package/dist-es/commands/ListLexBotsCommand.js +1 -2
  20. package/dist-es/commands/index.js +1 -0
  21. package/dist-es/endpoint/ruleset.js +1 -1
  22. package/dist-es/models/models_0.js +6 -6
  23. package/dist-es/models/models_1.js +6 -0
  24. package/dist-es/protocols/Aws_restJson1.js +67 -0
  25. package/dist-types/Connect.d.ts +16 -5
  26. package/dist-types/ConnectClient.d.ts +3 -2
  27. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +1 -1
  28. package/dist-types/commands/DismissUserContactCommand.d.ts +40 -0
  29. package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +2 -1
  30. package/dist-types/commands/ListLexBotsCommand.d.ts +1 -2
  31. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +2 -1
  32. package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +3 -3
  33. package/dist-types/commands/index.d.ts +1 -0
  34. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  35. package/dist-types/models/models_0.d.ts +31 -40
  36. package/dist-types/models/models_1.d.ts +36 -2
  37. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  38. package/dist-types/ts3.4/Connect.d.ts +17 -0
  39. package/dist-types/ts3.4/ConnectClient.d.ts +6 -0
  40. package/dist-types/ts3.4/commands/DismissUserContactCommand.d.ts +38 -0
  41. package/dist-types/ts3.4/commands/ListLambdaFunctionsCommand.d.ts +2 -4
  42. package/dist-types/ts3.4/commands/ListLexBotsCommand.d.ts +1 -2
  43. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  44. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  45. package/dist-types/ts3.4/models/models_0.d.ts +12 -15
  46. package/dist-types/ts3.4/models/models_1.d.ts +15 -0
  47. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  48. package/package.json +33 -33
@@ -8,10 +8,10 @@ export interface UpdateTrafficDistributionCommandInput extends UpdateTrafficDist
8
8
  export interface UpdateTrafficDistributionCommandOutput extends UpdateTrafficDistributionResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Updates the traffic distribution for a given traffic distribution group.
11
+ * <p>Updates the traffic distribution for a given traffic distribution group. </p>
12
12
  *
13
- *
14
- * For more information about updating a traffic distribution group see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/update-telephony-traffic-distribution.html">Update telephony traffic distribution across Amazon Web Services Regions
13
+ * <p>For more information about updating a traffic distribution group, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/update-telephony-traffic-distribution.html">Update telephony
14
+ * traffic distribution across Amazon Web Services Regions
15
15
  * </a> in the <i>Amazon Connect Administrator Guide</i>. </p>
16
16
  * @example
17
17
  * Use a bare-bones client and the command you need to make an API call.
@@ -65,6 +65,7 @@ export * from "./DisassociatePhoneNumberContactFlowCommand";
65
65
  export * from "./DisassociateQueueQuickConnectsCommand";
66
66
  export * from "./DisassociateRoutingProfileQueuesCommand";
67
67
  export * from "./DisassociateSecurityKeyCommand";
68
+ export * from "./DismissUserContactCommand";
68
69
  export * from "./GetContactAttributesCommand";
69
70
  export * from "./GetCurrentMetricDataCommand";
70
71
  export * from "./GetCurrentUserDataCommand";
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -1575,9 +1575,9 @@ export interface UserIdentityInfo {
1575
1575
  */
1576
1576
  Email?: string;
1577
1577
  /**
1578
- * <p>The user's secondary email address. If you provide a secondary email, the user receives email
1579
- * notifications - other than password reset notifications - to this email address instead of to
1580
- * their primary email address.</p>
1578
+ * <p>The user's secondary email address. If you provide a secondary email, the user receives
1579
+ * email notifications - other than password reset notifications - to this email address instead of
1580
+ * to their primary email address.</p>
1581
1581
  * <p>Pattern: <code>(?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}</code>
1582
1582
  * </p>
1583
1583
  */
@@ -2720,7 +2720,8 @@ export interface ClaimedPhoneNumberSummary {
2720
2720
  * </li>
2721
2721
  * </ul>
2722
2722
  * <note>
2723
- * <p>You will not be billed for the phone number during the 1-day period if number claiming fails. </p>
2723
+ * <p>You will not be billed for the phone number during the 1-day period if number claiming
2724
+ * fails. </p>
2724
2725
  * </note>
2725
2726
  */
2726
2727
  PhoneNumberStatus?: PhoneNumberStatus;
@@ -3006,7 +3007,7 @@ export interface TrafficDistributionGroup {
3006
3007
  * <li>
3007
3008
  * <p>
3008
3009
  * <code>PENDING_DELETION</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html">DeleteTrafficDistributionGroup</a> operation is still in progress and has not yet
3009
- * completed.</p>
3010
+ * completed.</p>
3010
3011
  * </li>
3011
3012
  * <li>
3012
3013
  * <p>
@@ -3015,7 +3016,7 @@ export interface TrafficDistributionGroup {
3015
3016
  * <li>
3016
3017
  * <p>
3017
3018
  * <code>UPDATE_IN_PROGRESS</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateTrafficDistributionGroup.html">UpdateTrafficDistributionGroup</a> operation is still in progress and has not yet
3018
- * completed.</p>
3019
+ * completed.</p>
3019
3020
  * </li>
3020
3021
  * </ul>
3021
3022
  */
@@ -3409,6 +3410,22 @@ export interface DisassociateSecurityKeyRequest {
3409
3410
  */
3410
3411
  AssociationId: string | undefined;
3411
3412
  }
3413
+ export interface DismissUserContactRequest {
3414
+ /**
3415
+ * <p>The identifier of the user account.</p>
3416
+ */
3417
+ UserId: string | undefined;
3418
+ /**
3419
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
3420
+ */
3421
+ InstanceId: string | undefined;
3422
+ /**
3423
+ * <p>The identifier of the contact.</p>
3424
+ */
3425
+ ContactId: string | undefined;
3426
+ }
3427
+ export interface DismissUserContactResponse {
3428
+ }
3412
3429
  export interface GetContactAttributesRequest {
3413
3430
  /**
3414
3431
  * <p>The identifier of the Amazon Connect instance.</p>
@@ -5023,32 +5040,6 @@ export interface ListLambdaFunctionsRequest {
5023
5040
  */
5024
5041
  MaxResults?: number;
5025
5042
  }
5026
- export interface ListLambdaFunctionsResponse {
5027
- /**
5028
- * <p>The Lambdafunction ARNs associated with the specified instance.</p>
5029
- */
5030
- LambdaFunctions?: string[];
5031
- /**
5032
- * <p>If there are additional results, this is the token for the next set of results.</p>
5033
- */
5034
- NextToken?: string;
5035
- }
5036
- export interface ListLexBotsRequest {
5037
- /**
5038
- * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
5039
- */
5040
- InstanceId: string | undefined;
5041
- /**
5042
- * <p>The token for the next set of results. Use the value returned in the previous
5043
- * response in the next request to retrieve the next set of results.</p>
5044
- */
5045
- NextToken?: string;
5046
- /**
5047
- * <p>The maximum number of results to return per page. If no value is specified, the default is 10.
5048
- * </p>
5049
- */
5050
- MaxResults?: number;
5051
- }
5052
5043
  /**
5053
5044
  * @internal
5054
5045
  */
@@ -5717,6 +5708,14 @@ export declare const DisassociateRoutingProfileQueuesRequestFilterSensitiveLog:
5717
5708
  * @internal
5718
5709
  */
5719
5710
  export declare const DisassociateSecurityKeyRequestFilterSensitiveLog: (obj: DisassociateSecurityKeyRequest) => any;
5711
+ /**
5712
+ * @internal
5713
+ */
5714
+ export declare const DismissUserContactRequestFilterSensitiveLog: (obj: DismissUserContactRequest) => any;
5715
+ /**
5716
+ * @internal
5717
+ */
5718
+ export declare const DismissUserContactResponseFilterSensitiveLog: (obj: DismissUserContactResponse) => any;
5720
5719
  /**
5721
5720
  * @internal
5722
5721
  */
@@ -6005,11 +6004,3 @@ export declare const ListIntegrationAssociationsResponseFilterSensitiveLog: (obj
6005
6004
  * @internal
6006
6005
  */
6007
6006
  export declare const ListLambdaFunctionsRequestFilterSensitiveLog: (obj: ListLambdaFunctionsRequest) => any;
6008
- /**
6009
- * @internal
6010
- */
6011
- export declare const ListLambdaFunctionsResponseFilterSensitiveLog: (obj: ListLambdaFunctionsResponse) => any;
6012
- /**
6013
- * @internal
6014
- */
6015
- export declare const ListLexBotsRequestFilterSensitiveLog: (obj: ListLexBotsRequest) => any;
@@ -1,6 +1,32 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
3
3
  import { AgentStatusState, Channel, ContactFlowModuleState, ContactFlowState, HierarchyGroupSummary, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, LexBot, MediaConcurrency, OutboundCallerConfig, PhoneNumberCountryCode, PhoneNumberType, Queue, QueueStatus, QuickConnectConfig, QuickConnectType, ReferenceType, RoutingProfile, RoutingProfileQueueConfig, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, TelephonyConfig, TrafficDistributionGroupStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, VocabularyLanguageCode, VocabularyState } from "./models_0";
4
+ export interface ListLambdaFunctionsResponse {
5
+ /**
6
+ * <p>The Lambdafunction ARNs associated with the specified instance.</p>
7
+ */
8
+ LambdaFunctions?: string[];
9
+ /**
10
+ * <p>If there are additional results, this is the token for the next set of results.</p>
11
+ */
12
+ NextToken?: string;
13
+ }
14
+ export interface ListLexBotsRequest {
15
+ /**
16
+ * <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
17
+ */
18
+ InstanceId: string | undefined;
19
+ /**
20
+ * <p>The token for the next set of results. Use the value returned in the previous
21
+ * response in the next request to retrieve the next set of results.</p>
22
+ */
23
+ NextToken?: string;
24
+ /**
25
+ * <p>The maximum number of results to return per page. If no value is specified, the default is 10.
26
+ * </p>
27
+ */
28
+ MaxResults?: number;
29
+ }
4
30
  export interface ListLexBotsResponse {
5
31
  /**
6
32
  * <p>The names and Amazon Web Services Regions of the Amazon Lex bots associated with the specified
@@ -683,7 +709,7 @@ export interface TrafficDistributionGroupSummary {
683
709
  * <li>
684
710
  * <p>
685
711
  * <code>PENDING_DELETION</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html">DeleteTrafficDistributionGroup</a> operation is still in progress and has not yet
686
- * completed.</p>
712
+ * completed.</p>
687
713
  * </li>
688
714
  * <li>
689
715
  * <p>
@@ -692,7 +718,7 @@ export interface TrafficDistributionGroupSummary {
692
718
  * <li>
693
719
  * <p>
694
720
  * <code>UPDATE_IN_PROGRESS</code> means the previous <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateTrafficDistributionGroup.html">UpdateTrafficDistributionGroup</a> operation is still in progress and has not yet
695
- * completed.</p>
721
+ * completed.</p>
696
722
  * </li>
697
723
  * </ul>
698
724
  */
@@ -2743,6 +2769,14 @@ export interface SearchUsersRequest {
2743
2769
  */
2744
2770
  SearchCriteria?: UserSearchCriteria;
2745
2771
  }
2772
+ /**
2773
+ * @internal
2774
+ */
2775
+ export declare const ListLambdaFunctionsResponseFilterSensitiveLog: (obj: ListLambdaFunctionsResponse) => any;
2776
+ /**
2777
+ * @internal
2778
+ */
2779
+ export declare const ListLexBotsRequestFilterSensitiveLog: (obj: ListLexBotsRequest) => any;
2746
2780
  /**
2747
2781
  * @internal
2748
2782
  */
@@ -67,6 +67,7 @@ import { DisassociatePhoneNumberContactFlowCommandInput, DisassociatePhoneNumber
67
67
  import { DisassociateQueueQuickConnectsCommandInput, DisassociateQueueQuickConnectsCommandOutput } from "../commands/DisassociateQueueQuickConnectsCommand";
68
68
  import { DisassociateRoutingProfileQueuesCommandInput, DisassociateRoutingProfileQueuesCommandOutput } from "../commands/DisassociateRoutingProfileQueuesCommand";
69
69
  import { DisassociateSecurityKeyCommandInput, DisassociateSecurityKeyCommandOutput } from "../commands/DisassociateSecurityKeyCommand";
70
+ import { DismissUserContactCommandInput, DismissUserContactCommandOutput } from "../commands/DismissUserContactCommand";
70
71
  import { GetContactAttributesCommandInput, GetContactAttributesCommandOutput } from "../commands/GetContactAttributesCommand";
71
72
  import { GetCurrentMetricDataCommandInput, GetCurrentMetricDataCommandOutput } from "../commands/GetCurrentMetricDataCommand";
72
73
  import { GetCurrentUserDataCommandInput, GetCurrentUserDataCommandOutput } from "../commands/GetCurrentUserDataCommand";
@@ -228,6 +229,7 @@ export declare const serializeAws_restJson1DisassociatePhoneNumberContactFlowCom
228
229
  export declare const serializeAws_restJson1DisassociateQueueQuickConnectsCommand: (input: DisassociateQueueQuickConnectsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
229
230
  export declare const serializeAws_restJson1DisassociateRoutingProfileQueuesCommand: (input: DisassociateRoutingProfileQueuesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
230
231
  export declare const serializeAws_restJson1DisassociateSecurityKeyCommand: (input: DisassociateSecurityKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
232
+ export declare const serializeAws_restJson1DismissUserContactCommand: (input: DismissUserContactCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
231
233
  export declare const serializeAws_restJson1GetContactAttributesCommand: (input: GetContactAttributesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
232
234
  export declare const serializeAws_restJson1GetCurrentMetricDataCommand: (input: GetCurrentMetricDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
233
235
  export declare const serializeAws_restJson1GetCurrentUserDataCommand: (input: GetCurrentUserDataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -389,6 +391,7 @@ export declare const deserializeAws_restJson1DisassociatePhoneNumberContactFlowC
389
391
  export declare const deserializeAws_restJson1DisassociateQueueQuickConnectsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateQueueQuickConnectsCommandOutput>;
390
392
  export declare const deserializeAws_restJson1DisassociateRoutingProfileQueuesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateRoutingProfileQueuesCommandOutput>;
391
393
  export declare const deserializeAws_restJson1DisassociateSecurityKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateSecurityKeyCommandOutput>;
394
+ export declare const deserializeAws_restJson1DismissUserContactCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DismissUserContactCommandOutput>;
392
395
  export declare const deserializeAws_restJson1GetContactAttributesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetContactAttributesCommandOutput>;
393
396
  export declare const deserializeAws_restJson1GetCurrentMetricDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCurrentMetricDataCommandOutput>;
394
397
  export declare const deserializeAws_restJson1GetCurrentUserDataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCurrentUserDataCommandOutput>;
@@ -267,6 +267,10 @@ import {
267
267
  DisassociateSecurityKeyCommandInput,
268
268
  DisassociateSecurityKeyCommandOutput,
269
269
  } from "./commands/DisassociateSecurityKeyCommand";
270
+ import {
271
+ DismissUserContactCommandInput,
272
+ DismissUserContactCommandOutput,
273
+ } from "./commands/DismissUserContactCommand";
270
274
  import {
271
275
  GetContactAttributesCommandInput,
272
276
  GetContactAttributesCommandOutput,
@@ -1528,6 +1532,19 @@ export declare class Connect extends ConnectClient {
1528
1532
  options: __HttpHandlerOptions,
1529
1533
  cb: (err: any, data?: DisassociateSecurityKeyCommandOutput) => void
1530
1534
  ): void;
1535
+ dismissUserContact(
1536
+ args: DismissUserContactCommandInput,
1537
+ options?: __HttpHandlerOptions
1538
+ ): Promise<DismissUserContactCommandOutput>;
1539
+ dismissUserContact(
1540
+ args: DismissUserContactCommandInput,
1541
+ cb: (err: any, data?: DismissUserContactCommandOutput) => void
1542
+ ): void;
1543
+ dismissUserContact(
1544
+ args: DismissUserContactCommandInput,
1545
+ options: __HttpHandlerOptions,
1546
+ cb: (err: any, data?: DismissUserContactCommandOutput) => void
1547
+ ): void;
1531
1548
  getContactAttributes(
1532
1549
  args: GetContactAttributesCommandInput,
1533
1550
  options?: __HttpHandlerOptions
@@ -311,6 +311,10 @@ import {
311
311
  DisassociateSecurityKeyCommandInput,
312
312
  DisassociateSecurityKeyCommandOutput,
313
313
  } from "./commands/DisassociateSecurityKeyCommand";
314
+ import {
315
+ DismissUserContactCommandInput,
316
+ DismissUserContactCommandOutput,
317
+ } from "./commands/DismissUserContactCommand";
314
318
  import {
315
319
  GetContactAttributesCommandInput,
316
320
  GetContactAttributesCommandOutput,
@@ -760,6 +764,7 @@ export declare type ServiceInputTypes =
760
764
  | DisassociateQueueQuickConnectsCommandInput
761
765
  | DisassociateRoutingProfileQueuesCommandInput
762
766
  | DisassociateSecurityKeyCommandInput
767
+ | DismissUserContactCommandInput
763
768
  | GetContactAttributesCommandInput
764
769
  | GetCurrentMetricDataCommandInput
765
770
  | GetCurrentUserDataCommandInput
@@ -922,6 +927,7 @@ export declare type ServiceOutputTypes =
922
927
  | DisassociateQueueQuickConnectsCommandOutput
923
928
  | DisassociateRoutingProfileQueuesCommandOutput
924
929
  | DisassociateSecurityKeyCommandOutput
930
+ | DismissUserContactCommandOutput
925
931
  | GetContactAttributesCommandOutput
926
932
  | GetCurrentMetricDataCommandOutput
927
933
  | GetCurrentUserDataCommandOutput
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ ConnectClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../ConnectClient";
14
+ import {
15
+ DismissUserContactRequest,
16
+ DismissUserContactResponse,
17
+ } from "../models/models_0";
18
+ export interface DismissUserContactCommandInput
19
+ extends DismissUserContactRequest {}
20
+ export interface DismissUserContactCommandOutput
21
+ extends DismissUserContactResponse,
22
+ __MetadataBearer {}
23
+ export declare class DismissUserContactCommand extends $Command<
24
+ DismissUserContactCommandInput,
25
+ DismissUserContactCommandOutput,
26
+ ConnectClientResolvedConfig
27
+ > {
28
+ readonly input: DismissUserContactCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DismissUserContactCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: ConnectClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<DismissUserContactCommandInput, DismissUserContactCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -11,10 +11,8 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../ConnectClient";
14
- import {
15
- ListLambdaFunctionsRequest,
16
- ListLambdaFunctionsResponse,
17
- } from "../models/models_0";
14
+ import { ListLambdaFunctionsRequest } from "../models/models_0";
15
+ import { ListLambdaFunctionsResponse } from "../models/models_1";
18
16
  export interface ListLambdaFunctionsCommandInput
19
17
  extends ListLambdaFunctionsRequest {}
20
18
  export interface ListLambdaFunctionsCommandOutput
@@ -11,8 +11,7 @@ import {
11
11
  ServiceInputTypes,
12
12
  ServiceOutputTypes,
13
13
  } from "../ConnectClient";
14
- import { ListLexBotsRequest } from "../models/models_0";
15
- import { ListLexBotsResponse } from "../models/models_1";
14
+ import { ListLexBotsRequest, ListLexBotsResponse } from "../models/models_1";
16
15
  export interface ListLexBotsCommandInput extends ListLexBotsRequest {}
17
16
  export interface ListLexBotsCommandOutput
18
17
  extends ListLexBotsResponse,
@@ -65,6 +65,7 @@ export * from "./DisassociatePhoneNumberContactFlowCommand";
65
65
  export * from "./DisassociateQueueQuickConnectsCommand";
66
66
  export * from "./DisassociateRoutingProfileQueuesCommand";
67
67
  export * from "./DisassociateSecurityKeyCommand";
68
+ export * from "./DismissUserContactCommand";
68
69
  export * from "./GetContactAttributesCommand";
69
70
  export * from "./GetCurrentMetricDataCommand";
70
71
  export * from "./GetCurrentUserDataCommand";
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region: string;
30
+ Region?: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -1435,6 +1435,12 @@ export interface DisassociateSecurityKeyRequest {
1435
1435
  InstanceId: string | undefined;
1436
1436
  AssociationId: string | undefined;
1437
1437
  }
1438
+ export interface DismissUserContactRequest {
1439
+ UserId: string | undefined;
1440
+ InstanceId: string | undefined;
1441
+ ContactId: string | undefined;
1442
+ }
1443
+ export interface DismissUserContactResponse {}
1438
1444
  export interface GetContactAttributesRequest {
1439
1445
  InstanceId: string | undefined;
1440
1446
  InitialContactId: string | undefined;
@@ -1960,15 +1966,6 @@ export interface ListLambdaFunctionsRequest {
1960
1966
  NextToken?: string;
1961
1967
  MaxResults?: number;
1962
1968
  }
1963
- export interface ListLambdaFunctionsResponse {
1964
- LambdaFunctions?: string[];
1965
- NextToken?: string;
1966
- }
1967
- export interface ListLexBotsRequest {
1968
- InstanceId: string | undefined;
1969
- NextToken?: string;
1970
- MaxResults?: number;
1971
- }
1972
1969
  export declare const QueueReferenceFilterSensitiveLog: (
1973
1970
  obj: QueueReference
1974
1971
  ) => any;
@@ -2442,6 +2439,12 @@ export declare const DisassociateRoutingProfileQueuesRequestFilterSensitiveLog:
2442
2439
  export declare const DisassociateSecurityKeyRequestFilterSensitiveLog: (
2443
2440
  obj: DisassociateSecurityKeyRequest
2444
2441
  ) => any;
2442
+ export declare const DismissUserContactRequestFilterSensitiveLog: (
2443
+ obj: DismissUserContactRequest
2444
+ ) => any;
2445
+ export declare const DismissUserContactResponseFilterSensitiveLog: (
2446
+ obj: DismissUserContactResponse
2447
+ ) => any;
2445
2448
  export declare const GetContactAttributesRequestFilterSensitiveLog: (
2446
2449
  obj: GetContactAttributesRequest
2447
2450
  ) => any;
@@ -2642,9 +2645,3 @@ export declare const ListIntegrationAssociationsResponseFilterSensitiveLog: (
2642
2645
  export declare const ListLambdaFunctionsRequestFilterSensitiveLog: (
2643
2646
  obj: ListLambdaFunctionsRequest
2644
2647
  ) => any;
2645
- export declare const ListLambdaFunctionsResponseFilterSensitiveLog: (
2646
- obj: ListLambdaFunctionsResponse
2647
- ) => any;
2648
- export declare const ListLexBotsRequestFilterSensitiveLog: (
2649
- obj: ListLexBotsRequest
2650
- ) => any;
@@ -34,6 +34,15 @@ import {
34
34
  VocabularyLanguageCode,
35
35
  VocabularyState,
36
36
  } from "./models_0";
37
+ export interface ListLambdaFunctionsResponse {
38
+ LambdaFunctions?: string[];
39
+ NextToken?: string;
40
+ }
41
+ export interface ListLexBotsRequest {
42
+ InstanceId: string | undefined;
43
+ NextToken?: string;
44
+ MaxResults?: number;
45
+ }
37
46
  export interface ListLexBotsResponse {
38
47
  LexBots?: LexBot[];
39
48
  NextToken?: string;
@@ -875,6 +884,12 @@ export interface SearchUsersRequest {
875
884
  SearchFilter?: UserSearchFilter;
876
885
  SearchCriteria?: UserSearchCriteria;
877
886
  }
887
+ export declare const ListLambdaFunctionsResponseFilterSensitiveLog: (
888
+ obj: ListLambdaFunctionsResponse
889
+ ) => any;
890
+ export declare const ListLexBotsRequestFilterSensitiveLog: (
891
+ obj: ListLexBotsRequest
892
+ ) => any;
878
893
  export declare const ListLexBotsResponseFilterSensitiveLog: (
879
894
  obj: ListLexBotsResponse
880
895
  ) => any;
@@ -271,6 +271,10 @@ import {
271
271
  DisassociateSecurityKeyCommandInput,
272
272
  DisassociateSecurityKeyCommandOutput,
273
273
  } from "../commands/DisassociateSecurityKeyCommand";
274
+ import {
275
+ DismissUserContactCommandInput,
276
+ DismissUserContactCommandOutput,
277
+ } from "../commands/DismissUserContactCommand";
274
278
  import {
275
279
  GetContactAttributesCommandInput,
276
280
  GetContactAttributesCommandOutput,
@@ -915,6 +919,10 @@ export declare const serializeAws_restJson1DisassociateSecurityKeyCommand: (
915
919
  input: DisassociateSecurityKeyCommandInput,
916
920
  context: __SerdeContext
917
921
  ) => Promise<__HttpRequest>;
922
+ export declare const serializeAws_restJson1DismissUserContactCommand: (
923
+ input: DismissUserContactCommandInput,
924
+ context: __SerdeContext
925
+ ) => Promise<__HttpRequest>;
918
926
  export declare const serializeAws_restJson1GetContactAttributesCommand: (
919
927
  input: GetContactAttributesCommandInput,
920
928
  context: __SerdeContext
@@ -1559,6 +1567,10 @@ export declare const deserializeAws_restJson1DisassociateSecurityKeyCommand: (
1559
1567
  output: __HttpResponse,
1560
1568
  context: __SerdeContext
1561
1569
  ) => Promise<DisassociateSecurityKeyCommandOutput>;
1570
+ export declare const deserializeAws_restJson1DismissUserContactCommand: (
1571
+ output: __HttpResponse,
1572
+ context: __SerdeContext
1573
+ ) => Promise<DismissUserContactCommandOutput>;
1562
1574
  export declare const deserializeAws_restJson1GetContactAttributesCommand: (
1563
1575
  output: __HttpResponse,
1564
1576
  context: __SerdeContext
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.199.0",
4
+ "version": "3.201.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",
@@ -19,45 +19,45 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.199.0",
23
- "@aws-sdk/config-resolver": "3.198.0",
24
- "@aws-sdk/credential-provider-node": "3.199.0",
25
- "@aws-sdk/fetch-http-handler": "3.199.0",
26
- "@aws-sdk/hash-node": "3.198.0",
27
- "@aws-sdk/invalid-dependency": "3.198.0",
28
- "@aws-sdk/middleware-content-length": "3.199.0",
29
- "@aws-sdk/middleware-endpoint": "3.198.0",
30
- "@aws-sdk/middleware-host-header": "3.198.0",
31
- "@aws-sdk/middleware-logger": "3.198.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.198.0",
33
- "@aws-sdk/middleware-retry": "3.198.0",
34
- "@aws-sdk/middleware-serde": "3.198.0",
35
- "@aws-sdk/middleware-signing": "3.198.0",
36
- "@aws-sdk/middleware-stack": "3.198.0",
37
- "@aws-sdk/middleware-user-agent": "3.198.0",
38
- "@aws-sdk/node-config-provider": "3.198.0",
39
- "@aws-sdk/node-http-handler": "3.199.0",
40
- "@aws-sdk/protocol-http": "3.198.0",
41
- "@aws-sdk/smithy-client": "3.198.0",
42
- "@aws-sdk/types": "3.198.0",
43
- "@aws-sdk/url-parser": "3.198.0",
22
+ "@aws-sdk/client-sts": "3.201.0",
23
+ "@aws-sdk/config-resolver": "3.201.0",
24
+ "@aws-sdk/credential-provider-node": "3.201.0",
25
+ "@aws-sdk/fetch-http-handler": "3.201.0",
26
+ "@aws-sdk/hash-node": "3.201.0",
27
+ "@aws-sdk/invalid-dependency": "3.201.0",
28
+ "@aws-sdk/middleware-content-length": "3.201.0",
29
+ "@aws-sdk/middleware-endpoint": "3.201.0",
30
+ "@aws-sdk/middleware-host-header": "3.201.0",
31
+ "@aws-sdk/middleware-logger": "3.201.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.201.0",
33
+ "@aws-sdk/middleware-retry": "3.201.0",
34
+ "@aws-sdk/middleware-serde": "3.201.0",
35
+ "@aws-sdk/middleware-signing": "3.201.0",
36
+ "@aws-sdk/middleware-stack": "3.201.0",
37
+ "@aws-sdk/middleware-user-agent": "3.201.0",
38
+ "@aws-sdk/node-config-provider": "3.201.0",
39
+ "@aws-sdk/node-http-handler": "3.201.0",
40
+ "@aws-sdk/protocol-http": "3.201.0",
41
+ "@aws-sdk/smithy-client": "3.201.0",
42
+ "@aws-sdk/types": "3.201.0",
43
+ "@aws-sdk/url-parser": "3.201.0",
44
44
  "@aws-sdk/util-base64-browser": "3.188.0",
45
- "@aws-sdk/util-base64-node": "3.188.0",
45
+ "@aws-sdk/util-base64-node": "3.201.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
- "@aws-sdk/util-body-length-node": "3.188.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.198.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.198.0",
50
- "@aws-sdk/util-endpoints": "3.198.0",
51
- "@aws-sdk/util-user-agent-browser": "3.198.0",
52
- "@aws-sdk/util-user-agent-node": "3.198.0",
47
+ "@aws-sdk/util-body-length-node": "3.201.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.201.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.201.0",
50
+ "@aws-sdk/util-endpoints": "3.201.0",
51
+ "@aws-sdk/util-user-agent-browser": "3.201.0",
52
+ "@aws-sdk/util-user-agent-node": "3.201.0",
53
53
  "@aws-sdk/util-utf8-browser": "3.188.0",
54
- "@aws-sdk/util-utf8-node": "3.199.0",
54
+ "@aws-sdk/util-utf8-node": "3.201.0",
55
55
  "tslib": "^2.3.1",
56
56
  "uuid": "^8.3.2"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@aws-sdk/service-client-documentation-generator": "3.188.0",
60
- "@tsconfig/recommended": "1.0.1",
60
+ "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^12.7.5",
62
62
  "@types/uuid": "^8.3.0",
63
63
  "concurrently": "7.0.0",
@@ -72,7 +72,7 @@
72
72
  }
73
73
  },
74
74
  "engines": {
75
- "node": ">=12.0.0"
75
+ "node": ">=14.0.0"
76
76
  },
77
77
  "typesVersions": {
78
78
  "<4.0": {