cdk-comprehend-s3olap 2.0.161 → 2.0.163

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.
Files changed (28) hide show
  1. package/.jsii +4 -4
  2. package/lib/cdk-comprehend-s3olap.js +2 -2
  3. package/lib/comprehend-lambdas.js +2 -2
  4. package/lib/iam-roles.js +4 -4
  5. package/node_modules/aws-sdk/CHANGELOG.md +16 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/appsync-2017-07-25.min.json +484 -131
  8. package/node_modules/aws-sdk/apis/backup-2018-11-15.min.json +4 -1
  9. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +6 -3
  10. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +1005 -383
  11. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.paginators.json +12 -0
  12. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +156 -107
  13. package/node_modules/aws-sdk/apis/translate-2017-07-01.min.json +84 -17
  14. package/node_modules/aws-sdk/clients/appsync.d.ts +398 -2
  15. package/node_modules/aws-sdk/clients/backup.d.ts +6 -2
  16. package/node_modules/aws-sdk/clients/connect.d.ts +1 -1
  17. package/node_modules/aws-sdk/clients/cur.d.ts +2 -2
  18. package/node_modules/aws-sdk/clients/pinpoint.d.ts +7 -7
  19. package/node_modules/aws-sdk/clients/quicksight.d.ts +749 -4
  20. package/node_modules/aws-sdk/clients/sagemaker.d.ts +76 -4
  21. package/node_modules/aws-sdk/clients/translate.d.ts +69 -5
  22. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  23. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +8 -8
  24. package/node_modules/aws-sdk/dist/aws-sdk.js +93 -23
  25. package/node_modules/aws-sdk/dist/aws-sdk.min.js +20 -20
  26. package/node_modules/aws-sdk/lib/core.js +1 -1
  27. package/node_modules/aws-sdk/package.json +1 -1
  28. package/package.json +5 -5
@@ -5818,7 +5818,7 @@ declare namespace SageMaker {
5818
5818
  */
5819
5819
  RoleArn: RoleArn;
5820
5820
  /**
5821
- * An array of Channel objects. Each channel is a named input source. InputDataConfig describes the input data and its location. Algorithms can accept input data from one or more channels. For example, an algorithm might have two channels of input data, training_data and validation_data. The configuration for each channel provides the S3, EFS, or FSx location where the input data is stored. It also provides information about the stored data: the MIME type, compression method, and whether the data is wrapped in RecordIO format. Depending on the input mode that the algorithm supports, SageMaker either copies input data files from an S3 bucket to a local directory in the Docker container, or makes it available as input streams. For example, if you specify an EFS location, input data files are available as input streams. They do not need to be downloaded.
5821
+ * An array of Channel objects. Each channel is a named input source. InputDataConfig describes the input data and its location. Algorithms can accept input data from one or more channels. For example, an algorithm might have two channels of input data, training_data and validation_data. The configuration for each channel provides the S3, EFS, or FSx location where the input data is stored. It also provides information about the stored data: the MIME type, compression method, and whether the data is wrapped in RecordIO format. Depending on the input mode that the algorithm supports, SageMaker either copies input data files from an S3 bucket to a local directory in the Docker container, or makes it available as input streams. For example, if you specify an EFS location, input data files are available as input streams. They do not need to be downloaded. Your input must be in the same Amazon Web Services region as your training job.
5822
5822
  */
5823
5823
  InputDataConfig?: InputDataConfig;
5824
5824
  /**
@@ -6804,6 +6804,16 @@ declare namespace SageMaker {
6804
6804
  */
6805
6805
  AutoRollbackConfiguration?: AutoRollbackConfig;
6806
6806
  }
6807
+ export interface DeploymentRecommendation {
6808
+ /**
6809
+ * Status of the deployment recommendation. NOT_APPLICABLE means that SageMaker is unable to provide a default recommendation for the model using the information provided.
6810
+ */
6811
+ RecommendationStatus: RecommendationStatus;
6812
+ /**
6813
+ * A list of RealTimeInferenceRecommendation items.
6814
+ */
6815
+ RealTimeInferenceRecommendations?: RealTimeInferenceRecommendations;
6816
+ }
6807
6817
  export interface DeploymentStage {
6808
6818
  /**
6809
6819
  * The name of the stage.
@@ -8933,6 +8943,10 @@ declare namespace SageMaker {
8933
8943
  * If True, no inbound or outbound network calls can be made to or from the model container.
8934
8944
  */
8935
8945
  EnableNetworkIsolation?: Boolean;
8946
+ /**
8947
+ * A set of recommended deployment configurations for the model.
8948
+ */
8949
+ DeploymentRecommendation?: DeploymentRecommendation;
8936
8950
  }
8937
8951
  export interface DescribeModelPackageGroupInput {
8938
8952
  /**
@@ -12346,6 +12360,14 @@ declare namespace SageMaker {
12346
12360
  * The recommendation ID which uniquely identifies each recommendation.
12347
12361
  */
12348
12362
  RecommendationId?: String;
12363
+ /**
12364
+ * A timestamp that shows when the benchmark completed.
12365
+ */
12366
+ InvocationEndTime?: InvocationEndTime;
12367
+ /**
12368
+ * A timestamp that shows when the benchmark started.
12369
+ */
12370
+ InvocationStartTime?: InvocationStartTime;
12349
12371
  }
12350
12372
  export type InferenceRecommendations = InferenceRecommendation[];
12351
12373
  export interface InferenceRecommendationsJob {
@@ -12389,6 +12411,18 @@ declare namespace SageMaker {
12389
12411
  * If the job fails, provides information why the job failed.
12390
12412
  */
12391
12413
  FailureReason?: FailureReason;
12414
+ /**
12415
+ * The name of the created model.
12416
+ */
12417
+ ModelName?: ModelName;
12418
+ /**
12419
+ * The Amazon Simple Storage Service (Amazon S3) path where the sample payload is stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).
12420
+ */
12421
+ SamplePayloadUrl?: S3Uri;
12422
+ /**
12423
+ * The Amazon Resource Name (ARN) of a versioned model package.
12424
+ */
12425
+ ModelPackageVersionArn?: ModelPackageArn;
12392
12426
  }
12393
12427
  export interface InferenceRecommendationsJobStep {
12394
12428
  /**
@@ -12511,6 +12545,8 @@ declare namespace SageMaker {
12511
12545
  }
12512
12546
  export type IntegerParameterRanges = IntegerParameterRange[];
12513
12547
  export type IntegerValue = number;
12548
+ export type InvocationEndTime = Date;
12549
+ export type InvocationStartTime = Date;
12514
12550
  export type InvocationsMaxRetries = number;
12515
12551
  export type InvocationsTimeoutInSeconds = number;
12516
12552
  export type IotRoleAlias = string;
@@ -14309,6 +14345,14 @@ declare namespace SageMaker {
14309
14345
  * The maximum number of recommendations to return in the response.
14310
14346
  */
14311
14347
  MaxResults?: MaxResults;
14348
+ /**
14349
+ * A filter that returns only jobs that were created for this model.
14350
+ */
14351
+ ModelNameEquals?: ModelName;
14352
+ /**
14353
+ * A filter that returns only jobs that were created for this versioned model package.
14354
+ */
14355
+ ModelPackageVersionArnEquals?: ModelPackageArn;
14312
14356
  }
14313
14357
  export interface ListInferenceRecommendationsJobsResponse {
14314
14358
  /**
@@ -16084,6 +16128,10 @@ declare namespace SageMaker {
16084
16128
  * A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference Guide.
16085
16129
  */
16086
16130
  Tags?: TagList;
16131
+ /**
16132
+ * A set of recommended deployment configurations for the model.
16133
+ */
16134
+ DeploymentRecommendation?: DeploymentRecommendation;
16087
16135
  }
16088
16136
  export type ModelApprovalStatus = "Approved"|"Rejected"|"PendingManualApproval"|string;
16089
16137
  export type ModelArn = string;
@@ -19013,6 +19061,21 @@ declare namespace SageMaker {
19013
19061
  */
19014
19062
  InstanceCount: TaskCount;
19015
19063
  }
19064
+ export interface RealTimeInferenceRecommendation {
19065
+ /**
19066
+ * The recommendation ID which uniquely identifies each recommendation.
19067
+ */
19068
+ RecommendationId: String;
19069
+ /**
19070
+ * The recommended instance type for Real-Time Inference.
19071
+ */
19072
+ InstanceType: ProductionVariantInstanceType;
19073
+ /**
19074
+ * The recommended environment variables to set in the model container for Real-Time Inference.
19075
+ */
19076
+ Environment?: EnvironmentMap;
19077
+ }
19078
+ export type RealTimeInferenceRecommendations = RealTimeInferenceRecommendation[];
19016
19079
  export type RealtimeInferenceInstanceTypes = ProductionVariantInstanceType[];
19017
19080
  export type RecommendationFailureReason = string;
19018
19081
  export type RecommendationJobArn = string;
@@ -19068,6 +19131,14 @@ declare namespace SageMaker {
19068
19131
  */
19069
19132
  FailureReason?: RecommendationFailureReason;
19070
19133
  EndpointMetrics?: InferenceMetrics;
19134
+ /**
19135
+ * A timestamp that shows when the benchmark completed.
19136
+ */
19137
+ InvocationEndTime?: InvocationEndTime;
19138
+ /**
19139
+ * A timestamp that shows when the benchmark started.
19140
+ */
19141
+ InvocationStartTime?: InvocationStartTime;
19071
19142
  }
19072
19143
  export interface RecommendationJobInputConfig {
19073
19144
  /**
@@ -19196,6 +19267,7 @@ declare namespace SageMaker {
19196
19267
  */
19197
19268
  MemoryUtilization?: UtilizationMetric;
19198
19269
  }
19270
+ export type RecommendationStatus = "IN_PROGRESS"|"COMPLETED"|"FAILED"|"NOT_APPLICABLE"|string;
19199
19271
  export type RecommendationStepType = "BENCHMARK"|string;
19200
19272
  export type RecordWrapper = "None"|"RecordIO"|string;
19201
19273
  export type RedshiftClusterId = string;
@@ -19424,7 +19496,7 @@ declare namespace SageMaker {
19424
19496
  */
19425
19497
  S3DataType: S3DataType;
19426
19498
  /**
19427
- * Depending on the value specified for the S3DataType, identifies either a key name prefix or a manifest. For example: A key name prefix might look like this: s3://bucketname/exampleprefix A manifest might look like this: s3://bucketname/example.manifest A manifest is an S3 object which is a JSON file consisting of an array of elements. The first element is a prefix which is followed by one or more suffixes. SageMaker appends the suffix elements to the prefix to get a full set of S3Uri. Note that the prefix must be a valid non-empty S3Uri that precludes users from specifying a manifest whose individual S3Uri is sourced from different S3 buckets. The following code example shows a valid manifest format: [ {"prefix": "s3://customer_bucket/some/prefix/"}, "relative/path/to/custdata-1", "relative/path/custdata-2", ... "relative/path/custdata-N" ] This JSON is equivalent to the following S3Uri list: s3://customer_bucket/some/prefix/relative/path/to/custdata-1 s3://customer_bucket/some/prefix/relative/path/custdata-2 ... s3://customer_bucket/some/prefix/relative/path/custdata-N The complete set of S3Uri in this manifest is the input data for the channel for this data source. The object that each S3Uri points to must be readable by the IAM role that SageMaker uses to perform tasks on your behalf.
19499
+ * Depending on the value specified for the S3DataType, identifies either a key name prefix or a manifest. For example: A key name prefix might look like this: s3://bucketname/exampleprefix A manifest might look like this: s3://bucketname/example.manifest A manifest is an S3 object which is a JSON file consisting of an array of elements. The first element is a prefix which is followed by one or more suffixes. SageMaker appends the suffix elements to the prefix to get a full set of S3Uri. Note that the prefix must be a valid non-empty S3Uri that precludes users from specifying a manifest whose individual S3Uri is sourced from different S3 buckets. The following code example shows a valid manifest format: [ {"prefix": "s3://customer_bucket/some/prefix/"}, "relative/path/to/custdata-1", "relative/path/custdata-2", ... "relative/path/custdata-N" ] This JSON is equivalent to the following S3Uri list: s3://customer_bucket/some/prefix/relative/path/to/custdata-1 s3://customer_bucket/some/prefix/relative/path/custdata-2 ... s3://customer_bucket/some/prefix/relative/path/custdata-N The complete set of S3Uri in this manifest is the input data for the channel for this data source. The object that each S3Uri points to must be readable by the IAM role that SageMaker uses to perform tasks on your behalf. Your input bucket must be located in same Amazon Web Services region as your training job.
19428
19500
  */
19429
19501
  S3Uri: S3Uri;
19430
19502
  /**
@@ -19733,7 +19805,7 @@ declare namespace SageMaker {
19733
19805
  export type SortTrialsBy = "Name"|"CreationTime"|string;
19734
19806
  export interface SourceAlgorithm {
19735
19807
  /**
19736
- * The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix). The model artifacts must be in an S3 bucket that is in the same region as the algorithm.
19808
+ * The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix). The model artifacts must be in an S3 bucket that is in the same Amazon Web Services region as the algorithm.
19737
19809
  */
19738
19810
  ModelDataUrl?: Url;
19739
19811
  /**
@@ -20257,7 +20329,7 @@ declare namespace SageMaker {
20257
20329
  */
20258
20330
  RoleArn?: RoleArn;
20259
20331
  /**
20260
- * An array of Channel objects that describes each data input channel.
20332
+ * An array of Channel objects that describes each data input channel. Your input must be in the same Amazon Web Services region as your training job.
20261
20333
  */
20262
20334
  InputDataConfig?: InputDataConfig;
20263
20335
  /**
@@ -131,6 +131,14 @@ declare class Translate extends Service {
131
131
  * Associates a specific tag with a resource. A tag is a key-value pair that adds as a metadata to a resource. For more information, see Tagging your resources.
132
132
  */
133
133
  tagResource(callback?: (err: AWSError, data: Translate.Types.TagResourceResponse) => void): Request<Translate.Types.TagResourceResponse, AWSError>;
134
+ /**
135
+ * Translates the input document from the source language to the target language. This synchronous operation supports plain text or HTML for 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). TranslateDocument does not support language auto-detection. 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
+ */
137
+ translateDocument(params: Translate.Types.TranslateDocumentRequest, callback?: (err: AWSError, data: Translate.Types.TranslateDocumentResponse) => void): Request<Translate.Types.TranslateDocumentResponse, AWSError>;
138
+ /**
139
+ * Translates the input document from the source language to the target language. This synchronous operation supports plain text or HTML for 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). TranslateDocument does not support language auto-detection. 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
+ */
141
+ translateDocument(callback?: (err: AWSError, data: Translate.Types.TranslateDocumentResponse) => void): Request<Translate.Types.TranslateDocumentResponse, AWSError>;
134
142
  /**
135
143
  * Translates input text from the source language to the target language. For a list of available languages and language codes, see Supported languages.
136
144
  */
@@ -241,6 +249,17 @@ declare namespace Translate {
241
249
  export type Description = string;
242
250
  export type Directionality = "UNI"|"MULTI"|string;
243
251
  export type DisplayLanguageCode = "de"|"en"|"es"|"fr"|"it"|"ja"|"ko"|"pt"|"zh"|"zh-TW"|string;
252
+ export interface Document {
253
+ /**
254
+ * The Contentfield type is Binary large object (blob). This object contains the document content converted into base64-encoded binary data. If you use one of the AWS SDKs, the SDK performs the Base64-encoding on this field before sending the request.
255
+ */
256
+ Content: DocumentContent;
257
+ /**
258
+ * Describes the format of the document. You can specify one of the following: text/html - The input data consists of HTML content. Amazon Translate translates only the text in the HTML element. text/plain - The input data consists of unformatted text. Amazon Translate translates every character in the content.
259
+ */
260
+ ContentType: ContentType;
261
+ }
262
+ export type DocumentContent = Buffer|Uint8Array|Blob|string;
244
263
  export interface EncryptionKey {
245
264
  /**
246
265
  * The type of encryption key used by Amazon Translate to encrypt this object.
@@ -861,27 +880,65 @@ declare namespace Translate {
861
880
  */
862
881
  DataAccessRoleArn?: IamRoleArn;
863
882
  /**
864
- * Settings that configure the translation output.
883
+ * Settings that modify the translation output.
865
884
  */
866
885
  Settings?: TranslationSettings;
867
886
  }
868
887
  export type TextTranslationJobPropertiesList = TextTranslationJobProperties[];
869
888
  export type Timestamp = Date;
889
+ export interface TranslateDocumentRequest {
890
+ /**
891
+ * The content and content type for the document to be translated. The document size must not exceed 100 KB.
892
+ */
893
+ Document: Document;
894
+ /**
895
+ * The name of a terminology list file to add to the translation job. This file provides source terms and the desired translation for each term. A terminology list can contain a maximum of 256 terms. You can use one custom terminology resource in your translation request. Use the ListTerminologies operation to get the available terminology lists. For more information about custom terminology lists, see Custom terminology.
896
+ */
897
+ TerminologyNames?: ResourceNameList;
898
+ /**
899
+ * The language code for the language of the source text. Do not use auto, because TranslateDocument does not support language auto-detection. For a list of supported language codes, see Supported languages.
900
+ */
901
+ SourceLanguageCode: LanguageCodeString;
902
+ /**
903
+ * The language code requested for the translated document. For a list of supported language codes, see Supported languages.
904
+ */
905
+ TargetLanguageCode: LanguageCodeString;
906
+ Settings?: TranslationSettings;
907
+ }
908
+ export interface TranslateDocumentResponse {
909
+ /**
910
+ * The document containing the translated content. The document format matches the source document format.
911
+ */
912
+ TranslatedDocument: TranslatedDocument;
913
+ /**
914
+ * The language code of the source document.
915
+ */
916
+ SourceLanguageCode: LanguageCodeString;
917
+ /**
918
+ * The language code of the translated document.
919
+ */
920
+ TargetLanguageCode: LanguageCodeString;
921
+ /**
922
+ * The names of the custom terminologies applied to the input text by Amazon Translate to produce the translated text document.
923
+ */
924
+ AppliedTerminologies?: AppliedTerminologyList;
925
+ AppliedSettings?: TranslationSettings;
926
+ }
870
927
  export interface TranslateTextRequest {
871
928
  /**
872
929
  * The text to translate. The text string can be a maximum of 10,000 bytes long. Depending on your character set, this may be fewer than 10,000 characters.
873
930
  */
874
931
  Text: BoundedLengthString;
875
932
  /**
876
- * The name of the terminology list file to be used in the TranslateText request. You can use 1 terminology list at most in a TranslateText request. Terminology lists can contain a maximum of 256 terms.
933
+ * The name of a terminology list file to add to the translation job. This file provides source terms and the desired translation for each term. A terminology list can contain a maximum of 256 terms. You can use one custom terminology resource in your translation request. Use the ListTerminologies operation to get the available terminology lists. For more information about custom terminology lists, see Custom terminology.
877
934
  */
878
935
  TerminologyNames?: ResourceNameList;
879
936
  /**
880
- * 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 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 TranslateText request in a region that supports Amazon Comprehend. Otherwise, the request returns an error indicating that autodetect is not supported.
937
+ * The language code for the language of the source text. For a list of 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 TranslateText request in a region that supports Amazon Comprehend. Otherwise, the request returns an error indicating that autodetect is not supported.
881
938
  */
882
939
  SourceLanguageCode: LanguageCodeString;
883
940
  /**
884
- * The language code requested for the language of the target text. The language must be a language supported by Amazon Translate.
941
+ * The language code requested for the language of the target text. For a list of language codes, see Supported languages.
885
942
  */
886
943
  TargetLanguageCode: LanguageCodeString;
887
944
  /**
@@ -907,10 +964,17 @@ declare namespace Translate {
907
964
  */
908
965
  AppliedTerminologies?: AppliedTerminologyList;
909
966
  /**
910
- * Settings that configure the translation output.
967
+ * Optional settings that modify the translation output.
911
968
  */
912
969
  AppliedSettings?: TranslationSettings;
913
970
  }
971
+ export interface TranslatedDocument {
972
+ /**
973
+ * The document containing the translated content.
974
+ */
975
+ Content: TranslatedDocumentContent;
976
+ }
977
+ export type TranslatedDocumentContent = Buffer|Uint8Array|Blob|string;
914
978
  export type TranslatedTextString = string;
915
979
  export interface TranslationSettings {
916
980
  /**
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
83
83
  /**
84
84
  * @constant
85
85
  */
86
- VERSION: '2.1381.0',
86
+ VERSION: '2.1384.0',
87
87
 
88
88
  /**
89
89
  * @api private