cdk-lambda-subminute 2.0.397 → 2.0.399

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 (34) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/README.md +4 -4
  4. package/node_modules/aws-sdk/apis/appconfig-2019-10-09.min.json +9 -1
  5. package/node_modules/aws-sdk/apis/batch-2016-08-10.min.json +187 -158
  6. package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.min.json +252 -252
  7. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +9 -1
  8. package/node_modules/aws-sdk/apis/grafana-2020-08-18.min.json +82 -75
  9. package/node_modules/aws-sdk/apis/payment-cryptography-data-2022-02-03.min.json +83 -62
  10. package/node_modules/aws-sdk/apis/wafv2-2019-07-29.min.json +106 -106
  11. package/node_modules/aws-sdk/clients/appconfig.d.ts +24 -14
  12. package/node_modules/aws-sdk/clients/batch.d.ts +36 -3
  13. package/node_modules/aws-sdk/clients/bedrockagentruntime.d.ts +363 -81
  14. package/node_modules/aws-sdk/clients/cloudtrail.d.ts +2 -2
  15. package/node_modules/aws-sdk/clients/codebuild.d.ts +4 -4
  16. package/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts +32 -32
  17. package/node_modules/aws-sdk/clients/ec2.d.ts +17 -9
  18. package/node_modules/aws-sdk/clients/grafana.d.ts +26 -9
  19. package/node_modules/aws-sdk/clients/guardduty.d.ts +14 -14
  20. package/node_modules/aws-sdk/clients/lambda.d.ts +46 -46
  21. package/node_modules/aws-sdk/clients/paymentcryptographydata.d.ts +68 -36
  22. package/node_modules/aws-sdk/clients/rds.d.ts +5 -5
  23. package/node_modules/aws-sdk/clients/snowball.d.ts +1 -1
  24. package/node_modules/aws-sdk/clients/transfer.d.ts +8 -8
  25. package/node_modules/aws-sdk/clients/wafv2.d.ts +14 -13
  26. package/node_modules/aws-sdk/clients/workspaces.d.ts +5 -5
  27. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +4 -3
  28. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +11 -10
  29. package/node_modules/aws-sdk/dist/aws-sdk.js +15 -6
  30. package/node_modules/aws-sdk/dist/aws-sdk.min.js +38 -38
  31. package/node_modules/aws-sdk/lib/core.js +1 -1
  32. package/node_modules/aws-sdk/lib/maintenance_mode_message.js +3 -2
  33. package/node_modules/aws-sdk/package.json +1 -1
  34. package/package.json +3 -3
@@ -44,19 +44,19 @@ declare class AppConfig extends Service {
44
44
  */
45
45
  createEnvironment(callback?: (err: AWSError, data: AppConfig.Types.Environment) => void): Request<AppConfig.Types.Environment, AWSError>;
46
46
  /**
47
- * Creates an AppConfig extension. An extension augments your ability to inject logic or behavior at different points during the AppConfig workflow of creating or deploying a configuration. You can create your own extensions or use the Amazon Web Services authored extensions provided by AppConfig. For an AppConfig extension that uses Lambda, you must create a Lambda function to perform any computation and processing defined in the extension. If you plan to create custom versions of the Amazon Web Services authored notification extensions, you only need to specify an Amazon Resource Name (ARN) in the Uri field for the new extension version. For a custom EventBridge notification extension, enter the ARN of the EventBridge default events in the Uri field. For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the Uri field. For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the Uri field. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
47
+ * Creates an AppConfig extension. An extension augments your ability to inject logic or behavior at different points during the AppConfig workflow of creating or deploying a configuration. You can create your own extensions or use the Amazon Web Services authored extensions provided by AppConfig. For an AppConfig extension that uses Lambda, you must create a Lambda function to perform any computation and processing defined in the extension. If you plan to create custom versions of the Amazon Web Services authored notification extensions, you only need to specify an Amazon Resource Name (ARN) in the Uri field for the new extension version. For a custom EventBridge notification extension, enter the ARN of the EventBridge default events in the Uri field. For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the Uri field. For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the Uri field. For more information about extensions, see Extending workflows in the AppConfig User Guide.
48
48
  */
49
49
  createExtension(params: AppConfig.Types.CreateExtensionRequest, callback?: (err: AWSError, data: AppConfig.Types.Extension) => void): Request<AppConfig.Types.Extension, AWSError>;
50
50
  /**
51
- * Creates an AppConfig extension. An extension augments your ability to inject logic or behavior at different points during the AppConfig workflow of creating or deploying a configuration. You can create your own extensions or use the Amazon Web Services authored extensions provided by AppConfig. For an AppConfig extension that uses Lambda, you must create a Lambda function to perform any computation and processing defined in the extension. If you plan to create custom versions of the Amazon Web Services authored notification extensions, you only need to specify an Amazon Resource Name (ARN) in the Uri field for the new extension version. For a custom EventBridge notification extension, enter the ARN of the EventBridge default events in the Uri field. For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the Uri field. For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the Uri field. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
51
+ * Creates an AppConfig extension. An extension augments your ability to inject logic or behavior at different points during the AppConfig workflow of creating or deploying a configuration. You can create your own extensions or use the Amazon Web Services authored extensions provided by AppConfig. For an AppConfig extension that uses Lambda, you must create a Lambda function to perform any computation and processing defined in the extension. If you plan to create custom versions of the Amazon Web Services authored notification extensions, you only need to specify an Amazon Resource Name (ARN) in the Uri field for the new extension version. For a custom EventBridge notification extension, enter the ARN of the EventBridge default events in the Uri field. For a custom Amazon SNS notification extension, enter the ARN of an Amazon SNS topic in the Uri field. For a custom Amazon SQS notification extension, enter the ARN of an Amazon SQS message queue in the Uri field. For more information about extensions, see Extending workflows in the AppConfig User Guide.
52
52
  */
53
53
  createExtension(callback?: (err: AWSError, data: AppConfig.Types.Extension) => void): Request<AppConfig.Types.Extension, AWSError>;
54
54
  /**
55
- * When you create an extension or configure an Amazon Web Services authored extension, you associate the extension with an AppConfig application, environment, or configuration profile. For example, you can choose to run the AppConfig deployment events to Amazon SNS Amazon Web Services authored extension and receive notifications on an Amazon SNS topic anytime a configuration deployment is started for a specific application. Defining which extension to associate with an AppConfig resource is called an extension association. An extension association is a specified relationship between an extension and an AppConfig resource, such as an application or a configuration profile. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
55
+ * When you create an extension or configure an Amazon Web Services authored extension, you associate the extension with an AppConfig application, environment, or configuration profile. For example, you can choose to run the AppConfig deployment events to Amazon SNS Amazon Web Services authored extension and receive notifications on an Amazon SNS topic anytime a configuration deployment is started for a specific application. Defining which extension to associate with an AppConfig resource is called an extension association. An extension association is a specified relationship between an extension and an AppConfig resource, such as an application or a configuration profile. For more information about extensions and associations, see Extending workflows in the AppConfig User Guide.
56
56
  */
57
57
  createExtensionAssociation(params: AppConfig.Types.CreateExtensionAssociationRequest, callback?: (err: AWSError, data: AppConfig.Types.ExtensionAssociation) => void): Request<AppConfig.Types.ExtensionAssociation, AWSError>;
58
58
  /**
59
- * When you create an extension or configure an Amazon Web Services authored extension, you associate the extension with an AppConfig application, environment, or configuration profile. For example, you can choose to run the AppConfig deployment events to Amazon SNS Amazon Web Services authored extension and receive notifications on an Amazon SNS topic anytime a configuration deployment is started for a specific application. Defining which extension to associate with an AppConfig resource is called an extension association. An extension association is a specified relationship between an extension and an AppConfig resource, such as an application or a configuration profile. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
59
+ * When you create an extension or configure an Amazon Web Services authored extension, you associate the extension with an AppConfig application, environment, or configuration profile. For example, you can choose to run the AppConfig deployment events to Amazon SNS Amazon Web Services authored extension and receive notifications on an Amazon SNS topic anytime a configuration deployment is started for a specific application. Defining which extension to associate with an AppConfig resource is called an extension association. An extension association is a specified relationship between an extension and an AppConfig resource, such as an application or a configuration profile. For more information about extensions and associations, see Extending workflows in the AppConfig User Guide.
60
60
  */
61
61
  createExtensionAssociation(callback?: (err: AWSError, data: AppConfig.Types.ExtensionAssociation) => void): Request<AppConfig.Types.ExtensionAssociation, AWSError>;
62
62
  /**
@@ -180,11 +180,11 @@ declare class AppConfig extends Service {
180
180
  */
181
181
  getExtension(callback?: (err: AWSError, data: AppConfig.Types.Extension) => void): Request<AppConfig.Types.Extension, AWSError>;
182
182
  /**
183
- * Returns information about an AppConfig extension association. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
183
+ * Returns information about an AppConfig extension association. For more information about extensions and associations, see Extending workflows in the AppConfig User Guide.
184
184
  */
185
185
  getExtensionAssociation(params: AppConfig.Types.GetExtensionAssociationRequest, callback?: (err: AWSError, data: AppConfig.Types.ExtensionAssociation) => void): Request<AppConfig.Types.ExtensionAssociation, AWSError>;
186
186
  /**
187
- * Returns information about an AppConfig extension association. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
187
+ * Returns information about an AppConfig extension association. For more information about extensions and associations, see Extending workflows in the AppConfig User Guide.
188
188
  */
189
189
  getExtensionAssociation(callback?: (err: AWSError, data: AppConfig.Types.ExtensionAssociation) => void): Request<AppConfig.Types.ExtensionAssociation, AWSError>;
190
190
  /**
@@ -236,19 +236,19 @@ declare class AppConfig extends Service {
236
236
  */
237
237
  listEnvironments(callback?: (err: AWSError, data: AppConfig.Types.Environments) => void): Request<AppConfig.Types.Environments, AWSError>;
238
238
  /**
239
- * Lists all AppConfig extension associations in the account. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
239
+ * Lists all AppConfig extension associations in the account. For more information about extensions and associations, see Extending workflows in the AppConfig User Guide.
240
240
  */
241
241
  listExtensionAssociations(params: AppConfig.Types.ListExtensionAssociationsRequest, callback?: (err: AWSError, data: AppConfig.Types.ExtensionAssociations) => void): Request<AppConfig.Types.ExtensionAssociations, AWSError>;
242
242
  /**
243
- * Lists all AppConfig extension associations in the account. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
243
+ * Lists all AppConfig extension associations in the account. For more information about extensions and associations, see Extending workflows in the AppConfig User Guide.
244
244
  */
245
245
  listExtensionAssociations(callback?: (err: AWSError, data: AppConfig.Types.ExtensionAssociations) => void): Request<AppConfig.Types.ExtensionAssociations, AWSError>;
246
246
  /**
247
- * Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
247
+ * Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about extensions, see Extending workflows in the AppConfig User Guide.
248
248
  */
249
249
  listExtensions(params: AppConfig.Types.ListExtensionsRequest, callback?: (err: AWSError, data: AppConfig.Types.Extensions) => void): Request<AppConfig.Types.Extensions, AWSError>;
250
250
  /**
251
- * Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
251
+ * Lists all custom and Amazon Web Services authored AppConfig extensions in the account. For more information about extensions, see Extending workflows in the AppConfig User Guide.
252
252
  */
253
253
  listExtensions(callback?: (err: AWSError, data: AppConfig.Types.Extensions) => void): Request<AppConfig.Types.Extensions, AWSError>;
254
254
  /**
@@ -332,19 +332,19 @@ declare class AppConfig extends Service {
332
332
  */
333
333
  updateEnvironment(callback?: (err: AWSError, data: AppConfig.Types.Environment) => void): Request<AppConfig.Types.Environment, AWSError>;
334
334
  /**
335
- * Updates an AppConfig extension. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
335
+ * Updates an AppConfig extension. For more information about extensions, see Extending workflows in the AppConfig User Guide.
336
336
  */
337
337
  updateExtension(params: AppConfig.Types.UpdateExtensionRequest, callback?: (err: AWSError, data: AppConfig.Types.Extension) => void): Request<AppConfig.Types.Extension, AWSError>;
338
338
  /**
339
- * Updates an AppConfig extension. For more information about extensions, see Working with AppConfig extensions in the AppConfig User Guide.
339
+ * Updates an AppConfig extension. For more information about extensions, see Extending workflows in the AppConfig User Guide.
340
340
  */
341
341
  updateExtension(callback?: (err: AWSError, data: AppConfig.Types.Extension) => void): Request<AppConfig.Types.Extension, AWSError>;
342
342
  /**
343
- * Updates an association. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
343
+ * Updates an association. For more information about extensions and associations, see Extending workflows in the AppConfig User Guide.
344
344
  */
345
345
  updateExtensionAssociation(params: AppConfig.Types.UpdateExtensionAssociationRequest, callback?: (err: AWSError, data: AppConfig.Types.ExtensionAssociation) => void): Request<AppConfig.Types.ExtensionAssociation, AWSError>;
346
346
  /**
347
- * Updates an association. For more information about extensions and associations, see Working with AppConfig extensions in the AppConfig User Guide.
347
+ * Updates an association. For more information about extensions and associations, see Extending workflows in the AppConfig User Guide.
348
348
  */
349
349
  updateExtensionAssociation(callback?: (err: AWSError, data: AppConfig.Types.ExtensionAssociation) => void): Request<AppConfig.Types.ExtensionAssociation, AWSError>;
350
350
  /**
@@ -1021,6 +1021,8 @@ declare namespace AppConfig {
1021
1021
  NextToken?: NextToken;
1022
1022
  }
1023
1023
  export type Description = string;
1024
+ export type DynamicParameterKey = string;
1025
+ export type DynamicParameterMap = {[key: string]: StringWithLengthBetween1And2048};
1024
1026
  export interface Environment {
1025
1027
  /**
1026
1028
  * The application ID.
@@ -1514,6 +1516,10 @@ declare namespace AppConfig {
1514
1516
  * A parameter value must be specified in the extension association.
1515
1517
  */
1516
1518
  Required?: Boolean;
1519
+ /**
1520
+ * Indicates whether this parameter's value can be supplied at the extension's action point instead of during extension association. Dynamic parameters can't be marked Required.
1521
+ */
1522
+ Dynamic?: Boolean;
1517
1523
  }
1518
1524
  export type ParameterMap = {[key: string]: Parameter};
1519
1525
  export type ParameterValueMap = {[key: string]: StringWithLengthBetween1And2048};
@@ -1560,6 +1566,10 @@ declare namespace AppConfig {
1560
1566
  * The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this ID to encrypt the configuration data using a customer managed key.
1561
1567
  */
1562
1568
  KmsKeyIdentifier?: KmsKeyIdentifier;
1569
+ /**
1570
+ * A map of dynamic extension parameter names to values to pass to associated extensions with PRE_START_DEPLOYMENT actions.
1571
+ */
1572
+ DynamicExtensionParameters?: DynamicParameterMap;
1563
1573
  }
1564
1574
  export interface StopDeploymentRequest {
1565
1575
  /**
@@ -833,6 +833,10 @@ declare namespace Batch {
833
833
  * The tags that you apply to the job queue to help you categorize and organize your resources. Each tag consists of a key and an optional value. For more information, see Tagging your Batch resources in Batch User Guide.
834
834
  */
835
835
  tags?: TagrisTagsMap;
836
+ /**
837
+ * The set of actions that Batch performs on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after maxTimeSeconds has passed.
838
+ */
839
+ jobStateTimeLimitActions?: JobStateTimeLimitActions;
836
840
  }
837
841
  export interface CreateJobQueueResponse {
838
842
  /**
@@ -1740,7 +1744,7 @@ declare namespace Batch {
1740
1744
  */
1741
1745
  attempts?: AttemptDetails;
1742
1746
  /**
1743
- * A short, human-readable string to provide more details for the current status of the job.
1747
+ * A short, human-readable string to provide more details for the current status of the job. CAPACITY:INSUFFICIENT_INSTANCE_CAPACITY - All compute environments have insufficient capacity to service the job. MISCONFIGURATION:COMPUTE_ENVIRONMENT_MAX_RESOURCE - All compute environments have a maxVcpu setting that is smaller than the job requirements. MISCONFIGURATION:JOB_RESOURCE_REQUIREMENT - All compute environments have no connected instances that meet the job requirements. MISCONFIGURATION:SERVICE_ROLE_PERMISSIONS - All compute environments have problems with the service role permissions.
1744
1748
  */
1745
1749
  statusReason?: String;
1746
1750
  /**
@@ -1863,8 +1867,33 @@ declare namespace Batch {
1863
1867
  * The tags that are applied to the job queue. For more information, see Tagging your Batch resources in Batch User Guide.
1864
1868
  */
1865
1869
  tags?: TagrisTagsMap;
1870
+ /**
1871
+ * The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after maxTimeSeconds has passed.
1872
+ */
1873
+ jobStateTimeLimitActions?: JobStateTimeLimitActions;
1866
1874
  }
1867
1875
  export type JobQueueDetailList = JobQueueDetail[];
1876
+ export interface JobStateTimeLimitAction {
1877
+ /**
1878
+ * The reason to log for the action being taken.
1879
+ */
1880
+ reason: String;
1881
+ /**
1882
+ * The state of the job needed to trigger the action. The only supported value is "RUNNABLE".
1883
+ */
1884
+ state: JobStateTimeLimitActionsState;
1885
+ /**
1886
+ * The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. The minimum value is 600 (10 minutes) and the maximum value is 86,400 (24 hours).
1887
+ */
1888
+ maxTimeSeconds: Integer;
1889
+ /**
1890
+ * The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value is "CANCEL", which will cancel the job.
1891
+ */
1892
+ action: JobStateTimeLimitActionsAction;
1893
+ }
1894
+ export type JobStateTimeLimitActions = JobStateTimeLimitAction[];
1895
+ export type JobStateTimeLimitActionsAction = "CANCEL"|string;
1896
+ export type JobStateTimeLimitActionsState = "RUNNABLE"|string;
1868
1897
  export type JobStatus = "SUBMITTED"|"PENDING"|"RUNNABLE"|"STARTING"|"RUNNING"|"SUCCEEDED"|"FAILED"|string;
1869
1898
  export interface JobSummary {
1870
1899
  /**
@@ -2486,7 +2515,7 @@ declare namespace Batch {
2486
2515
  */
2487
2516
  environment?: EnvironmentVariables;
2488
2517
  /**
2489
- * If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All tasks must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon Elastic Container Service Developer Guide.
2518
+ * If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon Elastic Container Service Developer Guide.
2490
2519
  */
2491
2520
  essential?: Boolean;
2492
2521
  /**
@@ -2586,7 +2615,7 @@ declare namespace Batch {
2586
2615
  */
2587
2616
  environment?: EnvironmentVariables;
2588
2617
  /**
2589
- * If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All tasks must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon Elastic Container Service Developer Guide.
2618
+ * If the essential parameter of a container is marked as true, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential. All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon Elastic Container Service Developer Guide.
2590
2619
  */
2591
2620
  essential?: Boolean;
2592
2621
  /**
@@ -2755,6 +2784,10 @@ declare namespace Batch {
2755
2784
  * Details the set of compute environments mapped to a job queue and their order relative to each other. This is one of the parameters used by the job scheduler to determine which compute environment runs a given job. Compute environments must be in the VALID state before you can associate them with a job queue. All of the compute environments must be either EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT). EC2 and Fargate compute environments can't be mixed. All compute environments that are associated with a job queue must share the same architecture. Batch doesn't support mixing compute environment architecture types in a single job queue.
2756
2785
  */
2757
2786
  computeEnvironmentOrder?: ComputeEnvironmentOrders;
2787
+ /**
2788
+ * The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after maxTimeSeconds has passed.
2789
+ */
2790
+ jobStateTimeLimitActions?: JobStateTimeLimitActions;
2758
2791
  }
2759
2792
  export interface UpdateJobQueueResponse {
2760
2793
  /**