@aws-sdk/client-connect 3.635.0 → 3.644.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.
- package/dist-cjs/index.js +12 -1
- package/dist-es/models/models_1.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/commands/DescribeInstanceCommand.d.ts +11 -0
- package/dist-types/commands/ListTaskTemplatesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +87 -102
- package/dist-types/models/models_2.d.ts +111 -10
- package/dist-types/ts3.4/commands/ListTaskTemplatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_1.d.ts +21 -20
- package/dist-types/ts3.4/models/models_2.d.ts +20 -0
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -212,6 +212,7 @@ __export(src_exports, {
|
|
|
212
212
|
ImportPhoneNumberCommand: () => ImportPhoneNumberCommand,
|
|
213
213
|
InstanceAttributeType: () => InstanceAttributeType,
|
|
214
214
|
InstanceFilterSensitiveLog: () => InstanceFilterSensitiveLog,
|
|
215
|
+
InstanceReplicationStatus: () => InstanceReplicationStatus,
|
|
215
216
|
InstanceStatus: () => InstanceStatus,
|
|
216
217
|
InstanceStorageResourceType: () => InstanceStorageResourceType,
|
|
217
218
|
InstanceSummaryFilterSensitiveLog: () => InstanceSummaryFilterSensitiveLog,
|
|
@@ -1512,6 +1513,14 @@ var InstanceStatus = {
|
|
|
1512
1513
|
CREATION_FAILED: "CREATION_FAILED",
|
|
1513
1514
|
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS"
|
|
1514
1515
|
};
|
|
1516
|
+
var InstanceReplicationStatus = {
|
|
1517
|
+
INSTANCE_REPLICATION_COMPLETE: "INSTANCE_REPLICATION_COMPLETE",
|
|
1518
|
+
INSTANCE_REPLICATION_DELETION_FAILED: "INSTANCE_REPLICATION_DELETION_FAILED",
|
|
1519
|
+
INSTANCE_REPLICATION_FAILED: "INSTANCE_REPLICATION_FAILED",
|
|
1520
|
+
INSTANCE_REPLICATION_IN_PROGRESS: "INSTANCE_REPLICATION_IN_PROGRESS",
|
|
1521
|
+
INSTANCE_REPLICA_DELETING: "INSTANCE_REPLICA_DELETING",
|
|
1522
|
+
RESOURCE_REPLICATION_NOT_STARTED: "RESOURCE_REPLICATION_NOT_STARTED"
|
|
1523
|
+
};
|
|
1515
1524
|
var InstanceAttributeType = {
|
|
1516
1525
|
AUTO_RESOLVE_BEST_VOICES: "AUTO_RESOLVE_BEST_VOICES",
|
|
1517
1526
|
CONTACTFLOW_LOGS: "CONTACTFLOW_LOGS",
|
|
@@ -7367,7 +7376,8 @@ var de_DescribeInstanceCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
7367
7376
|
});
|
|
7368
7377
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
7369
7378
|
const doc = (0, import_smithy_client.take)(data, {
|
|
7370
|
-
Instance: (_) => de_Instance(_, context)
|
|
7379
|
+
Instance: (_) => de_Instance(_, context),
|
|
7380
|
+
ReplicationConfiguration: import_smithy_client._json
|
|
7371
7381
|
});
|
|
7372
7382
|
Object.assign(contents, doc);
|
|
7373
7383
|
return contents;
|
|
@@ -16770,6 +16780,7 @@ var paginateSearchVocabularies = (0, import_core.createPaginator)(ConnectClient,
|
|
|
16770
16780
|
ContactFlowModuleStatus,
|
|
16771
16781
|
EvaluationFormVersionStatus,
|
|
16772
16782
|
InstanceStatus,
|
|
16783
|
+
InstanceReplicationStatus,
|
|
16773
16784
|
InstanceAttributeType,
|
|
16774
16785
|
PhoneNumberCountryCode,
|
|
16775
16786
|
PhoneNumberWorkflowStatus,
|
|
@@ -57,6 +57,14 @@ export const InstanceStatus = {
|
|
|
57
57
|
CREATION_FAILED: "CREATION_FAILED",
|
|
58
58
|
CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS",
|
|
59
59
|
};
|
|
60
|
+
export const InstanceReplicationStatus = {
|
|
61
|
+
INSTANCE_REPLICATION_COMPLETE: "INSTANCE_REPLICATION_COMPLETE",
|
|
62
|
+
INSTANCE_REPLICATION_DELETION_FAILED: "INSTANCE_REPLICATION_DELETION_FAILED",
|
|
63
|
+
INSTANCE_REPLICATION_FAILED: "INSTANCE_REPLICATION_FAILED",
|
|
64
|
+
INSTANCE_REPLICATION_IN_PROGRESS: "INSTANCE_REPLICATION_IN_PROGRESS",
|
|
65
|
+
INSTANCE_REPLICA_DELETING: "INSTANCE_REPLICA_DELETING",
|
|
66
|
+
RESOURCE_REPLICATION_NOT_STARTED: "RESOURCE_REPLICATION_NOT_STARTED",
|
|
67
|
+
};
|
|
60
68
|
export const InstanceAttributeType = {
|
|
61
69
|
AUTO_RESOLVE_BEST_VOICES: "AUTO_RESOLVE_BEST_VOICES",
|
|
62
70
|
CONTACTFLOW_LOGS: "CONTACTFLOW_LOGS",
|
|
@@ -4730,6 +4730,7 @@ export const de_DescribeInstanceCommand = async (output, context) => {
|
|
|
4730
4730
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4731
4731
|
const doc = take(data, {
|
|
4732
4732
|
Instance: (_) => de_Instance(_, context),
|
|
4733
|
+
ReplicationConfiguration: _json,
|
|
4733
4734
|
});
|
|
4734
4735
|
Object.assign(contents, doc);
|
|
4735
4736
|
return contents;
|
|
@@ -63,6 +63,17 @@ declare const DescribeInstanceCommand_base: {
|
|
|
63
63
|
* // "<keys>": "STRING_VALUE",
|
|
64
64
|
* // },
|
|
65
65
|
* // },
|
|
66
|
+
* // ReplicationConfiguration: { // ReplicationConfiguration
|
|
67
|
+
* // ReplicationStatusSummaryList: [ // ReplicationStatusSummaryList
|
|
68
|
+
* // { // ReplicationStatusSummary
|
|
69
|
+
* // Region: "STRING_VALUE",
|
|
70
|
+
* // ReplicationStatus: "INSTANCE_REPLICATION_COMPLETE" || "INSTANCE_REPLICATION_IN_PROGRESS" || "INSTANCE_REPLICATION_FAILED" || "INSTANCE_REPLICA_DELETING" || "INSTANCE_REPLICATION_DELETION_FAILED" || "RESOURCE_REPLICATION_NOT_STARTED",
|
|
71
|
+
* // ReplicationStatusReason: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // SourceRegion: "STRING_VALUE",
|
|
75
|
+
* // GlobalSignInEndpoint: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
66
77
|
* // };
|
|
67
78
|
*
|
|
68
79
|
* ```
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
|
|
4
|
-
import { ListTaskTemplatesRequest, ListTaskTemplatesResponse } from "../models/
|
|
4
|
+
import { ListTaskTemplatesRequest, ListTaskTemplatesResponse } from "../models/models_2";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1471,7 +1471,7 @@ export interface AssociateSecurityKeyRequest {
|
|
|
1471
1471
|
*/
|
|
1472
1472
|
InstanceId: string | undefined;
|
|
1473
1473
|
/**
|
|
1474
|
-
* <p>A valid security key in PEM format.</p>
|
|
1474
|
+
* <p>A valid security key in PEM format as a String.</p>
|
|
1475
1475
|
* @public
|
|
1476
1476
|
*/
|
|
1477
1477
|
Key: string | undefined;
|
|
@@ -669,6 +669,82 @@ export interface Instance {
|
|
|
669
669
|
*/
|
|
670
670
|
Tags?: Record<string, string>;
|
|
671
671
|
}
|
|
672
|
+
/**
|
|
673
|
+
* @public
|
|
674
|
+
* @enum
|
|
675
|
+
*/
|
|
676
|
+
export declare const InstanceReplicationStatus: {
|
|
677
|
+
readonly INSTANCE_REPLICATION_COMPLETE: "INSTANCE_REPLICATION_COMPLETE";
|
|
678
|
+
readonly INSTANCE_REPLICATION_DELETION_FAILED: "INSTANCE_REPLICATION_DELETION_FAILED";
|
|
679
|
+
readonly INSTANCE_REPLICATION_FAILED: "INSTANCE_REPLICATION_FAILED";
|
|
680
|
+
readonly INSTANCE_REPLICATION_IN_PROGRESS: "INSTANCE_REPLICATION_IN_PROGRESS";
|
|
681
|
+
readonly INSTANCE_REPLICA_DELETING: "INSTANCE_REPLICA_DELETING";
|
|
682
|
+
readonly RESOURCE_REPLICATION_NOT_STARTED: "RESOURCE_REPLICATION_NOT_STARTED";
|
|
683
|
+
};
|
|
684
|
+
/**
|
|
685
|
+
* @public
|
|
686
|
+
*/
|
|
687
|
+
export type InstanceReplicationStatus = (typeof InstanceReplicationStatus)[keyof typeof InstanceReplicationStatus];
|
|
688
|
+
/**
|
|
689
|
+
* <p>Status information about the replication process, where you use the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ReplicateInstance.html">ReplicateInstance</a> API to create a replica of your Amazon Connect instance in
|
|
690
|
+
* another Amazon Web Services Region. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-connect-global-resiliency.html">Set up Amazon Connect
|
|
691
|
+
* Global Resiliency</a> in the <i>Amazon Connect Administrator Guide</i>.
|
|
692
|
+
* </p>
|
|
693
|
+
* @public
|
|
694
|
+
*/
|
|
695
|
+
export interface ReplicationStatusSummary {
|
|
696
|
+
/**
|
|
697
|
+
* <p>The Amazon Web Services Region. This can be either the source or the replica Region,
|
|
698
|
+
* depending where it appears in the summary list.</p>
|
|
699
|
+
* @public
|
|
700
|
+
*/
|
|
701
|
+
Region?: string;
|
|
702
|
+
/**
|
|
703
|
+
* <p>The state of the replication.</p>
|
|
704
|
+
* @public
|
|
705
|
+
*/
|
|
706
|
+
ReplicationStatus?: InstanceReplicationStatus;
|
|
707
|
+
/**
|
|
708
|
+
* <p>A description of the replication status. Use this information to resolve any issues that are
|
|
709
|
+
* preventing the successful replication of your Amazon Connect instance to another
|
|
710
|
+
* Region.</p>
|
|
711
|
+
* @public
|
|
712
|
+
*/
|
|
713
|
+
ReplicationStatusReason?: string;
|
|
714
|
+
}
|
|
715
|
+
/**
|
|
716
|
+
* <p>Details about the status of the replication of a source Amazon Connect instance across
|
|
717
|
+
* Amazon Web Services Regions. Use these details to understand the general status of a given
|
|
718
|
+
* replication. For information about why a replication process may fail, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/create-replica-connect-instance.html#why-replicateinstance-fails">Why a ReplicateInstance call fails</a> in the <i>Create a replica of your existing
|
|
719
|
+
* Amazon Connect instance</i> topic in the <i>Amazon Connect Administrator
|
|
720
|
+
* Guide</i>. </p>
|
|
721
|
+
* @public
|
|
722
|
+
*/
|
|
723
|
+
export interface ReplicationConfiguration {
|
|
724
|
+
/**
|
|
725
|
+
* <p>A list of replication status summaries. The summaries contain details about the replication
|
|
726
|
+
* of configuration information for Amazon Connect resources, for each Amazon Web Services
|
|
727
|
+
* Region.</p>
|
|
728
|
+
* @public
|
|
729
|
+
*/
|
|
730
|
+
ReplicationStatusSummaryList?: ReplicationStatusSummary[];
|
|
731
|
+
/**
|
|
732
|
+
* <p>The Amazon Web Services Region where the source Amazon Connect instance was created. This
|
|
733
|
+
* is the Region where the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ReplicateInstance.html">ReplicateInstance</a> API was
|
|
734
|
+
* called to start the replication process.</p>
|
|
735
|
+
* @public
|
|
736
|
+
*/
|
|
737
|
+
SourceRegion?: string;
|
|
738
|
+
/**
|
|
739
|
+
* <p>The URL that is used to sign-in to your Amazon Connect instance according to your
|
|
740
|
+
* traffic distribution group configuration. For more information about sign-in and traffic
|
|
741
|
+
* distribution groups, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/setup-traffic-distribution-groups.html">Important things to
|
|
742
|
+
* know</a> in the <i>Create traffic distribution groups</i> topic in the
|
|
743
|
+
* <i>Amazon Connect Administrator Guide</i>. </p>
|
|
744
|
+
* @public
|
|
745
|
+
*/
|
|
746
|
+
GlobalSignInEndpoint?: string;
|
|
747
|
+
}
|
|
672
748
|
/**
|
|
673
749
|
* @public
|
|
674
750
|
*/
|
|
@@ -678,6 +754,16 @@ export interface DescribeInstanceResponse {
|
|
|
678
754
|
* @public
|
|
679
755
|
*/
|
|
680
756
|
Instance?: Instance;
|
|
757
|
+
/**
|
|
758
|
+
* <p>Status information about the replication process. This field is included only when you are
|
|
759
|
+
* using the <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_ReplicateInstance.html">ReplicateInstance</a> API to
|
|
760
|
+
* replicate an Amazon Connect instance across Amazon Web Services Regions. For information about
|
|
761
|
+
* replicating Amazon Connect instances, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/create-replica-connect-instance.html">Create a replica of your
|
|
762
|
+
* existing Amazon Connect instance</a> in the <i>Amazon Connect Administrator
|
|
763
|
+
* Guide</i>.</p>
|
|
764
|
+
* @public
|
|
765
|
+
*/
|
|
766
|
+
ReplicationConfiguration?: ReplicationConfiguration;
|
|
681
767
|
}
|
|
682
768
|
/**
|
|
683
769
|
* @public
|
|
@@ -4973,7 +5059,7 @@ export interface GetMetricDataV2Request {
|
|
|
4973
5059
|
* metric.</p>
|
|
4974
5060
|
* </note>
|
|
4975
5061
|
* </dd>
|
|
4976
|
-
* <dt>
|
|
5062
|
+
* <dt>CONTACTS_ABANDONED</dt>
|
|
4977
5063
|
* <dd>
|
|
4978
5064
|
* <p>Unit: Count</p>
|
|
4979
5065
|
* <p>Metric filter: </p>
|
|
@@ -8647,107 +8733,6 @@ export interface ListTagsForResourceResponse {
|
|
|
8647
8733
|
*/
|
|
8648
8734
|
tags?: Record<string, string>;
|
|
8649
8735
|
}
|
|
8650
|
-
/**
|
|
8651
|
-
* @public
|
|
8652
|
-
*/
|
|
8653
|
-
export interface ListTaskTemplatesRequest {
|
|
8654
|
-
/**
|
|
8655
|
-
* <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
|
|
8656
|
-
* @public
|
|
8657
|
-
*/
|
|
8658
|
-
InstanceId: string | undefined;
|
|
8659
|
-
/**
|
|
8660
|
-
* <p>The token for the next set of results. Use the value returned in the previous
|
|
8661
|
-
* response in the next request to retrieve the next set of results.</p>
|
|
8662
|
-
* <important>
|
|
8663
|
-
* <p>It is not expected that you set this because the value returned in the previous response is
|
|
8664
|
-
* always null.</p>
|
|
8665
|
-
* </important>
|
|
8666
|
-
* @public
|
|
8667
|
-
*/
|
|
8668
|
-
NextToken?: string;
|
|
8669
|
-
/**
|
|
8670
|
-
* <p>The maximum number of results to return per page.</p>
|
|
8671
|
-
* <important>
|
|
8672
|
-
* <p>It is not expected that you set this.</p>
|
|
8673
|
-
* </important>
|
|
8674
|
-
* @public
|
|
8675
|
-
*/
|
|
8676
|
-
MaxResults?: number;
|
|
8677
|
-
/**
|
|
8678
|
-
* <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
|
|
8679
|
-
* Tasks can only be created from <code>ACTIVE</code> templates.
|
|
8680
|
-
* If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.</p>
|
|
8681
|
-
* @public
|
|
8682
|
-
*/
|
|
8683
|
-
Status?: TaskTemplateStatus;
|
|
8684
|
-
/**
|
|
8685
|
-
* <p>The name of the task template.</p>
|
|
8686
|
-
* @public
|
|
8687
|
-
*/
|
|
8688
|
-
Name?: string;
|
|
8689
|
-
}
|
|
8690
|
-
/**
|
|
8691
|
-
* <p>Contains summary information about the task template.</p>
|
|
8692
|
-
* @public
|
|
8693
|
-
*/
|
|
8694
|
-
export interface TaskTemplateMetadata {
|
|
8695
|
-
/**
|
|
8696
|
-
* <p>A unique identifier for the task template.</p>
|
|
8697
|
-
* @public
|
|
8698
|
-
*/
|
|
8699
|
-
Id?: string;
|
|
8700
|
-
/**
|
|
8701
|
-
* <p>The Amazon Resource Name (ARN) of the task template.</p>
|
|
8702
|
-
* @public
|
|
8703
|
-
*/
|
|
8704
|
-
Arn?: string;
|
|
8705
|
-
/**
|
|
8706
|
-
* <p>The name of the task template.</p>
|
|
8707
|
-
* @public
|
|
8708
|
-
*/
|
|
8709
|
-
Name?: string;
|
|
8710
|
-
/**
|
|
8711
|
-
* <p>The description of the task template.</p>
|
|
8712
|
-
* @public
|
|
8713
|
-
*/
|
|
8714
|
-
Description?: string;
|
|
8715
|
-
/**
|
|
8716
|
-
* <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
|
|
8717
|
-
* Tasks can only be created from <code>ACTIVE</code> templates.
|
|
8718
|
-
* If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.</p>
|
|
8719
|
-
* @public
|
|
8720
|
-
*/
|
|
8721
|
-
Status?: TaskTemplateStatus;
|
|
8722
|
-
/**
|
|
8723
|
-
* <p>The timestamp when the task template was last modified.</p>
|
|
8724
|
-
* @public
|
|
8725
|
-
*/
|
|
8726
|
-
LastModifiedTime?: Date;
|
|
8727
|
-
/**
|
|
8728
|
-
* <p>The timestamp when the task template was created.</p>
|
|
8729
|
-
* @public
|
|
8730
|
-
*/
|
|
8731
|
-
CreatedTime?: Date;
|
|
8732
|
-
}
|
|
8733
|
-
/**
|
|
8734
|
-
* @public
|
|
8735
|
-
*/
|
|
8736
|
-
export interface ListTaskTemplatesResponse {
|
|
8737
|
-
/**
|
|
8738
|
-
* <p>Provides details about a list of task templates belonging to an instance.</p>
|
|
8739
|
-
* @public
|
|
8740
|
-
*/
|
|
8741
|
-
TaskTemplates?: TaskTemplateMetadata[];
|
|
8742
|
-
/**
|
|
8743
|
-
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
8744
|
-
* <important>
|
|
8745
|
-
* <p>This is always returned as a null in the response.</p>
|
|
8746
|
-
* </important>
|
|
8747
|
-
* @public
|
|
8748
|
-
*/
|
|
8749
|
-
NextToken?: string;
|
|
8750
|
-
}
|
|
8751
8736
|
/**
|
|
8752
8737
|
* @internal
|
|
8753
8738
|
*/
|
|
@@ -2,6 +2,107 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
2
2
|
import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
|
|
3
3
|
import { AgentAvailabilityTimer, AgentConfig, AgentHierarchyGroups, AgentInfo, AgentStatus, AgentStatusSearchFilter, AgentStatusState, AllowedCapabilities, AnsweringMachineDetectionStatus, Application, AttributeCondition, Campaign, Channel, ContactFlowStatus, ContactFlowType, ContactInitiationMethod, ControlPlaneAttributeFilter, CreatedByInfo, Customer, CustomerVoiceActivity, DisconnectDetails, EvaluationFormQuestion, EvaluationFormScoringStrategy, Expiry, FileStatusType, FileUseCaseType, HoursOfOperationConfig, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, MonitorCapability, OutboundCallerConfig, ParticipantRole, PredefinedAttributeValues, QualityMetrics, QueueInfo, QuickConnectConfig, Reference, RehydrationType, RoutingProfileQueueConfig, RuleAction, RulePublishStatus, StringComparisonType, StringCondition, TagCondition, TaskTemplateConstraints, TaskTemplateDefaults, TaskTemplateField, TaskTemplateStatus, UseCaseType, UserIdentityInfo, UserPhoneConfig, UserProficiency, View, ViewInputContent, ViewStatus, ViewType, VocabularyLanguageCode, VocabularyState } from "./models_0";
|
|
4
4
|
import { ContactFlow, ContactFlowModule, ContactFlowModuleState, ContactFlowState, Evaluation, EvaluationAnswerData, EvaluationFormVersionStatus, EvaluationNote, HierarchyGroup, HierarchyGroupSummary, HoursOfOperation, InstanceAttributeType, PhoneNumberCountryCode, PhoneNumberType, PredefinedAttribute, Prompt, Queue, QueueStatus, QuickConnect, RoutingCriteriaStepStatus, RoutingProfile, SegmentAttributeValue, SignInConfig, SortOrder, TelephonyConfig, TrafficDistributionGroupStatus, WisdomInfo } from "./models_1";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface ListTaskTemplatesRequest {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
InstanceId: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The token for the next set of results. Use the value returned in the previous
|
|
16
|
+
* response in the next request to retrieve the next set of results.</p>
|
|
17
|
+
* <important>
|
|
18
|
+
* <p>It is not expected that you set this because the value returned in the previous response is
|
|
19
|
+
* always null.</p>
|
|
20
|
+
* </important>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
NextToken?: string;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The maximum number of results to return per page.</p>
|
|
26
|
+
* <important>
|
|
27
|
+
* <p>It is not expected that you set this.</p>
|
|
28
|
+
* </important>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
MaxResults?: number;
|
|
32
|
+
/**
|
|
33
|
+
* <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
|
|
34
|
+
* Tasks can only be created from <code>ACTIVE</code> templates.
|
|
35
|
+
* If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
Status?: TaskTemplateStatus;
|
|
39
|
+
/**
|
|
40
|
+
* <p>The name of the task template.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
Name?: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* <p>Contains summary information about the task template.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export interface TaskTemplateMetadata {
|
|
50
|
+
/**
|
|
51
|
+
* <p>A unique identifier for the task template.</p>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
Id?: string;
|
|
55
|
+
/**
|
|
56
|
+
* <p>The Amazon Resource Name (ARN) of the task template.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
Arn?: string;
|
|
60
|
+
/**
|
|
61
|
+
* <p>The name of the task template.</p>
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
Name?: string;
|
|
65
|
+
/**
|
|
66
|
+
* <p>The description of the task template.</p>
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
Description?: string;
|
|
70
|
+
/**
|
|
71
|
+
* <p>Marks a template as <code>ACTIVE</code> or <code>INACTIVE</code> for a task to refer to it.
|
|
72
|
+
* Tasks can only be created from <code>ACTIVE</code> templates.
|
|
73
|
+
* If a template is marked as <code>INACTIVE</code>, then a task that refers to this template cannot be created.</p>
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
Status?: TaskTemplateStatus;
|
|
77
|
+
/**
|
|
78
|
+
* <p>The timestamp when the task template was last modified.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
LastModifiedTime?: Date;
|
|
82
|
+
/**
|
|
83
|
+
* <p>The timestamp when the task template was created.</p>
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
CreatedTime?: Date;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export interface ListTaskTemplatesResponse {
|
|
92
|
+
/**
|
|
93
|
+
* <p>Provides details about a list of task templates belonging to an instance.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
TaskTemplates?: TaskTemplateMetadata[];
|
|
97
|
+
/**
|
|
98
|
+
* <p>If there are additional results, this is the token for the next set of results.</p>
|
|
99
|
+
* <important>
|
|
100
|
+
* <p>This is always returned as a null in the response.</p>
|
|
101
|
+
* </important>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
NextToken?: string;
|
|
105
|
+
}
|
|
5
106
|
/**
|
|
6
107
|
* @public
|
|
7
108
|
*/
|
|
@@ -4109,15 +4210,13 @@ export interface UpdateContactFlowNameResponse {
|
|
|
4109
4210
|
}
|
|
4110
4211
|
/**
|
|
4111
4212
|
* <p>Specify whether this routing criteria step should apply for only a limited amount of time,
|
|
4112
|
-
or if it should
|
|
4113
|
-
* never expire.</p>
|
|
4213
|
+
* or if it should never expire.</p>
|
|
4114
4214
|
* @public
|
|
4115
4215
|
*/
|
|
4116
4216
|
export interface RoutingCriteriaInputStepExpiry {
|
|
4117
4217
|
/**
|
|
4118
4218
|
* <p>The number of seconds that the contact will be routed only to agents matching this routing
|
|
4119
|
-
|
|
4120
|
-
* was configured for this routing step.</p>
|
|
4219
|
+
* step, if expiry was configured for this routing step.</p>
|
|
4121
4220
|
* @public
|
|
4122
4221
|
*/
|
|
4123
4222
|
DurationInSeconds?: number;
|
|
@@ -6023,8 +6122,8 @@ export interface DescribeEvaluationFormResponse {
|
|
|
6023
6122
|
EvaluationForm: EvaluationForm | undefined;
|
|
6024
6123
|
}
|
|
6025
6124
|
/**
|
|
6026
|
-
* <p>Step defines the list of agents to be routed or route based on the agent requirements such
|
|
6027
|
-
* Name, or Value.</p>
|
|
6125
|
+
* <p>Step defines the list of agents to be routed or route based on the agent requirements such
|
|
6126
|
+
* as ProficiencyLevel, Name, or Value.</p>
|
|
6028
6127
|
* @public
|
|
6029
6128
|
*/
|
|
6030
6129
|
export interface RoutingCriteriaInputStep {
|
|
@@ -6502,10 +6601,12 @@ export interface RoutingCriteria {
|
|
|
6502
6601
|
*/
|
|
6503
6602
|
export interface RoutingCriteriaInput {
|
|
6504
6603
|
/**
|
|
6505
|
-
* <p>When Amazon Connect does not find an available agent meeting the requirements in a step
|
|
6506
|
-
*
|
|
6507
|
-
|
|
6508
|
-
*
|
|
6604
|
+
* <p>When Amazon Connect does not find an available agent meeting the requirements in a step
|
|
6605
|
+
* for
|
|
6606
|
+
a given step duration, the routing criteria will move on to the next step sequentially until
|
|
6607
|
+
* a
|
|
6608
|
+
join is completed with an agent. When all steps are exhausted, the contact will be offered to
|
|
6609
|
+
* any agent in the queue.</p>
|
|
6509
6610
|
* @public
|
|
6510
6611
|
*/
|
|
6511
6612
|
Steps?: RoutingCriteriaInputStep[];
|
|
@@ -264,8 +264,29 @@ export interface Instance {
|
|
|
264
264
|
InstanceAccessUrl?: string;
|
|
265
265
|
Tags?: Record<string, string>;
|
|
266
266
|
}
|
|
267
|
+
export declare const InstanceReplicationStatus: {
|
|
268
|
+
readonly INSTANCE_REPLICATION_COMPLETE: "INSTANCE_REPLICATION_COMPLETE";
|
|
269
|
+
readonly INSTANCE_REPLICATION_DELETION_FAILED: "INSTANCE_REPLICATION_DELETION_FAILED";
|
|
270
|
+
readonly INSTANCE_REPLICATION_FAILED: "INSTANCE_REPLICATION_FAILED";
|
|
271
|
+
readonly INSTANCE_REPLICATION_IN_PROGRESS: "INSTANCE_REPLICATION_IN_PROGRESS";
|
|
272
|
+
readonly INSTANCE_REPLICA_DELETING: "INSTANCE_REPLICA_DELETING";
|
|
273
|
+
readonly RESOURCE_REPLICATION_NOT_STARTED: "RESOURCE_REPLICATION_NOT_STARTED";
|
|
274
|
+
};
|
|
275
|
+
export type InstanceReplicationStatus =
|
|
276
|
+
(typeof InstanceReplicationStatus)[keyof typeof InstanceReplicationStatus];
|
|
277
|
+
export interface ReplicationStatusSummary {
|
|
278
|
+
Region?: string;
|
|
279
|
+
ReplicationStatus?: InstanceReplicationStatus;
|
|
280
|
+
ReplicationStatusReason?: string;
|
|
281
|
+
}
|
|
282
|
+
export interface ReplicationConfiguration {
|
|
283
|
+
ReplicationStatusSummaryList?: ReplicationStatusSummary[];
|
|
284
|
+
SourceRegion?: string;
|
|
285
|
+
GlobalSignInEndpoint?: string;
|
|
286
|
+
}
|
|
267
287
|
export interface DescribeInstanceResponse {
|
|
268
288
|
Instance?: Instance;
|
|
289
|
+
ReplicationConfiguration?: ReplicationConfiguration;
|
|
269
290
|
}
|
|
270
291
|
export declare const InstanceAttributeType: {
|
|
271
292
|
readonly AUTO_RESOLVE_BEST_VOICES: "AUTO_RESOLVE_BEST_VOICES";
|
|
@@ -2209,26 +2230,6 @@ export interface ListTagsForResourceRequest {
|
|
|
2209
2230
|
export interface ListTagsForResourceResponse {
|
|
2210
2231
|
tags?: Record<string, string>;
|
|
2211
2232
|
}
|
|
2212
|
-
export interface ListTaskTemplatesRequest {
|
|
2213
|
-
InstanceId: string | undefined;
|
|
2214
|
-
NextToken?: string;
|
|
2215
|
-
MaxResults?: number;
|
|
2216
|
-
Status?: TaskTemplateStatus;
|
|
2217
|
-
Name?: string;
|
|
2218
|
-
}
|
|
2219
|
-
export interface TaskTemplateMetadata {
|
|
2220
|
-
Id?: string;
|
|
2221
|
-
Arn?: string;
|
|
2222
|
-
Name?: string;
|
|
2223
|
-
Description?: string;
|
|
2224
|
-
Status?: TaskTemplateStatus;
|
|
2225
|
-
LastModifiedTime?: Date;
|
|
2226
|
-
CreatedTime?: Date;
|
|
2227
|
-
}
|
|
2228
|
-
export interface ListTaskTemplatesResponse {
|
|
2229
|
-
TaskTemplates?: TaskTemplateMetadata[];
|
|
2230
|
-
NextToken?: string;
|
|
2231
|
-
}
|
|
2232
2233
|
export declare const InstanceFilterSensitiveLog: (obj: Instance) => any;
|
|
2233
2234
|
export declare const DescribeInstanceResponseFilterSensitiveLog: (
|
|
2234
2235
|
obj: DescribeInstanceResponse
|
|
@@ -90,6 +90,26 @@ import {
|
|
|
90
90
|
TrafficDistributionGroupStatus,
|
|
91
91
|
WisdomInfo,
|
|
92
92
|
} from "./models_1";
|
|
93
|
+
export interface ListTaskTemplatesRequest {
|
|
94
|
+
InstanceId: string | undefined;
|
|
95
|
+
NextToken?: string;
|
|
96
|
+
MaxResults?: number;
|
|
97
|
+
Status?: TaskTemplateStatus;
|
|
98
|
+
Name?: string;
|
|
99
|
+
}
|
|
100
|
+
export interface TaskTemplateMetadata {
|
|
101
|
+
Id?: string;
|
|
102
|
+
Arn?: string;
|
|
103
|
+
Name?: string;
|
|
104
|
+
Description?: string;
|
|
105
|
+
Status?: TaskTemplateStatus;
|
|
106
|
+
LastModifiedTime?: Date;
|
|
107
|
+
CreatedTime?: Date;
|
|
108
|
+
}
|
|
109
|
+
export interface ListTaskTemplatesResponse {
|
|
110
|
+
TaskTemplates?: TaskTemplateMetadata[];
|
|
111
|
+
NextToken?: string;
|
|
112
|
+
}
|
|
93
113
|
export interface ListTrafficDistributionGroupsRequest {
|
|
94
114
|
MaxResults?: number;
|
|
95
115
|
NextToken?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-connect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Connect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.644.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-connect",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.637.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.637.0",
|
|
25
25
|
"@aws-sdk/core": "3.635.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.637.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.637.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.637.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|