cdk-docker-image-deployment 0.0.45 → 0.0.47

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 (43) hide show
  1. package/.jsii +5 -5
  2. package/lib/destination.js +1 -1
  3. package/lib/docker-image-deployment.js +1 -1
  4. package/lib/source.js +1 -1
  5. package/node_modules/@types/aws-lambda/README.md +1 -1
  6. package/node_modules/@types/aws-lambda/package.json +2 -2
  7. package/node_modules/@types/aws-lambda/trigger/appsync-resolver.d.ts +2 -0
  8. package/node_modules/aws-sdk/CHANGELOG.md +17 -1
  9. package/node_modules/aws-sdk/README.md +1 -1
  10. package/node_modules/aws-sdk/apis/cloudtrail-2013-11-01.min.json +30 -27
  11. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +377 -134
  12. package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +6 -0
  13. package/node_modules/aws-sdk/apis/eventbridge-2015-10-07.min.json +5 -1
  14. package/node_modules/aws-sdk/apis/managedblockchain-2018-09-24.min.json +173 -49
  15. package/node_modules/aws-sdk/apis/managedblockchain-2018-09-24.paginators.json +6 -0
  16. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +132 -132
  17. package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +311 -1
  18. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +533 -12
  19. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +722 -652
  20. package/node_modules/aws-sdk/apis/servicediscovery-2017-03-14.examples.json +2 -2
  21. package/node_modules/aws-sdk/apis/sesv2-2019-09-27.min.json +123 -80
  22. package/node_modules/aws-sdk/apis/support-app-2021-08-20.min.json +28 -1
  23. package/node_modules/aws-sdk/apis/workspaces-web-2020-07-08.min.json +290 -63
  24. package/node_modules/aws-sdk/apis/workspaces-web-2020-07-08.paginators.json +5 -0
  25. package/node_modules/aws-sdk/clients/chimesdkmessaging.d.ts +3 -3
  26. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +54 -40
  27. package/node_modules/aws-sdk/clients/configservice.d.ts +24 -24
  28. package/node_modules/aws-sdk/clients/connect.d.ts +327 -55
  29. package/node_modules/aws-sdk/clients/frauddetector.d.ts +4 -4
  30. package/node_modules/aws-sdk/clients/managedblockchain.d.ts +191 -46
  31. package/node_modules/aws-sdk/clients/s3.d.ts +1 -1
  32. package/node_modules/aws-sdk/clients/sagemaker.d.ts +121 -5
  33. package/node_modules/aws-sdk/clients/servicediscovery.d.ts +45 -45
  34. package/node_modules/aws-sdk/clients/sesv2.d.ts +79 -27
  35. package/node_modules/aws-sdk/clients/supportapp.d.ts +48 -10
  36. package/node_modules/aws-sdk/clients/workspacesweb.d.ts +199 -1
  37. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  38. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +14 -14
  39. package/node_modules/aws-sdk/dist/aws-sdk.js +727 -165
  40. package/node_modules/aws-sdk/dist/aws-sdk.min.js +83 -83
  41. package/node_modules/aws-sdk/lib/core.js +1 -1
  42. package/node_modules/aws-sdk/package.json +1 -1
  43. package/package.json +9 -9
@@ -60,11 +60,11 @@ declare class Connect extends Service {
60
60
  */
61
61
  associateLexBot(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
62
62
  /**
63
- * Associates a flow with a phone number claimed to your Amazon Connect instance.
63
+ * Associates a flow with a phone number claimed to your Amazon Connect instance. If the number is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the PhoneNumberId URI request parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.
64
64
  */
65
65
  associatePhoneNumberContactFlow(params: Connect.Types.AssociatePhoneNumberContactFlowRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
66
66
  /**
67
- * Associates a flow with a phone number claimed to your Amazon Connect instance.
67
+ * Associates a flow with a phone number claimed to your Amazon Connect instance. If the number is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the PhoneNumberId URI request parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.
68
68
  */
69
69
  associatePhoneNumberContactFlow(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
70
70
  /**
@@ -92,11 +92,11 @@ declare class Connect extends Service {
92
92
  */
93
93
  associateSecurityKey(callback?: (err: AWSError, data: Connect.Types.AssociateSecurityKeyResponse) => void): Request<Connect.Types.AssociateSecurityKeyResponse, AWSError>;
94
94
  /**
95
- * Claims an available phone number to your Amazon Connect instance.
95
+ * Claims an available phone number to your Amazon Connect instance or traffic distribution group. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance or traffic distribution group was created. You can call the DescribePhoneNumber API to verify the status of a previous ClaimPhoneNumber operation.
96
96
  */
97
97
  claimPhoneNumber(params: Connect.Types.ClaimPhoneNumberRequest, callback?: (err: AWSError, data: Connect.Types.ClaimPhoneNumberResponse) => void): Request<Connect.Types.ClaimPhoneNumberResponse, AWSError>;
98
98
  /**
99
- * Claims an available phone number to your Amazon Connect instance.
99
+ * Claims an available phone number to your Amazon Connect instance or traffic distribution group. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance or traffic distribution group was created. You can call the DescribePhoneNumber API to verify the status of a previous ClaimPhoneNumber operation.
100
100
  */
101
101
  claimPhoneNumber(callback?: (err: AWSError, data: Connect.Types.ClaimPhoneNumberResponse) => void): Request<Connect.Types.ClaimPhoneNumberResponse, AWSError>;
102
102
  /**
@@ -148,11 +148,11 @@ declare class Connect extends Service {
148
148
  */
149
149
  createIntegrationAssociation(callback?: (err: AWSError, data: Connect.Types.CreateIntegrationAssociationResponse) => void): Request<Connect.Types.CreateIntegrationAssociationResponse, AWSError>;
150
150
  /**
151
- * This API is in preview release for Amazon Connect and is subject to change. Creates a new queue for the specified Amazon Connect instance.
151
+ * This API is in preview release for Amazon Connect and is subject to change. Creates a new queue for the specified Amazon Connect instance. If the number being used in the input is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the OutboundCallerIdNumberId value of the OutboundCallerConfig request body parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.
152
152
  */
153
153
  createQueue(params: Connect.Types.CreateQueueRequest, callback?: (err: AWSError, data: Connect.Types.CreateQueueResponse) => void): Request<Connect.Types.CreateQueueResponse, AWSError>;
154
154
  /**
155
- * This API is in preview release for Amazon Connect and is subject to change. Creates a new queue for the specified Amazon Connect instance.
155
+ * This API is in preview release for Amazon Connect and is subject to change. Creates a new queue for the specified Amazon Connect instance. If the number being used in the input is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the OutboundCallerIdNumberId value of the OutboundCallerConfig request body parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.
156
156
  */
157
157
  createQueue(callback?: (err: AWSError, data: Connect.Types.CreateQueueResponse) => void): Request<Connect.Types.CreateQueueResponse, AWSError>;
158
158
  /**
@@ -187,6 +187,14 @@ declare class Connect extends Service {
187
187
  * Creates a new task template in the specified Amazon Connect instance.
188
188
  */
189
189
  createTaskTemplate(callback?: (err: AWSError, data: Connect.Types.CreateTaskTemplateResponse) => void): Request<Connect.Types.CreateTaskTemplateResponse, AWSError>;
190
+ /**
191
+ * Creates a traffic distribution group given an Amazon Connect instance that has been replicated. For more information about creating traffic distribution groups, see Set up traffic distribution groups in the Amazon Connect Administrator Guide.
192
+ */
193
+ createTrafficDistributionGroup(params: Connect.Types.CreateTrafficDistributionGroupRequest, callback?: (err: AWSError, data: Connect.Types.CreateTrafficDistributionGroupResponse) => void): Request<Connect.Types.CreateTrafficDistributionGroupResponse, AWSError>;
194
+ /**
195
+ * Creates a traffic distribution group given an Amazon Connect instance that has been replicated. For more information about creating traffic distribution groups, see Set up traffic distribution groups in the Amazon Connect Administrator Guide.
196
+ */
197
+ createTrafficDistributionGroup(callback?: (err: AWSError, data: Connect.Types.CreateTrafficDistributionGroupResponse) => void): Request<Connect.Types.CreateTrafficDistributionGroupResponse, AWSError>;
190
198
  /**
191
199
  * Creates a use case for an integration association.
192
200
  */
@@ -283,6 +291,14 @@ declare class Connect extends Service {
283
291
  * Deletes the task template.
284
292
  */
285
293
  deleteTaskTemplate(callback?: (err: AWSError, data: Connect.Types.DeleteTaskTemplateResponse) => void): Request<Connect.Types.DeleteTaskTemplateResponse, AWSError>;
294
+ /**
295
+ * Deletes a traffic distribution group. This API can be called only in the Region where the traffic distribution group is created. For more information about deleting traffic distribution groups, see Delete traffic distribution groups in the Amazon Connect Administrator Guide.
296
+ */
297
+ deleteTrafficDistributionGroup(params: Connect.Types.DeleteTrafficDistributionGroupRequest, callback?: (err: AWSError, data: Connect.Types.DeleteTrafficDistributionGroupResponse) => void): Request<Connect.Types.DeleteTrafficDistributionGroupResponse, AWSError>;
298
+ /**
299
+ * Deletes a traffic distribution group. This API can be called only in the Region where the traffic distribution group is created. For more information about deleting traffic distribution groups, see Delete traffic distribution groups in the Amazon Connect Administrator Guide.
300
+ */
301
+ deleteTrafficDistributionGroup(callback?: (err: AWSError, data: Connect.Types.DeleteTrafficDistributionGroupResponse) => void): Request<Connect.Types.DeleteTrafficDistributionGroupResponse, AWSError>;
286
302
  /**
287
303
  * Deletes a use case from an integration association.
288
304
  */
@@ -380,11 +396,11 @@ declare class Connect extends Service {
380
396
  */
381
397
  describeInstanceStorageConfig(callback?: (err: AWSError, data: Connect.Types.DescribeInstanceStorageConfigResponse) => void): Request<Connect.Types.DescribeInstanceStorageConfigResponse, AWSError>;
382
398
  /**
383
- * Gets details and status of a phone number that’s claimed to your Amazon Connect instance
399
+ * Gets details and status of a phone number that’s claimed to your Amazon Connect instance or traffic distribution group. If the number is claimed to a traffic distribution group, and you are calling in the Amazon Web Services Region where the traffic distribution group was created, you can use either a phone number ARN or UUID value for the PhoneNumberId URI request parameter. However, if the number is claimed to a traffic distribution group and you are calling this API in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.
384
400
  */
385
401
  describePhoneNumber(params: Connect.Types.DescribePhoneNumberRequest, callback?: (err: AWSError, data: Connect.Types.DescribePhoneNumberResponse) => void): Request<Connect.Types.DescribePhoneNumberResponse, AWSError>;
386
402
  /**
387
- * Gets details and status of a phone number that’s claimed to your Amazon Connect instance
403
+ * Gets details and status of a phone number that’s claimed to your Amazon Connect instance or traffic distribution group. If the number is claimed to a traffic distribution group, and you are calling in the Amazon Web Services Region where the traffic distribution group was created, you can use either a phone number ARN or UUID value for the PhoneNumberId URI request parameter. However, if the number is claimed to a traffic distribution group and you are calling this API in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.
388
404
  */
389
405
  describePhoneNumber(callback?: (err: AWSError, data: Connect.Types.DescribePhoneNumberResponse) => void): Request<Connect.Types.DescribePhoneNumberResponse, AWSError>;
390
406
  /**
@@ -419,6 +435,14 @@ declare class Connect extends Service {
419
435
  * This API is in preview release for Amazon Connect and is subject to change. Gets basic information about the security profle.
420
436
  */
421
437
  describeSecurityProfile(callback?: (err: AWSError, data: Connect.Types.DescribeSecurityProfileResponse) => void): Request<Connect.Types.DescribeSecurityProfileResponse, AWSError>;
438
+ /**
439
+ * Gets details and status of a traffic distribution group.
440
+ */
441
+ describeTrafficDistributionGroup(params: Connect.Types.DescribeTrafficDistributionGroupRequest, callback?: (err: AWSError, data: Connect.Types.DescribeTrafficDistributionGroupResponse) => void): Request<Connect.Types.DescribeTrafficDistributionGroupResponse, AWSError>;
442
+ /**
443
+ * Gets details and status of a traffic distribution group.
444
+ */
445
+ describeTrafficDistributionGroup(callback?: (err: AWSError, data: Connect.Types.DescribeTrafficDistributionGroupResponse) => void): Request<Connect.Types.DescribeTrafficDistributionGroupResponse, AWSError>;
422
446
  /**
423
447
  * Describes the specified user account. You can find the instance ID in the console (it’s the final part of the ARN). The console does not display the user IDs. Instead, list the users and note the IDs provided in the output.
424
448
  */
@@ -492,11 +516,11 @@ declare class Connect extends Service {
492
516
  */
493
517
  disassociateLexBot(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
494
518
  /**
495
- * Removes the flow association from a phone number claimed to your Amazon Connect instance, if a flow association exists.
519
+ * Removes the flow association from a phone number claimed to your Amazon Connect instance. If the number is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the PhoneNumberId URI request parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.
496
520
  */
497
521
  disassociatePhoneNumberContactFlow(params: Connect.Types.DisassociatePhoneNumberContactFlowRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
498
522
  /**
499
- * Removes the flow association from a phone number claimed to your Amazon Connect instance, if a flow association exists.
523
+ * Removes the flow association from a phone number claimed to your Amazon Connect instance. If the number is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the PhoneNumberId URI request parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.
500
524
  */
501
525
  disassociatePhoneNumberContactFlow(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
502
526
  /**
@@ -571,6 +595,14 @@ declare class Connect extends Service {
571
595
  * Gets details about a specific task template in the specified Amazon Connect instance.
572
596
  */
573
597
  getTaskTemplate(callback?: (err: AWSError, data: Connect.Types.GetTaskTemplateResponse) => void): Request<Connect.Types.GetTaskTemplateResponse, AWSError>;
598
+ /**
599
+ * Retrieves the current traffic distribution for a given traffic distribution group.
600
+ */
601
+ getTrafficDistribution(params: Connect.Types.GetTrafficDistributionRequest, callback?: (err: AWSError, data: Connect.Types.GetTrafficDistributionResponse) => void): Request<Connect.Types.GetTrafficDistributionResponse, AWSError>;
602
+ /**
603
+ * Retrieves the current traffic distribution for a given traffic distribution group.
604
+ */
605
+ getTrafficDistribution(callback?: (err: AWSError, data: Connect.Types.GetTrafficDistributionResponse) => void): Request<Connect.Types.GetTrafficDistributionResponse, AWSError>;
574
606
  /**
575
607
  * This API is in preview release for Amazon Connect and is subject to change. Lists agent statuses.
576
608
  */
@@ -684,19 +716,19 @@ declare class Connect extends Service {
684
716
  */
685
717
  listLexBots(callback?: (err: AWSError, data: Connect.Types.ListLexBotsResponse) => void): Request<Connect.Types.ListLexBotsResponse, AWSError>;
686
718
  /**
687
- * Provides information about the phone numbers for the specified Amazon Connect instance. For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
719
+ * Provides information about the phone numbers for the specified Amazon Connect instance. For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide. The phone number Arn value that is returned from each of the items in the PhoneNumberSummaryList cannot be used to tag phone number resources. It will fail with a ResourceNotFoundException. Instead, use the ListPhoneNumbersV2 API. It returns the new phone number ARN that can be used to tag phone number resources.
688
720
  */
689
721
  listPhoneNumbers(params: Connect.Types.ListPhoneNumbersRequest, callback?: (err: AWSError, data: Connect.Types.ListPhoneNumbersResponse) => void): Request<Connect.Types.ListPhoneNumbersResponse, AWSError>;
690
722
  /**
691
- * Provides information about the phone numbers for the specified Amazon Connect instance. For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
723
+ * Provides information about the phone numbers for the specified Amazon Connect instance. For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide. The phone number Arn value that is returned from each of the items in the PhoneNumberSummaryList cannot be used to tag phone number resources. It will fail with a ResourceNotFoundException. Instead, use the ListPhoneNumbersV2 API. It returns the new phone number ARN that can be used to tag phone number resources.
692
724
  */
693
725
  listPhoneNumbers(callback?: (err: AWSError, data: Connect.Types.ListPhoneNumbersResponse) => void): Request<Connect.Types.ListPhoneNumbersResponse, AWSError>;
694
726
  /**
695
- * Lists phone numbers claimed to your Amazon Connect instance. For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
727
+ * Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group. If the provided TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with traffic distribution group. For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
696
728
  */
697
729
  listPhoneNumbersV2(params: Connect.Types.ListPhoneNumbersV2Request, callback?: (err: AWSError, data: Connect.Types.ListPhoneNumbersV2Response) => void): Request<Connect.Types.ListPhoneNumbersV2Response, AWSError>;
698
730
  /**
699
- * Lists phone numbers claimed to your Amazon Connect instance. For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
731
+ * Lists phone numbers claimed to your Amazon Connect instance or traffic distribution group. If the provided TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with traffic distribution group. For more information about phone numbers, see Set Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator Guide.
700
732
  */
701
733
  listPhoneNumbersV2(callback?: (err: AWSError, data: Connect.Types.ListPhoneNumbersV2Response) => void): Request<Connect.Types.ListPhoneNumbersV2Response, AWSError>;
702
734
  /**
@@ -787,6 +819,14 @@ declare class Connect extends Service {
787
819
  * Lists task templates for the specified Amazon Connect instance.
788
820
  */
789
821
  listTaskTemplates(callback?: (err: AWSError, data: Connect.Types.ListTaskTemplatesResponse) => void): Request<Connect.Types.ListTaskTemplatesResponse, AWSError>;
822
+ /**
823
+ * Lists traffic distribution groups.
824
+ */
825
+ listTrafficDistributionGroups(params: Connect.Types.ListTrafficDistributionGroupsRequest, callback?: (err: AWSError, data: Connect.Types.ListTrafficDistributionGroupsResponse) => void): Request<Connect.Types.ListTrafficDistributionGroupsResponse, AWSError>;
826
+ /**
827
+ * Lists traffic distribution groups.
828
+ */
829
+ listTrafficDistributionGroups(callback?: (err: AWSError, data: Connect.Types.ListTrafficDistributionGroupsResponse) => void): Request<Connect.Types.ListTrafficDistributionGroupsResponse, AWSError>;
790
830
  /**
791
831
  * Lists the use cases for the integration association.
792
832
  */
@@ -820,13 +860,21 @@ declare class Connect extends Service {
820
860
  */
821
861
  putUserStatus(callback?: (err: AWSError, data: Connect.Types.PutUserStatusResponse) => void): Request<Connect.Types.PutUserStatusResponse, AWSError>;
822
862
  /**
823
- * Releases a phone number previously claimed to an Amazon Connect instance.
863
+ * Releases a phone number previously claimed to an Amazon Connect instance or traffic distribution group. You can call this API only in the Amazon Web Services Region where the number was claimed. To release phone numbers from a traffic distribution group, use the ReleasePhoneNumber API, not the Amazon Connect console. After releasing a phone number, the phone number enters into a cooldown period of 30 days. It cannot be searched for or claimed again until the period has ended. If you accidentally release a phone number, contact Amazon Web Services Support.
824
864
  */
825
865
  releasePhoneNumber(params: Connect.Types.ReleasePhoneNumberRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
826
866
  /**
827
- * Releases a phone number previously claimed to an Amazon Connect instance.
867
+ * Releases a phone number previously claimed to an Amazon Connect instance or traffic distribution group. You can call this API only in the Amazon Web Services Region where the number was claimed. To release phone numbers from a traffic distribution group, use the ReleasePhoneNumber API, not the Amazon Connect console. After releasing a phone number, the phone number enters into a cooldown period of 30 days. It cannot be searched for or claimed again until the period has ended. If you accidentally release a phone number, contact Amazon Web Services Support.
828
868
  */
829
869
  releasePhoneNumber(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
870
+ /**
871
+ * Replicates an Amazon Connect instance in the specified Amazon Web Services Region. For more information about replicating an Amazon Connect instance, see Create a replica of your existing Amazon Connect instance in the Amazon Connect Administrator Guide.
872
+ */
873
+ replicateInstance(params: Connect.Types.ReplicateInstanceRequest, callback?: (err: AWSError, data: Connect.Types.ReplicateInstanceResponse) => void): Request<Connect.Types.ReplicateInstanceResponse, AWSError>;
874
+ /**
875
+ * Replicates an Amazon Connect instance in the specified Amazon Web Services Region. For more information about replicating an Amazon Connect instance, see Create a replica of your existing Amazon Connect instance in the Amazon Connect Administrator Guide.
876
+ */
877
+ replicateInstance(callback?: (err: AWSError, data: Connect.Types.ReplicateInstanceResponse) => void): Request<Connect.Types.ReplicateInstanceResponse, AWSError>;
830
878
  /**
831
879
  * When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording the call. Only voice recordings are supported at this time.
832
880
  */
@@ -836,11 +884,11 @@ declare class Connect extends Service {
836
884
  */
837
885
  resumeContactRecording(callback?: (err: AWSError, data: Connect.Types.ResumeContactRecordingResponse) => void): Request<Connect.Types.ResumeContactRecordingResponse, AWSError>;
838
886
  /**
839
- * Searches for available phone numbers that you can claim to your Amazon Connect instance.
887
+ * Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group. If the provided TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with the traffic distribution group.
840
888
  */
841
889
  searchAvailablePhoneNumbers(params: Connect.Types.SearchAvailablePhoneNumbersRequest, callback?: (err: AWSError, data: Connect.Types.SearchAvailablePhoneNumbersResponse) => void): Request<Connect.Types.SearchAvailablePhoneNumbersResponse, AWSError>;
842
890
  /**
843
- * Searches for available phone numbers that you can claim to your Amazon Connect instance.
891
+ * Searches for available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group. If the provided TargetArn is a traffic distribution group, you can call this API in both Amazon Web Services Regions associated with the traffic distribution group.
844
892
  */
845
893
  searchAvailablePhoneNumbers(callback?: (err: AWSError, data: Connect.Types.SearchAvailablePhoneNumbersResponse) => void): Request<Connect.Types.SearchAvailablePhoneNumbersResponse, AWSError>;
846
894
  /**
@@ -868,11 +916,11 @@ declare class Connect extends Service {
868
916
  */
869
917
  searchSecurityProfiles(callback?: (err: AWSError, data: Connect.Types.SearchSecurityProfilesResponse) => void): Request<Connect.Types.SearchSecurityProfilesResponse, AWSError>;
870
918
  /**
871
- * Searches users in an Amazon Connect instance, with optional filtering.
919
+ * Searches users in an Amazon Connect instance, with optional filtering. AfterContactWorkTimeLimit is returned in milliseconds.
872
920
  */
873
921
  searchUsers(params: Connect.Types.SearchUsersRequest, callback?: (err: AWSError, data: Connect.Types.SearchUsersResponse) => void): Request<Connect.Types.SearchUsersResponse, AWSError>;
874
922
  /**
875
- * Searches users in an Amazon Connect instance, with optional filtering.
923
+ * Searches users in an Amazon Connect instance, with optional filtering. AfterContactWorkTimeLimit is returned in milliseconds.
876
924
  */
877
925
  searchUsers(callback?: (err: AWSError, data: Connect.Types.SearchUsersResponse) => void): Request<Connect.Types.SearchUsersResponse, AWSError>;
878
926
  /**
@@ -1076,11 +1124,11 @@ declare class Connect extends Service {
1076
1124
  */
1077
1125
  updateInstanceStorageConfig(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
1078
1126
  /**
1079
- * Updates your claimed phone number from its current Amazon Connect instance to another Amazon Connect instance in the same Region.
1127
+ * Updates your claimed phone number from its current Amazon Connect instance or traffic distribution group to another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region. You can call DescribePhoneNumber API to verify the status of a previous UpdatePhoneNumber operation.
1080
1128
  */
1081
1129
  updatePhoneNumber(params: Connect.Types.UpdatePhoneNumberRequest, callback?: (err: AWSError, data: Connect.Types.UpdatePhoneNumberResponse) => void): Request<Connect.Types.UpdatePhoneNumberResponse, AWSError>;
1082
1130
  /**
1083
- * Updates your claimed phone number from its current Amazon Connect instance to another Amazon Connect instance in the same Region.
1131
+ * Updates your claimed phone number from its current Amazon Connect instance or traffic distribution group to another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region. You can call DescribePhoneNumber API to verify the status of a previous UpdatePhoneNumber operation.
1084
1132
  */
1085
1133
  updatePhoneNumber(callback?: (err: AWSError, data: Connect.Types.UpdatePhoneNumberResponse) => void): Request<Connect.Types.UpdatePhoneNumberResponse, AWSError>;
1086
1134
  /**
@@ -1108,11 +1156,11 @@ declare class Connect extends Service {
1108
1156
  */
1109
1157
  updateQueueName(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
1110
1158
  /**
1111
- * This API is in preview release for Amazon Connect and is subject to change. Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue.
1159
+ * This API is in preview release for Amazon Connect and is subject to change. Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue. If the number being used in the input is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the OutboundCallerIdNumberId value of the OutboundCallerConfig request body parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.
1112
1160
  */
1113
1161
  updateQueueOutboundCallerConfig(params: Connect.Types.UpdateQueueOutboundCallerConfigRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
1114
1162
  /**
1115
- * This API is in preview release for Amazon Connect and is subject to change. Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue.
1163
+ * This API is in preview release for Amazon Connect and is subject to change. Updates the outbound caller ID name, number, and outbound whisper flow for a specified queue. If the number being used in the input is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the OutboundCallerIdNumberId value of the OutboundCallerConfig request body parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.
1116
1164
  */
1117
1165
  updateQueueOutboundCallerConfig(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
1118
1166
  /**
@@ -1187,6 +1235,14 @@ declare class Connect extends Service {
1187
1235
  * Updates details about a specific task template in the specified Amazon Connect instance. This operation does not support partial updates. Instead it does a full update of template content.
1188
1236
  */
1189
1237
  updateTaskTemplate(callback?: (err: AWSError, data: Connect.Types.UpdateTaskTemplateResponse) => void): Request<Connect.Types.UpdateTaskTemplateResponse, AWSError>;
1238
+ /**
1239
+ * Updates the traffic distribution for a given traffic distribution group. For more information about updating a traffic distribution group see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.
1240
+ */
1241
+ updateTrafficDistribution(params: Connect.Types.UpdateTrafficDistributionRequest, callback?: (err: AWSError, data: Connect.Types.UpdateTrafficDistributionResponse) => void): Request<Connect.Types.UpdateTrafficDistributionResponse, AWSError>;
1242
+ /**
1243
+ * Updates the traffic distribution for a given traffic distribution group. For more information about updating a traffic distribution group see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.
1244
+ */
1245
+ updateTrafficDistribution(callback?: (err: AWSError, data: Connect.Types.UpdateTrafficDistributionResponse) => void): Request<Connect.Types.UpdateTrafficDistributionResponse, AWSError>;
1190
1246
  /**
1191
1247
  * Assigns the specified hierarchy group to the specified user.
1192
1248
  */
@@ -1551,6 +1607,7 @@ declare namespace Connect {
1551
1607
  PhoneNumberType?: PhoneNumberType;
1552
1608
  }
1553
1609
  export type AvailableNumbersList = AvailableNumberSummary[];
1610
+ export type AwsRegion = string;
1554
1611
  export type Boolean = boolean;
1555
1612
  export type BotName = string;
1556
1613
  export type BucketName = string;
@@ -1580,7 +1637,7 @@ declare namespace Connect {
1580
1637
  export type ChatStreamingEndpointARN = string;
1581
1638
  export interface ClaimPhoneNumberRequest {
1582
1639
  /**
1583
- * The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
1640
+ * The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
1584
1641
  */
1585
1642
  TargetArn: ARN;
1586
1643
  /**
@@ -1596,7 +1653,7 @@ declare namespace Connect {
1596
1653
  */
1597
1654
  Tags?: TagMap;
1598
1655
  /**
1599
- * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
1656
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
1600
1657
  */
1601
1658
  ClientToken?: ClientToken;
1602
1659
  }
@@ -1636,7 +1693,7 @@ declare namespace Connect {
1636
1693
  */
1637
1694
  PhoneNumberDescription?: PhoneNumberDescription;
1638
1695
  /**
1639
- * The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
1696
+ * The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
1640
1697
  */
1641
1698
  TargetArn?: ARN;
1642
1699
  /**
@@ -1644,7 +1701,7 @@ declare namespace Connect {
1644
1701
  */
1645
1702
  Tags?: TagMap;
1646
1703
  /**
1647
- * The status of the phone number.
1704
+ * The status of the phone number. CLAIMED means the previous ClaimedPhoneNumber or UpdatePhoneNumber operation succeeded. IN_PROGRESS means a ClaimedPhoneNumber or UpdatePhoneNumber operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed. FAILED indicates that the previous ClaimedPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason. A common reason for a failure may be that the TargetArn value you are claiming or updating a phone number to has reached its limit of total claimed numbers. If you received a FAILED status from a ClaimPhoneNumber API call, you have one day to retry claiming the phone number before the number is released back to the inventory for other customers to claim. You will not be billed for the phone number during the 1-day period if number claiming fails.
1648
1705
  */
1649
1706
  PhoneNumberStatus?: PhoneNumberStatus;
1650
1707
  }
@@ -1916,7 +1973,7 @@ declare namespace Connect {
1916
1973
  */
1917
1974
  Tags?: TagMap;
1918
1975
  /**
1919
- * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
1976
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
1920
1977
  */
1921
1978
  ClientToken?: ClientToken;
1922
1979
  }
@@ -2260,7 +2317,7 @@ declare namespace Connect {
2260
2317
  */
2261
2318
  Fields: TaskTemplateFields;
2262
2319
  /**
2263
- * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
2320
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
2264
2321
  */
2265
2322
  ClientToken?: ClientToken;
2266
2323
  }
@@ -2274,6 +2331,38 @@ declare namespace Connect {
2274
2331
  */
2275
2332
  Arn: TaskTemplateArn;
2276
2333
  }
2334
+ export interface CreateTrafficDistributionGroupRequest {
2335
+ /**
2336
+ * The name for the traffic distribution group.
2337
+ */
2338
+ Name: Name128;
2339
+ /**
2340
+ * A description for the traffic distribution group.
2341
+ */
2342
+ Description?: Description250;
2343
+ /**
2344
+ * The identifier of the Amazon Connect instance that has been replicated. You can find the instanceId in the ARN of the instance.
2345
+ */
2346
+ InstanceId: InstanceIdOrArn;
2347
+ /**
2348
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
2349
+ */
2350
+ ClientToken?: ClientToken;
2351
+ /**
2352
+ * The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
2353
+ */
2354
+ Tags?: TagMap;
2355
+ }
2356
+ export interface CreateTrafficDistributionGroupResponse {
2357
+ /**
2358
+ * The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
2359
+ */
2360
+ Id?: TrafficDistributionGroupId;
2361
+ /**
2362
+ * The Amazon Resource Name (ARN) of the traffic distribution group.
2363
+ */
2364
+ Arn?: TrafficDistributionGroupArn;
2365
+ }
2277
2366
  export interface CreateUseCaseRequest {
2278
2367
  /**
2279
2368
  * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
@@ -2384,7 +2473,7 @@ declare namespace Connect {
2384
2473
  }
2385
2474
  export interface CreateVocabularyRequest {
2386
2475
  /**
2387
- * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If a create request is received more than once with same client token, subsequent requests return the previous response without creating a vocabulary again.
2476
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. If a create request is received more than once with same client token, subsequent requests return the previous response without creating a vocabulary again.
2388
2477
  */
2389
2478
  ClientToken?: ClientToken;
2390
2479
  /**
@@ -2584,6 +2673,14 @@ declare namespace Connect {
2584
2673
  }
2585
2674
  export interface DeleteTaskTemplateResponse {
2586
2675
  }
2676
+ export interface DeleteTrafficDistributionGroupRequest {
2677
+ /**
2678
+ * The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
2679
+ */
2680
+ TrafficDistributionGroupId: TrafficDistributionGroupIdOrArn;
2681
+ }
2682
+ export interface DeleteTrafficDistributionGroupResponse {
2683
+ }
2587
2684
  export interface DeleteUseCaseRequest {
2588
2685
  /**
2589
2686
  * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
@@ -2778,7 +2875,7 @@ declare namespace Connect {
2778
2875
  }
2779
2876
  export interface DescribePhoneNumberResponse {
2780
2877
  /**
2781
- * Information about a phone number that's been claimed to your Amazon Connect instance.
2878
+ * Information about a phone number that's been claimed to your Amazon Connect instance or traffic distribution group.
2782
2879
  */
2783
2880
  ClaimedPhoneNumberSummary?: ClaimedPhoneNumberSummary;
2784
2881
  }
@@ -2846,6 +2943,18 @@ declare namespace Connect {
2846
2943
  */
2847
2944
  SecurityProfile?: SecurityProfile;
2848
2945
  }
2946
+ export interface DescribeTrafficDistributionGroupRequest {
2947
+ /**
2948
+ * The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
2949
+ */
2950
+ TrafficDistributionGroupId: TrafficDistributionGroupIdOrArn;
2951
+ }
2952
+ export interface DescribeTrafficDistributionGroupResponse {
2953
+ /**
2954
+ * Information about the traffic distribution group.
2955
+ */
2956
+ TrafficDistributionGroup?: TrafficDistributionGroup;
2957
+ }
2849
2958
  export interface DescribeUserHierarchyGroupRequest {
2850
2959
  /**
2851
2960
  * The identifier of the hierarchy group.
@@ -2907,6 +3016,7 @@ declare namespace Connect {
2907
3016
  Vocabulary: Vocabulary;
2908
3017
  }
2909
3018
  export type Description = string;
3019
+ export type Description250 = string;
2910
3020
  export interface Dimensions {
2911
3021
  /**
2912
3022
  * Information about the queue for which metrics are returned.
@@ -2976,7 +3086,7 @@ declare namespace Connect {
2976
3086
  */
2977
3087
  BotName: BotName;
2978
3088
  /**
2979
- * The Region in which the Amazon Lex bot has been created.
3089
+ * The Amazon Web Services Region in which the Amazon Lex bot has been created.
2980
3090
  */
2981
3091
  LexRegion: LexRegion;
2982
3092
  }
@@ -3029,6 +3139,17 @@ declare namespace Connect {
3029
3139
  AssociationId: AssociationId;
3030
3140
  }
3031
3141
  export type DisplayName = string;
3142
+ export interface Distribution {
3143
+ /**
3144
+ * The Amazon Web Services Region where the traffic is distributed.
3145
+ */
3146
+ Region: AwsRegion;
3147
+ /**
3148
+ * The percentage of the traffic that is distributed, in increments of 10.
3149
+ */
3150
+ Percentage: Percentage;
3151
+ }
3152
+ export type DistributionList = Distribution[];
3032
3153
  export type Email = string;
3033
3154
  export interface EmailReference {
3034
3155
  /**
@@ -3271,6 +3392,26 @@ declare namespace Connect {
3271
3392
  */
3272
3393
  Tags?: TagMap;
3273
3394
  }
3395
+ export interface GetTrafficDistributionRequest {
3396
+ /**
3397
+ * The identifier of the traffic distribution group.
3398
+ */
3399
+ Id: TrafficDistributionGroupIdOrArn;
3400
+ }
3401
+ export interface GetTrafficDistributionResponse {
3402
+ /**
3403
+ * The distribution of traffic between the instance and its replicas.
3404
+ */
3405
+ TelephonyConfig?: TelephonyConfig;
3406
+ /**
3407
+ * The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
3408
+ */
3409
+ Id?: TrafficDistributionGroupId;
3410
+ /**
3411
+ * The Amazon Resource Name (ARN) of the traffic distribution group.
3412
+ */
3413
+ Arn?: TrafficDistributionGroupArn;
3414
+ }
3274
3415
  export type Grouping = "QUEUE"|"CHANNEL"|string;
3275
3416
  export type Groupings = Grouping[];
3276
3417
  export interface HierarchyGroup {
@@ -3608,9 +3749,11 @@ declare namespace Connect {
3608
3749
  */
3609
3750
  OutboundCallsEnabled?: OutboundCallsEnabled;
3610
3751
  }
3752
+ export type InstanceArn = string;
3611
3753
  export type InstanceAttributeType = "INBOUND_CALLS"|"OUTBOUND_CALLS"|"CONTACTFLOW_LOGS"|"CONTACT_LENS"|"AUTO_RESOLVE_BEST_VOICES"|"USE_CUSTOM_TTS_VOICES"|"EARLY_MEDIA"|"MULTI_PARTY_CONFERENCE"|"HIGH_VOLUME_OUTBOUND"|string;
3612
3754
  export type InstanceAttributeValue = string;
3613
3755
  export type InstanceId = string;
3756
+ export type InstanceIdOrArn = string;
3614
3757
  export type InstanceStatus = "CREATION_IN_PROGRESS"|"ACTIVE"|"CREATION_FAILED"|string;
3615
3758
  export interface InstanceStatusReason {
3616
3759
  /**
@@ -3764,7 +3907,7 @@ declare namespace Connect {
3764
3907
  */
3765
3908
  Name?: BotName;
3766
3909
  /**
3767
- * The Region that the Amazon Lex bot was created in.
3910
+ * The Amazon Web Services Region where the Amazon Lex bot was created.
3768
3911
  */
3769
3912
  LexRegion?: LexRegion;
3770
3913
  }
@@ -3857,7 +4000,7 @@ declare namespace Connect {
3857
4000
  }
3858
4001
  export interface ListBotsResponse {
3859
4002
  /**
3860
- * The names and Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.
4003
+ * The names and Amazon Web Services Regions of the Amazon Lex or Amazon Lex V2 bots associated with the specified instance.
3861
4004
  */
3862
4005
  LexBots?: LexBotConfigList;
3863
4006
  /**
@@ -4141,7 +4284,7 @@ declare namespace Connect {
4141
4284
  }
4142
4285
  export interface ListLexBotsResponse {
4143
4286
  /**
4144
- * The names and Regions of the Amazon Lex bots associated with the specified instance.
4287
+ * The names and Amazon Web Services Regions of the Amazon Lex bots associated with the specified instance.
4145
4288
  */
4146
4289
  LexBots?: LexBotsList;
4147
4290
  /**
@@ -4203,14 +4346,14 @@ declare namespace Connect {
4203
4346
  */
4204
4347
  PhoneNumberType?: PhoneNumberType;
4205
4348
  /**
4206
- * The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
4349
+ * The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
4207
4350
  */
4208
4351
  TargetArn?: ARN;
4209
4352
  }
4210
4353
  export type ListPhoneNumbersSummaryList = ListPhoneNumbersSummary[];
4211
4354
  export interface ListPhoneNumbersV2Request {
4212
4355
  /**
4213
- * The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to. If TargetArn input is not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account.
4356
+ * The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to. If TargetArn input is not provided, this API lists numbers claimed to all the Amazon Connect instances belonging to your account in the same Amazon Web Services Region as the request.
4214
4357
  */
4215
4358
  TargetArn?: ARN;
4216
4359
  /**
@@ -4240,7 +4383,7 @@ declare namespace Connect {
4240
4383
  */
4241
4384
  NextToken?: LargeNextToken;
4242
4385
  /**
4243
- * Information about phone numbers that have been claimed to your Amazon Connect instances.
4386
+ * Information about phone numbers that have been claimed to your Amazon Connect instances or traffic distribution groups.
4244
4387
  */
4245
4388
  ListPhoneNumbersSummaryList?: ListPhoneNumbersSummaryList;
4246
4389
  }
@@ -4524,6 +4667,30 @@ declare namespace Connect {
4524
4667
  */
4525
4668
  NextToken?: NextToken;
4526
4669
  }
4670
+ export interface ListTrafficDistributionGroupsRequest {
4671
+ /**
4672
+ * The maximum number of results to return per page.
4673
+ */
4674
+ MaxResults?: MaxResult10;
4675
+ /**
4676
+ * The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
4677
+ */
4678
+ NextToken?: NextToken;
4679
+ /**
4680
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
4681
+ */
4682
+ InstanceId?: InstanceIdOrArn;
4683
+ }
4684
+ export interface ListTrafficDistributionGroupsResponse {
4685
+ /**
4686
+ * If there are additional results, this is the token for the next set of results.
4687
+ */
4688
+ NextToken?: NextToken;
4689
+ /**
4690
+ * A list of traffic distribution groups.
4691
+ */
4692
+ TrafficDistributionGroupSummaryList?: TrafficDistributionGroupSummaryList;
4693
+ }
4527
4694
  export interface ListUseCasesRequest {
4528
4695
  /**
4529
4696
  * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
@@ -4620,6 +4787,7 @@ declare namespace Connect {
4620
4787
  }
4621
4788
  export type MinutesLimit60 = number;
4622
4789
  export type Name = string;
4790
+ export type Name128 = string;
4623
4791
  export type NextToken = string;
4624
4792
  export type NextToken2500 = string;
4625
4793
  export interface NumberReference {
@@ -4660,6 +4828,7 @@ declare namespace Connect {
4660
4828
  export type ParticipantId = string;
4661
4829
  export type ParticipantToken = string;
4662
4830
  export type Password = string;
4831
+ export type Percentage = number;
4663
4832
  export type PermissionsList = SecurityProfilePermission[];
4664
4833
  export type PhoneNumber = string;
4665
4834
  export type PhoneNumberCountryCode = "AF"|"AL"|"DZ"|"AS"|"AD"|"AO"|"AI"|"AQ"|"AG"|"AR"|"AM"|"AW"|"AU"|"AT"|"AZ"|"BS"|"BH"|"BD"|"BB"|"BY"|"BE"|"BZ"|"BJ"|"BM"|"BT"|"BO"|"BA"|"BW"|"BR"|"IO"|"VG"|"BN"|"BG"|"BF"|"BI"|"KH"|"CM"|"CA"|"CV"|"KY"|"CF"|"TD"|"CL"|"CN"|"CX"|"CC"|"CO"|"KM"|"CK"|"CR"|"HR"|"CU"|"CW"|"CY"|"CZ"|"CD"|"DK"|"DJ"|"DM"|"DO"|"TL"|"EC"|"EG"|"SV"|"GQ"|"ER"|"EE"|"ET"|"FK"|"FO"|"FJ"|"FI"|"FR"|"PF"|"GA"|"GM"|"GE"|"DE"|"GH"|"GI"|"GR"|"GL"|"GD"|"GU"|"GT"|"GG"|"GN"|"GW"|"GY"|"HT"|"HN"|"HK"|"HU"|"IS"|"IN"|"ID"|"IR"|"IQ"|"IE"|"IM"|"IL"|"IT"|"CI"|"JM"|"JP"|"JE"|"JO"|"KZ"|"KE"|"KI"|"KW"|"KG"|"LA"|"LV"|"LB"|"LS"|"LR"|"LY"|"LI"|"LT"|"LU"|"MO"|"MK"|"MG"|"MW"|"MY"|"MV"|"ML"|"MT"|"MH"|"MR"|"MU"|"YT"|"MX"|"FM"|"MD"|"MC"|"MN"|"ME"|"MS"|"MA"|"MZ"|"MM"|"NA"|"NR"|"NP"|"NL"|"AN"|"NC"|"NZ"|"NI"|"NE"|"NG"|"NU"|"KP"|"MP"|"NO"|"OM"|"PK"|"PW"|"PA"|"PG"|"PY"|"PE"|"PH"|"PN"|"PL"|"PT"|"PR"|"QA"|"CG"|"RE"|"RO"|"RU"|"RW"|"BL"|"SH"|"KN"|"LC"|"MF"|"PM"|"VC"|"WS"|"SM"|"ST"|"SA"|"SN"|"RS"|"SC"|"SL"|"SG"|"SX"|"SK"|"SI"|"SB"|"SO"|"ZA"|"KR"|"ES"|"LK"|"SD"|"SR"|"SJ"|"SZ"|"SE"|"CH"|"SY"|"TW"|"TJ"|"TZ"|"TH"|"TG"|"TK"|"TO"|"TT"|"TN"|"TR"|"TM"|"TC"|"TV"|"VI"|"UG"|"UA"|"AE"|"GB"|"US"|"UY"|"UZ"|"VU"|"VA"|"VE"|"VN"|"WF"|"EH"|"YE"|"ZM"|"ZW"|string;
@@ -4788,7 +4957,7 @@ declare namespace Connect {
4788
4957
  export type QueueId = string;
4789
4958
  export interface QueueInfo {
4790
4959
  /**
4791
- * The identifier of the agent who accepted the contact.
4960
+ * The unique identifier for the queue.
4792
4961
  */
4793
4962
  Id?: QueueId;
4794
4963
  /**
@@ -4943,7 +5112,7 @@ declare namespace Connect {
4943
5112
  */
4944
5113
  Value: ReferenceValue;
4945
5114
  /**
4946
- * The type of the reference.
5115
+ * The type of the reference. DATE must be of type Epoch timestamp.
4947
5116
  */
4948
5117
  Type: ReferenceType;
4949
5118
  }
@@ -4985,10 +5154,38 @@ declare namespace Connect {
4985
5154
  */
4986
5155
  PhoneNumberId: PhoneNumberId;
4987
5156
  /**
4988
- * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
5157
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
4989
5158
  */
4990
5159
  ClientToken?: ClientToken;
4991
5160
  }
5161
+ export interface ReplicateInstanceRequest {
5162
+ /**
5163
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
5164
+ */
5165
+ InstanceId: InstanceIdOrArn;
5166
+ /**
5167
+ * The Amazon Web Services Region where to replicate the Amazon Connect instance.
5168
+ */
5169
+ ReplicaRegion: AwsRegion;
5170
+ /**
5171
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
5172
+ */
5173
+ ClientToken?: ClientToken;
5174
+ /**
5175
+ * The alias for the replicated instance. The ReplicaAlias must be unique.
5176
+ */
5177
+ ReplicaAlias: DirectoryAlias;
5178
+ }
5179
+ export interface ReplicateInstanceResponse {
5180
+ /**
5181
+ * The identifier of the replicated instance. You can find the instanceId in the ARN of the instance. The replicated instance has the same identifier as the instance it was replicated from.
5182
+ */
5183
+ Id?: InstanceId;
5184
+ /**
5185
+ * The Amazon Resource Name (ARN) of the replicated instance.
5186
+ */
5187
+ Arn?: ARN;
5188
+ }
4992
5189
  export interface RequiredFieldInfo {
4993
5190
  /**
4994
5191
  * The unique identifier for the field.
@@ -5167,7 +5364,7 @@ declare namespace Connect {
5167
5364
  }
5168
5365
  export interface SearchAvailablePhoneNumbersRequest {
5169
5366
  /**
5170
- * The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
5367
+ * The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
5171
5368
  */
5172
5369
  TargetArn: ARN;
5173
5370
  /**
@@ -5197,7 +5394,7 @@ declare namespace Connect {
5197
5394
  */
5198
5395
  NextToken?: LargeNextToken;
5199
5396
  /**
5200
- * A list of available phone numbers that you can claim for your Amazon Connect instance.
5397
+ * A list of available phone numbers that you can claim to your Amazon Connect instance or traffic distribution group.
5201
5398
  */
5202
5399
  AvailableNumbersList?: AvailableNumbersList;
5203
5400
  }
@@ -5287,7 +5484,7 @@ declare namespace Connect {
5287
5484
  */
5288
5485
  MaxResults?: MaxResult100;
5289
5486
  /**
5290
- * The search criteria to be used to return security profiles.
5487
+ * The search criteria to be used to return security profiles. The currently supported value for FieldName: name
5291
5488
  */
5292
5489
  SearchCriteria?: SecurityProfileSearchCriteria;
5293
5490
  /**
@@ -5509,7 +5706,7 @@ declare namespace Connect {
5509
5706
  */
5510
5707
  InitialMessage?: ChatMessage;
5511
5708
  /**
5512
- * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
5709
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
5513
5710
  */
5514
5711
  ClientToken?: ClientToken;
5515
5712
  /**
@@ -5569,7 +5766,7 @@ declare namespace Connect {
5569
5766
  */
5570
5767
  ChatStreamingConfiguration: ChatStreamingConfiguration;
5571
5768
  /**
5572
- * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
5769
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
5573
5770
  */
5574
5771
  ClientToken: ClientToken;
5575
5772
  }
@@ -5593,7 +5790,7 @@ declare namespace Connect {
5593
5790
  */
5594
5791
  InstanceId: InstanceId;
5595
5792
  /**
5596
- * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. The token is valid for 7 days after creation. If a contact is already started, the contact ID is returned.
5793
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. The token is valid for 7 days after creation. If a contact is already started, the contact ID is returned.
5597
5794
  */
5598
5795
  ClientToken?: ClientToken;
5599
5796
  /**
@@ -5657,7 +5854,7 @@ declare namespace Connect {
5657
5854
  */
5658
5855
  Description?: Description;
5659
5856
  /**
5660
- * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
5857
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
5661
5858
  */
5662
5859
  ClientToken?: ClientToken;
5663
5860
  /**
@@ -5893,6 +6090,12 @@ declare namespace Connect {
5893
6090
  export type TaskTemplateName = string;
5894
6091
  export type TaskTemplateSingleSelectOption = string;
5895
6092
  export type TaskTemplateStatus = "ACTIVE"|"INACTIVE"|string;
6093
+ export interface TelephonyConfig {
6094
+ /**
6095
+ * Information about traffic distributions.
6096
+ */
6097
+ Distributions: DistributionList;
6098
+ }
5896
6099
  export interface Threshold {
5897
6100
  /**
5898
6101
  * The type of comparison. Only "less than" (LT) comparisons are supported.
@@ -5906,6 +6109,63 @@ declare namespace Connect {
5906
6109
  export type ThresholdValue = number;
5907
6110
  export type TimeZone = string;
5908
6111
  export type Timestamp = Date;
6112
+ export interface TrafficDistributionGroup {
6113
+ /**
6114
+ * The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
6115
+ */
6116
+ Id?: TrafficDistributionGroupId;
6117
+ /**
6118
+ * The Amazon Resource Name (ARN) of the traffic distribution group.
6119
+ */
6120
+ Arn?: TrafficDistributionGroupArn;
6121
+ /**
6122
+ * The name of the traffic distribution group.
6123
+ */
6124
+ Name?: Name128;
6125
+ /**
6126
+ * The description of the traffic distribution group.
6127
+ */
6128
+ Description?: Description250;
6129
+ /**
6130
+ * The Amazon Resource Name (ARN).
6131
+ */
6132
+ InstanceArn?: InstanceArn;
6133
+ /**
6134
+ * The status of the traffic distribution group. CREATION_IN_PROGRESS means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed. ACTIVE means the previous CreateTrafficDistributionGroup operation has succeeded. CREATION_FAILED indicates that the previous CreateTrafficDistributionGroup operation has failed. PENDING_DELETION means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed. DELETION_FAILED means the previous DeleteTrafficDistributionGroup operation has failed. UPDATE_IN_PROGRESS means the previous UpdateTrafficDistributionGroup operation is still in progress and has not yet completed.
6135
+ */
6136
+ Status?: TrafficDistributionGroupStatus;
6137
+ /**
6138
+ * The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
6139
+ */
6140
+ Tags?: TagMap;
6141
+ }
6142
+ export type TrafficDistributionGroupArn = string;
6143
+ export type TrafficDistributionGroupId = string;
6144
+ export type TrafficDistributionGroupIdOrArn = string;
6145
+ export type TrafficDistributionGroupStatus = "CREATION_IN_PROGRESS"|"ACTIVE"|"CREATION_FAILED"|"PENDING_DELETION"|"DELETION_FAILED"|"UPDATE_IN_PROGRESS"|string;
6146
+ export interface TrafficDistributionGroupSummary {
6147
+ /**
6148
+ * The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
6149
+ */
6150
+ Id?: TrafficDistributionGroupId;
6151
+ /**
6152
+ * The Amazon Resource Name (ARN) of the traffic distribution group.
6153
+ */
6154
+ Arn?: TrafficDistributionGroupArn;
6155
+ /**
6156
+ * The name of the traffic distribution group.
6157
+ */
6158
+ Name?: Name128;
6159
+ /**
6160
+ * The Amazon Resource Name (ARN) of the traffic distribution group.
6161
+ */
6162
+ InstanceArn?: InstanceArn;
6163
+ /**
6164
+ * The status of the traffic distribution group. CREATION_IN_PROGRESS means the previous CreateTrafficDistributionGroup operation is still in progress and has not yet completed. ACTIVE means the previous CreateTrafficDistributionGroup operation has succeeded. CREATION_FAILED indicates that the previous CreateTrafficDistributionGroup operation has failed. PENDING_DELETION means the previous DeleteTrafficDistributionGroup operation is still in progress and has not yet completed. DELETION_FAILED means the previous DeleteTrafficDistributionGroup operation has failed. UPDATE_IN_PROGRESS means the previous UpdateTrafficDistributionGroup operation is still in progress and has not yet completed.
6165
+ */
6166
+ Status?: TrafficDistributionGroupStatus;
6167
+ }
6168
+ export type TrafficDistributionGroupSummaryList = TrafficDistributionGroupSummary[];
5909
6169
  export type TrafficType = "GENERAL"|"CAMPAIGN"|string;
5910
6170
  export interface TransferContactRequest {
5911
6171
  /**
@@ -5929,7 +6189,7 @@ declare namespace Connect {
5929
6189
  */
5930
6190
  ContactFlowId: ContactFlowId;
5931
6191
  /**
5932
- * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
6192
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
5933
6193
  */
5934
6194
  ClientToken?: ClientToken;
5935
6195
  }
@@ -6198,11 +6458,11 @@ declare namespace Connect {
6198
6458
  */
6199
6459
  PhoneNumberId: PhoneNumberId;
6200
6460
  /**
6201
- * The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
6461
+ * The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
6202
6462
  */
6203
6463
  TargetArn: ARN;
6204
6464
  /**
6205
- * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
6465
+ * A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
6206
6466
  */
6207
6467
  ClientToken?: ClientToken;
6208
6468
  }
@@ -6489,6 +6749,18 @@ declare namespace Connect {
6489
6749
  */
6490
6750
  CreatedTime?: timestamp;
6491
6751
  }
6752
+ export interface UpdateTrafficDistributionRequest {
6753
+ /**
6754
+ * The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
6755
+ */
6756
+ Id: TrafficDistributionGroupIdOrArn;
6757
+ /**
6758
+ * The distribution of traffic between the instance and its replica(s).
6759
+ */
6760
+ TelephonyConfig?: TelephonyConfig;
6761
+ }
6762
+ export interface UpdateTrafficDistributionResponse {
6763
+ }
6492
6764
  export interface UpdateUserHierarchyGroupNameRequest {
6493
6765
  /**
6494
6766
  * The name of the hierarchy group. Must not be more than 100 characters.
@@ -6654,7 +6926,7 @@ declare namespace Connect {
6654
6926
  }
6655
6927
  export interface UserData {
6656
6928
  /**
6657
- * Information about the user for the data that is returned. It contains resourceId and ARN of the user.
6929
+ * Information about the user for the data that is returned. It contains the resourceId and ARN of the user.
6658
6930
  */
6659
6931
  User?: UserReference;
6660
6932
  /**
@@ -6712,7 +6984,7 @@ declare namespace Connect {
6712
6984
  */
6713
6985
  Email?: Email;
6714
6986
  /**
6715
- * The user's secondary email address. If you provide a secondary email, the user receives email notifications -- other than password reset notifications -- to this email address instead of to their primary email address.
6987
+ * The user's secondary email address. If you provide a secondary email, the user receives email notifications - other than password reset notifications - to this email address instead of to their primary email address. Pattern: (?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}
6716
6988
  */
6717
6989
  SecondaryEmail?: Email;
6718
6990
  /**
@@ -6740,7 +7012,7 @@ declare namespace Connect {
6740
7012
  */
6741
7013
  AutoAccept?: AutoAccept;
6742
7014
  /**
6743
- * The After Call Work (ACW) timeout setting, in seconds.
7015
+ * The After Call Work (ACW) timeout setting, in seconds. When returned by a SearchUsers call, AfterContactWorkTimeLimit is returned in milliseconds.
6744
7016
  */
6745
7017
  AfterContactWorkTimeLimit?: AfterContactWorkTimeLimit;
6746
7018
  /**