From 9c4e3b5a3821a19f2ae7abfc553c08347aa3d92c Mon Sep 17 00:00:00 2001 From: AWS SDK For Ruby Date: Thu, 5 Sep 2024 18:11:24 +0000 Subject: [PATCH] Updated API models and rebuilt service gems. --- .../application-signals/2024-04-15/api-2.json | 81 ++- .../2024-04-15/docs-2.json | 108 +++- apis/codepipeline/2015-07-09/docs-2.json | 12 +- apis/connect/2017-08-08/api-2.json | 12 +- apis/gamelift/2015-10-01/api-2.json | 4 +- apis/gamelift/2015-10-01/docs-2.json | 48 +- apis/kinesisanalyticsv2/2018-05-23/api-2.json | 3 +- apis/sagemaker/2017-07-24/api-2.json | 59 +- apis/sagemaker/2017-07-24/docs-2.json | 50 +- gems/aws-sdk-applicationsignals/CHANGELOG.md | 5 + gems/aws-sdk-applicationsignals/VERSION | 2 +- .../lib/aws-sdk-applicationsignals.rb | 2 +- .../lib/aws-sdk-applicationsignals/client.rb | 532 ++++++++++++++++-- .../aws-sdk-applicationsignals/client_api.rb | 52 +- .../lib/aws-sdk-applicationsignals/types.rb | 366 +++++++++++- .../aws-sdk-applicationsignals/sig/client.rbs | 182 +++++- gems/aws-sdk-applicationsignals/sig/types.rbs | 58 +- gems/aws-sdk-codepipeline/CHANGELOG.md | 5 + gems/aws-sdk-codepipeline/VERSION | 2 +- .../lib/aws-sdk-codepipeline.rb | 2 +- .../lib/aws-sdk-codepipeline/client.rb | 19 +- .../lib/aws-sdk-codepipeline/types.rb | 41 +- gems/aws-sdk-connect/CHANGELOG.md | 5 + gems/aws-sdk-connect/VERSION | 2 +- gems/aws-sdk-connect/lib/aws-sdk-connect.rb | 2 +- .../lib/aws-sdk-connect/client.rb | 16 +- gems/aws-sdk-connect/sig/client.rbs | 8 +- gems/aws-sdk-connect/sig/types.rbs | 14 +- gems/aws-sdk-gamelift/CHANGELOG.md | 5 + gems/aws-sdk-gamelift/VERSION | 2 +- gems/aws-sdk-gamelift/lib/aws-sdk-gamelift.rb | 2 +- .../lib/aws-sdk-gamelift/client.rb | 93 ++- .../lib/aws-sdk-gamelift/types.rb | 217 +++++-- gems/aws-sdk-gamelift/sig/types.rbs | 2 +- gems/aws-sdk-kinesisanalyticsv2/CHANGELOG.md | 5 + gems/aws-sdk-kinesisanalyticsv2/VERSION | 2 +- .../lib/aws-sdk-kinesisanalyticsv2.rb | 2 +- .../lib/aws-sdk-kinesisanalyticsv2/client.rb | 22 +- .../aws-sdk-kinesisanalyticsv2/sig/client.rbs | 4 +- gems/aws-sdk-kinesisanalyticsv2/sig/types.rbs | 10 +- gems/aws-sdk-sagemaker/CHANGELOG.md | 5 + gems/aws-sdk-sagemaker/VERSION | 2 +- .../lib/aws-sdk-sagemaker.rb | 2 +- .../lib/aws-sdk-sagemaker/client.rb | 128 ++++- .../lib/aws-sdk-sagemaker/client_api.rb | 30 +- .../lib/aws-sdk-sagemaker/types.rb | 108 +++- gems/aws-sdk-sagemaker/sig/client.rbs | 112 +++- gems/aws-sdk-sagemaker/sig/types.rbs | 27 + 48 files changed, 2164 insertions(+), 308 deletions(-) diff --git a/apis/application-signals/2024-04-15/api-2.json b/apis/application-signals/2024-04-15/api-2.json index 25aed074569..39e83c36dd0 100644 --- a/apis/application-signals/2024-04-15/api-2.json +++ b/apis/application-signals/2024-04-15/api-2.json @@ -303,6 +303,10 @@ "Errors":{"shape":"ServiceLevelObjectiveBudgetReportErrors"} } }, + "BudgetRequestsRemaining":{ + "type":"integer", + "box":true + }, "BudgetSecondsRemaining":{ "type":"integer", "box":true @@ -339,14 +343,12 @@ }, "CreateServiceLevelObjectiveInput":{ "type":"structure", - "required":[ - "Name", - "SliConfig" - ], + "required":["Name"], "members":{ "Name":{"shape":"ServiceLevelObjectiveName"}, "Description":{"shape":"ServiceLevelObjectiveDescription"}, "SliConfig":{"shape":"ServiceLevelIndicatorConfig"}, + "RequestBasedSliConfig":{"shape":"RequestBasedServiceLevelIndicatorConfig"}, "Goal":{"shape":"Goal"}, "Tags":{"shape":"TagList"} } @@ -404,10 +406,19 @@ "DurationUnit":{ "type":"string", "enum":[ + "MINUTE", + "HOUR", "DAY", "MONTH" ] }, + "EvaluationType":{ + "type":"string", + "enum":[ + "PeriodBased", + "RequestBased" + ] + }, "FaultDescription":{"type":"string"}, "GetServiceInput":{ "type":"structure", @@ -822,6 +833,14 @@ "type":"string", "pattern":"[A-Za-z0-9 -]+" }, + "MonitoredRequestCountMetricDataQueries":{ + "type":"structure", + "members":{ + "GoodCountMetric":{"shape":"MetricDataQueries"}, + "BadCountMetric":{"shape":"MetricDataQueries"} + }, + "union":true + }, "Namespace":{ "type":"string", "max":255, @@ -839,6 +858,48 @@ "box":true, "min":1 }, + "RequestBasedServiceLevelIndicator":{ + "type":"structure", + "required":["RequestBasedSliMetric"], + "members":{ + "RequestBasedSliMetric":{"shape":"RequestBasedServiceLevelIndicatorMetric"}, + "MetricThreshold":{"shape":"ServiceLevelIndicatorMetricThreshold"}, + "ComparisonOperator":{"shape":"ServiceLevelIndicatorComparisonOperator"} + } + }, + "RequestBasedServiceLevelIndicatorConfig":{ + "type":"structure", + "required":["RequestBasedSliMetricConfig"], + "members":{ + "RequestBasedSliMetricConfig":{"shape":"RequestBasedServiceLevelIndicatorMetricConfig"}, + "MetricThreshold":{"shape":"ServiceLevelIndicatorMetricThreshold"}, + "ComparisonOperator":{"shape":"ServiceLevelIndicatorComparisonOperator"} + } + }, + "RequestBasedServiceLevelIndicatorMetric":{ + "type":"structure", + "required":[ + "TotalRequestCountMetric", + "MonitoredRequestCountMetric" + ], + "members":{ + "KeyAttributes":{"shape":"Attributes"}, + "OperationName":{"shape":"OperationName"}, + "MetricType":{"shape":"ServiceLevelIndicatorMetricType"}, + "TotalRequestCountMetric":{"shape":"MetricDataQueries"}, + "MonitoredRequestCountMetric":{"shape":"MonitoredRequestCountMetricDataQueries"} + } + }, + "RequestBasedServiceLevelIndicatorMetricConfig":{ + "type":"structure", + "members":{ + "KeyAttributes":{"shape":"Attributes"}, + "OperationName":{"shape":"OperationName"}, + "MetricType":{"shape":"ServiceLevelIndicatorMetricType"}, + "TotalRequestCountMetric":{"shape":"MetricDataQueries"}, + "MonitoredRequestCountMetric":{"shape":"MonitoredRequestCountMetricDataQueries"} + } + }, "ResourceId":{"type":"string"}, "ResourceNotFoundException":{ "type":"structure", @@ -1019,7 +1080,6 @@ "Name", "CreatedTime", "LastUpdatedTime", - "Sli", "Goal" ], "members":{ @@ -1029,6 +1089,8 @@ "CreatedTime":{"shape":"Timestamp"}, "LastUpdatedTime":{"shape":"Timestamp"}, "Sli":{"shape":"ServiceLevelIndicator"}, + "RequestBasedSli":{"shape":"RequestBasedServiceLevelIndicator"}, + "EvaluationType":{"shape":"EvaluationType"}, "Goal":{"shape":"Goal"} } }, @@ -1048,11 +1110,15 @@ "members":{ "Arn":{"shape":"ServiceLevelObjectiveArn"}, "Name":{"shape":"ServiceLevelObjectiveName"}, + "EvaluationType":{"shape":"EvaluationType"}, "BudgetStatus":{"shape":"ServiceLevelObjectiveBudgetStatus"}, "Attainment":{"shape":"Attainment"}, "TotalBudgetSeconds":{"shape":"TotalBudgetSeconds"}, "BudgetSecondsRemaining":{"shape":"BudgetSecondsRemaining"}, + "TotalBudgetRequests":{"shape":"TotalBudgetRequests"}, + "BudgetRequestsRemaining":{"shape":"BudgetRequestsRemaining"}, "Sli":{"shape":"ServiceLevelIndicator"}, + "RequestBasedSli":{"shape":"RequestBasedServiceLevelIndicator"}, "Goal":{"shape":"Goal"} } }, @@ -1282,6 +1348,10 @@ "exception":true }, "Timestamp":{"type":"timestamp"}, + "TotalBudgetRequests":{ + "type":"integer", + "box":true + }, "TotalBudgetSeconds":{ "type":"integer", "box":true @@ -1313,6 +1383,7 @@ }, "Description":{"shape":"ServiceLevelObjectiveDescription"}, "SliConfig":{"shape":"ServiceLevelIndicatorConfig"}, + "RequestBasedSliConfig":{"shape":"RequestBasedServiceLevelIndicatorConfig"}, "Goal":{"shape":"Goal"} } }, diff --git a/apis/application-signals/2024-04-15/docs-2.json b/apis/application-signals/2024-04-15/docs-2.json index 28ebe0a04ec..e644dde4ecb 100644 --- a/apis/application-signals/2024-04-15/docs-2.json +++ b/apis/application-signals/2024-04-15/docs-2.json @@ -2,8 +2,8 @@ "version": "2.0", "service": "

Use CloudWatch Application Signals for comprehensive observability of your cloud-based applications. It enables real-time service health dashboards and helps you track long-term performance trends against your business goals. The application-centric view provides you with unified visibility across your applications, services, and dependencies, so you can proactively monitor and efficiently triage any issues that may arise, ensuring optimal customer experience.

Application Signals provides the following benefits:

Application Signals works with CloudWatch RUM, CloudWatch Synthetics canaries, and Amazon Web Services Service Catalog AppRegistry, to display your client pages, Synthetics canaries, and application names within dashboards and maps.

", "operations": { - "BatchGetServiceLevelObjectiveBudgetReport": "

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.

", - "CreateServiceLevelObjective": "

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:

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).

", + "BatchGetServiceLevelObjectiveBudgetReport": "

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.

", + "CreateServiceLevelObjective": "

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.

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 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:

", "DeleteServiceLevelObjective": "

Deletes the specified service level objective.

", "GetService": "

Returns information about a service discovered by Application Signals.

", "GetServiceLevelObjective": "

Returns information about one SLO created in the account.

", @@ -16,7 +16,7 @@ "StartDiscovery": "

Enables this Amazon Web Services account to be able to use CloudWatch Application Signals by creating the AWSServiceRoleForCloudWatchApplicationSignals service-linked role. This service- linked role has the following permissions:

After completing this step, you still need to instrument your Java and Python applications to send data to Application Signals. For more information, see Enabling Application Signals.

", "TagResource": "

Assigns one or more tags (key-value pairs) to the specified CloudWatch resource, such as a service level objective.

Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.

Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.

You can use the TagResource action with an alarm that already has tags. If you specify a new tag key for the alarm, this tag is appended to the list of tags associated with the alarm. If you specify a tag key that is already associated with the alarm, the new tag value that you specify replaces the previous value for that tag.

You can associate as many as 50 tags with a CloudWatch resource.

", "UntagResource": "

Removes one or more tags from the specified resource.

", - "UpdateServiceLevelObjective": "

Updates an existing service level objective (SLO). If you omit parameters, the previous values of those parameters are retained.

" + "UpdateServiceLevelObjective": "

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.

" }, "shapes": { "AccessDeniedException": { @@ -27,7 +27,7 @@ "AccountId": { "base": null, "refs": { - "MetricDataQuery$AccountId": "

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.

" + "MetricDataQuery$AccountId": "

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.

" } }, "AmazonResourceName": { @@ -41,13 +41,13 @@ "Attainment": { "base": null, "refs": { - "ServiceLevelObjectiveBudgetReport$Attainment": "

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.

" + "ServiceLevelObjectiveBudgetReport$Attainment": "

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.

" } }, "AttainmentGoal": { "base": null, "refs": { - "Goal$AttainmentGoal": "

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.

" + "Goal$AttainmentGoal": "

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.

" } }, "AttributeMap": { @@ -59,8 +59,8 @@ "AttributeMaps": { "base": null, "refs": { - "Service$AttributeMaps": "

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.

Applciation attributes contain information about the application.

Telemetry attributes contain telemetry information.

", - "ServiceSummary$AttributeMaps": "

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.

Applciation attributes contain information about the application.

Telemetry attributes contain telemetry information.

" + "Service$AttributeMaps": "

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.

Application attributes contain information about the application.

Telemetry attributes contain telemetry information.

", + "ServiceSummary$AttributeMaps": "

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.

Application attributes contain information about the application.

Telemetry attributes contain telemetry information.

" } }, "Attributes": { @@ -72,6 +72,8 @@ "ListServiceLevelObjectivesInput$KeyAttributes": "

You can use this optional field to specify which services you want to retrieve SLO information for.

This is a string-to-string map. It can include the following fields.

", "ListServiceOperationsInput$KeyAttributes": "

Use this field to specify which service you want to retrieve information for. You must specify at least the Type, Name, and Environment attributes.

This is a string-to-string map. It can include the following fields.

", "LogGroupReferences$member": null, + "RequestBasedServiceLevelIndicatorMetric$KeyAttributes": "

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.

", + "RequestBasedServiceLevelIndicatorMetricConfig$KeyAttributes": "

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.

", "Service$KeyAttributes": "

This is a string-to-string map. It can include the following fields.

", "ServiceDependency$DependencyKeyAttributes": "

This is a string-to-string map. It can include the following fields.

", "ServiceDependent$DependentKeyAttributes": "

This is a string-to-string map. It can include the following fields.

", @@ -91,10 +93,16 @@ "refs": { } }, + "BudgetRequestsRemaining": { + "base": null, + "refs": { + "ServiceLevelObjectiveBudgetReport$BudgetRequestsRemaining": "

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.

" + } + }, "BudgetSecondsRemaining": { "base": null, "refs": { - "ServiceLevelObjectiveBudgetReport$BudgetSecondsRemaining": "

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.

" + "ServiceLevelObjectiveBudgetReport$BudgetSecondsRemaining": "

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.

" } }, "CalendarInterval": { @@ -166,6 +174,13 @@ "RollingInterval$DurationUnit": "

Specifies the rolling interval unit.

" } }, + "EvaluationType": { + "base": null, + "refs": { + "ServiceLevelObjective$EvaluationType": "

Displays whether this is a period-based SLO or a request-based SLO.

", + "ServiceLevelObjectiveBudgetReport$EvaluationType": "

Displays whether this budget report is for a period-based SLO or a request-based SLO.

" + } + }, "FaultDescription": { "base": null, "refs": { @@ -195,7 +210,7 @@ "Goal": { "base": "

This structure contains the attributes that determine the goal of an SLO. This includes the time period for evaluation and the attainment threshold.

", "refs": { - "CreateServiceLevelObjectiveInput$Goal": "

A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.

", + "CreateServiceLevelObjectiveInput$Goal": "

This structure contains the attributes that determine the goal of the SLO.

", "ServiceLevelObjective$Goal": null, "ServiceLevelObjectiveBudgetReport$Goal": null, "UpdateServiceLevelObjectiveInput$Goal": "

A structure that contains the attributes that determine the goal of the SLO. This includes the time period for evaluation and the attainment threshold.

" @@ -325,6 +340,10 @@ "MetricDataQueries": { "base": null, "refs": { + "MonitoredRequestCountMetricDataQueries$GoodCountMetric": "

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.

", + "MonitoredRequestCountMetricDataQueries$BadCountMetric": "

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.

", + "RequestBasedServiceLevelIndicatorMetric$TotalRequestCountMetric": "

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.

", + "RequestBasedServiceLevelIndicatorMetricConfig$TotalRequestCountMetric": "

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.

", "ServiceLevelIndicatorMetric$MetricDataQueries": "

If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, this structure includes the information about that metric or expression.

", "ServiceLevelIndicatorMetricConfig$MetricDataQueries": "

If this SLO monitors a CloudWatch metric or the result of a CloudWatch metric math expression, use this structure to specify that metric or expression.

" } @@ -388,6 +407,13 @@ "MetricReference$MetricType": "

Used to display the appropriate statistics in the CloudWatch console.

" } }, + "MonitoredRequestCountMetricDataQueries": { + "base": "

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.

", + "refs": { + "RequestBasedServiceLevelIndicatorMetric$MonitoredRequestCountMetric": "

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.

", + "RequestBasedServiceLevelIndicatorMetricConfig$MonitoredRequestCountMetric": "

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.

" + } + }, "Namespace": { "base": null, "refs": { @@ -414,6 +440,8 @@ "base": null, "refs": { "ListServiceLevelObjectivesInput$OperationName": "

The name of the operation that this SLO is associated with.

", + "RequestBasedServiceLevelIndicatorMetric$OperationName": "

If the SLO monitors a specific operation of the service, this field displays that operation name.

", + "RequestBasedServiceLevelIndicatorMetricConfig$OperationName": "

If the SLO is to monitor a specific operation of the service, use this field to specify the name of that operation.

", "ServiceDependency$OperationName": "

The name of the operation in this service that calls the dependency.

", "ServiceDependency$DependencyOperationName": "

The name of the called operation in the dependency.

", "ServiceDependent$OperationName": "

If the invoked entity is an operation on an entity, the name of that dependent operation is displayed here.

", @@ -431,6 +459,32 @@ "MetricStat$Period": "

The granularity, in seconds, to be used for the metric. For metrics with regular resolution, a period can be as short as one minute (60 seconds) and must be a multiple of 60. For high-resolution metrics that are collected at intervals of less than one minute, the period can be 1, 5, 10, 30, 60, or any multiple of 60. High-resolution metrics are those metrics stored by a PutMetricData call that includes a StorageResolution of 1 second.

" } }, + "RequestBasedServiceLevelIndicator": { + "base": "

This structure contains information about the performance metric that a request-based SLO monitors.

", + "refs": { + "ServiceLevelObjective$RequestBasedSli": "

A structure containing information about the performance metric that this SLO monitors, if this is a request-based SLO.

", + "ServiceLevelObjectiveBudgetReport$RequestBasedSli": null + } + }, + "RequestBasedServiceLevelIndicatorConfig": { + "base": "

This structure specifies the information about the service and the performance metric that a request-based SLO is to monitor.

", + "refs": { + "CreateServiceLevelObjectiveInput$RequestBasedSliConfig": "

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.

", + "UpdateServiceLevelObjectiveInput$RequestBasedSliConfig": "

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.

" + } + }, + "RequestBasedServiceLevelIndicatorMetric": { + "base": "

This structure contains the information about the metric that is used for a request-based SLO.

", + "refs": { + "RequestBasedServiceLevelIndicator$RequestBasedSliMetric": "

A structure that contains information about the metric that the SLO monitors.

" + } + }, + "RequestBasedServiceLevelIndicatorMetricConfig": { + "base": "

Use this structure to specify the information for the metric that a period-based SLO will monitor.

", + "refs": { + "RequestBasedServiceLevelIndicatorConfig$RequestBasedSliMetricConfig": "

Use this structure to specify the metric to be used for the SLO.

" + } + }, "ResourceId": { "base": null, "refs": { @@ -509,34 +563,36 @@ } }, "ServiceLevelIndicator": { - "base": "

This structure contains information about the performance metric that an SLO monitors.

", + "base": "

This structure contains information about the performance metric that a period-based SLO monitors.

", "refs": { - "ServiceLevelObjective$Sli": "

A structure containing information about the performance metric that this SLO monitors.

", + "ServiceLevelObjective$Sli": "

A structure containing information about the performance metric that this SLO monitors, if this is a period-based SLO.

", "ServiceLevelObjectiveBudgetReport$Sli": "

A structure that contains information about the performance metric that this SLO monitors.

" } }, "ServiceLevelIndicatorComparisonOperator": { "base": null, "refs": { + "RequestBasedServiceLevelIndicator$ComparisonOperator": "

The arithmetic operation used when comparing the specified metric to the threshold.

", + "RequestBasedServiceLevelIndicatorConfig$ComparisonOperator": "

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.

", "ServiceLevelIndicator$ComparisonOperator": "

The arithmetic operation used when comparing the specified metric to the threshold.

", "ServiceLevelIndicatorConfig$ComparisonOperator": "

The arithmetic operation to use when comparing the specified metric to the threshold.

" } }, "ServiceLevelIndicatorConfig": { - "base": "

This structure specifies the information about the service and the performance metric that an SLO is to monitor.

", + "base": "

This structure specifies the information about the service and the performance metric that a period-based SLO is to monitor.

", "refs": { - "CreateServiceLevelObjectiveInput$SliConfig": "

A structure that contains information about what service and what performance metric that this SLO will monitor.

", - "UpdateServiceLevelObjectiveInput$SliConfig": "

A structure that contains information about what performance metric this SLO will monitor.

" + "CreateServiceLevelObjectiveInput$SliConfig": "

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.

", + "UpdateServiceLevelObjectiveInput$SliConfig": "

If this SLO is a period-based SLO, this structure defines the information about what performance metric this SLO will monitor.

" } }, "ServiceLevelIndicatorMetric": { - "base": "

This structure contains the information about the metric that is used for the SLO.

", + "base": "

This structure contains the information about the metric that is used for a period-based SLO.

", "refs": { "ServiceLevelIndicator$SliMetric": "

A structure that contains information about the metric that the SLO monitors.

" } }, "ServiceLevelIndicatorMetricConfig": { - "base": "

Use this structure to specify the information for the metric that the SLO will monitor.

", + "base": "

Use this structure to specify the information for the metric that a period-based SLO will monitor.

", "refs": { "ServiceLevelIndicatorConfig$SliMetricConfig": "

Use this structure to specify the metric to be used for the SLO.

" } @@ -544,13 +600,17 @@ "ServiceLevelIndicatorMetricThreshold": { "base": null, "refs": { + "RequestBasedServiceLevelIndicator$MetricThreshold": "

This value is the threshold that the observed metric values of the SLI metric are compared to.

", + "RequestBasedServiceLevelIndicatorConfig$MetricThreshold": "

The value that the SLI metric is compared to. This parameter is required if this SLO is tracking the Latency metric.

", "ServiceLevelIndicator$MetricThreshold": "

The value that the SLI metric is compared to.

", - "ServiceLevelIndicatorConfig$MetricThreshold": "

The value that the SLI metric is compared to.

" + "ServiceLevelIndicatorConfig$MetricThreshold": "

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.

" } }, "ServiceLevelIndicatorMetricType": { "base": null, "refs": { + "RequestBasedServiceLevelIndicatorMetric$MetricType": "

If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.

", + "RequestBasedServiceLevelIndicatorMetricConfig$MetricType": "

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.

", "ServiceLevelIndicatorMetric$MetricType": "

If the SLO monitors either the LATENCY or AVAILABILITY metric that Application Signals collects, this field displays which of those metrics is used.

", "ServiceLevelIndicatorMetricConfig$MetricType": "

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.

" } @@ -617,7 +677,7 @@ "ServiceLevelObjectiveBudgetStatus": { "base": null, "refs": { - "ServiceLevelObjectiveBudgetReport$BudgetStatus": "

The status of this SLO, as it relates to the error budget for the entire time interval.

" + "ServiceLevelObjectiveBudgetReport$BudgetStatus": "

The status of this SLO, as it relates to the error budget for the entire time interval.

" } }, "ServiceLevelObjectiveDescription": { @@ -688,7 +748,7 @@ } }, "ServiceSummary": { - "base": "

This structure contains information about one of your services that was discoverd by Application Signals

", + "base": "

This structure contains information about one of your services that was discovered by Application Signals

", "refs": { "ServiceSummaries$member": null } @@ -805,10 +865,16 @@ "ServiceLevelObjectiveSummary$CreatedTime": "

The date and time that this service level objective was created. It is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

" } }, + "TotalBudgetRequests": { + "base": null, + "refs": { + "ServiceLevelObjectiveBudgetReport$TotalBudgetRequests": "

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.

" + } + }, "TotalBudgetSeconds": { "base": null, "refs": { - "ServiceLevelObjectiveBudgetReport$TotalBudgetSeconds": "

The total number of seconds in the error budget for the interval.

" + "ServiceLevelObjectiveBudgetReport$TotalBudgetSeconds": "

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.

" } }, "UntagResourceRequest": { diff --git a/apis/codepipeline/2015-07-09/docs-2.json b/apis/codepipeline/2015-07-09/docs-2.json index 5688adba4dc..7334d0ecfc4 100644 --- a/apis/codepipeline/2015-07-09/docs-2.json +++ b/apis/codepipeline/2015-07-09/docs-2.json @@ -25,7 +25,7 @@ "ListRuleExecutions": "

Lists the rule executions that have occurred in a pipeline configured for conditions with rules.

", "ListRuleTypes": "

Lists the rules for the condition.

", "ListTagsForResource": "

Gets the set of key-value pairs (metadata) that are used to manage the resource.

", - "ListWebhooks": "

Gets a listing of all the webhooks in this Amazon Web Services Region for this account. The output lists all webhooks and includes the webhook URL and ARN and the configuration for each webhook.

", + "ListWebhooks": "

Gets a listing of all the webhooks in this Amazon Web Services Region for this account. The output lists all webhooks and includes the webhook URL and ARN and the configuration for each webhook.

If a secret token was provided, it will be redacted in the response.

", "OverrideStageCondition": "

Used to override a stage condition.

", "PollForJobs": "

Returns information about any jobs for CodePipeline to act on. PollForJobs is valid only for action types with \"Custom\" in the owner field. If the action type contains AWS or ThirdParty in the owner field, the PollForJobs action returns an error.

When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for the pipeline, if the action requires access to that S3 bucket for input or output artifacts. This API also returns any secret values defined for the action.

", "PollForThirdPartyJobs": "

Determines whether there are any third party jobs for a job worker to act on. Used for partner actions only.

When this API is called, CodePipeline returns temporary credentials for the S3 bucket used to store artifacts for the pipeline, if the action requires access to that S3 bucket for input or output artifacts.

", @@ -35,7 +35,7 @@ "PutJobSuccessResult": "

Represents the success of a job as returned to the pipeline by a job worker. Used for custom actions only.

", "PutThirdPartyJobFailureResult": "

Represents the failure of a third party job as returned to the pipeline by a job worker. Used for partner actions only.

", "PutThirdPartyJobSuccessResult": "

Represents the success of a third party job as returned to the pipeline by a job worker. Used for partner actions only.

", - "PutWebhook": "

Defines a webhook and returns a unique webhook URL generated by CodePipeline. This URL can be supplied to third party source hosting providers to call every time there's a code change. When CodePipeline receives a POST request on this URL, the pipeline defined in the webhook is started as long as the POST request satisfied the authentication and filtering requirements supplied when defining the webhook. RegisterWebhookWithThirdParty and DeregisterWebhookWithThirdParty APIs can be used to automatically configure supported third parties to call the generated webhook URL.

", + "PutWebhook": "

Defines a webhook and returns a unique webhook URL generated by CodePipeline. This URL can be supplied to third party source hosting providers to call every time there's a code change. When CodePipeline receives a POST request on this URL, the pipeline defined in the webhook is started as long as the POST request satisfied the authentication and filtering requirements supplied when defining the webhook. RegisterWebhookWithThirdParty and DeregisterWebhookWithThirdParty APIs can be used to automatically configure supported third parties to call the generated webhook URL.

When creating CodePipeline webhooks, do not use your own credentials or reuse the same secret token across multiple webhooks. For optimal security, generate a unique secret token for each webhook you create. The secret token is an arbitrary string that you provide, which GitHub uses to compute and sign the webhook payloads sent to CodePipeline, for protecting the integrity and authenticity of the webhook payloads. Using your own credentials or reusing the same token across multiple webhooks can lead to security vulnerabilities.

If a secret token was provided, it will be redacted in the response.

", "RegisterWebhookWithThirdParty": "

Configures a connection between the webhook that was created and the external tool with events to be detected.

", "RetryStageExecution": "

You can retry a stage that has failed without having to run a pipeline again from the beginning. You do this by either retrying the failed actions in a stage or by retrying all actions in the stage starting from the first action in the stage. When you retry the failed actions in a stage, all actions that are still in progress continue working, and failed actions are triggered again. When you retry a failed stage from the first action in the stage, the stage cannot have any actions in progress. Before a stage can be retried, it must either have all actions failed or some actions failed and some succeeded.

", "RollbackStage": "

Rolls back a stage execution.

", @@ -1991,7 +1991,7 @@ "RuleCategory": { "base": null, "refs": { - "RuleTypeId$category": "

A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. Valid categories are limited to one of the following values.

" + "RuleTypeId$category": "

A category defines what kind of rule can be run in the stage, and constrains the provider type for the rule. The valid category is Rule.

" } }, "RuleConfigurationKey": { @@ -2124,7 +2124,7 @@ "RuleProvider": { "base": null, "refs": { - "RuleTypeId$provider": "

The provider of the service being called by the rule. Valid providers are determined by the rulecategory. For example, a managed rule in the Rule category type has an owner of AWS, which would be specified as AWS.

" + "RuleTypeId$provider": "

The rule provider, such as the DeploymentWindow rule.

" } }, "RuleRevision": { @@ -2671,13 +2671,13 @@ "WebhookAuthConfigurationSecretToken": { "base": null, "refs": { - "WebhookAuthConfiguration$SecretToken": "

The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken property must be set.

" + "WebhookAuthConfiguration$SecretToken": "

The property used to configure GitHub authentication. For GITHUB_HMAC, only the SecretToken property must be set.

When creating CodePipeline webhooks, do not use your own credentials or reuse the same secret token across multiple webhooks. For optimal security, generate a unique secret token for each webhook you create. The secret token is an arbitrary string that you provide, which GitHub uses to compute and sign the webhook payloads sent to CodePipeline, for protecting the integrity and authenticity of the webhook payloads. Using your own credentials or reusing the same token across multiple webhooks can lead to security vulnerabilities.

If a secret token was provided, it will be redacted in the response.

" } }, "WebhookAuthenticationType": { "base": null, "refs": { - "WebhookDefinition$authentication": "

Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED.

" + "WebhookDefinition$authentication": "

Supported options are GITHUB_HMAC, IP, and UNAUTHENTICATED.

When creating CodePipeline webhooks, do not use your own credentials or reuse the same secret token across multiple webhooks. For optimal security, generate a unique secret token for each webhook you create. The secret token is an arbitrary string that you provide, which GitHub uses to compute and sign the webhook payloads sent to CodePipeline, for protecting the integrity and authenticity of the webhook payloads. Using your own credentials or reusing the same token across multiple webhooks can lead to security vulnerabilities.

If a secret token was provided, it will be redacted in the response.

" } }, "WebhookDefinition": { diff --git a/apis/connect/2017-08-08/api-2.json b/apis/connect/2017-08-08/api-2.json index f296e4c98fd..0b38b5b0ae4 100644 --- a/apis/connect/2017-08-08/api-2.json +++ b/apis/connect/2017-08-08/api-2.json @@ -17103,7 +17103,17 @@ "pt-PT", "zh-CN", "en-NZ", - "en-ZA" + "en-ZA", + "ca-ES", + "da-DK", + "fi-FI", + "id-ID", + "ms-MY", + "nl-NL", + "no-NO", + "pl-PL", + "sv-SE", + "tl-PH" ] }, "VocabularyLastModifiedTime":{"type":"timestamp"}, diff --git a/apis/gamelift/2015-10-01/api-2.json b/apis/gamelift/2015-10-01/api-2.json index b52c14cf0f8..254d452ed7f 100644 --- a/apis/gamelift/2015-10-01/api-2.json +++ b/apis/gamelift/2015-10-01/api-2.json @@ -3572,7 +3572,9 @@ "FLEET_VPC_PEERING_FAILED", "FLEET_VPC_PEERING_DELETED", "INSTANCE_INTERRUPTED", - "INSTANCE_RECYCLED" + "INSTANCE_RECYCLED", + "FLEET_CREATION_COMPLETED_INSTALLER", + "FLEET_CREATION_FAILED_INSTALLER" ] }, "EventCount":{ diff --git a/apis/gamelift/2015-10-01/docs-2.json b/apis/gamelift/2015-10-01/docs-2.json index ab58a446b6d..5e618ba944a 100644 --- a/apis/gamelift/2015-10-01/docs-2.json +++ b/apis/gamelift/2015-10-01/docs-2.json @@ -8,7 +8,7 @@ "CreateBuild": "

Creates a new Amazon GameLift build resource for your game server binary files. Combine game server binaries into a zip file for use with Amazon GameLift.

When setting up a new game build for Amazon GameLift, we recommend using the CLI command upload-build . This helper command combines two tasks: (1) it uploads your build files from a file directory to an Amazon GameLift Amazon S3 location, and (2) it creates a new build resource.

You can use the CreateBuild operation in the following scenarios:

If successful, this operation creates a new build resource with a unique build ID and places it in INITIALIZED status. A build must be in READY status before you can create fleets with it.

Learn more

Uploading Your Game

Create a Build with Files in Amazon S3

All APIs by task

", "CreateContainerGroupDefinition": "

This operation is used with the Amazon GameLift containers feature, which is currently in public preview.

Creates a ContainerGroupDefinition resource that describes a set of containers for hosting your game server with Amazon GameLift managed EC2 hosting. An Amazon GameLift container group is similar to a container \"task\" and \"pod\". Each container group can have one or more containers.

Use container group definitions when you create a container fleet. Container group definitions determine how Amazon GameLift deploys your containers to each instance in a container fleet.

You can create two types of container groups, based on scheduling strategy:

To create a container group definition, specify a group name, a list of container definitions, and maximum total CPU and memory requirements for the container group. Specify an operating system and scheduling strategy or use the default values. When using the Amazon Web Services CLI tool, you can pass in your container definitions as a JSON file.

This operation requires Identity and Access Management (IAM) permissions to access container images in Amazon ECR repositories. See IAM permissions for Amazon GameLift for help setting the appropriate permissions.

If successful, this operation creates a new ContainerGroupDefinition resource with an ARN value assigned. You can't change the properties of a container group definition. Instead, create a new one.

Learn more

", "CreateFleet": "

This operation has been expanded to use with the Amazon GameLift containers feature, which is currently in public preview.

Creates a fleet of compute resources to host your game servers. Use this operation to set up the following types of fleets based on compute type:

Managed EC2 fleet

An EC2 fleet is a set of Amazon Elastic Compute Cloud (Amazon EC2) instances. Your game server build is deployed to each fleet instance. Amazon GameLift manages the fleet's instances and controls the lifecycle of game server processes, which host game sessions for players. EC2 fleets can have instances in multiple locations. Each instance in the fleet is designated a Compute.

To create an EC2 fleet, provide these required parameters:

If successful, this operation creates a new fleet resource and places it in NEW status while Amazon GameLift initiates the fleet creation workflow. To debug your fleet, fetch logs, view performance metrics or other actions on the fleet, create a development fleet with port 22/3389 open. As a best practice, we recommend opening ports for remote access only when you need them and closing them when you're finished.

When the fleet status is ACTIVE, you can adjust capacity settings and turn autoscaling on/off for each location.

Managed container fleet

A container fleet is a set of Amazon Elastic Compute Cloud (Amazon EC2) instances. Your container architecture is deployed to each fleet instance based on the fleet configuration. Amazon GameLift manages the containers on each fleet instance and controls the lifecycle of game server processes, which host game sessions for players. Container fleets can have instances in multiple locations. Each container on an instance that runs game server processes is registered as a Compute.

To create a container fleet, provide these required parameters:

If successful, this operation creates a new fleet resource and places it in NEW status while Amazon GameLift initiates the fleet creation workflow.

When the fleet status is ACTIVE, you can adjust capacity settings and turn autoscaling on/off for each location.

Anywhere fleet

An Anywhere fleet represents compute resources that are not owned or managed by Amazon GameLift. You might create an Anywhere fleet with your local machine for testing, or use one to host game servers with on-premises hardware or other game hosting solutions.

To create an Anywhere fleet, provide these required parameters:

If successful, this operation creates a new fleet resource and places it in ACTIVE status. You can register computes with a fleet in ACTIVE status.

Learn more

Setting up fleets

Setting up a container fleet

Debug fleet creation issues

Multi-location fleets

", - "CreateFleetLocations": "

This operation has been expanded to use with the Amazon GameLift containers feature, which is currently in public preview.

Adds remote locations to an EC2 or container fleet and begins populating the new locations with instances. The new instances conform to the fleet's instance type, auto-scaling, and other configuration settings.

You can't add remote locations to a fleet that resides in an Amazon Web Services Region that doesn't support multiple locations. Fleets created prior to March 2021 can't support multiple locations.

To add fleet locations, specify the fleet to be updated and provide a list of one or more locations.

If successful, this operation returns the list of added locations with their status set to NEW. Amazon GameLift initiates the process of starting an instance in each added location. You can track the status of each new location by monitoring location creation events using DescribeFleetEvents.

Learn more

Setting up fleets

Multi-location fleets

", + "CreateFleetLocations": "

This operation has been expanded to use with the Amazon GameLift containers feature, which is currently in public preview.

Adds remote locations to an EC2 or container fleet and begins populating the new locations with instances. The new instances conform to the fleet's instance type, auto-scaling, and other configuration settings.

You can't add remote locations to a fleet that resides in an Amazon Web Services Region that doesn't support multiple locations. Fleets created prior to March 2021 can't support multiple locations.

To add fleet locations, specify the fleet to be updated and provide a list of one or more locations.

If successful, this operation returns the list of added locations with their status set to NEW. Amazon GameLift initiates the process of starting an instance in each added location. You can track the status of each new location by monitoring location creation events using DescribeFleetEvents.

Learn more

Setting up fleets

Update fleet locations

Amazon GameLift service locations for managed hosting.

", "CreateGameServerGroup": "

This operation is used with the Amazon GameLift FleetIQ solution and game server groups.

Creates a Amazon GameLift FleetIQ game server group for managing game hosting on a collection of Amazon Elastic Compute Cloud instances for game hosting. This operation creates the game server group, creates an Auto Scaling group in your Amazon Web Services account, and establishes a link between the two groups. You can view the status of your game server groups in the Amazon GameLift console. Game server group metrics and events are emitted to Amazon CloudWatch.

Before creating a new game server group, you must have the following:

To create a new game server group, specify a unique group name, IAM role and Amazon Elastic Compute Cloud launch template, and provide a list of instance types that can be used in the group. You must also set initial maximum and minimum limits on the group's instance count. You can optionally set an Auto Scaling policy with target tracking based on a Amazon GameLift FleetIQ metric.

Once the game server group and corresponding Auto Scaling group are created, you have full access to change the Auto Scaling group's configuration as needed. Several properties that are set when creating a game server group, including maximum/minimum size and auto-scaling policy settings, must be updated directly in the Auto Scaling group. Keep in mind that some Auto Scaling group properties are periodically updated by Amazon GameLift FleetIQ as part of its balancing activities to optimize for availability and cost.

Learn more

Amazon GameLift FleetIQ Guide

", "CreateGameSession": "

Creates a multiplayer game session for players in a specific fleet location. This operation prompts an available server process to start a game session and retrieves connection information for the new game session. As an alternative, consider using the Amazon GameLift game session placement feature with StartGameSessionPlacement , which uses the FleetIQ algorithm and queues to optimize the placement process.

When creating a game session, you specify exactly where you want to place it and provide a set of game session configuration settings. The target fleet must be in ACTIVE status.

You can use this operation in the following ways:

If successful, Amazon GameLift initiates a workflow to start a new game session and returns a GameSession object containing the game session configuration and status. When the game session status is ACTIVE, it is updated with connection information and you can create player sessions for the game session. By default, newly created game sessions are open to new players. You can restrict new player access by using UpdateGameSession to change the game session's player session creation policy.

Amazon GameLift retains logs for active for 14 days. To access the logs, call GetGameSessionLogUrl to download the log files.

Available in Amazon GameLift Local.

Learn more

Start a game session

All APIs by task

", "CreateGameSessionQueue": "

Creates a placement queue that processes requests for new game sessions. A queue uses FleetIQ algorithms to determine the best placement locations and find an available game server there, then prompts the game server process to start a new game session.

A game session queue is configured with a set of destinations (Amazon GameLift fleets or aliases), which determine the locations where the queue can place new game sessions. These destinations can span multiple fleet types (Spot and On-Demand), instance types, and Amazon Web Services Regions. If the queue includes multi-location fleets, the queue is able to place game sessions in all of a fleet's remote locations. You can opt to filter out individual locations if needed.

The queue configuration also determines how FleetIQ selects the best available placement for a new game session. Before searching for an available game server, FleetIQ first prioritizes the queue's destinations and locations, with the best placement locations on top. You can set up the queue to use the FleetIQ default prioritization or provide an alternate set of priorities.

To create a new queue, provide a name, timeout value, and a list of destinations. Optionally, specify a sort configuration and/or a filter, and define a set of latency cap policies. You can also include the ARN for an Amazon Simple Notification Service (SNS) topic to receive notifications of game session placement activity. Notifications using SNS or CloudWatch events is the preferred way to track placement activity.

If successful, a new GameSessionQueue object is returned with an assigned queue ARN. New game session requests, which are submitted to queue with StartGameSessionPlacement or StartMatchmaking, reference a queue's name or ARN.

Learn more

Design a game session queue

Create a game session queue

Related actions

CreateGameSessionQueue | DescribeGameSessionQueues | UpdateGameSessionQueue | DeleteGameSessionQueue | All APIs by task

", @@ -44,9 +44,9 @@ "DescribeFleetAttributes": "

This operation has been expanded to use with the Amazon GameLift containers feature, which is currently in public preview.

Retrieves core fleet-wide properties for fleets in an Amazon Web Services Region. Properties include the computing hardware and deployment configuration for instances in the fleet.

You can use this operation in the following ways:

When requesting attributes for multiple fleets, use the pagination parameters to retrieve results as a set of sequential pages.

If successful, a FleetAttributes object is returned for each fleet requested, unless the fleet identifier is not found.

Some API operations limit the number of fleet IDs that allowed in one request. If a request exceeds this limit, the request fails and the error message contains the maximum allowed number.

Learn more

Setting up Amazon GameLift fleets

", "DescribeFleetCapacity": "

This operation has been expanded to use with the Amazon GameLift containers feature, which is currently in public preview.

Retrieves the resource capacity settings for one or more fleets. For a container fleet, this operation also returns counts for replica container groups.

With multi-location fleets, this operation retrieves data for the fleet's home Region only. To retrieve capacity for remote locations, see DescribeFleetLocationCapacity.

This operation can be used in the following ways:

When requesting multiple fleets, use the pagination parameters to retrieve results as a set of sequential pages.

If successful, a FleetCapacity object is returned for each requested fleet ID. Each FleetCapacity object includes a Location property, which is set to the fleet's home Region. Capacity values are returned only for fleets that currently exist.

Some API operations may limit the number of fleet IDs that are allowed in one request. If a request exceeds this limit, the request fails and the error message includes the maximum allowed.

Learn more

Setting up Amazon GameLift fleets

GameLift metrics for fleets

", "DescribeFleetEvents": "

Retrieves entries from a fleet's event log. Fleet events are initiated by changes in status, such as during fleet creation and termination, changes in capacity, etc. If a fleet has multiple locations, events are also initiated by changes to status and capacity in remote locations.

You can specify a time range to limit the result set. Use the pagination parameters to retrieve results as a set of sequential pages.

If successful, a collection of event log entries matching the request are returned.

Learn more

Setting up Amazon GameLift fleets

", - "DescribeFleetLocationAttributes": "

Retrieves information on a fleet's remote locations, including life-cycle status and any suspended fleet activity.

This operation can be used in the following ways:

When requesting attributes for multiple locations, use the pagination parameters to retrieve results as a set of sequential pages.

If successful, a LocationAttributes object is returned for each requested location. If the fleet does not have a requested location, no information is returned. This operation does not return the home Region. To get information on a fleet's home Region, call DescribeFleetAttributes.

Learn more

Setting up Amazon GameLift fleets

", - "DescribeFleetLocationCapacity": "

Retrieves the resource capacity settings for a fleet location. The data returned includes the current capacity (number of EC2 instances) and some scaling settings for the requested fleet location. For a container fleet, this operation also returns counts for replica container groups.

Use this operation to retrieve capacity information for a fleet's remote location or home Region (you can also retrieve home Region capacity by calling DescribeFleetCapacity).

To retrieve capacity data, identify a fleet and location.

If successful, a FleetCapacity object is returned for the requested fleet location.

Learn more

Setting up Amazon GameLift fleets

GameLift metrics for fleets

", - "DescribeFleetLocationUtilization": "

Retrieves current usage data for a fleet location. Utilization data provides a snapshot of current game hosting activity at the requested location. Use this operation to retrieve utilization information for a fleet's remote location or home Region (you can also retrieve home Region utilization by calling DescribeFleetUtilization).

To retrieve utilization data, identify a fleet and location.

If successful, a FleetUtilization object is returned for the requested fleet location.

Learn more

Setting up Amazon GameLift fleets

GameLift metrics for fleets

", + "DescribeFleetLocationAttributes": "

Retrieves information on a fleet's remote locations, including life-cycle status and any suspended fleet activity.

This operation can be used in the following ways:

When requesting attributes for multiple locations, use the pagination parameters to retrieve results as a set of sequential pages.

If successful, a LocationAttributes object is returned for each requested location. If the fleet does not have a requested location, no information is returned. This operation does not return the home Region. To get information on a fleet's home Region, call DescribeFleetAttributes.

Learn more

Setting up Amazon GameLift fleets

Amazon GameLift service locations for managed hosting

", + "DescribeFleetLocationCapacity": "

Retrieves the resource capacity settings for a fleet location. The data returned includes the current capacity (number of EC2 instances) and some scaling settings for the requested fleet location. For a container fleet, this operation also returns counts for replica container groups.

Use this operation to retrieve capacity information for a fleet's remote location or home Region (you can also retrieve home Region capacity by calling DescribeFleetCapacity).

To retrieve capacity data, identify a fleet and location.

If successful, a FleetCapacity object is returned for the requested fleet location.

Learn more

Setting up Amazon GameLift fleets

Amazon GameLift service locations for managed hosting

GameLift metrics for fleets

", + "DescribeFleetLocationUtilization": "

Retrieves current usage data for a fleet location. Utilization data provides a snapshot of current game hosting activity at the requested location. Use this operation to retrieve utilization information for a fleet's remote location or home Region (you can also retrieve home Region utilization by calling DescribeFleetUtilization).

To retrieve utilization data, identify a fleet and location.

If successful, a FleetUtilization object is returned for the requested fleet location.

Learn more

Setting up Amazon GameLift fleets

Amazon GameLift service locations for managed hosting

GameLift metrics for fleets

", "DescribeFleetPortSettings": "

Retrieves a fleet's inbound connection permissions. Connection permissions specify IP addresses and port settings that incoming traffic can use to access server processes in the fleet. Game server processes that are running in the fleet must use a port that falls within this range. To connect to game server processes on a container fleet, the port settings should include one or more of the fleet's connection ports.

Use this operation in the following ways:

If successful, a set of IpPermission objects is returned for the requested fleet ID. When specifying a location, this operation returns a pending status. If the requested fleet has been deleted, the result set is empty.

Learn more

Setting up Amazon GameLift fleets

", "DescribeFleetUtilization": "

Retrieves utilization statistics for one or more fleets. Utilization data provides a snapshot of how the fleet's hosting resources are currently being used. For fleets with remote locations, this operation retrieves data for the fleet's home Region only. See DescribeFleetLocationUtilization to get utilization statistics for a fleet's remote locations.

This operation can be used in the following ways:

When requesting multiple fleets, use the pagination parameters to retrieve results as a set of sequential pages.

If successful, a FleetUtilization object is returned for each requested fleet ID, unless the fleet identifier is not found. Each fleet utilization object includes a Location property, which is set to the fleet's home Region.

Some API operations may limit the number of fleet IDs allowed in one request. If a request exceeds this limit, the request fails and the error message includes the maximum allowed.

Learn more

Setting up Amazon GameLift Fleets

GameLift Metrics for Fleets

", "DescribeGameServer": "

This operation is used with the Amazon GameLift FleetIQ solution and game server groups.

Retrieves information for a registered game server. Information includes game server status, health check info, and the instance that the game server is running on.

To retrieve game server information, specify the game server ID. If successful, the requested game server object is returned.

Learn more

Amazon GameLift FleetIQ Guide

", @@ -66,7 +66,7 @@ "DescribeScript": "

Retrieves properties for a Realtime script.

To request a script record, specify the script ID. If successful, an object containing the script properties is returned.

Learn more

Amazon GameLift Realtime Servers

Related actions

All APIs by task

", "DescribeVpcPeeringAuthorizations": "

Retrieves valid VPC peering authorizations that are pending for the Amazon Web Services account. This operation returns all VPC peering authorizations and requests for peering. This includes those initiated and received by this account.

Related actions

All APIs by task

", "DescribeVpcPeeringConnections": "

Retrieves information on VPC peering connections. Use this operation to get peering information for all fleets or for one specific fleet ID.

To retrieve connection information, call this operation from the Amazon Web Services account that is used to manage the Amazon GameLift fleets. Specify a fleet ID or leave the parameter empty to retrieve all connection records. If successful, the retrieved information includes both active and pending connections. Active connections identify the IpV4 CIDR block that the VPC uses to connect.

Related actions

All APIs by task

", - "GetComputeAccess": "

This operation has been expanded to use with the Amazon GameLift containers feature, which is currently in public preview.

Requests authorization to remotely connect to a hosting resource in a Amazon GameLift managed fleet. This operation is not used with Amazon GameLift Anywhere fleets

To request access, specify the compute name and the fleet ID. If successful, this operation returns a set of temporary Amazon Web Services credentials, including a two-part access key and a session token.

EC2 fleets

With an EC2 fleet (where compute type is EC2), use these credentials with Amazon EC2 Systems Manager (SSM) to start a session with the compute. For more details, see Starting a session (CLI) in the Amazon EC2 Systems Manager User Guide.

Container fleets

With a container fleet (where compute type is CONTAINER), use these credentials and the target value with SSM to connect to the fleet instance where the container is running. After you're connected to the instance, use Docker commands to interact with the container.

Learn more

", + "GetComputeAccess": "

This operation has been expanded to use with the Amazon GameLift containers feature, which is currently in public preview.

Requests authorization to remotely connect to a hosting resource in a Amazon GameLift managed fleet. This operation is not used with Amazon GameLift Anywhere fleets

To request access, specify the compute name and the fleet ID. If successful, this operation returns a set of temporary Amazon Web Services credentials, including a two-part access key and a session token.

EC2 fleets

With an EC2 fleet (where compute type is EC2), use these credentials with Amazon EC2 Systems Manager (SSM) to start a session with the compute. For more details, see Starting a session (CLI) in the Amazon EC2 Systems Manager User Guide.

Container fleets

With a container fleet (where compute type is CONTAINER), use these credentials and the target value with SSM to connect to the fleet instance where the container is running. After you're connected to the instance, use Docker commands to interact with the container.

Learn more

", "GetComputeAuthToken": "

Requests an authentication token from Amazon GameLift for a compute resource in an Amazon GameLift Anywhere fleet or container fleet. Game servers that are running on the compute use this token to communicate with the Amazon GameLift service, such as when calling the Amazon GameLift server SDK action InitSDK(). Authentication tokens are valid for a limited time span, so you need to request a fresh token before the current token expires.

Use this operation based on the fleet compute type:

Learn more

", "GetGameSessionLogUrl": "

Retrieves the location of stored game session logs for a specified game session on Amazon GameLift managed fleets. When a game session is terminated, Amazon GameLift automatically stores the logs in Amazon S3 and retains them for 14 days. Use this URL to download the logs.

See the Amazon Web Services Service Limits page for maximum log file sizes. Log files that exceed this limit are not saved.

All APIs by task

", "GetInstanceAccess": "

Requests authorization to remotely connect to an instance in an Amazon GameLift managed fleet. Use this operation to connect to instances with game servers that use Amazon GameLift server SDK 4.x or earlier. To connect to instances with game servers that use server SDK 5.x or later, call GetComputeAccess.

To request access to an instance, specify IDs for the instance and the fleet it belongs to. You can retrieve instance IDs for a fleet by calling DescribeInstances with the fleet ID.

If successful, this operation returns an IP address and credentials. The returned credentials match the operating system of the instance, as follows:

Learn more

Remotely connect to fleet instances

Debug fleet issues

Related actions

All APIs by task

", @@ -559,7 +559,7 @@ } }, "ContainerGroupsPerInstance": { - "base": "

This data type is used with the Amazon GameLift containers feature, which is currently in public preview.

Determines how many replica container groups that Amazon GameLift deploys to each instance in a container fleet.

Amazon GameLift calculates the maximum possible replica groups per instance based on the instance 's CPU and memory resources. When deploying a fleet, Amazon GameLift places replica container groups on each fleet instance based on the following:

Part of: ContainerGroupsConfiguration, ContainerGroupsAttributes

Returned by: DescribeFleetAttributes, CreateFleet

", + "base": "

This data type is used with the Amazon GameLift containers feature, which is currently in public preview.

Determines how many replica container groups that Amazon GameLift deploys to each instance in a container fleet.

Amazon GameLift calculates the maximum possible replica groups per instance based on the instance 's CPU and memory resources. When deploying a fleet, Amazon GameLift places replica container groups on each fleet instance based on the following:

Part of: ContainerGroupsConfiguration, ContainerGroupsAttributes

Returned by: DescribeFleetAttributes, CreateFleet

", "refs": { "ContainerGroupsAttributes$ContainerGroupsPerInstance": "

Details about the number of replica container groups that Amazon GameLift deploys to each instance in the container fleet.

" } @@ -612,8 +612,8 @@ "ContainerOperatingSystem": { "base": null, "refs": { - "ContainerGroupDefinition$OperatingSystem": "

The platform required for all containers in the container group definition.

", - "CreateContainerGroupDefinitionInput$OperatingSystem": "

The platform that is used by containers in the container group definition. All containers in a group must run on the same operating system.

" + "ContainerGroupDefinition$OperatingSystem": "

The platform required for all containers in the container group definition.

Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the Amazon Linux 2 FAQs. For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See Migrate to Amazon GameLift server SDK version 5.

", + "CreateContainerGroupDefinitionInput$OperatingSystem": "

The platform that is used by containers in the container group definition. All containers in a group must run on the same operating system.

Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the Amazon Linux 2 FAQs. For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See Migrate to Amazon GameLift server SDK version 5.

" } }, "ContainerPortConfiguration": { @@ -1358,7 +1358,7 @@ "EventCode": { "base": null, "refs": { - "Event$EventCode": "

The type of event being logged.

Fleet state transition events:

Fleet creation events (ordered by fleet creation activity):

VPC peering events:

Spot instance events:

Server process events:

Game session events:

Other fleet events:

" + "Event$EventCode": "

The type of event being logged.

Fleet state transition events:

Fleet creation events (ordered by fleet creation activity):

VPC peering events:

Spot instance events:

Server process events:

Game session events:

Other fleet events:

" } }, "EventCount": { @@ -1550,7 +1550,7 @@ "FleetStatus": { "base": null, "refs": { - "FleetAttributes$Status": "

Current status of the fleet. Possible fleet statuses include the following:

", + "FleetAttributes$Status": "

Current status of the fleet. Possible fleet statuses include the following:

", "LocationState$Status": "

The life-cycle status of a fleet location.

" } }, @@ -2138,7 +2138,7 @@ "Instance$IpAddress": "

IP address that is assigned to the instance.

", "InstanceAccess$IpAddress": "

IP address assigned to the instance.

", "PlayerSession$IpAddress": "

The IP address of the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number.

", - "RegisterComputeInput$IpAddress": "

The IP address of the compute resource. Amazon GameLift requires either a DNS name or IP address.

" + "RegisterComputeInput$IpAddress": "

The IP address of the compute resource. Amazon GameLift requires either a DNS name or IP address. When registering an Anywhere fleet, an IP address is required.

" } }, "IpPermission": { @@ -2189,7 +2189,7 @@ "base": null, "refs": { "CreateFleetInput$ServerLaunchParameters": "

This parameter is no longer used. Specify server launch parameters using the RuntimeConfiguration parameter. Requests that use this parameter instead continue to be valid.

", - "FleetAttributes$ServerLaunchParameters": "

This parameter is no longer used. Server launch parameters are now defined using the fleet's runtime configuration . Requests that use this parameter continue to be valid.

", + "FleetAttributes$ServerLaunchParameters": "

This parameter is no longer used. Server launch parameters are now defined using the fleet's runtime configuration. Requests that use this parameter continue to be valid.

", "ServerProcess$Parameters": "

An optional list of parameters to pass to the server executable or Realtime script on launch.

" } }, @@ -2197,7 +2197,7 @@ "base": null, "refs": { "CreateFleetInput$ServerLaunchPath": "

This parameter is no longer used. Specify a server launch path using the RuntimeConfiguration parameter. Requests that use this parameter instead continue to be valid.

", - "FleetAttributes$ServerLaunchPath": "

This parameter is no longer used. Server launch paths are now defined using the fleet's RuntimeConfiguration . Requests that use this parameter continue to be valid.

", + "FleetAttributes$ServerLaunchPath": "

This parameter is no longer used. Server launch paths are now defined using the fleet's RuntimeConfiguration. Requests that use this parameter continue to be valid.

", "ServerProcess$LaunchPath": "

The location of a game build executable or Realtime script. Game builds and Realtime scripts are installed on instances at the root:

Amazon GameLift doesn't support the use of setup scripts that launch the game executable. For custom game builds, this parameter must indicate the executable that calls the server SDK operations initSDK() and ProcessReady().

" } }, @@ -2369,7 +2369,7 @@ "LocationConfigurationList": { "base": null, "refs": { - "CreateFleetInput$Locations": "

A set of remote locations to deploy additional instances to and manage as part of the fleet. This parameter can only be used when creating fleets in Amazon Web Services Regions that support multiple locations. You can add any Amazon GameLift-supported Amazon Web Services Region as a remote location, in the form of an Amazon Web Services Region code, such as us-west-2 or Local Zone code. To create a fleet with instances in the home Region only, don't set this parameter.

When using this parameter, Amazon GameLift requires you to include your home location in the request.

", + "CreateFleetInput$Locations": "

A set of remote locations to deploy additional instances to and manage as a multi-location fleet. Use this parameter when creating a fleet in Amazon Web Services Regions that support multiple locations. You can add any Amazon Web Services Region or Local Zone that's supported by Amazon GameLift. Provide a list of one or more Amazon Web Services Region codes, such as us-west-2, or Local Zone names. When using this parameter, Amazon GameLift requires you to include your home location in the request. For a list of supported Regions and Local Zones, see Amazon GameLift service locations for managed hosting.

", "CreateFleetLocationsInput$Locations": "

A list of locations to deploy additional instances to and manage as part of the fleet. You can add any Amazon GameLift-supported Amazon Web Services Region as a remote location, in the form of an Amazon Web Services Region code such as us-west-2.

" } }, @@ -2395,7 +2395,7 @@ } }, "LocationModel": { - "base": "

Properties of a custom location for use in an Amazon GameLift Anywhere fleet. This data type is returned in response to a call to https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateLocation.html.

", + "base": "

Properties of a custom location for use in an Amazon GameLift Anywhere fleet. This data type is returned in response to a call to CreateLocation.

", "refs": { "CreateLocationOutput$Location": "

The details of the custom location you created.

", "LocationModelList$member": null @@ -2442,11 +2442,11 @@ "GameSession$Location": "

The fleet location where the game session is running. This value might specify the fleet's home Region or a remote location. Location is expressed as an Amazon Web Services Region code such as us-west-2.

", "Instance$Location": "

The fleet location of the instance, expressed as an Amazon Web Services Region code, such as us-west-2.

", "ListComputeInput$Location": "

The name of a location to retrieve compute resources for. For an Amazon GameLift Anywhere fleet, use a custom location. For a multi-location EC2 or container fleet, provide a Amazon Web Services Region or Local Zone code (for example: us-west-2 or us-west-2-lax-1).

", - "LocationConfiguration$Location": "

An Amazon Web Services Region code, such as us-west-2.

", + "LocationConfiguration$Location": "

An Amazon Web Services Region code, such as us-west-2. For a list of supported Regions and Local Zones, see Amazon GameLift service locations for managed hosting.

", "LocationList$member": null, "LocationModel$LocationName": "

The location's name.

", "LocationState$Location": "

The fleet location, expressed as an Amazon Web Services Region code such as us-west-2.

", - "RegisterComputeInput$Location": "

The name of a custom location to associate with the compute resource being registered.

", + "RegisterComputeInput$Location": "

The name of a custom location to associate with the compute resource being registered. This parameter is required when registering a compute for an Anywhere fleet.

", "ScalingPolicy$Location": "

The fleet location.

", "SearchGameSessionsInput$Location": "

A fleet location to search for game sessions. You can specify a fleet's home Region or a remote location. Use the Amazon Web Services Region code format, such as us-west-2.

", "StartFleetActionsInput$Location": "

The fleet location to restart fleet actions for. Specify a location in the form of an Amazon Web Services Region code, such as us-west-2.

", @@ -2841,7 +2841,7 @@ } }, "NotFoundException": { - "base": "

THe requested resources was not found. The resource was either not created yet or deleted.

", + "base": "

The requested resources was not found. The resource was either not created yet or deleted.

", "refs": { } }, @@ -2853,11 +2853,11 @@ "OperatingSystem": { "base": null, "refs": { - "Build$OperatingSystem": "

Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build.

", - "Compute$OperatingSystem": "

The type of operating system on the compute resource.

", - "CreateBuildInput$OperatingSystem": "

The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later.

If you have active fleets using the Windows Server 2012 operating system, you can continue to create new builds using this OS until October 10, 2023, when Microsoft ends its support. All others must use Windows Server 2016 when creating new Windows-based builds.

", - "FleetAttributes$OperatingSystem": "

The operating system of the fleet's computing resources. A fleet's operating system is determined by the OS of the build or script that is deployed on this fleet. This attribute is used with fleets where ComputeType is \"EC2\" or \"Container\".

", - "Instance$OperatingSystem": "

Operating system that is running on this EC2 instance.

", + "Build$OperatingSystem": "

Operating system that the game server binaries are built to run on. This value determines the type of fleet resources that you can use for this build.

Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the Amazon Linux 2 FAQs. For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See Migrate to Amazon GameLift server SDK version 5.

", + "Compute$OperatingSystem": "

The type of operating system on the compute resource.

Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the Amazon Linux 2 FAQs. For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See Migrate to Amazon GameLift server SDK version 5.

", + "CreateBuildInput$OperatingSystem": "

The operating system that your game server binaries run on. This value determines the type of fleet resources that you use for this build. If your game build contains multiple executables, they all must run on the same operating system. You must specify a valid operating system in this request. There is no default value. You can't change a build's operating system later.

Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the Amazon Linux 2 FAQs. For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See Migrate to Amazon GameLift server SDK version 5.

", + "FleetAttributes$OperatingSystem": "

The operating system of the fleet's computing resources. A fleet's operating system is determined by the OS of the build or script that is deployed on this fleet. This attribute is used with fleets where ComputeType is \"EC2\" or \"Container\".

Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the Amazon Linux 2 FAQs. For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See Migrate to Amazon GameLift server SDK version 5.

", + "Instance$OperatingSystem": "

Operating system that is running on this EC2 instance.

Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more details in the Amazon Linux 2 FAQs. For game servers that are hosted on AL2 and use Amazon GameLift server SDK 4.x., first update the game server build to server SDK 5.x, and then deploy to AL2023 instances. See Migrate to Amazon GameLift server SDK version 5.

", "InstanceAccess$OperatingSystem": "

Operating system that is running on the instance.

" } }, @@ -3513,7 +3513,7 @@ "CreateFleetInput$Tags": "

A list of labels to assign to the new fleet resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.

", "CreateGameServerGroupInput$Tags": "

A list of labels to assign to the new game server group resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources is useful for resource management, access management, and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.

", "CreateGameSessionQueueInput$Tags": "

A list of labels to assign to the new game session queue resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.

", - "CreateLocationInput$Tags": "

A list of labels to assign to the new matchmaking configuration resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Rareference.

", + "CreateLocationInput$Tags": "

A list of labels to assign to the new resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management, and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Rareference.

", "CreateMatchmakingConfigurationInput$Tags": "

A list of labels to assign to the new matchmaking configuration resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.

", "CreateMatchmakingRuleSetInput$Tags": "

A list of labels to assign to the new matchmaking rule set resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference.

", "CreateScriptInput$Tags": "

A list of labels to assign to the new script resource. Tags are developer-defined key-value pairs. Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation. For more information, see Tagging Amazon Web Services Resources in the Amazon Web Services General Reference. Once the resource is created, you can use TagResource, UntagResource, and ListTagsForResource to add, remove, and view tags. The maximum tag limit may be lower than stated. See the Amazon Web Services General Reference for actual tagging limits.

", diff --git a/apis/kinesisanalyticsv2/2018-05-23/api-2.json b/apis/kinesisanalyticsv2/2018-05-23/api-2.json index 3058971a534..32d4b544482 100644 --- a/apis/kinesisanalyticsv2/2018-05-23/api-2.json +++ b/apis/kinesisanalyticsv2/2018-05-23/api-2.json @@ -2473,7 +2473,8 @@ "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", - "FLINK-1_19" + "FLINK-1_19", + "FLINK-1_20" ] }, "S3ApplicationCodeLocationDescription":{ diff --git a/apis/sagemaker/2017-07-24/api-2.json b/apis/sagemaker/2017-07-24/api-2.json index 2de134b7fba..c782fdec499 100644 --- a/apis/sagemaker/2017-07-24/api-2.json +++ b/apis/sagemaker/2017-07-24/api-2.json @@ -4331,6 +4331,12 @@ "ml.r6id.32xlarge" ] }, + "AppLifecycleManagement":{ + "type":"structure", + "members":{ + "IdleSettings":{"shape":"IdleSettings"} + } + }, "AppList":{ "type":"list", "member":{"shape":"AppDetails"} @@ -5924,7 +5930,7 @@ "InstanceGroupName":{"shape":"ClusterInstanceGroupName"}, "InstanceType":{"shape":"ClusterInstanceType"}, "LifeCycleConfig":{"shape":"ClusterLifeCycleConfig"}, - "ExecutionRole":{"shape":"RoleArn"}, + "ExecutionRole":{"shape":"IAMRoleArn"}, "ThreadsPerCore":{"shape":"ClusterThreadsPerCore"}, "InstanceStorageConfigs":{"shape":"ClusterInstanceStorageConfigs"} } @@ -5953,7 +5959,7 @@ "InstanceGroupName":{"shape":"ClusterInstanceGroupName"}, "InstanceType":{"shape":"ClusterInstanceType"}, "LifeCycleConfig":{"shape":"ClusterLifeCycleConfig"}, - "ExecutionRole":{"shape":"RoleArn"}, + "ExecutionRole":{"shape":"IAMRoleArn"}, "ThreadsPerCore":{"shape":"ClusterThreadsPerCore"}, "InstanceStorageConfigs":{"shape":"ClusterInstanceStorageConfigs"} } @@ -6182,7 +6188,8 @@ "members":{ "DefaultResourceSpec":{"shape":"ResourceSpec"}, "CustomImages":{"shape":"CustomImages"}, - "LifecycleConfigArns":{"shape":"LifecycleConfigArns"} + "LifecycleConfigArns":{"shape":"LifecycleConfigArns"}, + "AppLifecycleManagement":{"shape":"AppLifecycleManagement"} } }, "CodeRepositories":{ @@ -13365,6 +13372,12 @@ "type":"integer", "min":1 }, + "IAMRoleArn":{ + "type":"string", + "max":2048, + "min":20, + "pattern":"^arn:aws[a-z\\-]*:iam::\\d{12}:role/[\\w+=,.@-]{1,64}$" + }, "IamIdentity":{ "type":"structure", "members":{ @@ -13398,6 +13411,20 @@ "member":{"shape":"IdentityProviderOAuthSetting"}, "max":20 }, + "IdleSettings":{ + "type":"structure", + "members":{ + "LifecycleManagement":{"shape":"LifecycleManagement"}, + "IdleTimeoutInMinutes":{"shape":"IdleTimeoutInMinutes"}, + "MinIdleTimeoutInMinutes":{"shape":"IdleTimeoutInMinutes"}, + "MaxIdleTimeoutInMinutes":{"shape":"IdleTimeoutInMinutes"} + } + }, + "IdleTimeoutInMinutes":{ + "type":"integer", + "max":525600, + "min":60 + }, "Image":{ "type":"structure", "required":[ @@ -14337,6 +14364,7 @@ "CustomImages":{"shape":"CustomImages"}, "LifecycleConfigArns":{"shape":"LifecycleConfigArns"}, "CodeRepositories":{"shape":"CodeRepositories"}, + "AppLifecycleManagement":{"shape":"AppLifecycleManagement"}, "EmrSettings":{"shape":"EmrSettings"} } }, @@ -14626,6 +14654,13 @@ "type":"list", "member":{"shape":"StudioLifecycleConfigArn"} }, + "LifecycleManagement":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, "LineageEntityParameters":{ "type":"map", "key":{"shape":"StringParameterValue"}, @@ -21451,6 +21486,12 @@ "min":1, "pattern":".*" }, + "SpaceAppLifecycleManagement":{ + "type":"structure", + "members":{ + "IdleSettings":{"shape":"SpaceIdleSettings"} + } + }, "SpaceArn":{ "type":"string", "max":256, @@ -21459,7 +21500,8 @@ "SpaceCodeEditorAppSettings":{ "type":"structure", "members":{ - "DefaultResourceSpec":{"shape":"ResourceSpec"} + "DefaultResourceSpec":{"shape":"ResourceSpec"}, + "AppLifecycleManagement":{"shape":"SpaceAppLifecycleManagement"} } }, "SpaceDetails":{ @@ -21481,11 +21523,18 @@ "max":16384, "min":5 }, + "SpaceIdleSettings":{ + "type":"structure", + "members":{ + "IdleTimeoutInMinutes":{"shape":"IdleTimeoutInMinutes"} + } + }, "SpaceJupyterLabAppSettings":{ "type":"structure", "members":{ "DefaultResourceSpec":{"shape":"ResourceSpec"}, - "CodeRepositories":{"shape":"CodeRepositories"} + "CodeRepositories":{"shape":"CodeRepositories"}, + "AppLifecycleManagement":{"shape":"SpaceAppLifecycleManagement"} } }, "SpaceList":{ diff --git a/apis/sagemaker/2017-07-24/docs-2.json b/apis/sagemaker/2017-07-24/docs-2.json index c656d3b54e6..44c2c48147f 100644 --- a/apis/sagemaker/2017-07-24/docs-2.json +++ b/apis/sagemaker/2017-07-24/docs-2.json @@ -674,6 +674,13 @@ "ResourceSpec$InstanceType": "

The instance type that the image version runs on.

JupyterServer apps only support the system value.

For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.

" } }, + "AppLifecycleManagement": { + "base": "

Settings that are used to configure and manage the lifecycle of Amazon SageMaker Studio applications.

", + "refs": { + "CodeEditorAppSettings$AppLifecycleManagement": "

Settings that are used to configure and manage the lifecycle of CodeEditor applications.

", + "JupyterLabAppSettings$AppLifecycleManagement": "

Indicates whether idle shutdown is activated for JupyterLab applications.

" + } + }, "AppList": { "base": null, "refs": { @@ -7277,6 +7284,13 @@ "HyperbandStrategyConfig$MinResource": "

The minimum number of resources (such as epochs) that can be used by a training job launched by a hyperparameter tuning job. If the value for MinResource has not been reached, the training job is not stopped by Hyperband.

" } }, + "IAMRoleArn": { + "base": null, + "refs": { + "ClusterInstanceGroupDetails$ExecutionRole": "

The execution role for the instance group to assume.

", + "ClusterInstanceGroupSpecification$ExecutionRole": "

Specifies an IAM execution role to be assumed by the instance group.

" + } + }, "IamIdentity": { "base": "

The IAM Identity details associated with the user. These details are associated with model package groups, model packages and project entities only.

", "refs": { @@ -7313,6 +7327,21 @@ "CanvasAppSettings$IdentityProviderOAuthSettings": "

The settings for connecting to an external data source with OAuth.

" } }, + "IdleSettings": { + "base": "

Settings related to idle shutdown of Studio applications.

", + "refs": { + "AppLifecycleManagement$IdleSettings": "

Settings related to idle shutdown of Studio applications.

" + } + }, + "IdleTimeoutInMinutes": { + "base": null, + "refs": { + "IdleSettings$IdleTimeoutInMinutes": "

The time that SageMaker waits after the application becomes idle before shutting it down.

", + "IdleSettings$MinIdleTimeoutInMinutes": "

The minimum value in minutes that custom idle shutdown can be set to by the user.

", + "IdleSettings$MaxIdleTimeoutInMinutes": "

The maximum value in minutes that custom idle shutdown can be set to by the user.

", + "SpaceIdleSettings$IdleTimeoutInMinutes": "

The time that SageMaker waits after the application becomes idle before shutting it down.

" + } + }, "Image": { "base": "

A SageMaker image. A SageMaker image represents a set of container images that are derived from a common base container image. Each of these container images is represented by a SageMaker ImageVersion.

", "refs": { @@ -8447,6 +8476,12 @@ "KernelGatewayAppSettings$LifecycleConfigArns": "

The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.

To remove a Lifecycle Config, you must set LifecycleConfigArns to an empty list.

" } }, + "LifecycleManagement": { + "base": null, + "refs": { + "IdleSettings$LifecycleManagement": "

Indicates whether idle shutdown is activated for the application type.

" + } + }, "LineageEntityParameters": { "base": null, "refs": { @@ -13502,8 +13537,6 @@ "refs": { "AlgorithmValidationSpecification$ValidationRole": "

The IAM roles that SageMaker uses to run the training jobs.

", "AssumableRoleArns$member": null, - "ClusterInstanceGroupDetails$ExecutionRole": "

The execution role for the instance group to assume.

", - "ClusterInstanceGroupSpecification$ExecutionRole": "

Specifies an IAM execution role to be assumed by the instance group.

", "CreateAutoMLJobRequest$RoleArn": "

The ARN of the role that is used to access the data.

", "CreateAutoMLJobV2Request$RoleArn": "

The ARN of the role that is used to access the data.

", "CreateCompilationJobRequest$RoleArn": "

The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker to perform tasks on your behalf.

During model compilation, Amazon SageMaker needs your permission to:

You grant permissions for all of these tasks to an IAM role. To pass this role to Amazon SageMaker, the caller of this API must have the iam:PassRole permission. For more information, see Amazon SageMaker Roles.

", @@ -14303,6 +14336,13 @@ "ListContextsRequest$SourceUri": "

A filter that returns only contexts with the specified source URI.

" } }, + "SpaceAppLifecycleManagement": { + "base": "

Settings that are used to configure and manage the lifecycle of Amazon SageMaker Studio applications in a space.

", + "refs": { + "SpaceCodeEditorAppSettings$AppLifecycleManagement": "

Settings that are used to configure and manage the lifecycle of CodeEditor applications in a space.

", + "SpaceJupyterLabAppSettings$AppLifecycleManagement": "

Settings that are used to configure and manage the lifecycle of JupyterLab applications in a space.

" + } + }, "SpaceArn": { "base": null, "refs": { @@ -14331,6 +14371,12 @@ "EbsStorageSettings$EbsVolumeSizeInGb": "

The size of an EBS storage volume for a space.

" } }, + "SpaceIdleSettings": { + "base": "

Settings related to idle shutdown of Studio applications in a space.

", + "refs": { + "SpaceAppLifecycleManagement$IdleSettings": "

Settings related to idle shutdown of Studio applications.

" + } + }, "SpaceJupyterLabAppSettings": { "base": "

The settings for the JupyterLab application within a space.

", "refs": { diff --git a/gems/aws-sdk-applicationsignals/CHANGELOG.md b/gems/aws-sdk-applicationsignals/CHANGELOG.md index 815b309ccb3..a4018a468a0 100644 --- a/gems/aws-sdk-applicationsignals/CHANGELOG.md +++ b/gems/aws-sdk-applicationsignals/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.6.0 (2024-09-05) +------------------ + +* Feature - Amazon CloudWatch Application Signals now supports creating Service Level Objectives using a new calculation type. Users can now create SLOs which are configured with request-based SLIs to help meet their specific business requirements. + 1.5.0 (2024-09-03) ------------------ diff --git a/gems/aws-sdk-applicationsignals/VERSION b/gems/aws-sdk-applicationsignals/VERSION index bc80560fad6..dc1e644a101 100644 --- a/gems/aws-sdk-applicationsignals/VERSION +++ b/gems/aws-sdk-applicationsignals/VERSION @@ -1 +1 @@ -1.5.0 +1.6.0 diff --git a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals.rb b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals.rb index 334b7a66be0..bbc9f06a961 100644 --- a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals.rb +++ b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals.rb @@ -52,6 +52,6 @@ # @!group service module Aws::ApplicationSignals - GEM_VERSION = '1.5.0' + GEM_VERSION = '1.6.0' end diff --git a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/client.rb b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/client.rb index cfdf6fe823a..2c0552be76f 100644 --- a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/client.rb +++ b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/client.rb @@ -440,12 +440,12 @@ def initialize(*args) # 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. + # 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. @@ -483,10 +483,13 @@ def initialize(*args) # resp.reports #=> Array # resp.reports[0].arn #=> String # resp.reports[0].name #=> String + # resp.reports[0].evaluation_type #=> String, one of "PeriodBased", "RequestBased" # resp.reports[0].budget_status #=> String, one of "OK", "WARNING", "BREACHED", "INSUFFICIENT_DATA" # resp.reports[0].attainment #=> Float # resp.reports[0].total_budget_seconds #=> Integer # resp.reports[0].budget_seconds_remaining #=> Integer + # resp.reports[0].total_budget_requests #=> Integer + # resp.reports[0].budget_requests_remaining #=> Integer # resp.reports[0].sli.sli_metric.key_attributes #=> Hash # resp.reports[0].sli.sli_metric.key_attributes["KeyAttributeName"] #=> String # resp.reports[0].sli.sli_metric.operation_name #=> String @@ -508,10 +511,61 @@ def initialize(*args) # resp.reports[0].sli.sli_metric.metric_data_queries[0].account_id #=> String # resp.reports[0].sli.metric_threshold #=> Float # resp.reports[0].sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo" - # resp.reports[0].goal.interval.rolling_interval.duration_unit #=> String, one of "DAY", "MONTH" + # resp.reports[0].request_based_sli.request_based_sli_metric.key_attributes #=> Hash + # resp.reports[0].request_based_sli.request_based_sli_metric.key_attributes["KeyAttributeName"] #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.operation_name #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.metric_type #=> String, one of "LATENCY", "AVAILABILITY" + # resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric #=> Array + # resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].id #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.namespace #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.metric_name #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions #=> Array + # resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].name #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].value #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.period #=> Integer + # resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.stat #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None" + # resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].expression #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].label #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].return_data #=> Boolean + # resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].period #=> Integer + # resp.reports[0].request_based_sli.request_based_sli_metric.total_request_count_metric[0].account_id #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric #=> Array + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].id #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.namespace #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.metric_name #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions #=> Array + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].name #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].value #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.period #=> Integer + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.stat #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None" + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].expression #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].label #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].return_data #=> Boolean + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].period #=> Integer + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].account_id #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric #=> Array + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].id #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.namespace #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.metric_name #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions #=> Array + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].name #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].value #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.period #=> Integer + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.stat #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None" + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].expression #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].label #=> String + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].return_data #=> Boolean + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].period #=> Integer + # resp.reports[0].request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].account_id #=> String + # resp.reports[0].request_based_sli.metric_threshold #=> Float + # resp.reports[0].request_based_sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo" + # resp.reports[0].goal.interval.rolling_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH" # resp.reports[0].goal.interval.rolling_interval.duration #=> Integer # resp.reports[0].goal.interval.calendar_interval.start_time #=> Time - # resp.reports[0].goal.interval.calendar_interval.duration_unit #=> String, one of "DAY", "MONTH" + # resp.reports[0].goal.interval.calendar_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH" # resp.reports[0].goal.interval.calendar_interval.duration #=> Integer # resp.reports[0].goal.attainment_goal #=> Float # resp.reports[0].goal.warning_threshold #=> Float @@ -541,21 +595,60 @@ def batch_get_service_level_objective_budget_report(params = {}, options = {}) # 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. + # 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 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. + # 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)][1]. # - # When you call this operation, Application Signals creates the + # 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: @@ -574,14 +667,6 @@ def batch_get_service_level_objective_budget_report(params = {}, options = {}) # # * `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)][1]. - # # # # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-ServiceLevelObjectives.html @@ -592,14 +677,23 @@ def batch_get_service_level_objective_budget_report(params = {}, options = {}) # @option params [String] :description # An optional description for this SLO. # - # @option params [required, Types::ServiceLevelIndicatorConfig] :sli_config - # A structure that contains information about what service and what - # performance metric that this SLO will monitor. + # @option params [Types::ServiceLevelIndicatorConfig] :sli_config + # 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. + # + # @option params [Types::RequestBasedServiceLevelIndicatorConfig] :request_based_sli_config + # 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. # # @option params [Types::Goal] :goal - # A structure that contains the attributes that determine the goal of - # the SLO. This includes the time period for evaluation and the - # attainment threshold. + # This structure contains the attributes that determine the goal of the + # SLO. # # @option params [Array] :tags # A list of key-value pairs to associate with the SLO. You can associate @@ -620,7 +714,7 @@ def batch_get_service_level_objective_budget_report(params = {}, options = {}) # resp = client.create_service_level_objective({ # name: "ServiceLevelObjectiveName", # required # description: "ServiceLevelObjectiveDescription", - # sli_config: { # required + # sli_config: { # sli_metric_config: { # required # key_attributes: { # "KeyAttributeName" => "KeyAttributeValue", @@ -658,15 +752,103 @@ def batch_get_service_level_objective_budget_report(params = {}, options = {}) # metric_threshold: 1.0, # required # comparison_operator: "GreaterThanOrEqualTo", # required, accepts GreaterThanOrEqualTo, GreaterThan, LessThan, LessThanOrEqualTo # }, + # request_based_sli_config: { + # request_based_sli_metric_config: { # required + # key_attributes: { + # "KeyAttributeName" => "KeyAttributeValue", + # }, + # operation_name: "OperationName", + # metric_type: "LATENCY", # accepts LATENCY, AVAILABILITY + # total_request_count_metric: [ + # { + # id: "MetricId", # required + # metric_stat: { + # metric: { # required + # namespace: "Namespace", + # metric_name: "MetricName", + # dimensions: [ + # { + # name: "DimensionName", # required + # value: "DimensionValue", # required + # }, + # ], + # }, + # period: 1, # required + # stat: "Stat", # required + # unit: "Microseconds", # accepts Microseconds, Milliseconds, Seconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None + # }, + # expression: "MetricExpression", + # label: "MetricLabel", + # return_data: false, + # period: 1, + # account_id: "AccountId", + # }, + # ], + # monitored_request_count_metric: { + # good_count_metric: [ + # { + # id: "MetricId", # required + # metric_stat: { + # metric: { # required + # namespace: "Namespace", + # metric_name: "MetricName", + # dimensions: [ + # { + # name: "DimensionName", # required + # value: "DimensionValue", # required + # }, + # ], + # }, + # period: 1, # required + # stat: "Stat", # required + # unit: "Microseconds", # accepts Microseconds, Milliseconds, Seconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None + # }, + # expression: "MetricExpression", + # label: "MetricLabel", + # return_data: false, + # period: 1, + # account_id: "AccountId", + # }, + # ], + # bad_count_metric: [ + # { + # id: "MetricId", # required + # metric_stat: { + # metric: { # required + # namespace: "Namespace", + # metric_name: "MetricName", + # dimensions: [ + # { + # name: "DimensionName", # required + # value: "DimensionValue", # required + # }, + # ], + # }, + # period: 1, # required + # stat: "Stat", # required + # unit: "Microseconds", # accepts Microseconds, Milliseconds, Seconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None + # }, + # expression: "MetricExpression", + # label: "MetricLabel", + # return_data: false, + # period: 1, + # account_id: "AccountId", + # }, + # ], + # }, + # }, + # metric_threshold: 1.0, + # comparison_operator: "GreaterThanOrEqualTo", # accepts GreaterThanOrEqualTo, GreaterThan, LessThan, LessThanOrEqualTo + # }, # goal: { # interval: { # rolling_interval: { - # duration_unit: "DAY", # required, accepts DAY, MONTH + # duration_unit: "MINUTE", # required, accepts MINUTE, HOUR, DAY, MONTH # duration: 1, # required # }, # calendar_interval: { # start_time: Time.now, # required - # duration_unit: "DAY", # required, accepts DAY, MONTH + # duration_unit: "MINUTE", # required, accepts MINUTE, HOUR, DAY, MONTH # duration: 1, # required # }, # }, @@ -709,10 +891,62 @@ def batch_get_service_level_objective_budget_report(params = {}, options = {}) # resp.slo.sli.sli_metric.metric_data_queries[0].account_id #=> String # resp.slo.sli.metric_threshold #=> Float # resp.slo.sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo" - # resp.slo.goal.interval.rolling_interval.duration_unit #=> String, one of "DAY", "MONTH" + # resp.slo.request_based_sli.request_based_sli_metric.key_attributes #=> Hash + # resp.slo.request_based_sli.request_based_sli_metric.key_attributes["KeyAttributeName"] #=> String + # resp.slo.request_based_sli.request_based_sli_metric.operation_name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.metric_type #=> String, one of "LATENCY", "AVAILABILITY" + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].id #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.namespace #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.metric_name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].value #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.stat #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None" + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].expression #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].label #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].return_data #=> Boolean + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].account_id #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].id #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.namespace #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.metric_name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].value #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.stat #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None" + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].expression #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].label #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].return_data #=> Boolean + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].account_id #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].id #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.namespace #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.metric_name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].value #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.stat #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None" + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].expression #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].label #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].return_data #=> Boolean + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].account_id #=> String + # resp.slo.request_based_sli.metric_threshold #=> Float + # resp.slo.request_based_sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo" + # resp.slo.evaluation_type #=> String, one of "PeriodBased", "RequestBased" + # resp.slo.goal.interval.rolling_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH" # resp.slo.goal.interval.rolling_interval.duration #=> Integer # resp.slo.goal.interval.calendar_interval.start_time #=> Time - # resp.slo.goal.interval.calendar_interval.duration_unit #=> String, one of "DAY", "MONTH" + # resp.slo.goal.interval.calendar_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH" # resp.slo.goal.interval.calendar_interval.duration #=> Integer # resp.slo.goal.attainment_goal #=> Float # resp.slo.goal.warning_threshold #=> Float @@ -886,10 +1120,62 @@ def get_service(params = {}, options = {}) # resp.slo.sli.sli_metric.metric_data_queries[0].account_id #=> String # resp.slo.sli.metric_threshold #=> Float # resp.slo.sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo" - # resp.slo.goal.interval.rolling_interval.duration_unit #=> String, one of "DAY", "MONTH" + # resp.slo.request_based_sli.request_based_sli_metric.key_attributes #=> Hash + # resp.slo.request_based_sli.request_based_sli_metric.key_attributes["KeyAttributeName"] #=> String + # resp.slo.request_based_sli.request_based_sli_metric.operation_name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.metric_type #=> String, one of "LATENCY", "AVAILABILITY" + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].id #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.namespace #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.metric_name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].value #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.stat #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None" + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].expression #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].label #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].return_data #=> Boolean + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].account_id #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].id #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.namespace #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.metric_name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].value #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.stat #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None" + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].expression #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].label #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].return_data #=> Boolean + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].account_id #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].id #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.namespace #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.metric_name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].value #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.stat #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None" + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].expression #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].label #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].return_data #=> Boolean + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].account_id #=> String + # resp.slo.request_based_sli.metric_threshold #=> Float + # resp.slo.request_based_sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo" + # resp.slo.evaluation_type #=> String, one of "PeriodBased", "RequestBased" + # resp.slo.goal.interval.rolling_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH" # resp.slo.goal.interval.rolling_interval.duration #=> Integer # resp.slo.goal.interval.calendar_interval.start_time #=> Time - # resp.slo.goal.interval.calendar_interval.duration_unit #=> String, one of "DAY", "MONTH" + # resp.slo.goal.interval.calendar_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH" # resp.slo.goal.interval.calendar_interval.duration #=> Integer # resp.slo.goal.attainment_goal #=> Float # resp.slo.goal.warning_threshold #=> Float @@ -1522,6 +1808,9 @@ def untag_resource(params = {}, options = {}) # 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. + # # @option params [required, String] :id # The Amazon Resource Name (ARN) or name of the service level objective # that you want to update. @@ -1530,8 +1819,15 @@ def untag_resource(params = {}, options = {}) # An optional description for the SLO. # # @option params [Types::ServiceLevelIndicatorConfig] :sli_config - # A structure that contains information about what performance metric - # this SLO will monitor. + # If this SLO is a period-based SLO, this structure defines the + # information about what performance metric this SLO will monitor. + # + # @option params [Types::RequestBasedServiceLevelIndicatorConfig] :request_based_sli_config + # 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. # # @option params [Types::Goal] :goal # A structure that contains the attributes that determine the goal of @@ -1585,15 +1881,103 @@ def untag_resource(params = {}, options = {}) # metric_threshold: 1.0, # required # comparison_operator: "GreaterThanOrEqualTo", # required, accepts GreaterThanOrEqualTo, GreaterThan, LessThan, LessThanOrEqualTo # }, + # request_based_sli_config: { + # request_based_sli_metric_config: { # required + # key_attributes: { + # "KeyAttributeName" => "KeyAttributeValue", + # }, + # operation_name: "OperationName", + # metric_type: "LATENCY", # accepts LATENCY, AVAILABILITY + # total_request_count_metric: [ + # { + # id: "MetricId", # required + # metric_stat: { + # metric: { # required + # namespace: "Namespace", + # metric_name: "MetricName", + # dimensions: [ + # { + # name: "DimensionName", # required + # value: "DimensionValue", # required + # }, + # ], + # }, + # period: 1, # required + # stat: "Stat", # required + # unit: "Microseconds", # accepts Microseconds, Milliseconds, Seconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None + # }, + # expression: "MetricExpression", + # label: "MetricLabel", + # return_data: false, + # period: 1, + # account_id: "AccountId", + # }, + # ], + # monitored_request_count_metric: { + # good_count_metric: [ + # { + # id: "MetricId", # required + # metric_stat: { + # metric: { # required + # namespace: "Namespace", + # metric_name: "MetricName", + # dimensions: [ + # { + # name: "DimensionName", # required + # value: "DimensionValue", # required + # }, + # ], + # }, + # period: 1, # required + # stat: "Stat", # required + # unit: "Microseconds", # accepts Microseconds, Milliseconds, Seconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None + # }, + # expression: "MetricExpression", + # label: "MetricLabel", + # return_data: false, + # period: 1, + # account_id: "AccountId", + # }, + # ], + # bad_count_metric: [ + # { + # id: "MetricId", # required + # metric_stat: { + # metric: { # required + # namespace: "Namespace", + # metric_name: "MetricName", + # dimensions: [ + # { + # name: "DimensionName", # required + # value: "DimensionValue", # required + # }, + # ], + # }, + # period: 1, # required + # stat: "Stat", # required + # unit: "Microseconds", # accepts Microseconds, Milliseconds, Seconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None + # }, + # expression: "MetricExpression", + # label: "MetricLabel", + # return_data: false, + # period: 1, + # account_id: "AccountId", + # }, + # ], + # }, + # }, + # metric_threshold: 1.0, + # comparison_operator: "GreaterThanOrEqualTo", # accepts GreaterThanOrEqualTo, GreaterThan, LessThan, LessThanOrEqualTo + # }, # goal: { # interval: { # rolling_interval: { - # duration_unit: "DAY", # required, accepts DAY, MONTH + # duration_unit: "MINUTE", # required, accepts MINUTE, HOUR, DAY, MONTH # duration: 1, # required # }, # calendar_interval: { # start_time: Time.now, # required - # duration_unit: "DAY", # required, accepts DAY, MONTH + # duration_unit: "MINUTE", # required, accepts MINUTE, HOUR, DAY, MONTH # duration: 1, # required # }, # }, @@ -1630,10 +2014,62 @@ def untag_resource(params = {}, options = {}) # resp.slo.sli.sli_metric.metric_data_queries[0].account_id #=> String # resp.slo.sli.metric_threshold #=> Float # resp.slo.sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo" - # resp.slo.goal.interval.rolling_interval.duration_unit #=> String, one of "DAY", "MONTH" + # resp.slo.request_based_sli.request_based_sli_metric.key_attributes #=> Hash + # resp.slo.request_based_sli.request_based_sli_metric.key_attributes["KeyAttributeName"] #=> String + # resp.slo.request_based_sli.request_based_sli_metric.operation_name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.metric_type #=> String, one of "LATENCY", "AVAILABILITY" + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].id #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.namespace #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.metric_name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.metric.dimensions[0].value #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.stat #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None" + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].expression #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].label #=> String + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].return_data #=> Boolean + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.total_request_count_metric[0].account_id #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].id #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.namespace #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.metric_name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.metric.dimensions[0].value #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.stat #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None" + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].expression #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].label #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].return_data #=> Boolean + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.good_count_metric[0].account_id #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].id #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.namespace #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.metric_name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions #=> Array + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].name #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.metric.dimensions[0].value #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.stat #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].metric_stat.unit #=> String, one of "Microseconds", "Milliseconds", "Seconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None" + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].expression #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].label #=> String + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].return_data #=> Boolean + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].period #=> Integer + # resp.slo.request_based_sli.request_based_sli_metric.monitored_request_count_metric.bad_count_metric[0].account_id #=> String + # resp.slo.request_based_sli.metric_threshold #=> Float + # resp.slo.request_based_sli.comparison_operator #=> String, one of "GreaterThanOrEqualTo", "GreaterThan", "LessThan", "LessThanOrEqualTo" + # resp.slo.evaluation_type #=> String, one of "PeriodBased", "RequestBased" + # resp.slo.goal.interval.rolling_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH" # resp.slo.goal.interval.rolling_interval.duration #=> Integer # resp.slo.goal.interval.calendar_interval.start_time #=> Time - # resp.slo.goal.interval.calendar_interval.duration_unit #=> String, one of "DAY", "MONTH" + # resp.slo.goal.interval.calendar_interval.duration_unit #=> String, one of "MINUTE", "HOUR", "DAY", "MONTH" # resp.slo.goal.interval.calendar_interval.duration #=> Integer # resp.slo.goal.attainment_goal #=> Float # resp.slo.goal.warning_threshold #=> Float @@ -1665,7 +2101,7 @@ def build_request(operation_name, params = {}) tracer: tracer ) context[:gem_name] = 'aws-sdk-applicationsignals' - context[:gem_version] = '1.5.0' + context[:gem_version] = '1.6.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/client_api.rb b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/client_api.rb index 07ee258f1a4..e456ebd30a3 100644 --- a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/client_api.rb +++ b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/client_api.rb @@ -23,6 +23,7 @@ module ClientApi Attributes = Shapes::MapShape.new(name: 'Attributes') BatchGetServiceLevelObjectiveBudgetReportInput = Shapes::StructureShape.new(name: 'BatchGetServiceLevelObjectiveBudgetReportInput') BatchGetServiceLevelObjectiveBudgetReportOutput = Shapes::StructureShape.new(name: 'BatchGetServiceLevelObjectiveBudgetReportOutput') + BudgetRequestsRemaining = Shapes::IntegerShape.new(name: 'BudgetRequestsRemaining') BudgetSecondsRemaining = Shapes::IntegerShape.new(name: 'BudgetSecondsRemaining') CalendarInterval = Shapes::StructureShape.new(name: 'CalendarInterval') CalendarIntervalDuration = Shapes::IntegerShape.new(name: 'CalendarIntervalDuration') @@ -36,6 +37,7 @@ module ClientApi DimensionValue = Shapes::StringShape.new(name: 'DimensionValue') Dimensions = Shapes::ListShape.new(name: 'Dimensions') DurationUnit = Shapes::StringShape.new(name: 'DurationUnit') + EvaluationType = Shapes::StringShape.new(name: 'EvaluationType') FaultDescription = Shapes::StringShape.new(name: 'FaultDescription') GetServiceInput = Shapes::StructureShape.new(name: 'GetServiceInput') GetServiceLevelObjectiveInput = Shapes::StructureShape.new(name: 'GetServiceLevelObjectiveInput') @@ -74,10 +76,15 @@ module ClientApi MetricReferences = Shapes::ListShape.new(name: 'MetricReferences') MetricStat = Shapes::StructureShape.new(name: 'MetricStat') MetricType = Shapes::StringShape.new(name: 'MetricType') + MonitoredRequestCountMetricDataQueries = Shapes::UnionShape.new(name: 'MonitoredRequestCountMetricDataQueries') Namespace = Shapes::StringShape.new(name: 'Namespace') NextToken = Shapes::StringShape.new(name: 'NextToken') OperationName = Shapes::StringShape.new(name: 'OperationName') Period = Shapes::IntegerShape.new(name: 'Period') + RequestBasedServiceLevelIndicator = Shapes::StructureShape.new(name: 'RequestBasedServiceLevelIndicator') + RequestBasedServiceLevelIndicatorConfig = Shapes::StructureShape.new(name: 'RequestBasedServiceLevelIndicatorConfig') + RequestBasedServiceLevelIndicatorMetric = Shapes::StructureShape.new(name: 'RequestBasedServiceLevelIndicatorMetric') + RequestBasedServiceLevelIndicatorMetricConfig = Shapes::StructureShape.new(name: 'RequestBasedServiceLevelIndicatorMetricConfig') ResourceId = Shapes::StringShape.new(name: 'ResourceId') ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException') ResourceType = Shapes::StringShape.new(name: 'ResourceType') @@ -133,6 +140,7 @@ module ClientApi TagValue = Shapes::StringShape.new(name: 'TagValue') ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException') Timestamp = Shapes::TimestampShape.new(name: 'Timestamp') + TotalBudgetRequests = Shapes::IntegerShape.new(name: 'TotalBudgetRequests') TotalBudgetSeconds = Shapes::IntegerShape.new(name: 'TotalBudgetSeconds') UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest') UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse') @@ -172,7 +180,8 @@ module ClientApi CreateServiceLevelObjectiveInput.add_member(:name, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveName, required: true, location_name: "Name")) CreateServiceLevelObjectiveInput.add_member(:description, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveDescription, location_name: "Description")) - CreateServiceLevelObjectiveInput.add_member(:sli_config, Shapes::ShapeRef.new(shape: ServiceLevelIndicatorConfig, required: true, location_name: "SliConfig")) + CreateServiceLevelObjectiveInput.add_member(:sli_config, Shapes::ShapeRef.new(shape: ServiceLevelIndicatorConfig, location_name: "SliConfig")) + CreateServiceLevelObjectiveInput.add_member(:request_based_sli_config, Shapes::ShapeRef.new(shape: RequestBasedServiceLevelIndicatorConfig, location_name: "RequestBasedSliConfig")) CreateServiceLevelObjectiveInput.add_member(:goal, Shapes::ShapeRef.new(shape: Goal, location_name: "Goal")) CreateServiceLevelObjectiveInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags")) CreateServiceLevelObjectiveInput.struct_class = Types::CreateServiceLevelObjectiveInput @@ -320,6 +329,38 @@ module ClientApi MetricStat.add_member(:unit, Shapes::ShapeRef.new(shape: StandardUnit, location_name: "Unit")) MetricStat.struct_class = Types::MetricStat + MonitoredRequestCountMetricDataQueries.add_member(:good_count_metric, Shapes::ShapeRef.new(shape: MetricDataQueries, location_name: "GoodCountMetric")) + MonitoredRequestCountMetricDataQueries.add_member(:bad_count_metric, Shapes::ShapeRef.new(shape: MetricDataQueries, location_name: "BadCountMetric")) + MonitoredRequestCountMetricDataQueries.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown')) + MonitoredRequestCountMetricDataQueries.add_member_subclass(:good_count_metric, Types::MonitoredRequestCountMetricDataQueries::GoodCountMetric) + MonitoredRequestCountMetricDataQueries.add_member_subclass(:bad_count_metric, Types::MonitoredRequestCountMetricDataQueries::BadCountMetric) + MonitoredRequestCountMetricDataQueries.add_member_subclass(:unknown, Types::MonitoredRequestCountMetricDataQueries::Unknown) + MonitoredRequestCountMetricDataQueries.struct_class = Types::MonitoredRequestCountMetricDataQueries + + RequestBasedServiceLevelIndicator.add_member(:request_based_sli_metric, Shapes::ShapeRef.new(shape: RequestBasedServiceLevelIndicatorMetric, required: true, location_name: "RequestBasedSliMetric")) + RequestBasedServiceLevelIndicator.add_member(:metric_threshold, Shapes::ShapeRef.new(shape: ServiceLevelIndicatorMetricThreshold, location_name: "MetricThreshold")) + RequestBasedServiceLevelIndicator.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ServiceLevelIndicatorComparisonOperator, location_name: "ComparisonOperator")) + RequestBasedServiceLevelIndicator.struct_class = Types::RequestBasedServiceLevelIndicator + + RequestBasedServiceLevelIndicatorConfig.add_member(:request_based_sli_metric_config, Shapes::ShapeRef.new(shape: RequestBasedServiceLevelIndicatorMetricConfig, required: true, location_name: "RequestBasedSliMetricConfig")) + RequestBasedServiceLevelIndicatorConfig.add_member(:metric_threshold, Shapes::ShapeRef.new(shape: ServiceLevelIndicatorMetricThreshold, location_name: "MetricThreshold")) + RequestBasedServiceLevelIndicatorConfig.add_member(:comparison_operator, Shapes::ShapeRef.new(shape: ServiceLevelIndicatorComparisonOperator, location_name: "ComparisonOperator")) + RequestBasedServiceLevelIndicatorConfig.struct_class = Types::RequestBasedServiceLevelIndicatorConfig + + RequestBasedServiceLevelIndicatorMetric.add_member(:key_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "KeyAttributes")) + RequestBasedServiceLevelIndicatorMetric.add_member(:operation_name, Shapes::ShapeRef.new(shape: OperationName, location_name: "OperationName")) + RequestBasedServiceLevelIndicatorMetric.add_member(:metric_type, Shapes::ShapeRef.new(shape: ServiceLevelIndicatorMetricType, location_name: "MetricType")) + RequestBasedServiceLevelIndicatorMetric.add_member(:total_request_count_metric, Shapes::ShapeRef.new(shape: MetricDataQueries, required: true, location_name: "TotalRequestCountMetric")) + RequestBasedServiceLevelIndicatorMetric.add_member(:monitored_request_count_metric, Shapes::ShapeRef.new(shape: MonitoredRequestCountMetricDataQueries, required: true, location_name: "MonitoredRequestCountMetric")) + RequestBasedServiceLevelIndicatorMetric.struct_class = Types::RequestBasedServiceLevelIndicatorMetric + + RequestBasedServiceLevelIndicatorMetricConfig.add_member(:key_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "KeyAttributes")) + RequestBasedServiceLevelIndicatorMetricConfig.add_member(:operation_name, Shapes::ShapeRef.new(shape: OperationName, location_name: "OperationName")) + RequestBasedServiceLevelIndicatorMetricConfig.add_member(:metric_type, Shapes::ShapeRef.new(shape: ServiceLevelIndicatorMetricType, location_name: "MetricType")) + RequestBasedServiceLevelIndicatorMetricConfig.add_member(:total_request_count_metric, Shapes::ShapeRef.new(shape: MetricDataQueries, location_name: "TotalRequestCountMetric")) + RequestBasedServiceLevelIndicatorMetricConfig.add_member(:monitored_request_count_metric, Shapes::ShapeRef.new(shape: MonitoredRequestCountMetricDataQueries, location_name: "MonitoredRequestCountMetric")) + RequestBasedServiceLevelIndicatorMetricConfig.struct_class = Types::RequestBasedServiceLevelIndicatorMetricConfig + ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType")) ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId")) ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: FaultDescription, required: true, location_name: "Message")) @@ -380,17 +421,23 @@ module ClientApi ServiceLevelObjective.add_member(:description, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveDescription, location_name: "Description")) ServiceLevelObjective.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreatedTime")) ServiceLevelObjective.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "LastUpdatedTime")) - ServiceLevelObjective.add_member(:sli, Shapes::ShapeRef.new(shape: ServiceLevelIndicator, required: true, location_name: "Sli")) + ServiceLevelObjective.add_member(:sli, Shapes::ShapeRef.new(shape: ServiceLevelIndicator, location_name: "Sli")) + ServiceLevelObjective.add_member(:request_based_sli, Shapes::ShapeRef.new(shape: RequestBasedServiceLevelIndicator, location_name: "RequestBasedSli")) + ServiceLevelObjective.add_member(:evaluation_type, Shapes::ShapeRef.new(shape: EvaluationType, location_name: "EvaluationType")) ServiceLevelObjective.add_member(:goal, Shapes::ShapeRef.new(shape: Goal, required: true, location_name: "Goal")) ServiceLevelObjective.struct_class = Types::ServiceLevelObjective ServiceLevelObjectiveBudgetReport.add_member(:arn, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveArn, required: true, location_name: "Arn")) ServiceLevelObjectiveBudgetReport.add_member(:name, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveName, required: true, location_name: "Name")) + ServiceLevelObjectiveBudgetReport.add_member(:evaluation_type, Shapes::ShapeRef.new(shape: EvaluationType, location_name: "EvaluationType")) ServiceLevelObjectiveBudgetReport.add_member(:budget_status, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveBudgetStatus, required: true, location_name: "BudgetStatus")) ServiceLevelObjectiveBudgetReport.add_member(:attainment, Shapes::ShapeRef.new(shape: Attainment, location_name: "Attainment")) ServiceLevelObjectiveBudgetReport.add_member(:total_budget_seconds, Shapes::ShapeRef.new(shape: TotalBudgetSeconds, location_name: "TotalBudgetSeconds")) ServiceLevelObjectiveBudgetReport.add_member(:budget_seconds_remaining, Shapes::ShapeRef.new(shape: BudgetSecondsRemaining, location_name: "BudgetSecondsRemaining")) + ServiceLevelObjectiveBudgetReport.add_member(:total_budget_requests, Shapes::ShapeRef.new(shape: TotalBudgetRequests, location_name: "TotalBudgetRequests")) + ServiceLevelObjectiveBudgetReport.add_member(:budget_requests_remaining, Shapes::ShapeRef.new(shape: BudgetRequestsRemaining, location_name: "BudgetRequestsRemaining")) ServiceLevelObjectiveBudgetReport.add_member(:sli, Shapes::ShapeRef.new(shape: ServiceLevelIndicator, location_name: "Sli")) + ServiceLevelObjectiveBudgetReport.add_member(:request_based_sli, Shapes::ShapeRef.new(shape: RequestBasedServiceLevelIndicator, location_name: "RequestBasedSli")) ServiceLevelObjectiveBudgetReport.add_member(:goal, Shapes::ShapeRef.new(shape: Goal, location_name: "Goal")) ServiceLevelObjectiveBudgetReport.struct_class = Types::ServiceLevelObjectiveBudgetReport @@ -461,6 +508,7 @@ module ClientApi UpdateServiceLevelObjectiveInput.add_member(:id, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveId, required: true, location: "uri", location_name: "Id")) UpdateServiceLevelObjectiveInput.add_member(:description, Shapes::ShapeRef.new(shape: ServiceLevelObjectiveDescription, location_name: "Description")) UpdateServiceLevelObjectiveInput.add_member(:sli_config, Shapes::ShapeRef.new(shape: ServiceLevelIndicatorConfig, location_name: "SliConfig")) + UpdateServiceLevelObjectiveInput.add_member(:request_based_sli_config, Shapes::ShapeRef.new(shape: RequestBasedServiceLevelIndicatorConfig, location_name: "RequestBasedSliConfig")) UpdateServiceLevelObjectiveInput.add_member(:goal, Shapes::ShapeRef.new(shape: Goal, location_name: "Goal")) UpdateServiceLevelObjectiveInput.struct_class = Types::UpdateServiceLevelObjectiveInput diff --git a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb index ead8177a825..3ca93e9434d 100644 --- a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb +++ b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/types.rb @@ -125,14 +125,24 @@ class ConflictException < Struct.new( # @return [String] # # @!attribute [rw] sli_config - # A structure that contains information about what service and what - # performance metric that this SLO will monitor. + # 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. # @return [Types::ServiceLevelIndicatorConfig] # + # @!attribute [rw] request_based_sli_config + # 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. + # @return [Types::RequestBasedServiceLevelIndicatorConfig] + # # @!attribute [rw] goal - # A structure that contains the attributes that determine the goal of - # the SLO. This includes the time period for evaluation and the - # attainment threshold. + # This structure contains the attributes that determine the goal of + # the SLO. # @return [Types::Goal] # # @!attribute [rw] tags @@ -153,6 +163,7 @@ class CreateServiceLevelObjectiveInput < Struct.new( :name, :description, :sli_config, + :request_based_sli_config, :goal, :tags) SENSITIVE = [] @@ -360,12 +371,17 @@ class GetServiceOutput < Struct.new( # @return [Types::Interval] # # @!attribute [rw] attainment_goal - # 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. + # 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. @@ -1063,7 +1079,7 @@ class Metric < Struct.new( # # @!attribute [rw] account_id # The ID of the account where this metric is located. If you are - # performing this operatiion in a monitoring account, use this to + # performing this operation in a monitoring account, use this to # specify which source account to retrieve this metric from. # @return [String] # @@ -1171,6 +1187,233 @@ class MetricStat < Struct.new( include Aws::Structure end + # 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. + # + # @note MonitoredRequestCountMetricDataQueries is a union - when making an API calls you must set exactly one of the members. + # + # @note MonitoredRequestCountMetricDataQueries is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of MonitoredRequestCountMetricDataQueries corresponding to the set member. + # + # @!attribute [rw] good_count_metric + # 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. + # @return [Array] + # + # @!attribute [rw] bad_count_metric + # 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. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/MonitoredRequestCountMetricDataQueries AWS API Documentation + # + class MonitoredRequestCountMetricDataQueries < Struct.new( + :good_count_metric, + :bad_count_metric, + :unknown) + SENSITIVE = [] + include Aws::Structure + include Aws::Structure::Union + + class GoodCountMetric < MonitoredRequestCountMetricDataQueries; end + class BadCountMetric < MonitoredRequestCountMetricDataQueries; end + class Unknown < MonitoredRequestCountMetricDataQueries; end + end + + # This structure contains information about the performance metric that + # a request-based SLO monitors. + # + # @!attribute [rw] request_based_sli_metric + # A structure that contains information about the metric that the SLO + # monitors. + # @return [Types::RequestBasedServiceLevelIndicatorMetric] + # + # @!attribute [rw] metric_threshold + # This value is the threshold that the observed metric values of the + # SLI metric are compared to. + # @return [Float] + # + # @!attribute [rw] comparison_operator + # The arithmetic operation used when comparing the specified metric to + # the threshold. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/RequestBasedServiceLevelIndicator AWS API Documentation + # + class RequestBasedServiceLevelIndicator < Struct.new( + :request_based_sli_metric, + :metric_threshold, + :comparison_operator) + SENSITIVE = [] + include Aws::Structure + end + + # This structure specifies the information about the service and the + # performance metric that a request-based SLO is to monitor. + # + # @!attribute [rw] request_based_sli_metric_config + # Use this structure to specify the metric to be used for the SLO. + # @return [Types::RequestBasedServiceLevelIndicatorMetricConfig] + # + # @!attribute [rw] metric_threshold + # The value that the SLI metric is compared to. This parameter is + # required if this SLO is tracking the `Latency` metric. + # @return [Float] + # + # @!attribute [rw] comparison_operator + # 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. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/RequestBasedServiceLevelIndicatorConfig AWS API Documentation + # + class RequestBasedServiceLevelIndicatorConfig < Struct.new( + :request_based_sli_metric_config, + :metric_threshold, + :comparison_operator) + SENSITIVE = [] + include Aws::Structure + end + + # This structure contains the information about the metric that is used + # for a request-based SLO. + # + # @!attribute [rw] key_attributes + # 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. + # @return [Hash] + # + # @!attribute [rw] operation_name + # If the SLO monitors a specific operation of the service, this field + # displays that operation name. + # @return [String] + # + # @!attribute [rw] metric_type + # If the SLO monitors either the `LATENCY` or `AVAILABILITY` metric + # that Application Signals collects, this field displays which of + # those metrics is used. + # @return [String] + # + # @!attribute [rw] total_request_count_metric + # 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`. + # @return [Array] + # + # @!attribute [rw] monitored_request_count_metric + # 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. + # @return [Types::MonitoredRequestCountMetricDataQueries] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/RequestBasedServiceLevelIndicatorMetric AWS API Documentation + # + class RequestBasedServiceLevelIndicatorMetric < Struct.new( + :key_attributes, + :operation_name, + :metric_type, + :total_request_count_metric, + :monitored_request_count_metric) + SENSITIVE = [] + include Aws::Structure + end + + # Use this structure to specify the information for the metric that a + # period-based SLO will monitor. + # + # @!attribute [rw] key_attributes + # 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. + # @return [Hash] + # + # @!attribute [rw] operation_name + # If the SLO is to monitor a specific operation of the service, use + # this field to specify the name of that operation. + # @return [String] + # + # @!attribute [rw] metric_type + # 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. + # @return [String] + # + # @!attribute [rw] total_request_count_metric + # 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`. + # @return [Array] + # + # @!attribute [rw] monitored_request_count_metric + # 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. + # @return [Types::MonitoredRequestCountMetricDataQueries] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/RequestBasedServiceLevelIndicatorMetricConfig AWS API Documentation + # + class RequestBasedServiceLevelIndicatorMetricConfig < Struct.new( + :key_attributes, + :operation_name, + :metric_type, + :total_request_count_metric, + :monitored_request_count_metric) + SENSITIVE = [] + include Aws::Structure + end + # Resource not found. # # @!attribute [rw] resource_type @@ -1272,7 +1515,7 @@ class RollingInterval < Struct.new( # # * `Host` is the name of the host, for all platform types. # - # Applciation attributes contain information about the application. + # Application attributes contain information about the application. # # * `AWS.Application` is the application's name in Amazon Web # Services Service Catalog AppRegistry. @@ -1425,7 +1668,7 @@ class ServiceDependent < Struct.new( end # This structure contains information about the performance metric that - # an SLO monitors. + # a period-based SLO monitors. # # @!attribute [rw] sli_metric # A structure that contains information about the metric that the SLO @@ -1452,14 +1695,16 @@ class ServiceLevelIndicator < Struct.new( end # This structure specifies the information about the service and the - # performance metric that an SLO is to monitor. + # performance metric that a period-based SLO is to monitor. # # @!attribute [rw] sli_metric_config # Use this structure to specify the metric to be used for the SLO. # @return [Types::ServiceLevelIndicatorMetricConfig] # # @!attribute [rw] metric_threshold - # The value that the SLI metric is compared to. + # 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. # @return [Float] # # @!attribute [rw] comparison_operator @@ -1478,7 +1723,7 @@ class ServiceLevelIndicatorConfig < Struct.new( end # This structure contains the information about the metric that is used - # for the SLO. + # for a period-based SLO. # # @!attribute [rw] key_attributes # This is a string-to-string map that contains information about the @@ -1531,8 +1776,8 @@ class ServiceLevelIndicatorMetric < Struct.new( include Aws::Structure end - # Use this structure to specify the information for the metric that the - # SLO will monitor. + # Use this structure to specify the information for the metric that a + # period-based SLO will monitor. # # @!attribute [rw] key_attributes # If this SLO is related to a metric collected by Application Signals, @@ -1642,9 +1887,18 @@ class ServiceLevelIndicatorMetricConfig < Struct.new( # # @!attribute [rw] sli # A structure containing information about the performance metric that - # this SLO monitors. + # this SLO monitors, if this is a period-based SLO. # @return [Types::ServiceLevelIndicator] # + # @!attribute [rw] request_based_sli + # A structure containing information about the performance metric that + # this SLO monitors, if this is a request-based SLO. + # @return [Types::RequestBasedServiceLevelIndicator] + # + # @!attribute [rw] evaluation_type + # Displays whether this is a period-based SLO or a request-based SLO. + # @return [String] + # # @!attribute [rw] goal # This structure contains the attributes that determine the goal of an # SLO. This includes the time period for evaluation and the attainment @@ -1660,6 +1914,8 @@ class ServiceLevelObjective < Struct.new( :created_time, :last_updated_time, :sli, + :request_based_sli, + :evaluation_type, :goal) SENSITIVE = [] include Aws::Structure @@ -1675,6 +1931,11 @@ class ServiceLevelObjective < Struct.new( # The name of the SLO that this report is for. # @return [String] # + # @!attribute [rw] evaluation_type + # Displays whether this budget report is for a period-based SLO or a + # request-based SLO. + # @return [String] + # # @!attribute [rw] budget_status # The status of this SLO, as it relates to the error budget for the # entire time interval. @@ -1689,19 +1950,28 @@ class ServiceLevelObjective < Struct.new( # * `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 + # * `INSUFFICIENT_DATA` means that the specified start and end times # were before the SLO was created, or that attainment data is # missing. # @return [String] # # @!attribute [rw] attainment - # A number between 0 and 100 that represents the percentage of time + # 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. # @return [Float] # # @!attribute [rw] total_budget_seconds # 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. # @return [Integer] # # @!attribute [rw] budget_seconds_remaining @@ -1709,6 +1979,32 @@ class ServiceLevelObjective < Struct.new( # `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. + # @return [Integer] + # + # @!attribute [rw] total_budget_requests + # 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. + # @return [Integer] + # + # @!attribute [rw] budget_requests_remaining + # 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. # @return [Integer] # # @!attribute [rw] sli @@ -1716,6 +2012,11 @@ class ServiceLevelObjective < Struct.new( # that this SLO monitors. # @return [Types::ServiceLevelIndicator] # + # @!attribute [rw] request_based_sli + # This structure contains information about the performance metric + # that a request-based SLO monitors. + # @return [Types::RequestBasedServiceLevelIndicator] + # # @!attribute [rw] goal # This structure contains the attributes that determine the goal of an # SLO. This includes the time period for evaluation and the attainment @@ -1727,11 +2028,15 @@ class ServiceLevelObjective < Struct.new( class ServiceLevelObjectiveBudgetReport < Struct.new( :arn, :name, + :evaluation_type, :budget_status, :attainment, :total_budget_seconds, :budget_seconds_remaining, + :total_budget_requests, + :budget_requests_remaining, :sli, + :request_based_sli, :goal) SENSITIVE = [] include Aws::Structure @@ -1865,7 +2170,7 @@ class ServiceQuotaExceededException < Struct.new( end # This structure contains information about one of your services that - # was discoverd by Application Signals + # was discovered by Application Signals # # @!attribute [rw] key_attributes # This is a string-to-string map that help identify the objects @@ -1922,7 +2227,7 @@ class ServiceQuotaExceededException < Struct.new( # # * `Host` is the name of the host, for all platform types. # - # Applciation attributes contain information about the application. + # Application attributes contain information about the application. # # * `AWS.Application` is the application's name in Amazon Web # Services Service Catalog AppRegistry. @@ -2078,10 +2383,18 @@ class UntagResourceResponse < Aws::EmptyStructure; end # @return [String] # # @!attribute [rw] sli_config - # A structure that contains information about what performance metric - # this SLO will monitor. + # If this SLO is a period-based SLO, this structure defines the + # information about what performance metric this SLO will monitor. # @return [Types::ServiceLevelIndicatorConfig] # + # @!attribute [rw] request_based_sli_config + # 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. + # @return [Types::RequestBasedServiceLevelIndicatorConfig] + # # @!attribute [rw] goal # A structure that contains the attributes that determine the goal of # the SLO. This includes the time period for evaluation and the @@ -2094,6 +2407,7 @@ class UpdateServiceLevelObjectiveInput < Struct.new( :id, :description, :sli_config, + :request_based_sli_config, :goal) SENSITIVE = [] include Aws::Structure diff --git a/gems/aws-sdk-applicationsignals/sig/client.rbs b/gems/aws-sdk-applicationsignals/sig/client.rbs index 7edcb2c5f0f..61612c06bc7 100644 --- a/gems/aws-sdk-applicationsignals/sig/client.rbs +++ b/gems/aws-sdk-applicationsignals/sig/client.rbs @@ -95,7 +95,7 @@ module Aws def create_service_level_objective: ( name: ::String, ?description: ::String, - sli_config: { + ?sli_config: { sli_metric_config: { key_attributes: Hash[::String, ::String]?, operation_name: ::String?, @@ -131,15 +131,101 @@ module Aws metric_threshold: ::Float, comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo") }, + ?request_based_sli_config: { + request_based_sli_metric_config: { + key_attributes: Hash[::String, ::String]?, + operation_name: ::String?, + metric_type: ("LATENCY" | "AVAILABILITY")?, + total_request_count_metric: Array[ + { + id: ::String, + metric_stat: { + metric: { + namespace: ::String?, + metric_name: ::String?, + dimensions: Array[ + { + name: ::String, + value: ::String + }, + ]? + }, + period: ::Integer, + stat: ::String, + unit: ("Microseconds" | "Milliseconds" | "Seconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")? + }?, + expression: ::String?, + label: ::String?, + return_data: bool?, + period: ::Integer?, + account_id: ::String? + }, + ]?, + monitored_request_count_metric: { + good_count_metric: Array[ + { + id: ::String, + metric_stat: { + metric: { + namespace: ::String?, + metric_name: ::String?, + dimensions: Array[ + { + name: ::String, + value: ::String + }, + ]? + }, + period: ::Integer, + stat: ::String, + unit: ("Microseconds" | "Milliseconds" | "Seconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")? + }?, + expression: ::String?, + label: ::String?, + return_data: bool?, + period: ::Integer?, + account_id: ::String? + }, + ]?, + bad_count_metric: Array[ + { + id: ::String, + metric_stat: { + metric: { + namespace: ::String?, + metric_name: ::String?, + dimensions: Array[ + { + name: ::String, + value: ::String + }, + ]? + }, + period: ::Integer, + stat: ::String, + unit: ("Microseconds" | "Milliseconds" | "Seconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")? + }?, + expression: ::String?, + label: ::String?, + return_data: bool?, + period: ::Integer?, + account_id: ::String? + }, + ]? + }? + }, + metric_threshold: ::Float?, + comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo")? + }, ?goal: { interval: { rolling_interval: { - duration_unit: ("DAY" | "MONTH"), + duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH"), duration: ::Integer }?, calendar_interval: { start_time: ::Time, - duration_unit: ("DAY" | "MONTH"), + duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH"), duration: ::Integer }? }?, @@ -357,15 +443,101 @@ module Aws metric_threshold: ::Float, comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo") }, + ?request_based_sli_config: { + request_based_sli_metric_config: { + key_attributes: Hash[::String, ::String]?, + operation_name: ::String?, + metric_type: ("LATENCY" | "AVAILABILITY")?, + total_request_count_metric: Array[ + { + id: ::String, + metric_stat: { + metric: { + namespace: ::String?, + metric_name: ::String?, + dimensions: Array[ + { + name: ::String, + value: ::String + }, + ]? + }, + period: ::Integer, + stat: ::String, + unit: ("Microseconds" | "Milliseconds" | "Seconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")? + }?, + expression: ::String?, + label: ::String?, + return_data: bool?, + period: ::Integer?, + account_id: ::String? + }, + ]?, + monitored_request_count_metric: { + good_count_metric: Array[ + { + id: ::String, + metric_stat: { + metric: { + namespace: ::String?, + metric_name: ::String?, + dimensions: Array[ + { + name: ::String, + value: ::String + }, + ]? + }, + period: ::Integer, + stat: ::String, + unit: ("Microseconds" | "Milliseconds" | "Seconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")? + }?, + expression: ::String?, + label: ::String?, + return_data: bool?, + period: ::Integer?, + account_id: ::String? + }, + ]?, + bad_count_metric: Array[ + { + id: ::String, + metric_stat: { + metric: { + namespace: ::String?, + metric_name: ::String?, + dimensions: Array[ + { + name: ::String, + value: ::String + }, + ]? + }, + period: ::Integer, + stat: ::String, + unit: ("Microseconds" | "Milliseconds" | "Seconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")? + }?, + expression: ::String?, + label: ::String?, + return_data: bool?, + period: ::Integer?, + account_id: ::String? + }, + ]? + }? + }, + metric_threshold: ::Float?, + comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo")? + }, ?goal: { interval: { rolling_interval: { - duration_unit: ("DAY" | "MONTH"), + duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH"), duration: ::Integer }?, calendar_interval: { start_time: ::Time, - duration_unit: ("DAY" | "MONTH"), + duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH"), duration: ::Integer }? }?, diff --git a/gems/aws-sdk-applicationsignals/sig/types.rbs b/gems/aws-sdk-applicationsignals/sig/types.rbs index 003c0cf6b09..881eb7ed6b2 100644 --- a/gems/aws-sdk-applicationsignals/sig/types.rbs +++ b/gems/aws-sdk-applicationsignals/sig/types.rbs @@ -28,7 +28,7 @@ module Aws::ApplicationSignals class CalendarInterval attr_accessor start_time: ::Time - attr_accessor duration_unit: ("DAY" | "MONTH") + attr_accessor duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH") attr_accessor duration: ::Integer SENSITIVE: [] end @@ -42,6 +42,7 @@ module Aws::ApplicationSignals attr_accessor name: ::String attr_accessor description: ::String attr_accessor sli_config: Types::ServiceLevelIndicatorConfig + attr_accessor request_based_sli_config: Types::RequestBasedServiceLevelIndicatorConfig attr_accessor goal: Types::Goal attr_accessor tags: ::Array[Types::Tag] SENSITIVE: [] @@ -237,6 +238,52 @@ module Aws::ApplicationSignals SENSITIVE: [] end + class MonitoredRequestCountMetricDataQueries + attr_accessor good_count_metric: ::Array[Types::MetricDataQuery] + attr_accessor bad_count_metric: ::Array[Types::MetricDataQuery] + attr_accessor unknown: untyped + SENSITIVE: [] + + class GoodCountMetric < MonitoredRequestCountMetricDataQueries + end + class BadCountMetric < MonitoredRequestCountMetricDataQueries + end + class Unknown < MonitoredRequestCountMetricDataQueries + end + end + + class RequestBasedServiceLevelIndicator + attr_accessor request_based_sli_metric: Types::RequestBasedServiceLevelIndicatorMetric + attr_accessor metric_threshold: ::Float + attr_accessor comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo") + SENSITIVE: [] + end + + class RequestBasedServiceLevelIndicatorConfig + attr_accessor request_based_sli_metric_config: Types::RequestBasedServiceLevelIndicatorMetricConfig + attr_accessor metric_threshold: ::Float + attr_accessor comparison_operator: ("GreaterThanOrEqualTo" | "GreaterThan" | "LessThan" | "LessThanOrEqualTo") + SENSITIVE: [] + end + + class RequestBasedServiceLevelIndicatorMetric + attr_accessor key_attributes: ::Hash[::String, ::String] + attr_accessor operation_name: ::String + attr_accessor metric_type: ("LATENCY" | "AVAILABILITY") + attr_accessor total_request_count_metric: ::Array[Types::MetricDataQuery] + attr_accessor monitored_request_count_metric: Types::MonitoredRequestCountMetricDataQueries + SENSITIVE: [] + end + + class RequestBasedServiceLevelIndicatorMetricConfig + attr_accessor key_attributes: ::Hash[::String, ::String] + attr_accessor operation_name: ::String + attr_accessor metric_type: ("LATENCY" | "AVAILABILITY") + attr_accessor total_request_count_metric: ::Array[Types::MetricDataQuery] + attr_accessor monitored_request_count_metric: Types::MonitoredRequestCountMetricDataQueries + SENSITIVE: [] + end + class ResourceNotFoundException attr_accessor resource_type: ::String attr_accessor resource_id: ::String @@ -245,7 +292,7 @@ module Aws::ApplicationSignals end class RollingInterval - attr_accessor duration_unit: ("DAY" | "MONTH") + attr_accessor duration_unit: ("MINUTE" | "HOUR" | "DAY" | "MONTH") attr_accessor duration: ::Integer SENSITIVE: [] end @@ -313,6 +360,8 @@ module Aws::ApplicationSignals attr_accessor created_time: ::Time attr_accessor last_updated_time: ::Time attr_accessor sli: Types::ServiceLevelIndicator + attr_accessor request_based_sli: Types::RequestBasedServiceLevelIndicator + attr_accessor evaluation_type: ("PeriodBased" | "RequestBased") attr_accessor goal: Types::Goal SENSITIVE: [] end @@ -320,11 +369,15 @@ module Aws::ApplicationSignals class ServiceLevelObjectiveBudgetReport attr_accessor arn: ::String attr_accessor name: ::String + attr_accessor evaluation_type: ("PeriodBased" | "RequestBased") attr_accessor budget_status: ("OK" | "WARNING" | "BREACHED" | "INSUFFICIENT_DATA") attr_accessor attainment: ::Float attr_accessor total_budget_seconds: ::Integer attr_accessor budget_seconds_remaining: ::Integer + attr_accessor total_budget_requests: ::Integer + attr_accessor budget_requests_remaining: ::Integer attr_accessor sli: Types::ServiceLevelIndicator + attr_accessor request_based_sli: Types::RequestBasedServiceLevelIndicator attr_accessor goal: Types::Goal SENSITIVE: [] end @@ -403,6 +456,7 @@ module Aws::ApplicationSignals attr_accessor id: ::String attr_accessor description: ::String attr_accessor sli_config: Types::ServiceLevelIndicatorConfig + attr_accessor request_based_sli_config: Types::RequestBasedServiceLevelIndicatorConfig attr_accessor goal: Types::Goal SENSITIVE: [] end diff --git a/gems/aws-sdk-codepipeline/CHANGELOG.md b/gems/aws-sdk-codepipeline/CHANGELOG.md index bc5ec31ff5e..d6bd28e1a56 100644 --- a/gems/aws-sdk-codepipeline/CHANGELOG.md +++ b/gems/aws-sdk-codepipeline/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.80.0 (2024-09-05) +------------------ + +* Feature - Updates to add recent notes to APIs and to replace example S3 bucket names globally. + 1.79.0 (2024-09-03) ------------------ diff --git a/gems/aws-sdk-codepipeline/VERSION b/gems/aws-sdk-codepipeline/VERSION index b3a8c61e6a8..aaceec04e04 100644 --- a/gems/aws-sdk-codepipeline/VERSION +++ b/gems/aws-sdk-codepipeline/VERSION @@ -1 +1 @@ -1.79.0 +1.80.0 diff --git a/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline.rb b/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline.rb index 5051ab5313f..b3da61ac066 100644 --- a/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline.rb +++ b/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline.rb @@ -52,6 +52,6 @@ # @!group service module Aws::CodePipeline - GEM_VERSION = '1.79.0' + GEM_VERSION = '1.80.0' end diff --git a/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb b/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb index 1c161b90568..4a518db467a 100644 --- a/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb +++ b/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb @@ -2232,6 +2232,10 @@ def list_tags_for_resource(params = {}, options = {}) # for this account. The output lists all webhooks and includes the # webhook URL and ARN and the configuration for each webhook. # + # If a secret token was provided, it will be redacted in the response. + # + # + # # @option params [String] :next_token # The token that was returned from the previous ListWebhooks call, which # can be used to return the next set of webhooks in the list. @@ -2752,6 +2756,19 @@ def put_third_party_job_success_result(params = {}, options = {}) # DeregisterWebhookWithThirdParty APIs can be used to automatically # configure supported third parties to call the generated webhook URL. # + # When creating CodePipeline webhooks, do not use your own credentials + # or reuse the same secret token across multiple webhooks. For optimal + # security, generate a unique secret token for each webhook you create. + # The secret token is an arbitrary string that you provide, which GitHub + # uses to compute and sign the webhook payloads sent to CodePipeline, + # for protecting the integrity and authenticity of the webhook payloads. + # Using your own credentials or reusing the same token across multiple + # webhooks can lead to security vulnerabilities. + # + # If a secret token was provided, it will be redacted in the response. + # + # + # # @option params [required, Types::WebhookDefinition] :webhook # The detail provided in an input file to create the webhook, such as # the webhook name, the pipeline name, and the action name. Give the @@ -3537,7 +3554,7 @@ def build_request(operation_name, params = {}) tracer: tracer ) context[:gem_name] = 'aws-sdk-codepipeline' - context[:gem_version] = '1.79.0' + context[:gem_version] = '1.80.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb b/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb index ab2b2fe5ebe..f64d7e819fa 100644 --- a/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb +++ b/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/types.rb @@ -4671,14 +4671,8 @@ class RuleType < Struct.new( # # @!attribute [rw] category # A category defines what kind of rule can be run in the stage, and - # constrains the provider type for the rule. Valid categories are - # limited to one of the following values. - # - # * INVOKE - # - # * Approval - # - # * Rule + # constrains the provider type for the rule. The valid category is + # `Rule`. # @return [String] # # @!attribute [rw] owner @@ -4687,10 +4681,7 @@ class RuleType < Struct.new( # @return [String] # # @!attribute [rw] provider - # The provider of the service being called by the rule. Valid - # providers are determined by the rulecategory. For example, a managed - # rule in the Rule category type has an owner of AWS, which would be - # specified as `AWS`. + # The rule provider, such as the `DeploymentWindow` rule. # @return [String] # # @!attribute [rw] version @@ -5504,6 +5495,19 @@ class ValidationException < Aws::EmptyStructure; end # @!attribute [rw] secret_token # The property used to configure GitHub authentication. For # GITHUB\_HMAC, only the `SecretToken` property must be set. + # + # When creating CodePipeline webhooks, do not use your own credentials + # or reuse the same secret token across multiple webhooks. For optimal + # security, generate a unique secret token for each webhook you + # create. The secret token is an arbitrary string that you provide, + # which GitHub uses to compute and sign the webhook payloads sent to + # CodePipeline, for protecting the integrity and authenticity of the + # webhook payloads. Using your own credentials or reusing the same + # token across multiple webhooks can lead to security vulnerabilities. + # + # If a secret token was provided, it will be redacted in the response. + # + # # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/WebhookAuthConfiguration AWS API Documentation @@ -5540,6 +5544,19 @@ class WebhookAuthConfiguration < Struct.new( # @!attribute [rw] authentication # Supported options are GITHUB\_HMAC, IP, and UNAUTHENTICATED. # + # When creating CodePipeline webhooks, do not use your own credentials + # or reuse the same secret token across multiple webhooks. For optimal + # security, generate a unique secret token for each webhook you + # create. The secret token is an arbitrary string that you provide, + # which GitHub uses to compute and sign the webhook payloads sent to + # CodePipeline, for protecting the integrity and authenticity of the + # webhook payloads. Using your own credentials or reusing the same + # token across multiple webhooks can lead to security vulnerabilities. + # + # If a secret token was provided, it will be redacted in the response. + # + # + # # * For information about the authentication scheme implemented by # GITHUB\_HMAC, see [Securing your webhooks][1] on the GitHub # Developer website. diff --git a/gems/aws-sdk-connect/CHANGELOG.md b/gems/aws-sdk-connect/CHANGELOG.md index 2a772b8cbe1..89797f72817 100644 --- a/gems/aws-sdk-connect/CHANGELOG.md +++ b/gems/aws-sdk-connect/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.173.0 (2024-09-05) +------------------ + +* Feature - Amazon Connect Custom Vocabulary now supports Catalan (Spain), Danish (Denmark), Dutch (Netherlands), Finnish (Finland), Indonesian (Indonesia), Malay (Malaysia), Norwegian Bokmal (Norway), Polish (Poland), Swedish (Sweden), and Tagalog/Filipino (Philippines). + 1.172.0 (2024-09-03) ------------------ diff --git a/gems/aws-sdk-connect/VERSION b/gems/aws-sdk-connect/VERSION index 6a21014907d..fad0791e31d 100644 --- a/gems/aws-sdk-connect/VERSION +++ b/gems/aws-sdk-connect/VERSION @@ -1 +1 @@ -1.172.0 +1.173.0 diff --git a/gems/aws-sdk-connect/lib/aws-sdk-connect.rb b/gems/aws-sdk-connect/lib/aws-sdk-connect.rb index 70a1ee72e04..e5bbb37abb0 100644 --- a/gems/aws-sdk-connect/lib/aws-sdk-connect.rb +++ b/gems/aws-sdk-connect/lib/aws-sdk-connect.rb @@ -52,6 +52,6 @@ # @!group service module Aws::Connect - GEM_VERSION = '1.172.0' + GEM_VERSION = '1.173.0' end diff --git a/gems/aws-sdk-connect/lib/aws-sdk-connect/client.rb b/gems/aws-sdk-connect/lib/aws-sdk-connect/client.rb index 903d5bb5acc..6df353a5ead 100644 --- a/gems/aws-sdk-connect/lib/aws-sdk-connect/client.rb +++ b/gems/aws-sdk-connect/lib/aws-sdk-connect/client.rb @@ -650,7 +650,7 @@ def associate_bot(params = {}, options = {}) # # resp = client.associate_default_vocabulary({ # instance_id: "InstanceId", # required - # language_code: "ar-AE", # required, accepts ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN, en-NZ, en-ZA + # language_code: "ar-AE", # required, accepts ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN, en-NZ, en-ZA, ca-ES, da-DK, fi-FI, id-ID, ms-MY, nl-NL, no-NO, pl-PL, sv-SE, tl-PH # vocabulary_id: "VocabularyId", # }) # @@ -3636,7 +3636,7 @@ def create_view_version(params = {}, options = {}) # client_token: "ClientToken", # instance_id: "InstanceId", # required # vocabulary_name: "VocabularyName", # required - # language_code: "ar-AE", # required, accepts ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN, en-NZ, en-ZA + # language_code: "ar-AE", # required, accepts ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN, en-NZ, en-ZA, ca-ES, da-DK, fi-FI, id-ID, ms-MY, nl-NL, no-NO, pl-PL, sv-SE, tl-PH # content: "VocabularyContent", # required # tags: { # "TagKey" => "TagValue", @@ -5999,7 +5999,7 @@ def describe_view(params = {}, options = {}) # resp.vocabulary.name #=> String # resp.vocabulary.id #=> String # resp.vocabulary.arn #=> String - # resp.vocabulary.language_code #=> String, one of "ar-AE", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fr-CA", "fr-FR", "hi-IN", "it-IT", "ja-JP", "ko-KR", "pt-BR", "pt-PT", "zh-CN", "en-NZ", "en-ZA" + # resp.vocabulary.language_code #=> String, one of "ar-AE", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fr-CA", "fr-FR", "hi-IN", "it-IT", "ja-JP", "ko-KR", "pt-BR", "pt-PT", "zh-CN", "en-NZ", "en-ZA", "ca-ES", "da-DK", "fi-FI", "id-ID", "ms-MY", "nl-NL", "no-NO", "pl-PL", "sv-SE", "tl-PH" # resp.vocabulary.state #=> String, one of "CREATION_IN_PROGRESS", "ACTIVE", "CREATION_FAILED", "DELETE_IN_PROGRESS" # resp.vocabulary.last_modified_time #=> Time # resp.vocabulary.failure_reason #=> String @@ -9740,7 +9740,7 @@ def list_contact_references(params = {}, options = {}) # # resp = client.list_default_vocabularies({ # instance_id: "InstanceId", # required - # language_code: "ar-AE", # accepts ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN, en-NZ, en-ZA + # language_code: "ar-AE", # accepts ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN, en-NZ, en-ZA, ca-ES, da-DK, fi-FI, id-ID, ms-MY, nl-NL, no-NO, pl-PL, sv-SE, tl-PH # max_results: 1, # next_token: "VocabularyNextToken", # }) @@ -9749,7 +9749,7 @@ def list_contact_references(params = {}, options = {}) # # resp.default_vocabulary_list #=> Array # resp.default_vocabulary_list[0].instance_id #=> String - # resp.default_vocabulary_list[0].language_code #=> String, one of "ar-AE", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fr-CA", "fr-FR", "hi-IN", "it-IT", "ja-JP", "ko-KR", "pt-BR", "pt-PT", "zh-CN", "en-NZ", "en-ZA" + # resp.default_vocabulary_list[0].language_code #=> String, one of "ar-AE", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fr-CA", "fr-FR", "hi-IN", "it-IT", "ja-JP", "ko-KR", "pt-BR", "pt-PT", "zh-CN", "en-NZ", "en-ZA", "ca-ES", "da-DK", "fi-FI", "id-ID", "ms-MY", "nl-NL", "no-NO", "pl-PL", "sv-SE", "tl-PH" # resp.default_vocabulary_list[0].vocabulary_id #=> String # resp.default_vocabulary_list[0].vocabulary_name #=> String # resp.next_token #=> String @@ -13994,7 +13994,7 @@ def search_users(params = {}, options = {}) # next_token: "VocabularyNextToken", # state: "CREATION_IN_PROGRESS", # accepts CREATION_IN_PROGRESS, ACTIVE, CREATION_FAILED, DELETE_IN_PROGRESS # name_starts_with: "VocabularyName", - # language_code: "ar-AE", # accepts ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN, en-NZ, en-ZA + # language_code: "ar-AE", # accepts ar-AE, de-CH, de-DE, en-AB, en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fr-CA, fr-FR, hi-IN, it-IT, ja-JP, ko-KR, pt-BR, pt-PT, zh-CN, en-NZ, en-ZA, ca-ES, da-DK, fi-FI, id-ID, ms-MY, nl-NL, no-NO, pl-PL, sv-SE, tl-PH # }) # # @example Response structure @@ -14003,7 +14003,7 @@ def search_users(params = {}, options = {}) # resp.vocabulary_summary_list[0].name #=> String # resp.vocabulary_summary_list[0].id #=> String # resp.vocabulary_summary_list[0].arn #=> String - # resp.vocabulary_summary_list[0].language_code #=> String, one of "ar-AE", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fr-CA", "fr-FR", "hi-IN", "it-IT", "ja-JP", "ko-KR", "pt-BR", "pt-PT", "zh-CN", "en-NZ", "en-ZA" + # resp.vocabulary_summary_list[0].language_code #=> String, one of "ar-AE", "de-CH", "de-DE", "en-AB", "en-AU", "en-GB", "en-IE", "en-IN", "en-US", "en-WL", "es-ES", "es-US", "fr-CA", "fr-FR", "hi-IN", "it-IT", "ja-JP", "ko-KR", "pt-BR", "pt-PT", "zh-CN", "en-NZ", "en-ZA", "ca-ES", "da-DK", "fi-FI", "id-ID", "ms-MY", "nl-NL", "no-NO", "pl-PL", "sv-SE", "tl-PH" # resp.vocabulary_summary_list[0].state #=> String, one of "CREATION_IN_PROGRESS", "ACTIVE", "CREATION_FAILED", "DELETE_IN_PROGRESS" # resp.vocabulary_summary_list[0].last_modified_time #=> Time # resp.vocabulary_summary_list[0].failure_reason #=> String @@ -18309,7 +18309,7 @@ def build_request(operation_name, params = {}) tracer: tracer ) context[:gem_name] = 'aws-sdk-connect' - context[:gem_version] = '1.172.0' + context[:gem_version] = '1.173.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-connect/sig/client.rbs b/gems/aws-sdk-connect/sig/client.rbs index e8dd297c151..9060aa04992 100644 --- a/gems/aws-sdk-connect/sig/client.rbs +++ b/gems/aws-sdk-connect/sig/client.rbs @@ -129,7 +129,7 @@ module Aws # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#associate_default_vocabulary-instance_method def associate_default_vocabulary: ( instance_id: ::String, - language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA"), + language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA" | "ca-ES" | "da-DK" | "fi-FI" | "id-ID" | "ms-MY" | "nl-NL" | "no-NO" | "pl-PL" | "sv-SE" | "tl-PH"), ?vocabulary_id: ::String ) -> _AssociateDefaultVocabularyResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateDefaultVocabularyResponseSuccess @@ -991,7 +991,7 @@ module Aws ?client_token: ::String, instance_id: ::String, vocabulary_name: ::String, - language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA"), + language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA" | "ca-ES" | "da-DK" | "fi-FI" | "id-ID" | "ms-MY" | "nl-NL" | "no-NO" | "pl-PL" | "sv-SE" | "tl-PH"), content: ::String, ?tags: Hash[::String, ::String] ) -> _CreateVocabularyResponseSuccess @@ -2000,7 +2000,7 @@ module Aws # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Connect/Client.html#list_default_vocabularies-instance_method def list_default_vocabularies: ( instance_id: ::String, - ?language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA"), + ?language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA" | "ca-ES" | "da-DK" | "fi-FI" | "id-ID" | "ms-MY" | "nl-NL" | "no-NO" | "pl-PL" | "sv-SE" | "tl-PH"), ?max_results: ::Integer, ?next_token: ::String ) -> _ListDefaultVocabulariesResponseSuccess @@ -3321,7 +3321,7 @@ module Aws ?next_token: ::String, ?state: ("CREATION_IN_PROGRESS" | "ACTIVE" | "CREATION_FAILED" | "DELETE_IN_PROGRESS"), ?name_starts_with: ::String, - ?language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA") + ?language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA" | "ca-ES" | "da-DK" | "fi-FI" | "id-ID" | "ms-MY" | "nl-NL" | "no-NO" | "pl-PL" | "sv-SE" | "tl-PH") ) -> _SearchVocabulariesResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchVocabulariesResponseSuccess diff --git a/gems/aws-sdk-connect/sig/types.rbs b/gems/aws-sdk-connect/sig/types.rbs index e4b511a3008..d1f4b449e8b 100644 --- a/gems/aws-sdk-connect/sig/types.rbs +++ b/gems/aws-sdk-connect/sig/types.rbs @@ -184,7 +184,7 @@ module Aws::Connect class AssociateDefaultVocabularyRequest attr_accessor instance_id: ::String - attr_accessor language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA") + attr_accessor language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA" | "ca-ES" | "da-DK" | "fi-FI" | "id-ID" | "ms-MY" | "nl-NL" | "no-NO" | "pl-PL" | "sv-SE" | "tl-PH") attr_accessor vocabulary_id: ::String SENSITIVE: [] end @@ -1089,7 +1089,7 @@ module Aws::Connect attr_accessor client_token: ::String attr_accessor instance_id: ::String attr_accessor vocabulary_name: ::String - attr_accessor language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA") + attr_accessor language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA" | "ca-ES" | "da-DK" | "fi-FI" | "id-ID" | "ms-MY" | "nl-NL" | "no-NO" | "pl-PL" | "sv-SE" | "tl-PH") attr_accessor content: ::String attr_accessor tags: ::Hash[::String, ::String] SENSITIVE: [] @@ -1192,7 +1192,7 @@ module Aws::Connect class DefaultVocabulary attr_accessor instance_id: ::String - attr_accessor language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA") + attr_accessor language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA" | "ca-ES" | "da-DK" | "fi-FI" | "id-ID" | "ms-MY" | "nl-NL" | "no-NO" | "pl-PL" | "sv-SE" | "tl-PH") attr_accessor vocabulary_id: ::String attr_accessor vocabulary_name: ::String SENSITIVE: [] @@ -2763,7 +2763,7 @@ module Aws::Connect class ListDefaultVocabulariesRequest attr_accessor instance_id: ::String - attr_accessor language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA") + attr_accessor language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA" | "ca-ES" | "da-DK" | "fi-FI" | "id-ID" | "ms-MY" | "nl-NL" | "no-NO" | "pl-PL" | "sv-SE" | "tl-PH") attr_accessor max_results: ::Integer attr_accessor next_token: ::String SENSITIVE: [] @@ -4359,7 +4359,7 @@ module Aws::Connect attr_accessor next_token: ::String attr_accessor state: ("CREATION_IN_PROGRESS" | "ACTIVE" | "CREATION_FAILED" | "DELETE_IN_PROGRESS") attr_accessor name_starts_with: ::String - attr_accessor language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA") + attr_accessor language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA" | "ca-ES" | "da-DK" | "fi-FI" | "id-ID" | "ms-MY" | "nl-NL" | "no-NO" | "pl-PL" | "sv-SE" | "tl-PH") SENSITIVE: [] end @@ -5606,7 +5606,7 @@ module Aws::Connect attr_accessor name: ::String attr_accessor id: ::String attr_accessor arn: ::String - attr_accessor language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA") + attr_accessor language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA" | "ca-ES" | "da-DK" | "fi-FI" | "id-ID" | "ms-MY" | "nl-NL" | "no-NO" | "pl-PL" | "sv-SE" | "tl-PH") attr_accessor state: ("CREATION_IN_PROGRESS" | "ACTIVE" | "CREATION_FAILED" | "DELETE_IN_PROGRESS") attr_accessor last_modified_time: ::Time attr_accessor failure_reason: ::String @@ -5619,7 +5619,7 @@ module Aws::Connect attr_accessor name: ::String attr_accessor id: ::String attr_accessor arn: ::String - attr_accessor language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA") + attr_accessor language_code: ("ar-AE" | "de-CH" | "de-DE" | "en-AB" | "en-AU" | "en-GB" | "en-IE" | "en-IN" | "en-US" | "en-WL" | "es-ES" | "es-US" | "fr-CA" | "fr-FR" | "hi-IN" | "it-IT" | "ja-JP" | "ko-KR" | "pt-BR" | "pt-PT" | "zh-CN" | "en-NZ" | "en-ZA" | "ca-ES" | "da-DK" | "fi-FI" | "id-ID" | "ms-MY" | "nl-NL" | "no-NO" | "pl-PL" | "sv-SE" | "tl-PH") attr_accessor state: ("CREATION_IN_PROGRESS" | "ACTIVE" | "CREATION_FAILED" | "DELETE_IN_PROGRESS") attr_accessor last_modified_time: ::Time attr_accessor failure_reason: ::String diff --git a/gems/aws-sdk-gamelift/CHANGELOG.md b/gems/aws-sdk-gamelift/CHANGELOG.md index f07b7ffe91c..78cf659eafd 100644 --- a/gems/aws-sdk-gamelift/CHANGELOG.md +++ b/gems/aws-sdk-gamelift/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.87.0 (2024-09-05) +------------------ + +* Feature - Amazon GameLift provides additional events for tracking the fleet creation process. + 1.86.0 (2024-09-03) ------------------ diff --git a/gems/aws-sdk-gamelift/VERSION b/gems/aws-sdk-gamelift/VERSION index b7844a6ffdc..f6342716723 100644 --- a/gems/aws-sdk-gamelift/VERSION +++ b/gems/aws-sdk-gamelift/VERSION @@ -1 +1 @@ -1.86.0 +1.87.0 diff --git a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift.rb b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift.rb index 9de2ce66854..66064f05039 100644 --- a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift.rb +++ b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift.rb @@ -52,6 +52,6 @@ # @!group service module Aws::GameLift - GEM_VERSION = '1.86.0' + GEM_VERSION = '1.87.0' end diff --git a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/client.rb b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/client.rb index c85c835a923..4e236fb4e6a 100644 --- a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/client.rb +++ b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/client.rb @@ -783,13 +783,19 @@ def create_alias(params = {}, options = {}) # in this request. There is no default value. You can't change a # build's operating system later. # - # If you have active fleets using the Windows Server 2012 operating - # system, you can continue to create new builds using this OS until - # October 10, 2023, when Microsoft ends its support. All others must use - # Windows Server 2016 when creating new Windows-based builds. + # Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more + # details in the [Amazon Linux 2 FAQs][1]. For game servers that are + # hosted on AL2 and use Amazon GameLift server SDK 4.x., first update + # the game server build to server SDK 5.x, and then deploy to AL2023 + # instances. See [ Migrate to Amazon GameLift server SDK version 5.][2] # # # + # + # + # [1]: https://aws.amazon.com/amazon-linux-2/faqs/ + # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html + # # @option params [Array] :tags # A list of labels to assign to the new build resource. Tags are # developer defined key-value pairs. Tagging Amazon Web Services @@ -975,6 +981,19 @@ def create_build(params = {}, options = {}) # definition. All containers in a group must run on the same operating # system. # + # Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See more + # details in the [Amazon Linux 2 FAQs][1]. For game servers that are + # hosted on AL2 and use Amazon GameLift server SDK 4.x., first update + # the game server build to server SDK 5.x, and then deploy to AL2023 + # instances. See [ Migrate to Amazon GameLift server SDK version 5.][2] + # + # + # + # + # + # [1]: https://aws.amazon.com/amazon-linux-2/faqs/ + # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html + # # @option params [Array] :tags # A list of labels to assign to the container group definition resource. # Tags are developer-defined key-value pairs. Tagging Amazon Web @@ -1395,15 +1414,19 @@ def create_container_group_definition(params = {}, options = {}) # # @option params [Array] :locations # A set of remote locations to deploy additional instances to and manage - # as part of the fleet. This parameter can only be used when creating - # fleets in Amazon Web Services Regions that support multiple locations. - # You can add any Amazon GameLift-supported Amazon Web Services Region - # as a remote location, in the form of an Amazon Web Services Region - # code, such as `us-west-2` or Local Zone code. To create a fleet with - # instances in the home Region only, don't set this parameter. + # as a multi-location fleet. Use this parameter when creating a fleet in + # Amazon Web Services Regions that support multiple locations. You can + # add any Amazon Web Services Region or Local Zone that's supported by + # Amazon GameLift. Provide a list of one or more Amazon Web Services + # Region codes, such as `us-west-2`, or Local Zone names. When using + # this parameter, Amazon GameLift requires you to include your home + # location in the request. For a list of supported Regions and Local + # Zones, see [ Amazon GameLift service locations][1] for managed + # hosting. + # + # # - # When using this parameter, Amazon GameLift requires you to include - # your home location in the request. + # [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html # # @option params [Array] :tags # A list of labels to assign to the new fleet resource. Tags are @@ -1610,12 +1633,16 @@ def create_fleet(params = {}, options = {}) # # [Setting up fleets][2] # - # [Multi-location fleets][2] + # [Update fleet locations][3] + # + # [ Amazon GameLift service locations][4] for managed hosting. # # # # [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_DescribeFleetEvents.html # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html + # [3]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-editing.html#fleets-update-locations + # [4]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html # # @option params [required, String] :fleet_id # A unique identifier for the fleet to add locations to. You can use @@ -2287,11 +2314,11 @@ def create_game_session_queue(params = {}, options = {}) # A descriptive name for the custom location. # # @option params [Array] :tags - # A list of labels to assign to the new matchmaking configuration - # resource. Tags are developer-defined key-value pairs. Tagging Amazon - # Web Services resources are useful for resource management, access - # management and cost allocation. For more information, see [ Tagging - # Amazon Web Services Resources][1] in the *Amazon Web Services General + # A list of labels to assign to the new resource. Tags are + # developer-defined key-value pairs. Tagging Amazon Web Services + # resources are useful for resource management, access management, and + # cost allocation. For more information, see [ Tagging Amazon Web + # Services Resources][1] in the *Amazon Web Services General # Rareference*. # # @@ -4451,7 +4478,7 @@ def describe_fleet_capacity(params = {}, options = {}) # resp.events #=> Array # resp.events[0].event_id #=> String # resp.events[0].resource_id #=> String - # resp.events[0].event_code #=> String, one of "GENERIC_EVENT", "FLEET_CREATED", "FLEET_DELETED", "FLEET_SCALING_EVENT", "FLEET_STATE_DOWNLOADING", "FLEET_STATE_VALIDATING", "FLEET_STATE_BUILDING", "FLEET_STATE_ACTIVATING", "FLEET_STATE_ACTIVE", "FLEET_STATE_ERROR", "FLEET_INITIALIZATION_FAILED", "FLEET_BINARY_DOWNLOAD_FAILED", "FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND", "FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE", "FLEET_VALIDATION_TIMED_OUT", "FLEET_ACTIVATION_FAILED", "FLEET_ACTIVATION_FAILED_NO_INSTANCES", "FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED", "SERVER_PROCESS_INVALID_PATH", "SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT", "SERVER_PROCESS_PROCESS_READY_TIMEOUT", "SERVER_PROCESS_CRASHED", "SERVER_PROCESS_TERMINATED_UNHEALTHY", "SERVER_PROCESS_FORCE_TERMINATED", "SERVER_PROCESS_PROCESS_EXIT_TIMEOUT", "GAME_SESSION_ACTIVATION_TIMEOUT", "FLEET_CREATION_EXTRACTING_BUILD", "FLEET_CREATION_RUNNING_INSTALLER", "FLEET_CREATION_VALIDATING_RUNTIME_CONFIG", "FLEET_VPC_PEERING_SUCCEEDED", "FLEET_VPC_PEERING_FAILED", "FLEET_VPC_PEERING_DELETED", "INSTANCE_INTERRUPTED", "INSTANCE_RECYCLED" + # resp.events[0].event_code #=> String, one of "GENERIC_EVENT", "FLEET_CREATED", "FLEET_DELETED", "FLEET_SCALING_EVENT", "FLEET_STATE_DOWNLOADING", "FLEET_STATE_VALIDATING", "FLEET_STATE_BUILDING", "FLEET_STATE_ACTIVATING", "FLEET_STATE_ACTIVE", "FLEET_STATE_ERROR", "FLEET_INITIALIZATION_FAILED", "FLEET_BINARY_DOWNLOAD_FAILED", "FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND", "FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE", "FLEET_VALIDATION_TIMED_OUT", "FLEET_ACTIVATION_FAILED", "FLEET_ACTIVATION_FAILED_NO_INSTANCES", "FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED", "SERVER_PROCESS_INVALID_PATH", "SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT", "SERVER_PROCESS_PROCESS_READY_TIMEOUT", "SERVER_PROCESS_CRASHED", "SERVER_PROCESS_TERMINATED_UNHEALTHY", "SERVER_PROCESS_FORCE_TERMINATED", "SERVER_PROCESS_PROCESS_EXIT_TIMEOUT", "GAME_SESSION_ACTIVATION_TIMEOUT", "FLEET_CREATION_EXTRACTING_BUILD", "FLEET_CREATION_RUNNING_INSTALLER", "FLEET_CREATION_VALIDATING_RUNTIME_CONFIG", "FLEET_VPC_PEERING_SUCCEEDED", "FLEET_VPC_PEERING_FAILED", "FLEET_VPC_PEERING_DELETED", "INSTANCE_INTERRUPTED", "INSTANCE_RECYCLED", "FLEET_CREATION_COMPLETED_INSTALLER", "FLEET_CREATION_FAILED_INSTALLER" # resp.events[0].message #=> String # resp.events[0].event_time #=> Time # resp.events[0].pre_signed_log_url #=> String @@ -4492,9 +4519,12 @@ def describe_fleet_events(params = {}, options = {}) # # [Setting up Amazon GameLift fleets][1] # + # [ Amazon GameLift service locations][2] for managed hosting + # # # # [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html + # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html # # @option params [required, String] :fleet_id # A unique identifier for the fleet to retrieve remote locations for. @@ -4574,12 +4604,15 @@ def describe_fleet_location_attributes(params = {}, options = {}) # # [Setting up Amazon GameLift fleets][1] # - # [GameLift metrics for fleets][2] + # [ Amazon GameLift service locations][2] for managed hosting + # + # [GameLift metrics for fleets][3] # # # # [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html - # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html#gamelift-metrics-fleet + # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html + # [3]: https://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html#gamelift-metrics-fleet # # @option params [required, String] :fleet_id # A unique identifier for the fleet to request location capacity for. @@ -4643,12 +4676,15 @@ def describe_fleet_location_capacity(params = {}, options = {}) # # [Setting up Amazon GameLift fleets][1] # - # [GameLift metrics for fleets][2] + # [ Amazon GameLift service locations][2] for managed hosting + # + # [GameLift metrics for fleets][3] # # # # [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-intro.html - # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html#gamelift-metrics-fleet + # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html + # [3]: https://docs.aws.amazon.com/gamelift/latest/developerguide/monitoring-cloudwatch.html#gamelift-metrics-fleet # # @option params [required, String] :fleet_id # A unique identifier for the fleet to request location utilization for. @@ -6246,14 +6282,11 @@ def describe_vpc_peering_connections(params = {}, options = {}) # # * [Debug fleet issues][3] # - # * [ Remotely connect to a container fleet][4] - # # # # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-sessions-start.html#sessions-start-cli # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-remote-access.html # [3]: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-creating-debug.html - # [4]: https://docs.aws.amazon.com/gamelift/latest/developerguide/containers-remote-access.html # # @option params [required, String] :fleet_id # A unique identifier for the fleet that holds the compute resource that @@ -7551,11 +7584,13 @@ def put_scaling_policy(params = {}, options = {}) # # @option params [String] :ip_address # The IP address of the compute resource. Amazon GameLift requires - # either a DNS name or IP address. + # either a DNS name or IP address. When registering an Anywhere fleet, + # an IP address is required. # # @option params [String] :location # The name of a custom location to associate with the compute resource - # being registered. + # being registered. This parameter is required when registering a + # compute for an Anywhere fleet. # # @return [Types::RegisterComputeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -10251,7 +10286,7 @@ def build_request(operation_name, params = {}) tracer: tracer ) context[:gem_name] = 'aws-sdk-gamelift' - context[:gem_version] = '1.86.0' + context[:gem_version] = '1.87.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb index 291cf6a195c..73839c95719 100644 --- a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb +++ b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/types.rb @@ -272,6 +272,20 @@ class AwsCredentials < Struct.new( # Operating system that the game server binaries are built to run on. # This value determines the type of fleet resources that you can use # for this build. + # + # Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See + # more details in the [Amazon Linux 2 FAQs][1]. For game servers that + # are hosted on AL2 and use Amazon GameLift server SDK 4.x., first + # update the game server build to server SDK 5.x, and then deploy to + # AL2023 instances. See [ Migrate to Amazon GameLift server SDK + # version 5.][2] + # + # + # + # + # + # [1]: https://aws.amazon.com/amazon-linux-2/faqs/ + # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html # @return [String] # # @!attribute [rw] creation_time @@ -462,6 +476,20 @@ class ClaimGameServerOutput < Struct.new( # # @!attribute [rw] operating_system # The type of operating system on the compute resource. + # + # Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See + # more details in the [Amazon Linux 2 FAQs][1]. For game servers that + # are hosted on AL2 and use Amazon GameLift server SDK 4.x., first + # update the game server build to server SDK 5.x, and then deploy to + # AL2023 instances. See [ Migrate to Amazon GameLift server SDK + # version 5.][2] + # + # + # + # + # + # [1]: https://aws.amazon.com/amazon-linux-2/faqs/ + # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html # @return [String] # # @!attribute [rw] type @@ -1020,6 +1048,20 @@ class ContainerEnvironment < Struct.new( # @!attribute [rw] operating_system # The platform required for all containers in the container group # definition. + # + # Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See + # more details in the [Amazon Linux 2 FAQs][1]. For game servers that + # are hosted on AL2 and use Amazon GameLift server SDK 4.x., first + # update the game server build to server SDK 5.x, and then deploy to + # AL2023 instances. See [ Migrate to Amazon GameLift server SDK + # version 5.][2] + # + # + # + # + # + # [1]: https://aws.amazon.com/amazon-linux-2/faqs/ + # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html # @return [String] # # @!attribute [rw] name @@ -1288,7 +1330,7 @@ class ContainerGroupsConfiguration < Struct.new( # maximum. # # * If a desired number is set to a value higher than the calculated - # maximum, Amazon GameLift places the calculated maximum. + # maximum, fleet creation fails.. # # * If a desired number is set to a value lower than the calculated # maximum, Amazon GameLift places the desired number. @@ -1584,12 +1626,19 @@ class CreateAliasOutput < Struct.new( # operating system in this request. There is no default value. You # can't change a build's operating system later. # - # If you have active fleets using the Windows Server 2012 operating - # system, you can continue to create new builds using this OS until - # October 10, 2023, when Microsoft ends its support. All others must - # use Windows Server 2016 when creating new Windows-based builds. + # Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See + # more details in the [Amazon Linux 2 FAQs][1]. For game servers that + # are hosted on AL2 and use Amazon GameLift server SDK 4.x., first + # update the game server build to server SDK 5.x, and then deploy to + # AL2023 instances. See [ Migrate to Amazon GameLift server SDK + # version 5.][2] # # + # + # + # + # [1]: https://aws.amazon.com/amazon-linux-2/faqs/ + # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html # @return [String] # # @!attribute [rw] tags @@ -1714,6 +1763,20 @@ class CreateBuildOutput < Struct.new( # The platform that is used by containers in the container group # definition. All containers in a group must run on the same operating # system. + # + # Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See + # more details in the [Amazon Linux 2 FAQs][1]. For game servers that + # are hosted on AL2 and use Amazon GameLift server SDK 4.x., first + # update the game server build to server SDK 5.x, and then deploy to + # AL2023 instances. See [ Migrate to Amazon GameLift server SDK + # version 5.][2] + # + # + # + # + # + # [1]: https://aws.amazon.com/amazon-linux-2/faqs/ + # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html # @return [String] # # @!attribute [rw] tags @@ -1955,16 +2018,19 @@ class CreateContainerGroupDefinitionOutput < Struct.new( # # @!attribute [rw] locations # A set of remote locations to deploy additional instances to and - # manage as part of the fleet. This parameter can only be used when - # creating fleets in Amazon Web Services Regions that support multiple - # locations. You can add any Amazon GameLift-supported Amazon Web - # Services Region as a remote location, in the form of an Amazon Web - # Services Region code, such as `us-west-2` or Local Zone code. To - # create a fleet with instances in the home Region only, don't set - # this parameter. - # - # When using this parameter, Amazon GameLift requires you to include - # your home location in the request. + # manage as a multi-location fleet. Use this parameter when creating a + # fleet in Amazon Web Services Regions that support multiple + # locations. You can add any Amazon Web Services Region or Local Zone + # that's supported by Amazon GameLift. Provide a list of one or more + # Amazon Web Services Region codes, such as `us-west-2`, or Local Zone + # names. When using this parameter, Amazon GameLift requires you to + # include your home location in the request. For a list of supported + # Regions and Local Zones, see [ Amazon GameLift service locations][1] + # for managed hosting. + # + # + # + # [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html # @return [Array] # # @!attribute [rw] tags @@ -2541,12 +2607,12 @@ class CreateGameSessionQueueOutput < Struct.new( # @return [String] # # @!attribute [rw] tags - # A list of labels to assign to the new matchmaking configuration - # resource. Tags are developer-defined key-value pairs. Tagging Amazon - # Web Services resources are useful for resource management, access - # management and cost allocation. For more information, see [ Tagging - # Amazon Web Services Resources][1] in the *Amazon Web Services - # General Rareference*. + # A list of labels to assign to the new resource. Tags are + # developer-defined key-value pairs. Tagging Amazon Web Services + # resources are useful for resource management, access management, and + # cost allocation. For more information, see [ Tagging Amazon Web + # Services Resources][1] in the *Amazon Web Services General + # Rareference*. # # # @@ -4873,21 +4939,21 @@ class EC2InstanceLimit < Struct.new( # status of `NEW`. Event messaging includes the fleet ID. # # * FLEET\_STATE\_DOWNLOADING -- Fleet status changed from `NEW` to - # `DOWNLOADING`. The compressed build has started downloading to a - # fleet instance for installation. + # `DOWNLOADING`. Amazon GameLift is downloading the compressed build + # and running install scripts. # # * FLEET\_STATE\_VALIDATING -- Fleet status changed from # `DOWNLOADING` to `VALIDATING`. Amazon GameLift has successfully - # downloaded the build and is now validating the build files. + # installed build and is now validating the build files. # # * FLEET\_STATE\_BUILDING -- Fleet status changed from `VALIDATING` # to `BUILDING`. Amazon GameLift has successfully verified the build - # files and is now running the installation scripts. + # files and is now launching a fleet instance. # # * FLEET\_STATE\_ACTIVATING -- Fleet status changed from `BUILDING` - # to `ACTIVATING`. Amazon GameLift is trying to launch an instance - # and test the connectivity between the build and the Amazon - # GameLift Service via the Server SDK. + # to `ACTIVATING`. Amazon GameLift is launching a game server + # process on the fleet instance and is testing its connectivity with + # the Amazon GameLift service. # # * FLEET\_STATE\_ACTIVE -- The fleet's status changed from # `ACTIVATING` to `ACTIVE`. The fleet is now ready to host game @@ -4902,21 +4968,30 @@ class EC2InstanceLimit < Struct.new( # the fleet instance. # # * FLEET\_CREATION\_EXTRACTING\_BUILD -- The game server build was - # successfully downloaded to an instance, and the build files are - # now being extracted from the uploaded build and saved to an - # instance. Failure at this stage prevents a fleet from moving to - # ACTIVE status. Logs for this stage display a list of the files - # that are extracted and saved on the instance. Access the logs by - # using the URL in *PreSignedLogUrl*. + # successfully downloaded to an instance, and Amazon GameLiftis now + # extracting the build files from the uploaded build. Failure at + # this stage prevents a fleet from moving to ACTIVE status. Logs for + # this stage display a list of the files that are extracted and + # saved on the instance. Access the logs by using the URL in + # *PreSignedLogUrl*. # # * FLEET\_CREATION\_RUNNING\_INSTALLER -- The game server build files - # were successfully extracted, and the GameLift is now running the - # build's install script (if one is included). Failure in this + # were successfully extracted, and Amazon GameLift is now running + # the build's install script (if one is included). Failure in this # stage prevents a fleet from moving to ACTIVE status. Logs for this # stage list the installation steps and whether or not the install # completed successfully. Access the logs by using the URL in # *PreSignedLogUrl*. # + # * FLEET\_CREATION\_COMPLETED\_INSTALLER -- The game server build + # files were successfully installed and validation of the + # installation will begin soon. + # + # * FLEET\_CREATION\_FAILED\_INSTALLER -- The installed failed while + # attempting to install the build files. This event indicates that + # the failure occurred before Amazon GameLift could start + # validation. + # # * FLEET\_CREATION\_VALIDATING\_RUNTIME\_CONFIG -- The build process # was successful, and the GameLift is now verifying that the game # server launch paths, which are specified in the fleet's runtime @@ -5186,14 +5261,18 @@ class FilterConfiguration < Struct.new( # Current status of the fleet. Possible fleet statuses include the # following: # - # * NEW -- A new fleet has been defined and desired instances is set - # to 1. + # * NEW -- A new fleet resource has been defined and Amazon GameLift + # has started creating the fleet. Desired instances is set to 1. # - # * DOWNLOADING/VALIDATING/BUILDING/ACTIVATING -- Amazon GameLift is - # setting up the new fleet, creating new instances with the game - # build or Realtime script and starting server processes. + # * DOWNLOADING/VALIDATING/BUILDING -- Amazon GameLift is download the + # game server build, running install scripts, and then validating + # the build files. When complete, Amazon GameLift launches a fleet + # instance. # - # * ACTIVE -- Hosts can now accept game sessions. + # * ACTIVATING -- Amazon GameLift is launching a game server process + # and testing its connectivity with the Amazon GameLift service. + # + # * ACTIVE -- The fleet is now ready to host game sessions. # # * ERROR -- An error occurred when downloading, validating, building, # or activating the fleet. @@ -5239,7 +5318,7 @@ class FilterConfiguration < Struct.new( # # @!attribute [rw] server_launch_path # **This parameter is no longer used.** Server launch paths are now - # defined using the fleet's [RuntimeConfiguration][1] . Requests that + # defined using the fleet's [RuntimeConfiguration][1]. Requests that # use this parameter continue to be valid. # # @@ -5249,7 +5328,7 @@ class FilterConfiguration < Struct.new( # # @!attribute [rw] server_launch_parameters # **This parameter is no longer used.** Server launch parameters are - # now defined using the fleet's runtime configuration . Requests that + # now defined using the fleet's runtime configuration. Requests that # use this parameter continue to be valid. # @return [String] # @@ -5281,6 +5360,20 @@ class FilterConfiguration < Struct.new( # operating system is determined by the OS of the build or script that # is deployed on this fleet. This attribute is used with fleets where # `ComputeType` is "EC2" or "Container". + # + # Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See + # more details in the [Amazon Linux 2 FAQs][1]. For game servers that + # are hosted on AL2 and use Amazon GameLift server SDK 4.x., first + # update the game server build to server SDK 5.x, and then deploy to + # AL2023 instances. See [ Migrate to Amazon GameLift server SDK + # version 5.][2] + # + # + # + # + # + # [1]: https://aws.amazon.com/amazon-linux-2/faqs/ + # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html # @return [String] # # @!attribute [rw] resource_creation_limit_policy @@ -6764,6 +6857,20 @@ class IdempotentParameterMismatchException < Struct.new( # # @!attribute [rw] operating_system # Operating system that is running on this EC2 instance. + # + # Amazon Linux 2 (AL2) will reach end of support on 6/30/2025. See + # more details in the [Amazon Linux 2 FAQs][1]. For game servers that + # are hosted on AL2 and use Amazon GameLift server SDK 4.x., first + # update the game server build to server SDK 5.x, and then deploy to + # AL2023 instances. See [ Migrate to Amazon GameLift server SDK + # version 5.][2] + # + # + # + # + # + # [1]: https://aws.amazon.com/amazon-linux-2/faqs/ + # [2]: https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-serversdk5-migration.html # @return [String] # # @!attribute [rw] type @@ -7608,7 +7715,13 @@ class LocationAttributes < Struct.new( # for game hosting. # # @!attribute [rw] location - # An Amazon Web Services Region code, such as `us-west-2`. + # An Amazon Web Services Region code, such as `us-west-2`. For a list + # of supported Regions and Local Zones, see [ Amazon GameLift service + # locations][1] for managed hosting. + # + # + # + # [1]: https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-regions.html # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/LocationConfiguration AWS API Documentation @@ -7621,11 +7734,7 @@ class LocationConfiguration < Struct.new( # Properties of a custom location for use in an Amazon GameLift Anywhere # fleet. This data type is returned in response to a call to - # [https://docs.aws.amazon.com/gamelift/latest/apireference/API\_CreateLocation.html][1]. - # - # - # - # [1]: https://docs.aws.amazon.com/gamelift/latest/apireference/API_CreateLocation.html + # CreateLocation. # # @!attribute [rw] location_name # The location's name. @@ -8105,7 +8214,7 @@ class MatchmakingTicket < Struct.new( include Aws::Structure end - # THe requested resources was not found. The resource was either not + # The requested resources was not found. The resource was either not # created yet or deleted. # # @!attribute [rw] message @@ -8629,12 +8738,14 @@ class PutScalingPolicyOutput < Struct.new( # # @!attribute [rw] ip_address # The IP address of the compute resource. Amazon GameLift requires - # either a DNS name or IP address. + # either a DNS name or IP address. When registering an Anywhere fleet, + # an IP address is required. # @return [String] # # @!attribute [rw] location # The name of a custom location to associate with the compute resource - # being registered. + # being registered. This parameter is required when registering a + # compute for an Anywhere fleet. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/RegisterComputeInput AWS API Documentation diff --git a/gems/aws-sdk-gamelift/sig/types.rbs b/gems/aws-sdk-gamelift/sig/types.rbs index 2f2b18518ea..745541aee83 100644 --- a/gems/aws-sdk-gamelift/sig/types.rbs +++ b/gems/aws-sdk-gamelift/sig/types.rbs @@ -1015,7 +1015,7 @@ module Aws::GameLift class Event attr_accessor event_id: ::String attr_accessor resource_id: ::String - attr_accessor event_code: ("GENERIC_EVENT" | "FLEET_CREATED" | "FLEET_DELETED" | "FLEET_SCALING_EVENT" | "FLEET_STATE_DOWNLOADING" | "FLEET_STATE_VALIDATING" | "FLEET_STATE_BUILDING" | "FLEET_STATE_ACTIVATING" | "FLEET_STATE_ACTIVE" | "FLEET_STATE_ERROR" | "FLEET_INITIALIZATION_FAILED" | "FLEET_BINARY_DOWNLOAD_FAILED" | "FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND" | "FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE" | "FLEET_VALIDATION_TIMED_OUT" | "FLEET_ACTIVATION_FAILED" | "FLEET_ACTIVATION_FAILED_NO_INSTANCES" | "FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED" | "SERVER_PROCESS_INVALID_PATH" | "SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT" | "SERVER_PROCESS_PROCESS_READY_TIMEOUT" | "SERVER_PROCESS_CRASHED" | "SERVER_PROCESS_TERMINATED_UNHEALTHY" | "SERVER_PROCESS_FORCE_TERMINATED" | "SERVER_PROCESS_PROCESS_EXIT_TIMEOUT" | "GAME_SESSION_ACTIVATION_TIMEOUT" | "FLEET_CREATION_EXTRACTING_BUILD" | "FLEET_CREATION_RUNNING_INSTALLER" | "FLEET_CREATION_VALIDATING_RUNTIME_CONFIG" | "FLEET_VPC_PEERING_SUCCEEDED" | "FLEET_VPC_PEERING_FAILED" | "FLEET_VPC_PEERING_DELETED" | "INSTANCE_INTERRUPTED" | "INSTANCE_RECYCLED") + attr_accessor event_code: ("GENERIC_EVENT" | "FLEET_CREATED" | "FLEET_DELETED" | "FLEET_SCALING_EVENT" | "FLEET_STATE_DOWNLOADING" | "FLEET_STATE_VALIDATING" | "FLEET_STATE_BUILDING" | "FLEET_STATE_ACTIVATING" | "FLEET_STATE_ACTIVE" | "FLEET_STATE_ERROR" | "FLEET_INITIALIZATION_FAILED" | "FLEET_BINARY_DOWNLOAD_FAILED" | "FLEET_VALIDATION_LAUNCH_PATH_NOT_FOUND" | "FLEET_VALIDATION_EXECUTABLE_RUNTIME_FAILURE" | "FLEET_VALIDATION_TIMED_OUT" | "FLEET_ACTIVATION_FAILED" | "FLEET_ACTIVATION_FAILED_NO_INSTANCES" | "FLEET_NEW_GAME_SESSION_PROTECTION_POLICY_UPDATED" | "SERVER_PROCESS_INVALID_PATH" | "SERVER_PROCESS_SDK_INITIALIZATION_TIMEOUT" | "SERVER_PROCESS_PROCESS_READY_TIMEOUT" | "SERVER_PROCESS_CRASHED" | "SERVER_PROCESS_TERMINATED_UNHEALTHY" | "SERVER_PROCESS_FORCE_TERMINATED" | "SERVER_PROCESS_PROCESS_EXIT_TIMEOUT" | "GAME_SESSION_ACTIVATION_TIMEOUT" | "FLEET_CREATION_EXTRACTING_BUILD" | "FLEET_CREATION_RUNNING_INSTALLER" | "FLEET_CREATION_VALIDATING_RUNTIME_CONFIG" | "FLEET_VPC_PEERING_SUCCEEDED" | "FLEET_VPC_PEERING_FAILED" | "FLEET_VPC_PEERING_DELETED" | "INSTANCE_INTERRUPTED" | "INSTANCE_RECYCLED" | "FLEET_CREATION_COMPLETED_INSTALLER" | "FLEET_CREATION_FAILED_INSTALLER") attr_accessor message: ::String attr_accessor event_time: ::Time attr_accessor pre_signed_log_url: ::String diff --git a/gems/aws-sdk-kinesisanalyticsv2/CHANGELOG.md b/gems/aws-sdk-kinesisanalyticsv2/CHANGELOG.md index c93e2c44742..29e07739756 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/CHANGELOG.md +++ b/gems/aws-sdk-kinesisanalyticsv2/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.64.0 (2024-09-05) +------------------ + +* Feature - Support for Flink 1.20 in Managed Service for Apache Flink + 1.63.0 (2024-09-03) ------------------ diff --git a/gems/aws-sdk-kinesisanalyticsv2/VERSION b/gems/aws-sdk-kinesisanalyticsv2/VERSION index af92bdd9f58..9405730420f 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/VERSION +++ b/gems/aws-sdk-kinesisanalyticsv2/VERSION @@ -1 +1 @@ -1.63.0 +1.64.0 diff --git a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2.rb b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2.rb index f124c3df008..2ada92d0981 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2.rb +++ b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2.rb @@ -52,6 +52,6 @@ # @!group service module Aws::KinesisAnalyticsV2 - GEM_VERSION = '1.63.0' + GEM_VERSION = '1.64.0' end diff --git a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client.rb b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client.rb index f341a50b69f..053d331781c 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client.rb +++ b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client.rb @@ -998,7 +998,7 @@ def add_application_vpc_configuration(params = {}, options = {}) # resp = client.create_application({ # application_name: "ApplicationName", # required # application_description: "ApplicationDescription", - # runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6, FLINK-1_8, ZEPPELIN-FLINK-1_0, FLINK-1_11, FLINK-1_13, ZEPPELIN-FLINK-2_0, FLINK-1_15, ZEPPELIN-FLINK-3_0, FLINK-1_18, FLINK-1_19 + # runtime_environment: "SQL-1_0", # required, accepts SQL-1_0, FLINK-1_6, FLINK-1_8, ZEPPELIN-FLINK-1_0, FLINK-1_11, FLINK-1_13, ZEPPELIN-FLINK-2_0, FLINK-1_15, ZEPPELIN-FLINK-3_0, FLINK-1_18, FLINK-1_19, FLINK-1_20 # service_execution_role: "RoleARN", # required # application_configuration: { # sql_application_configuration: { @@ -1196,7 +1196,7 @@ def add_application_vpc_configuration(params = {}, options = {}) # resp.application_detail.application_arn #=> String # resp.application_detail.application_description #=> String # resp.application_detail.application_name #=> String - # resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19" + # resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19", "FLINK-1_20" # resp.application_detail.service_execution_role #=> String # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "ROLLING_BACK", "MAINTENANCE", "ROLLED_BACK" # resp.application_detail.application_version_id #=> Integer @@ -1744,7 +1744,7 @@ def delete_application_vpc_configuration(params = {}, options = {}) # resp.application_detail.application_arn #=> String # resp.application_detail.application_description #=> String # resp.application_detail.application_name #=> String - # resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19" + # resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19", "FLINK-1_20" # resp.application_detail.service_execution_role #=> String # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "ROLLING_BACK", "MAINTENANCE", "ROLLED_BACK" # resp.application_detail.application_version_id #=> Integer @@ -1933,7 +1933,7 @@ def describe_application_operation(params = {}, options = {}) # resp.snapshot_details.snapshot_status #=> String, one of "CREATING", "READY", "DELETING", "FAILED" # resp.snapshot_details.application_version_id #=> Integer # resp.snapshot_details.snapshot_creation_timestamp #=> Time - # resp.snapshot_details.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19" + # resp.snapshot_details.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19", "FLINK-1_20" # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/DescribeApplicationSnapshot AWS API Documentation # @@ -1976,7 +1976,7 @@ def describe_application_snapshot(params = {}, options = {}) # resp.application_version_detail.application_arn #=> String # resp.application_version_detail.application_description #=> String # resp.application_version_detail.application_name #=> String - # resp.application_version_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19" + # resp.application_version_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19", "FLINK-1_20" # resp.application_version_detail.service_execution_role #=> String # resp.application_version_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "ROLLING_BACK", "MAINTENANCE", "ROLLED_BACK" # resp.application_version_detail.application_version_id #=> Integer @@ -2273,7 +2273,7 @@ def list_application_operations(params = {}, options = {}) # resp.snapshot_summaries[0].snapshot_status #=> String, one of "CREATING", "READY", "DELETING", "FAILED" # resp.snapshot_summaries[0].application_version_id #=> Integer # resp.snapshot_summaries[0].snapshot_creation_timestamp #=> Time - # resp.snapshot_summaries[0].runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19" + # resp.snapshot_summaries[0].runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19", "FLINK-1_20" # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/kinesisanalyticsv2-2018-05-23/ListApplicationSnapshots AWS API Documentation @@ -2385,7 +2385,7 @@ def list_application_versions(params = {}, options = {}) # resp.application_summaries[0].application_arn #=> String # resp.application_summaries[0].application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "ROLLING_BACK", "MAINTENANCE", "ROLLED_BACK" # resp.application_summaries[0].application_version_id #=> Integer - # resp.application_summaries[0].runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19" + # resp.application_summaries[0].runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19", "FLINK-1_20" # resp.application_summaries[0].application_mode #=> String, one of "STREAMING", "INTERACTIVE" # resp.next_token #=> String # @@ -2468,7 +2468,7 @@ def list_tags_for_resource(params = {}, options = {}) # resp.application_detail.application_arn #=> String # resp.application_detail.application_description #=> String # resp.application_detail.application_name #=> String - # resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19" + # resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19", "FLINK-1_20" # resp.application_detail.service_execution_role #=> String # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "ROLLING_BACK", "MAINTENANCE", "ROLLED_BACK" # resp.application_detail.application_version_id #=> Integer @@ -3027,7 +3027,7 @@ def untag_resource(params = {}, options = {}) # }, # ], # conditional_token: "ConditionalToken", - # runtime_environment_update: "SQL-1_0", # accepts SQL-1_0, FLINK-1_6, FLINK-1_8, ZEPPELIN-FLINK-1_0, FLINK-1_11, FLINK-1_13, ZEPPELIN-FLINK-2_0, FLINK-1_15, ZEPPELIN-FLINK-3_0, FLINK-1_18, FLINK-1_19 + # runtime_environment_update: "SQL-1_0", # accepts SQL-1_0, FLINK-1_6, FLINK-1_8, ZEPPELIN-FLINK-1_0, FLINK-1_11, FLINK-1_13, ZEPPELIN-FLINK-2_0, FLINK-1_15, ZEPPELIN-FLINK-3_0, FLINK-1_18, FLINK-1_19, FLINK-1_20 # }) # # @example Response structure @@ -3035,7 +3035,7 @@ def untag_resource(params = {}, options = {}) # resp.application_detail.application_arn #=> String # resp.application_detail.application_description #=> String # resp.application_detail.application_name #=> String - # resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19" + # resp.application_detail.runtime_environment #=> String, one of "SQL-1_0", "FLINK-1_6", "FLINK-1_8", "ZEPPELIN-FLINK-1_0", "FLINK-1_11", "FLINK-1_13", "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", "FLINK-1_18", "FLINK-1_19", "FLINK-1_20" # resp.application_detail.service_execution_role #=> String # resp.application_detail.application_status #=> String, one of "DELETING", "STARTING", "STOPPING", "READY", "RUNNING", "UPDATING", "AUTOSCALING", "FORCE_STOPPING", "ROLLING_BACK", "MAINTENANCE", "ROLLED_BACK" # resp.application_detail.application_version_id #=> Integer @@ -3242,7 +3242,7 @@ def build_request(operation_name, params = {}) tracer: tracer ) context[:gem_name] = 'aws-sdk-kinesisanalyticsv2' - context[:gem_version] = '1.63.0' + context[:gem_version] = '1.64.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-kinesisanalyticsv2/sig/client.rbs b/gems/aws-sdk-kinesisanalyticsv2/sig/client.rbs index fd6ab68df97..c1f020e9b33 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/sig/client.rbs +++ b/gems/aws-sdk-kinesisanalyticsv2/sig/client.rbs @@ -262,7 +262,7 @@ module Aws def create_application: ( application_name: ::String, ?application_description: ::String, - runtime_environment: ("SQL-1_0" | "FLINK-1_6" | "FLINK-1_8" | "ZEPPELIN-FLINK-1_0" | "FLINK-1_11" | "FLINK-1_13" | "ZEPPELIN-FLINK-2_0" | "FLINK-1_15" | "ZEPPELIN-FLINK-3_0" | "FLINK-1_18" | "FLINK-1_19"), + runtime_environment: ("SQL-1_0" | "FLINK-1_6" | "FLINK-1_8" | "ZEPPELIN-FLINK-1_0" | "FLINK-1_11" | "FLINK-1_13" | "ZEPPELIN-FLINK-2_0" | "FLINK-1_15" | "ZEPPELIN-FLINK-3_0" | "FLINK-1_18" | "FLINK-1_19" | "FLINK-1_20"), service_execution_role: ::String, ?application_configuration: { sql_application_configuration: { @@ -980,7 +980,7 @@ module Aws }, ], ?conditional_token: ::String, - ?runtime_environment_update: ("SQL-1_0" | "FLINK-1_6" | "FLINK-1_8" | "ZEPPELIN-FLINK-1_0" | "FLINK-1_11" | "FLINK-1_13" | "ZEPPELIN-FLINK-2_0" | "FLINK-1_15" | "ZEPPELIN-FLINK-3_0" | "FLINK-1_18" | "FLINK-1_19") + ?runtime_environment_update: ("SQL-1_0" | "FLINK-1_6" | "FLINK-1_8" | "ZEPPELIN-FLINK-1_0" | "FLINK-1_11" | "FLINK-1_13" | "ZEPPELIN-FLINK-2_0" | "FLINK-1_15" | "ZEPPELIN-FLINK-3_0" | "FLINK-1_18" | "FLINK-1_19" | "FLINK-1_20") ) -> _UpdateApplicationResponseSuccess | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplicationResponseSuccess diff --git a/gems/aws-sdk-kinesisanalyticsv2/sig/types.rbs b/gems/aws-sdk-kinesisanalyticsv2/sig/types.rbs index 55d02806f74..da2c375bfc2 100644 --- a/gems/aws-sdk-kinesisanalyticsv2/sig/types.rbs +++ b/gems/aws-sdk-kinesisanalyticsv2/sig/types.rbs @@ -157,7 +157,7 @@ module Aws::KinesisAnalyticsV2 attr_accessor application_arn: ::String attr_accessor application_description: ::String attr_accessor application_name: ::String - attr_accessor runtime_environment: ("SQL-1_0" | "FLINK-1_6" | "FLINK-1_8" | "ZEPPELIN-FLINK-1_0" | "FLINK-1_11" | "FLINK-1_13" | "ZEPPELIN-FLINK-2_0" | "FLINK-1_15" | "ZEPPELIN-FLINK-3_0" | "FLINK-1_18" | "FLINK-1_19") + attr_accessor runtime_environment: ("SQL-1_0" | "FLINK-1_6" | "FLINK-1_8" | "ZEPPELIN-FLINK-1_0" | "FLINK-1_11" | "FLINK-1_13" | "ZEPPELIN-FLINK-2_0" | "FLINK-1_15" | "ZEPPELIN-FLINK-3_0" | "FLINK-1_18" | "FLINK-1_19" | "FLINK-1_20") attr_accessor service_execution_role: ::String attr_accessor application_status: ("DELETING" | "STARTING" | "STOPPING" | "READY" | "RUNNING" | "UPDATING" | "AUTOSCALING" | "FORCE_STOPPING" | "ROLLING_BACK" | "MAINTENANCE" | "ROLLED_BACK") attr_accessor application_version_id: ::Integer @@ -231,7 +231,7 @@ module Aws::KinesisAnalyticsV2 attr_accessor application_arn: ::String attr_accessor application_status: ("DELETING" | "STARTING" | "STOPPING" | "READY" | "RUNNING" | "UPDATING" | "AUTOSCALING" | "FORCE_STOPPING" | "ROLLING_BACK" | "MAINTENANCE" | "ROLLED_BACK") attr_accessor application_version_id: ::Integer - attr_accessor runtime_environment: ("SQL-1_0" | "FLINK-1_6" | "FLINK-1_8" | "ZEPPELIN-FLINK-1_0" | "FLINK-1_11" | "FLINK-1_13" | "ZEPPELIN-FLINK-2_0" | "FLINK-1_15" | "ZEPPELIN-FLINK-3_0" | "FLINK-1_18" | "FLINK-1_19") + attr_accessor runtime_environment: ("SQL-1_0" | "FLINK-1_6" | "FLINK-1_8" | "ZEPPELIN-FLINK-1_0" | "FLINK-1_11" | "FLINK-1_13" | "ZEPPELIN-FLINK-2_0" | "FLINK-1_15" | "ZEPPELIN-FLINK-3_0" | "FLINK-1_18" | "FLINK-1_19" | "FLINK-1_20") attr_accessor application_mode: ("STREAMING" | "INTERACTIVE") SENSITIVE: [] end @@ -373,7 +373,7 @@ module Aws::KinesisAnalyticsV2 class CreateApplicationRequest attr_accessor application_name: ::String attr_accessor application_description: ::String - attr_accessor runtime_environment: ("SQL-1_0" | "FLINK-1_6" | "FLINK-1_8" | "ZEPPELIN-FLINK-1_0" | "FLINK-1_11" | "FLINK-1_13" | "ZEPPELIN-FLINK-2_0" | "FLINK-1_15" | "ZEPPELIN-FLINK-3_0" | "FLINK-1_18" | "FLINK-1_19") + attr_accessor runtime_environment: ("SQL-1_0" | "FLINK-1_6" | "FLINK-1_8" | "ZEPPELIN-FLINK-1_0" | "FLINK-1_11" | "FLINK-1_13" | "ZEPPELIN-FLINK-2_0" | "FLINK-1_15" | "ZEPPELIN-FLINK-3_0" | "FLINK-1_18" | "FLINK-1_19" | "FLINK-1_20") attr_accessor service_execution_role: ::String attr_accessor application_configuration: Types::ApplicationConfiguration attr_accessor cloud_watch_logging_options: ::Array[Types::CloudWatchLoggingOption] @@ -1153,7 +1153,7 @@ module Aws::KinesisAnalyticsV2 attr_accessor snapshot_status: ("CREATING" | "READY" | "DELETING" | "FAILED") attr_accessor application_version_id: ::Integer attr_accessor snapshot_creation_timestamp: ::Time - attr_accessor runtime_environment: ("SQL-1_0" | "FLINK-1_6" | "FLINK-1_8" | "ZEPPELIN-FLINK-1_0" | "FLINK-1_11" | "FLINK-1_13" | "ZEPPELIN-FLINK-2_0" | "FLINK-1_15" | "ZEPPELIN-FLINK-3_0" | "FLINK-1_18" | "FLINK-1_19") + attr_accessor runtime_environment: ("SQL-1_0" | "FLINK-1_6" | "FLINK-1_8" | "ZEPPELIN-FLINK-1_0" | "FLINK-1_11" | "FLINK-1_13" | "ZEPPELIN-FLINK-2_0" | "FLINK-1_15" | "ZEPPELIN-FLINK-3_0" | "FLINK-1_18" | "FLINK-1_19" | "FLINK-1_20") SENSITIVE: [] end @@ -1274,7 +1274,7 @@ module Aws::KinesisAnalyticsV2 attr_accessor run_configuration_update: Types::RunConfigurationUpdate attr_accessor cloud_watch_logging_option_updates: ::Array[Types::CloudWatchLoggingOptionUpdate] attr_accessor conditional_token: ::String - attr_accessor runtime_environment_update: ("SQL-1_0" | "FLINK-1_6" | "FLINK-1_8" | "ZEPPELIN-FLINK-1_0" | "FLINK-1_11" | "FLINK-1_13" | "ZEPPELIN-FLINK-2_0" | "FLINK-1_15" | "ZEPPELIN-FLINK-3_0" | "FLINK-1_18" | "FLINK-1_19") + attr_accessor runtime_environment_update: ("SQL-1_0" | "FLINK-1_6" | "FLINK-1_8" | "ZEPPELIN-FLINK-1_0" | "FLINK-1_11" | "FLINK-1_13" | "ZEPPELIN-FLINK-2_0" | "FLINK-1_15" | "ZEPPELIN-FLINK-3_0" | "FLINK-1_18" | "FLINK-1_19" | "FLINK-1_20") SENSITIVE: [] end diff --git a/gems/aws-sdk-sagemaker/CHANGELOG.md b/gems/aws-sdk-sagemaker/CHANGELOG.md index 945ed325092..95c57d179cb 100644 --- a/gems/aws-sdk-sagemaker/CHANGELOG.md +++ b/gems/aws-sdk-sagemaker/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.259.0 (2024-09-05) +------------------ + +* Feature - Amazon SageMaker now supports idle shutdown of JupyterLab and CodeEditor applications on SageMaker Studio. + 1.258.0 (2024-09-03) ------------------ diff --git a/gems/aws-sdk-sagemaker/VERSION b/gems/aws-sdk-sagemaker/VERSION index 7a5ff9a28c7..afac1ed7cdc 100644 --- a/gems/aws-sdk-sagemaker/VERSION +++ b/gems/aws-sdk-sagemaker/VERSION @@ -1 +1 @@ -1.258.0 +1.259.0 diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb index 9c8ac6c3237..756628c1e8c 100644 --- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb +++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb @@ -53,6 +53,6 @@ # @!group service module Aws::SageMaker - GEM_VERSION = '1.258.0' + GEM_VERSION = '1.259.0' end diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb index 45f372e3ea8..4f44a0a4910 100644 --- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb +++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb @@ -1890,7 +1890,7 @@ def create_auto_ml_job_v2(params = {}, options = {}) # source_s3_uri: "S3Uri", # required # on_create: "ClusterLifeCycleConfigFileName", # required # }, - # execution_role: "RoleArn", # required + # execution_role: "IAMRoleArn", # required # threads_per_core: 1, # instance_storage_configs: [ # { @@ -2690,6 +2690,14 @@ def create_device_fleet(params = {}, options = {}) # }, # ], # lifecycle_config_arns: ["StudioLifecycleConfigArn"], + # app_lifecycle_management: { + # idle_settings: { + # lifecycle_management: "ENABLED", # accepts ENABLED, DISABLED + # idle_timeout_in_minutes: 1, + # min_idle_timeout_in_minutes: 1, + # max_idle_timeout_in_minutes: 1, + # }, + # }, # }, # jupyter_lab_app_settings: { # default_resource_spec: { @@ -2712,6 +2720,14 @@ def create_device_fleet(params = {}, options = {}) # repository_url: "RepositoryUrl", # required # }, # ], + # app_lifecycle_management: { + # idle_settings: { + # lifecycle_management: "ENABLED", # accepts ENABLED, DISABLED + # idle_timeout_in_minutes: 1, + # min_idle_timeout_in_minutes: 1, + # max_idle_timeout_in_minutes: 1, + # }, + # }, # emr_settings: { # assumable_role_arns: ["RoleArn"], # execution_role_arns: ["RoleArn"], @@ -2835,6 +2851,14 @@ def create_device_fleet(params = {}, options = {}) # repository_url: "RepositoryUrl", # required # }, # ], + # app_lifecycle_management: { + # idle_settings: { + # lifecycle_management: "ENABLED", # accepts ENABLED, DISABLED + # idle_timeout_in_minutes: 1, + # min_idle_timeout_in_minutes: 1, + # max_idle_timeout_in_minutes: 1, + # }, + # }, # emr_settings: { # assumable_role_arns: ["RoleArn"], # execution_role_arns: ["RoleArn"], @@ -8236,6 +8260,11 @@ def create_project(params = {}, options = {}) # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, + # app_lifecycle_management: { + # idle_settings: { + # idle_timeout_in_minutes: 1, + # }, + # }, # }, # jupyter_lab_app_settings: { # default_resource_spec: { @@ -8250,6 +8279,11 @@ def create_project(params = {}, options = {}) # repository_url: "RepositoryUrl", # required # }, # ], + # app_lifecycle_management: { + # idle_settings: { + # idle_timeout_in_minutes: 1, + # }, + # }, # }, # app_type: "JupyterServer", # accepts JupyterServer, KernelGateway, DetailedProfiler, TensorBoard, CodeEditor, JupyterLab, RStudioServerPro, RSessionGateway, Canvas # space_storage_settings: { @@ -9435,6 +9469,14 @@ def create_trial_component(params = {}, options = {}) # }, # ], # lifecycle_config_arns: ["StudioLifecycleConfigArn"], + # app_lifecycle_management: { + # idle_settings: { + # lifecycle_management: "ENABLED", # accepts ENABLED, DISABLED + # idle_timeout_in_minutes: 1, + # min_idle_timeout_in_minutes: 1, + # max_idle_timeout_in_minutes: 1, + # }, + # }, # }, # jupyter_lab_app_settings: { # default_resource_spec: { @@ -9457,6 +9499,14 @@ def create_trial_component(params = {}, options = {}) # repository_url: "RepositoryUrl", # required # }, # ], + # app_lifecycle_management: { + # idle_settings: { + # lifecycle_management: "ENABLED", # accepts ENABLED, DISABLED + # idle_timeout_in_minutes: 1, + # min_idle_timeout_in_minutes: 1, + # max_idle_timeout_in_minutes: 1, + # }, + # }, # emr_settings: { # assumable_role_arns: ["RoleArn"], # execution_role_arns: ["RoleArn"], @@ -12599,6 +12649,10 @@ def describe_device_fleet(params = {}, options = {}) # resp.default_user_settings.code_editor_app_settings.custom_images[0].app_image_config_name #=> String # resp.default_user_settings.code_editor_app_settings.lifecycle_config_arns #=> Array # resp.default_user_settings.code_editor_app_settings.lifecycle_config_arns[0] #=> String + # resp.default_user_settings.code_editor_app_settings.app_lifecycle_management.idle_settings.lifecycle_management #=> String, one of "ENABLED", "DISABLED" + # resp.default_user_settings.code_editor_app_settings.app_lifecycle_management.idle_settings.idle_timeout_in_minutes #=> Integer + # resp.default_user_settings.code_editor_app_settings.app_lifecycle_management.idle_settings.min_idle_timeout_in_minutes #=> Integer + # resp.default_user_settings.code_editor_app_settings.app_lifecycle_management.idle_settings.max_idle_timeout_in_minutes #=> Integer # resp.default_user_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_arn #=> String # resp.default_user_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String # resp.default_user_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String @@ -12612,6 +12666,10 @@ def describe_device_fleet(params = {}, options = {}) # resp.default_user_settings.jupyter_lab_app_settings.lifecycle_config_arns[0] #=> String # resp.default_user_settings.jupyter_lab_app_settings.code_repositories #=> Array # resp.default_user_settings.jupyter_lab_app_settings.code_repositories[0].repository_url #=> String + # resp.default_user_settings.jupyter_lab_app_settings.app_lifecycle_management.idle_settings.lifecycle_management #=> String, one of "ENABLED", "DISABLED" + # resp.default_user_settings.jupyter_lab_app_settings.app_lifecycle_management.idle_settings.idle_timeout_in_minutes #=> Integer + # resp.default_user_settings.jupyter_lab_app_settings.app_lifecycle_management.idle_settings.min_idle_timeout_in_minutes #=> Integer + # resp.default_user_settings.jupyter_lab_app_settings.app_lifecycle_management.idle_settings.max_idle_timeout_in_minutes #=> Integer # resp.default_user_settings.jupyter_lab_app_settings.emr_settings.assumable_role_arns #=> Array # resp.default_user_settings.jupyter_lab_app_settings.emr_settings.assumable_role_arns[0] #=> String # resp.default_user_settings.jupyter_lab_app_settings.emr_settings.execution_role_arns #=> Array @@ -12690,6 +12748,10 @@ def describe_device_fleet(params = {}, options = {}) # resp.default_space_settings.jupyter_lab_app_settings.lifecycle_config_arns[0] #=> String # resp.default_space_settings.jupyter_lab_app_settings.code_repositories #=> Array # resp.default_space_settings.jupyter_lab_app_settings.code_repositories[0].repository_url #=> String + # resp.default_space_settings.jupyter_lab_app_settings.app_lifecycle_management.idle_settings.lifecycle_management #=> String, one of "ENABLED", "DISABLED" + # resp.default_space_settings.jupyter_lab_app_settings.app_lifecycle_management.idle_settings.idle_timeout_in_minutes #=> Integer + # resp.default_space_settings.jupyter_lab_app_settings.app_lifecycle_management.idle_settings.min_idle_timeout_in_minutes #=> Integer + # resp.default_space_settings.jupyter_lab_app_settings.app_lifecycle_management.idle_settings.max_idle_timeout_in_minutes #=> Integer # resp.default_space_settings.jupyter_lab_app_settings.emr_settings.assumable_role_arns #=> Array # resp.default_space_settings.jupyter_lab_app_settings.emr_settings.assumable_role_arns[0] #=> String # resp.default_space_settings.jupyter_lab_app_settings.emr_settings.execution_role_arns #=> Array @@ -16013,6 +16075,7 @@ def describe_project(params = {}, options = {}) # resp.space_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String # resp.space_settings.code_editor_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge" # resp.space_settings.code_editor_app_settings.default_resource_spec.lifecycle_config_arn #=> String + # resp.space_settings.code_editor_app_settings.app_lifecycle_management.idle_settings.idle_timeout_in_minutes #=> Integer # resp.space_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_arn #=> String # resp.space_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String # resp.space_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String @@ -16020,6 +16083,7 @@ def describe_project(params = {}, options = {}) # resp.space_settings.jupyter_lab_app_settings.default_resource_spec.lifecycle_config_arn #=> String # resp.space_settings.jupyter_lab_app_settings.code_repositories #=> Array # resp.space_settings.jupyter_lab_app_settings.code_repositories[0].repository_url #=> String + # resp.space_settings.jupyter_lab_app_settings.app_lifecycle_management.idle_settings.idle_timeout_in_minutes #=> Integer # resp.space_settings.app_type #=> String, one of "JupyterServer", "KernelGateway", "DetailedProfiler", "TensorBoard", "CodeEditor", "JupyterLab", "RStudioServerPro", "RSessionGateway", "Canvas" # resp.space_settings.space_storage_settings.ebs_storage_settings.ebs_volume_size_in_gb #=> Integer # resp.space_settings.custom_file_systems #=> Array @@ -16687,6 +16751,10 @@ def describe_trial_component(params = {}, options = {}) # resp.user_settings.code_editor_app_settings.custom_images[0].app_image_config_name #=> String # resp.user_settings.code_editor_app_settings.lifecycle_config_arns #=> Array # resp.user_settings.code_editor_app_settings.lifecycle_config_arns[0] #=> String + # resp.user_settings.code_editor_app_settings.app_lifecycle_management.idle_settings.lifecycle_management #=> String, one of "ENABLED", "DISABLED" + # resp.user_settings.code_editor_app_settings.app_lifecycle_management.idle_settings.idle_timeout_in_minutes #=> Integer + # resp.user_settings.code_editor_app_settings.app_lifecycle_management.idle_settings.min_idle_timeout_in_minutes #=> Integer + # resp.user_settings.code_editor_app_settings.app_lifecycle_management.idle_settings.max_idle_timeout_in_minutes #=> Integer # resp.user_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_arn #=> String # resp.user_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String # resp.user_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String @@ -16700,6 +16768,10 @@ def describe_trial_component(params = {}, options = {}) # resp.user_settings.jupyter_lab_app_settings.lifecycle_config_arns[0] #=> String # resp.user_settings.jupyter_lab_app_settings.code_repositories #=> Array # resp.user_settings.jupyter_lab_app_settings.code_repositories[0].repository_url #=> String + # resp.user_settings.jupyter_lab_app_settings.app_lifecycle_management.idle_settings.lifecycle_management #=> String, one of "ENABLED", "DISABLED" + # resp.user_settings.jupyter_lab_app_settings.app_lifecycle_management.idle_settings.idle_timeout_in_minutes #=> Integer + # resp.user_settings.jupyter_lab_app_settings.app_lifecycle_management.idle_settings.min_idle_timeout_in_minutes #=> Integer + # resp.user_settings.jupyter_lab_app_settings.app_lifecycle_management.idle_settings.max_idle_timeout_in_minutes #=> Integer # resp.user_settings.jupyter_lab_app_settings.emr_settings.assumable_role_arns #=> Array # resp.user_settings.jupyter_lab_app_settings.emr_settings.assumable_role_arns[0] #=> String # resp.user_settings.jupyter_lab_app_settings.emr_settings.execution_role_arns #=> Array @@ -24664,7 +24736,7 @@ def update_artifact(params = {}, options = {}) # source_s3_uri: "S3Uri", # required # on_create: "ClusterLifeCycleConfigFileName", # required # }, - # execution_role: "RoleArn", # required + # execution_role: "IAMRoleArn", # required # threads_per_core: 1, # instance_storage_configs: [ # { @@ -25059,6 +25131,14 @@ def update_devices(params = {}, options = {}) # }, # ], # lifecycle_config_arns: ["StudioLifecycleConfigArn"], + # app_lifecycle_management: { + # idle_settings: { + # lifecycle_management: "ENABLED", # accepts ENABLED, DISABLED + # idle_timeout_in_minutes: 1, + # min_idle_timeout_in_minutes: 1, + # max_idle_timeout_in_minutes: 1, + # }, + # }, # }, # jupyter_lab_app_settings: { # default_resource_spec: { @@ -25081,6 +25161,14 @@ def update_devices(params = {}, options = {}) # repository_url: "RepositoryUrl", # required # }, # ], + # app_lifecycle_management: { + # idle_settings: { + # lifecycle_management: "ENABLED", # accepts ENABLED, DISABLED + # idle_timeout_in_minutes: 1, + # min_idle_timeout_in_minutes: 1, + # max_idle_timeout_in_minutes: 1, + # }, + # }, # emr_settings: { # assumable_role_arns: ["RoleArn"], # execution_role_arns: ["RoleArn"], @@ -25193,6 +25281,14 @@ def update_devices(params = {}, options = {}) # repository_url: "RepositoryUrl", # required # }, # ], + # app_lifecycle_management: { + # idle_settings: { + # lifecycle_management: "ENABLED", # accepts ENABLED, DISABLED + # idle_timeout_in_minutes: 1, + # min_idle_timeout_in_minutes: 1, + # max_idle_timeout_in_minutes: 1, + # }, + # }, # emr_settings: { # assumable_role_arns: ["RoleArn"], # execution_role_arns: ["RoleArn"], @@ -26884,6 +26980,11 @@ def update_project(params = {}, options = {}) # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge # lifecycle_config_arn: "StudioLifecycleConfigArn", # }, + # app_lifecycle_management: { + # idle_settings: { + # idle_timeout_in_minutes: 1, + # }, + # }, # }, # jupyter_lab_app_settings: { # default_resource_spec: { @@ -26898,6 +26999,11 @@ def update_project(params = {}, options = {}) # repository_url: "RepositoryUrl", # required # }, # ], + # app_lifecycle_management: { + # idle_settings: { + # idle_timeout_in_minutes: 1, + # }, + # }, # }, # app_type: "JupyterServer", # accepts JupyterServer, KernelGateway, DetailedProfiler, TensorBoard, CodeEditor, JupyterLab, RStudioServerPro, RSessionGateway, Canvas # space_storage_settings: { @@ -27279,6 +27385,14 @@ def update_trial_component(params = {}, options = {}) # }, # ], # lifecycle_config_arns: ["StudioLifecycleConfigArn"], + # app_lifecycle_management: { + # idle_settings: { + # lifecycle_management: "ENABLED", # accepts ENABLED, DISABLED + # idle_timeout_in_minutes: 1, + # min_idle_timeout_in_minutes: 1, + # max_idle_timeout_in_minutes: 1, + # }, + # }, # }, # jupyter_lab_app_settings: { # default_resource_spec: { @@ -27301,6 +27415,14 @@ def update_trial_component(params = {}, options = {}) # repository_url: "RepositoryUrl", # required # }, # ], + # app_lifecycle_management: { + # idle_settings: { + # lifecycle_management: "ENABLED", # accepts ENABLED, DISABLED + # idle_timeout_in_minutes: 1, + # min_idle_timeout_in_minutes: 1, + # max_idle_timeout_in_minutes: 1, + # }, + # }, # emr_settings: { # assumable_role_arns: ["RoleArn"], # execution_role_arns: ["RoleArn"], @@ -27615,7 +27737,7 @@ def build_request(operation_name, params = {}) tracer: tracer ) context[:gem_name] = 'aws-sdk-sagemaker' - context[:gem_version] = '1.258.0' + context[:gem_version] = '1.259.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client_api.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client_api.rb index ffcc76d7da4..58639b6fecb 100644 --- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client_api.rb +++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client_api.rb @@ -63,6 +63,7 @@ module ClientApi AppImageConfigName = Shapes::StringShape.new(name: 'AppImageConfigName') AppImageConfigSortKey = Shapes::StringShape.new(name: 'AppImageConfigSortKey') AppInstanceType = Shapes::StringShape.new(name: 'AppInstanceType') + AppLifecycleManagement = Shapes::StructureShape.new(name: 'AppLifecycleManagement') AppList = Shapes::ListShape.new(name: 'AppList') AppManaged = Shapes::BooleanShape.new(name: 'AppManaged') AppName = Shapes::StringShape.new(name: 'AppName') @@ -1047,11 +1048,14 @@ module ClientApi HyperbandStrategyConfig = Shapes::StructureShape.new(name: 'HyperbandStrategyConfig') HyperbandStrategyMaxResource = Shapes::IntegerShape.new(name: 'HyperbandStrategyMaxResource') HyperbandStrategyMinResource = Shapes::IntegerShape.new(name: 'HyperbandStrategyMinResource') + IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn') IamIdentity = Shapes::StructureShape.new(name: 'IamIdentity') IamPolicyConstraints = Shapes::StructureShape.new(name: 'IamPolicyConstraints') IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken') IdentityProviderOAuthSetting = Shapes::StructureShape.new(name: 'IdentityProviderOAuthSetting') IdentityProviderOAuthSettings = Shapes::ListShape.new(name: 'IdentityProviderOAuthSettings') + IdleSettings = Shapes::StructureShape.new(name: 'IdleSettings') + IdleTimeoutInMinutes = Shapes::IntegerShape.new(name: 'IdleTimeoutInMinutes') Image = Shapes::StructureShape.new(name: 'Image') ImageArn = Shapes::StringShape.new(name: 'ImageArn') ImageBaseImage = Shapes::StringShape.new(name: 'ImageBaseImage') @@ -1195,6 +1199,7 @@ module ClientApi LastUpdateStatus = Shapes::StructureShape.new(name: 'LastUpdateStatus') LastUpdateStatusValue = Shapes::StringShape.new(name: 'LastUpdateStatusValue') LifecycleConfigArns = Shapes::ListShape.new(name: 'LifecycleConfigArns') + LifecycleManagement = Shapes::StringShape.new(name: 'LifecycleManagement') LineageEntityParameters = Shapes::MapShape.new(name: 'LineageEntityParameters') LineageGroupArn = Shapes::StringShape.new(name: 'LineageGroupArn') LineageGroupNameOrArn = Shapes::StringShape.new(name: 'LineageGroupNameOrArn') @@ -2000,10 +2005,12 @@ module ClientApi SourceIpConfig = Shapes::StructureShape.new(name: 'SourceIpConfig') SourceType = Shapes::StringShape.new(name: 'SourceType') SourceUri = Shapes::StringShape.new(name: 'SourceUri') + SpaceAppLifecycleManagement = Shapes::StructureShape.new(name: 'SpaceAppLifecycleManagement') SpaceArn = Shapes::StringShape.new(name: 'SpaceArn') SpaceCodeEditorAppSettings = Shapes::StructureShape.new(name: 'SpaceCodeEditorAppSettings') SpaceDetails = Shapes::StructureShape.new(name: 'SpaceDetails') SpaceEbsVolumeSizeInGb = Shapes::IntegerShape.new(name: 'SpaceEbsVolumeSizeInGb') + SpaceIdleSettings = Shapes::StructureShape.new(name: 'SpaceIdleSettings') SpaceJupyterLabAppSettings = Shapes::StructureShape.new(name: 'SpaceJupyterLabAppSettings') SpaceList = Shapes::ListShape.new(name: 'SpaceList') SpaceName = Shapes::StringShape.new(name: 'SpaceName') @@ -2502,6 +2509,9 @@ module ClientApi AppImageConfigList.member = Shapes::ShapeRef.new(shape: AppImageConfigDetails) + AppLifecycleManagement.add_member(:idle_settings, Shapes::ShapeRef.new(shape: IdleSettings, location_name: "IdleSettings")) + AppLifecycleManagement.struct_class = Types::AppLifecycleManagement + AppList.member = Shapes::ShapeRef.new(shape: AppDetails) AppSpecification.add_member(:image_uri, Shapes::ShapeRef.new(shape: ImageUri, required: true, location_name: "ImageUri")) @@ -2952,7 +2962,7 @@ module ClientApi ClusterInstanceGroupDetails.add_member(:instance_group_name, Shapes::ShapeRef.new(shape: ClusterInstanceGroupName, location_name: "InstanceGroupName")) ClusterInstanceGroupDetails.add_member(:instance_type, Shapes::ShapeRef.new(shape: ClusterInstanceType, location_name: "InstanceType")) ClusterInstanceGroupDetails.add_member(:life_cycle_config, Shapes::ShapeRef.new(shape: ClusterLifeCycleConfig, location_name: "LifeCycleConfig")) - ClusterInstanceGroupDetails.add_member(:execution_role, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRole")) + ClusterInstanceGroupDetails.add_member(:execution_role, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "ExecutionRole")) ClusterInstanceGroupDetails.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: ClusterThreadsPerCore, location_name: "ThreadsPerCore")) ClusterInstanceGroupDetails.add_member(:instance_storage_configs, Shapes::ShapeRef.new(shape: ClusterInstanceStorageConfigs, location_name: "InstanceStorageConfigs")) ClusterInstanceGroupDetails.struct_class = Types::ClusterInstanceGroupDetails @@ -2963,7 +2973,7 @@ module ClientApi ClusterInstanceGroupSpecification.add_member(:instance_group_name, Shapes::ShapeRef.new(shape: ClusterInstanceGroupName, required: true, location_name: "InstanceGroupName")) ClusterInstanceGroupSpecification.add_member(:instance_type, Shapes::ShapeRef.new(shape: ClusterInstanceType, required: true, location_name: "InstanceType")) ClusterInstanceGroupSpecification.add_member(:life_cycle_config, Shapes::ShapeRef.new(shape: ClusterLifeCycleConfig, required: true, location_name: "LifeCycleConfig")) - ClusterInstanceGroupSpecification.add_member(:execution_role, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "ExecutionRole")) + ClusterInstanceGroupSpecification.add_member(:execution_role, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "ExecutionRole")) ClusterInstanceGroupSpecification.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: ClusterThreadsPerCore, location_name: "ThreadsPerCore")) ClusterInstanceGroupSpecification.add_member(:instance_storage_configs, Shapes::ShapeRef.new(shape: ClusterInstanceStorageConfigs, location_name: "InstanceStorageConfigs")) ClusterInstanceGroupSpecification.struct_class = Types::ClusterInstanceGroupSpecification @@ -3027,6 +3037,7 @@ module ClientApi CodeEditorAppSettings.add_member(:default_resource_spec, Shapes::ShapeRef.new(shape: ResourceSpec, location_name: "DefaultResourceSpec")) CodeEditorAppSettings.add_member(:custom_images, Shapes::ShapeRef.new(shape: CustomImages, location_name: "CustomImages")) CodeEditorAppSettings.add_member(:lifecycle_config_arns, Shapes::ShapeRef.new(shape: LifecycleConfigArns, location_name: "LifecycleConfigArns")) + CodeEditorAppSettings.add_member(:app_lifecycle_management, Shapes::ShapeRef.new(shape: AppLifecycleManagement, location_name: "AppLifecycleManagement")) CodeEditorAppSettings.struct_class = Types::CodeEditorAppSettings CodeRepositories.member = Shapes::ShapeRef.new(shape: CodeRepository) @@ -6255,6 +6266,12 @@ module ClientApi IdentityProviderOAuthSettings.member = Shapes::ShapeRef.new(shape: IdentityProviderOAuthSetting) + IdleSettings.add_member(:lifecycle_management, Shapes::ShapeRef.new(shape: LifecycleManagement, location_name: "LifecycleManagement")) + IdleSettings.add_member(:idle_timeout_in_minutes, Shapes::ShapeRef.new(shape: IdleTimeoutInMinutes, location_name: "IdleTimeoutInMinutes")) + IdleSettings.add_member(:min_idle_timeout_in_minutes, Shapes::ShapeRef.new(shape: IdleTimeoutInMinutes, location_name: "MinIdleTimeoutInMinutes")) + IdleSettings.add_member(:max_idle_timeout_in_minutes, Shapes::ShapeRef.new(shape: IdleTimeoutInMinutes, location_name: "MaxIdleTimeoutInMinutes")) + IdleSettings.struct_class = Types::IdleSettings + Image.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime")) Image.add_member(:description, Shapes::ShapeRef.new(shape: ImageDescription, location_name: "Description")) Image.add_member(:display_name, Shapes::ShapeRef.new(shape: ImageDisplayName, location_name: "DisplayName")) @@ -6477,6 +6494,7 @@ module ClientApi JupyterLabAppSettings.add_member(:custom_images, Shapes::ShapeRef.new(shape: CustomImages, location_name: "CustomImages")) JupyterLabAppSettings.add_member(:lifecycle_config_arns, Shapes::ShapeRef.new(shape: LifecycleConfigArns, location_name: "LifecycleConfigArns")) JupyterLabAppSettings.add_member(:code_repositories, Shapes::ShapeRef.new(shape: CodeRepositories, location_name: "CodeRepositories")) + JupyterLabAppSettings.add_member(:app_lifecycle_management, Shapes::ShapeRef.new(shape: AppLifecycleManagement, location_name: "AppLifecycleManagement")) JupyterLabAppSettings.add_member(:emr_settings, Shapes::ShapeRef.new(shape: EmrSettings, location_name: "EmrSettings")) JupyterLabAppSettings.struct_class = Types::JupyterLabAppSettings @@ -9300,7 +9318,11 @@ module ClientApi SourceIpConfig.add_member(:cidrs, Shapes::ShapeRef.new(shape: Cidrs, required: true, location_name: "Cidrs")) SourceIpConfig.struct_class = Types::SourceIpConfig + SpaceAppLifecycleManagement.add_member(:idle_settings, Shapes::ShapeRef.new(shape: SpaceIdleSettings, location_name: "IdleSettings")) + SpaceAppLifecycleManagement.struct_class = Types::SpaceAppLifecycleManagement + SpaceCodeEditorAppSettings.add_member(:default_resource_spec, Shapes::ShapeRef.new(shape: ResourceSpec, location_name: "DefaultResourceSpec")) + SpaceCodeEditorAppSettings.add_member(:app_lifecycle_management, Shapes::ShapeRef.new(shape: SpaceAppLifecycleManagement, location_name: "AppLifecycleManagement")) SpaceCodeEditorAppSettings.struct_class = Types::SpaceCodeEditorAppSettings SpaceDetails.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId")) @@ -9314,8 +9336,12 @@ module ClientApi SpaceDetails.add_member(:space_display_name, Shapes::ShapeRef.new(shape: NonEmptyString64, location_name: "SpaceDisplayName")) SpaceDetails.struct_class = Types::SpaceDetails + SpaceIdleSettings.add_member(:idle_timeout_in_minutes, Shapes::ShapeRef.new(shape: IdleTimeoutInMinutes, location_name: "IdleTimeoutInMinutes")) + SpaceIdleSettings.struct_class = Types::SpaceIdleSettings + SpaceJupyterLabAppSettings.add_member(:default_resource_spec, Shapes::ShapeRef.new(shape: ResourceSpec, location_name: "DefaultResourceSpec")) SpaceJupyterLabAppSettings.add_member(:code_repositories, Shapes::ShapeRef.new(shape: CodeRepositories, location_name: "CodeRepositories")) + SpaceJupyterLabAppSettings.add_member(:app_lifecycle_management, Shapes::ShapeRef.new(shape: SpaceAppLifecycleManagement, location_name: "AppLifecycleManagement")) SpaceJupyterLabAppSettings.struct_class = Types::SpaceJupyterLabAppSettings SpaceList.member = Shapes::ShapeRef.new(shape: SpaceDetails) diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb index 891cbbddb52..0105f6ccc90 100644 --- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb +++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb @@ -1396,6 +1396,21 @@ class AppImageConfigDetails < Struct.new( include Aws::Structure end + # Settings that are used to configure and manage the lifecycle of Amazon + # SageMaker Studio applications. + # + # @!attribute [rw] idle_settings + # Settings related to idle shutdown of Studio applications. + # @return [Types::IdleSettings] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AppLifecycleManagement AWS API Documentation + # + class AppLifecycleManagement < Struct.new( + :idle_settings) + SENSITIVE = [] + include Aws::Structure + end + # Configuration to run a processing job in a specified container image. # # @!attribute [rw] image_uri @@ -4496,12 +4511,18 @@ class CodeEditorAppImageConfig < Struct.new( # lifecycle configuration. # @return [Array] # + # @!attribute [rw] app_lifecycle_management + # Settings that are used to configure and manage the lifecycle of + # CodeEditor applications. + # @return [Types::AppLifecycleManagement] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CodeEditorAppSettings AWS API Documentation # class CodeEditorAppSettings < Struct.new( :default_resource_spec, :custom_images, - :lifecycle_config_arns) + :lifecycle_config_arns, + :app_lifecycle_management) SENSITIVE = [] include Aws::Structure end @@ -23723,6 +23744,39 @@ class IdentityProviderOAuthSetting < Struct.new( include Aws::Structure end + # Settings related to idle shutdown of Studio applications. + # + # @!attribute [rw] lifecycle_management + # Indicates whether idle shutdown is activated for the application + # type. + # @return [String] + # + # @!attribute [rw] idle_timeout_in_minutes + # The time that SageMaker waits after the application becomes idle + # before shutting it down. + # @return [Integer] + # + # @!attribute [rw] min_idle_timeout_in_minutes + # The minimum value in minutes that custom idle shutdown can be set to + # by the user. + # @return [Integer] + # + # @!attribute [rw] max_idle_timeout_in_minutes + # The maximum value in minutes that custom idle shutdown can be set to + # by the user. + # @return [Integer] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/IdleSettings AWS API Documentation + # + class IdleSettings < Struct.new( + :lifecycle_management, + :idle_timeout_in_minutes, + :min_idle_timeout_in_minutes, + :max_idle_timeout_in_minutes) + SENSITIVE = [] + include Aws::Structure + end + # A SageMaker image. A SageMaker image represents a set of container # images that are derived from a common base container image. Each of # these container images is represented by a SageMaker `ImageVersion`. @@ -25021,6 +25075,11 @@ class JupyterLabAppImageConfig < Struct.new( # users for cloning in the JupyterLab application. # @return [Array] # + # @!attribute [rw] app_lifecycle_management + # Indicates whether idle shutdown is activated for JupyterLab + # applications. + # @return [Types::AppLifecycleManagement] + # # @!attribute [rw] emr_settings # The configuration parameters that specify the IAM roles assumed by # the execution role of SageMaker (assumable roles) and the cluster @@ -25036,6 +25095,7 @@ class JupyterLabAppSettings < Struct.new( :custom_images, :lifecycle_config_arns, :code_repositories, + :app_lifecycle_management, :emr_settings) SENSITIVE = [] include Aws::Structure @@ -40913,6 +40973,21 @@ class SourceIpConfig < Struct.new( include Aws::Structure end + # Settings that are used to configure and manage the lifecycle of Amazon + # SageMaker Studio applications in a space. + # + # @!attribute [rw] idle_settings + # Settings related to idle shutdown of Studio applications. + # @return [Types::SpaceIdleSettings] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SpaceAppLifecycleManagement AWS API Documentation + # + class SpaceAppLifecycleManagement < Struct.new( + :idle_settings) + SENSITIVE = [] + include Aws::Structure + end + # The application settings for a Code Editor space. # # @!attribute [rw] default_resource_spec @@ -40920,10 +40995,16 @@ class SourceIpConfig < Struct.new( # version, and the instance type that the version runs on. # @return [Types::ResourceSpec] # + # @!attribute [rw] app_lifecycle_management + # Settings that are used to configure and manage the lifecycle of + # CodeEditor applications in a space. + # @return [Types::SpaceAppLifecycleManagement] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SpaceCodeEditorAppSettings AWS API Documentation # class SpaceCodeEditorAppSettings < Struct.new( - :default_resource_spec) + :default_resource_spec, + :app_lifecycle_management) SENSITIVE = [] include Aws::Structure end @@ -40982,6 +41063,21 @@ class SpaceDetails < Struct.new( include Aws::Structure end + # Settings related to idle shutdown of Studio applications in a space. + # + # @!attribute [rw] idle_timeout_in_minutes + # The time that SageMaker waits after the application becomes idle + # before shutting it down. + # @return [Integer] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SpaceIdleSettings AWS API Documentation + # + class SpaceIdleSettings < Struct.new( + :idle_timeout_in_minutes) + SENSITIVE = [] + include Aws::Structure + end + # The settings for the JupyterLab application within a space. # # @!attribute [rw] default_resource_spec @@ -40994,11 +41090,17 @@ class SpaceDetails < Struct.new( # users for cloning in the JupyterLab application. # @return [Array] # + # @!attribute [rw] app_lifecycle_management + # Settings that are used to configure and manage the lifecycle of + # JupyterLab applications in a space. + # @return [Types::SpaceAppLifecycleManagement] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SpaceJupyterLabAppSettings AWS API Documentation # class SpaceJupyterLabAppSettings < Struct.new( :default_resource_spec, - :code_repositories) + :code_repositories, + :app_lifecycle_management) SENSITIVE = [] include Aws::Structure end diff --git a/gems/aws-sdk-sagemaker/sig/client.rbs b/gems/aws-sdk-sagemaker/sig/client.rbs index 9b0df89fb60..530f5f06420 100644 --- a/gems/aws-sdk-sagemaker/sig/client.rbs +++ b/gems/aws-sdk-sagemaker/sig/client.rbs @@ -1068,7 +1068,15 @@ module Aws app_image_config_name: ::String }, ]?, - lifecycle_config_arns: Array[::String]? + lifecycle_config_arns: Array[::String]?, + app_lifecycle_management: { + idle_settings: { + lifecycle_management: ("ENABLED" | "DISABLED")?, + idle_timeout_in_minutes: ::Integer?, + min_idle_timeout_in_minutes: ::Integer?, + max_idle_timeout_in_minutes: ::Integer? + }? + }? }?, jupyter_lab_app_settings: { default_resource_spec: { @@ -1091,6 +1099,14 @@ module Aws repository_url: ::String }, ]?, + app_lifecycle_management: { + idle_settings: { + lifecycle_management: ("ENABLED" | "DISABLED")?, + idle_timeout_in_minutes: ::Integer?, + min_idle_timeout_in_minutes: ::Integer?, + max_idle_timeout_in_minutes: ::Integer? + }? + }?, emr_settings: { assumable_role_arns: Array[::String]?, execution_role_arns: Array[::String]? @@ -1214,6 +1230,14 @@ module Aws repository_url: ::String }, ]?, + app_lifecycle_management: { + idle_settings: { + lifecycle_management: ("ENABLED" | "DISABLED")?, + idle_timeout_in_minutes: ::Integer?, + min_idle_timeout_in_minutes: ::Integer?, + max_idle_timeout_in_minutes: ::Integer? + }? + }?, emr_settings: { assumable_role_arns: Array[::String]?, execution_role_arns: Array[::String]? @@ -3630,6 +3654,11 @@ module Aws sage_maker_image_version_alias: ::String?, instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?, lifecycle_config_arn: ::String? + }?, + app_lifecycle_management: { + idle_settings: { + idle_timeout_in_minutes: ::Integer? + }? }? }?, jupyter_lab_app_settings: { @@ -3644,7 +3673,12 @@ module Aws { repository_url: ::String }, - ]? + ]?, + app_lifecycle_management: { + idle_settings: { + idle_timeout_in_minutes: ::Integer? + }? + }? }?, app_type: ("JupyterServer" | "KernelGateway" | "DetailedProfiler" | "TensorBoard" | "CodeEditor" | "JupyterLab" | "RStudioServerPro" | "RSessionGateway" | "Canvas")?, space_storage_settings: { @@ -4112,7 +4146,15 @@ module Aws app_image_config_name: ::String }, ]?, - lifecycle_config_arns: Array[::String]? + lifecycle_config_arns: Array[::String]?, + app_lifecycle_management: { + idle_settings: { + lifecycle_management: ("ENABLED" | "DISABLED")?, + idle_timeout_in_minutes: ::Integer?, + min_idle_timeout_in_minutes: ::Integer?, + max_idle_timeout_in_minutes: ::Integer? + }? + }? }?, jupyter_lab_app_settings: { default_resource_spec: { @@ -4135,6 +4177,14 @@ module Aws repository_url: ::String }, ]?, + app_lifecycle_management: { + idle_settings: { + lifecycle_management: ("ENABLED" | "DISABLED")?, + idle_timeout_in_minutes: ::Integer?, + min_idle_timeout_in_minutes: ::Integer?, + max_idle_timeout_in_minutes: ::Integer? + }? + }?, emr_settings: { assumable_role_arns: Array[::String]?, execution_role_arns: Array[::String]? @@ -8220,7 +8270,15 @@ module Aws app_image_config_name: ::String }, ]?, - lifecycle_config_arns: Array[::String]? + lifecycle_config_arns: Array[::String]?, + app_lifecycle_management: { + idle_settings: { + lifecycle_management: ("ENABLED" | "DISABLED")?, + idle_timeout_in_minutes: ::Integer?, + min_idle_timeout_in_minutes: ::Integer?, + max_idle_timeout_in_minutes: ::Integer? + }? + }? }?, jupyter_lab_app_settings: { default_resource_spec: { @@ -8243,6 +8301,14 @@ module Aws repository_url: ::String }, ]?, + app_lifecycle_management: { + idle_settings: { + lifecycle_management: ("ENABLED" | "DISABLED")?, + idle_timeout_in_minutes: ::Integer?, + min_idle_timeout_in_minutes: ::Integer?, + max_idle_timeout_in_minutes: ::Integer? + }? + }?, emr_settings: { assumable_role_arns: Array[::String]?, execution_role_arns: Array[::String]? @@ -8355,6 +8421,14 @@ module Aws repository_url: ::String }, ]?, + app_lifecycle_management: { + idle_settings: { + lifecycle_management: ("ENABLED" | "DISABLED")?, + idle_timeout_in_minutes: ::Integer?, + min_idle_timeout_in_minutes: ::Integer?, + max_idle_timeout_in_minutes: ::Integer? + }? + }?, emr_settings: { assumable_role_arns: Array[::String]?, execution_role_arns: Array[::String]? @@ -9064,6 +9138,11 @@ module Aws sage_maker_image_version_alias: ::String?, instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?, lifecycle_config_arn: ::String? + }?, + app_lifecycle_management: { + idle_settings: { + idle_timeout_in_minutes: ::Integer? + }? }? }?, jupyter_lab_app_settings: { @@ -9078,7 +9157,12 @@ module Aws { repository_url: ::String }, - ]? + ]?, + app_lifecycle_management: { + idle_settings: { + idle_timeout_in_minutes: ::Integer? + }? + }? }?, app_type: ("JupyterServer" | "KernelGateway" | "DetailedProfiler" | "TensorBoard" | "CodeEditor" | "JupyterLab" | "RStudioServerPro" | "RSessionGateway" | "Canvas")?, space_storage_settings: { @@ -9300,7 +9384,15 @@ module Aws app_image_config_name: ::String }, ]?, - lifecycle_config_arns: Array[::String]? + lifecycle_config_arns: Array[::String]?, + app_lifecycle_management: { + idle_settings: { + lifecycle_management: ("ENABLED" | "DISABLED")?, + idle_timeout_in_minutes: ::Integer?, + min_idle_timeout_in_minutes: ::Integer?, + max_idle_timeout_in_minutes: ::Integer? + }? + }? }?, jupyter_lab_app_settings: { default_resource_spec: { @@ -9323,6 +9415,14 @@ module Aws repository_url: ::String }, ]?, + app_lifecycle_management: { + idle_settings: { + lifecycle_management: ("ENABLED" | "DISABLED")?, + idle_timeout_in_minutes: ::Integer?, + min_idle_timeout_in_minutes: ::Integer?, + max_idle_timeout_in_minutes: ::Integer? + }? + }?, emr_settings: { assumable_role_arns: Array[::String]?, execution_role_arns: Array[::String]? diff --git a/gems/aws-sdk-sagemaker/sig/types.rbs b/gems/aws-sdk-sagemaker/sig/types.rbs index d0369779c06..96c033d9775 100644 --- a/gems/aws-sdk-sagemaker/sig/types.rbs +++ b/gems/aws-sdk-sagemaker/sig/types.rbs @@ -166,6 +166,11 @@ module Aws::SageMaker SENSITIVE: [] end + class AppLifecycleManagement + attr_accessor idle_settings: Types::IdleSettings + SENSITIVE: [] + end + class AppSpecification attr_accessor image_uri: ::String attr_accessor container_entrypoint: ::Array[::String] @@ -790,6 +795,7 @@ module Aws::SageMaker attr_accessor default_resource_spec: Types::ResourceSpec attr_accessor custom_images: ::Array[Types::CustomImage] attr_accessor lifecycle_config_arns: ::Array[::String] + attr_accessor app_lifecycle_management: Types::AppLifecycleManagement SENSITIVE: [] end @@ -4788,6 +4794,14 @@ module Aws::SageMaker SENSITIVE: [] end + class IdleSettings + attr_accessor lifecycle_management: ("ENABLED" | "DISABLED") + attr_accessor idle_timeout_in_minutes: ::Integer + attr_accessor min_idle_timeout_in_minutes: ::Integer + attr_accessor max_idle_timeout_in_minutes: ::Integer + SENSITIVE: [] + end + class Image attr_accessor creation_time: ::Time attr_accessor description: ::String @@ -5047,6 +5061,7 @@ module Aws::SageMaker attr_accessor custom_images: ::Array[Types::CustomImage] attr_accessor lifecycle_config_arns: ::Array[::String] attr_accessor code_repositories: ::Array[Types::CodeRepository] + attr_accessor app_lifecycle_management: Types::AppLifecycleManagement attr_accessor emr_settings: Types::EmrSettings SENSITIVE: [] end @@ -8512,8 +8527,14 @@ module Aws::SageMaker SENSITIVE: [] end + class SpaceAppLifecycleManagement + attr_accessor idle_settings: Types::SpaceIdleSettings + SENSITIVE: [] + end + class SpaceCodeEditorAppSettings attr_accessor default_resource_spec: Types::ResourceSpec + attr_accessor app_lifecycle_management: Types::SpaceAppLifecycleManagement SENSITIVE: [] end @@ -8530,9 +8551,15 @@ module Aws::SageMaker SENSITIVE: [] end + class SpaceIdleSettings + attr_accessor idle_timeout_in_minutes: ::Integer + SENSITIVE: [] + end + class SpaceJupyterLabAppSettings attr_accessor default_resource_spec: Types::ResourceSpec attr_accessor code_repositories: ::Array[Types::CodeRepository] + attr_accessor app_lifecycle_management: Types::SpaceAppLifecycleManagement SENSITIVE: [] end