cdk-lambda-subminute 2.0.489 → 2.0.491

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. package/.jsii +30 -4
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/README.md +1 -1
  4. package/node_modules/aws-sdk/apis/application-signals-2024-04-15.min.json +144 -54
  5. package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.min.json +28 -6
  6. package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +268 -250
  7. package/node_modules/aws-sdk/apis/datazone-2018-05-10.min.json +677 -635
  8. package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.examples.json +18 -0
  9. package/node_modules/aws-sdk/apis/elasticloadbalancingv2-2015-12-01.min.json +65 -11
  10. package/node_modules/aws-sdk/apis/finspace-2021-03-12.min.json +7 -1
  11. package/node_modules/aws-sdk/apis/fis-2020-12-01.min.json +80 -0
  12. package/node_modules/aws-sdk/apis/logs-2014-03-28.min.json +191 -64
  13. package/node_modules/aws-sdk/apis/logs-2014-03-28.paginators.json +6 -0
  14. package/node_modules/aws-sdk/apis/mediaconnect-2018-11-14.min.json +116 -42
  15. package/node_modules/aws-sdk/apis/medialive-2017-10-14.min.json +349 -341
  16. package/node_modules/aws-sdk/apis/qapps-2023-11-27.examples.json +23 -0
  17. package/node_modules/aws-sdk/apis/qapps-2023-11-27.min.json +60 -21
  18. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +92 -4
  19. package/node_modules/aws-sdk/apis/s3control-2018-08-20.paginators.json +6 -0
  20. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1018 -972
  21. package/node_modules/aws-sdk/apis/timestream-influxdb-2023-01-27.min.json +3 -1
  22. package/node_modules/aws-sdk/clients/applicationsignals.d.ts +136 -22
  23. package/node_modules/aws-sdk/clients/appsync.d.ts +2 -2
  24. package/node_modules/aws-sdk/clients/bedrockagent.d.ts +19 -2
  25. package/node_modules/aws-sdk/clients/cloudwatchlogs.d.ts +184 -5
  26. package/node_modules/aws-sdk/clients/codepipeline.d.ts +8 -8
  27. package/node_modules/aws-sdk/clients/connect.d.ts +39 -3
  28. package/node_modules/aws-sdk/clients/datazone.d.ts +42 -0
  29. package/node_modules/aws-sdk/clients/elbv2.d.ts +59 -2
  30. package/node_modules/aws-sdk/clients/finspace.d.ts +3 -3
  31. package/node_modules/aws-sdk/clients/fis.d.ts +83 -1
  32. package/node_modules/aws-sdk/clients/gamelift.d.ts +27 -27
  33. package/node_modules/aws-sdk/clients/kinesisanalyticsv2.d.ts +1 -1
  34. package/node_modules/aws-sdk/clients/mediaconnect.d.ts +49 -0
  35. package/node_modules/aws-sdk/clients/medialive.d.ts +11 -0
  36. package/node_modules/aws-sdk/clients/qapps.d.ts +44 -2
  37. package/node_modules/aws-sdk/clients/s3control.d.ts +110 -31
  38. package/node_modules/aws-sdk/clients/sagemaker.d.ts +64 -4
  39. package/node_modules/aws-sdk/clients/timestreaminfluxdb.d.ts +9 -1
  40. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +5 -5
  41. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +22 -22
  42. package/node_modules/aws-sdk/dist/aws-sdk.js +548 -331
  43. package/node_modules/aws-sdk/dist/aws-sdk.min.js +85 -85
  44. package/node_modules/aws-sdk/lib/core.js +1 -1
  45. package/node_modules/aws-sdk/lib/maintenance_mode_message.js +3 -3
  46. package/node_modules/aws-sdk/lib/region_config_data.json +12 -0
  47. package/node_modules/aws-sdk/package.json +1 -1
  48. package/package.json +5 -5
@@ -411,7 +411,9 @@
411
411
  "logDeliveryConfiguration": {
412
412
  "shape": "Sh"
413
413
  },
414
- "dbParameterGroupIdentifier": {}
414
+ "dbParameterGroupIdentifier": {},
415
+ "dbInstanceType": {},
416
+ "deploymentType": {}
415
417
  }
416
418
  },
417
419
  "output": {
@@ -12,19 +12,19 @@ declare class ApplicationSignals extends Service {
12
12
  constructor(options?: ApplicationSignals.Types.ClientConfiguration)
13
13
  config: Config & ApplicationSignals.Types.ClientConfiguration;
14
14
  /**
15
- * Use this operation to retrieve one or more service level objective (SLO) budget reports. An error budget is the amount of time in unhealthy periods that your service can accumulate during an interval before your overall SLO budget health is breached and the SLO is considered to be unmet. For example, an SLO with a threshold of 99.95% and a monthly interval translates to an error budget of 21.9 minutes of downtime in a 30-day month. Budget reports include a health indicator, the attainment value, and remaining budget. For more information about SLO error budgets, see SLO concepts.
15
+ * Use this operation to retrieve one or more service level objective (SLO) budget reports. An error budget is the amount of time or requests in an unhealthy state that your service can accumulate during an interval before your overall SLO budget health is breached and the SLO is considered to be unmet. For example, an SLO with a threshold of 99.95% and a monthly interval translates to an error budget of 21.9 minutes of downtime in a 30-day month. Budget reports include a health indicator, the attainment value, and remaining budget. For more information about SLO error budgets, see SLO concepts.
16
16
  */
17
17
  batchGetServiceLevelObjectiveBudgetReport(params: ApplicationSignals.Types.BatchGetServiceLevelObjectiveBudgetReportInput, callback?: (err: AWSError, data: ApplicationSignals.Types.BatchGetServiceLevelObjectiveBudgetReportOutput) => void): Request<ApplicationSignals.Types.BatchGetServiceLevelObjectiveBudgetReportOutput, AWSError>;
18
18
  /**
19
- * Use this operation to retrieve one or more service level objective (SLO) budget reports. An error budget is the amount of time in unhealthy periods that your service can accumulate during an interval before your overall SLO budget health is breached and the SLO is considered to be unmet. For example, an SLO with a threshold of 99.95% and a monthly interval translates to an error budget of 21.9 minutes of downtime in a 30-day month. Budget reports include a health indicator, the attainment value, and remaining budget. For more information about SLO error budgets, see SLO concepts.
19
+ * Use this operation to retrieve one or more service level objective (SLO) budget reports. An error budget is the amount of time or requests in an unhealthy state that your service can accumulate during an interval before your overall SLO budget health is breached and the SLO is considered to be unmet. For example, an SLO with a threshold of 99.95% and a monthly interval translates to an error budget of 21.9 minutes of downtime in a 30-day month. Budget reports include a health indicator, the attainment value, and remaining budget. For more information about SLO error budgets, see SLO concepts.
20
20
  */
21
21
  batchGetServiceLevelObjectiveBudgetReport(callback?: (err: AWSError, data: ApplicationSignals.Types.BatchGetServiceLevelObjectiveBudgetReportOutput) => void): Request<ApplicationSignals.Types.BatchGetServiceLevelObjectiveBudgetReportOutput, AWSError>;
22
22
  /**
23
- * Creates a service level objective (SLO), which can help you ensure that your critical business operations are meeting customer expectations. Use SLOs to set and track specific target levels for the reliability and availability of your applications and services. SLOs use service level indicators (SLIs) to calculate whether the application is performing at the level that you want. Create an SLO to set a target for a service or operation’s availability or latency. CloudWatch measures this target frequently you can find whether it has been breached. When you create an SLO, you set an attainment goal for it. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state. After you have created an SLO, you can retrieve error budget reports for it. An error budget is the number of periods or amount of time that your service can accumulate during an interval before your overall SLO budget health is breached and the SLO is considered to be unmet. for example, an SLO with a threshold that 99.95% of requests must be completed under 2000ms every month translates to an error budget of 21.9 minutes of downtime per month. When you call this operation, Application Signals creates the AWSServiceRoleForCloudWatchApplicationSignals service-linked role, if it doesn't already exist in your account. This service- linked role has the following permissions: xray:GetServiceGraph logs:StartQuery logs:GetQueryResults cloudwatch:GetMetricData cloudwatch:ListMetrics tag:GetResources autoscaling:DescribeAutoScalingGroups You can easily set SLO targets for your applications that are discovered by Application Signals, using critical metrics such as latency and availability. You can also set SLOs against any CloudWatch metric or math expression that produces a time series. For more information about SLOs, see Service level objectives (SLOs).
23
+ * Creates a service level objective (SLO), which can help you ensure that your critical business operations are meeting customer expectations. Use SLOs to set and track specific target levels for the reliability and availability of your applications and services. SLOs use service level indicators (SLIs) to calculate whether the application is performing at the level that you want. Create an SLO to set a target for a service or operation’s availability or latency. CloudWatch measures this target frequently you can find whether it has been breached. The target performance quality that is defined for an SLO is the attainment goal. You can set SLO targets for your applications that are discovered by Application Signals, using critical metrics such as latency and availability. You can also set SLOs against any CloudWatch metric or math expression that produces a time series. When you create an SLO, you specify whether it is a period-based SLO or a request-based SLO. Each type of SLO has a different way of evaluating your application's performance against its attainment goal. A period-based SLO uses defined periods of time within a specified total time interval. For each period of time, Application Signals determines whether the application met its goal. The attainment rate is calculated as the number of good periods/number of total periods. For example, for a period-based SLO, meeting an attainment goal of 99.9% means that within your interval, your application must meet its performance goal during at least 99.9% of the time periods. A request-based SLO doesn't use pre-defined periods of time. Instead, the SLO measures number of good requests/number of total requests during the interval. At any time, you can find the ratio of good requests to total requests for the interval up to the time stamp that you specify, and measure that ratio against the goal set in your SLO. After you have created an SLO, you can retrieve error budget reports for it. An error budget is the amount of time or amount of requests that your application can be non-compliant with the SLO's goal, and still have your application meet the goal. For a period-based SLO, the error budget starts at a number defined by the highest number of periods that can fail to meet the threshold, while still meeting the overall goal. The remaining error budget decreases with every failed period that is recorded. The error budget within one interval can never increase. For example, an SLO with a threshold that 99.95% of requests must be completed under 2000ms every month translates to an error budget of 21.9 minutes of downtime per month. For a request-based SLO, the remaining error budget is dynamic and can increase or decrease, depending on the ratio of good requests to total requests. For more information about SLOs, see Service level objectives (SLOs). When you perform a CreateServiceLevelObjective operation, Application Signals creates the AWSServiceRoleForCloudWatchApplicationSignals service-linked role, if it doesn't already exist in your account. This service- linked role has the following permissions: xray:GetServiceGraph logs:StartQuery logs:GetQueryResults cloudwatch:GetMetricData cloudwatch:ListMetrics tag:GetResources autoscaling:DescribeAutoScalingGroups
24
24
  */
25
25
  createServiceLevelObjective(params: ApplicationSignals.Types.CreateServiceLevelObjectiveInput, callback?: (err: AWSError, data: ApplicationSignals.Types.CreateServiceLevelObjectiveOutput) => void): Request<ApplicationSignals.Types.CreateServiceLevelObjectiveOutput, AWSError>;
26
26
  /**
27
- * Creates a service level objective (SLO), which can help you ensure that your critical business operations are meeting customer expectations. Use SLOs to set and track specific target levels for the reliability and availability of your applications and services. SLOs use service level indicators (SLIs) to calculate whether the application is performing at the level that you want. Create an SLO to set a target for a service or operation’s availability or latency. CloudWatch measures this target frequently you can find whether it has been breached. When you create an SLO, you set an attainment goal for it. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state. After you have created an SLO, you can retrieve error budget reports for it. An error budget is the number of periods or amount of time that your service can accumulate during an interval before your overall SLO budget health is breached and the SLO is considered to be unmet. for example, an SLO with a threshold that 99.95% of requests must be completed under 2000ms every month translates to an error budget of 21.9 minutes of downtime per month. When you call this operation, Application Signals creates the AWSServiceRoleForCloudWatchApplicationSignals service-linked role, if it doesn't already exist in your account. This service- linked role has the following permissions: xray:GetServiceGraph logs:StartQuery logs:GetQueryResults cloudwatch:GetMetricData cloudwatch:ListMetrics tag:GetResources autoscaling:DescribeAutoScalingGroups You can easily set SLO targets for your applications that are discovered by Application Signals, using critical metrics such as latency and availability. You can also set SLOs against any CloudWatch metric or math expression that produces a time series. For more information about SLOs, see Service level objectives (SLOs).
27
+ * Creates a service level objective (SLO), which can help you ensure that your critical business operations are meeting customer expectations. Use SLOs to set and track specific target levels for the reliability and availability of your applications and services. SLOs use service level indicators (SLIs) to calculate whether the application is performing at the level that you want. Create an SLO to set a target for a service or operation’s availability or latency. CloudWatch measures this target frequently you can find whether it has been breached. The target performance quality that is defined for an SLO is the attainment goal. You can set SLO targets for your applications that are discovered by Application Signals, using critical metrics such as latency and availability. You can also set SLOs against any CloudWatch metric or math expression that produces a time series. When you create an SLO, you specify whether it is a period-based SLO or a request-based SLO. Each type of SLO has a different way of evaluating your application's performance against its attainment goal. A period-based SLO uses defined periods of time within a specified total time interval. For each period of time, Application Signals determines whether the application met its goal. The attainment rate is calculated as the number of good periods/number of total periods. For example, for a period-based SLO, meeting an attainment goal of 99.9% means that within your interval, your application must meet its performance goal during at least 99.9% of the time periods. A request-based SLO doesn't use pre-defined periods of time. Instead, the SLO measures number of good requests/number of total requests during the interval. At any time, you can find the ratio of good requests to total requests for the interval up to the time stamp that you specify, and measure that ratio against the goal set in your SLO. After you have created an SLO, you can retrieve error budget reports for it. An error budget is the amount of time or amount of requests that your application can be non-compliant with the SLO's goal, and still have your application meet the goal. For a period-based SLO, the error budget starts at a number defined by the highest number of periods that can fail to meet the threshold, while still meeting the overall goal. The remaining error budget decreases with every failed period that is recorded. The error budget within one interval can never increase. For example, an SLO with a threshold that 99.95% of requests must be completed under 2000ms every month translates to an error budget of 21.9 minutes of downtime per month. For a request-based SLO, the remaining error budget is dynamic and can increase or decrease, depending on the ratio of good requests to total requests. For more information about SLOs, see Service level objectives (SLOs). When you perform a CreateServiceLevelObjective operation, Application Signals creates the AWSServiceRoleForCloudWatchApplicationSignals service-linked role, if it doesn't already exist in your account. This service- linked role has the following permissions: xray:GetServiceGraph logs:StartQuery logs:GetQueryResults cloudwatch:GetMetricData cloudwatch:ListMetrics tag:GetResources autoscaling:DescribeAutoScalingGroups
28
28
  */
29
29
  createServiceLevelObjective(callback?: (err: AWSError, data: ApplicationSignals.Types.CreateServiceLevelObjectiveOutput) => void): Request<ApplicationSignals.Types.CreateServiceLevelObjectiveOutput, AWSError>;
30
30
  /**
@@ -124,11 +124,11 @@ declare class ApplicationSignals extends Service {
124
124
  */
125
125
  untagResource(callback?: (err: AWSError, data: ApplicationSignals.Types.UntagResourceResponse) => void): Request<ApplicationSignals.Types.UntagResourceResponse, AWSError>;
126
126
  /**
127
- * Updates an existing service level objective (SLO). If you omit parameters, the previous values of those parameters are retained.
127
+ * Updates an existing service level objective (SLO). If you omit parameters, the previous values of those parameters are retained. You cannot change from a period-based SLO to a request-based SLO, or change from a request-based SLO to a period-based SLO.
128
128
  */
129
129
  updateServiceLevelObjective(params: ApplicationSignals.Types.UpdateServiceLevelObjectiveInput, callback?: (err: AWSError, data: ApplicationSignals.Types.UpdateServiceLevelObjectiveOutput) => void): Request<ApplicationSignals.Types.UpdateServiceLevelObjectiveOutput, AWSError>;
130
130
  /**
131
- * Updates an existing service level objective (SLO). If you omit parameters, the previous values of those parameters are retained.
131
+ * Updates an existing service level objective (SLO). If you omit parameters, the previous values of those parameters are retained. You cannot change from a period-based SLO to a request-based SLO, or change from a request-based SLO to a period-based SLO.
132
132
  */
133
133
  updateServiceLevelObjective(callback?: (err: AWSError, data: ApplicationSignals.Types.UpdateServiceLevelObjectiveOutput) => void): Request<ApplicationSignals.Types.UpdateServiceLevelObjectiveOutput, AWSError>;
134
134
  }
@@ -164,6 +164,7 @@ declare namespace ApplicationSignals {
164
164
  */
165
165
  Errors: ServiceLevelObjectiveBudgetReportErrors;
166
166
  }
167
+ export type BudgetRequestsRemaining = number;
167
168
  export type BudgetSecondsRemaining = number;
168
169
  export interface CalendarInterval {
169
170
  /**
@@ -190,11 +191,15 @@ declare namespace ApplicationSignals {
190
191
  */
191
192
  Description?: ServiceLevelObjectiveDescription;
192
193
  /**
193
- * A structure that contains information about what service and what performance metric that this SLO will monitor.
194
+ * If this SLO is a period-based SLO, this structure defines the information about what performance metric this SLO will monitor. You can't specify both RequestBasedSliConfig and SliConfig in the same operation.
194
195
  */
195
- SliConfig: ServiceLevelIndicatorConfig;
196
+ SliConfig?: ServiceLevelIndicatorConfig;
196
197
  /**
197
- * A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.
198
+ * If this SLO is a request-based SLO, this structure defines the information about what performance metric this SLO will monitor. You can't specify both RequestBasedSliConfig and SliConfig in the same operation.
199
+ */
200
+ RequestBasedSliConfig?: RequestBasedServiceLevelIndicatorConfig;
201
+ /**
202
+ * This structure contains the attributes that determine the goal of the SLO.
198
203
  */
199
204
  Goal?: Goal;
200
205
  /**
@@ -229,7 +234,8 @@ declare namespace ApplicationSignals {
229
234
  export type DimensionName = string;
230
235
  export type DimensionValue = string;
231
236
  export type Dimensions = Dimension[];
232
- export type DurationUnit = "DAY"|"MONTH"|string;
237
+ export type DurationUnit = "MINUTE"|"HOUR"|"DAY"|"MONTH"|string;
238
+ export type EvaluationType = "PeriodBased"|"RequestBased"|string;
233
239
  export interface GetServiceInput {
234
240
  /**
235
241
  * 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.
@@ -280,7 +286,7 @@ declare namespace ApplicationSignals {
280
286
  */
281
287
  Interval?: Interval;
282
288
  /**
283
- * The threshold that determines if the goal is being met. An attainment goal is the ratio of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state. If you omit this parameter, 99 is used to represent 99% as the attainment goal.
289
+ * The threshold that determines if the goal is being met. If this is a period-based SLO, the attainment goal is the percentage of good periods that meet the threshold requirements to the total periods within the interval. For example, an attainment goal of 99.9% means that within your interval, you are targeting 99.9% of the periods to be in healthy state. If this is a request-based SLO, the attainment goal is the percentage of requests that must be successful to meet the attainment goal. If you omit this parameter, 99 is used to represent 99% as the attainment goal.
284
290
  */
285
291
  AttainmentGoal?: AttainmentGoal;
286
292
  /**
@@ -543,7 +549,7 @@ declare namespace ApplicationSignals {
543
549
  */
544
550
  Period?: Period;
545
551
  /**
546
- * The ID of the account where this metric is located. If you are performing this operatiion in a monitoring account, use this to specify which source account to retrieve this metric from.
552
+ * The ID of the account where this metric is located. If you are performing this operation in a monitoring account, use this to specify which source account to retrieve this metric from.
547
553
  */
548
554
  AccountId?: AccountId;
549
555
  }
@@ -589,10 +595,92 @@ declare namespace ApplicationSignals {
589
595
  Unit?: StandardUnit;
590
596
  }
591
597
  export type MetricType = string;
598
+ export interface MonitoredRequestCountMetricDataQueries {
599
+ /**
600
+ * If you want to count "good requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "good requests" in this structure.
601
+ */
602
+ GoodCountMetric?: MetricDataQueries;
603
+ /**
604
+ * If you want to count "bad requests" to determine the percentage of successful requests for this request-based SLO, specify the metric to use as "bad requests" in this structure.
605
+ */
606
+ BadCountMetric?: MetricDataQueries;
607
+ }
592
608
  export type Namespace = string;
593
609
  export type NextToken = string;
594
610
  export type OperationName = string;
595
611
  export type Period = number;
612
+ export interface RequestBasedServiceLevelIndicator {
613
+ /**
614
+ * A structure that contains information about the metric that the SLO monitors.
615
+ */
616
+ RequestBasedSliMetric: RequestBasedServiceLevelIndicatorMetric;
617
+ /**
618
+ * This value is the threshold that the observed metric values of the SLI metric are compared to.
619
+ */
620
+ MetricThreshold?: ServiceLevelIndicatorMetricThreshold;
621
+ /**
622
+ * The arithmetic operation used when comparing the specified metric to the threshold.
623
+ */
624
+ ComparisonOperator?: ServiceLevelIndicatorComparisonOperator;
625
+ }
626
+ export interface RequestBasedServiceLevelIndicatorConfig {
627
+ /**
628
+ * Use this structure to specify the metric to be used for the SLO.
629
+ */
630
+ RequestBasedSliMetricConfig: RequestBasedServiceLevelIndicatorMetricConfig;
631
+ /**
632
+ * The value that the SLI metric is compared to. This parameter is required if this SLO is tracking the Latency metric.
633
+ */
634
+ MetricThreshold?: ServiceLevelIndicatorMetricThreshold;
635
+ /**
636
+ * The arithmetic operation to use when comparing the specified metric to the threshold. This parameter is required if this SLO is tracking the Latency metric.
637
+ */
638
+ ComparisonOperator?: ServiceLevelIndicatorComparisonOperator;
639
+ }
640
+ export interface RequestBasedServiceLevelIndicatorMetric {
641
+ /**
642
+ * This is a string-to-string map that contains information about the type of object that this SLO is related to. It can include the following fields. Type designates the type of object that this SLO is related to. ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource. Name specifies the name of the object. This is used only if the value of the Type field is Service, RemoteService, or AWS::Service. Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource. Environment specifies the location where this object is hosted, or what it belongs to.
643
+ */
644
+ KeyAttributes?: Attributes;
645
+ /**
646
+ * If the SLO monitors a specific operation of the service, this field displays that operation name.
647
+ */
648
+ OperationName?: OperationName;
649
+ /**
650
+ * If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.
651
+ */
652
+ MetricType?: ServiceLevelIndicatorMetricType;
653
+ /**
654
+ * This structure defines the metric that is used as the "total requests" number for a request-based SLO. The number observed for this metric is divided by the number of "good requests" or "bad requests" that is observed for the metric defined in MonitoredRequestCountMetric.
655
+ */
656
+ TotalRequestCountMetric: MetricDataQueries;
657
+ /**
658
+ * This structure defines the metric that is used as the "good request" or "bad request" value for a request-based SLO. This value observed for the metric defined in TotalRequestCountMetric is divided by the number found for MonitoredRequestCountMetric to determine the percentage of successful requests that this SLO tracks.
659
+ */
660
+ MonitoredRequestCountMetric: MonitoredRequestCountMetricDataQueries;
661
+ }
662
+ export interface RequestBasedServiceLevelIndicatorMetricConfig {
663
+ /**
664
+ * If this SLO is related to a metric collected by Application Signals, you must use this field to specify which service the SLO metric is related to. To do so, you must specify at least the Type, Name, and Environment attributes. This is a string-to-string map. It can include the following fields. Type designates the type of object this is. ResourceType specifies the type of the resource. This field is used only when the value of the Type field is Resource or AWS::Resource. Name specifies the name of the object. This is used only if the value of the Type field is Service, RemoteService, or AWS::Service. Identifier identifies the resource objects of this resource. This is used only if the value of the Type field is Resource or AWS::Resource. Environment specifies the location where this object is hosted, or what it belongs to.
665
+ */
666
+ KeyAttributes?: Attributes;
667
+ /**
668
+ * If the SLO is to monitor a specific operation of the service, use this field to specify the name of that operation.
669
+ */
670
+ OperationName?: OperationName;
671
+ /**
672
+ * If the SLO is to monitor either the LATENCY or AVAILABILITY metric that Application Signals collects, use this field to specify which of those metrics is used.
673
+ */
674
+ MetricType?: ServiceLevelIndicatorMetricType;
675
+ /**
676
+ * Use this structure to define the metric that you want to use as the "total requests" number for a request-based SLO. This result will be divided by the "good request" or "bad request" value defined in MonitoredRequestCountMetric.
677
+ */
678
+ TotalRequestCountMetric?: MetricDataQueries;
679
+ /**
680
+ * Use this structure to define the metric that you want to use as the "good request" or "bad request" value for a request-based SLO. This value observed for the metric defined in TotalRequestCountMetric will be divided by the number found for MonitoredRequestCountMetric to determine the percentage of successful requests that this SLO tracks.
681
+ */
682
+ MonitoredRequestCountMetric?: MonitoredRequestCountMetricDataQueries;
683
+ }
596
684
  export type ReturnData = boolean;
597
685
  export interface RollingInterval {
598
686
  /**
@@ -612,7 +700,7 @@ declare namespace ApplicationSignals {
612
700
  */
613
701
  KeyAttributes: Attributes;
614
702
  /**
615
- * This structure contains one or more string-to-string maps that help identify this service. It can include platform attributes, application attributes, and telemetry attributes. Platform attributes contain information the service's platform. PlatformType defines the hosted-in platform. EKS.Cluster is the name of the Amazon EKS cluster. K8s.Cluster is the name of the self-hosted Kubernetes cluster. K8s.Namespace is the name of the Kubernetes namespace in either Amazon EKS or Kubernetes clusters. K8s.Workload is the name of the Kubernetes workload in either Amazon EKS or Kubernetes clusters. K8s.Node is the name of the Kubernetes node in either Amazon EKS or Kubernetes clusters. K8s.Pod is the name of the Kubernetes pod in either Amazon EKS or Kubernetes clusters. EC2.AutoScalingGroup is the name of the Amazon EC2 Auto Scaling group. EC2.InstanceId is the ID of the Amazon EC2 instance. Host is the name of the host, for all platform types. Applciation attributes contain information about the application. AWS.Application is the application's name in Amazon Web Services Service Catalog AppRegistry. AWS.Application.ARN is the application's ARN in Amazon Web Services Service Catalog AppRegistry. Telemetry attributes contain telemetry information. Telemetry.SDK is the fingerprint of the OpenTelemetry SDK version for instrumented services. Telemetry.Agent is the fingerprint of the agent used to collect and send telemetry data. Telemetry.Source Specifies the point of application where the telemetry was collected or specifies what was used for the source of telemetry data.
703
+ * This structure contains one or more string-to-string maps that help identify this service. It can include platform attributes, application attributes, and telemetry attributes. Platform attributes contain information the service's platform. PlatformType defines the hosted-in platform. EKS.Cluster is the name of the Amazon EKS cluster. K8s.Cluster is the name of the self-hosted Kubernetes cluster. K8s.Namespace is the name of the Kubernetes namespace in either Amazon EKS or Kubernetes clusters. K8s.Workload is the name of the Kubernetes workload in either Amazon EKS or Kubernetes clusters. K8s.Node is the name of the Kubernetes node in either Amazon EKS or Kubernetes clusters. K8s.Pod is the name of the Kubernetes pod in either Amazon EKS or Kubernetes clusters. EC2.AutoScalingGroup is the name of the Amazon EC2 Auto Scaling group. EC2.InstanceId is the ID of the Amazon EC2 instance. Host is the name of the host, for all platform types. Application attributes contain information about the application. AWS.Application is the application's name in Amazon Web Services Service Catalog AppRegistry. AWS.Application.ARN is the application's ARN in Amazon Web Services Service Catalog AppRegistry. Telemetry attributes contain telemetry information. Telemetry.SDK is the fingerprint of the OpenTelemetry SDK version for instrumented services. Telemetry.Agent is the fingerprint of the agent used to collect and send telemetry data. Telemetry.Source Specifies the point of application where the telemetry was collected or specifies what was used for the source of telemetry data.
616
704
  */
617
705
  AttributeMaps?: AttributeMaps;
618
706
  /**
@@ -683,7 +771,7 @@ declare namespace ApplicationSignals {
683
771
  */
684
772
  SliMetricConfig: ServiceLevelIndicatorMetricConfig;
685
773
  /**
686
- * The value that the SLI metric is compared to.
774
+ * This parameter is used only when a request-based SLO tracks the Latency metric. Specify the threshold value that the observed Latency metric values are to be compared to.
687
775
  */
688
776
  MetricThreshold: ServiceLevelIndicatorMetricThreshold;
689
777
  /**
@@ -760,9 +848,17 @@ declare namespace ApplicationSignals {
760
848
  */
761
849
  LastUpdatedTime: Timestamp;
762
850
  /**
763
- * A structure containing information about the performance metric that this SLO monitors.
851
+ * A structure containing information about the performance metric that this SLO monitors, if this is a period-based SLO.
852
+ */
853
+ Sli?: ServiceLevelIndicator;
854
+ /**
855
+ * A structure containing information about the performance metric that this SLO monitors, if this is a request-based SLO.
856
+ */
857
+ RequestBasedSli?: RequestBasedServiceLevelIndicator;
858
+ /**
859
+ * Displays whether this is a period-based SLO or a request-based SLO.
764
860
  */
765
- Sli: ServiceLevelIndicator;
861
+ EvaluationType?: EvaluationType;
766
862
  Goal: Goal;
767
863
  }
768
864
  export type ServiceLevelObjectiveArn = string;
@@ -776,25 +872,38 @@ declare namespace ApplicationSignals {
776
872
  */
777
873
  Name: ServiceLevelObjectiveName;
778
874
  /**
779
- * The status of this SLO, as it relates to the error budget for the entire time interval. OK means that the SLO had remaining budget above the warning threshold, as of the time that you specified in TimeStamp. WARNING means that the SLO's remaining budget was below the warning threshold, as of the time that you specified in TimeStamp. BREACHED means that the SLO's budget was exhausted, as of the time that you specified in TimeStamp. INSUFFICIENT_DATA means that the specifed start and end times were before the SLO was created, or that attainment data is missing.
875
+ * Displays whether this budget report is for a period-based SLO or a request-based SLO.
876
+ */
877
+ EvaluationType?: EvaluationType;
878
+ /**
879
+ * The status of this SLO, as it relates to the error budget for the entire time interval. OK means that the SLO had remaining budget above the warning threshold, as of the time that you specified in TimeStamp. WARNING means that the SLO's remaining budget was below the warning threshold, as of the time that you specified in TimeStamp. BREACHED means that the SLO's budget was exhausted, as of the time that you specified in TimeStamp. INSUFFICIENT_DATA means that the specified start and end times were before the SLO was created, or that attainment data is missing.
780
880
  */
781
881
  BudgetStatus: ServiceLevelObjectiveBudgetStatus;
782
882
  /**
783
- * A number between 0 and 100 that represents the percentage of time periods that the service has attained the SLO's attainment goal, as of the time of the request.
883
+ * A number between 0 and 100 that represents the success percentage of your application compared to the goal set by the SLO. If this is a period-based SLO, the number is the percentage of time periods that the service has attained the SLO's attainment goal, as of the time of the request. If this is a request-based SLO, the number is the number of successful requests divided by the number of total requests, multiplied by 100, during the time range that you specified in your request.
784
884
  */
785
885
  Attainment?: Attainment;
786
886
  /**
787
- * The total number of seconds in the error budget for the interval.
887
+ * The total number of seconds in the error budget for the interval. This field is included only if the SLO is a period-based SLO.
788
888
  */
789
889
  TotalBudgetSeconds?: TotalBudgetSeconds;
790
890
  /**
791
- * The budget amount remaining before the SLO status becomes BREACHING, at the time specified in the Timestemp parameter of the request. If this value is negative, then the SLO is already in BREACHING status.
891
+ * The budget amount remaining before the SLO status becomes BREACHING, at the time specified in the Timestemp parameter of the request. If this value is negative, then the SLO is already in BREACHING status. This field is included only if the SLO is a period-based SLO.
792
892
  */
793
893
  BudgetSecondsRemaining?: BudgetSecondsRemaining;
894
+ /**
895
+ * This field is displayed only for request-based SLOs. It displays the total number of failed requests that can be tolerated during the time range between the start of the interval and the time stamp supplied in the budget report request. It is based on the total number of requests that occurred, and the percentage specified in the attainment goal. If the number of failed requests matches this number or is higher, then this SLO is currently breaching. This number can go up and down between reports with different time stamps, based on both how many total requests occur.
896
+ */
897
+ TotalBudgetRequests?: TotalBudgetRequests;
898
+ /**
899
+ * This field is displayed only for request-based SLOs. It displays the number of failed requests that can be tolerated before any more successful requests occur, and still have the application meet its SLO goal. This number can go up and down between different reports, based on both how many successful requests and how many failed requests occur in that time.
900
+ */
901
+ BudgetRequestsRemaining?: BudgetRequestsRemaining;
794
902
  /**
795
903
  * A structure that contains information about the performance metric that this SLO monitors.
796
904
  */
797
905
  Sli?: ServiceLevelIndicator;
906
+ RequestBasedSli?: RequestBasedServiceLevelIndicator;
798
907
  Goal?: Goal;
799
908
  }
800
909
  export interface ServiceLevelObjectiveBudgetReportError {
@@ -865,7 +974,7 @@ declare namespace ApplicationSignals {
865
974
  */
866
975
  KeyAttributes: Attributes;
867
976
  /**
868
- * This structure contains one or more string-to-string maps that help identify this service. It can include platform attributes, application attributes, and telemetry attributes. Platform attributes contain information the service's platform. PlatformType defines the hosted-in platform. EKS.Cluster is the name of the Amazon EKS cluster. K8s.Cluster is the name of the self-hosted Kubernetes cluster. K8s.Namespace is the name of the Kubernetes namespace in either Amazon EKS or Kubernetes clusters. K8s.Workload is the name of the Kubernetes workload in either Amazon EKS or Kubernetes clusters. K8s.Node is the name of the Kubernetes node in either Amazon EKS or Kubernetes clusters. K8s.Pod is the name of the Kubernetes pod in either Amazon EKS or Kubernetes clusters. EC2.AutoScalingGroup is the name of the Amazon EC2 Auto Scaling group. EC2.InstanceId is the ID of the Amazon EC2 instance. Host is the name of the host, for all platform types. Applciation attributes contain information about the application. AWS.Application is the application's name in Amazon Web Services Service Catalog AppRegistry. AWS.Application.ARN is the application's ARN in Amazon Web Services Service Catalog AppRegistry. Telemetry attributes contain telemetry information. Telemetry.SDK is the fingerprint of the OpenTelemetry SDK version for instrumented services. Telemetry.Agent is the fingerprint of the agent used to collect and send telemetry data. Telemetry.Source Specifies the point of application where the telemetry was collected or specifies what was used for the source of telemetry data.
977
+ * This structure contains one or more string-to-string maps that help identify this service. It can include platform attributes, application attributes, and telemetry attributes. Platform attributes contain information the service's platform. PlatformType defines the hosted-in platform. EKS.Cluster is the name of the Amazon EKS cluster. K8s.Cluster is the name of the self-hosted Kubernetes cluster. K8s.Namespace is the name of the Kubernetes namespace in either Amazon EKS or Kubernetes clusters. K8s.Workload is the name of the Kubernetes workload in either Amazon EKS or Kubernetes clusters. K8s.Node is the name of the Kubernetes node in either Amazon EKS or Kubernetes clusters. K8s.Pod is the name of the Kubernetes pod in either Amazon EKS or Kubernetes clusters. EC2.AutoScalingGroup is the name of the Amazon EC2 Auto Scaling group. EC2.InstanceId is the ID of the Amazon EC2 instance. Host is the name of the host, for all platform types. Application attributes contain information about the application. AWS.Application is the application's name in Amazon Web Services Service Catalog AppRegistry. AWS.Application.ARN is the application's ARN in Amazon Web Services Service Catalog AppRegistry. Telemetry attributes contain telemetry information. Telemetry.SDK is the fingerprint of the OpenTelemetry SDK version for instrumented services. Telemetry.Agent is the fingerprint of the agent used to collect and send telemetry data. Telemetry.Source Specifies the point of application where the telemetry was collected or specifies what was used for the source of telemetry data.
869
978
  */
870
979
  AttributeMaps?: AttributeMaps;
871
980
  /**
@@ -907,6 +1016,7 @@ declare namespace ApplicationSignals {
907
1016
  }
908
1017
  export type TagValue = string;
909
1018
  export type Timestamp = Date;
1019
+ export type TotalBudgetRequests = number;
910
1020
  export type TotalBudgetSeconds = number;
911
1021
  export interface UntagResourceRequest {
912
1022
  /**
@@ -930,9 +1040,13 @@ declare namespace ApplicationSignals {
930
1040
  */
931
1041
  Description?: ServiceLevelObjectiveDescription;
932
1042
  /**
933
- * A structure that contains information about what performance metric this SLO will monitor.
1043
+ * If this SLO is a period-based SLO, this structure defines the information about what performance metric this SLO will monitor.
934
1044
  */
935
1045
  SliConfig?: ServiceLevelIndicatorConfig;
1046
+ /**
1047
+ * If this SLO is a request-based SLO, this structure defines the information about what performance metric this SLO will monitor. You can't specify both SliConfig and RequestBasedSliConfig in the same operation.
1048
+ */
1049
+ RequestBasedSliConfig?: RequestBasedServiceLevelIndicatorConfig;
936
1050
  /**
937
1051
  * A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.
938
1052
  */
@@ -1552,7 +1552,7 @@ declare namespace AppSync {
1552
1552
  */
1553
1553
  eventBusArn: String;
1554
1554
  }
1555
- export type FieldLogLevel = "NONE"|"ERROR"|"ALL"|string;
1555
+ export type FieldLogLevel = "NONE"|"ERROR"|"ALL"|"INFO"|"DEBUG"|string;
1556
1556
  export interface FlushApiCacheRequest {
1557
1557
  /**
1558
1558
  * The API ID.
@@ -2235,7 +2235,7 @@ declare namespace AppSync {
2235
2235
  }
2236
2236
  export interface LogConfig {
2237
2237
  /**
2238
- * The field logging level. Values can be NONE, ERROR, or ALL. NONE: No field-level logs are captured. ERROR: Logs the following information only for the fields that are in error: The error section in the server response. Field-level errors. The generated request/response functions that got resolved for error fields. ALL: The following information is logged for all fields in the query: Field-level tracing information. The generated request/response functions that got resolved for each field.
2238
+ * The field logging level. Values can be NONE, ERROR, INFO, DEBUG, or ALL. NONE: No field-level logs are captured. ERROR: Logs the following information only for the fields that are in the error category: The error section in the server response. Field-level errors. The generated request/response functions that got resolved for error fields. INFO: Logs the following information only for the fields that are in the info and error categories: Info-level messages. The user messages sent through $util.log.info and console.log. Field-level tracing and mapping logs are not shown. DEBUG: Logs the following information only for the fields that are in the debug, info, and error categories: Debug-level messages. The user messages sent through $util.log.info, $util.log.debug, console.log, and console.debug. Field-level tracing and mapping logs are not shown. ALL: The following information is logged for all fields in the query: Field-level tracing information. The generated request/response functions that were resolved for each field.
2239
2239
  */
2240
2240
  fieldLogLevel: FieldLogLevel;
2241
2241
  /**
@@ -20,11 +20,11 @@ declare class BedrockAgent extends Service {
20
20
  */
21
21
  associateAgentKnowledgeBase(callback?: (err: AWSError, data: BedrockAgent.Types.AssociateAgentKnowledgeBaseResponse) => void): Request<BedrockAgent.Types.AssociateAgentKnowledgeBaseResponse, AWSError>;
22
22
  /**
23
- * Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers. Specify the following fields for security purposes. agentResourceRoleArn – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent. (Optional) customerEncryptionKeyArn – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent. (Optional) idleSessionTTLinSeconds – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeAgent request begins a new session. To enable your agent to retain conversational context across multiple sessions, include a memoryConfiguration object. For more information, see Configure memory. To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration object. For more information, see Advanced prompts. If you agent fails to be created, the response returns a list of failureReasons alongside a list of recommendedActions for you to troubleshoot.
23
+ * Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers. Specify the following fields for security purposes. agentResourceRoleArn – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent. (Optional) customerEncryptionKeyArn – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent. (Optional) idleSessionTTLinSeconds – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeAgent request begins a new session. To enable your agent to retain conversational context across multiple sessions, include a memoryConfiguration object. For more information, see Configure memory. To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration object. For more information, see Advanced prompts. If your agent fails to be created, the response returns a list of failureReasons alongside a list of recommendedActions for you to troubleshoot. The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.
24
24
  */
25
25
  createAgent(params: BedrockAgent.Types.CreateAgentRequest, callback?: (err: AWSError, data: BedrockAgent.Types.CreateAgentResponse) => void): Request<BedrockAgent.Types.CreateAgentResponse, AWSError>;
26
26
  /**
27
- * Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers. Specify the following fields for security purposes. agentResourceRoleArn – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent. (Optional) customerEncryptionKeyArn – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent. (Optional) idleSessionTTLinSeconds – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeAgent request begins a new session. To enable your agent to retain conversational context across multiple sessions, include a memoryConfiguration object. For more information, see Configure memory. To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration object. For more information, see Advanced prompts. If you agent fails to be created, the response returns a list of failureReasons alongside a list of recommendedActions for you to troubleshoot.
27
+ * Creates an agent that orchestrates interactions between foundation models, data sources, software applications, user conversations, and APIs to carry out tasks to help customers. Specify the following fields for security purposes. agentResourceRoleArn – The Amazon Resource Name (ARN) of the role with permissions to invoke API operations on an agent. (Optional) customerEncryptionKeyArn – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent. (Optional) idleSessionTTLinSeconds – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeAgent request begins a new session. To enable your agent to retain conversational context across multiple sessions, include a memoryConfiguration object. For more information, see Configure memory. To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration object. For more information, see Advanced prompts. If your agent fails to be created, the response returns a list of failureReasons alongside a list of recommendedActions for you to troubleshoot. The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.
28
28
  */
29
29
  createAgent(callback?: (err: AWSError, data: BedrockAgent.Types.CreateAgentResponse) => void): Request<BedrockAgent.Types.CreateAgentResponse, AWSError>;
30
30
  /**
@@ -3621,6 +3621,19 @@ declare namespace BedrockAgent {
3621
3621
  }
3622
3622
  export type PromptInputVariableName = string;
3623
3623
  export type PromptInputVariablesList = PromptInputVariable[];
3624
+ export interface PromptMetadataEntry {
3625
+ /**
3626
+ * The key of a metadata tag for a prompt variant.
3627
+ */
3628
+ key: PromptMetadataKey;
3629
+ /**
3630
+ * The value of a metadata tag for a prompt variant.
3631
+ */
3632
+ value: PromptMetadataValue;
3633
+ }
3634
+ export type PromptMetadataKey = string;
3635
+ export type PromptMetadataList = PromptMetadataEntry[];
3636
+ export type PromptMetadataValue = string;
3624
3637
  export type PromptModelIdentifier = string;
3625
3638
  export interface PromptModelInferenceConfiguration {
3626
3639
  /**
@@ -3700,6 +3713,10 @@ declare namespace BedrockAgent {
3700
3713
  * Contains inference configurations for the prompt variant.
3701
3714
  */
3702
3715
  inferenceConfiguration?: PromptInferenceConfiguration;
3716
+ /**
3717
+ * An array of objects, each containing a key-value pair that defines a metadata tag and value to attach to a prompt variant. For more information, see Create a prompt using Prompt management.
3718
+ */
3719
+ metadata?: PromptMetadataList;
3703
3720
  /**
3704
3721
  * The unique identifier of the model with which to run inference on the prompt.
3705
3722
  */