cdk-lambda-subminute 2.0.284 → 2.0.285
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/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/CHANGELOG.md +9 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/amplify-2017-07-25.min.json +53 -38
- package/node_modules/aws-sdk/apis/amplify-2017-07-25.paginators.json +24 -0
- package/node_modules/aws-sdk/apis/application-insights-2018-11-25.min.json +35 -25
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +1297 -1181
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/m2-2021-04-28.min.json +36 -6
- package/node_modules/aws-sdk/apis/translate-2017-07-01.min.json +23 -26
- package/node_modules/aws-sdk/clients/amplify.d.ts +239 -223
- package/node_modules/aws-sdk/clients/applicationinsights.d.ts +17 -0
- package/node_modules/aws-sdk/clients/ec2.d.ts +138 -5
- package/node_modules/aws-sdk/clients/m2.d.ts +51 -6
- package/node_modules/aws-sdk/clients/neptunedata.d.ts +11 -11
- package/node_modules/aws-sdk/clients/translate.d.ts +17 -9
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +8 -8
- package/node_modules/aws-sdk/dist/aws-sdk.js +1329 -1210
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +75 -74
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +2 -2
@@ -372,8 +372,13 @@ declare namespace ApplicationInsights {
|
|
372
372
|
* The method used by Application Insights to onboard your resources.
|
373
373
|
*/
|
374
374
|
DiscoveryType?: DiscoveryType;
|
375
|
+
/**
|
376
|
+
* If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
|
377
|
+
*/
|
378
|
+
AttachMissingPermission?: AttachMissingPermission;
|
375
379
|
}
|
376
380
|
export type ApplicationInfoList = ApplicationInfo[];
|
381
|
+
export type AttachMissingPermission = boolean;
|
377
382
|
export type AutoConfigEnabled = boolean;
|
378
383
|
export type AutoCreate = boolean;
|
379
384
|
export type CWEMonitorEnabled = boolean;
|
@@ -461,6 +466,10 @@ declare namespace ApplicationInsights {
|
|
461
466
|
* Application Insights can create applications based on a resource group or on an account. To create an account-based application using all of the resources in the account, set this parameter to ACCOUNT_BASED.
|
462
467
|
*/
|
463
468
|
GroupingType?: GroupingType;
|
469
|
+
/**
|
470
|
+
* If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
|
471
|
+
*/
|
472
|
+
AttachMissingPermission?: AttachMissingPermission;
|
464
473
|
}
|
465
474
|
export interface CreateApplicationResponse {
|
466
475
|
/**
|
@@ -582,6 +591,10 @@ declare namespace ApplicationInsights {
|
|
582
591
|
* The tier of the application component.
|
583
592
|
*/
|
584
593
|
Tier: Tier;
|
594
|
+
/**
|
595
|
+
* The name of the workload.
|
596
|
+
*/
|
597
|
+
WorkloadName?: WorkloadName;
|
585
598
|
/**
|
586
599
|
* The recommended configuration type.
|
587
600
|
*/
|
@@ -1433,6 +1446,10 @@ declare namespace ApplicationInsights {
|
|
1433
1446
|
* Turns auto-configuration on or off.
|
1434
1447
|
*/
|
1435
1448
|
AutoConfigEnabled?: AutoConfigEnabled;
|
1449
|
+
/**
|
1450
|
+
* If set to true, the managed policies for SSM and CW will be attached to the instance roles if they are missing.
|
1451
|
+
*/
|
1452
|
+
AttachMissingPermission?: AttachMissingPermission;
|
1436
1453
|
}
|
1437
1454
|
export interface UpdateApplicationResponse {
|
1438
1455
|
/**
|
@@ -1820,6 +1820,14 @@ declare class EC2 extends Service {
|
|
1820
1820
|
* Describes the IP address ranges that were specified in calls to ProvisionByoipCidr. To describe the address pools that were created when you provisioned the address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools.
|
1821
1821
|
*/
|
1822
1822
|
describeByoipCidrs(callback?: (err: AWSError, data: EC2.Types.DescribeByoipCidrsResult) => void): Request<EC2.Types.DescribeByoipCidrsResult, AWSError>;
|
1823
|
+
/**
|
1824
|
+
* Describes Capacity Block offerings available for purchase. With Capacity Blocks, you purchase a specific instance type for a period of time.
|
1825
|
+
*/
|
1826
|
+
describeCapacityBlockOfferings(params: EC2.Types.DescribeCapacityBlockOfferingsRequest, callback?: (err: AWSError, data: EC2.Types.DescribeCapacityBlockOfferingsResult) => void): Request<EC2.Types.DescribeCapacityBlockOfferingsResult, AWSError>;
|
1827
|
+
/**
|
1828
|
+
* Describes Capacity Block offerings available for purchase. With Capacity Blocks, you purchase a specific instance type for a period of time.
|
1829
|
+
*/
|
1830
|
+
describeCapacityBlockOfferings(callback?: (err: AWSError, data: EC2.Types.DescribeCapacityBlockOfferingsResult) => void): Request<EC2.Types.DescribeCapacityBlockOfferingsResult, AWSError>;
|
1823
1831
|
/**
|
1824
1832
|
* Describes one or more Capacity Reservation Fleets.
|
1825
1833
|
*/
|
@@ -4324,6 +4332,14 @@ declare class EC2 extends Service {
|
|
4324
4332
|
* Provision a CIDR to a public IPv4 pool. For more information about IPAM, see What is IPAM? in the Amazon VPC IPAM User Guide.
|
4325
4333
|
*/
|
4326
4334
|
provisionPublicIpv4PoolCidr(callback?: (err: AWSError, data: EC2.Types.ProvisionPublicIpv4PoolCidrResult) => void): Request<EC2.Types.ProvisionPublicIpv4PoolCidrResult, AWSError>;
|
4335
|
+
/**
|
4336
|
+
* Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.
|
4337
|
+
*/
|
4338
|
+
purchaseCapacityBlock(params: EC2.Types.PurchaseCapacityBlockRequest, callback?: (err: AWSError, data: EC2.Types.PurchaseCapacityBlockResult) => void): Request<EC2.Types.PurchaseCapacityBlockResult, AWSError>;
|
4339
|
+
/**
|
4340
|
+
* Purchase the Capacity Block for use with your account. With Capacity Blocks you ensure GPU capacity is available for machine learning (ML) workloads. You must specify the ID of the Capacity Block offering you are purchasing.
|
4341
|
+
*/
|
4342
|
+
purchaseCapacityBlock(callback?: (err: AWSError, data: EC2.Types.PurchaseCapacityBlockResult) => void): Request<EC2.Types.PurchaseCapacityBlockResult, AWSError>;
|
4327
4343
|
/**
|
4328
4344
|
* Purchase a reservation with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation. This action results in the specified reservation being purchased and charged to your account.
|
4329
4345
|
*/
|
@@ -7352,6 +7368,49 @@ declare namespace EC2 {
|
|
7352
7368
|
Count?: Integer;
|
7353
7369
|
}
|
7354
7370
|
export type CapacityAllocations = CapacityAllocation[];
|
7371
|
+
export interface CapacityBlockOffering {
|
7372
|
+
/**
|
7373
|
+
* The ID of the Capacity Block offering.
|
7374
|
+
*/
|
7375
|
+
CapacityBlockOfferingId?: OfferingId;
|
7376
|
+
/**
|
7377
|
+
* The instance type of the Capacity Block offering.
|
7378
|
+
*/
|
7379
|
+
InstanceType?: String;
|
7380
|
+
/**
|
7381
|
+
* The Availability Zone of the Capacity Block offering.
|
7382
|
+
*/
|
7383
|
+
AvailabilityZone?: String;
|
7384
|
+
/**
|
7385
|
+
* The number of instances in the Capacity Block offering.
|
7386
|
+
*/
|
7387
|
+
InstanceCount?: Integer;
|
7388
|
+
/**
|
7389
|
+
* The start date of the Capacity Block offering.
|
7390
|
+
*/
|
7391
|
+
StartDate?: MillisecondDateTime;
|
7392
|
+
/**
|
7393
|
+
* The end date of the Capacity Block offering.
|
7394
|
+
*/
|
7395
|
+
EndDate?: MillisecondDateTime;
|
7396
|
+
/**
|
7397
|
+
* The amount of time of the Capacity Block reservation in hours.
|
7398
|
+
*/
|
7399
|
+
CapacityBlockDurationHours?: Integer;
|
7400
|
+
/**
|
7401
|
+
* The total price to be paid up front.
|
7402
|
+
*/
|
7403
|
+
UpfrontFee?: String;
|
7404
|
+
/**
|
7405
|
+
* The currency of the payment for the Capacity Block.
|
7406
|
+
*/
|
7407
|
+
CurrencyCode?: String;
|
7408
|
+
/**
|
7409
|
+
* The tenancy of the Capacity Block.
|
7410
|
+
*/
|
7411
|
+
Tenancy?: CapacityReservationTenancy;
|
7412
|
+
}
|
7413
|
+
export type CapacityBlockOfferingSet = CapacityBlockOffering[];
|
7355
7414
|
export interface CapacityReservation {
|
7356
7415
|
/**
|
7357
7416
|
* The ID of the Capacity Reservation.
|
@@ -7445,6 +7504,10 @@ declare namespace EC2 {
|
|
7445
7504
|
* Information about instance capacity usage.
|
7446
7505
|
*/
|
7447
7506
|
CapacityAllocations?: CapacityAllocations;
|
7507
|
+
/**
|
7508
|
+
* The type of Capacity Reservation.
|
7509
|
+
*/
|
7510
|
+
ReservationType?: CapacityReservationType;
|
7448
7511
|
}
|
7449
7512
|
export interface CapacityReservationFleet {
|
7450
7513
|
/**
|
@@ -7563,7 +7626,7 @@ declare namespace EC2 {
|
|
7563
7626
|
*/
|
7564
7627
|
CapacityReservationTarget?: CapacityReservationTargetResponse;
|
7565
7628
|
}
|
7566
|
-
export type CapacityReservationState = "active"|"expired"|"cancelled"|"pending"|"failed"|string;
|
7629
|
+
export type CapacityReservationState = "active"|"expired"|"cancelled"|"pending"|"failed"|"scheduled"|"payment-pending"|"payment-failed"|string;
|
7567
7630
|
export interface CapacityReservationTarget {
|
7568
7631
|
/**
|
7569
7632
|
* The ID of the Capacity Reservation in which to run the instance.
|
@@ -7585,6 +7648,7 @@ declare namespace EC2 {
|
|
7585
7648
|
CapacityReservationResourceGroupArn?: String;
|
7586
7649
|
}
|
7587
7650
|
export type CapacityReservationTenancy = "default"|"dedicated"|string;
|
7651
|
+
export type CapacityReservationType = "default"|"capacity-block"|string;
|
7588
7652
|
export interface CarrierGateway {
|
7589
7653
|
/**
|
7590
7654
|
* The ID of the carrier gateway.
|
@@ -11676,7 +11740,7 @@ declare namespace EC2 {
|
|
11676
11740
|
export type DefaultNetworkCardIndex = number;
|
11677
11741
|
export type DefaultRouteTableAssociationValue = "enable"|"disable"|string;
|
11678
11742
|
export type DefaultRouteTablePropagationValue = "enable"|"disable"|string;
|
11679
|
-
export type DefaultTargetCapacityType = "spot"|"on-demand"|string;
|
11743
|
+
export type DefaultTargetCapacityType = "spot"|"on-demand"|"capacity-block"|string;
|
11680
11744
|
export type DefaultingDhcpOptionsId = string;
|
11681
11745
|
export interface DeleteCarrierGatewayRequest {
|
11682
11746
|
/**
|
@@ -13310,6 +13374,51 @@ declare namespace EC2 {
|
|
13310
13374
|
*/
|
13311
13375
|
NextToken?: String;
|
13312
13376
|
}
|
13377
|
+
export type DescribeCapacityBlockOfferingsMaxResults = number;
|
13378
|
+
export interface DescribeCapacityBlockOfferingsRequest {
|
13379
|
+
/**
|
13380
|
+
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
13381
|
+
*/
|
13382
|
+
DryRun?: Boolean;
|
13383
|
+
/**
|
13384
|
+
* The type of instance for which the Capacity Block offering reserves capacity.
|
13385
|
+
*/
|
13386
|
+
InstanceType: String;
|
13387
|
+
/**
|
13388
|
+
* The number of instances for which to reserve capacity.
|
13389
|
+
*/
|
13390
|
+
InstanceCount: Integer;
|
13391
|
+
/**
|
13392
|
+
* The earliest start date for the Capacity Block offering.
|
13393
|
+
*/
|
13394
|
+
StartDateRange?: MillisecondDateTime;
|
13395
|
+
/**
|
13396
|
+
* The latest end date for the Capacity Block offering.
|
13397
|
+
*/
|
13398
|
+
EndDateRange?: MillisecondDateTime;
|
13399
|
+
/**
|
13400
|
+
* The number of hours for which to reserve Capacity Block.
|
13401
|
+
*/
|
13402
|
+
CapacityDurationHours: Integer;
|
13403
|
+
/**
|
13404
|
+
* The token to use to retrieve the next page of results.
|
13405
|
+
*/
|
13406
|
+
NextToken?: String;
|
13407
|
+
/**
|
13408
|
+
* The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.
|
13409
|
+
*/
|
13410
|
+
MaxResults?: DescribeCapacityBlockOfferingsMaxResults;
|
13411
|
+
}
|
13412
|
+
export interface DescribeCapacityBlockOfferingsResult {
|
13413
|
+
/**
|
13414
|
+
* The recommended Capacity Block offering for the dates specified.
|
13415
|
+
*/
|
13416
|
+
CapacityBlockOfferings?: CapacityBlockOfferingSet;
|
13417
|
+
/**
|
13418
|
+
* The token to use to retrieve the next page of results. This value is null when there are no more results to return.
|
13419
|
+
*/
|
13420
|
+
NextToken?: String;
|
13421
|
+
}
|
13313
13422
|
export type DescribeCapacityReservationFleetsMaxResults = number;
|
13314
13423
|
export interface DescribeCapacityReservationFleetsRequest {
|
13315
13424
|
/**
|
@@ -23721,7 +23830,7 @@ declare namespace EC2 {
|
|
23721
23830
|
}
|
23722
23831
|
export type InstanceIpv6PrefixList = InstanceIpv6Prefix[];
|
23723
23832
|
export type InstanceLifecycle = "spot"|"on-demand"|string;
|
23724
|
-
export type InstanceLifecycleType = "spot"|"scheduled"|string;
|
23833
|
+
export type InstanceLifecycleType = "spot"|"scheduled"|"capacity-block"|string;
|
23725
23834
|
export type InstanceList = Instance[];
|
23726
23835
|
export interface InstanceMaintenanceOptions {
|
23727
23836
|
/**
|
@@ -26727,7 +26836,7 @@ declare namespace EC2 {
|
|
26727
26836
|
OwnerId?: String;
|
26728
26837
|
}
|
26729
26838
|
export type ManagedPrefixListSet = ManagedPrefixList[];
|
26730
|
-
export type MarketType = "spot"|string;
|
26839
|
+
export type MarketType = "spot"|"capacity-block"|string;
|
26731
26840
|
export type MaxIpv4AddrPerInterface = number;
|
26732
26841
|
export type MaxIpv6AddrPerInterface = number;
|
26733
26842
|
export type MaxNetworkInterfaces = number;
|
@@ -30893,6 +31002,30 @@ declare namespace EC2 {
|
|
30893
31002
|
*/
|
30894
31003
|
UpfrontPrice?: String;
|
30895
31004
|
}
|
31005
|
+
export interface PurchaseCapacityBlockRequest {
|
31006
|
+
/**
|
31007
|
+
* Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
|
31008
|
+
*/
|
31009
|
+
DryRun?: Boolean;
|
31010
|
+
/**
|
31011
|
+
* The tags to apply to the Capacity Block during launch.
|
31012
|
+
*/
|
31013
|
+
TagSpecifications?: TagSpecificationList;
|
31014
|
+
/**
|
31015
|
+
* The ID of the Capacity Block offering.
|
31016
|
+
*/
|
31017
|
+
CapacityBlockOfferingId: OfferingId;
|
31018
|
+
/**
|
31019
|
+
* The type of operating system for which to reserve capacity.
|
31020
|
+
*/
|
31021
|
+
InstancePlatform: CapacityReservationInstancePlatform;
|
31022
|
+
}
|
31023
|
+
export interface PurchaseCapacityBlockResult {
|
31024
|
+
/**
|
31025
|
+
* The Capacity Reservation.
|
31026
|
+
*/
|
31027
|
+
CapacityReservation?: CapacityReservation;
|
31028
|
+
}
|
30896
31029
|
export interface PurchaseHostReservationRequest {
|
30897
31030
|
/**
|
30898
31031
|
* Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
|
@@ -37192,7 +37325,7 @@ declare namespace EC2 {
|
|
37192
37325
|
*/
|
37193
37326
|
Return?: Boolean;
|
37194
37327
|
}
|
37195
|
-
export type UsageClassType = "spot"|"on-demand"|string;
|
37328
|
+
export type UsageClassType = "spot"|"on-demand"|"capacity-block"|string;
|
37196
37329
|
export type UsageClassTypeList = UsageClassType[];
|
37197
37330
|
export interface UserBucket {
|
37198
37331
|
/**
|
@@ -431,6 +431,10 @@ declare namespace M2 {
|
|
431
431
|
* Specifies a file associated with a specific batch job.
|
432
432
|
*/
|
433
433
|
fileBatchJobIdentifier?: FileBatchJobIdentifier;
|
434
|
+
/**
|
435
|
+
* Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.
|
436
|
+
*/
|
437
|
+
s3BatchJobIdentifier?: S3BatchJobIdentifier;
|
434
438
|
/**
|
435
439
|
* A batch job identifier in which the batch job to run is identified by the script name.
|
436
440
|
*/
|
@@ -580,7 +584,7 @@ declare namespace M2 {
|
|
580
584
|
*/
|
581
585
|
name: EntityName;
|
582
586
|
/**
|
583
|
-
* Configures the maintenance window you want for the runtime environment. If you do not provide a value, a random system-generated value will be assigned.
|
587
|
+
* Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:mi and must be less than 24 hours. The following two examples are valid maintenance windows: sun:23:45-mon:00:15 or sat:01:00-sat:03:00. If you do not provide a value, a random system-generated value will be assigned.
|
584
588
|
*/
|
585
589
|
preferredMaintenanceWindow?: String50;
|
586
590
|
/**
|
@@ -680,6 +684,10 @@ declare namespace M2 {
|
|
680
684
|
* The status of the data set import task.
|
681
685
|
*/
|
682
686
|
status: DataSetTaskLifecycle;
|
687
|
+
/**
|
688
|
+
* If dataset import failed, the failure reason will show here.
|
689
|
+
*/
|
690
|
+
statusReason?: String;
|
683
691
|
/**
|
684
692
|
* A summary of the data set import task.
|
685
693
|
*/
|
@@ -716,7 +724,7 @@ declare namespace M2 {
|
|
716
724
|
*/
|
717
725
|
lastUpdatedTime?: Timestamp;
|
718
726
|
}
|
719
|
-
export type DataSetTaskLifecycle = "Creating"|"Running"|"Completed"|string;
|
727
|
+
export type DataSetTaskLifecycle = "Creating"|"Running"|"Completed"|"Failed"|string;
|
720
728
|
export type DataSetsSummaryList = DataSetSummary[];
|
721
729
|
export interface DatasetDetailOrgAttributes {
|
722
730
|
/**
|
@@ -806,7 +814,7 @@ declare namespace M2 {
|
|
806
814
|
*/
|
807
815
|
statusReason?: String;
|
808
816
|
}
|
809
|
-
export type DeploymentLifecycle = "Deploying"|"Succeeded"|"Failed"|string;
|
817
|
+
export type DeploymentLifecycle = "Deploying"|"Succeeded"|"Failed"|"Updating Deployment"|string;
|
810
818
|
export type DeploymentList = DeploymentSummary[];
|
811
819
|
export interface DeploymentSummary {
|
812
820
|
/**
|
@@ -1171,6 +1179,10 @@ declare namespace M2 {
|
|
1171
1179
|
* The type of data set. The only supported value is VSAM.
|
1172
1180
|
*/
|
1173
1181
|
dataSetOrg?: DatasetDetailOrgAttributes;
|
1182
|
+
/**
|
1183
|
+
* File size of the dataset.
|
1184
|
+
*/
|
1185
|
+
fileSize?: Long;
|
1174
1186
|
/**
|
1175
1187
|
* The last time the data set was referenced.
|
1176
1188
|
*/
|
@@ -1260,7 +1272,7 @@ declare namespace M2 {
|
|
1260
1272
|
}
|
1261
1273
|
export interface GetEnvironmentResponse {
|
1262
1274
|
/**
|
1263
|
-
* The number of instances included in the runtime environment. A standalone runtime environment has a
|
1275
|
+
* The number of instances included in the runtime environment. A standalone runtime environment has a maximum of one instance. Currently, a high availability runtime environment has a maximum of two instances.
|
1264
1276
|
*/
|
1265
1277
|
actualCapacity?: CapacityValue;
|
1266
1278
|
/**
|
@@ -1312,7 +1324,7 @@ declare namespace M2 {
|
|
1312
1324
|
*/
|
1313
1325
|
pendingMaintenance?: PendingMaintenance;
|
1314
1326
|
/**
|
1315
|
-
*
|
1327
|
+
* The maintenance window for the runtime environment. If you don't provide a value for the maintenance window, the service assigns a random value.
|
1316
1328
|
*/
|
1317
1329
|
preferredMaintenanceWindow?: String50;
|
1318
1330
|
/**
|
@@ -1363,6 +1375,16 @@ declare namespace M2 {
|
|
1363
1375
|
export type Identifier = string;
|
1364
1376
|
export type IdentifierList = Identifier[];
|
1365
1377
|
export type Integer = number;
|
1378
|
+
export interface JobIdentifier {
|
1379
|
+
/**
|
1380
|
+
* The name of the file that contains the batch job definition.
|
1381
|
+
*/
|
1382
|
+
fileName?: String;
|
1383
|
+
/**
|
1384
|
+
* The name of the script that contains the batch job definition.
|
1385
|
+
*/
|
1386
|
+
scriptName?: String;
|
1387
|
+
}
|
1366
1388
|
export interface ListApplicationVersionsRequest {
|
1367
1389
|
/**
|
1368
1390
|
* The unique identifier of the application.
|
@@ -1520,6 +1542,10 @@ declare namespace M2 {
|
|
1520
1542
|
* The maximum number of objects to return.
|
1521
1543
|
*/
|
1522
1544
|
maxResults?: MaxResults;
|
1545
|
+
/**
|
1546
|
+
* Filter dataset name matching the specified pattern. Can use * and % as wild cards.
|
1547
|
+
*/
|
1548
|
+
nameFilter?: String200;
|
1523
1549
|
/**
|
1524
1550
|
* A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
|
1525
1551
|
*/
|
@@ -1639,6 +1665,7 @@ declare namespace M2 {
|
|
1639
1665
|
*/
|
1640
1666
|
logType: String20;
|
1641
1667
|
}
|
1668
|
+
export type Long = number;
|
1642
1669
|
export interface MaintenanceSchedule {
|
1643
1670
|
/**
|
1644
1671
|
* The time the scheduled maintenance is to end.
|
@@ -1730,6 +1757,20 @@ declare namespace M2 {
|
|
1730
1757
|
*/
|
1731
1758
|
min: Integer;
|
1732
1759
|
}
|
1760
|
+
export interface S3BatchJobIdentifier {
|
1761
|
+
/**
|
1762
|
+
* The Amazon S3 bucket that contains the batch job definitions.
|
1763
|
+
*/
|
1764
|
+
bucket: String;
|
1765
|
+
/**
|
1766
|
+
* Identifies the batch job definition. This identifier can also point to any batch job definition that already exists in the application or to one of the batch job definitions within the directory that is specified in keyPrefix.
|
1767
|
+
*/
|
1768
|
+
identifier: JobIdentifier;
|
1769
|
+
/**
|
1770
|
+
* The key prefix that specifies the path to the folder in the S3 bucket that has the batch job definitions.
|
1771
|
+
*/
|
1772
|
+
keyPrefix?: String;
|
1773
|
+
}
|
1733
1774
|
export interface ScriptBatchJobDefinition {
|
1734
1775
|
/**
|
1735
1776
|
* The name of the script containing the batch job definition.
|
@@ -1872,12 +1913,16 @@ declare namespace M2 {
|
|
1872
1913
|
* The unique identifier of the runtime environment that you want to update.
|
1873
1914
|
*/
|
1874
1915
|
environmentId: Identifier;
|
1916
|
+
/**
|
1917
|
+
* Forces the updates on the environment. This option is needed if the applications in the environment are not stopped or if there are ongoing application-related activities in the environment. If you use this option, be aware that it could lead to data corruption in the applications, and that you might need to perform repair and recovery procedures for the applications. This option is not needed if the attribute being updated is preferredMaintenanceWindow.
|
1918
|
+
*/
|
1919
|
+
forceUpdate?: Boolean;
|
1875
1920
|
/**
|
1876
1921
|
* The instance type for the runtime environment to update.
|
1877
1922
|
*/
|
1878
1923
|
instanceType?: String20;
|
1879
1924
|
/**
|
1880
|
-
* Configures the maintenance window you want for the runtime environment. If you do not provide a value, a random system-generated value will be assigned.
|
1925
|
+
* Configures the maintenance window that you want for the runtime environment. The maintenance window must have the format ddd:hh24:mi-ddd:hh24:mi and must be less than 24 hours. The following two examples are valid maintenance windows: sun:23:45-mon:00:15 or sat:01:00-sat:03:00. If you do not provide a value, a random system-generated value will be assigned.
|
1881
1926
|
*/
|
1882
1927
|
preferredMaintenanceWindow?: String;
|
1883
1928
|
}
|
@@ -116,19 +116,19 @@ declare class Neptunedata extends Service {
|
|
116
116
|
*/
|
117
117
|
executeGremlinQuery(callback?: (err: AWSError, data: Neptunedata.Types.ExecuteGremlinQueryOutput) => void): Request<Neptunedata.Types.ExecuteGremlinQueryOutput, AWSError>;
|
118
118
|
/**
|
119
|
-
* Executes an openCypher explain request. See The openCypher explain feature for more information. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ReadDataViaQuery IAM action in that cluster. Note that the neptune-db:QueryLanguage:
|
119
|
+
* Executes an openCypher explain request. See The openCypher explain feature for more information. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ReadDataViaQuery IAM action in that cluster. Note that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).
|
120
120
|
*/
|
121
121
|
executeOpenCypherExplainQuery(params: Neptunedata.Types.ExecuteOpenCypherExplainQueryInput, callback?: (err: AWSError, data: Neptunedata.Types.ExecuteOpenCypherExplainQueryOutput) => void): Request<Neptunedata.Types.ExecuteOpenCypherExplainQueryOutput, AWSError>;
|
122
122
|
/**
|
123
|
-
* Executes an openCypher explain request. See The openCypher explain feature for more information. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ReadDataViaQuery IAM action in that cluster. Note that the neptune-db:QueryLanguage:
|
123
|
+
* Executes an openCypher explain request. See The openCypher explain feature for more information. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:ReadDataViaQuery IAM action in that cluster. Note that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).
|
124
124
|
*/
|
125
125
|
executeOpenCypherExplainQuery(callback?: (err: AWSError, data: Neptunedata.Types.ExecuteOpenCypherExplainQueryOutput) => void): Request<Neptunedata.Types.ExecuteOpenCypherExplainQueryOutput, AWSError>;
|
126
126
|
/**
|
127
|
-
* Executes an openCypher query. See Accessing the Neptune Graph with openCypher for more information. Neptune supports building graph applications using openCypher, which is currently one of the most popular query languages among developers working with graph databases. Developers, business analysts, and data scientists like openCypher's declarative, SQL-inspired syntax because it provides a familiar structure in which to querying property graphs. The openCypher language was originally developed by Neo4j, then open-sourced in 2015 and contributed to the openCypher project under an Apache 2 open-source license. Note that when invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows one of the following IAM actions in that cluster, depending on the query: neptune-db:ReadDataViaQuery neptune-db:WriteDataViaQuery neptune-db:DeleteDataViaQuery Note also that the neptune-db:QueryLanguage:
|
127
|
+
* Executes an openCypher query. See Accessing the Neptune Graph with openCypher for more information. Neptune supports building graph applications using openCypher, which is currently one of the most popular query languages among developers working with graph databases. Developers, business analysts, and data scientists like openCypher's declarative, SQL-inspired syntax because it provides a familiar structure in which to querying property graphs. The openCypher language was originally developed by Neo4j, then open-sourced in 2015 and contributed to the openCypher project under an Apache 2 open-source license. Note that when invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows one of the following IAM actions in that cluster, depending on the query: neptune-db:ReadDataViaQuery neptune-db:WriteDataViaQuery neptune-db:DeleteDataViaQuery Note also that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).
|
128
128
|
*/
|
129
129
|
executeOpenCypherQuery(params: Neptunedata.Types.ExecuteOpenCypherQueryInput, callback?: (err: AWSError, data: Neptunedata.Types.ExecuteOpenCypherQueryOutput) => void): Request<Neptunedata.Types.ExecuteOpenCypherQueryOutput, AWSError>;
|
130
130
|
/**
|
131
|
-
* Executes an openCypher query. See Accessing the Neptune Graph with openCypher for more information. Neptune supports building graph applications using openCypher, which is currently one of the most popular query languages among developers working with graph databases. Developers, business analysts, and data scientists like openCypher's declarative, SQL-inspired syntax because it provides a familiar structure in which to querying property graphs. The openCypher language was originally developed by Neo4j, then open-sourced in 2015 and contributed to the openCypher project under an Apache 2 open-source license. Note that when invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows one of the following IAM actions in that cluster, depending on the query: neptune-db:ReadDataViaQuery neptune-db:WriteDataViaQuery neptune-db:DeleteDataViaQuery Note also that the neptune-db:QueryLanguage:
|
131
|
+
* Executes an openCypher query. See Accessing the Neptune Graph with openCypher for more information. Neptune supports building graph applications using openCypher, which is currently one of the most popular query languages among developers working with graph databases. Developers, business analysts, and data scientists like openCypher's declarative, SQL-inspired syntax because it provides a familiar structure in which to querying property graphs. The openCypher language was originally developed by Neo4j, then open-sourced in 2015 and contributed to the openCypher project under an Apache 2 open-source license. Note that when invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows one of the following IAM actions in that cluster, depending on the query: neptune-db:ReadDataViaQuery neptune-db:WriteDataViaQuery neptune-db:DeleteDataViaQuery Note also that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).
|
132
132
|
*/
|
133
133
|
executeOpenCypherQuery(callback?: (err: AWSError, data: Neptunedata.Types.ExecuteOpenCypherQueryOutput) => void): Request<Neptunedata.Types.ExecuteOpenCypherQueryOutput, AWSError>;
|
134
134
|
/**
|
@@ -184,11 +184,11 @@ declare class Neptunedata extends Service {
|
|
184
184
|
*/
|
185
185
|
getMLModelTransformJob(callback?: (err: AWSError, data: Neptunedata.Types.GetMLModelTransformJobOutput) => void): Request<Neptunedata.Types.GetMLModelTransformJobOutput, AWSError>;
|
186
186
|
/**
|
187
|
-
* Retrieves the status of a specified openCypher query. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster. Note that the neptune-db:QueryLanguage:
|
187
|
+
* Retrieves the status of a specified openCypher query. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster. Note that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).
|
188
188
|
*/
|
189
189
|
getOpenCypherQueryStatus(params: Neptunedata.Types.GetOpenCypherQueryStatusInput, callback?: (err: AWSError, data: Neptunedata.Types.GetOpenCypherQueryStatusOutput) => void): Request<Neptunedata.Types.GetOpenCypherQueryStatusOutput, AWSError>;
|
190
190
|
/**
|
191
|
-
* Retrieves the status of a specified openCypher query. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster. Note that the neptune-db:QueryLanguage:
|
191
|
+
* Retrieves the status of a specified openCypher query. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster. Note that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).
|
192
192
|
*/
|
193
193
|
getOpenCypherQueryStatus(callback?: (err: AWSError, data: Neptunedata.Types.GetOpenCypherQueryStatusOutput) => void): Request<Neptunedata.Types.GetOpenCypherQueryStatusOutput, AWSError>;
|
194
194
|
/**
|
@@ -196,11 +196,11 @@ declare class Neptunedata extends Service {
|
|
196
196
|
*/
|
197
197
|
getPropertygraphStatistics(callback?: (err: AWSError, data: Neptunedata.Types.GetPropertygraphStatisticsOutput) => void): Request<Neptunedata.Types.GetPropertygraphStatisticsOutput, AWSError>;
|
198
198
|
/**
|
199
|
-
* Gets a stream for a property graph. With the Neptune Streams feature, you can generate a complete sequence of change-log entries that record every change made to your graph data as it happens. GetPropertygraphStream lets you collect these change-log entries for a property graph. The Neptune streams feature needs to be enabled on your Neptune DBcluster. To enable streams, set the neptune_streams DB cluster parameter to 1. See Capturing graph changes in real time using Neptune streams. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStreamRecords IAM action in that cluster. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that enables one of the following IAM actions, depending on the query: Note that you can restrict property-graph queries using the following IAM context keys: neptune-db:QueryLanguage:Gremlin neptune-db:QueryLanguage:
|
199
|
+
* Gets a stream for a property graph. With the Neptune Streams feature, you can generate a complete sequence of change-log entries that record every change made to your graph data as it happens. GetPropertygraphStream lets you collect these change-log entries for a property graph. The Neptune streams feature needs to be enabled on your Neptune DBcluster. To enable streams, set the neptune_streams DB cluster parameter to 1. See Capturing graph changes in real time using Neptune streams. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStreamRecords IAM action in that cluster. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that enables one of the following IAM actions, depending on the query: Note that you can restrict property-graph queries using the following IAM context keys: neptune-db:QueryLanguage:Gremlin neptune-db:QueryLanguage:OpenCypher See Condition keys available in Neptune IAM data-access policy statements).
|
200
200
|
*/
|
201
201
|
getPropertygraphStream(params: Neptunedata.Types.GetPropertygraphStreamInput, callback?: (err: AWSError, data: Neptunedata.Types.GetPropertygraphStreamOutput) => void): Request<Neptunedata.Types.GetPropertygraphStreamOutput, AWSError>;
|
202
202
|
/**
|
203
|
-
* Gets a stream for a property graph. With the Neptune Streams feature, you can generate a complete sequence of change-log entries that record every change made to your graph data as it happens. GetPropertygraphStream lets you collect these change-log entries for a property graph. The Neptune streams feature needs to be enabled on your Neptune DBcluster. To enable streams, set the neptune_streams DB cluster parameter to 1. See Capturing graph changes in real time using Neptune streams. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStreamRecords IAM action in that cluster. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that enables one of the following IAM actions, depending on the query: Note that you can restrict property-graph queries using the following IAM context keys: neptune-db:QueryLanguage:Gremlin neptune-db:QueryLanguage:
|
203
|
+
* Gets a stream for a property graph. With the Neptune Streams feature, you can generate a complete sequence of change-log entries that record every change made to your graph data as it happens. GetPropertygraphStream lets you collect these change-log entries for a property graph. The Neptune streams feature needs to be enabled on your Neptune DBcluster. To enable streams, set the neptune_streams DB cluster parameter to 1. See Capturing graph changes in real time using Neptune streams. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetStreamRecords IAM action in that cluster. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that enables one of the following IAM actions, depending on the query: Note that you can restrict property-graph queries using the following IAM context keys: neptune-db:QueryLanguage:Gremlin neptune-db:QueryLanguage:OpenCypher See Condition keys available in Neptune IAM data-access policy statements).
|
204
204
|
*/
|
205
205
|
getPropertygraphStream(callback?: (err: AWSError, data: Neptunedata.Types.GetPropertygraphStreamOutput) => void): Request<Neptunedata.Types.GetPropertygraphStreamOutput, AWSError>;
|
206
206
|
/**
|
@@ -280,11 +280,11 @@ declare class Neptunedata extends Service {
|
|
280
280
|
*/
|
281
281
|
listMLModelTransformJobs(callback?: (err: AWSError, data: Neptunedata.Types.ListMLModelTransformJobsOutput) => void): Request<Neptunedata.Types.ListMLModelTransformJobsOutput, AWSError>;
|
282
282
|
/**
|
283
|
-
* Lists active openCypher queries. See Neptune openCypher status endpoint for more information. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster. Note that the neptune-db:QueryLanguage:
|
283
|
+
* Lists active openCypher queries. See Neptune openCypher status endpoint for more information. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster. Note that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).
|
284
284
|
*/
|
285
285
|
listOpenCypherQueries(params: Neptunedata.Types.ListOpenCypherQueriesInput, callback?: (err: AWSError, data: Neptunedata.Types.ListOpenCypherQueriesOutput) => void): Request<Neptunedata.Types.ListOpenCypherQueriesOutput, AWSError>;
|
286
286
|
/**
|
287
|
-
* Lists active openCypher queries. See Neptune openCypher status endpoint for more information. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster. Note that the neptune-db:QueryLanguage:
|
287
|
+
* Lists active openCypher queries. See Neptune openCypher status endpoint for more information. When invoking this operation in a Neptune cluster that has IAM authentication enabled, the IAM user or role making the request must have a policy attached that allows the neptune-db:GetQueryStatus IAM action in that cluster. Note that the neptune-db:QueryLanguage:OpenCypher IAM condition key can be used in the policy document to restrict the use of openCypher queries (see Condition keys available in Neptune IAM data-access policy statements).
|
288
288
|
*/
|
289
289
|
listOpenCypherQueries(callback?: (err: AWSError, data: Neptunedata.Types.ListOpenCypherQueriesOutput) => void): Request<Neptunedata.Types.ListOpenCypherQueriesOutput, AWSError>;
|
290
290
|
/**
|
@@ -1643,7 +1643,7 @@ declare namespace Neptunedata {
|
|
1643
1643
|
*/
|
1644
1644
|
updateSingleCardinalityProperties?: Boolean;
|
1645
1645
|
/**
|
1646
|
-
* This is an optional flag parameter that indicates whether the load request can be queued up or not. You don't have to wait for one load job to complete before issuing the next one, because Neptune can queue up as many as 64 jobs at a time, provided that their queueRequest parameters are all set to "TRUE". If the queueRequest parameter is omitted or set to "FALSE", the load request will fail if another load job is already running. Allowed values: "TRUE", "FALSE". Default value: "FALSE".
|
1646
|
+
* This is an optional flag parameter that indicates whether the load request can be queued up or not. You don't have to wait for one load job to complete before issuing the next one, because Neptune can queue up as many as 64 jobs at a time, provided that their queueRequest parameters are all set to "TRUE". The queue order of the jobs will be first-in-first-out (FIFO). If the queueRequest parameter is omitted or set to "FALSE", the load request will fail if another load job is already running. Allowed values: "TRUE", "FALSE". Default value: "FALSE".
|
1647
1647
|
*/
|
1648
1648
|
queueRequest?: Boolean;
|
1649
1649
|
/**
|
@@ -132,11 +132,11 @@ declare class Translate extends Service {
|
|
132
132
|
*/
|
133
133
|
tagResource(callback?: (err: AWSError, data: Translate.Types.TagResourceResponse) => void): Request<Translate.Types.TagResourceResponse, AWSError>;
|
134
134
|
/**
|
135
|
-
* Translates the input document from the source language to the target language. This synchronous operation supports
|
135
|
+
* Translates the input document from the source language to the target language. This synchronous operation supports text, HTML, or Word documents as the input document. TranslateDocument supports translations from English to any supported language, and from any supported language to English. Therefore, specify either the source language code or the target language code as “en” (English). If you set the Formality parameter, the request will fail if the target language does not support formality. For a list of target languages that support formality, see Setting formality.
|
136
136
|
*/
|
137
137
|
translateDocument(params: Translate.Types.TranslateDocumentRequest, callback?: (err: AWSError, data: Translate.Types.TranslateDocumentResponse) => void): Request<Translate.Types.TranslateDocumentResponse, AWSError>;
|
138
138
|
/**
|
139
|
-
* Translates the input document from the source language to the target language. This synchronous operation supports
|
139
|
+
* Translates the input document from the source language to the target language. This synchronous operation supports text, HTML, or Word documents as the input document. TranslateDocument supports translations from English to any supported language, and from any supported language to English. Therefore, specify either the source language code or the target language code as “en” (English). If you set the Formality parameter, the request will fail if the target language does not support formality. For a list of target languages that support formality, see Setting formality.
|
140
140
|
*/
|
141
141
|
translateDocument(callback?: (err: AWSError, data: Translate.Types.TranslateDocumentResponse) => void): Request<Translate.Types.TranslateDocumentResponse, AWSError>;
|
142
142
|
/**
|
@@ -177,6 +177,7 @@ declare namespace Translate {
|
|
177
177
|
}
|
178
178
|
export type AppliedTerminologyList = AppliedTerminology[];
|
179
179
|
export type BoundedLengthString = string;
|
180
|
+
export type Brevity = "ON"|string;
|
180
181
|
export type ClientTokenString = string;
|
181
182
|
export type ContentType = string;
|
182
183
|
export interface CreateParallelDataRequest {
|
@@ -520,11 +521,11 @@ declare namespace Translate {
|
|
520
521
|
/**
|
521
522
|
* The URI of the Amazon S3 folder that contains the parallel data input file. The folder must be in the same Region as the API endpoint you are calling.
|
522
523
|
*/
|
523
|
-
S3Uri
|
524
|
+
S3Uri?: S3Uri;
|
524
525
|
/**
|
525
526
|
* The format of the parallel data input file.
|
526
527
|
*/
|
527
|
-
Format
|
528
|
+
Format?: ParallelDataFormat;
|
528
529
|
}
|
529
530
|
export interface ParallelDataDataLocation {
|
530
531
|
/**
|
@@ -649,7 +650,7 @@ declare namespace Translate {
|
|
649
650
|
*/
|
650
651
|
ClientToken: ClientTokenString;
|
651
652
|
/**
|
652
|
-
* Settings to configure your translation output
|
653
|
+
* Settings to configure your translation output. You can configure the following options: Brevity: not supported. Formality: sets the formality level of the output text. Profanity: masks profane words and phrases in your translation output.
|
653
654
|
*/
|
654
655
|
Settings?: TranslationSettings;
|
655
656
|
}
|
@@ -896,13 +897,16 @@ declare namespace Translate {
|
|
896
897
|
*/
|
897
898
|
TerminologyNames?: ResourceNameList;
|
898
899
|
/**
|
899
|
-
* The language code for the language of the source text.
|
900
|
+
* The language code for the language of the source text. For a list of supported language codes, see Supported languages. To have Amazon Translate determine the source language of your text, you can specify auto in the SourceLanguageCode field. If you specify auto, Amazon Translate will call Amazon Comprehend to determine the source language. If you specify auto, you must send the TranslateDocument request in a region that supports Amazon Comprehend. Otherwise, the request returns an error indicating that autodetect is not supported.
|
900
901
|
*/
|
901
902
|
SourceLanguageCode: LanguageCodeString;
|
902
903
|
/**
|
903
904
|
* The language code requested for the translated document. For a list of supported language codes, see Supported languages.
|
904
905
|
*/
|
905
906
|
TargetLanguageCode: LanguageCodeString;
|
907
|
+
/**
|
908
|
+
* Settings to configure your translation output. You can configure the following options: Brevity: not supported. Formality: sets the formality level of the output text. Profanity: masks profane words and phrases in your translation output.
|
909
|
+
*/
|
906
910
|
Settings?: TranslationSettings;
|
907
911
|
}
|
908
912
|
export interface TranslateDocumentResponse {
|
@@ -942,7 +946,7 @@ declare namespace Translate {
|
|
942
946
|
*/
|
943
947
|
TargetLanguageCode: LanguageCodeString;
|
944
948
|
/**
|
945
|
-
* Settings to configure your translation output
|
949
|
+
* Settings to configure your translation output. You can configure the following options: Brevity: reduces the length of the translated output for most translations. Formality: sets the formality level of the output text. Profanity: masks profane words and phrases in your translation output.
|
946
950
|
*/
|
947
951
|
Settings?: TranslationSettings;
|
948
952
|
}
|
@@ -978,13 +982,17 @@ declare namespace Translate {
|
|
978
982
|
export type TranslatedTextString = string;
|
979
983
|
export interface TranslationSettings {
|
980
984
|
/**
|
981
|
-
* You can
|
985
|
+
* You can specify the desired level of formality for translations to supported target languages. The formality setting controls the level of formal language usage (also known as register) in the translation output. You can set the value to informal or formal. If you don't specify a value for formality, or if the target language doesn't support formality, the translation will ignore the formality setting. If you specify multiple target languages for the job, translate ignores the formality setting for any unsupported target language. For a list of target languages that support formality, see Supported languages in the Amazon Translate Developer Guide.
|
982
986
|
*/
|
983
987
|
Formality?: Formality;
|
984
988
|
/**
|
985
|
-
*
|
989
|
+
* You can enable the profanity setting if you want to mask profane words and phrases in your translation output. To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words. Amazon Translate doesn't detect profanity in all of its supported languages. For languages that don't support profanity detection, see Unsupported languages in the Amazon Translate Developer Guide. If you specify multiple target languages for the job, all the target languages must support profanity masking. If any of the target languages don't support profanity masking, the translation job won't mask profanity for any target language.
|
986
990
|
*/
|
987
991
|
Profanity?: Profanity;
|
992
|
+
/**
|
993
|
+
* When you turn on brevity, Amazon Translate reduces the length of the translation output for most translations (when compared with the same translation with brevity turned off). By default, brevity is turned off. If you turn on brevity for a translation request with an unsupported language pair, the translation proceeds with the brevity setting turned off. For the language pairs that brevity supports, see Using brevity in the Amazon Translate Developer Guide.
|
994
|
+
*/
|
995
|
+
Brevity?: Brevity;
|
988
996
|
}
|
989
997
|
export type UnboundedLengthString = string;
|
990
998
|
export interface UntagResourceRequest {
|