cdk-comprehend-s3olap 2.0.22 → 2.0.23
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-comprehend-s3olap.js +2 -2
- package/lib/comprehend-lambdas.js +2 -2
- package/lib/iam-roles.js +4 -4
- package/node_modules/aws-sdk/CHANGELOG.md +10 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/appstream-2016-12-01.min.json +39 -24
- package/node_modules/aws-sdk/apis/elasticmapreduce-2009-03-31.min.json +131 -128
- package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +269 -234
- package/node_modules/aws-sdk/apis/metadata.json +4 -0
- package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.examples.json +5 -0
- package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +1206 -0
- package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.paginators.json +40 -0
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +253 -103
- package/node_modules/aws-sdk/apis/translate-2017-07-01.min.json +33 -0
- package/node_modules/aws-sdk/apis/translate-2017-07-01.paginators.json +5 -0
- package/node_modules/aws-sdk/clients/all.d.ts +1 -0
- package/node_modules/aws-sdk/clients/all.js +2 -1
- package/node_modules/aws-sdk/clients/appstream.d.ts +22 -3
- package/node_modules/aws-sdk/clients/elbv2.d.ts +10 -10
- package/node_modules/aws-sdk/clients/emr.d.ts +8 -3
- package/node_modules/aws-sdk/clients/medialive.d.ts +41 -3
- package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +1525 -0
- package/node_modules/aws-sdk/clients/redshiftserverless.js +18 -0
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +245 -4
- package/node_modules/aws-sdk/clients/translate.d.ts +70 -18
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +48 -11
- package/node_modules/aws-sdk/dist/aws-sdk.js +177 -132
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +44 -44
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/lib/s3/managed_upload.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
@@ -0,0 +1,18 @@
|
|
1
|
+
require('../lib/node_loader');
|
2
|
+
var AWS = require('../lib/core');
|
3
|
+
var Service = AWS.Service;
|
4
|
+
var apiLoader = AWS.apiLoader;
|
5
|
+
|
6
|
+
apiLoader.services['redshiftserverless'] = {};
|
7
|
+
AWS.RedshiftServerless = Service.defineService('redshiftserverless', ['2021-04-21']);
|
8
|
+
Object.defineProperty(apiLoader.services['redshiftserverless'], '2021-04-21', {
|
9
|
+
get: function get() {
|
10
|
+
var model = require('../apis/redshift-serverless-2021-04-21.min.json');
|
11
|
+
model.paginators = require('../apis/redshift-serverless-2021-04-21.paginators.json').pagination;
|
12
|
+
return model;
|
13
|
+
},
|
14
|
+
enumerable: true,
|
15
|
+
configurable: true
|
16
|
+
});
|
17
|
+
|
18
|
+
module.exports = AWS.RedshiftServerless;
|
@@ -868,6 +868,14 @@ declare class SageMaker extends Service {
|
|
868
868
|
* Use this operation to describe a FeatureGroup. The response includes information on the creation time, FeatureGroup name, the unique identifier for each FeatureGroup, and more.
|
869
869
|
*/
|
870
870
|
describeFeatureGroup(callback?: (err: AWSError, data: SageMaker.Types.DescribeFeatureGroupResponse) => void): Request<SageMaker.Types.DescribeFeatureGroupResponse, AWSError>;
|
871
|
+
/**
|
872
|
+
* Shows the metadata for a feature within a feature group.
|
873
|
+
*/
|
874
|
+
describeFeatureMetadata(params: SageMaker.Types.DescribeFeatureMetadataRequest, callback?: (err: AWSError, data: SageMaker.Types.DescribeFeatureMetadataResponse) => void): Request<SageMaker.Types.DescribeFeatureMetadataResponse, AWSError>;
|
875
|
+
/**
|
876
|
+
* Shows the metadata for a feature within a feature group.
|
877
|
+
*/
|
878
|
+
describeFeatureMetadata(callback?: (err: AWSError, data: SageMaker.Types.DescribeFeatureMetadataResponse) => void): Request<SageMaker.Types.DescribeFeatureMetadataResponse, AWSError>;
|
871
879
|
/**
|
872
880
|
* Returns information about the specified flow definition.
|
873
881
|
*/
|
@@ -1908,6 +1916,22 @@ declare class SageMaker extends Service {
|
|
1908
1916
|
* Adds, updates, or removes the description of an experiment. Updates the display name of an experiment.
|
1909
1917
|
*/
|
1910
1918
|
updateExperiment(callback?: (err: AWSError, data: SageMaker.Types.UpdateExperimentResponse) => void): Request<SageMaker.Types.UpdateExperimentResponse, AWSError>;
|
1919
|
+
/**
|
1920
|
+
* Updates the feature group.
|
1921
|
+
*/
|
1922
|
+
updateFeatureGroup(params: SageMaker.Types.UpdateFeatureGroupRequest, callback?: (err: AWSError, data: SageMaker.Types.UpdateFeatureGroupResponse) => void): Request<SageMaker.Types.UpdateFeatureGroupResponse, AWSError>;
|
1923
|
+
/**
|
1924
|
+
* Updates the feature group.
|
1925
|
+
*/
|
1926
|
+
updateFeatureGroup(callback?: (err: AWSError, data: SageMaker.Types.UpdateFeatureGroupResponse) => void): Request<SageMaker.Types.UpdateFeatureGroupResponse, AWSError>;
|
1927
|
+
/**
|
1928
|
+
* Updates the description and parameters of the feature group.
|
1929
|
+
*/
|
1930
|
+
updateFeatureMetadata(params: SageMaker.Types.UpdateFeatureMetadataRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
1931
|
+
/**
|
1932
|
+
* Updates the description and parameters of the feature group.
|
1933
|
+
*/
|
1934
|
+
updateFeatureMetadata(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
1911
1935
|
/**
|
1912
1936
|
* Updates the properties of a SageMaker image. To change the image's tags, use the AddTags and DeleteTags APIs.
|
1913
1937
|
*/
|
@@ -2949,7 +2973,13 @@ declare namespace SageMaker {
|
|
2949
2973
|
* The bias report for a model
|
2950
2974
|
*/
|
2951
2975
|
Report?: MetricsSource;
|
2976
|
+
/**
|
2977
|
+
* The pre-training bias report for a model.
|
2978
|
+
*/
|
2952
2979
|
PreTrainingReport?: MetricsSource;
|
2980
|
+
/**
|
2981
|
+
* The post-training bias report for a model.
|
2982
|
+
*/
|
2953
2983
|
PostTrainingReport?: MetricsSource;
|
2954
2984
|
}
|
2955
2985
|
export type BillableTimeInSeconds = number;
|
@@ -6641,6 +6671,10 @@ declare namespace SageMaker {
|
|
6641
6671
|
* A timestamp indicating when SageMaker created the FeatureGroup.
|
6642
6672
|
*/
|
6643
6673
|
CreationTime: CreationTime;
|
6674
|
+
/**
|
6675
|
+
* A timestamp indicating when the feature group was last updated.
|
6676
|
+
*/
|
6677
|
+
LastModifiedTime?: LastModifiedTime;
|
6644
6678
|
/**
|
6645
6679
|
* The configuration for the OnlineStore.
|
6646
6680
|
*/
|
@@ -6661,6 +6695,10 @@ declare namespace SageMaker {
|
|
6661
6695
|
* The status of the OfflineStore. Notifies you if replicating data into the OfflineStore has failed. Returns either: Active or Blocked
|
6662
6696
|
*/
|
6663
6697
|
OfflineStoreStatus?: OfflineStoreStatus;
|
6698
|
+
/**
|
6699
|
+
* A value indicating whether the update made to the feature group was successful.
|
6700
|
+
*/
|
6701
|
+
LastUpdateStatus?: LastUpdateStatus;
|
6664
6702
|
/**
|
6665
6703
|
* The reason that the FeatureGroup failed to be replicated in the OfflineStore. This is failure can occur because: The FeatureGroup could not be created in the OfflineStore. The FeatureGroup could not be deleted from the OfflineStore.
|
6666
6704
|
*/
|
@@ -6673,6 +6711,54 @@ declare namespace SageMaker {
|
|
6673
6711
|
* A token to resume pagination of the list of Features (FeatureDefinitions).
|
6674
6712
|
*/
|
6675
6713
|
NextToken: NextToken;
|
6714
|
+
/**
|
6715
|
+
* The size of the OnlineStore in bytes.
|
6716
|
+
*/
|
6717
|
+
OnlineStoreTotalSizeBytes?: OnlineStoreTotalSizeBytes;
|
6718
|
+
}
|
6719
|
+
export interface DescribeFeatureMetadataRequest {
|
6720
|
+
/**
|
6721
|
+
* The name of the feature group containing the feature.
|
6722
|
+
*/
|
6723
|
+
FeatureGroupName: FeatureGroupName;
|
6724
|
+
/**
|
6725
|
+
* The name of the feature.
|
6726
|
+
*/
|
6727
|
+
FeatureName: FeatureName;
|
6728
|
+
}
|
6729
|
+
export interface DescribeFeatureMetadataResponse {
|
6730
|
+
/**
|
6731
|
+
* The Amazon Resource Number (ARN) of the feature group that contains the feature.
|
6732
|
+
*/
|
6733
|
+
FeatureGroupArn: FeatureGroupArn;
|
6734
|
+
/**
|
6735
|
+
* The name of the feature group that you've specified.
|
6736
|
+
*/
|
6737
|
+
FeatureGroupName: FeatureGroupName;
|
6738
|
+
/**
|
6739
|
+
* The name of the feature that you've specified.
|
6740
|
+
*/
|
6741
|
+
FeatureName: FeatureName;
|
6742
|
+
/**
|
6743
|
+
* The data type of the feature.
|
6744
|
+
*/
|
6745
|
+
FeatureType: FeatureType;
|
6746
|
+
/**
|
6747
|
+
* A timestamp indicating when the feature was created.
|
6748
|
+
*/
|
6749
|
+
CreationTime: CreationTime;
|
6750
|
+
/**
|
6751
|
+
* A timestamp indicating when the metadata for the feature group was modified. For example, if you add a parameter describing the feature, the timestamp changes to reflect the last time you
|
6752
|
+
*/
|
6753
|
+
LastModifiedTime: LastModifiedTime;
|
6754
|
+
/**
|
6755
|
+
* The description you added to describe the feature.
|
6756
|
+
*/
|
6757
|
+
Description?: FeatureDescription;
|
6758
|
+
/**
|
6759
|
+
* The key-value pairs that you added to describe the feature.
|
6760
|
+
*/
|
6761
|
+
Parameters?: FeatureParameters;
|
6676
6762
|
}
|
6677
6763
|
export interface DescribeFlowDefinitionRequest {
|
6678
6764
|
/**
|
@@ -8507,10 +8593,19 @@ declare namespace SageMaker {
|
|
8507
8593
|
* The bias config file for a model.
|
8508
8594
|
*/
|
8509
8595
|
ConfigFile?: FileSource;
|
8596
|
+
/**
|
8597
|
+
* The pre-training constraints.
|
8598
|
+
*/
|
8510
8599
|
PreTrainingConstraints?: MetricsSource;
|
8600
|
+
/**
|
8601
|
+
* The post-training constraints.
|
8602
|
+
*/
|
8511
8603
|
PostTrainingConstraints?: MetricsSource;
|
8512
8604
|
}
|
8513
8605
|
export interface DriftCheckExplainability {
|
8606
|
+
/**
|
8607
|
+
* The drift check explainability constraints.
|
8608
|
+
*/
|
8514
8609
|
Constraints?: MetricsSource;
|
8515
8610
|
/**
|
8516
8611
|
* The explainability config file for the model.
|
@@ -8518,11 +8613,23 @@ declare namespace SageMaker {
|
|
8518
8613
|
ConfigFile?: FileSource;
|
8519
8614
|
}
|
8520
8615
|
export interface DriftCheckModelDataQuality {
|
8616
|
+
/**
|
8617
|
+
* The drift check model data quality statistics.
|
8618
|
+
*/
|
8521
8619
|
Statistics?: MetricsSource;
|
8620
|
+
/**
|
8621
|
+
* The drift check model data quality constraints.
|
8622
|
+
*/
|
8522
8623
|
Constraints?: MetricsSource;
|
8523
8624
|
}
|
8524
8625
|
export interface DriftCheckModelQuality {
|
8626
|
+
/**
|
8627
|
+
* The drift check model quality statistics.
|
8628
|
+
*/
|
8525
8629
|
Statistics?: MetricsSource;
|
8630
|
+
/**
|
8631
|
+
* The drift check model quality constraints.
|
8632
|
+
*/
|
8526
8633
|
Constraints?: MetricsSource;
|
8527
8634
|
}
|
8528
8635
|
export interface EMRStepMetadata {
|
@@ -8996,6 +9103,7 @@ declare namespace SageMaker {
|
|
8996
9103
|
ErrorMessage?: String3072;
|
8997
9104
|
}
|
8998
9105
|
export type FailureReason = string;
|
9106
|
+
export type FeatureAdditions = FeatureDefinition[];
|
8999
9107
|
export interface FeatureDefinition {
|
9000
9108
|
/**
|
9001
9109
|
* The name of a feature. The type must be a string. FeatureName cannot be any of the following: is_deleted, write_time, api_invocation_time.
|
@@ -9007,6 +9115,7 @@ declare namespace SageMaker {
|
|
9007
9115
|
FeatureType?: FeatureType;
|
9008
9116
|
}
|
9009
9117
|
export type FeatureDefinitions = FeatureDefinition[];
|
9118
|
+
export type FeatureDescription = string;
|
9010
9119
|
export interface FeatureGroup {
|
9011
9120
|
/**
|
9012
9121
|
* The Amazon Resource Name (ARN) of a FeatureGroup.
|
@@ -9032,6 +9141,10 @@ declare namespace SageMaker {
|
|
9032
9141
|
* The time a FeatureGroup was created.
|
9033
9142
|
*/
|
9034
9143
|
CreationTime?: CreationTime;
|
9144
|
+
/**
|
9145
|
+
* A timestamp indicating the last time you updated the feature group.
|
9146
|
+
*/
|
9147
|
+
LastModifiedTime?: LastModifiedTime;
|
9035
9148
|
OnlineStoreConfig?: OnlineStoreConfig;
|
9036
9149
|
OfflineStoreConfig?: OfflineStoreConfig;
|
9037
9150
|
/**
|
@@ -9043,6 +9156,10 @@ declare namespace SageMaker {
|
|
9043
9156
|
*/
|
9044
9157
|
FeatureGroupStatus?: FeatureGroupStatus;
|
9045
9158
|
OfflineStoreStatus?: OfflineStoreStatus;
|
9159
|
+
/**
|
9160
|
+
* A value that indicates whether the feature group was updated successfully.
|
9161
|
+
*/
|
9162
|
+
LastUpdateStatus?: LastUpdateStatus;
|
9046
9163
|
/**
|
9047
9164
|
* The reason that the FeatureGroup failed to be replicated in the OfflineStore. This is failure may be due to a failure to create a FeatureGroup in or delete a FeatureGroup from the OfflineStore.
|
9048
9165
|
*/
|
@@ -9086,7 +9203,56 @@ declare namespace SageMaker {
|
|
9086
9203
|
*/
|
9087
9204
|
OfflineStoreStatus?: OfflineStoreStatus;
|
9088
9205
|
}
|
9206
|
+
export interface FeatureMetadata {
|
9207
|
+
/**
|
9208
|
+
* The Amazon Resource Number (ARN) of the feature group.
|
9209
|
+
*/
|
9210
|
+
FeatureGroupArn?: FeatureGroupArn;
|
9211
|
+
/**
|
9212
|
+
* The name of the feature group containing the feature.
|
9213
|
+
*/
|
9214
|
+
FeatureGroupName?: FeatureGroupName;
|
9215
|
+
/**
|
9216
|
+
* The name of feature.
|
9217
|
+
*/
|
9218
|
+
FeatureName?: FeatureName;
|
9219
|
+
/**
|
9220
|
+
* The data type of the feature.
|
9221
|
+
*/
|
9222
|
+
FeatureType?: FeatureType;
|
9223
|
+
/**
|
9224
|
+
* A timestamp indicating when the feature was created.
|
9225
|
+
*/
|
9226
|
+
CreationTime?: CreationTime;
|
9227
|
+
/**
|
9228
|
+
* A timestamp indicating when the feature was last modified.
|
9229
|
+
*/
|
9230
|
+
LastModifiedTime?: LastModifiedTime;
|
9231
|
+
/**
|
9232
|
+
* An optional description that you specify to better describe the feature.
|
9233
|
+
*/
|
9234
|
+
Description?: FeatureDescription;
|
9235
|
+
/**
|
9236
|
+
* Optional key-value pairs that you specify to better describe the feature.
|
9237
|
+
*/
|
9238
|
+
Parameters?: FeatureParameters;
|
9239
|
+
}
|
9089
9240
|
export type FeatureName = string;
|
9241
|
+
export interface FeatureParameter {
|
9242
|
+
/**
|
9243
|
+
* A key that must contain a value to describe the feature.
|
9244
|
+
*/
|
9245
|
+
Key?: FeatureParameterKey;
|
9246
|
+
/**
|
9247
|
+
* The value that belongs to a key.
|
9248
|
+
*/
|
9249
|
+
Value?: FeatureParameterValue;
|
9250
|
+
}
|
9251
|
+
export type FeatureParameterAdditions = FeatureParameter[];
|
9252
|
+
export type FeatureParameterKey = string;
|
9253
|
+
export type FeatureParameterRemovals = FeatureParameterKey[];
|
9254
|
+
export type FeatureParameterValue = string;
|
9255
|
+
export type FeatureParameters = FeatureParameter[];
|
9090
9256
|
export type FeatureType = "Integral"|"Fractional"|"String"|string;
|
9091
9257
|
export interface FileSource {
|
9092
9258
|
/**
|
@@ -10254,6 +10420,17 @@ declare namespace SageMaker {
|
|
10254
10420
|
OutputParameters?: OutputParameterList;
|
10255
10421
|
}
|
10256
10422
|
export type LastModifiedTime = Date;
|
10423
|
+
export interface LastUpdateStatus {
|
10424
|
+
/**
|
10425
|
+
* A value that indicates whether the update was made successful.
|
10426
|
+
*/
|
10427
|
+
Status: LastUpdateStatusValue;
|
10428
|
+
/**
|
10429
|
+
* If the update wasn't successful, indicates the reason why it failed.
|
10430
|
+
*/
|
10431
|
+
FailureReason?: FailureReason;
|
10432
|
+
}
|
10433
|
+
export type LastUpdateStatusValue = "Successful"|"Failed"|"InProgress"|string;
|
10257
10434
|
export type LifecycleConfigArns = StudioLifecycleConfigArn[];
|
10258
10435
|
export type LineageEntityParameters = {[key: string]: StringParameterValue};
|
10259
10436
|
export type LineageGroupArn = string;
|
@@ -12862,15 +13039,15 @@ declare namespace SageMaker {
|
|
12862
13039
|
export type MetricValue = number;
|
12863
13040
|
export interface MetricsSource {
|
12864
13041
|
/**
|
12865
|
-
*
|
13042
|
+
* The metric source content type.
|
12866
13043
|
*/
|
12867
13044
|
ContentType: ContentType;
|
12868
13045
|
/**
|
12869
|
-
*
|
13046
|
+
* The hash key used for the metrics source.
|
12870
13047
|
*/
|
12871
13048
|
ContentDigest?: ContentDigest;
|
12872
13049
|
/**
|
12873
|
-
*
|
13050
|
+
* The S3 URI for the metrics source.
|
12874
13051
|
*/
|
12875
13052
|
S3Uri: S3Uri;
|
12876
13053
|
}
|
@@ -13092,13 +13269,25 @@ declare namespace SageMaker {
|
|
13092
13269
|
* The time that the model package was created.
|
13093
13270
|
*/
|
13094
13271
|
CreationTime?: CreationTime;
|
13272
|
+
/**
|
13273
|
+
* Defines how to perform inference generation after a training job is run.
|
13274
|
+
*/
|
13095
13275
|
InferenceSpecification?: InferenceSpecification;
|
13276
|
+
/**
|
13277
|
+
* A list of algorithms that were used to create a model package.
|
13278
|
+
*/
|
13096
13279
|
SourceAlgorithmSpecification?: SourceAlgorithmSpecification;
|
13280
|
+
/**
|
13281
|
+
* Specifies batch transform jobs that SageMaker runs to validate your model package.
|
13282
|
+
*/
|
13097
13283
|
ValidationSpecification?: ModelPackageValidationSpecification;
|
13098
13284
|
/**
|
13099
13285
|
* The status of the model package. This can be one of the following values. PENDING - The model package is pending being created. IN_PROGRESS - The model package is in the process of being created. COMPLETED - The model package was successfully created. FAILED - The model package failed. DELETING - The model package is in the process of being deleted.
|
13100
13286
|
*/
|
13101
13287
|
ModelPackageStatus?: ModelPackageStatus;
|
13288
|
+
/**
|
13289
|
+
* Specifies the validation and image scan statuses of the model package.
|
13290
|
+
*/
|
13102
13291
|
ModelPackageStatusDetails?: ModelPackageStatusDetails;
|
13103
13292
|
/**
|
13104
13293
|
* Whether the model package is to be certified to be listed on Amazon Web Services Marketplace. For information about listing model packages on Amazon Web Services Marketplace, see List Your Algorithm or Model Package on Amazon Web Services Marketplace.
|
@@ -13108,7 +13297,13 @@ declare namespace SageMaker {
|
|
13108
13297
|
* The approval status of the model. This can be one of the following values. APPROVED - The model is approved REJECTED - The model is rejected. PENDING_MANUAL_APPROVAL - The model is waiting for manual approval.
|
13109
13298
|
*/
|
13110
13299
|
ModelApprovalStatus?: ModelApprovalStatus;
|
13300
|
+
/**
|
13301
|
+
* Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.
|
13302
|
+
*/
|
13111
13303
|
CreatedBy?: UserContext;
|
13304
|
+
/**
|
13305
|
+
* Metadata properties of the tracking entity, trial, or trial component.
|
13306
|
+
*/
|
13112
13307
|
MetadataProperties?: MetadataProperties;
|
13113
13308
|
/**
|
13114
13309
|
* Metrics for the model.
|
@@ -13118,6 +13313,9 @@ declare namespace SageMaker {
|
|
13118
13313
|
* The last time the model package was modified.
|
13119
13314
|
*/
|
13120
13315
|
LastModifiedTime?: Timestamp;
|
13316
|
+
/**
|
13317
|
+
* Information about the user who created or modified an experiment, trial, trial component, lineage group, or project.
|
13318
|
+
*/
|
13121
13319
|
LastModifiedBy?: UserContext;
|
13122
13320
|
/**
|
13123
13321
|
* A description provided when the model approval is set.
|
@@ -14021,6 +14219,7 @@ declare namespace SageMaker {
|
|
14021
14219
|
*/
|
14022
14220
|
KmsKeyId?: KmsKeyId;
|
14023
14221
|
}
|
14222
|
+
export type OnlineStoreTotalSizeBytes = number;
|
14024
14223
|
export type Operator = "Equals"|"NotEquals"|"GreaterThan"|"GreaterThanOrEqualTo"|"LessThan"|"LessThanOrEqualTo"|"Contains"|"Exists"|"NotExists"|"In"|string;
|
14025
14224
|
export type OptionalDouble = number;
|
14026
14225
|
export type OptionalInteger = number;
|
@@ -15492,7 +15691,7 @@ declare namespace SageMaker {
|
|
15492
15691
|
*/
|
15493
15692
|
LifecycleConfigArn?: StudioLifecycleConfigArn;
|
15494
15693
|
}
|
15495
|
-
export type ResourceType = "TrainingJob"|"Experiment"|"ExperimentTrial"|"ExperimentTrialComponent"|"Endpoint"|"ModelPackage"|"ModelPackageGroup"|"Pipeline"|"PipelineExecution"|"FeatureGroup"|"Project"|string;
|
15694
|
+
export type ResourceType = "TrainingJob"|"Experiment"|"ExperimentTrial"|"ExperimentTrialComponent"|"Endpoint"|"ModelPackage"|"ModelPackageGroup"|"Pipeline"|"PipelineExecution"|"FeatureGroup"|"Project"|"FeatureMetadata"|string;
|
15496
15695
|
export type ResponseMIMEType = string;
|
15497
15696
|
export type ResponseMIMETypes = ResponseMIMEType[];
|
15498
15697
|
export interface RetentionPolicy {
|
@@ -15624,6 +15823,10 @@ declare namespace SageMaker {
|
|
15624
15823
|
* The properties of a project.
|
15625
15824
|
*/
|
15626
15825
|
Project?: Project;
|
15826
|
+
/**
|
15827
|
+
* The feature metadata used to search through the features.
|
15828
|
+
*/
|
15829
|
+
FeatureMetadata?: FeatureMetadata;
|
15627
15830
|
}
|
15628
15831
|
export interface SearchRequest {
|
15629
15832
|
/**
|
@@ -17211,6 +17414,44 @@ declare namespace SageMaker {
|
|
17211
17414
|
*/
|
17212
17415
|
ExperimentArn?: ExperimentArn;
|
17213
17416
|
}
|
17417
|
+
export interface UpdateFeatureGroupRequest {
|
17418
|
+
/**
|
17419
|
+
* The name of the feature group that you're updating.
|
17420
|
+
*/
|
17421
|
+
FeatureGroupName: FeatureGroupName;
|
17422
|
+
/**
|
17423
|
+
* A list of the features that you're adding to the feature group.
|
17424
|
+
*/
|
17425
|
+
FeatureAdditions?: FeatureAdditions;
|
17426
|
+
}
|
17427
|
+
export interface UpdateFeatureGroupResponse {
|
17428
|
+
/**
|
17429
|
+
* The Amazon Resource Number (ARN) of the feature group that you're updating.
|
17430
|
+
*/
|
17431
|
+
FeatureGroupArn: FeatureGroupArn;
|
17432
|
+
}
|
17433
|
+
export interface UpdateFeatureMetadataRequest {
|
17434
|
+
/**
|
17435
|
+
* The name of the feature group containing the feature that you're updating.
|
17436
|
+
*/
|
17437
|
+
FeatureGroupName: FeatureGroupName;
|
17438
|
+
/**
|
17439
|
+
* The name of the feature that you're updating.
|
17440
|
+
*/
|
17441
|
+
FeatureName: FeatureName;
|
17442
|
+
/**
|
17443
|
+
* A description that you can write to better describe the feature.
|
17444
|
+
*/
|
17445
|
+
Description?: FeatureDescription;
|
17446
|
+
/**
|
17447
|
+
* A list of key-value pairs that you can add to better describe the feature.
|
17448
|
+
*/
|
17449
|
+
ParameterAdditions?: FeatureParameterAdditions;
|
17450
|
+
/**
|
17451
|
+
* A list of parameter keys that you can specify to remove parameters that describe your feature.
|
17452
|
+
*/
|
17453
|
+
ParameterRemovals?: FeatureParameterRemovals;
|
17454
|
+
}
|
17214
17455
|
export interface UpdateImageRequest {
|
17215
17456
|
/**
|
17216
17457
|
* A list of properties to delete. Only the Description and DisplayName properties can be deleted.
|
@@ -60,13 +60,21 @@ declare class Translate extends Service {
|
|
60
60
|
*/
|
61
61
|
getTerminology(callback?: (err: AWSError, data: Translate.Types.GetTerminologyResponse) => void): Request<Translate.Types.GetTerminologyResponse, AWSError>;
|
62
62
|
/**
|
63
|
-
* Creates or updates a custom terminology, depending on whether
|
63
|
+
* Creates or updates a custom terminology, depending on whether one already exists for the given terminology name. Importing a terminology with the same name as an existing one will merge the terminologies based on the chosen merge strategy. The only supported merge strategy is OVERWRITE, where the imported terminology overwrites the existing terminology of the same name. If you import a terminology that overwrites an existing one, the new terminology takes up to 10 minutes to fully propagate. After that, translations have access to the new terminology.
|
64
64
|
*/
|
65
65
|
importTerminology(params: Translate.Types.ImportTerminologyRequest, callback?: (err: AWSError, data: Translate.Types.ImportTerminologyResponse) => void): Request<Translate.Types.ImportTerminologyResponse, AWSError>;
|
66
66
|
/**
|
67
|
-
* Creates or updates a custom terminology, depending on whether
|
67
|
+
* Creates or updates a custom terminology, depending on whether one already exists for the given terminology name. Importing a terminology with the same name as an existing one will merge the terminologies based on the chosen merge strategy. The only supported merge strategy is OVERWRITE, where the imported terminology overwrites the existing terminology of the same name. If you import a terminology that overwrites an existing one, the new terminology takes up to 10 minutes to fully propagate. After that, translations have access to the new terminology.
|
68
68
|
*/
|
69
69
|
importTerminology(callback?: (err: AWSError, data: Translate.Types.ImportTerminologyResponse) => void): Request<Translate.Types.ImportTerminologyResponse, AWSError>;
|
70
|
+
/**
|
71
|
+
* Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports.
|
72
|
+
*/
|
73
|
+
listLanguages(params: Translate.Types.ListLanguagesRequest, callback?: (err: AWSError, data: Translate.Types.ListLanguagesResponse) => void): Request<Translate.Types.ListLanguagesResponse, AWSError>;
|
74
|
+
/**
|
75
|
+
* Provides a list of languages (RFC-5646 codes and names) that Amazon Translate supports.
|
76
|
+
*/
|
77
|
+
listLanguages(callback?: (err: AWSError, data: Translate.Types.ListLanguagesResponse) => void): Request<Translate.Types.ListLanguagesResponse, AWSError>;
|
70
78
|
/**
|
71
79
|
* Provides a list of your parallel data resources in Amazon Translate.
|
72
80
|
*/
|
@@ -204,6 +212,7 @@ declare namespace Translate {
|
|
204
212
|
}
|
205
213
|
export type Description = string;
|
206
214
|
export type Directionality = "UNI"|"MULTI"|string;
|
215
|
+
export type DisplayLanguageCode = "de"|"en"|"es"|"fr"|"it"|"ja"|"ko"|"pt"|"zh"|"zh-TW"|string;
|
207
216
|
export interface EncryptionKey {
|
208
217
|
/**
|
209
218
|
* The type of encryption key used by Amazon Translate to encrypt this object.
|
@@ -229,15 +238,15 @@ declare namespace Translate {
|
|
229
238
|
*/
|
230
239
|
ParallelDataProperties?: ParallelDataProperties;
|
231
240
|
/**
|
232
|
-
* The Amazon S3 location of the most recent parallel data input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30
|
241
|
+
* The Amazon S3 location of the most recent parallel data input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration. Amazon Translate doesn't scan all input files for the risk of CSV injection attacks. CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it. Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.
|
233
242
|
*/
|
234
243
|
DataLocation?: ParallelDataDataLocation;
|
235
244
|
/**
|
236
|
-
* The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a parallel data resource. The location is returned as a presigned URL to that has a 30
|
245
|
+
* The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.
|
237
246
|
*/
|
238
247
|
AuxiliaryDataLocation?: ParallelDataDataLocation;
|
239
248
|
/**
|
240
|
-
* The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to update a parallel data resource. The location is returned as a presigned URL to that has a 30
|
249
|
+
* The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to update a parallel data resource. The location is returned as a presigned URL to that has a 30-minute expiration.
|
241
250
|
*/
|
242
251
|
LatestUpdateAttemptAuxiliaryDataLocation?: ParallelDataDataLocation;
|
243
252
|
}
|
@@ -247,7 +256,7 @@ declare namespace Translate {
|
|
247
256
|
*/
|
248
257
|
Name: ResourceName;
|
249
258
|
/**
|
250
|
-
* The data format of the custom terminology being retrieved. If you don't specify this parameter, Amazon Translate returns a file
|
259
|
+
* The data format of the custom terminology being retrieved. If you don't specify this parameter, Amazon Translate returns a file with the same format as the file that was imported to create the terminology. If you specify this parameter when you retrieve a multi-directional terminology resource, you must specify the same format as the input file that was imported to create it. Otherwise, Amazon Translate throws an error.
|
251
260
|
*/
|
252
261
|
TerminologyDataFormat?: TerminologyDataFormat;
|
253
262
|
}
|
@@ -257,11 +266,11 @@ declare namespace Translate {
|
|
257
266
|
*/
|
258
267
|
TerminologyProperties?: TerminologyProperties;
|
259
268
|
/**
|
260
|
-
* The Amazon S3 location of the most recent custom terminology input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30
|
269
|
+
* The Amazon S3 location of the most recent custom terminology input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration. Amazon Translate doesn't scan all input files for the risk of CSV injection attacks. CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it. Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.
|
261
270
|
*/
|
262
271
|
TerminologyDataLocation?: TerminologyDataLocation;
|
263
272
|
/**
|
264
|
-
* The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a terminology resource. The location is returned as a presigned URL to that has a 30
|
273
|
+
* The Amazon S3 location of a file that provides any errors or warnings that were produced by your input file. This file was created when Amazon Translate attempted to create a terminology resource. The location is returned as a presigned URL to that has a 30-minute expiration.
|
265
274
|
*/
|
266
275
|
AuxiliaryDataLocation?: TerminologyDataLocation;
|
267
276
|
}
|
@@ -300,7 +309,7 @@ declare namespace Translate {
|
|
300
309
|
}
|
301
310
|
export interface InputDataConfig {
|
302
311
|
/**
|
303
|
-
* The URI of the AWS S3 folder that contains the input
|
312
|
+
* The URI of the AWS S3 folder that contains the input files. Amazon Translate translates all the files in the folder. The folder must be in the same Region as the API endpoint you are calling. The URI can also point to a single input document, or it can provide the prefix for a collection of input documents. For example. if you use the URI S3://bucketName/prefix and the prefix is a single file, Amazon Translate uses that files as input. If more than one file begins with the prefix, Amazon Translate uses all of them as input.
|
304
313
|
*/
|
305
314
|
S3Uri: S3Uri;
|
306
315
|
/**
|
@@ -326,8 +335,47 @@ declare namespace Translate {
|
|
326
335
|
export type JobId = string;
|
327
336
|
export type JobName = string;
|
328
337
|
export type JobStatus = "SUBMITTED"|"IN_PROGRESS"|"COMPLETED"|"COMPLETED_WITH_ERROR"|"FAILED"|"STOP_REQUESTED"|"STOPPED"|string;
|
338
|
+
export interface Language {
|
339
|
+
/**
|
340
|
+
* Language name of the supported language.
|
341
|
+
*/
|
342
|
+
LanguageName: LocalizedNameString;
|
343
|
+
/**
|
344
|
+
* Language code for the supported language.
|
345
|
+
*/
|
346
|
+
LanguageCode: LanguageCodeString;
|
347
|
+
}
|
329
348
|
export type LanguageCodeString = string;
|
330
349
|
export type LanguageCodeStringList = LanguageCodeString[];
|
350
|
+
export type LanguagesList = Language[];
|
351
|
+
export interface ListLanguagesRequest {
|
352
|
+
/**
|
353
|
+
* The language code for the language to use to display the language names in the response. The language code is en by default.
|
354
|
+
*/
|
355
|
+
DisplayLanguageCode?: DisplayLanguageCode;
|
356
|
+
/**
|
357
|
+
* Include the NextToken value to fetch the next group of supported languages.
|
358
|
+
*/
|
359
|
+
NextToken?: NextToken;
|
360
|
+
/**
|
361
|
+
* The maximum number of results to return in each response.
|
362
|
+
*/
|
363
|
+
MaxResults?: MaxResultsInteger;
|
364
|
+
}
|
365
|
+
export interface ListLanguagesResponse {
|
366
|
+
/**
|
367
|
+
* The list of supported languages.
|
368
|
+
*/
|
369
|
+
Languages?: LanguagesList;
|
370
|
+
/**
|
371
|
+
* The language code passed in with the request.
|
372
|
+
*/
|
373
|
+
DisplayLanguageCode?: DisplayLanguageCode;
|
374
|
+
/**
|
375
|
+
* If the response does not include all remaining results, use the NextToken in the next request to fetch the next group of supported languages.
|
376
|
+
*/
|
377
|
+
NextToken?: NextToken;
|
378
|
+
}
|
331
379
|
export interface ListParallelDataRequest {
|
332
380
|
/**
|
333
381
|
* A string that specifies the next page of results to return in a paginated response.
|
@@ -392,6 +440,7 @@ declare namespace Translate {
|
|
392
440
|
*/
|
393
441
|
NextToken?: NextToken;
|
394
442
|
}
|
443
|
+
export type LocalizedNameString = string;
|
395
444
|
export type Long = number;
|
396
445
|
export type MaxResultsInteger = number;
|
397
446
|
export type MergeStrategy = "OVERWRITE"|string;
|
@@ -420,7 +469,7 @@ declare namespace Translate {
|
|
420
469
|
*/
|
421
470
|
RepositoryType: String;
|
422
471
|
/**
|
423
|
-
* The Amazon S3 location of the parallel data input file. The location is returned as a presigned URL to that has a 30
|
472
|
+
* The Amazon S3 location of the parallel data input file. The location is returned as a presigned URL to that has a 30-minute expiration. Amazon Translate doesn't scan all input files for the risk of CSV injection attacks. CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it. Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.
|
424
473
|
*/
|
425
474
|
Location: String;
|
426
475
|
}
|
@@ -504,7 +553,7 @@ declare namespace Translate {
|
|
504
553
|
*/
|
505
554
|
JobName?: JobName;
|
506
555
|
/**
|
507
|
-
* Specifies the format and
|
556
|
+
* Specifies the format and location of the input documents for the translation job.
|
508
557
|
*/
|
509
558
|
InputDataConfig: InputDataConfig;
|
510
559
|
/**
|
@@ -532,11 +581,11 @@ declare namespace Translate {
|
|
532
581
|
*/
|
533
582
|
ParallelDataNames?: ResourceNameList;
|
534
583
|
/**
|
535
|
-
* A unique identifier for the request. This token is
|
584
|
+
* A unique identifier for the request. This token is generated for you when using the Amazon Translate SDK.
|
536
585
|
*/
|
537
586
|
ClientToken: ClientTokenString;
|
538
587
|
/**
|
539
|
-
* Settings to configure your translation output, including the option to mask profane words and phrases.
|
588
|
+
* Settings to configure your translation output, including the option to mask profane words and phrases. StartTextTranslationJob does not support the formality setting.
|
540
589
|
*/
|
541
590
|
Settings?: TranslationSettings;
|
542
591
|
}
|
@@ -590,7 +639,7 @@ declare namespace Translate {
|
|
590
639
|
*/
|
591
640
|
Format: TerminologyDataFormat;
|
592
641
|
/**
|
593
|
-
* The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional). UNI The terminology resource has one source language (for example, the first column in a CSV file), and all of its other languages are target languages. MULTI Any language in the terminology resource can be the source language or a target language. A single multi-directional terminology resource can be used for jobs that translate different language pairs. For example, if the terminology contains
|
642
|
+
* The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional). UNI The terminology resource has one source language (for example, the first column in a CSV file), and all of its other languages are target languages. MULTI Any language in the terminology resource can be the source language or a target language. A single multi-directional terminology resource can be used for jobs that translate different language pairs. For example, if the terminology contains English and Spanish terms, it can be used for jobs that translate English to Spanish and Spanish to English. When you create a custom terminology resource without specifying the directionality, it behaves as uni-directional terminology, although this parameter will have a null value.
|
594
643
|
*/
|
595
644
|
Directionality?: Directionality;
|
596
645
|
}
|
@@ -601,7 +650,7 @@ declare namespace Translate {
|
|
601
650
|
*/
|
602
651
|
RepositoryType: String;
|
603
652
|
/**
|
604
|
-
* The Amazon S3 location of the most recent custom terminology input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30
|
653
|
+
* The Amazon S3 location of the most recent custom terminology input file that was successfully imported into Amazon Translate. The location is returned as a presigned URL that has a 30-minute expiration . Amazon Translate doesn't scan all input files for the risk of CSV injection attacks. CSV injection occurs when a .csv or .tsv file is altered so that a record contains malicious code. The record begins with a special character, such as =, +, -, or @. When the file is opened in a spreadsheet program, the program might interpret the record as a formula and run the code within it. Before you download an input file from Amazon S3, ensure that you recognize the file and trust its creator.
|
605
654
|
*/
|
606
655
|
Location: String;
|
607
656
|
}
|
@@ -757,7 +806,7 @@ declare namespace Translate {
|
|
757
806
|
*/
|
758
807
|
TerminologyNames?: ResourceNameList;
|
759
808
|
/**
|
760
|
-
* The language code for the language of the source text. The language must be a language supported by Amazon Translate. For a list of language codes, see what-is-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.
|
809
|
+
* The language code for the language of the source text. The language must be a language supported by Amazon Translate. For a list of language codes, see what-is-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 TranslateText request in a region that supports Amazon Comprehend. Otherwise, the request returns an error indicating that autodetect is not supported.
|
761
810
|
*/
|
762
811
|
SourceLanguageCode: LanguageCodeString;
|
763
812
|
/**
|
@@ -765,7 +814,7 @@ declare namespace Translate {
|
|
765
814
|
*/
|
766
815
|
TargetLanguageCode: LanguageCodeString;
|
767
816
|
/**
|
768
|
-
* Settings to configure your translation output, including the option to mask profane words and phrases.
|
817
|
+
* Settings to configure your translation output, including the option to set the formality level of the output text and the option to mask profane words and phrases.
|
769
818
|
*/
|
770
819
|
Settings?: TranslationSettings;
|
771
820
|
}
|
@@ -792,9 +841,12 @@ declare namespace Translate {
|
|
792
841
|
AppliedSettings?: TranslationSettings;
|
793
842
|
}
|
794
843
|
export interface TranslationSettings {
|
844
|
+
/**
|
845
|
+
* You can optionally specify the desired level of formality for real-time 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. Note that asynchronous translation jobs don't support formality. If you provide a value for formality, the StartTextTranslationJob API throws an exception (InvalidRequestException). For target languages that support formality, see Supported Languages and Language Codes in the Amazon Translate Developer Guide.
|
846
|
+
*/
|
795
847
|
Formality?: Formality;
|
796
848
|
/**
|
797
|
-
* Enable the profanity setting if you want Amazon Translate 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
|
849
|
+
* Enable the profanity setting if you want Amazon Translate 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 support profanity detection, see Supported Languages and Language Codes in the Amazon Translate Developer Guide.
|
798
850
|
*/
|
799
851
|
Profanity?: Profanity;
|
800
852
|
}
|