aws-sdk 2.1551.0 → 2.1553.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/README.md +1 -1
- package/apis/appsync-2017-07-25.min.json +67 -6
- package/apis/datasync-2018-11-09.min.json +76 -32
- package/apis/es-2015-01-01.min.json +227 -152
- package/apis/logs-2014-03-28.min.json +2 -1
- package/apis/models.lex.v2-2020-08-07.min.json +597 -333
- package/apis/models.lex.v2-2020-08-07.paginators.json +10 -0
- package/apis/opensearch-2021-01-01.min.json +259 -184
- package/apis/redshift-2012-12-01.min.json +68 -3
- package/apis/redshift-2012-12-01.paginators.json +6 -0
- package/apis/wafv2-2019-07-29.min.json +45 -28
- package/clients/appsync.d.ts +47 -0
- package/clients/cloudwatchlogs.d.ts +12 -8
- package/clients/datasync.d.ts +185 -124
- package/clients/ecs.d.ts +5 -5
- package/clients/es.d.ts +111 -0
- package/clients/lexmodelsv2.d.ts +324 -0
- package/clients/opensearch.d.ts +108 -0
- package/clients/redshift.d.ts +119 -0
- package/clients/wafv2.d.ts +23 -3
- package/dist/aws-sdk-core-react-native.js +132 -88
- package/dist/aws-sdk-react-native.js +2223 -2135
- package/dist/aws-sdk.js +79 -7
- package/dist/aws-sdk.min.js +37 -37
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/ecs.d.ts
CHANGED
@@ -968,7 +968,7 @@ declare namespace ECS {
|
|
968
968
|
*/
|
969
969
|
healthCheck?: HealthCheck;
|
970
970
|
/**
|
971
|
-
* A list of namespaced kernel parameters to set in the container. This parameter maps to Sysctls in the Create a container section of the Docker Remote API and the --sysctl option to docker run. For example, you can configure net.ipv4.tcp_keepalive_time setting to maintain longer lived connections.
|
971
|
+
* A list of namespaced kernel parameters to set in the container. This parameter maps to Sysctls in the Create a container section of the Docker Remote API and the --sysctl option to docker run. For example, you can configure net.ipv4.tcp_keepalive_time setting to maintain longer lived connections.
|
972
972
|
*/
|
973
973
|
systemControls?: SystemControls;
|
974
974
|
/**
|
@@ -2564,7 +2564,7 @@ declare namespace ECS {
|
|
2564
2564
|
*/
|
2565
2565
|
loadBalancerName?: String;
|
2566
2566
|
/**
|
2567
|
-
* The name of the container (as it appears in a container definition) to associate with the load balancer.
|
2567
|
+
* The name of the container (as it appears in a container definition) to associate with the load balancer. You need to specify the container name when configuring the target group for an Amazon ECS load balancer.
|
2568
2568
|
*/
|
2569
2569
|
containerName?: String;
|
2570
2570
|
/**
|
@@ -2997,7 +2997,7 @@ declare namespace ECS {
|
|
2997
2997
|
*/
|
2998
2998
|
inferenceAccelerators?: InferenceAccelerators;
|
2999
2999
|
/**
|
3000
|
-
* The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate. For more information, see
|
3000
|
+
* The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate. For more information, see Using data volumes in tasks in the Amazon ECS Developer Guide. For tasks using the Fargate launch type, the task requires the following platforms: Linux platform version 1.4.0 or later. Windows platform version 1.0.0 or later.
|
3001
3001
|
*/
|
3002
3002
|
ephemeralStorage?: EphemeralStorage;
|
3003
3003
|
/**
|
@@ -3087,7 +3087,7 @@ declare namespace ECS {
|
|
3087
3087
|
*/
|
3088
3088
|
group?: String;
|
3089
3089
|
/**
|
3090
|
-
* The infrastructure to run your standalone task on. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide. The FARGATE launch type runs your tasks on Fargate On-Demand infrastructure. Fargate Spot infrastructure is available for use but a capacity provider strategy must be used. For more information, see Fargate capacity providers in the Amazon ECS
|
3090
|
+
* The infrastructure to run your standalone task on. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide. The FARGATE launch type runs your tasks on Fargate On-Demand infrastructure. Fargate Spot infrastructure is available for use but a capacity provider strategy must be used. For more information, see Fargate capacity providers in the Amazon ECS Developer Guide. The EC2 launch type runs your tasks on Amazon EC2 instances registered to your cluster. The EXTERNAL launch type runs your tasks on your on-premises server or virtual machine (VM) capacity registered to your cluster. A task can use either a launch type or a capacity provider strategy. If a launchType is specified, the capacityProviderStrategy parameter must be omitted. When you use cluster auto scaling, you must specify capacityProviderStrategy and not launchType.
|
3091
3091
|
*/
|
3092
3092
|
launchType?: LaunchType;
|
3093
3093
|
/**
|
@@ -3861,7 +3861,7 @@ declare namespace ECS {
|
|
3861
3861
|
*/
|
3862
3862
|
startedBy?: String;
|
3863
3863
|
/**
|
3864
|
-
* The stop code indicating why a task was stopped. The stoppedReason might contain additional details. For more information about stop code, see Stopped tasks error codes in the Amazon ECS
|
3864
|
+
* The stop code indicating why a task was stopped. The stoppedReason might contain additional details. For more information about stop code, see Stopped tasks error codes in the Amazon ECS Developer Guide.
|
3865
3865
|
*/
|
3866
3866
|
stopCode?: TaskStopCode;
|
3867
3867
|
/**
|
package/clients/es.d.ts
CHANGED
@@ -43,6 +43,14 @@ declare class ES extends Service {
|
|
43
43
|
* Provides access to an Amazon OpenSearch Service domain through the use of an interface VPC endpoint.
|
44
44
|
*/
|
45
45
|
authorizeVpcEndpointAccess(callback?: (err: AWSError, data: ES.Types.AuthorizeVpcEndpointAccessResponse) => void): Request<ES.Types.AuthorizeVpcEndpointAccessResponse, AWSError>;
|
46
|
+
/**
|
47
|
+
* Cancels a pending configuration change on an Amazon OpenSearch Service domain.
|
48
|
+
*/
|
49
|
+
cancelDomainConfigChange(params: ES.Types.CancelDomainConfigChangeRequest, callback?: (err: AWSError, data: ES.Types.CancelDomainConfigChangeResponse) => void): Request<ES.Types.CancelDomainConfigChangeResponse, AWSError>;
|
50
|
+
/**
|
51
|
+
* Cancels a pending configuration change on an Amazon OpenSearch Service domain.
|
52
|
+
*/
|
53
|
+
cancelDomainConfigChange(callback?: (err: AWSError, data: ES.Types.CancelDomainConfigChangeResponse) => void): Request<ES.Types.CancelDomainConfigChangeResponse, AWSError>;
|
46
54
|
/**
|
47
55
|
* Cancels a scheduled service software update for an Amazon ES domain. You can only perform this operation before the AutomatedUpdateDate and when the UpdateStatus is in the PENDING_UPDATE state.
|
48
56
|
*/
|
@@ -667,6 +675,30 @@ declare namespace ES {
|
|
667
675
|
export type AutoTuneType = "SCHEDULED_ACTION"|string;
|
668
676
|
export type BackendRole = string;
|
669
677
|
export type Boolean = boolean;
|
678
|
+
export interface CancelDomainConfigChangeRequest {
|
679
|
+
/**
|
680
|
+
* Name of the OpenSearch Service domain configuration request to cancel.
|
681
|
+
*/
|
682
|
+
DomainName: DomainName;
|
683
|
+
/**
|
684
|
+
* When set to True, returns the list of change IDs and properties that will be cancelled without actually cancelling the change.
|
685
|
+
*/
|
686
|
+
DryRun?: DryRun;
|
687
|
+
}
|
688
|
+
export interface CancelDomainConfigChangeResponse {
|
689
|
+
/**
|
690
|
+
* Whether or not the request was a dry run. If True, the changes were not actually cancelled.
|
691
|
+
*/
|
692
|
+
DryRun?: DryRun;
|
693
|
+
/**
|
694
|
+
* The unique identifiers of the changes that were cancelled.
|
695
|
+
*/
|
696
|
+
CancelledChangeIds?: GUIDList;
|
697
|
+
/**
|
698
|
+
* The domain change properties that were cancelled.
|
699
|
+
*/
|
700
|
+
CancelledChangeProperties?: CancelledChangePropertyList;
|
701
|
+
}
|
670
702
|
export interface CancelElasticsearchServiceSoftwareUpdateRequest {
|
671
703
|
/**
|
672
704
|
* The name of the domain that you want to stop the latest service software update on.
|
@@ -679,6 +711,21 @@ declare namespace ES {
|
|
679
711
|
*/
|
680
712
|
ServiceSoftwareOptions?: ServiceSoftwareOptions;
|
681
713
|
}
|
714
|
+
export interface CancelledChangeProperty {
|
715
|
+
/**
|
716
|
+
* The name of the property whose change was cancelled.
|
717
|
+
*/
|
718
|
+
PropertyName?: String;
|
719
|
+
/**
|
720
|
+
* The pending value of the property that was cancelled. This would have been the eventual value of the property if the chance had not been cancelled.
|
721
|
+
*/
|
722
|
+
CancelledValue?: String;
|
723
|
+
/**
|
724
|
+
* The current value of the property, after the change was cancelled.
|
725
|
+
*/
|
726
|
+
ActiveValue?: String;
|
727
|
+
}
|
728
|
+
export type CancelledChangePropertyList = CancelledChangeProperty[];
|
682
729
|
export interface ChangeProgressDetails {
|
683
730
|
/**
|
684
731
|
* The unique change identifier associated with a specific domain configuration change.
|
@@ -688,6 +735,22 @@ declare namespace ES {
|
|
688
735
|
* Contains an optional message associated with the domain configuration change.
|
689
736
|
*/
|
690
737
|
Message?: Message;
|
738
|
+
/**
|
739
|
+
* The current status of the configuration change.
|
740
|
+
*/
|
741
|
+
ConfigChangeStatus?: ConfigChangeStatus;
|
742
|
+
/**
|
743
|
+
* The time that the configuration change was initiated, in Universal Coordinated Time (UTC).
|
744
|
+
*/
|
745
|
+
StartTime?: UpdateTimestamp;
|
746
|
+
/**
|
747
|
+
* The last time that the configuration change was updated.
|
748
|
+
*/
|
749
|
+
LastUpdatedTime?: UpdateTimestamp;
|
750
|
+
/**
|
751
|
+
* The IAM principal who initiated the configuration change.
|
752
|
+
*/
|
753
|
+
InitiatedBy?: InitiatedBy;
|
691
754
|
}
|
692
755
|
export interface ChangeProgressStage {
|
693
756
|
/**
|
@@ -739,6 +802,18 @@ declare namespace ES {
|
|
739
802
|
* The specific stages that the domain is going through to perform the configuration change.
|
740
803
|
*/
|
741
804
|
ChangeProgressStages?: ChangeProgressStageList;
|
805
|
+
/**
|
806
|
+
* The current status of the configuration change.
|
807
|
+
*/
|
808
|
+
ConfigChangeStatus?: ConfigChangeStatus;
|
809
|
+
/**
|
810
|
+
* The last time that the status of the configuration change was updated.
|
811
|
+
*/
|
812
|
+
LastUpdatedTime?: UpdateTimestamp;
|
813
|
+
/**
|
814
|
+
* The IAM principal who initiated the configuration change.
|
815
|
+
*/
|
816
|
+
InitiatedBy?: InitiatedBy;
|
742
817
|
}
|
743
818
|
export type ClientToken = string;
|
744
819
|
export type CloudWatchLogsLogGroupArn = string;
|
@@ -785,6 +860,7 @@ declare namespace ES {
|
|
785
860
|
SourceVersion?: ElasticsearchVersionString;
|
786
861
|
TargetVersions?: ElasticsearchVersionList;
|
787
862
|
}
|
863
|
+
export type ConfigChangeStatus = "Pending"|"Initializing"|"Validating"|"ValidationFailed"|"ApplyingChanges"|"Completed"|"PendingUserInput"|"Cancelled"|string;
|
788
864
|
export type ConnectionAlias = string;
|
789
865
|
export interface CreateElasticsearchDomainRequest {
|
790
866
|
/**
|
@@ -1352,6 +1428,7 @@ declare namespace ES {
|
|
1352
1428
|
}
|
1353
1429
|
export type DomainPackageDetailsList = DomainPackageDetails[];
|
1354
1430
|
export type DomainPackageStatus = "ASSOCIATING"|"ASSOCIATION_FAILED"|"ACTIVE"|"DISSOCIATING"|"DISSOCIATION_FAILED"|string;
|
1431
|
+
export type DomainProcessingStatusType = "Creating"|"Active"|"Modifying"|"UpgradingEngineVersion"|"UpdatingServiceSoftware"|"Isolated"|"Deleting"|string;
|
1355
1432
|
export type Double = number;
|
1356
1433
|
export type DryRun = boolean;
|
1357
1434
|
export interface DryRunResults {
|
@@ -1526,6 +1603,10 @@ declare namespace ES {
|
|
1526
1603
|
* Specifies change details of the domain configuration change.
|
1527
1604
|
*/
|
1528
1605
|
ChangeProgressDetails?: ChangeProgressDetails;
|
1606
|
+
/**
|
1607
|
+
* Information about the domain properties that are currently being modified.
|
1608
|
+
*/
|
1609
|
+
ModifyingProperties?: ModifyingPropertiesList;
|
1529
1610
|
}
|
1530
1611
|
export interface ElasticsearchDomainStatus {
|
1531
1612
|
/**
|
@@ -1625,6 +1706,14 @@ declare namespace ES {
|
|
1625
1706
|
* Specifies change details of the domain configuration change.
|
1626
1707
|
*/
|
1627
1708
|
ChangeProgressDetails?: ChangeProgressDetails;
|
1709
|
+
/**
|
1710
|
+
* The status of any changes that are currently in progress for the domain.
|
1711
|
+
*/
|
1712
|
+
DomainProcessingStatus?: DomainProcessingStatusType;
|
1713
|
+
/**
|
1714
|
+
* Information about the domain properties that are currently being modified.
|
1715
|
+
*/
|
1716
|
+
ModifyingProperties?: ModifyingPropertiesList;
|
1628
1717
|
}
|
1629
1718
|
export type ElasticsearchDomainStatusList = ElasticsearchDomainStatus[];
|
1630
1719
|
export type ElasticsearchInstanceTypeList = ESPartitionInstanceType[];
|
@@ -1681,6 +1770,7 @@ declare namespace ES {
|
|
1681
1770
|
}
|
1682
1771
|
export type FilterList = Filter[];
|
1683
1772
|
export type GUID = string;
|
1773
|
+
export type GUIDList = GUID[];
|
1684
1774
|
export interface GetCompatibleElasticsearchVersionsRequest {
|
1685
1775
|
DomainName?: DomainName;
|
1686
1776
|
}
|
@@ -1775,6 +1865,7 @@ declare namespace ES {
|
|
1775
1865
|
}
|
1776
1866
|
export type InboundCrossClusterSearchConnectionStatusCode = "PENDING_ACCEPTANCE"|"APPROVED"|"REJECTING"|"REJECTED"|"DELETING"|"DELETED"|string;
|
1777
1867
|
export type InboundCrossClusterSearchConnections = InboundCrossClusterSearchConnection[];
|
1868
|
+
export type InitiatedBy = "CUSTOMER"|"SERVICE"|string;
|
1778
1869
|
export type InstanceCount = number;
|
1779
1870
|
export interface InstanceCountLimits {
|
1780
1871
|
MinimumInstanceCount?: MinimumInstanceCount;
|
@@ -2006,6 +2097,25 @@ declare namespace ES {
|
|
2006
2097
|
export type MaximumInstanceCount = number;
|
2007
2098
|
export type Message = string;
|
2008
2099
|
export type MinimumInstanceCount = number;
|
2100
|
+
export interface ModifyingProperties {
|
2101
|
+
/**
|
2102
|
+
* The name of the property that is currently being modified.
|
2103
|
+
*/
|
2104
|
+
Name?: String;
|
2105
|
+
/**
|
2106
|
+
* The current value of the domain property that is being modified.
|
2107
|
+
*/
|
2108
|
+
ActiveValue?: String;
|
2109
|
+
/**
|
2110
|
+
* The value that the property that is currently being modified will eventually have.
|
2111
|
+
*/
|
2112
|
+
PendingValue?: String;
|
2113
|
+
/**
|
2114
|
+
* The type of value that is currently being modified. Properties can have two types: PLAIN_TEXT: Contain direct values such as "1", "True", or "c5.large.search". STRINGIFIED_JSON: Contain content in JSON format, such as {"Enabled":"True"}".
|
2115
|
+
*/
|
2116
|
+
ValueType?: PropertyValueType;
|
2117
|
+
}
|
2118
|
+
export type ModifyingPropertiesList = ModifyingProperties[];
|
2009
2119
|
export type NextToken = string;
|
2010
2120
|
export interface NodeToNodeEncryptionOptions {
|
2011
2121
|
/**
|
@@ -2150,6 +2260,7 @@ declare namespace ES {
|
|
2150
2260
|
export type Password = string;
|
2151
2261
|
export type PolicyDocument = string;
|
2152
2262
|
export type PrincipalType = "AWS_ACCOUNT"|"AWS_SERVICE"|string;
|
2263
|
+
export type PropertyValueType = "PLAIN_TEXT"|"STRINGIFIED_JSON"|string;
|
2153
2264
|
export interface PurchaseReservedElasticsearchInstanceOfferingRequest {
|
2154
2265
|
/**
|
2155
2266
|
* The ID of the reserved Elasticsearch instance offering to purchase.
|
package/clients/lexmodelsv2.d.ts
CHANGED
@@ -67,6 +67,14 @@ declare class LexModelsV2 extends Service {
|
|
67
67
|
* Creates a locale in the bot. The locale contains the intents and slot types that the bot uses in conversations with users in the specified language and locale. You must add a locale to a bot before you can add intents and slot types to the bot.
|
68
68
|
*/
|
69
69
|
createBotLocale(callback?: (err: AWSError, data: LexModelsV2.Types.CreateBotLocaleResponse) => void): Request<LexModelsV2.Types.CreateBotLocaleResponse, AWSError>;
|
70
|
+
/**
|
71
|
+
* Action to create a replication of the source bot in the secondary region.
|
72
|
+
*/
|
73
|
+
createBotReplica(params: LexModelsV2.Types.CreateBotReplicaRequest, callback?: (err: AWSError, data: LexModelsV2.Types.CreateBotReplicaResponse) => void): Request<LexModelsV2.Types.CreateBotReplicaResponse, AWSError>;
|
74
|
+
/**
|
75
|
+
* Action to create a replication of the source bot in the secondary region.
|
76
|
+
*/
|
77
|
+
createBotReplica(callback?: (err: AWSError, data: LexModelsV2.Types.CreateBotReplicaResponse) => void): Request<LexModelsV2.Types.CreateBotReplicaResponse, AWSError>;
|
70
78
|
/**
|
71
79
|
* Creates an immutable version of the bot. When you create the first version of a bot, Amazon Lex sets the version number to 1. Subsequent bot versions increase in an increment of 1. The version number will always represent the total number of versions created of the bot, not the current number of versions. If a bot version is deleted, that bot version number will not be reused.
|
72
80
|
*/
|
@@ -163,6 +171,14 @@ declare class LexModelsV2 extends Service {
|
|
163
171
|
* Removes a locale from a bot. When you delete a locale, all intents, slots, and slot types defined for the locale are also deleted.
|
164
172
|
*/
|
165
173
|
deleteBotLocale(callback?: (err: AWSError, data: LexModelsV2.Types.DeleteBotLocaleResponse) => void): Request<LexModelsV2.Types.DeleteBotLocaleResponse, AWSError>;
|
174
|
+
/**
|
175
|
+
* The action to delete the replicated bot in the secondary region.
|
176
|
+
*/
|
177
|
+
deleteBotReplica(params: LexModelsV2.Types.DeleteBotReplicaRequest, callback?: (err: AWSError, data: LexModelsV2.Types.DeleteBotReplicaResponse) => void): Request<LexModelsV2.Types.DeleteBotReplicaResponse, AWSError>;
|
178
|
+
/**
|
179
|
+
* The action to delete the replicated bot in the secondary region.
|
180
|
+
*/
|
181
|
+
deleteBotReplica(callback?: (err: AWSError, data: LexModelsV2.Types.DeleteBotReplicaResponse) => void): Request<LexModelsV2.Types.DeleteBotReplicaResponse, AWSError>;
|
166
182
|
/**
|
167
183
|
* Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.
|
168
184
|
*/
|
@@ -283,6 +299,14 @@ declare class LexModelsV2 extends Service {
|
|
283
299
|
* Provides metadata information about a bot recommendation. This information will enable you to get a description on the request inputs, to download associated transcripts after processing is complete, and to download intents and slot-types generated by the bot recommendation.
|
284
300
|
*/
|
285
301
|
describeBotRecommendation(callback?: (err: AWSError, data: LexModelsV2.Types.DescribeBotRecommendationResponse) => void): Request<LexModelsV2.Types.DescribeBotRecommendationResponse, AWSError>;
|
302
|
+
/**
|
303
|
+
* Monitors the bot replication status through the UI console.
|
304
|
+
*/
|
305
|
+
describeBotReplica(params: LexModelsV2.Types.DescribeBotReplicaRequest, callback?: (err: AWSError, data: LexModelsV2.Types.DescribeBotReplicaResponse) => void): Request<LexModelsV2.Types.DescribeBotReplicaResponse, AWSError>;
|
306
|
+
/**
|
307
|
+
* Monitors the bot replication status through the UI console.
|
308
|
+
*/
|
309
|
+
describeBotReplica(callback?: (err: AWSError, data: LexModelsV2.Types.DescribeBotReplicaResponse) => void): Request<LexModelsV2.Types.DescribeBotReplicaResponse, AWSError>;
|
286
310
|
/**
|
287
311
|
* Returns information about a request to generate a bot through natural language description, made through the StartBotResource API. Use the generatedBotLocaleUrl to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.
|
288
312
|
*/
|
@@ -411,6 +435,14 @@ declare class LexModelsV2 extends Service {
|
|
411
435
|
* Provides a list of utterances that users have sent to the bot. Utterances are aggregated by the text of the utterance. For example, all instances where customers used the phrase "I want to order pizza" are aggregated into the same line in the response. You can see both detected utterances and missed utterances. A detected utterance is where the bot properly recognized the utterance and activated the associated intent. A missed utterance was not recognized by the bot and didn't activate an intent. Utterances can be aggregated for a bot alias or for a bot version, but not both at the same time. Utterances statistics are not generated under the following conditions: The childDirected field was set to true when the bot was created. You are using slot obfuscation with one or more slots. You opted out of participating in improving Amazon Lex.
|
412
436
|
*/
|
413
437
|
listAggregatedUtterances(callback?: (err: AWSError, data: LexModelsV2.Types.ListAggregatedUtterancesResponse) => void): Request<LexModelsV2.Types.ListAggregatedUtterancesResponse, AWSError>;
|
438
|
+
/**
|
439
|
+
* The action to list the replicated bots created from the source bot alias.
|
440
|
+
*/
|
441
|
+
listBotAliasReplicas(params: LexModelsV2.Types.ListBotAliasReplicasRequest, callback?: (err: AWSError, data: LexModelsV2.Types.ListBotAliasReplicasResponse) => void): Request<LexModelsV2.Types.ListBotAliasReplicasResponse, AWSError>;
|
442
|
+
/**
|
443
|
+
* The action to list the replicated bots created from the source bot alias.
|
444
|
+
*/
|
445
|
+
listBotAliasReplicas(callback?: (err: AWSError, data: LexModelsV2.Types.ListBotAliasReplicasResponse) => void): Request<LexModelsV2.Types.ListBotAliasReplicasResponse, AWSError>;
|
414
446
|
/**
|
415
447
|
* Gets a list of aliases for the specified bot.
|
416
448
|
*/
|
@@ -435,6 +467,14 @@ declare class LexModelsV2 extends Service {
|
|
435
467
|
* Get a list of bot recommendations that meet the specified criteria.
|
436
468
|
*/
|
437
469
|
listBotRecommendations(callback?: (err: AWSError, data: LexModelsV2.Types.ListBotRecommendationsResponse) => void): Request<LexModelsV2.Types.ListBotRecommendationsResponse, AWSError>;
|
470
|
+
/**
|
471
|
+
* The action to list the replicated bots.
|
472
|
+
*/
|
473
|
+
listBotReplicas(params: LexModelsV2.Types.ListBotReplicasRequest, callback?: (err: AWSError, data: LexModelsV2.Types.ListBotReplicasResponse) => void): Request<LexModelsV2.Types.ListBotReplicasResponse, AWSError>;
|
474
|
+
/**
|
475
|
+
* The action to list the replicated bots.
|
476
|
+
*/
|
477
|
+
listBotReplicas(callback?: (err: AWSError, data: LexModelsV2.Types.ListBotReplicasResponse) => void): Request<LexModelsV2.Types.ListBotReplicasResponse, AWSError>;
|
438
478
|
/**
|
439
479
|
* Lists the generation requests made for a bot locale.
|
440
480
|
*/
|
@@ -443,6 +483,14 @@ declare class LexModelsV2 extends Service {
|
|
443
483
|
* Lists the generation requests made for a bot locale.
|
444
484
|
*/
|
445
485
|
listBotResourceGenerations(callback?: (err: AWSError, data: LexModelsV2.Types.ListBotResourceGenerationsResponse) => void): Request<LexModelsV2.Types.ListBotResourceGenerationsResponse, AWSError>;
|
486
|
+
/**
|
487
|
+
* Contains information about all the versions replication statuses applicable for Global Resiliency.
|
488
|
+
*/
|
489
|
+
listBotVersionReplicas(params: LexModelsV2.Types.ListBotVersionReplicasRequest, callback?: (err: AWSError, data: LexModelsV2.Types.ListBotVersionReplicasResponse) => void): Request<LexModelsV2.Types.ListBotVersionReplicasResponse, AWSError>;
|
490
|
+
/**
|
491
|
+
* Contains information about all the versions replication statuses applicable for Global Resiliency.
|
492
|
+
*/
|
493
|
+
listBotVersionReplicas(callback?: (err: AWSError, data: LexModelsV2.Types.ListBotVersionReplicasResponse) => void): Request<LexModelsV2.Types.ListBotVersionReplicasResponse, AWSError>;
|
446
494
|
/**
|
447
495
|
* Gets information about all of the versions of a bot. The ListBotVersions operation returns a summary of each version of a bot. For example, if a bot has three numbered versions, the ListBotVersions operation returns for summaries, one for each numbered version and one for the DRAFT version. The ListBotVersions operation always returns at least one version, the DRAFT version.
|
448
496
|
*/
|
@@ -1536,6 +1584,34 @@ declare namespace LexModelsV2 {
|
|
1536
1584
|
}
|
1537
1585
|
export type BotAliasLocaleSettingsMap = {[key: string]: BotAliasLocaleSettings};
|
1538
1586
|
export type BotAliasName = string;
|
1587
|
+
export interface BotAliasReplicaSummary {
|
1588
|
+
/**
|
1589
|
+
* The bot alias ID for all the alias bot replications.
|
1590
|
+
*/
|
1591
|
+
botAliasId?: BotAliasId;
|
1592
|
+
/**
|
1593
|
+
* The replication statuses for all the alias bot replications.
|
1594
|
+
*/
|
1595
|
+
botAliasReplicationStatus?: BotAliasReplicationStatus;
|
1596
|
+
/**
|
1597
|
+
* The bot version for all the alias bot replications.
|
1598
|
+
*/
|
1599
|
+
botVersion?: BotVersion;
|
1600
|
+
/**
|
1601
|
+
* The creation time and date for all the alias bot replications.
|
1602
|
+
*/
|
1603
|
+
creationDateTime?: Timestamp;
|
1604
|
+
/**
|
1605
|
+
* The last time and date updated for all the alias bot replications.
|
1606
|
+
*/
|
1607
|
+
lastUpdatedDateTime?: Timestamp;
|
1608
|
+
/**
|
1609
|
+
* The reasons for failure for the aliases bot replications.
|
1610
|
+
*/
|
1611
|
+
failureReasons?: FailureReasons;
|
1612
|
+
}
|
1613
|
+
export type BotAliasReplicaSummaryList = BotAliasReplicaSummary[];
|
1614
|
+
export type BotAliasReplicationStatus = "Creating"|"Updating"|"Available"|"Deleting"|"Failed"|string;
|
1539
1615
|
export type BotAliasStatus = "Creating"|"Available"|"Deleting"|"Failed"|string;
|
1540
1616
|
export interface BotAliasSummary {
|
1541
1617
|
/**
|
@@ -1800,6 +1876,26 @@ declare namespace LexModelsV2 {
|
|
1800
1876
|
lastUpdatedDateTime?: Timestamp;
|
1801
1877
|
}
|
1802
1878
|
export type BotRecommendationSummaryList = BotRecommendationSummary[];
|
1879
|
+
export type BotReplicaStatus = "Enabling"|"Enabled"|"Deleting"|"Failed"|string;
|
1880
|
+
export interface BotReplicaSummary {
|
1881
|
+
/**
|
1882
|
+
* The replica region used in the replication statuses summary.
|
1883
|
+
*/
|
1884
|
+
replicaRegion?: ReplicaRegion;
|
1885
|
+
/**
|
1886
|
+
* The creation time and date for the replicated bots.
|
1887
|
+
*/
|
1888
|
+
creationDateTime?: Timestamp;
|
1889
|
+
/**
|
1890
|
+
* The operation status for the replicated bot applicable.
|
1891
|
+
*/
|
1892
|
+
botReplicaStatus?: BotReplicaStatus;
|
1893
|
+
/**
|
1894
|
+
* The reasons for the failure for the replicated bot.
|
1895
|
+
*/
|
1896
|
+
failureReasons?: FailureReasons;
|
1897
|
+
}
|
1898
|
+
export type BotReplicaSummaryList = BotReplicaSummary[];
|
1803
1899
|
export type BotSortAttribute = "BotName"|string;
|
1804
1900
|
export interface BotSortBy {
|
1805
1901
|
/**
|
@@ -1852,6 +1948,37 @@ declare namespace LexModelsV2 {
|
|
1852
1948
|
sourceBotVersion: BotVersion;
|
1853
1949
|
}
|
1854
1950
|
export type BotVersionLocaleSpecification = {[key: string]: BotVersionLocaleDetails};
|
1951
|
+
export type BotVersionReplicaSortAttribute = "BotVersion"|string;
|
1952
|
+
export interface BotVersionReplicaSortBy {
|
1953
|
+
/**
|
1954
|
+
* The attribute of the sort category for the version replicated bots.
|
1955
|
+
*/
|
1956
|
+
attribute: BotVersionReplicaSortAttribute;
|
1957
|
+
/**
|
1958
|
+
* The order of the sort category for the version replicated bots.
|
1959
|
+
*/
|
1960
|
+
order: SortOrder;
|
1961
|
+
}
|
1962
|
+
export interface BotVersionReplicaSummary {
|
1963
|
+
/**
|
1964
|
+
* The bot version for the summary information for all the version replication statuses.
|
1965
|
+
*/
|
1966
|
+
botVersion?: BotVersion;
|
1967
|
+
/**
|
1968
|
+
* The version replication status for all the replicated bots.
|
1969
|
+
*/
|
1970
|
+
botVersionReplicationStatus?: BotVersionReplicationStatus;
|
1971
|
+
/**
|
1972
|
+
* The creation date and time of the replication status for all the replicated bots.
|
1973
|
+
*/
|
1974
|
+
creationDateTime?: Timestamp;
|
1975
|
+
/**
|
1976
|
+
* The reasons for replication failure for all the replicated bots.
|
1977
|
+
*/
|
1978
|
+
failureReasons?: FailureReasons;
|
1979
|
+
}
|
1980
|
+
export type BotVersionReplicaSummaryList = BotVersionReplicaSummary[];
|
1981
|
+
export type BotVersionReplicationStatus = "Creating"|"Available"|"Deleting"|"Failed"|string;
|
1855
1982
|
export type BotVersionSortAttribute = "BotVersion"|string;
|
1856
1983
|
export interface BotVersionSortBy {
|
1857
1984
|
/**
|
@@ -2312,6 +2439,38 @@ declare namespace LexModelsV2 {
|
|
2312
2439
|
creationDateTime?: Timestamp;
|
2313
2440
|
generativeAISettings?: GenerativeAISettings;
|
2314
2441
|
}
|
2442
|
+
export interface CreateBotReplicaRequest {
|
2443
|
+
/**
|
2444
|
+
* The request for the unique bot ID of the source bot to be replicated in the secondary region.
|
2445
|
+
*/
|
2446
|
+
botId: Id;
|
2447
|
+
/**
|
2448
|
+
* The request for the secondary region that will be used in the replication of the source bot.
|
2449
|
+
*/
|
2450
|
+
replicaRegion: ReplicaRegion;
|
2451
|
+
}
|
2452
|
+
export interface CreateBotReplicaResponse {
|
2453
|
+
/**
|
2454
|
+
* The unique bot ID of the replicated bot generated.
|
2455
|
+
*/
|
2456
|
+
botId?: Id;
|
2457
|
+
/**
|
2458
|
+
* The region of the replicated bot generated.
|
2459
|
+
*/
|
2460
|
+
replicaRegion?: ReplicaRegion;
|
2461
|
+
/**
|
2462
|
+
* The source region for the source bot used for the replicated bot generated.
|
2463
|
+
*/
|
2464
|
+
sourceRegion?: ReplicaRegion;
|
2465
|
+
/**
|
2466
|
+
* The creation date and time of the replicated bot generated.
|
2467
|
+
*/
|
2468
|
+
creationDateTime?: Timestamp;
|
2469
|
+
/**
|
2470
|
+
* The operational status of the replicated bot generated.
|
2471
|
+
*/
|
2472
|
+
botReplicaStatus?: BotReplicaStatus;
|
2473
|
+
}
|
2315
2474
|
export interface CreateBotRequest {
|
2316
2475
|
/**
|
2317
2476
|
* The name of the bot. The bot name must be unique in the account that creates the bot.
|
@@ -3064,6 +3223,30 @@ declare namespace LexModelsV2 {
|
|
3064
3223
|
*/
|
3065
3224
|
botLocaleStatus?: BotLocaleStatus;
|
3066
3225
|
}
|
3226
|
+
export interface DeleteBotReplicaRequest {
|
3227
|
+
/**
|
3228
|
+
* The unique ID of the replicated bot to be deleted from the secondary region
|
3229
|
+
*/
|
3230
|
+
botId: Id;
|
3231
|
+
/**
|
3232
|
+
* The secondary region of the replicated bot that will be deleted.
|
3233
|
+
*/
|
3234
|
+
replicaRegion: ReplicaRegion;
|
3235
|
+
}
|
3236
|
+
export interface DeleteBotReplicaResponse {
|
3237
|
+
/**
|
3238
|
+
* The unique bot ID of the replicated bot generated.
|
3239
|
+
*/
|
3240
|
+
botId?: Id;
|
3241
|
+
/**
|
3242
|
+
* The region of the replicated bot generated.
|
3243
|
+
*/
|
3244
|
+
replicaRegion?: ReplicaRegion;
|
3245
|
+
/**
|
3246
|
+
* The operational status of the replicated bot generated.
|
3247
|
+
*/
|
3248
|
+
botReplicaStatus?: BotReplicaStatus;
|
3249
|
+
}
|
3067
3250
|
export interface DeleteBotRequest {
|
3068
3251
|
/**
|
3069
3252
|
* The identifier of the bot to delete.
|
@@ -3514,6 +3697,42 @@ declare namespace LexModelsV2 {
|
|
3514
3697
|
*/
|
3515
3698
|
botRecommendationResults?: BotRecommendationResults;
|
3516
3699
|
}
|
3700
|
+
export interface DescribeBotReplicaRequest {
|
3701
|
+
/**
|
3702
|
+
* The request for the unique bot ID of the replicated bot being monitored.
|
3703
|
+
*/
|
3704
|
+
botId: Id;
|
3705
|
+
/**
|
3706
|
+
* The request for the region of the replicated bot being monitored.
|
3707
|
+
*/
|
3708
|
+
replicaRegion: ReplicaRegion;
|
3709
|
+
}
|
3710
|
+
export interface DescribeBotReplicaResponse {
|
3711
|
+
/**
|
3712
|
+
* The unique bot ID of the replicated bot being monitored.
|
3713
|
+
*/
|
3714
|
+
botId?: Id;
|
3715
|
+
/**
|
3716
|
+
* The region of the replicated bot being monitored.
|
3717
|
+
*/
|
3718
|
+
replicaRegion?: ReplicaRegion;
|
3719
|
+
/**
|
3720
|
+
* The source region of the replicated bot being monitored.
|
3721
|
+
*/
|
3722
|
+
sourceRegion?: ReplicaRegion;
|
3723
|
+
/**
|
3724
|
+
* The creation date and time of the replicated bot being monitored.
|
3725
|
+
*/
|
3726
|
+
creationDateTime?: Timestamp;
|
3727
|
+
/**
|
3728
|
+
* The operational status of the replicated bot being monitored.
|
3729
|
+
*/
|
3730
|
+
botReplicaStatus?: BotReplicaStatus;
|
3731
|
+
/**
|
3732
|
+
* The failure reasons the bot being monitored failed to replicate.
|
3733
|
+
*/
|
3734
|
+
failureReasons?: FailureReasons;
|
3735
|
+
}
|
3517
3736
|
export interface DescribeBotRequest {
|
3518
3737
|
/**
|
3519
3738
|
* The unique identifier of the bot to describe.
|
@@ -5105,6 +5324,46 @@ declare namespace LexModelsV2 {
|
|
5105
5324
|
*/
|
5106
5325
|
nextToken?: NextToken;
|
5107
5326
|
}
|
5327
|
+
export interface ListBotAliasReplicasRequest {
|
5328
|
+
/**
|
5329
|
+
* The request for the unique bot ID of the replicated bot created from the source bot alias.
|
5330
|
+
*/
|
5331
|
+
botId: Id;
|
5332
|
+
/**
|
5333
|
+
* The request for the secondary region of the replicated bot created from the source bot alias.
|
5334
|
+
*/
|
5335
|
+
replicaRegion: ReplicaRegion;
|
5336
|
+
/**
|
5337
|
+
* The request for maximum results to list the replicated bots created from the source bot alias.
|
5338
|
+
*/
|
5339
|
+
maxResults?: MaxResults;
|
5340
|
+
/**
|
5341
|
+
* The request for the next token for the replicated bot created from the source bot alias.
|
5342
|
+
*/
|
5343
|
+
nextToken?: NextToken;
|
5344
|
+
}
|
5345
|
+
export interface ListBotAliasReplicasResponse {
|
5346
|
+
/**
|
5347
|
+
* The unique bot ID of the replicated bot created from the source bot alias.
|
5348
|
+
*/
|
5349
|
+
botId?: Id;
|
5350
|
+
/**
|
5351
|
+
* The source region of the replicated bot created from the source bot alias.
|
5352
|
+
*/
|
5353
|
+
sourceRegion?: ReplicaRegion;
|
5354
|
+
/**
|
5355
|
+
* The secondary region of the replicated bot created from the source bot alias.
|
5356
|
+
*/
|
5357
|
+
replicaRegion?: ReplicaRegion;
|
5358
|
+
/**
|
5359
|
+
* The summary information of the replicated bot created from the source bot alias.
|
5360
|
+
*/
|
5361
|
+
botAliasReplicaSummaries?: BotAliasReplicaSummaryList;
|
5362
|
+
/**
|
5363
|
+
* The next token for the replicated bots created from the source bot alias.
|
5364
|
+
*/
|
5365
|
+
nextToken?: NextToken;
|
5366
|
+
}
|
5108
5367
|
export interface ListBotAliasesRequest {
|
5109
5368
|
/**
|
5110
5369
|
* The identifier of the bot to list aliases for.
|
@@ -5221,6 +5480,26 @@ declare namespace LexModelsV2 {
|
|
5221
5480
|
*/
|
5222
5481
|
nextToken?: NextToken;
|
5223
5482
|
}
|
5483
|
+
export interface ListBotReplicasRequest {
|
5484
|
+
/**
|
5485
|
+
* The request for the unique bot IDs in the list of replicated bots.
|
5486
|
+
*/
|
5487
|
+
botId: Id;
|
5488
|
+
}
|
5489
|
+
export interface ListBotReplicasResponse {
|
5490
|
+
/**
|
5491
|
+
* the unique bot IDs in the list of replicated bots.
|
5492
|
+
*/
|
5493
|
+
botId?: Id;
|
5494
|
+
/**
|
5495
|
+
* The source region of the source bots in the list of replicated bots.
|
5496
|
+
*/
|
5497
|
+
sourceRegion?: ReplicaRegion;
|
5498
|
+
/**
|
5499
|
+
* The summary details for the replicated bots.
|
5500
|
+
*/
|
5501
|
+
botReplicaSummaries?: BotReplicaSummaryList;
|
5502
|
+
}
|
5224
5503
|
export interface ListBotResourceGenerationsRequest {
|
5225
5504
|
/**
|
5226
5505
|
* The unique identifier of the bot whose generation requests you want to view.
|
@@ -5269,6 +5548,50 @@ declare namespace LexModelsV2 {
|
|
5269
5548
|
*/
|
5270
5549
|
nextToken?: NextToken;
|
5271
5550
|
}
|
5551
|
+
export interface ListBotVersionReplicasRequest {
|
5552
|
+
/**
|
5553
|
+
* The request for the unique ID in the list of replicated bots.
|
5554
|
+
*/
|
5555
|
+
botId: Id;
|
5556
|
+
/**
|
5557
|
+
* The request for the region used in the list of replicated bots.
|
5558
|
+
*/
|
5559
|
+
replicaRegion: ReplicaRegion;
|
5560
|
+
/**
|
5561
|
+
* The maximum results given in the list of replicated bots.
|
5562
|
+
*/
|
5563
|
+
maxResults?: MaxResults;
|
5564
|
+
/**
|
5565
|
+
* The next token given in the list of replicated bots.
|
5566
|
+
*/
|
5567
|
+
nextToken?: NextToken;
|
5568
|
+
/**
|
5569
|
+
* The requested sort category for the list of replicated bots.
|
5570
|
+
*/
|
5571
|
+
sortBy?: BotVersionReplicaSortBy;
|
5572
|
+
}
|
5573
|
+
export interface ListBotVersionReplicasResponse {
|
5574
|
+
/**
|
5575
|
+
* The unique ID of the bots in the list of replicated bots.
|
5576
|
+
*/
|
5577
|
+
botId?: Id;
|
5578
|
+
/**
|
5579
|
+
* The source region used for the bots in the list of replicated bots.
|
5580
|
+
*/
|
5581
|
+
sourceRegion?: ReplicaRegion;
|
5582
|
+
/**
|
5583
|
+
* The region used for the replicated bots in the list of replicated bots.
|
5584
|
+
*/
|
5585
|
+
replicaRegion?: ReplicaRegion;
|
5586
|
+
/**
|
5587
|
+
* The information summary used for the replicated bots in the list of replicated bots.
|
5588
|
+
*/
|
5589
|
+
botVersionReplicaSummaries?: BotVersionReplicaSummaryList;
|
5590
|
+
/**
|
5591
|
+
* The next token used for the replicated bots in the list of replicated bots.
|
5592
|
+
*/
|
5593
|
+
nextToken?: NextToken;
|
5594
|
+
}
|
5272
5595
|
export interface ListBotVersionsRequest {
|
5273
5596
|
/**
|
5274
5597
|
* The identifier of the bot to list versions for.
|
@@ -6482,6 +6805,7 @@ declare namespace LexModelsV2 {
|
|
6482
6805
|
*/
|
6483
6806
|
timeValue: TimeValue;
|
6484
6807
|
}
|
6808
|
+
export type ReplicaRegion = string;
|
6485
6809
|
export type ResourceCount = number;
|
6486
6810
|
export interface ResponseSpecification {
|
6487
6811
|
/**
|