cdk-lambda-subminute 2.0.311 → 2.0.312

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 (57) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/CHANGELOG.md +17 -1
  4. package/node_modules/aws-sdk/README.md +1 -1
  5. package/node_modules/aws-sdk/apis/accessanalyzer-2019-11-01.min.json +101 -95
  6. package/node_modules/aws-sdk/apis/bedrock-2023-04-20.min.json +91 -71
  7. package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.examples.json +5 -0
  8. package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.min.json +2322 -0
  9. package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.paginators.json +52 -0
  10. package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.examples.json +5 -0
  11. package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.min.json +697 -0
  12. package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.paginators.json +9 -0
  13. package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.min.json +18 -18
  14. package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.waiters2.json +5 -0
  15. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +1180 -417
  16. package/node_modules/aws-sdk/apis/connect-2017-08-08.paginators.json +11 -0
  17. package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +129 -84
  18. package/node_modules/aws-sdk/apis/elasticache-2015-02-02.min.json +481 -132
  19. package/node_modules/aws-sdk/apis/elasticache-2015-02-02.paginators.json +12 -0
  20. package/node_modules/aws-sdk/apis/metadata.json +14 -0
  21. package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.examples.json +5 -0
  22. package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.min.json +3025 -0
  23. package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.paginators.json +76 -0
  24. package/node_modules/aws-sdk/apis/qconnect-2020-10-19.examples.json +5 -0
  25. package/node_modules/aws-sdk/apis/qconnect-2020-10-19.min.json +2499 -0
  26. package/node_modules/aws-sdk/apis/qconnect-2020-10-19.paginators.json +64 -0
  27. package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +128 -128
  28. package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +649 -186
  29. package/node_modules/aws-sdk/apis/s3-2006-03-01.paginators.json +6 -0
  30. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +121 -115
  31. package/node_modules/aws-sdk/clients/accessanalyzer.d.ts +13 -2
  32. package/node_modules/aws-sdk/clients/all.d.ts +4 -0
  33. package/node_modules/aws-sdk/clients/all.js +5 -1
  34. package/node_modules/aws-sdk/clients/bedrock.d.ts +53 -17
  35. package/node_modules/aws-sdk/clients/bedrockagent.d.ts +1258 -0
  36. package/node_modules/aws-sdk/clients/bedrockagent.js +18 -0
  37. package/node_modules/aws-sdk/clients/bedrockagentruntime.d.ts +439 -0
  38. package/node_modules/aws-sdk/clients/bedrockagentruntime.js +18 -0
  39. package/node_modules/aws-sdk/clients/bedrockruntime.d.ts +13 -13
  40. package/node_modules/aws-sdk/clients/bedrockruntime.js +1 -0
  41. package/node_modules/aws-sdk/clients/connect.d.ts +886 -20
  42. package/node_modules/aws-sdk/clients/customerprofiles.d.ts +40 -0
  43. package/node_modules/aws-sdk/clients/elasticache.d.ts +484 -12
  44. package/node_modules/aws-sdk/clients/qbusiness.d.ts +3231 -0
  45. package/node_modules/aws-sdk/clients/qbusiness.js +18 -0
  46. package/node_modules/aws-sdk/clients/qconnect.d.ts +2552 -0
  47. package/node_modules/aws-sdk/clients/qconnect.js +18 -0
  48. package/node_modules/aws-sdk/clients/s3.d.ts +795 -666
  49. package/node_modules/aws-sdk/clients/s3control.d.ts +135 -125
  50. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  51. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +242 -87
  52. package/node_modules/aws-sdk/dist/aws-sdk.js +2340 -722
  53. package/node_modules/aws-sdk/dist/aws-sdk.min.js +83 -82
  54. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +8 -0
  55. package/node_modules/aws-sdk/lib/core.js +1 -1
  56. package/node_modules/aws-sdk/package.json +1 -1
  57. package/package.json +3 -3
@@ -695,7 +695,7 @@ declare namespace AccessAnalyzer {
695
695
  */
696
696
  secretsManagerSecret?: SecretsManagerSecretConfiguration;
697
697
  /**
698
- * The access control configuration is for an Amazon S3 Bucket.
698
+ * The access control configuration is for an Amazon S3 bucket.
699
699
  */
700
700
  s3Bucket?: S3BucketConfiguration;
701
701
  /**
@@ -706,6 +706,10 @@ declare namespace AccessAnalyzer {
706
706
  * The access control configuration is for an Amazon SQS queue.
707
707
  */
708
708
  sqsQueue?: SqsQueueConfiguration;
709
+ /**
710
+ * The access control configuration is for an Amazon S3 directory bucket.
711
+ */
712
+ s3ExpressDirectoryBucket?: S3ExpressDirectoryBucketConfiguration;
709
713
  }
710
714
  export type ConfigurationsMap = {[key: string]: Configuration};
711
715
  export type ConfigurationsMapKey = string;
@@ -1772,7 +1776,7 @@ declare namespace AccessAnalyzer {
1772
1776
  export type ReasonSummaryList = ReasonSummary[];
1773
1777
  export type RegionList = String[];
1774
1778
  export type ResourceArn = string;
1775
- export type ResourceType = "AWS::S3::Bucket"|"AWS::IAM::Role"|"AWS::SQS::Queue"|"AWS::Lambda::Function"|"AWS::Lambda::LayerVersion"|"AWS::KMS::Key"|"AWS::SecretsManager::Secret"|"AWS::EFS::FileSystem"|"AWS::EC2::Snapshot"|"AWS::ECR::Repository"|"AWS::RDS::DBSnapshot"|"AWS::RDS::DBClusterSnapshot"|"AWS::SNS::Topic"|string;
1779
+ export type ResourceType = "AWS::S3::Bucket"|"AWS::IAM::Role"|"AWS::SQS::Queue"|"AWS::Lambda::Function"|"AWS::Lambda::LayerVersion"|"AWS::KMS::Key"|"AWS::SecretsManager::Secret"|"AWS::EFS::FileSystem"|"AWS::EC2::Snapshot"|"AWS::ECR::Repository"|"AWS::RDS::DBSnapshot"|"AWS::RDS::DBClusterSnapshot"|"AWS::SNS::Topic"|"AWS::S3Express::DirectoryBucket"|string;
1776
1780
  export type RetiringPrincipal = string;
1777
1781
  export type RoleArn = string;
1778
1782
  export interface S3AccessPointConfiguration {
@@ -1820,6 +1824,13 @@ declare namespace AccessAnalyzer {
1820
1824
  accessPoints?: S3AccessPointConfigurationsMap;
1821
1825
  }
1822
1826
  export type S3BucketPolicy = string;
1827
+ export interface S3ExpressDirectoryBucketConfiguration {
1828
+ /**
1829
+ * The proposed bucket policy for the Amazon S3 directory bucket.
1830
+ */
1831
+ bucketPolicy?: S3ExpressDirectoryBucketPolicy;
1832
+ }
1833
+ export type S3ExpressDirectoryBucketPolicy = string;
1823
1834
  export interface S3PublicAccessBlockConfiguration {
1824
1835
  /**
1825
1836
  * Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this bucket.
@@ -366,3 +366,7 @@ export import FreeTier = require('./freetier');
366
366
  export import Repostspace = require('./repostspace');
367
367
  export import WorkSpacesThinClient = require('./workspacesthinclient');
368
368
  export import B2bi = require('./b2bi');
369
+ export import BedrockAgent = require('./bedrockagent');
370
+ export import BedrockAgentRuntime = require('./bedrockagentruntime');
371
+ export import QBusiness = require('./qbusiness');
372
+ export import QConnect = require('./qconnect');
@@ -367,5 +367,9 @@ module.exports = {
367
367
  FreeTier: require('./freetier'),
368
368
  Repostspace: require('./repostspace'),
369
369
  WorkSpacesThinClient: require('./workspacesthinclient'),
370
- B2bi: require('./b2bi')
370
+ B2bi: require('./b2bi'),
371
+ BedrockAgent: require('./bedrockagent'),
372
+ BedrockAgentRuntime: require('./bedrockagentruntime'),
373
+ QBusiness: require('./qbusiness'),
374
+ QConnect: require('./qconnect')
371
375
  };
@@ -12,11 +12,11 @@ declare class Bedrock extends Service {
12
12
  constructor(options?: Bedrock.Types.ClientConfiguration)
13
13
  config: Config & Bedrock.Types.ClientConfiguration;
14
14
  /**
15
- * Creates a fine-tuning job to customize a base model. You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Training data contains input and output text for each record in a JSONL format. Optionally, you can specify validation data in the same format as the training data. Bedrock returns validation loss metrics and output generations after the job completes. Model-customization jobs are asynchronous and the completion time depends on the base model and the training/validation data size. To monitor a job, use the GetModelCustomizationJob operation to retrieve the job status. For more information, see Custom models in the Bedrock User Guide.
15
+ * Creates a fine-tuning job to customize a base model. You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Training data contains input and output text for each record in a JSONL format. Optionally, you can specify validation data in the same format as the training data. Amazon Bedrock returns validation loss metrics and output generations after the job completes. Model-customization jobs are asynchronous and the completion time depends on the base model and the training/validation data size. To monitor a job, use the GetModelCustomizationJob operation to retrieve the job status. For more information, see Custom models in the Bedrock User Guide.
16
16
  */
17
17
  createModelCustomizationJob(params: Bedrock.Types.CreateModelCustomizationJobRequest, callback?: (err: AWSError, data: Bedrock.Types.CreateModelCustomizationJobResponse) => void): Request<Bedrock.Types.CreateModelCustomizationJobResponse, AWSError>;
18
18
  /**
19
- * Creates a fine-tuning job to customize a base model. You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Training data contains input and output text for each record in a JSONL format. Optionally, you can specify validation data in the same format as the training data. Bedrock returns validation loss metrics and output generations after the job completes. Model-customization jobs are asynchronous and the completion time depends on the base model and the training/validation data size. To monitor a job, use the GetModelCustomizationJob operation to retrieve the job status. For more information, see Custom models in the Bedrock User Guide.
19
+ * Creates a fine-tuning job to customize a base model. You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Training data contains input and output text for each record in a JSONL format. Optionally, you can specify validation data in the same format as the training data. Amazon Bedrock returns validation loss metrics and output generations after the job completes. Model-customization jobs are asynchronous and the completion time depends on the base model and the training/validation data size. To monitor a job, use the GetModelCustomizationJob operation to retrieve the job status. For more information, see Custom models in the Bedrock User Guide.
20
20
  */
21
21
  createModelCustomizationJob(callback?: (err: AWSError, data: Bedrock.Types.CreateModelCustomizationJobResponse) => void): Request<Bedrock.Types.CreateModelCustomizationJobResponse, AWSError>;
22
22
  /**
@@ -52,19 +52,19 @@ declare class Bedrock extends Service {
52
52
  */
53
53
  deleteProvisionedModelThroughput(callback?: (err: AWSError, data: Bedrock.Types.DeleteProvisionedModelThroughputResponse) => void): Request<Bedrock.Types.DeleteProvisionedModelThroughputResponse, AWSError>;
54
54
  /**
55
- * Get the properties associated with a Bedrock custom model that you have created.For more information, see Custom models in the Bedrock User Guide.
55
+ * Get the properties associated with a Amazon Bedrock custom model that you have created.For more information, see Custom models in the Bedrock User Guide.
56
56
  */
57
57
  getCustomModel(params: Bedrock.Types.GetCustomModelRequest, callback?: (err: AWSError, data: Bedrock.Types.GetCustomModelResponse) => void): Request<Bedrock.Types.GetCustomModelResponse, AWSError>;
58
58
  /**
59
- * Get the properties associated with a Bedrock custom model that you have created.For more information, see Custom models in the Bedrock User Guide.
59
+ * Get the properties associated with a Amazon Bedrock custom model that you have created.For more information, see Custom models in the Bedrock User Guide.
60
60
  */
61
61
  getCustomModel(callback?: (err: AWSError, data: Bedrock.Types.GetCustomModelResponse) => void): Request<Bedrock.Types.GetCustomModelResponse, AWSError>;
62
62
  /**
63
- * Get details about a Bedrock foundation model.
63
+ * Get details about a Amazon Bedrock foundation model.
64
64
  */
65
65
  getFoundationModel(params: Bedrock.Types.GetFoundationModelRequest, callback?: (err: AWSError, data: Bedrock.Types.GetFoundationModelResponse) => void): Request<Bedrock.Types.GetFoundationModelResponse, AWSError>;
66
66
  /**
67
- * Get details about a Bedrock foundation model.
67
+ * Get details about a Amazon Bedrock foundation model.
68
68
  */
69
69
  getFoundationModel(callback?: (err: AWSError, data: Bedrock.Types.GetFoundationModelResponse) => void): Request<Bedrock.Types.GetFoundationModelResponse, AWSError>;
70
70
  /**
@@ -100,11 +100,11 @@ declare class Bedrock extends Service {
100
100
  */
101
101
  listCustomModels(callback?: (err: AWSError, data: Bedrock.Types.ListCustomModelsResponse) => void): Request<Bedrock.Types.ListCustomModelsResponse, AWSError>;
102
102
  /**
103
- * List of Bedrock foundation models that you can use. For more information, see Foundation models in the Bedrock User Guide.
103
+ * List of Amazon Bedrock foundation models that you can use. For more information, see Foundation models in the Bedrock User Guide.
104
104
  */
105
105
  listFoundationModels(params: Bedrock.Types.ListFoundationModelsRequest, callback?: (err: AWSError, data: Bedrock.Types.ListFoundationModelsResponse) => void): Request<Bedrock.Types.ListFoundationModelsResponse, AWSError>;
106
106
  /**
107
- * List of Bedrock foundation models that you can use. For more information, see Foundation models in the Bedrock User Guide.
107
+ * List of Amazon Bedrock foundation models that you can use. For more information, see Foundation models in the Bedrock User Guide.
108
108
  */
109
109
  listFoundationModels(callback?: (err: AWSError, data: Bedrock.Types.ListFoundationModelsResponse) => void): Request<Bedrock.Types.ListFoundationModelsResponse, AWSError>;
110
110
  /**
@@ -203,7 +203,7 @@ declare namespace Bedrock {
203
203
  */
204
204
  customModelName: CustomModelName;
205
205
  /**
206
- * The Amazon Resource Name (ARN) of an IAM role that Bedrock can assume to perform tasks on your behalf. For example, during model training, Bedrock needs your permission to read input data from an S3 bucket, write model artifacts to an S3 bucket. To pass this role to Bedrock, the caller of this API must have the iam:PassRole permission.
206
+ * The Amazon Resource Name (ARN) of an IAM role that Amazon Bedrock can assume to perform tasks on your behalf. For example, during model training, Amazon Bedrock needs your permission to read input data from an S3 bucket, write model artifacts to an S3 bucket. To pass this role to Amazon Bedrock, the caller of this API must have the iam:PassRole permission.
207
207
  */
208
208
  roleArn: RoleArn;
209
209
  /**
@@ -214,6 +214,10 @@ declare namespace Bedrock {
214
214
  * Name of the base model.
215
215
  */
216
216
  baseModelIdentifier: BaseModelIdentifier;
217
+ /**
218
+ * The customization type.
219
+ */
220
+ customizationType?: CustomizationType;
217
221
  /**
218
222
  * The custom model is encrypted at rest using this key.
219
223
  */
@@ -255,7 +259,7 @@ declare namespace Bedrock {
255
259
  }
256
260
  export interface CreateProvisionedModelThroughputRequest {
257
261
  /**
258
- * Unique token value that you can provide. If this token matches a previous request, Bedrock ignores the request, but does not return an error.
262
+ * Unique token value that you can provide. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error.
259
263
  */
260
264
  clientRequestToken?: IdempotencyToken;
261
265
  /**
@@ -308,8 +312,13 @@ declare namespace Bedrock {
308
312
  * The base model name.
309
313
  */
310
314
  baseModelName: ModelName;
315
+ /**
316
+ * Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see Custom models.
317
+ */
318
+ customizationType?: CustomizationType;
311
319
  }
312
320
  export type CustomModelSummaryList = CustomModelSummary[];
321
+ export type CustomizationType = "FINE_TUNING"|"CONTINUED_PRE_TRAINING"|string;
313
322
  export interface DeleteCustomModelRequest {
314
323
  /**
315
324
  * Name of the model to delete.
@@ -370,7 +379,18 @@ declare namespace Bedrock {
370
379
  * The inference types that the model supports.
371
380
  */
372
381
  inferenceTypesSupported?: InferenceTypeList;
382
+ /**
383
+ * Contains details about whether a model version is available or deprecated
384
+ */
385
+ modelLifecycle?: FoundationModelLifecycle;
386
+ }
387
+ export interface FoundationModelLifecycle {
388
+ /**
389
+ * Specifies whether a model version is available (ACTIVE) or deprecated (LEGACY.
390
+ */
391
+ status: FoundationModelLifecycleStatus;
373
392
  }
393
+ export type FoundationModelLifecycleStatus = "ACTIVE"|"LEGACY"|string;
374
394
  export interface FoundationModelSummary {
375
395
  /**
376
396
  * The ARN of the foundation model.
@@ -408,6 +428,10 @@ declare namespace Bedrock {
408
428
  * The inference types that the model supports.
409
429
  */
410
430
  inferenceTypesSupported?: InferenceTypeList;
431
+ /**
432
+ * Contains details about whether a model version is available or deprecated.
433
+ */
434
+ modelLifecycle?: FoundationModelLifecycle;
411
435
  }
412
436
  export type FoundationModelSummaryList = FoundationModelSummary[];
413
437
  export interface GetCustomModelRequest {
@@ -437,6 +461,10 @@ declare namespace Bedrock {
437
461
  * ARN of the base model.
438
462
  */
439
463
  baseModelArn: ModelArn;
464
+ /**
465
+ * The type of model customization.
466
+ */
467
+ customizationType?: CustomizationType;
440
468
  /**
441
469
  * The custom model is encrypted at rest using this key.
442
470
  */
@@ -535,7 +563,7 @@ declare namespace Bedrock {
535
563
  */
536
564
  baseModelArn: FoundationModelArn;
537
565
  /**
538
- * The hyperparameter values for the job.
566
+ * The hyperparameter values for the job. For information about hyperparameters for specific models, see Guidelines for model customization.
539
567
  */
540
568
  hyperParameters: ModelCustomizationHyperParameters;
541
569
  trainingDataConfig: TrainingDataConfig;
@@ -544,6 +572,10 @@ declare namespace Bedrock {
544
572
  * Output data configuration
545
573
  */
546
574
  outputDataConfig: OutputDataConfig;
575
+ /**
576
+ * The type of model customization.
577
+ */
578
+ customizationType?: CustomizationType;
547
579
  /**
548
580
  * The custom model is encrypted at rest using this key.
549
581
  */
@@ -659,7 +691,7 @@ declare namespace Bedrock {
659
691
  */
660
692
  maxResults?: MaxResults;
661
693
  /**
662
- * Continuation token from the previous response, for Bedrock to list the next set of results.
694
+ * Continuation token from the previous response, for Amazon Bedrock to list the next set of results.
663
695
  */
664
696
  nextToken?: PaginationToken;
665
697
  /**
@@ -683,7 +715,7 @@ declare namespace Bedrock {
683
715
  }
684
716
  export interface ListFoundationModelsRequest {
685
717
  /**
686
- * A Bedrock model provider.
718
+ * A Amazon Bedrock model provider.
687
719
  */
688
720
  byProvider?: Provider;
689
721
  /**
@@ -701,7 +733,7 @@ declare namespace Bedrock {
701
733
  }
702
734
  export interface ListFoundationModelsResponse {
703
735
  /**
704
- * A list of bedrock foundation models.
736
+ * A list of Amazon Bedrock foundation models.
705
737
  */
706
738
  modelSummaries?: FoundationModelSummaryList;
707
739
  }
@@ -727,7 +759,7 @@ declare namespace Bedrock {
727
759
  */
728
760
  maxResults?: MaxResults;
729
761
  /**
730
- * Continuation token from the previous response, for Bedrock to list the next set of results.
762
+ * Continuation token from the previous response, for Amazon Bedrock to list the next set of results.
731
763
  */
732
764
  nextToken?: PaginationToken;
733
765
  /**
@@ -775,7 +807,7 @@ declare namespace Bedrock {
775
807
  */
776
808
  maxResults?: MaxResults;
777
809
  /**
778
- * Continuation token from the previous response, for Bedrock to list the next set of results.
810
+ * Continuation token from the previous response, for Amazon Bedrock to list the next set of results.
779
811
  */
780
812
  nextToken?: PaginationToken;
781
813
  /**
@@ -835,7 +867,7 @@ declare namespace Bedrock {
835
867
  export type MaxResults = number;
836
868
  export type MetricFloat = number;
837
869
  export type ModelArn = string;
838
- export type ModelCustomization = "FINE_TUNING"|string;
870
+ export type ModelCustomization = "FINE_TUNING"|"CONTINUED_PRE_TRAINING"|string;
839
871
  export type ModelCustomizationHyperParameters = {[key: string]: String};
840
872
  export type ModelCustomizationJobArn = string;
841
873
  export type ModelCustomizationJobIdentifier = string;
@@ -878,6 +910,10 @@ declare namespace Bedrock {
878
910
  * Name of the custom model.
879
911
  */
880
912
  customModelName?: CustomModelName;
913
+ /**
914
+ * Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see Custom models.
915
+ */
916
+ customizationType?: CustomizationType;
881
917
  }
882
918
  export type ModelCustomizationList = ModelCustomization[];
883
919
  export type ModelIdentifier = string;