cdk-lambda-subminute 2.0.451 → 2.0.453
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/application-signals-2024-04-15.min.json +15 -0
- package/node_modules/aws-sdk/apis/bedrock-runtime-2023-09-30.min.json +27 -5
- package/node_modules/aws-sdk/apis/codecommit-2015-04-13.min.json +7 -1
- package/node_modules/aws-sdk/apis/datazone-2018-05-10.min.json +68 -32
- package/node_modules/aws-sdk/apis/ecr-2015-09-21.examples.json +186 -0
- package/node_modules/aws-sdk/apis/ecr-2015-09-21.min.json +177 -20
- package/node_modules/aws-sdk/apis/ecr-2015-09-21.paginators.json +9 -0
- package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +81 -63
- package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.examples.json +33 -0
- package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json +113 -73
- package/node_modules/aws-sdk/apis/network-firewall-2020-11-12.min.json +7 -1
- package/node_modules/aws-sdk/apis/outposts-2019-12-03.min.json +11 -2
- package/node_modules/aws-sdk/apis/states-2016-11-23.min.json +163 -128
- package/node_modules/aws-sdk/clients/applicationautoscaling.d.ts +1 -1
- package/node_modules/aws-sdk/clients/applicationsignals.d.ts +29 -20
- package/node_modules/aws-sdk/clients/bedrockruntime.d.ts +11 -8
- package/node_modules/aws-sdk/clients/datazone.d.ts +36 -0
- package/node_modules/aws-sdk/clients/ec2.d.ts +4 -4
- package/node_modules/aws-sdk/clients/ecr.d.ts +242 -8
- package/node_modules/aws-sdk/clients/eks.d.ts +27 -2
- package/node_modules/aws-sdk/clients/elbv2.d.ts +54 -8
- package/node_modules/aws-sdk/clients/networkfirewall.d.ts +7 -7
- package/node_modules/aws-sdk/clients/outposts.d.ts +5 -0
- package/node_modules/aws-sdk/clients/stepfunctions.d.ts +67 -9
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +12 -12
- package/node_modules/aws-sdk/dist/aws-sdk.js +309 -97
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +80 -80
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
@@ -388,7 +388,7 @@ declare namespace ApplicationAutoScaling {
|
|
388
388
|
export type MetricNamespace = string;
|
389
389
|
export type MetricScale = number;
|
390
390
|
export type MetricStatistic = "Average"|"Minimum"|"Maximum"|"SampleCount"|"Sum"|string;
|
391
|
-
export type MetricType = "DynamoDBReadCapacityUtilization"|"DynamoDBWriteCapacityUtilization"|"ALBRequestCountPerTarget"|"RDSReaderAverageCPUUtilization"|"RDSReaderAverageDatabaseConnections"|"EC2SpotFleetRequestAverageCPUUtilization"|"EC2SpotFleetRequestAverageNetworkIn"|"EC2SpotFleetRequestAverageNetworkOut"|"SageMakerVariantInvocationsPerInstance"|"ECSServiceAverageCPUUtilization"|"ECSServiceAverageMemoryUtilization"|"AppStreamAverageCapacityUtilization"|"ComprehendInferenceUtilization"|"LambdaProvisionedConcurrencyUtilization"|"CassandraReadCapacityUtilization"|"CassandraWriteCapacityUtilization"|"KafkaBrokerStorageUtilization"|"ElastiCachePrimaryEngineCPUUtilization"|"ElastiCacheReplicaEngineCPUUtilization"|"ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage"|"NeptuneReaderAverageCPUUtilization"|"SageMakerVariantProvisionedConcurrencyUtilization"|"ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage"|"SageMakerInferenceComponentInvocationsPerCopy"|"WorkSpacesAverageUserSessionsCapacityUtilization"|string;
|
391
|
+
export type MetricType = "DynamoDBReadCapacityUtilization"|"DynamoDBWriteCapacityUtilization"|"ALBRequestCountPerTarget"|"RDSReaderAverageCPUUtilization"|"RDSReaderAverageDatabaseConnections"|"EC2SpotFleetRequestAverageCPUUtilization"|"EC2SpotFleetRequestAverageNetworkIn"|"EC2SpotFleetRequestAverageNetworkOut"|"SageMakerVariantInvocationsPerInstance"|"ECSServiceAverageCPUUtilization"|"ECSServiceAverageMemoryUtilization"|"AppStreamAverageCapacityUtilization"|"ComprehendInferenceUtilization"|"LambdaProvisionedConcurrencyUtilization"|"CassandraReadCapacityUtilization"|"CassandraWriteCapacityUtilization"|"KafkaBrokerStorageUtilization"|"ElastiCachePrimaryEngineCPUUtilization"|"ElastiCacheReplicaEngineCPUUtilization"|"ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage"|"NeptuneReaderAverageCPUUtilization"|"SageMakerVariantProvisionedConcurrencyUtilization"|"ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage"|"SageMakerInferenceComponentInvocationsPerCopy"|"WorkSpacesAverageUserSessionsCapacityUtilization"|"SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution"|"SageMakerVariantConcurrentRequestsPerModelHighResolution"|string;
|
392
392
|
export type MetricUnit = string;
|
393
393
|
export type MinAdjustmentMagnitude = number;
|
394
394
|
export interface NotScaledReason {
|
@@ -232,11 +232,11 @@ declare namespace ApplicationSignals {
|
|
232
232
|
export type DurationUnit = "DAY"|"MONTH"|string;
|
233
233
|
export interface GetServiceInput {
|
234
234
|
/**
|
235
|
-
* The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
235
|
+
* The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 Your requested start time will be rounded to the nearest hour.
|
236
236
|
*/
|
237
237
|
StartTime: Timestamp;
|
238
238
|
/**
|
239
|
-
* The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
239
|
+
* The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 Your requested start time will be rounded to the nearest hour.
|
240
240
|
*/
|
241
241
|
EndTime: Timestamp;
|
242
242
|
/**
|
@@ -262,13 +262,17 @@ declare namespace ApplicationSignals {
|
|
262
262
|
*/
|
263
263
|
Service: Service;
|
264
264
|
/**
|
265
|
-
* The start time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057.
|
265
|
+
* The start time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057. This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.
|
266
266
|
*/
|
267
267
|
StartTime: Timestamp;
|
268
268
|
/**
|
269
|
-
* The end time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057.
|
269
|
+
* The end time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057. This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.
|
270
270
|
*/
|
271
271
|
EndTime: Timestamp;
|
272
|
+
/**
|
273
|
+
* An array of string-to-string maps that each contain information about one log group associated with this service. Each string-to-string map includes the following fields: "Type": "AWS::Resource" "ResourceType": "AWS::Logs::LogGroup" "Identifier": "name-of-log-group"
|
274
|
+
*/
|
275
|
+
LogGroupReferences?: LogGroupReferences;
|
272
276
|
}
|
273
277
|
export interface Goal {
|
274
278
|
/**
|
@@ -298,11 +302,11 @@ declare namespace ApplicationSignals {
|
|
298
302
|
export type KeyAttributeValue = string;
|
299
303
|
export interface ListServiceDependenciesInput {
|
300
304
|
/**
|
301
|
-
* The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
305
|
+
* The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 Your requested start time will be rounded to the nearest hour.
|
302
306
|
*/
|
303
307
|
StartTime: Timestamp;
|
304
308
|
/**
|
305
|
-
* The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
309
|
+
* The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 Your requested end time will be rounded to the nearest hour.
|
306
310
|
*/
|
307
311
|
EndTime: Timestamp;
|
308
312
|
/**
|
@@ -321,11 +325,11 @@ declare namespace ApplicationSignals {
|
|
321
325
|
export type ListServiceDependenciesMaxResults = number;
|
322
326
|
export interface ListServiceDependenciesOutput {
|
323
327
|
/**
|
324
|
-
* The start of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
328
|
+
* The start of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.
|
325
329
|
*/
|
326
330
|
StartTime: Timestamp;
|
327
331
|
/**
|
328
|
-
* The end of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
332
|
+
* The end of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.
|
329
333
|
*/
|
330
334
|
EndTime: Timestamp;
|
331
335
|
/**
|
@@ -339,11 +343,11 @@ declare namespace ApplicationSignals {
|
|
339
343
|
}
|
340
344
|
export interface ListServiceDependentsInput {
|
341
345
|
/**
|
342
|
-
* The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
346
|
+
* The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 Your requested start time will be rounded to the nearest hour.
|
343
347
|
*/
|
344
348
|
StartTime: Timestamp;
|
345
349
|
/**
|
346
|
-
* The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
350
|
+
* The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 Your requested start time will be rounded to the nearest hour.
|
347
351
|
*/
|
348
352
|
EndTime: Timestamp;
|
349
353
|
/**
|
@@ -362,11 +366,11 @@ declare namespace ApplicationSignals {
|
|
362
366
|
export type ListServiceDependentsMaxResults = number;
|
363
367
|
export interface ListServiceDependentsOutput {
|
364
368
|
/**
|
365
|
-
* The start of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
369
|
+
* The start of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.
|
366
370
|
*/
|
367
371
|
StartTime: Timestamp;
|
368
372
|
/**
|
369
|
-
* The end of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
373
|
+
* The end of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.
|
370
374
|
*/
|
371
375
|
EndTime: Timestamp;
|
372
376
|
/**
|
@@ -410,11 +414,11 @@ declare namespace ApplicationSignals {
|
|
410
414
|
export type ListServiceOperationMaxResults = number;
|
411
415
|
export interface ListServiceOperationsInput {
|
412
416
|
/**
|
413
|
-
* The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
417
|
+
* The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 Your requested start time will be rounded to the nearest hour.
|
414
418
|
*/
|
415
419
|
StartTime: Timestamp;
|
416
420
|
/**
|
417
|
-
* The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
421
|
+
* The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 Your requested end time will be rounded to the nearest hour.
|
418
422
|
*/
|
419
423
|
EndTime: Timestamp;
|
420
424
|
/**
|
@@ -432,11 +436,11 @@ declare namespace ApplicationSignals {
|
|
432
436
|
}
|
433
437
|
export interface ListServiceOperationsOutput {
|
434
438
|
/**
|
435
|
-
* The start of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
439
|
+
* The start of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.
|
436
440
|
*/
|
437
441
|
StartTime: Timestamp;
|
438
442
|
/**
|
439
|
-
* The end of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
443
|
+
* The end of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.
|
440
444
|
*/
|
441
445
|
EndTime: Timestamp;
|
442
446
|
/**
|
@@ -450,11 +454,11 @@ declare namespace ApplicationSignals {
|
|
450
454
|
}
|
451
455
|
export interface ListServicesInput {
|
452
456
|
/**
|
453
|
-
* The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
457
|
+
* The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 Your requested start time will be rounded to the nearest hour.
|
454
458
|
*/
|
455
459
|
StartTime: Timestamp;
|
456
460
|
/**
|
457
|
-
* The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
461
|
+
* The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 Your requested start time will be rounded to the nearest hour.
|
458
462
|
*/
|
459
463
|
EndTime: Timestamp;
|
460
464
|
/**
|
@@ -469,11 +473,11 @@ declare namespace ApplicationSignals {
|
|
469
473
|
export type ListServicesMaxResults = number;
|
470
474
|
export interface ListServicesOutput {
|
471
475
|
/**
|
472
|
-
* The start of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
476
|
+
* The start of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.
|
473
477
|
*/
|
474
478
|
StartTime: Timestamp;
|
475
479
|
/**
|
476
|
-
* The end of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057
|
480
|
+
* The end of the time period that the returned information applies to. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057 This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.
|
477
481
|
*/
|
478
482
|
EndTime: Timestamp;
|
479
483
|
/**
|
@@ -497,6 +501,7 @@ declare namespace ApplicationSignals {
|
|
497
501
|
*/
|
498
502
|
Tags?: TagList;
|
499
503
|
}
|
504
|
+
export type LogGroupReferences = Attributes[];
|
500
505
|
export interface Metric {
|
501
506
|
/**
|
502
507
|
* The namespace of the metric. For more information, see Namespaces.
|
@@ -614,6 +619,10 @@ declare namespace ApplicationSignals {
|
|
614
619
|
* An array of structures that each contain information about one metric associated with this service.
|
615
620
|
*/
|
616
621
|
MetricReferences: MetricReferences;
|
622
|
+
/**
|
623
|
+
* An array of string-to-string maps that each contain information about one log group associated with this service. Each string-to-string map includes the following fields: "Type": "AWS::Resource" "ResourceType": "AWS::Logs::LogGroup" "Identifier": "name-of-log-group"
|
624
|
+
*/
|
625
|
+
LogGroupReferences?: LogGroupReferences;
|
617
626
|
}
|
618
627
|
export type ServiceDependencies = ServiceDependency[];
|
619
628
|
export interface ServiceDependency {
|
@@ -21,19 +21,19 @@ declare class BedrockRuntime extends Service {
|
|
21
21
|
*/
|
22
22
|
applyGuardrail(callback?: (err: AWSError, data: BedrockRuntime.Types.ApplyGuardrailResponse) => void): Request<BedrockRuntime.Types.ApplyGuardrailResponse, AWSError>;
|
23
23
|
/**
|
24
|
-
* Sends messages to the specified Amazon Bedrock model. Converse provides a consistent interface that works with all models that support messages. This allows you to write code once and use it with different models.
|
24
|
+
* Sends messages to the specified Amazon Bedrock model. Converse provides a consistent interface that works with all models that support messages. This allows you to write code once and use it with different models. If a model has unique inference parameters, you can also pass those unique parameters to the model. Amazon Bedrock doesn't store any text, images, or documents that you provide as content. The data is only used to generate the response. For information about the Converse API, see Use the Converse API in the Amazon Bedrock User Guide. To use a guardrail, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. To use a tool with a model, see Tool use (Function calling) in the Amazon Bedrock User Guide For example code, see Converse API examples in the Amazon Bedrock User Guide. This operation requires permission for the bedrock:InvokeModel action.
|
25
25
|
*/
|
26
26
|
converse(params: BedrockRuntime.Types.ConverseRequest, callback?: (err: AWSError, data: BedrockRuntime.Types.ConverseResponse) => void): Request<BedrockRuntime.Types.ConverseResponse, AWSError>;
|
27
27
|
/**
|
28
|
-
* Sends messages to the specified Amazon Bedrock model. Converse provides a consistent interface that works with all models that support messages. This allows you to write code once and use it with different models.
|
28
|
+
* Sends messages to the specified Amazon Bedrock model. Converse provides a consistent interface that works with all models that support messages. This allows you to write code once and use it with different models. If a model has unique inference parameters, you can also pass those unique parameters to the model. Amazon Bedrock doesn't store any text, images, or documents that you provide as content. The data is only used to generate the response. For information about the Converse API, see Use the Converse API in the Amazon Bedrock User Guide. To use a guardrail, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. To use a tool with a model, see Tool use (Function calling) in the Amazon Bedrock User Guide For example code, see Converse API examples in the Amazon Bedrock User Guide. This operation requires permission for the bedrock:InvokeModel action.
|
29
29
|
*/
|
30
30
|
converse(callback?: (err: AWSError, data: BedrockRuntime.Types.ConverseResponse) => void): Request<BedrockRuntime.Types.ConverseResponse, AWSError>;
|
31
31
|
/**
|
32
|
-
* Sends messages to the specified Amazon Bedrock model and returns the response in a stream. ConverseStream provides a consistent API that works with all Amazon Bedrock models that support messages. This allows you to write code once and use it with different models. Should a model have unique inference parameters, you can also pass those unique parameters to the model. To find out if a model supports streaming, call GetFoundationModel and check the responseStreamingSupported field in the response. For information about the Converse API, see Use the Converse API in the Amazon Bedrock User Guide. To use a guardrail, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. To use a tool with a model, see Tool use (Function calling) in the Amazon Bedrock User Guide For example code, see Conversation streaming example in the Amazon Bedrock User Guide. This operation requires permission for the bedrock:InvokeModelWithResponseStream action.
|
32
|
+
* Sends messages to the specified Amazon Bedrock model and returns the response in a stream. ConverseStream provides a consistent API that works with all Amazon Bedrock models that support messages. This allows you to write code once and use it with different models. Should a model have unique inference parameters, you can also pass those unique parameters to the model. To find out if a model supports streaming, call GetFoundationModel and check the responseStreamingSupported field in the response. The CLI doesn't support streaming operations in Amazon Bedrock, including ConverseStream. Amazon Bedrock doesn't store any text, images, or documents that you provide as content. The data is only used to generate the response. For information about the Converse API, see Use the Converse API in the Amazon Bedrock User Guide. To use a guardrail, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. To use a tool with a model, see Tool use (Function calling) in the Amazon Bedrock User Guide For example code, see Conversation streaming example in the Amazon Bedrock User Guide. This operation requires permission for the bedrock:InvokeModelWithResponseStream action.
|
33
33
|
*/
|
34
34
|
converseStream(params: BedrockRuntime.Types.ConverseStreamRequest, callback?: (err: AWSError, data: BedrockRuntime.Types.ConverseStreamResponse) => void): Request<BedrockRuntime.Types.ConverseStreamResponse, AWSError>;
|
35
35
|
/**
|
36
|
-
* Sends messages to the specified Amazon Bedrock model and returns the response in a stream. ConverseStream provides a consistent API that works with all Amazon Bedrock models that support messages. This allows you to write code once and use it with different models. Should a model have unique inference parameters, you can also pass those unique parameters to the model. To find out if a model supports streaming, call GetFoundationModel and check the responseStreamingSupported field in the response. For information about the Converse API, see Use the Converse API in the Amazon Bedrock User Guide. To use a guardrail, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. To use a tool with a model, see Tool use (Function calling) in the Amazon Bedrock User Guide For example code, see Conversation streaming example in the Amazon Bedrock User Guide. This operation requires permission for the bedrock:InvokeModelWithResponseStream action.
|
36
|
+
* Sends messages to the specified Amazon Bedrock model and returns the response in a stream. ConverseStream provides a consistent API that works with all Amazon Bedrock models that support messages. This allows you to write code once and use it with different models. Should a model have unique inference parameters, you can also pass those unique parameters to the model. To find out if a model supports streaming, call GetFoundationModel and check the responseStreamingSupported field in the response. The CLI doesn't support streaming operations in Amazon Bedrock, including ConverseStream. Amazon Bedrock doesn't store any text, images, or documents that you provide as content. The data is only used to generate the response. For information about the Converse API, see Use the Converse API in the Amazon Bedrock User Guide. To use a guardrail, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. To use a tool with a model, see Tool use (Function calling) in the Amazon Bedrock User Guide For example code, see Conversation streaming example in the Amazon Bedrock User Guide. This operation requires permission for the bedrock:InvokeModelWithResponseStream action.
|
37
37
|
*/
|
38
38
|
converseStream(callback?: (err: AWSError, data: BedrockRuntime.Types.ConverseStreamResponse) => void): Request<BedrockRuntime.Types.ConverseStreamResponse, AWSError>;
|
39
39
|
/**
|
@@ -45,11 +45,11 @@ declare class BedrockRuntime extends Service {
|
|
45
45
|
*/
|
46
46
|
invokeModel(callback?: (err: AWSError, data: BedrockRuntime.Types.InvokeModelResponse) => void): Request<BedrockRuntime.Types.InvokeModelResponse, AWSError>;
|
47
47
|
/**
|
48
|
-
* Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. The response is returned in a stream. To see if a model supports streaming, call GetFoundationModel and check the responseStreamingSupported field in the response. The CLI doesn't support InvokeModelWithResponseStream. For example code, see Invoke model with streaming code example in the Amazon Bedrock User Guide. This operation requires permissions to perform the bedrock:InvokeModelWithResponseStream action.
|
48
|
+
* Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. The response is returned in a stream. To see if a model supports streaming, call GetFoundationModel and check the responseStreamingSupported field in the response. The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeModelWithResponseStream. For example code, see Invoke model with streaming code example in the Amazon Bedrock User Guide. This operation requires permissions to perform the bedrock:InvokeModelWithResponseStream action.
|
49
49
|
*/
|
50
50
|
invokeModelWithResponseStream(params: BedrockRuntime.Types.InvokeModelWithResponseStreamRequest, callback?: (err: AWSError, data: BedrockRuntime.Types.InvokeModelWithResponseStreamResponse) => void): Request<BedrockRuntime.Types.InvokeModelWithResponseStreamResponse, AWSError>;
|
51
51
|
/**
|
52
|
-
* Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. The response is returned in a stream. To see if a model supports streaming, call GetFoundationModel and check the responseStreamingSupported field in the response. The CLI doesn't support InvokeModelWithResponseStream. For example code, see Invoke model with streaming code example in the Amazon Bedrock User Guide. This operation requires permissions to perform the bedrock:InvokeModelWithResponseStream action.
|
52
|
+
* Invoke the specified Amazon Bedrock model to run inference using the prompt and inference parameters provided in the request body. The response is returned in a stream. To see if a model supports streaming, call GetFoundationModel and check the responseStreamingSupported field in the response. The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeModelWithResponseStream. For example code, see Invoke model with streaming code example in the Amazon Bedrock User Guide. This operation requires permissions to perform the bedrock:InvokeModelWithResponseStream action.
|
53
53
|
*/
|
54
54
|
invokeModelWithResponseStream(callback?: (err: AWSError, data: BedrockRuntime.Types.InvokeModelWithResponseStreamResponse) => void): Request<BedrockRuntime.Types.InvokeModelWithResponseStreamResponse, AWSError>;
|
55
55
|
}
|
@@ -260,7 +260,7 @@ declare namespace BedrockRuntime {
|
|
260
260
|
*/
|
261
261
|
latencyMs: Long;
|
262
262
|
}
|
263
|
-
export type ConverseStreamOutput = EventStream<{messageStart?:MessageStartEvent,contentBlockStart?:ContentBlockStartEvent,contentBlockDelta?:ContentBlockDeltaEvent,contentBlockStop?:ContentBlockStopEvent,messageStop?:MessageStopEvent,metadata?:ConverseStreamMetadataEvent,internalServerException?:InternalServerException,modelStreamErrorException?:ModelStreamErrorException,validationException?:ValidationException,throttlingException?:ThrottlingException}>;
|
263
|
+
export type ConverseStreamOutput = EventStream<{messageStart?:MessageStartEvent,contentBlockStart?:ContentBlockStartEvent,contentBlockDelta?:ContentBlockDeltaEvent,contentBlockStop?:ContentBlockStopEvent,messageStop?:MessageStopEvent,metadata?:ConverseStreamMetadataEvent,internalServerException?:InternalServerException,modelStreamErrorException?:ModelStreamErrorException,validationException?:ValidationException,throttlingException?:ThrottlingException,serviceUnavailableException?:ServiceUnavailableException}>;
|
264
264
|
export interface ConverseStreamRequest {
|
265
265
|
/**
|
266
266
|
* The ID for the model. The modelId to provide depends on the type of model that you use: If you use a base model, specify the model ID or its ARN. For a list of model IDs for base models, see Amazon Bedrock base model IDs (on-demand throughput) in the Amazon Bedrock User Guide. If you use a provisioned model, specify the ARN of the Provisioned Throughput. For more information, see Run inference using a Provisioned Throughput in the Amazon Bedrock User Guide. If you use a custom model, first purchase Provisioned Throughput for it. Then specify the ARN of the resulting provisioned model. For more information, see Use a custom model in Amazon Bedrock in the Amazon Bedrock User Guide.
|
@@ -832,7 +832,10 @@ declare namespace BedrockRuntime {
|
|
832
832
|
*/
|
833
833
|
bytes?: PartBody;
|
834
834
|
}
|
835
|
-
export type ResponseStream = EventStream<{chunk?:PayloadPart,internalServerException?:InternalServerException,modelStreamErrorException?:ModelStreamErrorException,validationException?:ValidationException,throttlingException?:ThrottlingException,modelTimeoutException?:ModelTimeoutException}>;
|
835
|
+
export type ResponseStream = EventStream<{chunk?:PayloadPart,internalServerException?:InternalServerException,modelStreamErrorException?:ModelStreamErrorException,validationException?:ValidationException,throttlingException?:ThrottlingException,modelTimeoutException?:ModelTimeoutException,serviceUnavailableException?:ServiceUnavailableException}>;
|
836
|
+
export interface ServiceUnavailableException {
|
837
|
+
message?: NonBlankString;
|
838
|
+
}
|
836
839
|
export interface SpecificToolChoice {
|
837
840
|
/**
|
838
841
|
* The name of the tool that the model must request.
|
@@ -451,6 +451,14 @@ declare class DataZone extends Service {
|
|
451
451
|
* Gets the blueprint configuration in Amazon DataZone.
|
452
452
|
*/
|
453
453
|
getEnvironmentBlueprintConfiguration(callback?: (err: AWSError, data: DataZone.Types.GetEnvironmentBlueprintConfigurationOutput) => void): Request<DataZone.Types.GetEnvironmentBlueprintConfigurationOutput, AWSError>;
|
454
|
+
/**
|
455
|
+
* Gets the credentials of an environment in Amazon DataZone.
|
456
|
+
*/
|
457
|
+
getEnvironmentCredentials(params: DataZone.Types.GetEnvironmentCredentialsInput, callback?: (err: AWSError, data: DataZone.Types.GetEnvironmentCredentialsOutput) => void): Request<DataZone.Types.GetEnvironmentCredentialsOutput, AWSError>;
|
458
|
+
/**
|
459
|
+
* Gets the credentials of an environment in Amazon DataZone.
|
460
|
+
*/
|
461
|
+
getEnvironmentCredentials(callback?: (err: AWSError, data: DataZone.Types.GetEnvironmentCredentialsOutput) => void): Request<DataZone.Types.GetEnvironmentCredentialsOutput, AWSError>;
|
454
462
|
/**
|
455
463
|
* Gets an evinronment profile in Amazon DataZone.
|
456
464
|
*/
|
@@ -4765,6 +4773,34 @@ declare namespace DataZone {
|
|
4765
4773
|
*/
|
4766
4774
|
userParameters?: CustomParameterList;
|
4767
4775
|
}
|
4776
|
+
export interface GetEnvironmentCredentialsInput {
|
4777
|
+
/**
|
4778
|
+
* The ID of the Amazon DataZone domain in which this environment and its credentials exist.
|
4779
|
+
*/
|
4780
|
+
domainIdentifier: DomainId;
|
4781
|
+
/**
|
4782
|
+
* The ID of the environment whose credentials this operation gets.
|
4783
|
+
*/
|
4784
|
+
environmentIdentifier: EnvironmentId;
|
4785
|
+
}
|
4786
|
+
export interface GetEnvironmentCredentialsOutput {
|
4787
|
+
/**
|
4788
|
+
* The access key ID of the environment.
|
4789
|
+
*/
|
4790
|
+
accessKeyId?: String;
|
4791
|
+
/**
|
4792
|
+
* The expiration timestamp of the environment credentials.
|
4793
|
+
*/
|
4794
|
+
expiration?: SyntheticTimestamp_date_time;
|
4795
|
+
/**
|
4796
|
+
* The secret access key of the environment credentials.
|
4797
|
+
*/
|
4798
|
+
secretAccessKey?: String;
|
4799
|
+
/**
|
4800
|
+
* The session token of the environment credentials.
|
4801
|
+
*/
|
4802
|
+
sessionToken?: String;
|
4803
|
+
}
|
4768
4804
|
export interface GetEnvironmentInput {
|
4769
4805
|
/**
|
4770
4806
|
* The ID of the Amazon DataZone domain where the environment exists.
|
@@ -21188,7 +21188,7 @@ declare namespace EC2 {
|
|
21188
21188
|
*/
|
21189
21189
|
InstanceRequirements?: InstanceRequirements;
|
21190
21190
|
/**
|
21191
|
-
* The ID of the AMI.
|
21191
|
+
* The ID of the AMI in the format ami-17characters00000. Alternatively, you can specify a Systems Manager parameter, using one of the following formats. The Systems Manager parameter will resolve to an AMI ID on launch. To reference a public parameter: resolve:ssm:public-parameter To reference a parameter stored in the same account: resolve:ssm:parameter-name resolve:ssm:parameter-name:version-number resolve:ssm:parameter-name:label To reference a parameter shared from another Amazon Web Services account: resolve:ssm:parameter-ARN resolve:ssm:parameter-ARN:version-number resolve:ssm:parameter-ARN:label For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon EC2 User Guide. This parameter is only available for fleets of type instant. For fleets of type maintain and request, you must specify the AMI ID in the launch template.
|
21192
21192
|
*/
|
21193
21193
|
ImageId?: ImageId;
|
21194
21194
|
}
|
@@ -21228,7 +21228,7 @@ declare namespace EC2 {
|
|
21228
21228
|
*/
|
21229
21229
|
InstanceRequirements?: InstanceRequirementsRequest;
|
21230
21230
|
/**
|
21231
|
-
* The ID of the AMI.
|
21231
|
+
* The ID of the AMI in the format ami-17characters00000. Alternatively, you can specify a Systems Manager parameter, using one of the following formats. The Systems Manager parameter will resolve to an AMI ID on launch. To reference a public parameter: resolve:ssm:public-parameter To reference a parameter stored in the same account: resolve:ssm:parameter-name resolve:ssm:parameter-name:version-number resolve:ssm:parameter-name:label To reference a parameter shared from another Amazon Web Services account: resolve:ssm:parameter-ARN resolve:ssm:parameter-ARN:version-number resolve:ssm:parameter-ARN:label For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon EC2 User Guide. This parameter is only available for fleets of type instant. For fleets of type maintain and request, you must specify the AMI ID in the launch template.
|
21232
21232
|
*/
|
21233
21233
|
ImageId?: ImageId;
|
21234
21234
|
}
|
@@ -33444,7 +33444,7 @@ declare namespace EC2 {
|
|
33444
33444
|
*/
|
33445
33445
|
NetworkInterfaces?: LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList;
|
33446
33446
|
/**
|
33447
|
-
* The ID of the AMI. Alternatively, you can specify a Systems Manager parameter,
|
33447
|
+
* The ID of the AMI in the format ami-17characters00000. Alternatively, you can specify a Systems Manager parameter, using one of the following formats. The Systems Manager parameter will resolve to an AMI ID on launch. To reference a public parameter: resolve:ssm:public-parameter To reference a parameter stored in the same account: resolve:ssm:parameter-name resolve:ssm:parameter-name:version-number resolve:ssm:parameter-name:label To reference a parameter shared from another Amazon Web Services account: resolve:ssm:parameter-ARN resolve:ssm:parameter-ARN:version-number resolve:ssm:parameter-ARN:label For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon EC2 User Guide. If the launch template will be used for an EC2 Fleet or Spot Fleet, note the following: Only EC2 Fleets of type instant support specifying a Systems Manager parameter. For EC2 Fleets of type maintain or request, or for Spot Fleets, you must specify the AMI ID.
|
33448
33448
|
*/
|
33449
33449
|
ImageId?: ImageId;
|
33450
33450
|
/**
|
@@ -34185,7 +34185,7 @@ declare namespace EC2 {
|
|
34185
34185
|
*/
|
34186
34186
|
ResourceTypes?: ValueStringList;
|
34187
34187
|
}
|
34188
|
-
export type ResourceType = "capacity-reservation"|"client-vpn-endpoint"|"customer-gateway"|"carrier-gateway"|"coip-pool"|"dedicated-host"|"dhcp-options"|"egress-only-internet-gateway"|"elastic-ip"|"elastic-gpu"|"export-image-task"|"export-instance-task"|"fleet"|"fpga-image"|"host-reservation"|"image"|"import-image-task"|"import-snapshot-task"|"instance"|"instance-event-window"|"internet-gateway"|"ipam"|"ipam-pool"|"ipam-scope"|"ipv4pool-ec2"|"ipv6pool-ec2"|"key-pair"|"launch-template"|"local-gateway"|"local-gateway-route-table"|"local-gateway-virtual-interface"|"local-gateway-virtual-interface-group"|"local-gateway-route-table-vpc-association"|"local-gateway-route-table-virtual-interface-group-association"|"natgateway"|"network-acl"|"network-interface"|"network-insights-analysis"|"network-insights-path"|"network-insights-access-scope"|"network-insights-access-scope-analysis"|"placement-group"|"prefix-list"|"replace-root-volume-task"|"reserved-instances"|"route-table"|"security-group"|"security-group-rule"|"snapshot"|"spot-fleet-request"|"spot-instances-request"|"subnet"|"subnet-cidr-reservation"|"traffic-mirror-filter"|"traffic-mirror-session"|"traffic-mirror-target"|"transit-gateway"|"transit-gateway-attachment"|"transit-gateway-connect-peer"|"transit-gateway-multicast-domain"|"transit-gateway-policy-table"|"transit-gateway-route-table"|"transit-gateway-route-table-announcement"|"volume"|"vpc"|"vpc-endpoint"|"vpc-endpoint-connection"|"vpc-endpoint-service"|"vpc-endpoint-service-permission"|"vpc-peering-connection"|"vpn-connection"|"vpn-gateway"|"vpc-flow-log"|"capacity-reservation-fleet"|"traffic-mirror-filter-rule"|"vpc-endpoint-connection-device-type"|"verified-access-instance"|"verified-access-group"|"verified-access-endpoint"|"verified-access-policy"|"verified-access-trust-provider"|"vpn-connection-device-type"|"vpc-block-public-access-exclusion"|"
|
34188
|
+
export type ResourceType = "capacity-reservation"|"client-vpn-endpoint"|"customer-gateway"|"carrier-gateway"|"coip-pool"|"dedicated-host"|"dhcp-options"|"egress-only-internet-gateway"|"elastic-ip"|"elastic-gpu"|"export-image-task"|"export-instance-task"|"fleet"|"fpga-image"|"host-reservation"|"image"|"import-image-task"|"import-snapshot-task"|"instance"|"instance-event-window"|"internet-gateway"|"ipam"|"ipam-pool"|"ipam-scope"|"ipv4pool-ec2"|"ipv6pool-ec2"|"key-pair"|"launch-template"|"local-gateway"|"local-gateway-route-table"|"local-gateway-virtual-interface"|"local-gateway-virtual-interface-group"|"local-gateway-route-table-vpc-association"|"local-gateway-route-table-virtual-interface-group-association"|"natgateway"|"network-acl"|"network-interface"|"network-insights-analysis"|"network-insights-path"|"network-insights-access-scope"|"network-insights-access-scope-analysis"|"placement-group"|"prefix-list"|"replace-root-volume-task"|"reserved-instances"|"route-table"|"security-group"|"security-group-rule"|"snapshot"|"spot-fleet-request"|"spot-instances-request"|"subnet"|"subnet-cidr-reservation"|"traffic-mirror-filter"|"traffic-mirror-session"|"traffic-mirror-target"|"transit-gateway"|"transit-gateway-attachment"|"transit-gateway-connect-peer"|"transit-gateway-multicast-domain"|"transit-gateway-policy-table"|"transit-gateway-route-table"|"transit-gateway-route-table-announcement"|"volume"|"vpc"|"vpc-endpoint"|"vpc-endpoint-connection"|"vpc-endpoint-service"|"vpc-endpoint-service-permission"|"vpc-peering-connection"|"vpn-connection"|"vpn-gateway"|"vpc-flow-log"|"capacity-reservation-fleet"|"traffic-mirror-filter-rule"|"vpc-endpoint-connection-device-type"|"verified-access-instance"|"verified-access-group"|"verified-access-endpoint"|"verified-access-policy"|"verified-access-trust-provider"|"vpn-connection-device-type"|"vpc-block-public-access-exclusion"|"ipam-resource-discovery"|"ipam-resource-discovery-association"|"instance-connect-endpoint"|"ipam-external-resource-verification-token"|string;
|
34189
34189
|
export interface ResponseError {
|
34190
34190
|
/**
|
34191
34191
|
* The error code.
|