aws-sdk 2.1449.0 → 2.1451.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.
@@ -188,11 +188,11 @@ declare class Connect extends Service {
188
188
  */
189
189
  createPrompt(callback?: (err: AWSError, data: Connect.Types.CreatePromptResponse) => void): Request<Connect.Types.CreatePromptResponse, AWSError>;
190
190
  /**
191
- * 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. Only use the phone number ARN format that doesn't contain instance in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
191
+ * 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 phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for OutboundCallerIdNumberId. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is 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. Only use the phone number ARN format that doesn't contain instance in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region.
192
192
  */
193
193
  createQueue(params: Connect.Types.CreateQueueRequest, callback?: (err: AWSError, data: Connect.Types.CreateQueueResponse) => void): Request<Connect.Types.CreateQueueResponse, AWSError>;
194
194
  /**
195
- * 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. Only use the phone number ARN format that doesn't contain instance in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
195
+ * 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 phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for OutboundCallerIdNumberId. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is 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. Only use the phone number ARN format that doesn't contain instance in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region.
196
196
  */
197
197
  createQueue(callback?: (err: AWSError, data: Connect.Types.CreateQueueResponse) => void): Request<Connect.Types.CreateQueueResponse, AWSError>;
198
198
  /**
@@ -236,11 +236,11 @@ declare class Connect extends Service {
236
236
  */
237
237
  createTaskTemplate(callback?: (err: AWSError, data: Connect.Types.CreateTaskTemplateResponse) => void): Request<Connect.Types.CreateTaskTemplateResponse, AWSError>;
238
238
  /**
239
- * 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.
239
+ * Creates a traffic distribution group given an Amazon Connect instance that has been replicated. You can change the SignInConfig distribution only for a default TrafficDistributionGroup (see the IsDefault parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned. For more information about creating traffic distribution groups, see Set up traffic distribution groups in the Amazon Connect Administrator Guide.
240
240
  */
241
241
  createTrafficDistributionGroup(params: Connect.Types.CreateTrafficDistributionGroupRequest, callback?: (err: AWSError, data: Connect.Types.CreateTrafficDistributionGroupResponse) => void): Request<Connect.Types.CreateTrafficDistributionGroupResponse, AWSError>;
242
242
  /**
243
- * 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.
243
+ * Creates a traffic distribution group given an Amazon Connect instance that has been replicated. You can change the SignInConfig distribution only for a default TrafficDistributionGroup (see the IsDefault parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned. For more information about creating traffic distribution groups, see Set up traffic distribution groups in the Amazon Connect Administrator Guide.
244
244
  */
245
245
  createTrafficDistributionGroup(callback?: (err: AWSError, data: Connect.Types.CreateTrafficDistributionGroupResponse) => void): Request<Connect.Types.CreateTrafficDistributionGroupResponse, AWSError>;
246
246
  /**
@@ -267,6 +267,22 @@ declare class Connect extends Service {
267
267
  * Creates a new user hierarchy group.
268
268
  */
269
269
  createUserHierarchyGroup(callback?: (err: AWSError, data: Connect.Types.CreateUserHierarchyGroupResponse) => void): Request<Connect.Types.CreateUserHierarchyGroupResponse, AWSError>;
270
+ /**
271
+ * Creates a new view with the possible status of SAVED or PUBLISHED. The views will have a unique name for each connect instance. It performs basic content validation if the status is SAVED or full content validation if the status is set to PUBLISHED. An error is returned if validation fails. It associates either the $SAVED qualifier or both of the $SAVED and $LATEST qualifiers with the provided view content based on the status. The view is idempotent if ClientToken is provided.
272
+ */
273
+ createView(params: Connect.Types.CreateViewRequest, callback?: (err: AWSError, data: Connect.Types.CreateViewResponse) => void): Request<Connect.Types.CreateViewResponse, AWSError>;
274
+ /**
275
+ * Creates a new view with the possible status of SAVED or PUBLISHED. The views will have a unique name for each connect instance. It performs basic content validation if the status is SAVED or full content validation if the status is set to PUBLISHED. An error is returned if validation fails. It associates either the $SAVED qualifier or both of the $SAVED and $LATEST qualifiers with the provided view content based on the status. The view is idempotent if ClientToken is provided.
276
+ */
277
+ createView(callback?: (err: AWSError, data: Connect.Types.CreateViewResponse) => void): Request<Connect.Types.CreateViewResponse, AWSError>;
278
+ /**
279
+ * Publishes a new version of the view identifier. Versions are immutable and monotonically increasing. It returns the highest version if there is no change in content compared to that version. An error is displayed if the supplied ViewContentSha256 is different from the ViewContentSha256 of the $LATEST alias.
280
+ */
281
+ createViewVersion(params: Connect.Types.CreateViewVersionRequest, callback?: (err: AWSError, data: Connect.Types.CreateViewVersionResponse) => void): Request<Connect.Types.CreateViewVersionResponse, AWSError>;
282
+ /**
283
+ * Publishes a new version of the view identifier. Versions are immutable and monotonically increasing. It returns the highest version if there is no change in content compared to that version. An error is displayed if the supplied ViewContentSha256 is different from the ViewContentSha256 of the $LATEST alias.
284
+ */
285
+ createViewVersion(callback?: (err: AWSError, data: Connect.Types.CreateViewVersionResponse) => void): Request<Connect.Types.CreateViewVersionResponse, AWSError>;
270
286
  /**
271
287
  * Creates a custom vocabulary associated with your Amazon Connect instance. You can set a custom vocabulary to be your default vocabulary for a given language. Contact Lens for Amazon Connect uses the default vocabulary in post-call and real-time contact analysis sessions for that language.
272
288
  */
@@ -427,6 +443,22 @@ declare class Connect extends Service {
427
443
  * Deletes an existing user hierarchy group. It must not be associated with any agents or have any active child groups.
428
444
  */
429
445
  deleteUserHierarchyGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
446
+ /**
447
+ * Deletes the view entirely. It deletes the view and all associated qualifiers (versions and aliases).
448
+ */
449
+ deleteView(params: Connect.Types.DeleteViewRequest, callback?: (err: AWSError, data: Connect.Types.DeleteViewResponse) => void): Request<Connect.Types.DeleteViewResponse, AWSError>;
450
+ /**
451
+ * Deletes the view entirely. It deletes the view and all associated qualifiers (versions and aliases).
452
+ */
453
+ deleteView(callback?: (err: AWSError, data: Connect.Types.DeleteViewResponse) => void): Request<Connect.Types.DeleteViewResponse, AWSError>;
454
+ /**
455
+ * Deletes the particular version specified in ViewVersion identifier.
456
+ */
457
+ deleteViewVersion(params: Connect.Types.DeleteViewVersionRequest, callback?: (err: AWSError, data: Connect.Types.DeleteViewVersionResponse) => void): Request<Connect.Types.DeleteViewVersionResponse, AWSError>;
458
+ /**
459
+ * Deletes the particular version specified in ViewVersion identifier.
460
+ */
461
+ deleteViewVersion(callback?: (err: AWSError, data: Connect.Types.DeleteViewVersionResponse) => void): Request<Connect.Types.DeleteViewVersionResponse, AWSError>;
430
462
  /**
431
463
  * Deletes the vocabulary that has the given identifier.
432
464
  */
@@ -603,6 +635,14 @@ declare class Connect extends Service {
603
635
  * Describes the hierarchy structure of the specified Amazon Connect instance.
604
636
  */
605
637
  describeUserHierarchyStructure(callback?: (err: AWSError, data: Connect.Types.DescribeUserHierarchyStructureResponse) => void): Request<Connect.Types.DescribeUserHierarchyStructureResponse, AWSError>;
638
+ /**
639
+ * Retrieves the view for the specified Amazon Connect instance and view identifier. The view identifier can be supplied as a ViewId or ARN. $SAVED needs to be supplied if a view is unpublished. The view identifier can contain an optional qualifier, for example, &lt;view-id&gt;:$SAVED, which is either an actual version number or an Amazon Connect managed qualifier $SAVED | $LATEST. If it is not supplied, then $LATEST is assumed for customer managed views and an error is returned if there is no published content available. Version 1 is assumed for Amazon Web Services managed views.
640
+ */
641
+ describeView(params: Connect.Types.DescribeViewRequest, callback?: (err: AWSError, data: Connect.Types.DescribeViewResponse) => void): Request<Connect.Types.DescribeViewResponse, AWSError>;
642
+ /**
643
+ * Retrieves the view for the specified Amazon Connect instance and view identifier. The view identifier can be supplied as a ViewId or ARN. $SAVED needs to be supplied if a view is unpublished. The view identifier can contain an optional qualifier, for example, &lt;view-id&gt;:$SAVED, which is either an actual version number or an Amazon Connect managed qualifier $SAVED | $LATEST. If it is not supplied, then $LATEST is assumed for customer managed views and an error is returned if there is no published content available. Version 1 is assumed for Amazon Web Services managed views.
644
+ */
645
+ describeView(callback?: (err: AWSError, data: Connect.Types.DescribeViewResponse) => void): Request<Connect.Types.DescribeViewResponse, AWSError>;
606
646
  /**
607
647
  * Describes the specified vocabulary.
608
648
  */
@@ -908,11 +948,11 @@ declare class Connect extends Service {
908
948
  */
909
949
  listLexBots(callback?: (err: AWSError, data: Connect.Types.ListLexBotsResponse) => void): Request<Connect.Types.ListLexBotsResponse, AWSError>;
910
950
  /**
911
- * 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.
951
+ * 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. We recommend using ListPhoneNumbersV2 to return phone number types. ListPhoneNumbers doesn't support number types UIFN, SHARED, THIRD_PARTY_TF, and THIRD_PARTY_DID. While it returns numbers of those types, it incorrectly lists them as TOLL_FREE or DID. 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.
912
952
  */
913
953
  listPhoneNumbers(params: Connect.Types.ListPhoneNumbersRequest, callback?: (err: AWSError, data: Connect.Types.ListPhoneNumbersResponse) => void): Request<Connect.Types.ListPhoneNumbersResponse, AWSError>;
914
954
  /**
915
- * 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.
955
+ * 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. We recommend using ListPhoneNumbersV2 to return phone number types. ListPhoneNumbers doesn't support number types UIFN, SHARED, THIRD_PARTY_TF, and THIRD_PARTY_DID. While it returns numbers of those types, it incorrectly lists them as TOLL_FREE or DID. 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.
916
956
  */
917
957
  listPhoneNumbers(callback?: (err: AWSError, data: Connect.Types.ListPhoneNumbersResponse) => void): Request<Connect.Types.ListPhoneNumbersResponse, AWSError>;
918
958
  /**
@@ -1059,6 +1099,22 @@ declare class Connect extends Service {
1059
1099
  * Provides summary information about the users for the specified Amazon Connect instance.
1060
1100
  */
1061
1101
  listUsers(callback?: (err: AWSError, data: Connect.Types.ListUsersResponse) => void): Request<Connect.Types.ListUsersResponse, AWSError>;
1102
+ /**
1103
+ * Returns all the available versions for the specified Amazon Connect instance and view identifier. Results will be sorted from highest to lowest.
1104
+ */
1105
+ listViewVersions(params: Connect.Types.ListViewVersionsRequest, callback?: (err: AWSError, data: Connect.Types.ListViewVersionsResponse) => void): Request<Connect.Types.ListViewVersionsResponse, AWSError>;
1106
+ /**
1107
+ * Returns all the available versions for the specified Amazon Connect instance and view identifier. Results will be sorted from highest to lowest.
1108
+ */
1109
+ listViewVersions(callback?: (err: AWSError, data: Connect.Types.ListViewVersionsResponse) => void): Request<Connect.Types.ListViewVersionsResponse, AWSError>;
1110
+ /**
1111
+ * Returns views in the given instance. Results are sorted primarily by type, and secondarily by name.
1112
+ */
1113
+ listViews(params: Connect.Types.ListViewsRequest, callback?: (err: AWSError, data: Connect.Types.ListViewsResponse) => void): Request<Connect.Types.ListViewsResponse, AWSError>;
1114
+ /**
1115
+ * Returns views in the given instance. Results are sorted primarily by type, and secondarily by name.
1116
+ */
1117
+ listViews(callback?: (err: AWSError, data: Connect.Types.ListViewsResponse) => void): Request<Connect.Types.ListViewsResponse, AWSError>;
1062
1118
  /**
1063
1119
  * Initiates silent monitoring of a contact. The Contact Control Panel (CCP) of the user specified by userId will be set to silent monitoring mode on the contact.
1064
1120
  */
@@ -1228,11 +1284,11 @@ declare class Connect extends Service {
1228
1284
  */
1229
1285
  startTaskContact(callback?: (err: AWSError, data: Connect.Types.StartTaskContactResponse) => void): Request<Connect.Types.StartTaskContactResponse, AWSError>;
1230
1286
  /**
1231
- * Ends the specified contact. This call does not work for the following initiation methods: DISCONNECT TRANSFER QUEUE_TRANSFER
1287
+ * Ends the specified contact. This call does not work for voice contacts that use the following initiation methods: DISCONNECT TRANSFER QUEUE_TRANSFER Chat and task contacts, however, can be terminated in any state, regardless of initiation method.
1232
1288
  */
1233
1289
  stopContact(params: Connect.Types.StopContactRequest, callback?: (err: AWSError, data: Connect.Types.StopContactResponse) => void): Request<Connect.Types.StopContactResponse, AWSError>;
1234
1290
  /**
1235
- * Ends the specified contact. This call does not work for the following initiation methods: DISCONNECT TRANSFER QUEUE_TRANSFER
1291
+ * Ends the specified contact. This call does not work for voice contacts that use the following initiation methods: DISCONNECT TRANSFER QUEUE_TRANSFER Chat and task contacts, however, can be terminated in any state, regardless of initiation method.
1236
1292
  */
1237
1293
  stopContact(callback?: (err: AWSError, data: Connect.Types.StopContactResponse) => void): Request<Connect.Types.StopContactResponse, AWSError>;
1238
1294
  /**
@@ -1452,11 +1508,11 @@ declare class Connect extends Service {
1452
1508
  */
1453
1509
  updateQueueName(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
1454
1510
  /**
1455
- * 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. Only use the phone number ARN format that doesn't contain instance in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
1511
+ * 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 phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for OutboundCallerIdNumberId. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is 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. Only use the phone number ARN format that doesn't contain instance in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region.
1456
1512
  */
1457
1513
  updateQueueOutboundCallerConfig(params: Connect.Types.UpdateQueueOutboundCallerConfigRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
1458
1514
  /**
1459
- * 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. Only use the phone number ARN format that doesn't contain instance in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API.
1515
+ * 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 phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for OutboundCallerIdNumberId. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is 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. Only use the phone number ARN format that doesn't contain instance in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region.
1460
1516
  */
1461
1517
  updateQueueOutboundCallerConfig(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
1462
1518
  /**
@@ -1548,11 +1604,11 @@ declare class Connect extends Service {
1548
1604
  */
1549
1605
  updateTaskTemplate(callback?: (err: AWSError, data: Connect.Types.UpdateTaskTemplateResponse) => void): Request<Connect.Types.UpdateTaskTemplateResponse, AWSError>;
1550
1606
  /**
1551
- * Updates the traffic distribution for a given traffic distribution group. You can change the SignInConfig only for a default TrafficDistributionGroup. If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned. 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.
1607
+ * Updates the traffic distribution for a given traffic distribution group. You can change the SignInConfig distribution only for a default TrafficDistributionGroup (see the IsDefault parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned. 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.
1552
1608
  */
1553
1609
  updateTrafficDistribution(params: Connect.Types.UpdateTrafficDistributionRequest, callback?: (err: AWSError, data: Connect.Types.UpdateTrafficDistributionResponse) => void): Request<Connect.Types.UpdateTrafficDistributionResponse, AWSError>;
1554
1610
  /**
1555
- * Updates the traffic distribution for a given traffic distribution group. You can change the SignInConfig only for a default TrafficDistributionGroup. If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned. 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.
1611
+ * Updates the traffic distribution for a given traffic distribution group. You can change the SignInConfig distribution only for a default TrafficDistributionGroup (see the IsDefault parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned. 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.
1556
1612
  */
1557
1613
  updateTrafficDistribution(callback?: (err: AWSError, data: Connect.Types.UpdateTrafficDistributionResponse) => void): Request<Connect.Types.UpdateTrafficDistributionResponse, AWSError>;
1558
1614
  /**
@@ -1611,6 +1667,22 @@ declare class Connect extends Service {
1611
1667
  * Assigns the specified security profiles to the specified user.
1612
1668
  */
1613
1669
  updateUserSecurityProfiles(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
1670
+ /**
1671
+ * Updates the view content of the given view identifier in the specified Amazon Connect instance. It performs content validation if Status is set to SAVED and performs full content validation if Status is PUBLISHED. Note that the $SAVED alias' content will always be updated, but the $LATEST alias' content will only be updated if Status is PUBLISHED.
1672
+ */
1673
+ updateViewContent(params: Connect.Types.UpdateViewContentRequest, callback?: (err: AWSError, data: Connect.Types.UpdateViewContentResponse) => void): Request<Connect.Types.UpdateViewContentResponse, AWSError>;
1674
+ /**
1675
+ * Updates the view content of the given view identifier in the specified Amazon Connect instance. It performs content validation if Status is set to SAVED and performs full content validation if Status is PUBLISHED. Note that the $SAVED alias' content will always be updated, but the $LATEST alias' content will only be updated if Status is PUBLISHED.
1676
+ */
1677
+ updateViewContent(callback?: (err: AWSError, data: Connect.Types.UpdateViewContentResponse) => void): Request<Connect.Types.UpdateViewContentResponse, AWSError>;
1678
+ /**
1679
+ * Updates the view metadata. Note that either Name or Description must be provided.
1680
+ */
1681
+ updateViewMetadata(params: Connect.Types.UpdateViewMetadataRequest, callback?: (err: AWSError, data: Connect.Types.UpdateViewMetadataResponse) => void): Request<Connect.Types.UpdateViewMetadataResponse, AWSError>;
1682
+ /**
1683
+ * Updates the view metadata. Note that either Name or Description must be provided.
1684
+ */
1685
+ updateViewMetadata(callback?: (err: AWSError, data: Connect.Types.UpdateViewMetadataResponse) => void): Request<Connect.Types.UpdateViewMetadataResponse, AWSError>;
1614
1686
  }
1615
1687
  declare namespace Connect {
1616
1688
  export type ARN = string;
@@ -3017,6 +3089,66 @@ declare namespace Connect {
3017
3089
  */
3018
3090
  UserArn?: ARN;
3019
3091
  }
3092
+ export interface CreateViewRequest {
3093
+ /**
3094
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
3095
+ */
3096
+ InstanceId: ViewsInstanceId;
3097
+ /**
3098
+ * A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.
3099
+ */
3100
+ ClientToken?: ViewsClientToken;
3101
+ /**
3102
+ * Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.
3103
+ */
3104
+ Status: ViewStatus;
3105
+ /**
3106
+ * View content containing all content necessary to render a view except for runtime input data. The total uncompressed content has a maximum file size of 400kB.
3107
+ */
3108
+ Content: ViewInputContent;
3109
+ /**
3110
+ * The description of the view.
3111
+ */
3112
+ Description?: ViewDescription;
3113
+ /**
3114
+ * The name of the view.
3115
+ */
3116
+ Name: ViewName;
3117
+ /**
3118
+ * The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
3119
+ */
3120
+ Tags?: TagMap;
3121
+ }
3122
+ export interface CreateViewResponse {
3123
+ /**
3124
+ * A view resource object. Contains metadata and content necessary to render the view.
3125
+ */
3126
+ View?: View;
3127
+ }
3128
+ export interface CreateViewVersionRequest {
3129
+ /**
3130
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
3131
+ */
3132
+ InstanceId: ViewsInstanceId;
3133
+ /**
3134
+ * The identifier of the view. Both ViewArn and ViewId can be used.
3135
+ */
3136
+ ViewId: ViewId;
3137
+ /**
3138
+ * The description for the version being published.
3139
+ */
3140
+ VersionDescription?: ViewDescription;
3141
+ /**
3142
+ * Indicates the checksum value of the latest published view content.
3143
+ */
3144
+ ViewContentSha256?: ViewContentSha256;
3145
+ }
3146
+ export interface CreateViewVersionResponse {
3147
+ /**
3148
+ * All view data is contained within the View object.
3149
+ */
3150
+ View?: View;
3151
+ }
3020
3152
  export interface CreateVocabularyRequest {
3021
3153
  /**
3022
3154
  * 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.
@@ -3369,6 +3501,34 @@ declare namespace Connect {
3369
3501
  */
3370
3502
  UserId: UserId;
3371
3503
  }
3504
+ export interface DeleteViewRequest {
3505
+ /**
3506
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
3507
+ */
3508
+ InstanceId: ViewsInstanceId;
3509
+ /**
3510
+ * The identifier of the view. Both ViewArn and ViewId can be used.
3511
+ */
3512
+ ViewId: ViewId;
3513
+ }
3514
+ export interface DeleteViewResponse {
3515
+ }
3516
+ export interface DeleteViewVersionRequest {
3517
+ /**
3518
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
3519
+ */
3520
+ InstanceId: ViewsInstanceId;
3521
+ /**
3522
+ * The identifier of the view. Both ViewArn and ViewId can be used.
3523
+ */
3524
+ ViewId: ViewId;
3525
+ /**
3526
+ * The version number of the view.
3527
+ */
3528
+ ViewVersion: ViewVersion;
3529
+ }
3530
+ export interface DeleteViewVersionResponse {
3531
+ }
3372
3532
  export interface DeleteVocabularyRequest {
3373
3533
  /**
3374
3534
  * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
@@ -3725,6 +3885,22 @@ declare namespace Connect {
3725
3885
  */
3726
3886
  User?: User;
3727
3887
  }
3888
+ export interface DescribeViewRequest {
3889
+ /**
3890
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
3891
+ */
3892
+ InstanceId: ViewsInstanceId;
3893
+ /**
3894
+ * The ViewId of the view. This must be an ARN for Amazon Web Services managed views.
3895
+ */
3896
+ ViewId: ViewId;
3897
+ }
3898
+ export interface DescribeViewResponse {
3899
+ /**
3900
+ * All view data is contained within the View object.
3901
+ */
3902
+ View?: View;
3903
+ }
3728
3904
  export interface DescribeVocabularyRequest {
3729
3905
  /**
3730
3906
  * The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
@@ -6330,6 +6506,62 @@ declare namespace Connect {
6330
6506
  */
6331
6507
  NextToken?: NextToken;
6332
6508
  }
6509
+ export interface ListViewVersionsRequest {
6510
+ /**
6511
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
6512
+ */
6513
+ InstanceId: ViewsInstanceId;
6514
+ /**
6515
+ * The identifier of the view. Both ViewArn and ViewId can be used.
6516
+ */
6517
+ ViewId: ViewId;
6518
+ /**
6519
+ * 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.
6520
+ */
6521
+ NextToken?: ViewsNextToken;
6522
+ /**
6523
+ * The maximum number of results to return per page. The default MaxResult size is 100.
6524
+ */
6525
+ MaxResults?: MaxResults;
6526
+ }
6527
+ export interface ListViewVersionsResponse {
6528
+ /**
6529
+ * A list of view version summaries.
6530
+ */
6531
+ ViewVersionSummaryList?: ViewVersionSummaryList;
6532
+ /**
6533
+ * 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.
6534
+ */
6535
+ NextToken?: ViewsNextToken;
6536
+ }
6537
+ export interface ListViewsRequest {
6538
+ /**
6539
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
6540
+ */
6541
+ InstanceId: ViewsInstanceId;
6542
+ /**
6543
+ * The type of the view.
6544
+ */
6545
+ Type?: ViewType;
6546
+ /**
6547
+ * 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.
6548
+ */
6549
+ NextToken?: ViewsNextToken;
6550
+ /**
6551
+ * The maximum number of results to return per page. The default MaxResult size is 100.
6552
+ */
6553
+ MaxResults?: MaxResults;
6554
+ }
6555
+ export interface ListViewsResponse {
6556
+ /**
6557
+ * A list of view summaries.
6558
+ */
6559
+ ViewsSummaryList?: ViewsSummaryList;
6560
+ /**
6561
+ * 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.
6562
+ */
6563
+ NextToken?: ViewsNextToken;
6564
+ }
6333
6565
  export type Long = number;
6334
6566
  export type MaxResult10 = number;
6335
6567
  export type MaxResult100 = number;
@@ -6338,6 +6570,7 @@ declare namespace Connect {
6338
6570
  export type MaxResult200 = number;
6339
6571
  export type MaxResult25 = number;
6340
6572
  export type MaxResult7 = number;
6573
+ export type MaxResults = number;
6341
6574
  export type MediaConcurrencies = MediaConcurrency[];
6342
6575
  export interface MediaConcurrency {
6343
6576
  /**
@@ -8415,7 +8648,7 @@ declare namespace Connect {
8415
8648
  */
8416
8649
  Tags?: TagMap;
8417
8650
  /**
8418
- * Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup API. The default traffic distribution group is deleted as part of the process for deleting a replica. You can change the SignInConfig only for a default TrafficDistributionGroup. If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.
8651
+ * Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup API. The default traffic distribution group is deleted as part of the process for deleting a replica. You can change the SignInConfig distribution only for a default TrafficDistributionGroup (see the IsDefault parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.
8419
8652
  */
8420
8653
  IsDefault?: Boolean;
8421
8654
  }
@@ -9342,6 +9575,50 @@ declare namespace Connect {
9342
9575
  */
9343
9576
  InstanceId: InstanceId;
9344
9577
  }
9578
+ export interface UpdateViewContentRequest {
9579
+ /**
9580
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
9581
+ */
9582
+ InstanceId: ViewsInstanceId;
9583
+ /**
9584
+ * The identifier of the view. Both ViewArn and ViewId can be used.
9585
+ */
9586
+ ViewId: ViewId;
9587
+ /**
9588
+ * Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.
9589
+ */
9590
+ Status: ViewStatus;
9591
+ /**
9592
+ * View content containing all content necessary to render a view except for runtime input data and the runtime input schema, which is auto-generated by this operation. The total uncompressed content has a maximum file size of 400kB.
9593
+ */
9594
+ Content: ViewInputContent;
9595
+ }
9596
+ export interface UpdateViewContentResponse {
9597
+ /**
9598
+ * A view resource object. Contains metadata and content necessary to render the view.
9599
+ */
9600
+ View?: View;
9601
+ }
9602
+ export interface UpdateViewMetadataRequest {
9603
+ /**
9604
+ * The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
9605
+ */
9606
+ InstanceId: ViewsInstanceId;
9607
+ /**
9608
+ * The identifier of the view. Both ViewArn and ViewId can be used.
9609
+ */
9610
+ ViewId: ViewId;
9611
+ /**
9612
+ * The name of the view.
9613
+ */
9614
+ Name?: ViewName;
9615
+ /**
9616
+ * The description of the view.
9617
+ */
9618
+ Description?: ViewDescription;
9619
+ }
9620
+ export interface UpdateViewMetadataResponse {
9621
+ }
9345
9622
  export type Url = string;
9346
9623
  export interface UrlReference {
9347
9624
  /**
@@ -9626,6 +9903,156 @@ declare namespace Connect {
9626
9903
  export type UserTagMap = {[key: string]: String};
9627
9904
  export type Value = number;
9628
9905
  export type VersionNumber = number;
9906
+ export interface View {
9907
+ /**
9908
+ * The identifier of the view.
9909
+ */
9910
+ Id?: ViewId;
9911
+ /**
9912
+ * The Amazon Resource Name (ARN) of the view.
9913
+ */
9914
+ Arn?: ARN;
9915
+ /**
9916
+ * The name of the view.
9917
+ */
9918
+ Name?: ViewName;
9919
+ /**
9920
+ * Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.
9921
+ */
9922
+ Status?: ViewStatus;
9923
+ /**
9924
+ * The type of the view - CUSTOMER_MANAGED.
9925
+ */
9926
+ Type?: ViewType;
9927
+ /**
9928
+ * The description of the view.
9929
+ */
9930
+ Description?: ViewDescription;
9931
+ /**
9932
+ * Current version of the view.
9933
+ */
9934
+ Version?: ViewVersion;
9935
+ /**
9936
+ * The description of the version.
9937
+ */
9938
+ VersionDescription?: ViewDescription;
9939
+ /**
9940
+ * View content containing all content necessary to render a view except for runtime input data.
9941
+ */
9942
+ Content?: ViewContent;
9943
+ /**
9944
+ * The tags associated with the view resource (not specific to view version).
9945
+ */
9946
+ Tags?: TagMap;
9947
+ /**
9948
+ * The timestamp of when the view was created.
9949
+ */
9950
+ CreatedTime?: Timestamp;
9951
+ /**
9952
+ * Latest timestamp of the UpdateViewContent or CreateViewVersion operations.
9953
+ */
9954
+ LastModifiedTime?: Timestamp;
9955
+ /**
9956
+ * Indicates the checksum value of the latest published view content.
9957
+ */
9958
+ ViewContentSha256?: ViewContentSha256;
9959
+ }
9960
+ export type ViewAction = string;
9961
+ export type ViewActions = ViewAction[];
9962
+ export interface ViewContent {
9963
+ /**
9964
+ * The data schema matching data that the view template must be provided to render.
9965
+ */
9966
+ InputSchema?: ViewInputSchema;
9967
+ /**
9968
+ * The view template representing the structure of the view.
9969
+ */
9970
+ Template?: ViewTemplate;
9971
+ /**
9972
+ * A list of possible actions from the view.
9973
+ */
9974
+ Actions?: ViewActions;
9975
+ }
9976
+ export type ViewContentSha256 = string;
9977
+ export type ViewDescription = string;
9978
+ export type ViewId = string;
9979
+ export interface ViewInputContent {
9980
+ /**
9981
+ * The view template representing the structure of the view.
9982
+ */
9983
+ Template?: ViewTemplate;
9984
+ /**
9985
+ * A list of possible actions from the view.
9986
+ */
9987
+ Actions?: ViewActions;
9988
+ }
9989
+ export type ViewInputSchema = string;
9990
+ export type ViewName = string;
9991
+ export type ViewStatus = "PUBLISHED"|"SAVED"|string;
9992
+ export interface ViewSummary {
9993
+ /**
9994
+ * The identifier of the view.
9995
+ */
9996
+ Id?: ViewId;
9997
+ /**
9998
+ * The Amazon Resource Name (ARN) of the view.
9999
+ */
10000
+ Arn?: ARN;
10001
+ /**
10002
+ * The name of the view.
10003
+ */
10004
+ Name?: ViewName;
10005
+ /**
10006
+ * The type of the view.
10007
+ */
10008
+ Type?: ViewType;
10009
+ /**
10010
+ * Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.
10011
+ */
10012
+ Status?: ViewStatus;
10013
+ /**
10014
+ * The description of the view.
10015
+ */
10016
+ Description?: ViewDescription;
10017
+ }
10018
+ export type ViewTemplate = string;
10019
+ export type ViewType = "CUSTOMER_MANAGED"|"AWS_MANAGED"|string;
10020
+ export type ViewVersion = number;
10021
+ export interface ViewVersionSummary {
10022
+ /**
10023
+ * The identifier of the view version.
10024
+ */
10025
+ Id?: ViewId;
10026
+ /**
10027
+ * The Amazon Resource Name (ARN) of the view version.
10028
+ */
10029
+ Arn?: ARN;
10030
+ /**
10031
+ * The description of the view version.
10032
+ */
10033
+ Description?: ViewDescription;
10034
+ /**
10035
+ * The name of the view version.
10036
+ */
10037
+ Name?: ViewName;
10038
+ /**
10039
+ * The type of the view version.
10040
+ */
10041
+ Type?: ViewType;
10042
+ /**
10043
+ * The sequentially incremented version of the view version.
10044
+ */
10045
+ Version?: ViewVersion;
10046
+ /**
10047
+ * The description of the view version.
10048
+ */
10049
+ VersionDescription?: ViewDescription;
10050
+ }
10051
+ export type ViewVersionSummaryList = ViewVersionSummary[];
10052
+ export type ViewsClientToken = string;
10053
+ export type ViewsInstanceId = string;
10054
+ export type ViewsNextToken = string;
10055
+ export type ViewsSummaryList = ViewSummary[];
9629
10056
  export interface Vocabulary {
9630
10057
  /**
9631
10058
  * A unique name of the custom vocabulary.