cdk-docker-image-deployment 0.0.200 → 0.0.201
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 +4 -4
- package/lib/destination.js +1 -1
- package/lib/docker-image-deployment.js +1 -1
- package/lib/source.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +15 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/batch-2016-08-10.min.json +74 -41
- package/node_modules/aws-sdk/apis/chime-sdk-identity-2021-04-20.min.json +314 -64
- package/node_modules/aws-sdk/apis/chime-sdk-identity-2021-04-20.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.min.json +599 -8
- package/node_modules/aws-sdk/apis/chime-sdk-media-pipelines-2021-07-15.paginators.json +5 -0
- package/node_modules/aws-sdk/apis/chime-sdk-messaging-2021-05-15.min.json +162 -88
- package/node_modules/aws-sdk/apis/chime-sdk-voice-2022-08-03.min.json +758 -44
- package/node_modules/aws-sdk/apis/chime-sdk-voice-2022-08-03.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/codeartifact-2018-09-22.min.json +35 -29
- package/node_modules/aws-sdk/apis/guardduty-2017-11-28.min.json +69 -61
- package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.examples.json +5 -0
- package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.min.json +363 -0
- package/node_modules/aws-sdk/apis/ivs-realtime-2020-07-14.paginators.json +9 -0
- package/node_modules/aws-sdk/apis/metadata.json +4 -0
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1061 -880
- 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/batch.d.ts +25 -8
- package/node_modules/aws-sdk/clients/chimesdkidentity.d.ts +266 -11
- package/node_modules/aws-sdk/clients/chimesdkmediapipelines.d.ts +696 -14
- package/node_modules/aws-sdk/clients/chimesdkmessaging.d.ts +180 -107
- package/node_modules/aws-sdk/clients/chimesdkvoice.d.ts +364 -0
- package/node_modules/aws-sdk/clients/codeartifact.d.ts +29 -21
- package/node_modules/aws-sdk/clients/guardduty.d.ts +22 -13
- package/node_modules/aws-sdk/clients/ivsrealtime.d.ts +379 -0
- package/node_modules/aws-sdk/clients/ivsrealtime.js +18 -0
- package/node_modules/aws-sdk/clients/mediaconvert.d.ts +2 -2
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +219 -14
- package/node_modules/aws-sdk/clients/textract.d.ts +13 -13
- 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 +52 -15
- package/node_modules/aws-sdk/dist/aws-sdk.js +7 -3
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +12 -12
- 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/package.json +1 -1
- package/package.json +6 -6
|
@@ -92,6 +92,14 @@ declare class SageMaker extends Service {
|
|
|
92
92
|
* Creates an Autopilot job. Find the best-performing model after you run an Autopilot job by calling . For information about how to use Autopilot, see Automate Model Development with Amazon SageMaker Autopilot.
|
|
93
93
|
*/
|
|
94
94
|
createAutoMLJob(callback?: (err: AWSError, data: SageMaker.Types.CreateAutoMLJobResponse) => void): Request<SageMaker.Types.CreateAutoMLJobResponse, AWSError>;
|
|
95
|
+
/**
|
|
96
|
+
* Creates an Amazon SageMaker AutoML job that uses non-tabular data such as images or text for Computer Vision or Natural Language Processing problems. Find the resulting model after you run an AutoML job V2 by calling . To create an AutoMLJob using tabular data, see . This API action is callable through SageMaker Canvas only. Calling it directly from the CLI or an SDK results in an error.
|
|
97
|
+
*/
|
|
98
|
+
createAutoMLJobV2(params: SageMaker.Types.CreateAutoMLJobV2Request, callback?: (err: AWSError, data: SageMaker.Types.CreateAutoMLJobV2Response) => void): Request<SageMaker.Types.CreateAutoMLJobV2Response, AWSError>;
|
|
99
|
+
/**
|
|
100
|
+
* Creates an Amazon SageMaker AutoML job that uses non-tabular data such as images or text for Computer Vision or Natural Language Processing problems. Find the resulting model after you run an AutoML job V2 by calling . To create an AutoMLJob using tabular data, see . This API action is callable through SageMaker Canvas only. Calling it directly from the CLI or an SDK results in an error.
|
|
101
|
+
*/
|
|
102
|
+
createAutoMLJobV2(callback?: (err: AWSError, data: SageMaker.Types.CreateAutoMLJobV2Response) => void): Request<SageMaker.Types.CreateAutoMLJobV2Response, AWSError>;
|
|
95
103
|
/**
|
|
96
104
|
* Creates a Git repository as a resource in your SageMaker account. You can associate the repository with notebook instances so that you can use Git source control for the notebooks you create. The Git repository is a resource in your SageMaker account, so it can be associated with more than one notebook instance, and it persists independently from the lifecycle of any notebook instances it is associated with. The repository can be hosted either in Amazon Web Services CodeCommit or in any other Git repository.
|
|
97
105
|
*/
|
|
@@ -884,6 +892,14 @@ declare class SageMaker extends Service {
|
|
|
884
892
|
* Returns information about an Amazon SageMaker AutoML job.
|
|
885
893
|
*/
|
|
886
894
|
describeAutoMLJob(callback?: (err: AWSError, data: SageMaker.Types.DescribeAutoMLJobResponse) => void): Request<SageMaker.Types.DescribeAutoMLJobResponse, AWSError>;
|
|
895
|
+
/**
|
|
896
|
+
* Returns information about an Amazon SageMaker AutoML V2 job. This API action is callable through SageMaker Canvas only. Calling it directly from the CLI or an SDK results in an error.
|
|
897
|
+
*/
|
|
898
|
+
describeAutoMLJobV2(params: SageMaker.Types.DescribeAutoMLJobV2Request, callback?: (err: AWSError, data: SageMaker.Types.DescribeAutoMLJobV2Response) => void): Request<SageMaker.Types.DescribeAutoMLJobV2Response, AWSError>;
|
|
899
|
+
/**
|
|
900
|
+
* Returns information about an Amazon SageMaker AutoML V2 job. This API action is callable through SageMaker Canvas only. Calling it directly from the CLI or an SDK results in an error.
|
|
901
|
+
*/
|
|
902
|
+
describeAutoMLJobV2(callback?: (err: AWSError, data: SageMaker.Types.DescribeAutoMLJobV2Response) => void): Request<SageMaker.Types.DescribeAutoMLJobV2Response, AWSError>;
|
|
887
903
|
/**
|
|
888
904
|
* Gets details about the specified Git repository.
|
|
889
905
|
*/
|
|
@@ -2829,7 +2845,7 @@ declare namespace SageMaker {
|
|
|
2829
2845
|
export type AppImageConfigList = AppImageConfigDetails[];
|
|
2830
2846
|
export type AppImageConfigName = string;
|
|
2831
2847
|
export type AppImageConfigSortKey = "CreationTime"|"LastModifiedTime"|"Name"|string;
|
|
2832
|
-
export type AppInstanceType = "system"|"ml.t3.micro"|"ml.t3.small"|"ml.t3.medium"|"ml.t3.large"|"ml.t3.xlarge"|"ml.t3.2xlarge"|"ml.m5.large"|"ml.m5.xlarge"|"ml.m5.2xlarge"|"ml.m5.4xlarge"|"ml.m5.8xlarge"|"ml.m5.12xlarge"|"ml.m5.16xlarge"|"ml.m5.24xlarge"|"ml.m5d.large"|"ml.m5d.xlarge"|"ml.m5d.2xlarge"|"ml.m5d.4xlarge"|"ml.m5d.8xlarge"|"ml.m5d.12xlarge"|"ml.m5d.16xlarge"|"ml.m5d.24xlarge"|"ml.c5.large"|"ml.c5.xlarge"|"ml.c5.2xlarge"|"ml.c5.4xlarge"|"ml.c5.9xlarge"|"ml.c5.12xlarge"|"ml.c5.18xlarge"|"ml.c5.24xlarge"|"ml.p3.2xlarge"|"ml.p3.8xlarge"|"ml.p3.16xlarge"|"ml.p3dn.24xlarge"|"ml.g4dn.xlarge"|"ml.g4dn.2xlarge"|"ml.g4dn.4xlarge"|"ml.g4dn.8xlarge"|"ml.g4dn.12xlarge"|"ml.g4dn.16xlarge"|"ml.r5.large"|"ml.r5.xlarge"|"ml.r5.2xlarge"|"ml.r5.4xlarge"|"ml.r5.8xlarge"|"ml.r5.12xlarge"|"ml.r5.16xlarge"|"ml.r5.24xlarge"|"ml.g5.xlarge"|"ml.g5.2xlarge"|"ml.g5.4xlarge"|"ml.g5.8xlarge"|"ml.g5.16xlarge"|"ml.g5.12xlarge"|"ml.g5.24xlarge"|"ml.g5.48xlarge"|string;
|
|
2848
|
+
export type AppInstanceType = "system"|"ml.t3.micro"|"ml.t3.small"|"ml.t3.medium"|"ml.t3.large"|"ml.t3.xlarge"|"ml.t3.2xlarge"|"ml.m5.large"|"ml.m5.xlarge"|"ml.m5.2xlarge"|"ml.m5.4xlarge"|"ml.m5.8xlarge"|"ml.m5.12xlarge"|"ml.m5.16xlarge"|"ml.m5.24xlarge"|"ml.m5d.large"|"ml.m5d.xlarge"|"ml.m5d.2xlarge"|"ml.m5d.4xlarge"|"ml.m5d.8xlarge"|"ml.m5d.12xlarge"|"ml.m5d.16xlarge"|"ml.m5d.24xlarge"|"ml.c5.large"|"ml.c5.xlarge"|"ml.c5.2xlarge"|"ml.c5.4xlarge"|"ml.c5.9xlarge"|"ml.c5.12xlarge"|"ml.c5.18xlarge"|"ml.c5.24xlarge"|"ml.p3.2xlarge"|"ml.p3.8xlarge"|"ml.p3.16xlarge"|"ml.p3dn.24xlarge"|"ml.g4dn.xlarge"|"ml.g4dn.2xlarge"|"ml.g4dn.4xlarge"|"ml.g4dn.8xlarge"|"ml.g4dn.12xlarge"|"ml.g4dn.16xlarge"|"ml.r5.large"|"ml.r5.xlarge"|"ml.r5.2xlarge"|"ml.r5.4xlarge"|"ml.r5.8xlarge"|"ml.r5.12xlarge"|"ml.r5.16xlarge"|"ml.r5.24xlarge"|"ml.g5.xlarge"|"ml.g5.2xlarge"|"ml.g5.4xlarge"|"ml.g5.8xlarge"|"ml.g5.16xlarge"|"ml.g5.12xlarge"|"ml.g5.24xlarge"|"ml.g5.48xlarge"|"ml.geospatial.interactive"|string;
|
|
2833
2849
|
export type AppList = AppDetails[];
|
|
2834
2850
|
export type AppManaged = boolean;
|
|
2835
2851
|
export type AppName = string;
|
|
@@ -3058,7 +3074,7 @@ declare namespace SageMaker {
|
|
|
3058
3074
|
*/
|
|
3059
3075
|
CandidateStatus: CandidateStatus;
|
|
3060
3076
|
/**
|
|
3061
|
-
* Information about the inference container definitions.
|
|
3077
|
+
* Information about the recommended inference container definitions.
|
|
3062
3078
|
*/
|
|
3063
3079
|
InferenceContainers?: AutoMLContainerDefinitions;
|
|
3064
3080
|
/**
|
|
@@ -3081,6 +3097,10 @@ declare namespace SageMaker {
|
|
|
3081
3097
|
* The properties of an AutoML candidate job.
|
|
3082
3098
|
*/
|
|
3083
3099
|
CandidateProperties?: CandidateProperties;
|
|
3100
|
+
/**
|
|
3101
|
+
* The mapping of all supported processing unit (CPU, GPU, etc...) to inference container definitions for the candidate. This field is populated for the V2 API only (for example, for jobs created by calling CreateAutoMLJobV2).
|
|
3102
|
+
*/
|
|
3103
|
+
InferenceContainerDefinitions?: AutoMLInferenceContainerDefinitions;
|
|
3084
3104
|
}
|
|
3085
3105
|
export interface AutoMLCandidateGenerationConfig {
|
|
3086
3106
|
/**
|
|
@@ -3158,6 +3178,7 @@ declare namespace SageMaker {
|
|
|
3158
3178
|
ValidationFraction?: ValidationFraction;
|
|
3159
3179
|
}
|
|
3160
3180
|
export type AutoMLFailureReason = string;
|
|
3181
|
+
export type AutoMLInferenceContainerDefinitions = {[key: string]: AutoMLContainerDefinitions};
|
|
3161
3182
|
export type AutoMLInputDataConfig = AutoMLChannel[];
|
|
3162
3183
|
export type AutoMLJobArn = string;
|
|
3163
3184
|
export interface AutoMLJobArtifacts {
|
|
@@ -3170,17 +3191,35 @@ declare namespace SageMaker {
|
|
|
3170
3191
|
*/
|
|
3171
3192
|
DataExplorationNotebookLocation?: DataExplorationNotebookLocation;
|
|
3172
3193
|
}
|
|
3194
|
+
export interface AutoMLJobChannel {
|
|
3195
|
+
/**
|
|
3196
|
+
* The type of channel. Defines whether the data are used for training or validation. The default value is training. Channels for training and validation must share the same ContentType
|
|
3197
|
+
*/
|
|
3198
|
+
ChannelType?: AutoMLChannelType;
|
|
3199
|
+
/**
|
|
3200
|
+
* The content type of the data from the input source. The following are the allowed content types for different problems: ImageClassification: image/png, image/jpeg, image/* TextClassification: text/csv;header=present
|
|
3201
|
+
*/
|
|
3202
|
+
ContentType?: ContentType;
|
|
3203
|
+
/**
|
|
3204
|
+
* The allowed compression types depend on the input format. We allow the compression type Gzip for S3Prefix inputs only. For all other inputs, the compression type should be None. If no compression type is provided, we default to None.
|
|
3205
|
+
*/
|
|
3206
|
+
CompressionType?: CompressionType;
|
|
3207
|
+
/**
|
|
3208
|
+
* The data source for an AutoML channel.
|
|
3209
|
+
*/
|
|
3210
|
+
DataSource?: AutoMLDataSource;
|
|
3211
|
+
}
|
|
3173
3212
|
export interface AutoMLJobCompletionCriteria {
|
|
3174
3213
|
/**
|
|
3175
|
-
* The maximum number of times a training job is allowed to run.
|
|
3214
|
+
* The maximum number of times a training job is allowed to run. For V2 jobs (jobs created by calling CreateAutoMLJobV2), the supported value is 1.
|
|
3176
3215
|
*/
|
|
3177
3216
|
MaxCandidates?: MaxCandidates;
|
|
3178
3217
|
/**
|
|
3179
|
-
* The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a hyperparameter tuning job. For more information, see the used by the action.
|
|
3218
|
+
* The maximum time, in seconds, that each training job executed inside hyperparameter tuning is allowed to run as part of a hyperparameter tuning job. For more information, see the used by the action. For V2 jobs (jobs created by calling CreateAutoMLJobV2), this field controls the runtime of the job candidate.
|
|
3180
3219
|
*/
|
|
3181
3220
|
MaxRuntimePerTrainingJobInSeconds?: MaxRuntimePerTrainingJobInSeconds;
|
|
3182
3221
|
/**
|
|
3183
|
-
* The maximum runtime, in seconds, an AutoML job has to complete. If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, are not completed.
|
|
3222
|
+
* The maximum runtime, in seconds, an AutoML job has to complete. If an AutoML job exceeds the maximum runtime, the job is stopped automatically and its processing is ended gracefully. The AutoML job identifies the best model whose training was completed and marks it as the best-performing model. Any unfinished steps of the job, such as automatic one-click Autopilot model deployment, are not completed.
|
|
3184
3223
|
*/
|
|
3185
3224
|
MaxAutoMLJobRuntimeInSeconds?: MaxAutoMLJobRuntimeInSeconds;
|
|
3186
3225
|
}
|
|
@@ -3206,6 +3245,7 @@ declare namespace SageMaker {
|
|
|
3206
3245
|
*/
|
|
3207
3246
|
Mode?: AutoMLMode;
|
|
3208
3247
|
}
|
|
3248
|
+
export type AutoMLJobInputDataConfig = AutoMLJobChannel[];
|
|
3209
3249
|
export type AutoMLJobName = string;
|
|
3210
3250
|
export interface AutoMLJobObjective {
|
|
3211
3251
|
/**
|
|
@@ -3214,7 +3254,7 @@ declare namespace SageMaker {
|
|
|
3214
3254
|
MetricName: AutoMLMetricEnum;
|
|
3215
3255
|
}
|
|
3216
3256
|
export type AutoMLJobObjectiveType = "Maximize"|"Minimize"|string;
|
|
3217
|
-
export type AutoMLJobSecondaryStatus = "Starting"|"AnalyzingData"|"FeatureEngineering"|"ModelTuning"|"MaxCandidatesReached"|"Failed"|"Stopped"|"MaxAutoMLJobRuntimeReached"|"Stopping"|"CandidateDefinitionsGenerated"|"GeneratingExplainabilityReport"|"Completed"|"ExplainabilityError"|"DeployingModel"|"ModelDeploymentError"|"GeneratingModelInsightsReport"|"ModelInsightsError"|string;
|
|
3257
|
+
export type AutoMLJobSecondaryStatus = "Starting"|"AnalyzingData"|"FeatureEngineering"|"ModelTuning"|"MaxCandidatesReached"|"Failed"|"Stopped"|"MaxAutoMLJobRuntimeReached"|"Stopping"|"CandidateDefinitionsGenerated"|"GeneratingExplainabilityReport"|"Completed"|"ExplainabilityError"|"DeployingModel"|"ModelDeploymentError"|"GeneratingModelInsightsReport"|"ModelInsightsError"|"TrainingModels"|string;
|
|
3218
3258
|
export type AutoMLJobStatus = "Completed"|"InProgress"|"Failed"|"Stopped"|"Stopping"|string;
|
|
3219
3259
|
export interface AutoMLJobStepMetadata {
|
|
3220
3260
|
/**
|
|
@@ -3283,17 +3323,28 @@ declare namespace SageMaker {
|
|
|
3283
3323
|
PartialFailureMessage?: AutoMLFailureReason;
|
|
3284
3324
|
}
|
|
3285
3325
|
export type AutoMLPartialFailureReasons = AutoMLPartialFailureReason[];
|
|
3326
|
+
export interface AutoMLProblemTypeConfig {
|
|
3327
|
+
/**
|
|
3328
|
+
* Settings used to configure an AutoML job using the V2 API for the image classification problem type.
|
|
3329
|
+
*/
|
|
3330
|
+
ImageClassificationJobConfig?: ImageClassificationJobConfig;
|
|
3331
|
+
/**
|
|
3332
|
+
* Settings used to configure an AutoML job using the V2 API for the text classification problem type.
|
|
3333
|
+
*/
|
|
3334
|
+
TextClassificationJobConfig?: TextClassificationJobConfig;
|
|
3335
|
+
}
|
|
3336
|
+
export type AutoMLProcessingUnit = "CPU"|"GPU"|string;
|
|
3286
3337
|
export interface AutoMLS3DataSource {
|
|
3287
3338
|
/**
|
|
3288
|
-
* The data type. A ManifestFile should have the format shown below: [ {"prefix": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/"}, "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-1", "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-2", ... "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-N" ]
|
|
3339
|
+
* The data type. If you choose S3Prefix, S3Uri identifies a key name prefix. SageMaker uses all objects that match the specified key name prefix for model training. The S3Prefix should have the following format: s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER-OR-FILE If you choose ManifestFile, S3Uri identifies an object that is a manifest file containing a list of object keys that you want SageMaker to use for model training. A ManifestFile should have the format shown below: [ {"prefix": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/DOC-EXAMPLE-PREFIX/"}, "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-1", "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-2", ... "DOC-EXAMPLE-RELATIVE-PATH/DOC-EXAMPLE-FOLDER/DATA-N" ] If you choose AugmentedManifestFile, S3Uri identifies an object that is an augmented manifest file in JSON lines format. This file contains the data you want to use for model training. AugmentedManifestFile is available for V2 API jobs only (for example, for jobs created by calling CreateAutoMLJobV2). Here is a minimal, single-record example of an AugmentedManifestFile: {"source-ref": "s3://DOC-EXAMPLE-BUCKET/DOC-EXAMPLE-FOLDER/cats/cat.jpg", "label-metadata": {"class-name": "cat" } For more information on AugmentedManifestFile, see Provide Dataset Metadata to Training Jobs with an Augmented Manifest File.
|
|
3289
3340
|
*/
|
|
3290
3341
|
S3DataType: AutoMLS3DataType;
|
|
3291
3342
|
/**
|
|
3292
|
-
* The URL to the Amazon S3 data source.
|
|
3343
|
+
* The URL to the Amazon S3 data source. The Uri refers to the Amazon S3 prefix or ManifestFile depending on the data type.
|
|
3293
3344
|
*/
|
|
3294
3345
|
S3Uri: S3Uri;
|
|
3295
3346
|
}
|
|
3296
|
-
export type AutoMLS3DataType = "ManifestFile"|"S3Prefix"|string;
|
|
3347
|
+
export type AutoMLS3DataType = "ManifestFile"|"S3Prefix"|"AugmentedManifestFile"|string;
|
|
3297
3348
|
export interface AutoMLSecurityConfig {
|
|
3298
3349
|
/**
|
|
3299
3350
|
* The key used to encrypt stored data.
|
|
@@ -4013,6 +4064,7 @@ declare namespace SageMaker {
|
|
|
4013
4064
|
export type ContainerMode = "SingleModel"|"MultiModel"|string;
|
|
4014
4065
|
export type ContentClassifier = "FreeOfPersonallyIdentifiableInformation"|"FreeOfAdultContent"|string;
|
|
4015
4066
|
export type ContentClassifiers = ContentClassifier[];
|
|
4067
|
+
export type ContentColumn = string;
|
|
4016
4068
|
export type ContentDigest = string;
|
|
4017
4069
|
export type ContentType = string;
|
|
4018
4070
|
export type ContentTypes = ContentType[];
|
|
@@ -4265,11 +4317,11 @@ declare namespace SageMaker {
|
|
|
4265
4317
|
*/
|
|
4266
4318
|
OutputDataConfig: AutoMLOutputDataConfig;
|
|
4267
4319
|
/**
|
|
4268
|
-
* Defines the type of supervised learning available for the candidates. For more information, see Amazon SageMaker Autopilot problem types and algorithm support.
|
|
4320
|
+
* Defines the type of supervised learning problem available for the candidates. For more information, see Amazon SageMaker Autopilot problem types and algorithm support.
|
|
4269
4321
|
*/
|
|
4270
4322
|
ProblemType?: ProblemType;
|
|
4271
4323
|
/**
|
|
4272
|
-
* Defines the objective metric used to measure the predictive quality of an AutoML job. You provide an AutoMLJobObjective$MetricName and Autopilot infers whether to minimize or maximize it.
|
|
4324
|
+
* Defines the objective metric used to measure the predictive quality of an AutoML job. You provide an AutoMLJobObjective$MetricName and Autopilot infers whether to minimize or maximize it. For , only Accuracy is supported.
|
|
4273
4325
|
*/
|
|
4274
4326
|
AutoMLJobObjective?: AutoMLJobObjective;
|
|
4275
4327
|
/**
|
|
@@ -4285,7 +4337,7 @@ declare namespace SageMaker {
|
|
|
4285
4337
|
*/
|
|
4286
4338
|
GenerateCandidateDefinitionsOnly?: GenerateCandidateDefinitionsOnly;
|
|
4287
4339
|
/**
|
|
4288
|
-
*
|
|
4340
|
+
* An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web ServicesResources. Tag keys must be unique per resource.
|
|
4289
4341
|
*/
|
|
4290
4342
|
Tags?: TagList;
|
|
4291
4343
|
/**
|
|
@@ -4299,6 +4351,54 @@ declare namespace SageMaker {
|
|
|
4299
4351
|
*/
|
|
4300
4352
|
AutoMLJobArn: AutoMLJobArn;
|
|
4301
4353
|
}
|
|
4354
|
+
export interface CreateAutoMLJobV2Request {
|
|
4355
|
+
/**
|
|
4356
|
+
* Identifies an Autopilot job. The name must be unique to your account and is case insensitive.
|
|
4357
|
+
*/
|
|
4358
|
+
AutoMLJobName: AutoMLJobName;
|
|
4359
|
+
/**
|
|
4360
|
+
* An array of channel objects describing the input data and their location. Each channel is a named input source. Similar to InputDataConfig supported by CreateAutoMLJob. The supported formats depend on the problem type: ImageClassification: S3Prefix, ManifestFile, AugmentedManifestFile TextClassification: S3Prefix
|
|
4361
|
+
*/
|
|
4362
|
+
AutoMLJobInputDataConfig: AutoMLJobInputDataConfig;
|
|
4363
|
+
/**
|
|
4364
|
+
* Provides information about encryption and the Amazon S3 output path needed to store artifacts from an AutoML job.
|
|
4365
|
+
*/
|
|
4366
|
+
OutputDataConfig: AutoMLOutputDataConfig;
|
|
4367
|
+
/**
|
|
4368
|
+
* Defines the configuration settings of one of the supported problem types.
|
|
4369
|
+
*/
|
|
4370
|
+
AutoMLProblemTypeConfig: AutoMLProblemTypeConfig;
|
|
4371
|
+
/**
|
|
4372
|
+
* The ARN of the role that is used to access the data.
|
|
4373
|
+
*/
|
|
4374
|
+
RoleArn: RoleArn;
|
|
4375
|
+
/**
|
|
4376
|
+
* An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, such as by purpose, owner, or environment. For more information, see Tagging Amazon Web ServicesResources. Tag keys must be unique per resource.
|
|
4377
|
+
*/
|
|
4378
|
+
Tags?: TagList;
|
|
4379
|
+
/**
|
|
4380
|
+
* The security configuration for traffic encryption or Amazon VPC settings.
|
|
4381
|
+
*/
|
|
4382
|
+
SecurityConfig?: AutoMLSecurityConfig;
|
|
4383
|
+
/**
|
|
4384
|
+
* Specifies a metric to minimize or maximize as the objective of a job. For , only Accuracy is supported.
|
|
4385
|
+
*/
|
|
4386
|
+
AutoMLJobObjective?: AutoMLJobObjective;
|
|
4387
|
+
/**
|
|
4388
|
+
* Specifies how to generate the endpoint name for an automatic one-click Autopilot model deployment.
|
|
4389
|
+
*/
|
|
4390
|
+
ModelDeployConfig?: ModelDeployConfig;
|
|
4391
|
+
/**
|
|
4392
|
+
* This structure specifies how to split the data into train and validation datasets. If you are using the V1 API (for example CreateAutoMLJob) or the V2 API for Natural Language Processing problems (for example CreateAutoMLJobV2 with a TextClassificationJobConfig problem type), the validation and training datasets must contain the same headers. Also, for V1 API jobs, the validation dataset must be less than 2 GB in size.
|
|
4393
|
+
*/
|
|
4394
|
+
DataSplitConfig?: AutoMLDataSplitConfig;
|
|
4395
|
+
}
|
|
4396
|
+
export interface CreateAutoMLJobV2Response {
|
|
4397
|
+
/**
|
|
4398
|
+
* The unique ARN assigned to the AutoMLJob when it is created.
|
|
4399
|
+
*/
|
|
4400
|
+
AutoMLJobArn: AutoMLJobArn;
|
|
4401
|
+
}
|
|
4302
4402
|
export interface CreateCodeRepositoryInput {
|
|
4303
4403
|
/**
|
|
4304
4404
|
* The name of the Git repository. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
|
|
@@ -7069,6 +7169,90 @@ declare namespace SageMaker {
|
|
|
7069
7169
|
*/
|
|
7070
7170
|
ModelDeployResult?: ModelDeployResult;
|
|
7071
7171
|
}
|
|
7172
|
+
export interface DescribeAutoMLJobV2Request {
|
|
7173
|
+
/**
|
|
7174
|
+
* Requests information about an AutoML V2 job using its unique name.
|
|
7175
|
+
*/
|
|
7176
|
+
AutoMLJobName: AutoMLJobName;
|
|
7177
|
+
}
|
|
7178
|
+
export interface DescribeAutoMLJobV2Response {
|
|
7179
|
+
/**
|
|
7180
|
+
* Returns the name of the AutoML V2 job.
|
|
7181
|
+
*/
|
|
7182
|
+
AutoMLJobName: AutoMLJobName;
|
|
7183
|
+
/**
|
|
7184
|
+
* Returns the Amazon Resource Name (ARN) of the AutoML V2 job.
|
|
7185
|
+
*/
|
|
7186
|
+
AutoMLJobArn: AutoMLJobArn;
|
|
7187
|
+
/**
|
|
7188
|
+
* Returns an array of channel objects describing the input data and their location.
|
|
7189
|
+
*/
|
|
7190
|
+
AutoMLJobInputDataConfig: AutoMLJobInputDataConfig;
|
|
7191
|
+
/**
|
|
7192
|
+
* Returns the job's output data config.
|
|
7193
|
+
*/
|
|
7194
|
+
OutputDataConfig: AutoMLOutputDataConfig;
|
|
7195
|
+
/**
|
|
7196
|
+
* The ARN of the Identity and Access Management role that has read permission to the input data location and write permission to the output data location in Amazon S3.
|
|
7197
|
+
*/
|
|
7198
|
+
RoleArn: RoleArn;
|
|
7199
|
+
/**
|
|
7200
|
+
* Returns the job's objective.
|
|
7201
|
+
*/
|
|
7202
|
+
AutoMLJobObjective?: AutoMLJobObjective;
|
|
7203
|
+
/**
|
|
7204
|
+
* Returns the configuration settings of the problem type set for the AutoML V2 job.
|
|
7205
|
+
*/
|
|
7206
|
+
AutoMLProblemTypeConfig?: AutoMLProblemTypeConfig;
|
|
7207
|
+
/**
|
|
7208
|
+
* Returns the creation time of the AutoML V2 job.
|
|
7209
|
+
*/
|
|
7210
|
+
CreationTime: Timestamp;
|
|
7211
|
+
/**
|
|
7212
|
+
* Returns the end time of the AutoML V2 job.
|
|
7213
|
+
*/
|
|
7214
|
+
EndTime?: Timestamp;
|
|
7215
|
+
/**
|
|
7216
|
+
* Returns the job's last modified time.
|
|
7217
|
+
*/
|
|
7218
|
+
LastModifiedTime: Timestamp;
|
|
7219
|
+
/**
|
|
7220
|
+
* Returns the reason for the failure of the AutoML V2 job, when applicable.
|
|
7221
|
+
*/
|
|
7222
|
+
FailureReason?: AutoMLFailureReason;
|
|
7223
|
+
/**
|
|
7224
|
+
* Returns a list of reasons for partial failures within an AutoML V2 job.
|
|
7225
|
+
*/
|
|
7226
|
+
PartialFailureReasons?: AutoMLPartialFailureReasons;
|
|
7227
|
+
/**
|
|
7228
|
+
* Information about the candidate produced by an AutoML training job V2, including its status, steps, and other properties.
|
|
7229
|
+
*/
|
|
7230
|
+
BestCandidate?: AutoMLCandidate;
|
|
7231
|
+
/**
|
|
7232
|
+
* Returns the status of the AutoML V2 job.
|
|
7233
|
+
*/
|
|
7234
|
+
AutoMLJobStatus: AutoMLJobStatus;
|
|
7235
|
+
/**
|
|
7236
|
+
* Returns the secondary status of the AutoML V2 job.
|
|
7237
|
+
*/
|
|
7238
|
+
AutoMLJobSecondaryStatus: AutoMLJobSecondaryStatus;
|
|
7239
|
+
/**
|
|
7240
|
+
* Indicates whether the model was deployed automatically to an endpoint and the name of that endpoint if deployed automatically.
|
|
7241
|
+
*/
|
|
7242
|
+
ModelDeployConfig?: ModelDeployConfig;
|
|
7243
|
+
/**
|
|
7244
|
+
* Provides information about endpoint for the model deployment.
|
|
7245
|
+
*/
|
|
7246
|
+
ModelDeployResult?: ModelDeployResult;
|
|
7247
|
+
/**
|
|
7248
|
+
* Returns the configuration settings of how the data are split into train and validation datasets.
|
|
7249
|
+
*/
|
|
7250
|
+
DataSplitConfig?: AutoMLDataSplitConfig;
|
|
7251
|
+
/**
|
|
7252
|
+
* Returns the security configuration for traffic encryption or Amazon VPC settings.
|
|
7253
|
+
*/
|
|
7254
|
+
SecurityConfig?: AutoMLSecurityConfig;
|
|
7255
|
+
}
|
|
7072
7256
|
export interface DescribeCodeRepositoryInput {
|
|
7073
7257
|
/**
|
|
7074
7258
|
* The name of the Git repository to describe.
|
|
@@ -11913,6 +12097,12 @@ declare namespace SageMaker {
|
|
|
11913
12097
|
}
|
|
11914
12098
|
export type ImageArn = string;
|
|
11915
12099
|
export type ImageBaseImage = string;
|
|
12100
|
+
export interface ImageClassificationJobConfig {
|
|
12101
|
+
/**
|
|
12102
|
+
* How long a job is allowed to run, or how many candidates a job is allowed to generate.
|
|
12103
|
+
*/
|
|
12104
|
+
CompletionCriteria?: AutoMLJobCompletionCriteria;
|
|
12105
|
+
}
|
|
11916
12106
|
export interface ImageConfig {
|
|
11917
12107
|
/**
|
|
11918
12108
|
* Set this to one of the following values: Platform - The model image is hosted in Amazon ECR. Vpc - The model image is hosted in a private Docker registry in your VPC.
|
|
@@ -17490,7 +17680,7 @@ declare namespace SageMaker {
|
|
|
17490
17680
|
}
|
|
17491
17681
|
export interface OnlineStoreSecurityConfig {
|
|
17492
17682
|
/**
|
|
17493
|
-
* The Amazon Web Services Key Management Service (KMS) key ARN that SageMaker Feature Store uses to encrypt the Amazon S3 objects at rest using Amazon S3 server-side encryption. The caller (either
|
|
17683
|
+
* The Amazon Web Services Key Management Service (KMS) key ARN that SageMaker Feature Store uses to encrypt the Amazon S3 objects at rest using Amazon S3 server-side encryption. The caller (either user or IAM role) of CreateFeatureGroup must have below permissions to the OnlineStore KmsKeyId: "kms:Encrypt" "kms:Decrypt" "kms:DescribeKey" "kms:CreateGrant" "kms:RetireGrant" "kms:ReEncryptFrom" "kms:ReEncryptTo" "kms:GenerateDataKey" "kms:ListAliases" "kms:ListGrants" "kms:RevokeGrant" The caller (either user or IAM role) to all DataPlane operations (PutRecord, GetRecord, DeleteRecord) must have the following permissions to the KmsKeyId: "kms:Decrypt"
|
|
17494
17684
|
*/
|
|
17495
17685
|
KmsKeyId?: KmsKeyId;
|
|
17496
17686
|
}
|
|
@@ -18292,7 +18482,7 @@ declare namespace SageMaker {
|
|
|
18292
18482
|
*/
|
|
18293
18483
|
ContainerStartupHealthCheckTimeoutInSeconds?: ProductionVariantContainerStartupHealthCheckTimeoutInSeconds;
|
|
18294
18484
|
/**
|
|
18295
|
-
* You can use this parameter to turn on native Amazon Web Services Systems Manager (SSM) access for a production variant behind an endpoint. By default, SSM access is disabled for all production variants behind an
|
|
18485
|
+
* You can use this parameter to turn on native Amazon Web Services Systems Manager (SSM) access for a production variant behind an endpoint. By default, SSM access is disabled for all production variants behind an endpoint. You can turn on or turn off SSM access for a production variant behind an existing endpoint by creating a new endpoint configuration and calling UpdateEndpoint.
|
|
18296
18486
|
*/
|
|
18297
18487
|
EnableSSMAccess?: ProductionVariantSSMAccess;
|
|
18298
18488
|
}
|
|
@@ -19843,6 +20033,7 @@ declare namespace SageMaker {
|
|
|
19843
20033
|
export type TagValue = string;
|
|
19844
20034
|
export type TargetAttributeName = string;
|
|
19845
20035
|
export type TargetDevice = "lambda"|"ml_m4"|"ml_m5"|"ml_c4"|"ml_c5"|"ml_p2"|"ml_p3"|"ml_g4dn"|"ml_inf1"|"ml_eia2"|"jetson_tx1"|"jetson_tx2"|"jetson_nano"|"jetson_xavier"|"rasp3b"|"imx8qm"|"deeplens"|"rk3399"|"rk3288"|"aisage"|"sbe_c"|"qcs605"|"qcs603"|"sitara_am57x"|"amba_cv2"|"amba_cv22"|"amba_cv25"|"x86_win32"|"x86_win64"|"coreml"|"jacinto_tda4vm"|"imx8mplus"|string;
|
|
20036
|
+
export type TargetLabelColumn = string;
|
|
19846
20037
|
export type TargetObjectiveMetricValue = number;
|
|
19847
20038
|
export interface TargetPlatform {
|
|
19848
20039
|
/**
|
|
@@ -19890,6 +20081,20 @@ declare namespace SageMaker {
|
|
|
19890
20081
|
}
|
|
19891
20082
|
export type TenthFractionsOfACent = number;
|
|
19892
20083
|
export type TerminationWaitInSeconds = number;
|
|
20084
|
+
export interface TextClassificationJobConfig {
|
|
20085
|
+
/**
|
|
20086
|
+
* How long a job is allowed to run, or how many candidates a job is allowed to generate.
|
|
20087
|
+
*/
|
|
20088
|
+
CompletionCriteria?: AutoMLJobCompletionCriteria;
|
|
20089
|
+
/**
|
|
20090
|
+
* The name of the column used to provide the sentences to be classified. It should not be the same as the target column.
|
|
20091
|
+
*/
|
|
20092
|
+
ContentColumn?: ContentColumn;
|
|
20093
|
+
/**
|
|
20094
|
+
* The name of the column used to provide the class labels. It should not be same as the content column.
|
|
20095
|
+
*/
|
|
20096
|
+
TargetLabelColumn?: TargetLabelColumn;
|
|
20097
|
+
}
|
|
19893
20098
|
export type ThingName = string;
|
|
19894
20099
|
export interface TimeSeriesForecastingSettings {
|
|
19895
20100
|
/**
|
|
@@ -28,11 +28,11 @@ declare class Textract extends Service {
|
|
|
28
28
|
*/
|
|
29
29
|
analyzeExpense(callback?: (err: AWSError, data: Textract.Types.AnalyzeExpenseResponse) => void): Request<Textract.Types.AnalyzeExpenseResponse, AWSError>;
|
|
30
30
|
/**
|
|
31
|
-
* Analyzes identity documents for relevant information. This information is extracted and returned as IdentityDocumentFields, which records both the normalized field and value of the extracted text.Unlike other Amazon Textract operations, AnalyzeID doesn't return any Geometry data.
|
|
31
|
+
* Analyzes identity documents for relevant information. This information is extracted and returned as IdentityDocumentFields, which records both the normalized field and value of the extracted text. Unlike other Amazon Textract operations, AnalyzeID doesn't return any Geometry data.
|
|
32
32
|
*/
|
|
33
33
|
analyzeID(params: Textract.Types.AnalyzeIDRequest, callback?: (err: AWSError, data: Textract.Types.AnalyzeIDResponse) => void): Request<Textract.Types.AnalyzeIDResponse, AWSError>;
|
|
34
34
|
/**
|
|
35
|
-
* Analyzes identity documents for relevant information. This information is extracted and returned as IdentityDocumentFields, which records both the normalized field and value of the extracted text.Unlike other Amazon Textract operations, AnalyzeID doesn't return any Geometry data.
|
|
35
|
+
* Analyzes identity documents for relevant information. This information is extracted and returned as IdentityDocumentFields, which records both the normalized field and value of the extracted text. Unlike other Amazon Textract operations, AnalyzeID doesn't return any Geometry data.
|
|
36
36
|
*/
|
|
37
37
|
analyzeID(callback?: (err: AWSError, data: Textract.Types.AnalyzeIDResponse) => void): Request<Textract.Types.AnalyzeIDResponse, AWSError>;
|
|
38
38
|
/**
|
|
@@ -196,7 +196,7 @@ declare namespace Textract {
|
|
|
196
196
|
}
|
|
197
197
|
export interface Block {
|
|
198
198
|
/**
|
|
199
|
-
* The type of text item that's recognized. In operations for text detection, the following types are returned: PAGE - Contains a list of the LINE Block objects that are detected on a document page. WORD - A word detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces. LINE - A string of tab-delimited, contiguous words that are detected on a document page. In text analysis operations, the following types are returned: PAGE - Contains a list of child Block objects that are detected on a document page. KEY_VALUE_SET - Stores the KEY and VALUE Block objects for linked text that's detected on a document page. Use the EntityType field to determine if a KEY_VALUE_SET object is a KEY Block object or a VALUE Block object. WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces. LINE - A string of tab-delimited, contiguous words that are detected on a document page. TABLE - A table that's detected on a document page. A table is grid-based information with two or more rows or columns, with a cell span of one row and one column each. CELL - A cell within a detected table. The cell is the parent of the block that contains the text in the cell. SELECTION_ELEMENT - A selection element such as an option button (radio button) or a check box that's detected on a document page. Use the value of SelectionStatus to determine the status of the selection element. SIGNATURE - The location and confidene score of a signature detected on a document page. Can be returned as part of a Key-Value pair or a detected cell. QUERY - A question asked during the call of AnalyzeDocument. Contains an alias and an ID that attaches it to its answer. QUERY_RESULT - A response to a question asked during the call of analyze document. Comes with an alias and ID for ease of locating in a response. Also contains location and confidence score.
|
|
199
|
+
* The type of text item that's recognized. In operations for text detection, the following types are returned: PAGE - Contains a list of the LINE Block objects that are detected on a document page. WORD - A word detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces. LINE - A string of tab-delimited, contiguous words that are detected on a document page. In text analysis operations, the following types are returned: PAGE - Contains a list of child Block objects that are detected on a document page. KEY_VALUE_SET - Stores the KEY and VALUE Block objects for linked text that's detected on a document page. Use the EntityType field to determine if a KEY_VALUE_SET object is a KEY Block object or a VALUE Block object. WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces. LINE - A string of tab-delimited, contiguous words that are detected on a document page. TABLE - A table that's detected on a document page. A table is grid-based information with two or more rows or columns, with a cell span of one row and one column each. TABLE_TITLE - The title of a table. A title is typically a line of text above or below a table, or embedded as the first row of a table. TABLE_FOOTER - The footer associated with a table. A footer is typically a line or lines of text below a table or embedded as the last row of a table. CELL - A cell within a detected table. The cell is the parent of the block that contains the text in the cell. MERGED_CELL - A cell in a table whose content spans more than one row or column. The Relationships array for this cell contain data from individual cells. SELECTION_ELEMENT - A selection element such as an option button (radio button) or a check box that's detected on a document page. Use the value of SelectionStatus to determine the status of the selection element. SIGNATURE - The location and confidene score of a signature detected on a document page. Can be returned as part of a Key-Value pair or a detected cell. QUERY - A question asked during the call of AnalyzeDocument. Contains an alias and an ID that attaches it to its answer. QUERY_RESULT - A response to a question asked during the call of analyze document. Comes with an alias and ID for ease of locating in a response. Also contains location and confidence score.
|
|
200
200
|
*/
|
|
201
201
|
BlockType?: BlockType;
|
|
202
202
|
/**
|
|
@@ -220,11 +220,11 @@ declare namespace Textract {
|
|
|
220
220
|
*/
|
|
221
221
|
ColumnIndex?: UInteger;
|
|
222
222
|
/**
|
|
223
|
-
* The number of rows that a table cell spans.
|
|
223
|
+
* The number of rows that a table cell spans. RowSpan isn't returned by DetectDocumentText and GetDocumentTextDetection.
|
|
224
224
|
*/
|
|
225
225
|
RowSpan?: UInteger;
|
|
226
226
|
/**
|
|
227
|
-
* The number of columns that a table cell spans.
|
|
227
|
+
* The number of columns that a table cell spans. ColumnSpan isn't returned by DetectDocumentText and GetDocumentTextDetection.
|
|
228
228
|
*/
|
|
229
229
|
ColumnSpan?: UInteger;
|
|
230
230
|
/**
|
|
@@ -236,11 +236,11 @@ declare namespace Textract {
|
|
|
236
236
|
*/
|
|
237
237
|
Id?: NonEmptyString;
|
|
238
238
|
/**
|
|
239
|
-
* A list of
|
|
239
|
+
* A list of relationship objects that describe how blocks are related to each other. For example, a LINE block object contains a CHILD relationship type with the WORD blocks that make up the line of text. There aren't Relationship objects in the list for relationships that don't exist, such as when the current block has no child blocks.
|
|
240
240
|
*/
|
|
241
241
|
Relationships?: RelationshipList;
|
|
242
242
|
/**
|
|
243
|
-
* The type of entity.
|
|
243
|
+
* The type of entity. The following entity types can be returned by FORMS analysis: KEY - An identifier for a field on the document. VALUE - The field text. The following entity types can be returned by TABLES analysis: COLUMN_HEADER - Identifies a cell that is a header of a column. TABLE_TITLE - Identifies a cell that is a title within the table. TABLE_SECTION_TITLE - Identifies a cell that is a title of a section within a table. A section title is a cell that typically spans an entire row above a section. TABLE_FOOTER - Identifies a cell that is a footer of a table. TABLE_SUMMARY - Identifies a summary cell of a table. A summary cell can be a row of a table or an additional, smaller table that contains summary information for another table. STRUCTURED_TABLE - Identifies a table with column headers where the content of each row corresponds to the headers. SEMI_STRUCTURED_TABLE - Identifies a non-structured table. EntityTypes isn't returned by DetectDocumentText and GetDocumentTextDetection.
|
|
244
244
|
*/
|
|
245
245
|
EntityTypes?: EntityTypes;
|
|
246
246
|
/**
|
|
@@ -248,7 +248,7 @@ declare namespace Textract {
|
|
|
248
248
|
*/
|
|
249
249
|
SelectionStatus?: SelectionStatus;
|
|
250
250
|
/**
|
|
251
|
-
* The page on which a block was detected. Page is returned by synchronous and asynchronous operations. Page values greater than 1 are only returned for multipage documents that are in PDF or TIFF format. A scanned image (JPEG/PNG) provided to an asynchronous operation, even if it contains multiple document pages, is considered a single-page document. This means that for scanned images the value of Page is always 1. Synchronous operations
|
|
251
|
+
* The page on which a block was detected. Page is returned by synchronous and asynchronous operations. Page values greater than 1 are only returned for multipage documents that are in PDF or TIFF format. A scanned image (JPEG/PNG) provided to an asynchronous operation, even if it contains multiple document pages, is considered a single-page document. This means that for scanned images the value of Page is always 1. Synchronous operations will also return a Page value of 1 because every input document is considered to be a single-page document.
|
|
252
252
|
*/
|
|
253
253
|
Page?: UInteger;
|
|
254
254
|
/**
|
|
@@ -257,7 +257,7 @@ declare namespace Textract {
|
|
|
257
257
|
Query?: Query;
|
|
258
258
|
}
|
|
259
259
|
export type BlockList = Block[];
|
|
260
|
-
export type BlockType = "KEY_VALUE_SET"|"PAGE"|"LINE"|"WORD"|"TABLE"|"CELL"|"SELECTION_ELEMENT"|"MERGED_CELL"|"TITLE"|"QUERY"|"QUERY_RESULT"|"SIGNATURE"|string;
|
|
260
|
+
export type BlockType = "KEY_VALUE_SET"|"PAGE"|"LINE"|"WORD"|"TABLE"|"CELL"|"SELECTION_ELEMENT"|"MERGED_CELL"|"TITLE"|"QUERY"|"QUERY_RESULT"|"SIGNATURE"|"TABLE_TITLE"|"TABLE_FOOTER"|string;
|
|
261
261
|
export interface BoundingBox {
|
|
262
262
|
/**
|
|
263
263
|
* The width of the bounding box as a ratio of the overall document page width.
|
|
@@ -318,7 +318,7 @@ declare namespace Textract {
|
|
|
318
318
|
}
|
|
319
319
|
export interface DocumentGroup {
|
|
320
320
|
/**
|
|
321
|
-
* The type of document that Amazon Textract has detected. See
|
|
321
|
+
* The type of document that Amazon Textract has detected. See Analyze Lending Response Objects for a list of all types returned by Textract.
|
|
322
322
|
*/
|
|
323
323
|
Type?: NonEmptyString;
|
|
324
324
|
/**
|
|
@@ -348,7 +348,7 @@ declare namespace Textract {
|
|
|
348
348
|
Pages?: UInteger;
|
|
349
349
|
}
|
|
350
350
|
export type DocumentPages = Document[];
|
|
351
|
-
export type EntityType = "KEY"|"VALUE"|"COLUMN_HEADER"|string;
|
|
351
|
+
export type EntityType = "KEY"|"VALUE"|"COLUMN_HEADER"|"TABLE_TITLE"|"TABLE_FOOTER"|"TABLE_SECTION_TITLE"|"TABLE_SUMMARY"|"STRUCTURED_TABLE"|"SEMI_STRUCTURED_TABLE"|string;
|
|
352
352
|
export type EntityTypes = EntityType[];
|
|
353
353
|
export type ErrorCode = string;
|
|
354
354
|
export interface ExpenseCurrency {
|
|
@@ -904,7 +904,7 @@ declare namespace Textract {
|
|
|
904
904
|
export type QueryPages = QueryPage[];
|
|
905
905
|
export interface Relationship {
|
|
906
906
|
/**
|
|
907
|
-
* The type of relationship
|
|
907
|
+
* The type of relationship between the blocks in the IDs array and the current block. The following list describes the relationship types that can be returned. VALUE - A list that contains the ID of the VALUE block that's associated with the KEY of a key-value pair. CHILD - A list of IDs that identify blocks found within the current block object. For example, WORD blocks have a CHILD relationship to the LINE block type. MERGED_CELL - A list of IDs that identify each of the MERGED_CELL block types in a table. ANSWER - A list that contains the ID of the QUERY_RESULT block that’s associated with the corresponding QUERY block. TABLE - A list of IDs that identify associated TABLE block types. TABLE_TITLE - A list that contains the ID for the TABLE_TITLE block type in a table. TABLE_FOOTER - A list of IDs that identify the TABLE_FOOTER block types in a table.
|
|
908
908
|
*/
|
|
909
909
|
Type?: RelationshipType;
|
|
910
910
|
/**
|
|
@@ -913,7 +913,7 @@ declare namespace Textract {
|
|
|
913
913
|
Ids?: IdList;
|
|
914
914
|
}
|
|
915
915
|
export type RelationshipList = Relationship[];
|
|
916
|
-
export type RelationshipType = "VALUE"|"CHILD"|"COMPLEX_FEATURES"|"MERGED_CELL"|"TITLE"|"ANSWER"|string;
|
|
916
|
+
export type RelationshipType = "VALUE"|"CHILD"|"COMPLEX_FEATURES"|"MERGED_CELL"|"TITLE"|"ANSWER"|"TABLE"|"TABLE_TITLE"|"TABLE_FOOTER"|string;
|
|
917
917
|
export type RoleArn = string;
|
|
918
918
|
export type S3Bucket = string;
|
|
919
919
|
export interface S3Object {
|