From 4d2e22e14dbe3a309e4d4b52cdd15087d67dee0e Mon Sep 17 00:00:00 2001 From: AWS SDK for Ruby Date: Thu, 30 Nov 2023 18:57:23 +0000 Subject: [PATCH] Updated API models and rebuilt service gems. --- apis/arc-zonal-shift/2022-10-30/api-2.json | 374 +++++++- apis/arc-zonal-shift/2022-10-30/docs-2.json | 259 +++++- .../2022-10-30/endpoint-rule-set-1.json | 64 +- .../2022-10-30/paginators-1.json | 6 + apis/glue/2017-03-31/api-2.json | 75 +- apis/glue/2017-03-31/docs-2.json | 69 +- apis/sagemaker/2017-07-24/api-2.json | 268 +++++- apis/sagemaker/2017-07-24/docs-2.json | 227 ++++- gems/aws-sdk-arczonalshift/CHANGELOG.md | 5 + gems/aws-sdk-arczonalshift/VERSION | 2 +- .../lib/aws-sdk-arczonalshift.rb | 2 +- .../lib/aws-sdk-arczonalshift/client.rb | 478 +++++++++- .../lib/aws-sdk-arczonalshift/client_api.rb | 193 +++++ .../endpoint_provider.rb | 2 +- .../lib/aws-sdk-arczonalshift/endpoints.rb | 70 ++ .../plugins/endpoints.rb | 10 + .../lib/aws-sdk-arczonalshift/types.rb | 815 ++++++++++++++++-- gems/aws-sdk-glue/CHANGELOG.md | 5 + gems/aws-sdk-glue/VERSION | 2 +- gems/aws-sdk-glue/lib/aws-sdk-glue.rb | 2 +- gems/aws-sdk-glue/lib/aws-sdk-glue/client.rb | 34 +- .../lib/aws-sdk-glue/client_api.rb | 44 +- gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb | 139 ++- 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 | 438 +++++++++- .../lib/aws-sdk-sagemaker/client_api.rb | 146 ++++ .../lib/aws-sdk-sagemaker/types.rb | 547 +++++++++++- 29 files changed, 4051 insertions(+), 234 deletions(-) diff --git a/apis/arc-zonal-shift/2022-10-30/api-2.json b/apis/arc-zonal-shift/2022-10-30/api-2.json index 7fa8f2cda32..898b8a66e08 100644 --- a/apis/arc-zonal-shift/2022-10-30/api-2.json +++ b/apis/arc-zonal-shift/2022-10-30/api-2.json @@ -30,6 +30,43 @@ {"shape":"AccessDeniedException"} ] }, + "CreatePracticeRunConfiguration":{ + "name":"CreatePracticeRunConfiguration", + "http":{ + "method":"POST", + "requestUri":"/configuration", + "responseCode":201 + }, + "input":{"shape":"CreatePracticeRunConfigurationRequest"}, + "output":{"shape":"CreatePracticeRunConfigurationResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ] + }, + "DeletePracticeRunConfiguration":{ + "name":"DeletePracticeRunConfiguration", + "http":{ + "method":"DELETE", + "requestUri":"/configuration/{resourceIdentifier}", + "responseCode":200 + }, + "input":{"shape":"DeletePracticeRunConfigurationRequest"}, + "output":{"shape":"DeletePracticeRunConfigurationResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "idempotent":true + }, "GetManagedResource":{ "name":"GetManagedResource", "http":{ @@ -47,6 +84,22 @@ {"shape":"AccessDeniedException"} ] }, + "ListAutoshifts":{ + "name":"ListAutoshifts", + "http":{ + "method":"GET", + "requestUri":"/autoshifts", + "responseCode":200 + }, + "input":{"shape":"ListAutoshiftsRequest"}, + "output":{"shape":"ListAutoshiftsResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ] + }, "ListManagedResources":{ "name":"ListManagedResources", "http":{ @@ -97,6 +150,43 @@ {"shape":"AccessDeniedException"} ] }, + "UpdatePracticeRunConfiguration":{ + "name":"UpdatePracticeRunConfiguration", + "http":{ + "method":"PATCH", + "requestUri":"/configuration/{resourceIdentifier}", + "responseCode":200 + }, + "input":{"shape":"UpdatePracticeRunConfigurationRequest"}, + "output":{"shape":"UpdatePracticeRunConfigurationResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ] + }, + "UpdateZonalAutoshiftConfiguration":{ + "name":"UpdateZonalAutoshiftConfiguration", + "http":{ + "method":"PUT", + "requestUri":"/managedresources/{resourceIdentifier}", + "responseCode":200 + }, + "input":{"shape":"UpdateZonalAutoshiftConfigurationRequest"}, + "output":{"shape":"UpdateZonalAutoshiftConfigurationResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"} + ], + "idempotent":true + }, "UpdateZonalShift":{ "name":"UpdateZonalShift", "http":{ @@ -140,6 +230,56 @@ "key":{"shape":"AvailabilityZone"}, "value":{"shape":"Weight"} }, + "AutoshiftAppliedStatus":{ + "type":"string", + "enum":[ + "APPLIED", + "NOT_APPLIED" + ] + }, + "AutoshiftExecutionStatus":{ + "type":"string", + "enum":[ + "ACTIVE", + "COMPLETED" + ] + }, + "AutoshiftInResource":{ + "type":"structure", + "required":[ + "appliedStatus", + "awayFrom", + "startTime" + ], + "members":{ + "appliedStatus":{"shape":"AutoshiftAppliedStatus"}, + "awayFrom":{"shape":"AvailabilityZone"}, + "startTime":{"shape":"StartTime"} + } + }, + "AutoshiftSummaries":{ + "type":"list", + "member":{"shape":"AutoshiftSummary"} + }, + "AutoshiftSummary":{ + "type":"structure", + "required":[ + "awayFrom", + "endTime", + "startTime", + "status" + ], + "members":{ + "awayFrom":{"shape":"AvailabilityZone"}, + "endTime":{"shape":"ExpiryTime"}, + "startTime":{"shape":"StartTime"}, + "status":{"shape":"AutoshiftExecutionStatus"} + } + }, + "AutoshiftsInResource":{ + "type":"list", + "member":{"shape":"AutoshiftInResource"} + }, "AvailabilityZone":{ "type":"string", "max":20, @@ -149,6 +289,30 @@ "type":"list", "member":{"shape":"AvailabilityZone"} }, + "BlockedDate":{ + "type":"string", + "max":10, + "min":10, + "pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$" + }, + "BlockedDates":{ + "type":"list", + "member":{"shape":"BlockedDate"}, + "max":15, + "min":0 + }, + "BlockedWindow":{ + "type":"string", + "max":19, + "min":19, + "pattern":"^(Mon|Tue|Wed|Thu|Fri|Sat|Sun):[0-9]{2}:[0-9]{2}-(Mon|Tue|Wed|Thu|Fri|Sat|Sun):[0-9]{2}:[0-9]{2}$" + }, + "BlockedWindows":{ + "type":"list", + "member":{"shape":"BlockedWindow"}, + "max":15, + "min":0 + }, "CancelZonalShiftRequest":{ "type":"structure", "required":["zonalShiftId"], @@ -182,9 +346,86 @@ "enum":[ "ZonalShiftAlreadyExists", "ZonalShiftStatusNotActive", - "SimultaneousZonalShiftsConflict" + "SimultaneousZonalShiftsConflict", + "PracticeConfigurationAlreadyExists", + "AutoShiftEnabled", + "PracticeConfigurationDoesNotExist" ] }, + "ControlCondition":{ + "type":"structure", + "required":[ + "alarmIdentifier", + "type" + ], + "members":{ + "alarmIdentifier":{"shape":"ResourceArn"}, + "type":{"shape":"ControlConditionType"} + } + }, + "ControlConditionType":{ + "type":"string", + "enum":["CLOUDWATCH"] + }, + "ControlConditions":{ + "type":"list", + "member":{"shape":"ControlCondition"}, + "max":1, + "min":1 + }, + "CreatePracticeRunConfigurationRequest":{ + "type":"structure", + "required":[ + "outcomeAlarms", + "resourceIdentifier" + ], + "members":{ + "blockedDates":{"shape":"BlockedDates"}, + "blockedWindows":{"shape":"BlockedWindows"}, + "blockingAlarms":{"shape":"ControlConditions"}, + "outcomeAlarms":{"shape":"ControlConditions"}, + "resourceIdentifier":{"shape":"ResourceIdentifier"} + } + }, + "CreatePracticeRunConfigurationResponse":{ + "type":"structure", + "required":[ + "arn", + "name", + "practiceRunConfiguration", + "zonalAutoshiftStatus" + ], + "members":{ + "arn":{"shape":"ResourceArn"}, + "name":{"shape":"ResourceName"}, + "practiceRunConfiguration":{"shape":"PracticeRunConfiguration"}, + "zonalAutoshiftStatus":{"shape":"ZonalAutoshiftStatus"} + } + }, + "DeletePracticeRunConfigurationRequest":{ + "type":"structure", + "required":["resourceIdentifier"], + "members":{ + "resourceIdentifier":{ + "shape":"ResourceIdentifier", + "location":"uri", + "locationName":"resourceIdentifier" + } + } + }, + "DeletePracticeRunConfigurationResponse":{ + "type":"structure", + "required":[ + "arn", + "name", + "zonalAutoshiftStatus" + ], + "members":{ + "arn":{"shape":"ResourceArn"}, + "name":{"shape":"ResourceName"}, + "zonalAutoshiftStatus":{"shape":"ZonalAutoshiftStatus"} + } + }, "ExpiresIn":{ "type":"string", "max":5, @@ -212,7 +453,10 @@ "members":{ "appliedWeights":{"shape":"AppliedWeights"}, "arn":{"shape":"ResourceArn"}, + "autoshifts":{"shape":"AutoshiftsInResource"}, "name":{"shape":"ResourceName"}, + "practiceRunConfiguration":{"shape":"PracticeRunConfiguration"}, + "zonalAutoshiftStatus":{"shape":"ZonalAutoshiftStatus"}, "zonalShifts":{"shape":"ZonalShiftsInResource"} } }, @@ -225,6 +469,33 @@ "exception":true, "fault":true }, + "ListAutoshiftsRequest":{ + "type":"structure", + "members":{ + "maxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + }, + "nextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"nextToken" + }, + "status":{ + "shape":"AutoshiftExecutionStatus", + "location":"querystring", + "locationName":"status" + } + } + }, + "ListAutoshiftsResponse":{ + "type":"structure", + "members":{ + "items":{"shape":"AutoshiftSummaries"}, + "nextToken":{"shape":"String"} + } + }, "ListManagedResourcesRequest":{ "type":"structure", "members":{ @@ -261,6 +532,11 @@ "location":"querystring", "locationName":"nextToken" }, + "resourceIdentifier":{ + "shape":"ResourceIdentifier", + "location":"querystring", + "locationName":"resourceIdentifier" + }, "status":{ "shape":"ZonalShiftStatus", "location":"querystring", @@ -283,9 +559,14 @@ "type":"structure", "required":["availabilityZones"], "members":{ + "appliedWeights":{"shape":"AppliedWeights"}, "arn":{"shape":"ResourceArn"}, + "autoshifts":{"shape":"AutoshiftsInResource"}, "availabilityZones":{"shape":"AvailabilityZones"}, - "name":{"shape":"ResourceName"} + "name":{"shape":"ResourceName"}, + "practiceRunStatus":{"shape":"ZonalAutoshiftStatus"}, + "zonalAutoshiftStatus":{"shape":"ZonalAutoshiftStatus"}, + "zonalShifts":{"shape":"ZonalShiftsInResource"} } }, "MaxResults":{ @@ -294,6 +575,25 @@ "max":100, "min":1 }, + "PracticeRunConfiguration":{ + "type":"structure", + "required":["outcomeAlarms"], + "members":{ + "blockedDates":{"shape":"BlockedDates"}, + "blockedWindows":{"shape":"BlockedWindows"}, + "blockingAlarms":{"shape":"ControlConditions"}, + "outcomeAlarms":{"shape":"ControlConditions"} + } + }, + "PracticeRunOutcome":{ + "type":"string", + "enum":[ + "FAILED", + "INTERRUPTED", + "PENDING", + "SUCCEEDED" + ] + }, "ResourceArn":{ "type":"string", "max":1024, @@ -350,6 +650,62 @@ }, "exception":true }, + "UpdatePracticeRunConfigurationRequest":{ + "type":"structure", + "required":["resourceIdentifier"], + "members":{ + "blockedDates":{"shape":"BlockedDates"}, + "blockedWindows":{"shape":"BlockedWindows"}, + "blockingAlarms":{"shape":"ControlConditions"}, + "outcomeAlarms":{"shape":"ControlConditions"}, + "resourceIdentifier":{ + "shape":"ResourceIdentifier", + "location":"uri", + "locationName":"resourceIdentifier" + } + } + }, + "UpdatePracticeRunConfigurationResponse":{ + "type":"structure", + "required":[ + "arn", + "name", + "practiceRunConfiguration", + "zonalAutoshiftStatus" + ], + "members":{ + "arn":{"shape":"ResourceArn"}, + "name":{"shape":"ResourceName"}, + "practiceRunConfiguration":{"shape":"PracticeRunConfiguration"}, + "zonalAutoshiftStatus":{"shape":"ZonalAutoshiftStatus"} + } + }, + "UpdateZonalAutoshiftConfigurationRequest":{ + "type":"structure", + "required":[ + "resourceIdentifier", + "zonalAutoshiftStatus" + ], + "members":{ + "resourceIdentifier":{ + "shape":"ResourceIdentifier", + "location":"uri", + "locationName":"resourceIdentifier" + }, + "zonalAutoshiftStatus":{"shape":"ZonalAutoshiftStatus"} + } + }, + "UpdateZonalAutoshiftConfigurationResponse":{ + "type":"structure", + "required":[ + "resourceIdentifier", + "zonalAutoshiftStatus" + ], + "members":{ + "resourceIdentifier":{"shape":"ResourceIdentifier"}, + "zonalAutoshiftStatus":{"shape":"ZonalAutoshiftStatus"} + } + }, "UpdateZonalShiftRequest":{ "type":"structure", "required":["zonalShiftId"], @@ -388,7 +744,10 @@ "InvalidToken", "InvalidResourceIdentifier", "InvalidAz", - "UnsupportedAz" + "UnsupportedAz", + "InvalidAlarmCondition", + "InvalidConditionType", + "InvalidPracticeBlocker" ] }, "Weight":{ @@ -397,6 +756,13 @@ "max":1.0, "min":0.0 }, + "ZonalAutoshiftStatus":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, "ZonalShift":{ "type":"structure", "required":[ @@ -445,6 +811,7 @@ "awayFrom":{"shape":"AvailabilityZone"}, "comment":{"shape":"ZonalShiftComment"}, "expiryTime":{"shape":"ExpiryTime"}, + "practiceRunOutcome":{"shape":"PracticeRunOutcome"}, "resourceIdentifier":{"shape":"ResourceIdentifier"}, "startTime":{"shape":"StartTime"}, "zonalShiftId":{"shape":"ZonalShiftId"} @@ -477,6 +844,7 @@ "awayFrom":{"shape":"AvailabilityZone"}, "comment":{"shape":"ZonalShiftComment"}, "expiryTime":{"shape":"ExpiryTime"}, + "practiceRunOutcome":{"shape":"PracticeRunOutcome"}, "resourceIdentifier":{"shape":"ResourceIdentifier"}, "startTime":{"shape":"StartTime"}, "status":{"shape":"ZonalShiftStatus"}, diff --git a/apis/arc-zonal-shift/2022-10-30/docs-2.json b/apis/arc-zonal-shift/2022-10-30/docs-2.json index 55a98faccce..67e07d2db44 100644 --- a/apis/arc-zonal-shift/2022-10-30/docs-2.json +++ b/apis/arc-zonal-shift/2022-10-30/docs-2.json @@ -1,13 +1,18 @@ { "version": "2.0", - "service": "

This is the API Reference Guide for the zonal shift feature of Amazon Route 53 Application Recovery Controller. This guide is for developers who need detailed information about zonal shift API actions, data types, and errors.

Zonal shift is in preview release for Amazon Route 53 Application Recovery Controller and is subject to change.

Zonal shift in Route 53 ARC enables you to move traffic for a load balancer resource away from an Availability Zone. Starting a zonal shift helps your application recover immediately, for example, from a developer's bad code deployment or from an AWS infrastructure failure in a single Availability Zone, reducing the impact and time lost from an issue in one zone.

Supported AWS resources are automatically registered with Route 53 ARC. Resources that are registered for zonal shifts in Route 53 ARC are managed resources in Route 53 ARC. You can start a zonal shift for any managed resource in your account in a Region. At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

Zonal shifts are temporary. You must specify an expiration when you start a zonal shift, of up to three days initially. If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone.

For more information about using zonal shift, see the Amazon Route 53 Application Recovery Controller Developer Guide.

", + "service": "

Welcome to the Zonal Shift API Reference Guide for Amazon Route 53 Application Recovery Controller (Route 53 ARC).

You can start a zonal shift to move traffic for a load balancer resource away from an Availability Zone to help your application recover quickly from an impairment in an Availability Zone. For example, you can recover your application from a developer's bad code deployment or from an Amazon Web Services infrastructure failure in a single Availability Zone.

You can also configure zonal autoshift for a load balancer resource. Zonal autoshift is a capability in Route 53 ARC where Amazon Web Services shifts away application resource traffic from an Availability Zone, on your behalf, to help reduce your time to recovery during events. Amazon Web Services shifts away traffic for resources that are enabled for zonal autoshift whenever Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.

To ensure that zonal autoshift is safe for your application, you must also configure practice runs when you enable zonal autoshift for a resource. Practice runs start weekly zonal shifts for a resource, to shift traffic for the resource out of an Availability Zone. Practice runs make sure, on a regular basis, that you have enough capacity in all the Availability Zones in an Amazon Web Services Region for your application to continue to operate normally when traffic for a resource is shifted away from one Availability Zone.

You must prescale resource capacity in all Availability Zones in the Region where your application is deployed, before you configure practice runs or enable zonal autoshift for a resource. You should not rely on scaling on demand when an autoshift or practice run starts.

For more information about using zonal shift and zonal autoshift, see the Amazon Route 53 Application Recovery Controller Developer Guide.

", "operations": { - "CancelZonalShift": "

Cancel a zonal shift in Amazon Route 53 Application Recovery Controller that you've started for a resource in your AWS account in an AWS Region.

", - "GetManagedResource": "

Get information about a resource that's been registered for zonal shifts with Amazon Route 53 Application Recovery Controller in this AWS Region. Resources that are registered for zonal shifts are managed resources in Route 53 ARC.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", - "ListManagedResources": "

Lists all the resources in your AWS account in this AWS Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes their Amazon Resource Names (ARNs), the Availability Zones the resources are deployed in, and the resource name.

", - "ListZonalShifts": "

Lists all the active zonal shifts in Amazon Route 53 Application Recovery Controller in your AWS account in this AWS Region.

", - "StartZonalShift": "

You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in a AWS Region, to help your application recover immediately, for example, from a developer's bad code deployment or from an AWS infrastructure failure in a single Availability Zone. You can start a zonal shift in Route 53 ARC only for managed resources in your account in an AWS Region. Resources are automatically registered with Route 53 ARC by AWS services.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

When you start a zonal shift, traffic for the resource is no longer routed to the Availability Zone. The zonal shift is created immediately in Route 53 ARC. However, it can take a short time, typically up to a few minutes, for existing, in-progress connections in the Availability Zone to complete.

For more information, see Zonal shift in the Amazon Route 53 Application Recovery Controller Developer Guide.

", - "UpdateZonalShift": "

Update an active zonal shift in Amazon Route 53 Application Recovery Controller in your AWS account. You can update a zonal shift to set a new expiration, or edit or replace the comment for the zonal shift.

" + "CancelZonalShift": "

Cancel a zonal shift in Amazon Route 53 Application Recovery Controller. To cancel the zonal shift, specify the zonal shift ID.

A zonal shift can be one that you've started for a resource in your Amazon Web Services account in an Amazon Web Services Region, or it can be a zonal shift started by a practice run with zonal autoshift.

", + "CreatePracticeRunConfiguration": "

A practice run configuration for zonal autoshift is required when you enable zonal autoshift. A practice run configuration includes specifications for blocked dates and blocked time windows, and for Amazon CloudWatch alarms that you create to use with practice runs. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting.

For more information, see Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.

", + "DeletePracticeRunConfiguration": "

Deletes the practice run configuration for a resource. Before you can delete a practice run configuration for a resource., you must disable zonal autoshift for the resource. Practice runs must be configured for zonal autoshift to be enabled.

", + "GetManagedResource": "

Get information about a resource that's been registered for zonal shifts with Amazon Route 53 Application Recovery Controller in this Amazon Web Services Region. Resources that are registered for zonal shifts are managed resources in Route 53 ARC. You can start zonal shifts and configure zonal autoshift for managed resources.

At this time, you can only start a zonal shift or configure zonal autoshift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", + "ListAutoshifts": "

Returns the active autoshifts for a specified resource.

", + "ListManagedResources": "

Lists all the resources in your Amazon Web Services account in this Amazon Web Services Region that are managed for zonal shifts in Amazon Route 53 Application Recovery Controller, and information about them. The information includes the zonal autoshift status for the resource, as well as the Amazon Resource Name (ARN), the Availability Zones that each resource is deployed in, and the resource name.

", + "ListZonalShifts": "

Lists all active and completed zonal shifts in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region. ListZonalShifts returns customer-started zonal shifts, as well as practice run zonal shifts that Route 53 ARC started on your behalf for zonal autoshift.

The ListZonalShifts operation does not list autoshifts. For more information about listing autoshifts, see \">ListAutoshifts.

", + "StartZonalShift": "

You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in an Amazon Web Services Region, to help your application recover immediately, for example, from a developer's bad code deployment or from an Amazon Web Services infrastructure failure in a single Availability Zone. You can start a zonal shift in Route 53 ARC only for managed resources in your Amazon Web Services account in an Amazon Web Services Region. Resources are automatically registered with Route 53 ARC by Amazon Web Services services.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

When you start a zonal shift, traffic for the resource is no longer routed to the Availability Zone. The zonal shift is created immediately in Route 53 ARC. However, it can take a short time, typically up to a few minutes, for existing, in-progress connections in the Availability Zone to complete.

For more information, see Zonal shift in the Amazon Route 53 Application Recovery Controller Developer Guide.

", + "UpdatePracticeRunConfiguration": "

Update a practice run configuration to change one or more of the following: add, change, or remove the blocking alarm; change the outcome alarm; or add, change, or remove blocking dates or time windows.

", + "UpdateZonalAutoshiftConfiguration": "

You can update the zonal autoshift status for a resource, to enable or disable zonal autoshift. When zonal autoshift is ENABLED, Amazon Web Services shifts away resource traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.

", + "UpdateZonalShift": "

Update an active zonal shift in Amazon Route 53 Application Recovery Controller in your Amazon Web Services account. You can update a zonal shift to set a new expiration, or edit or replace the comment for the zonal shift.

" }, "shapes": { "AccessDeniedException": { @@ -18,24 +23,65 @@ "AppliedStatus": { "base": null, "refs": { - "ZonalShiftInResource$appliedStatus": "

An appliedStatus for a zonal shift for a resource can have one of two values: APPLIED or NOT_APPLIED.

" + "ZonalShiftInResource$appliedStatus": "

The appliedStatus field specifies which application traffic shift is in effect for a resource when there is more than one traffic shift active. There can be more than one application traffic shift in progress at the same time - that is, practice run zonal shifts, customer-started zonal shifts, or an autoshift. The appliedStatus field for an autoshift for a resource can have one of two values: APPLIED or NOT_APPLIED. The zonal shift or autoshift that is currently in effect for the resource has an applied status set to APPLIED.

The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-started zonal shifts > autoshifts > practice run zonal shifts.

For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.

" } }, "AppliedWeights": { "base": null, "refs": { - "GetManagedResourceResponse$appliedWeights": "

A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. The key name is the Availability Zone where the resource is deployed. The value is 1 or 0.

" + "GetManagedResourceResponse$appliedWeights": "

A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. The key name is the Availability Zone where the resource is deployed. The value is 1 or 0.

", + "ManagedResourceSummary$appliedWeights": "

A collection of key-value pairs that indicate whether resources are active in Availability Zones or not. The key name is the Availability Zone where the resource is deployed. The value is 1 or 0.

" + } + }, + "AutoshiftAppliedStatus": { + "base": null, + "refs": { + "AutoshiftInResource$appliedStatus": "

The appliedStatus field specifies which application traffic shift is in effect for a resource when there is more than one traffic shift active. There can be more than one application traffic shift in progress at the same time - that is, practice run zonal shifts, customer-started zonal shifts, or an autoshift. The appliedStatus field for an autoshift for a resource can have one of two values: APPLIED or NOT_APPLIED. The zonal shift or autoshift that is currently in effect for the resource has an applied status set to APPLIED.

The overall principle for precedence is that zonal shifts that you start as a customer take precedence autoshifts, which take precedence over practice runs. That is, customer-started zonal shifts > autoshifts > practice run zonal shifts.

For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.

" + } + }, + "AutoshiftExecutionStatus": { + "base": null, + "refs": { + "AutoshiftSummary$status": "

The status for an autoshift.

", + "ListAutoshiftsRequest$status": "

The status of the autoshift.

" + } + }, + "AutoshiftInResource": { + "base": "

A complex structure that lists an autoshift that is currently active for a managed resource and information about the autoshift.

For more information, see How zonal autoshift and practice runs work in the Amazon Route 53 Application Recovery Controller Developer Guide.

", + "refs": { + "AutoshiftsInResource$member": null + } + }, + "AutoshiftSummaries": { + "base": null, + "refs": { + "ListAutoshiftsResponse$items": "

The items in the response list.

" + } + }, + "AutoshiftSummary": { + "base": "

Information about an autoshift. Amazon Web Services starts an autoshift to temporarily move traffic for a resource away from an Availability Zone in an Amazon Web Services Region when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers. You can configure zonal autoshift in Route 53 ARC for managed resources in your Amazon Web Services account in a Region. Supported Amazon Web Services resources are automatically registered with Route 53 ARC.

Autoshifts are temporary. When the Availability Zone recovers, Amazon Web Services ends the autoshift, and traffic for the resource is no longer directed to the other Availability Zones in the Region.

You can stop an autoshift for a resource by disabling zonal autoshift.

", + "refs": { + "AutoshiftSummaries$member": null + } + }, + "AutoshiftsInResource": { + "base": null, + "refs": { + "GetManagedResourceResponse$autoshifts": "

An array of the autoshifts that are active for the resource.

", + "ManagedResourceSummary$autoshifts": "

An array of the autoshifts that have been completed for a resource.

" } }, "AvailabilityZone": { "base": null, "refs": { "AppliedWeights$key": null, + "AutoshiftInResource$awayFrom": "

The Availability Zone that traffic is shifted away from for a resource, when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the resource.

", + "AutoshiftSummary$awayFrom": "

The Availability Zone that traffic is shifted away from for a resource when Amazon Web Services starts an autoshift. Until the autoshift ends, traffic for the resource is instead directed to other Availability Zones in the Amazon Web Services Region. An autoshift can end for a resource, for example, when Amazon Web Services ends the autoshift for the Availability Zone or when you disable zonal autoshift for the resource.

", "AvailabilityZones$member": null, - "StartZonalShiftRequest$awayFrom": "

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.

", - "ZonalShift$awayFrom": "

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.

", - "ZonalShiftInResource$awayFrom": "

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.

", - "ZonalShiftSummary$awayFrom": "

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the AWS Region.

" + "StartZonalShiftRequest$awayFrom": "

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.

", + "ZonalShift$awayFrom": "

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.

", + "ZonalShiftInResource$awayFrom": "

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.

", + "ZonalShiftSummary$awayFrom": "

The Availability Zone that traffic is moved away from for a resource when you start a zonal shift. Until the zonal shift expires or you cancel it, traffic for the resource is instead moved to other Availability Zones in the Amazon Web Services Region.

" } }, "AvailabilityZones": { @@ -44,6 +90,34 @@ "ManagedResourceSummary$availabilityZones": "

The Availability Zones that a resource is deployed in.

" } }, + "BlockedDate": { + "base": null, + "refs": { + "BlockedDates$member": null + } + }, + "BlockedDates": { + "base": null, + "refs": { + "CreatePracticeRunConfigurationRequest$blockedDates": "

Optionally, you can block Route 53 ARC from starting practice runs for a resource on specific calendar dates.

The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Separate multiple blocked dates with spaces.

For example, if you have an application update scheduled to launch on May 1, 2024, and you don't want practice runs to shift traffic away at that time, you could set a blocked date for 2024-05-01.

", + "PracticeRunConfiguration$blockedDates": "

An array of one or more dates that you can specify when Amazon Web Services does not start practice runs for a resource.

Specify blocked dates, in UTC, in the format YYYY-MM-DD, separated by spaces.

", + "UpdatePracticeRunConfigurationRequest$blockedDates": "

Add, change, or remove blocked dates for a practice run in zonal autoshift.

Optionally, you can block practice runs for specific calendar dates. The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Separate multiple blocked dates with spaces.

For example, if you have an application update scheduled to launch on May 1, 2024, and you don't want practice runs to shift traffic away at that time, you could set a blocked date for 2024-05-01.

" + } + }, + "BlockedWindow": { + "base": null, + "refs": { + "BlockedWindows$member": null + } + }, + "BlockedWindows": { + "base": null, + "refs": { + "CreatePracticeRunConfigurationRequest$blockedWindows": "

Optionally, you can block Route 53 ARC from starting practice runs for specific windows of days and times.

The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Also, be aware of potential time adjustments that might be required for daylight saving time differences. Separate multiple blocked windows with spaces.

For example, say you run business report summaries three days a week. For this scenario, you might set the following recurring days and times as blocked windows, for example: MON-20:30-21:30 WED-20:30-21:30 FRI-20:30-21:30.

", + "PracticeRunConfiguration$blockedWindows": "

An array of one or more windows of days and times that you can block Route 53 ARC from starting practice runs for a resource.

Specify the blocked windows in UTC, using the format DAY:HH:MM-DAY:HH:MM, separated by spaces. For example, MON:18:30-MON:19:30 TUE:18:30-TUE:19:30.

", + "UpdatePracticeRunConfigurationRequest$blockedWindows": "

Add, change, or remove windows of days and times for when you can, optionally, block Route 53 ARC from starting a practice run for a resource.

The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, when you specify dates, that dates and times for practice runs are in UTC. Also, be aware of potential time adjustments that might be required for daylight saving time differences. Separate multiple blocked windows with spaces.

For example, say you run business report summaries three days a week. For this scenario, you might set the following recurring days and times as blocked windows, for example: MON-20:30-21:30 WED-20:30-21:30 FRI-20:30-21:30.

" + } + }, "CancelZonalShiftRequest": { "base": null, "refs": { @@ -60,19 +134,63 @@ "ConflictException$reason": "

The reason for the conflict exception.

" } }, + "ControlCondition": { + "base": "

A control condition is an alarm that you specify for a practice run. When you configure practice runs with zonal autoshift for a resource, you specify Amazon CloudWatch alarms, which you create in CloudWatch to use with the practice run. The alarms that you specify are an outcome alarm, to monitor application health during practice runs and, optionally, a blocking alarm, to block practice runs from starting.

Control condition alarms do not apply for autoshifts.

For more information, see Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.

", + "refs": { + "ControlConditions$member": null + } + }, + "ControlConditionType": { + "base": null, + "refs": { + "ControlCondition$type": "

The type of alarm specified for a practice run. The only valid value is CLOUDWATCH.

" + } + }, + "ControlConditions": { + "base": null, + "refs": { + "CreatePracticeRunConfigurationRequest$blockingAlarms": "

An Amazon CloudWatch alarm that you can specify for zonal autoshift practice runs. This alarm blocks Route 53 ARC from starting practice run zonal shifts, and ends a practice run that's in progress, when the alarm is in an ALARM state.

", + "CreatePracticeRunConfigurationRequest$outcomeAlarms": "

The outcome alarm for practice runs is a required Amazon CloudWatch alarm that you specify that ends a practice run when the alarm is in an ALARM state.

Configure the alarm to monitor the health of your application when traffic is shifted away from an Availability Zone during each weekly practice run. You should configure the alarm to go into an ALARM state if your application is impacted by the zonal shift, and you want to stop the zonal shift, to let traffic for the resource return to the Availability Zone.

", + "PracticeRunConfiguration$blockingAlarms": "

The blocking alarm for practice runs is an optional alarm that you can specify that blocks practice runs when the alarm is in an ALARM state.

", + "PracticeRunConfiguration$outcomeAlarms": "

The outcome alarm for practice runs is an alarm that you specify that ends a practice run when the alarm is in an ALARM state.

", + "UpdatePracticeRunConfigurationRequest$blockingAlarms": "

Add, change, or remove the Amazon CloudWatch alarm that you optionally specify as the blocking alarm for practice runs.

", + "UpdatePracticeRunConfigurationRequest$outcomeAlarms": "

Specify a new the Amazon CloudWatch alarm as the outcome alarm for practice runs.

" + } + }, + "CreatePracticeRunConfigurationRequest": { + "base": null, + "refs": { + } + }, + "CreatePracticeRunConfigurationResponse": { + "base": null, + "refs": { + } + }, + "DeletePracticeRunConfigurationRequest": { + "base": null, + "refs": { + } + }, + "DeletePracticeRunConfigurationResponse": { + "base": null, + "refs": { + } + }, "ExpiresIn": { "base": null, "refs": { - "StartZonalShiftRequest$expiresIn": "

The length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry time (expiration time). Zonal shifts are temporary. You can set a zonal shift to be active initially for up to three days (72 hours).

If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone.

To set a length of time for a zonal shift to be active, specify a whole number, and then one of the following, with no space:

 <ul> <li> <p> <b>A lowercase letter m:</b> To specify that the value is in minutes.</p> </li> <li> <p> <b>A lowercase letter h:</b> To specify that the value is in hours.</p> </li> </ul> <p>For example: <code>20h</code> means the zonal shift expires in 20 hours. <code>120m</code> means the zonal shift expires in 120 minutes (2 hours).</p> 
", + "StartZonalShiftRequest$expiresIn": "

The length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry time (expiration time). Zonal shifts are temporary. You can set a zonal shift to be active initially for up to three days (72 hours).

If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone.

To set a length of time for a zonal shift to be active, specify a whole number, and then one of the following, with no space:

For example: 20h means the zonal shift expires in 20 hours. 120m means the zonal shift expires in 120 minutes (2 hours).

", "UpdateZonalShiftRequest$expiresIn": "

The length of time that you want a zonal shift to be active, which Route 53 ARC converts to an expiry time (expiration time). Zonal shifts are temporary. You can set a zonal shift to be active initially for up to three days (72 hours).

If you want to still keep traffic away from an Availability Zone, you can update the zonal shift and set a new expiration. You can also cancel a zonal shift, before it expires, for example, if you're ready to restore traffic to the Availability Zone.

To set a length of time for a zonal shift to be active, specify a whole number, and then one of the following, with no space:

For example: 20h means the zonal shift expires in 20 hours. 120m means the zonal shift expires in 120 minutes (2 hours).

" } }, "ExpiryTime": { "base": null, "refs": { - "ZonalShift$expiryTime": "

The expiry time (expiration time) for the zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can update the zonal shift to specify another length of time to expire in.

", - "ZonalShiftInResource$expiryTime": "

The expiry time (expiration time) for the zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can update the zonal shift to specify another length of time to expire in.

", - "ZonalShiftSummary$expiryTime": "

The expiry time (expiration time) for the zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can update the zonal shift to specify another length of time to expire in.

" + "AutoshiftSummary$endTime": "

The time (in UTC) when the autoshift ended.

", + "ZonalShift$expiryTime": "

The expiry time (expiration time) for a customer-started zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.

", + "ZonalShiftInResource$expiryTime": "

The expiry time (expiration time) for a customer-started zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.

", + "ZonalShiftSummary$expiryTime": "

The expiry time (expiration time) for a customer-started zonal shift. A zonal shift is temporary and must be set to expire when you start the zonal shift. You can initially set a zonal shift to expire in a maximum of three days (72 hours). However, you can update a zonal shift to set a new expiration at any time.

When you start a zonal shift, you specify how long you want it to be active, which Route 53 ARC converts to an expiry time (expiration time). You can cancel a zonal shift when you're ready to restore traffic to the Availability Zone, or just wait for it to expire. Or you can update the zonal shift to specify another length of time to expire in.

" } }, "GetManagedResourceRequest": { @@ -90,6 +208,16 @@ "refs": { } }, + "ListAutoshiftsRequest": { + "base": null, + "refs": { + } + }, + "ListAutoshiftsResponse": { + "base": null, + "refs": { + } + }, "ListManagedResourcesRequest": { "base": null, "refs": { @@ -117,7 +245,7 @@ } }, "ManagedResourceSummary": { - "base": "

A complex structure for a managed resource in an account.

A managed resource is a Network Load Balancer or Application Load Balancer that has been registered with Route 53 ARC by Elastic Load Balancing. You can start a zonal shift in Route 53 ARC for a managed resource to temporarily move traffic for the resource away from an Availability Zone in an AWS Region.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", + "base": "

A complex structure for a managed resource in an Amazon Web Services account with information about zonal shifts and autoshifts.

A managed resource is a load balancer that has been registered with Route 53 ARC by Elastic Load Balancing. You can start a zonal shift in Route 53 ARC for a managed resource to temporarily move traffic for the resource away from an Availability Zone in an Amazon Web Services Region. You can also configure zonal autoshift for a managed resource.

At this time, managed resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", "refs": { "ManagedResourceSummaries$member": null } @@ -125,23 +253,49 @@ "MaxResults": { "base": null, "refs": { + "ListAutoshiftsRequest$maxResults": "

The number of objects that you want to return with this call.

", "ListManagedResourcesRequest$maxResults": "

The number of objects that you want to return with this call.

", "ListZonalShiftsRequest$maxResults": "

The number of objects that you want to return with this call.

" } }, + "PracticeRunConfiguration": { + "base": "

A practice run configuration for a resource includes the Amazon CloudWatch alarms that you've specified for a practice run, as well as any blocked dates or blocked windows for the practice run.

You can update or delete a practice run configuration. Before you delete a practice run configuration, you must disable zonal autoshift for the resource. A practice run configuration is required when zonal autoshift is enabled.

", + "refs": { + "CreatePracticeRunConfigurationResponse$practiceRunConfiguration": "

A practice run configuration for a resource. Configurations include the outcome alarm that you specify for practice runs, and, optionally, a blocking alarm and blocking dates and windows.

", + "GetManagedResourceResponse$practiceRunConfiguration": "

The practice run configuration for zonal autoshift that's associated with the resource.

", + "UpdatePracticeRunConfigurationResponse$practiceRunConfiguration": "

The practice run configuration that was updated.

" + } + }, + "PracticeRunOutcome": { + "base": null, + "refs": { + "ZonalShiftInResource$practiceRunOutcome": "

The outcome, or end state, returned for a practice run. The following values can be returned:

For more information about practice run outcomes, see Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.

", + "ZonalShiftSummary$practiceRunOutcome": "

The outcome, or end state, of a practice run. The following values can be returned:

For more information about practice run outcomes, see Considerations when you configure zonal autoshift in the Amazon Route 53 Application Recovery Controller Developer Guide.

" + } + }, "ResourceArn": { "base": null, "refs": { + "ControlCondition$alarmIdentifier": "

The Amazon Resource Name (ARN) for the Amazon CloudWatch alarm that you specify as a control condition for a practice run.

", + "CreatePracticeRunConfigurationResponse$arn": "

The Amazon Resource Name (ARN) of the resource that you configured the practice run for.

", + "DeletePracticeRunConfigurationResponse$arn": "

The Amazon Resource Name (ARN) of the resource that you deleted the practice run for.

", "GetManagedResourceResponse$arn": "

The Amazon Resource Name (ARN) for the resource.

", - "ManagedResourceSummary$arn": "

The Amazon Resource Name (ARN) for the managed resource.

" + "ManagedResourceSummary$arn": "

The Amazon Resource Name (ARN) for the managed resource.

", + "UpdatePracticeRunConfigurationResponse$arn": "

The Amazon Resource Name (ARN) of the resource that you updated the practice run for.

" } }, "ResourceIdentifier": { "base": null, "refs": { - "GetManagedResourceRequest$resourceIdentifier": "

The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", - "StartZonalShiftRequest$resourceIdentifier": "

The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", - "ZonalShift$resourceIdentifier": "

The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", + "CreatePracticeRunConfigurationRequest$resourceIdentifier": "

The identifier of the resource to shift away traffic for when a practice run starts a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", + "DeletePracticeRunConfigurationRequest$resourceIdentifier": "

The identifier for the resource that you want to delete the practice run configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.

", + "GetManagedResourceRequest$resourceIdentifier": "

The identifier for the resource to shift away traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", + "ListZonalShiftsRequest$resourceIdentifier": "

The identifier for the resource that you want to list zonal shifts for. The identifier is the Amazon Resource Name (ARN) for the resource.

", + "StartZonalShiftRequest$resourceIdentifier": "

The identifier for the resource to shift away traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", + "UpdatePracticeRunConfigurationRequest$resourceIdentifier": "

The identifier for the resource that you want to update the practice run configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.

", + "UpdateZonalAutoshiftConfigurationRequest$resourceIdentifier": "

The identifier for the resource that you want to update the zonal autoshift configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.

", + "UpdateZonalAutoshiftConfigurationResponse$resourceIdentifier": "

The identifier for the resource that you updated the zonal autoshift configuration for. The identifier is the Amazon Resource Name (ARN) for the resource.

", + "ZonalShift$resourceIdentifier": "

The identifier for the resource to shift away traffic for. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, supported resources are Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", "ZonalShiftInResource$resourceIdentifier": "

The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

", "ZonalShiftSummary$resourceIdentifier": "

The identifier for the resource to include in a zonal shift. The identifier is the Amazon Resource Name (ARN) for the resource.

At this time, you can only start a zonal shift for Network Load Balancers and Application Load Balancers with cross-zone load balancing turned off.

" } @@ -149,8 +303,11 @@ "ResourceName": { "base": null, "refs": { + "CreatePracticeRunConfigurationResponse$name": "

The name of the resource that you configured the practice run for.

", + "DeletePracticeRunConfigurationResponse$name": "

The name of the resource that you deleted the practice run for.

", "GetManagedResourceResponse$name": "

The name of the resource.

", - "ManagedResourceSummary$name": "

The name of the managed resource.

" + "ManagedResourceSummary$name": "

The name of the managed resource.

", + "UpdatePracticeRunConfigurationResponse$name": "

The name of the resource that you updated the practice run for.

" } }, "ResourceNotFoundException": { @@ -161,9 +318,11 @@ "StartTime": { "base": null, "refs": { - "ZonalShift$startTime": "

The time (UTC) when the zonal shift is started.

", - "ZonalShiftInResource$startTime": "

The time (UTC) when the zonal shift is started.

", - "ZonalShiftSummary$startTime": "

The time (UTC) when the zonal shift is started.

" + "AutoshiftInResource$startTime": "

The time (UTC) when the autoshift started.

", + "AutoshiftSummary$startTime": "

The time (in UTC) when the autoshift started.

", + "ZonalShift$startTime": "

The time (UTC) when the zonal shift starts.

", + "ZonalShiftInResource$startTime": "

The time (UTC) when the zonal shift starts.

", + "ZonalShiftSummary$startTime": "

The time (UTC) when the zonal shift starts.

" } }, "StartZonalShiftRequest": { @@ -178,6 +337,8 @@ "ConflictException$message": null, "ConflictException$zonalShiftId": "

The zonal shift ID associated with the conflict exception.

", "InternalServerException$message": null, + "ListAutoshiftsRequest$nextToken": "

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

", + "ListAutoshiftsResponse$nextToken": "

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

", "ListManagedResourcesRequest$nextToken": "

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

", "ListManagedResourcesResponse$nextToken": "

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

", "ListZonalShiftsRequest$nextToken": "

Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.

", @@ -192,13 +353,33 @@ "refs": { } }, + "UpdatePracticeRunConfigurationRequest": { + "base": null, + "refs": { + } + }, + "UpdatePracticeRunConfigurationResponse": { + "base": null, + "refs": { + } + }, + "UpdateZonalAutoshiftConfigurationRequest": { + "base": null, + "refs": { + } + }, + "UpdateZonalAutoshiftConfigurationResponse": { + "base": null, + "refs": { + } + }, "UpdateZonalShiftRequest": { "base": null, "refs": { } }, "ValidationException": { - "base": "

The input fails to satisfy the constraints specified by an AWS service.

", + "base": "

The input fails to satisfy the constraints specified by an Amazon Web Services service.

", "refs": { } }, @@ -214,6 +395,19 @@ "AppliedWeights$value": null } }, + "ZonalAutoshiftStatus": { + "base": null, + "refs": { + "CreatePracticeRunConfigurationResponse$zonalAutoshiftStatus": "

The status for zonal autoshift for a resource. When you specify the autoshift status as ENABLED, Amazon Web Services shifts traffic away from shifts away application resource traffic from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.

When you enable zonal autoshift, you must also configure practice runs for the resource.

", + "DeletePracticeRunConfigurationResponse$zonalAutoshiftStatus": "

The status of zonal autoshift for the resource.

", + "GetManagedResourceResponse$zonalAutoshiftStatus": "

The status for zonal autoshift for a resource. When the autoshift status is ENABLED, Amazon Web Services shifts traffic for a resource away from an Availability Zone, on your behalf, when Amazon Web Services determines that there's an issue in the Availability Zone that could potentially affect customers.

", + "ManagedResourceSummary$practiceRunStatus": "

This status tracks whether a practice run configuration exists for a resource. When you configure a practice run for a resource so that a practice run configuration exists, Route 53 ARC sets this value to ENABLED. If a you have not configured a practice run for the resource, or delete a practice run configuration, Route 53 ARC sets the value to DISABLED.

Route 53 ARC updates this status; you can't set a practice run status to ENABLED or DISABLED.

", + "ManagedResourceSummary$zonalAutoshiftStatus": "

The status of autoshift for a resource. When you configure zonal autoshift for a resource, you can set the value of the status to ENABLED or DISABLED.

", + "UpdatePracticeRunConfigurationResponse$zonalAutoshiftStatus": "

The zonal autoshift status for the resource that you updated the practice run for.

", + "UpdateZonalAutoshiftConfigurationRequest$zonalAutoshiftStatus": "

The zonal autoshift status for the resource that you want to update the zonal autoshift configuration for.

", + "UpdateZonalAutoshiftConfigurationResponse$zonalAutoshiftStatus": "

The zonal autoshift status for the resource that you updated the zonal autoshift configuration for.

" + } + }, "ZonalShift": { "base": null, "refs": { @@ -248,9 +442,9 @@ "ZonalShiftStatus": { "base": null, "refs": { - "ListZonalShiftsRequest$status": "

A status for a zonal shift.

The Status for a zonal shift can have one of the following values:

", - "ZonalShift$status": "

A status for a zonal shift.

The Status for a zonal shift can have one of the following values:

", - "ZonalShiftSummary$status": "

A status for a zonal shift.

The Status for a zonal shift can have one of the following values:

" + "ListZonalShiftsRequest$status": "

A status for a zonal shift.

The Status for a zonal shift can have one of the following values:

", + "ZonalShift$status": "

A status for a zonal shift.

The Status for a zonal shift can have one of the following values:

", + "ZonalShiftSummary$status": "

A status for a zonal shift.

The Status for a zonal shift can have one of the following values:

" } }, "ZonalShiftSummaries": { @@ -260,7 +454,7 @@ } }, "ZonalShiftSummary": { - "base": "

You start a zonal shift to temporarily move load balancer traffic away from an Availability Zone in a AWS Region. A zonal shift helps your application recover immediately, for example, from a developer's bad code deployment or from an AWS infrastructure failure in a single Availability Zone. You can start a zonal shift in Route 53 ARC only for managed resources in your account in an AWS Region. Supported AWS resources are automatically registered with Route 53 ARC.

Zonal shifts are temporary. A zonal shift can be active for up to three days (72 hours).

When you start a zonal shift, you specify how long you want it to be active, which Amazon Route 53 Application Recovery Controller converts to an expiry time (expiration time). You can cancel a zonal shift, for example, if you're ready to restore traffic to the Availability Zone. Or you can extend the zonal shift by updating the expiration so the zonal shift is active longer.

", + "base": "

Lists information about zonal shifts in Amazon Route 53 Application Recovery Controller, including zonal shifts that you start yourself and zonal shifts that Route 53 ARC starts on your behalf for practice runs with zonal autoshift.

Zonal shifts are temporary, including customer-started zonal shifts and the zonal autoshift practice run zonal shifts that Route 53 ARC starts weekly, on your behalf. A zonal shift that a customer starts can be active for up to three days (72 hours). A practice run zonal shift has a 30 minute duration.

", "refs": { "ZonalShiftSummaries$member": null } @@ -268,7 +462,8 @@ "ZonalShiftsInResource": { "base": null, "refs": { - "GetManagedResourceResponse$zonalShifts": "

The zonal shifts that are currently active for a resource.

" + "GetManagedResourceResponse$zonalShifts": "

The zonal shifts that are currently active for a resource.

", + "ManagedResourceSummary$zonalShifts": "

An array of the zonal shifts for a resource.

" } } } diff --git a/apis/arc-zonal-shift/2022-10-30/endpoint-rule-set-1.json b/apis/arc-zonal-shift/2022-10-30/endpoint-rule-set-1.json index 59d231630f3..dcb0d610569 100644 --- a/apis/arc-zonal-shift/2022-10-30/endpoint-rule-set-1.json +++ b/apis/arc-zonal-shift/2022-10-30/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -59,7 +58,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -87,13 +85,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -106,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -120,7 +118,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +140,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -178,11 +174,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -193,16 +187,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -216,14 +213,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -232,15 +227,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -251,16 +245,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -274,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,11 +290,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -309,20 +303,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -333,18 +329,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] } \ No newline at end of file diff --git a/apis/arc-zonal-shift/2022-10-30/paginators-1.json b/apis/arc-zonal-shift/2022-10-30/paginators-1.json index 881e618b2b8..7a8ab4cdfff 100644 --- a/apis/arc-zonal-shift/2022-10-30/paginators-1.json +++ b/apis/arc-zonal-shift/2022-10-30/paginators-1.json @@ -1,5 +1,11 @@ { "pagination": { + "ListAutoshifts": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "items" + }, "ListManagedResources": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/apis/glue/2017-03-31/api-2.json b/apis/glue/2017-03-31/api-2.json index b49d45e6a39..8519569cd99 100644 --- a/apis/glue/2017-03-31/api-2.json +++ b/apis/glue/2017-03-31/api-2.json @@ -5908,6 +5908,21 @@ "max":255, "min":1 }, + "DataQualityAnalyzerResult":{ + "type":"structure", + "members":{ + "Name":{"shape":"NameString"}, + "Description":{"shape":"DataQualityRuleResultDescription"}, + "EvaluationMessage":{"shape":"DataQualityRuleResultDescription"}, + "EvaluatedMetrics":{"shape":"EvaluatedMetricsMap"} + } + }, + "DataQualityAnalyzerResults":{ + "type":"list", + "member":{"shape":"DataQualityAnalyzerResult"}, + "max":2000, + "min":0 + }, "DataQualityEvaluationRunAdditionalRunOptions":{ "type":"structure", "members":{ @@ -5915,6 +5930,34 @@ "ResultsS3Prefix":{"shape":"UriString"} } }, + "DataQualityMetricValues":{ + "type":"structure", + "members":{ + "ActualValue":{"shape":"NullableDouble"}, + "ExpectedValue":{"shape":"NullableDouble"}, + "LowerLimit":{"shape":"NullableDouble"}, + "UpperLimit":{"shape":"NullableDouble"} + } + }, + "DataQualityObservation":{ + "type":"structure", + "members":{ + "Description":{"shape":"DataQualityObservationDescription"}, + "MetricBasedObservation":{"shape":"MetricBasedObservation"} + } + }, + "DataQualityObservationDescription":{ + "type":"string", + "max":2048, + "min":0, + "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + }, + "DataQualityObservations":{ + "type":"list", + "member":{"shape":"DataQualityObservation"}, + "max":50, + "min":0 + }, "DataQualityResult":{ "type":"structure", "members":{ @@ -5928,7 +5971,9 @@ "JobName":{"shape":"NameString"}, "JobRunId":{"shape":"HashString"}, "RulesetEvaluationRunId":{"shape":"HashString"}, - "RuleResults":{"shape":"DataQualityRuleResults"} + "RuleResults":{"shape":"DataQualityRuleResults"}, + "AnalyzerResults":{"shape":"DataQualityAnalyzerResults"}, + "Observations":{"shape":"DataQualityObservations"} } }, "DataQualityResultDescription":{ @@ -5997,12 +6042,18 @@ "type":"structure", "members":{ "Name":{"shape":"NameString"}, - "Description":{"shape":"DescriptionString"}, - "EvaluationMessage":{"shape":"DescriptionString"}, + "Description":{"shape":"DataQualityRuleResultDescription"}, + "EvaluationMessage":{"shape":"DataQualityRuleResultDescription"}, "Result":{"shape":"DataQualityRuleResultStatus"}, "EvaluatedMetrics":{"shape":"EvaluatedMetricsMap"} } }, + "DataQualityRuleResultDescription":{ + "type":"string", + "max":2048, + "min":0, + "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" + }, "DataQualityRuleResultStatus":{ "type":"string", "enum":[ @@ -6015,7 +6066,7 @@ "type":"list", "member":{"shape":"DataQualityRuleResult"}, "max":2000, - "min":1 + "min":0 }, "DataQualityRulesetEvaluationRunDescription":{ "type":"structure", @@ -7522,7 +7573,9 @@ "JobName":{"shape":"NameString"}, "JobRunId":{"shape":"HashString"}, "RulesetEvaluationRunId":{"shape":"HashString"}, - "RuleResults":{"shape":"DataQualityRuleResults"} + "RuleResults":{"shape":"DataQualityRuleResults"}, + "AnalyzerResults":{"shape":"DataQualityAnalyzerResults"}, + "Observations":{"shape":"DataQualityObservations"} } }, "GetDataQualityRuleRecommendationRunRequest":{ @@ -9813,6 +9866,14 @@ "min":1, "pattern":"[a-zA-Z0-9+-=._./@]+" }, + "MetricBasedObservation":{ + "type":"structure", + "members":{ + "MetricName":{"shape":"NameString"}, + "MetricValues":{"shape":"DataQualityMetricValues"}, + "NewRules":{"shape":"NewRules"} + } + }, "MicrosoftSQLServerCatalogSource":{ "type":"structure", "required":[ @@ -9892,6 +9953,10 @@ "type":"list", "member":{"shape":"NameString"} }, + "NewRules":{ + "type":"list", + "member":{"shape":"NameString"} + }, "NoScheduleException":{ "type":"structure", "members":{ diff --git a/apis/glue/2017-03-31/docs-2.json b/apis/glue/2017-03-31/docs-2.json index 961d2602d56..924a1ad9b47 100644 --- a/apis/glue/2017-03-31/docs-2.json +++ b/apis/glue/2017-03-31/docs-2.json @@ -2192,6 +2192,19 @@ "DataLakePrincipal$DataLakePrincipalIdentifier": "

An identifier for the Lake Formation principal.

" } }, + "DataQualityAnalyzerResult": { + "base": "

Describes the result of the evaluation of a data quality analyzer.

", + "refs": { + "DataQualityAnalyzerResults$member": null + } + }, + "DataQualityAnalyzerResults": { + "base": null, + "refs": { + "DataQualityResult$AnalyzerResults": "

A list of DataQualityAnalyzerResult objects representing the results for each analyzer.

", + "GetDataQualityResultResponse$AnalyzerResults": "

A list of DataQualityAnalyzerResult objects representing the results for each analyzer.

" + } + }, "DataQualityEvaluationRunAdditionalRunOptions": { "base": "

Additional run options you can specify for an evaluation run.

", "refs": { @@ -2199,6 +2212,31 @@ "StartDataQualityRulesetEvaluationRunRequest$AdditionalRunOptions": "

Additional run options you can specify for an evaluation run.

" } }, + "DataQualityMetricValues": { + "base": "

Describes the data quality metric value according to the analysis of historical data.

", + "refs": { + "MetricBasedObservation$MetricValues": "

An object of type DataQualityMetricValues representing the analysis of the data quality metric value.

" + } + }, + "DataQualityObservation": { + "base": "

Describes the observation generated after evaluating the rules and analyzers.

", + "refs": { + "DataQualityObservations$member": null + } + }, + "DataQualityObservationDescription": { + "base": null, + "refs": { + "DataQualityObservation$Description": "

A description of the data quality observation.

" + } + }, + "DataQualityObservations": { + "base": null, + "refs": { + "DataQualityResult$Observations": "

A list of DataQualityObservation objects representing the observations generated after evaluating the rules and analyzers.

", + "GetDataQualityResultResponse$Observations": "

A list of DataQualityObservation objects representing the observations generated after evaluating the rules and analyzers.

" + } + }, "DataQualityResult": { "base": "

Describes a data quality result.

", "refs": { @@ -2266,6 +2304,15 @@ "DataQualityRuleResults$member": null } }, + "DataQualityRuleResultDescription": { + "base": null, + "refs": { + "DataQualityAnalyzerResult$Description": "

A description of the data quality analyzer.

", + "DataQualityAnalyzerResult$EvaluationMessage": "

An evaluation message.

", + "DataQualityRuleResult$Description": "

A description of the data quality rule.

", + "DataQualityRuleResult$EvaluationMessage": "

An evaluation message.

" + } + }, "DataQualityRuleResultStatus": { "base": null, "refs": { @@ -2731,8 +2778,6 @@ "CreateSchemaResponse$Description": "

A description of the schema if specified when created.

", "CreateSessionRequest$Description": "

The description of the session.

", "CreateTriggerRequest$Description": "

A description of the new trigger.

", - "DataQualityRuleResult$Description": "

A description of the data quality rule.

", - "DataQualityRuleResult$EvaluationMessage": "

An evaluation message.

", "DataQualityRulesetFilterCriteria$Description": "

The description of the ruleset filter criteria.

", "DataQualityRulesetListDetails$Description": "

A description of the data quality ruleset.

", "Database$Description": "

A description of the database.

", @@ -3187,6 +3232,7 @@ "EvaluatedMetricsMap": { "base": null, "refs": { + "DataQualityAnalyzerResult$EvaluatedMetrics": "

A map of metrics associated with the evaluation of the analyzer.

", "DataQualityRuleResult$EvaluatedMetrics": "

A map of metrics associated with the evaluation of the rule.

" } }, @@ -5534,6 +5580,12 @@ "RemoveSchemaVersionMetadataResponse$MetadataValue": "

The value of the metadata key.

" } }, + "MetricBasedObservation": { + "base": "

Describes the metric based observation generated based on evaluated data quality metrics.

", + "refs": { + "DataQualityObservation$MetricBasedObservation": "

An object of type MetricBasedObservation representing the observation that is based on evaluated data quality metrics.

" + } + }, "MicrosoftSQLServerCatalogSource": { "base": "

Specifies a Microsoft SQL server data source in the Glue Data Catalog.

", "refs": { @@ -5663,6 +5715,7 @@ "CustomEntityType$Name": "

A name for the custom pattern that allows it to be retrieved or deleted later. This name must be unique per Amazon Web Services account.

", "CustomEntityType$RegexString": "

A regular expression string that is used for detecting sensitive data in a custom pattern.

", "CustomEntityTypeNames$member": null, + "DataQualityAnalyzerResult$Name": "

The name of the data quality analyzer.

", "DataQualityResult$RulesetName": "

The name of the ruleset associated with the data quality result.

", "DataQualityResult$JobName": "

The job name associated with the data quality result, if any.

", "DataQualityResultDescription$JobName": "

The job name associated with the data quality result.

", @@ -5813,7 +5866,9 @@ "MLTransform$Name": "

A user-defined name for the machine learning transform. Names are not guaranteed unique and can be changed at any time.

", "MLUserDataEncryption$KmsKeyId": "

The ID for the customer-provided KMS key.

", "MatchCriteria$member": null, + "MetricBasedObservation$MetricName": "

The name of the data quality metric used for generating the observation.

", "NameStringList$member": null, + "NewRules$member": null, "Node$Name": "

The name of the Glue component represented by the node.

", "Node$UniqueId": "

The unique Id assigned to the node within the workflow.

", "NodeIdList$member": null, @@ -5939,6 +5994,12 @@ "UnfilteredPartition$AuthorizedColumns": "

The list of columns the user has permissions to access.

" } }, + "NewRules": { + "base": null, + "refs": { + "MetricBasedObservation$NewRules": "

A list of new data quality rules generated as part of the observation based on the data quality metric value.

" + } + }, "NoScheduleException": { "base": "

There is no applicable schedule.

", "refs": { @@ -6180,6 +6241,10 @@ "CreateJobRequest$MaxCapacity": "

For Glue version 1.0 or earlier jobs, using the standard worker type, the number of Glue data processing units (DPUs) that can be allocated when this job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.

For Glue version 2.0+ jobs, you cannot specify a Maximum capacity. Instead, you should specify a Worker type and the Number of workers.

Do not set MaxCapacity if using WorkerType and NumberOfWorkers.

The value that can be allocated for MaxCapacity depends on whether you are running a Python shell job, an Apache Spark ETL job, or an Apache Spark streaming ETL job:

", "CreateMLTransformRequest$MaxCapacity": "

The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.

MaxCapacity is a mutually exclusive option with NumberOfWorkers and WorkerType.

When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.

When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.

", "CreateSessionRequest$MaxCapacity": "

The number of Glue data processing units (DPUs) that can be allocated when the job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB memory.

", + "DataQualityMetricValues$ActualValue": "

The actual value of the data quality metric.

", + "DataQualityMetricValues$ExpectedValue": "

The expected value of the data quality metric according to the analysis of historical data.

", + "DataQualityMetricValues$LowerLimit": "

The lower limit of the data quality metric value according to the analysis of historical data.

", + "DataQualityMetricValues$UpperLimit": "

The upper limit of the data quality metric value according to the analysis of historical data.

", "DynamoDBTarget$scanRate": "

The percentage of the configured read capacity units to use by the Glue crawler. Read capacity units is a term defined by DynamoDB, and is a numeric value that acts as rate limiter for the number of reads that can be performed on that table per second.

The valid values are null or a value between 0.1 to 1.5. A null value is used when user does not provide a value, and defaults to 0.5 of the configured Read Capacity Unit (for provisioned tables), or 0.25 of the max configured Read Capacity Unit (for tables using on-demand mode).

", "EvaluatedMetricsMap$value": null, "GetMLTransformResponse$MaxCapacity": "

The number of Glue data processing units (DPUs) that are allocated to task runs for this transform. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the Glue pricing page.

When the WorkerType field is set to a value other than Standard, the MaxCapacity field is set automatically and becomes read-only.

", diff --git a/apis/sagemaker/2017-07-24/api-2.json b/apis/sagemaker/2017-07-24/api-2.json index bd69f994656..94950233d9b 100644 --- a/apis/sagemaker/2017-07-24/api-2.json +++ b/apis/sagemaker/2017-07-24/api-2.json @@ -3862,7 +3862,8 @@ "AppName":{"shape":"AppName"}, "Status":{"shape":"AppStatus"}, "CreationTime":{"shape":"CreationTime"}, - "SpaceName":{"shape":"SpaceName"} + "SpaceName":{"shape":"SpaceName"}, + "ResourceSpec":{"shape":"ResourceSpec"} } }, "AppImageConfigArn":{ @@ -3877,7 +3878,8 @@ "AppImageConfigName":{"shape":"AppImageConfigName"}, "CreationTime":{"shape":"Timestamp"}, "LastModifiedTime":{"shape":"Timestamp"}, - "KernelGatewayImageConfig":{"shape":"KernelGatewayImageConfig"} + "KernelGatewayImageConfig":{"shape":"KernelGatewayImageConfig"}, + "JupyterLabAppImageConfig":{"shape":"JupyterLabAppImageConfig"} } }, "AppImageConfigList":{ @@ -4019,7 +4021,9 @@ "KernelGateway", "TensorBoard", "RStudioServerPro", - "RSessionGateway" + "RSessionGateway", + "JupyterLab", + "CodeEditor" ] }, "ApprovalDescription":{ @@ -5684,6 +5688,13 @@ "max":2, "min":1 }, + "CodeEditorAppSettings":{ + "type":"structure", + "members":{ + "DefaultResourceSpec":{"shape":"ResourceSpec"}, + "LifecycleConfigArns":{"shape":"LifecycleConfigArns"} + } + }, "CodeRepositories":{ "type":"list", "member":{"shape":"CodeRepository"}, @@ -5938,6 +5949,14 @@ "max":100, "min":1 }, + "ContainerConfig":{ + "type":"structure", + "members":{ + "ContainerArguments":{"shape":"CustomImageContainerArguments"}, + "ContainerEntrypoint":{"shape":"CustomImageContainerEntrypoint"}, + "ContainerEnvironmentVariables":{"shape":"CustomImageContainerEnvironmentVariables"} + } + }, "ContainerDefinition":{ "type":"structure", "members":{ @@ -6142,7 +6161,8 @@ "members":{ "AppImageConfigName":{"shape":"AppImageConfigName"}, "Tags":{"shape":"TagList"}, - "KernelGatewayImageConfig":{"shape":"KernelGatewayImageConfig"} + "KernelGatewayImageConfig":{"shape":"KernelGatewayImageConfig"}, + "JupyterLabAppImageConfig":{"shape":"JupyterLabAppImageConfig"} } }, "CreateAppImageConfigResponse":{ @@ -7210,7 +7230,10 @@ "DomainId":{"shape":"DomainId"}, "SpaceName":{"shape":"SpaceName"}, "Tags":{"shape":"TagList"}, - "SpaceSettings":{"shape":"SpaceSettings"} + "SpaceSettings":{"shape":"SpaceSettings"}, + "SpaceDisplayName":{"shape":"NonEmptyString64"}, + "OwnershipSettings":{"shape":"OwnershipSettings"}, + "SpaceSharingSettings":{"shape":"SpaceSharingSettings"} } }, "CreateSpaceResponse":{ @@ -7439,6 +7462,30 @@ "max":10, "min":1 }, + "CustomFileSystem":{ + "type":"structure", + "members":{ + "EFSFileSystem":{"shape":"EFSFileSystem"} + }, + "union":true + }, + "CustomFileSystemConfig":{ + "type":"structure", + "members":{ + "EFSFileSystemConfig":{"shape":"EFSFileSystemConfig"} + }, + "union":true + }, + "CustomFileSystemConfigs":{ + "type":"list", + "member":{"shape":"CustomFileSystemConfig"}, + "max":2 + }, + "CustomFileSystems":{ + "type":"list", + "member":{"shape":"CustomFileSystem"}, + "max":1 + }, "CustomImage":{ "type":"structure", "required":[ @@ -7454,11 +7501,38 @@ "AppImageConfigName":{"shape":"AppImageConfigName"} } }, + "CustomImageContainerArguments":{ + "type":"list", + "member":{"shape":"NonEmptyString64"}, + "max":50 + }, + "CustomImageContainerEntrypoint":{ + "type":"list", + "member":{"shape":"NonEmptyString256"}, + "max":1 + }, + "CustomImageContainerEnvironmentVariables":{ + "type":"map", + "key":{"shape":"NonEmptyString256"}, + "value":{"shape":"String256"}, + "max":25 + }, "CustomImages":{ "type":"list", "member":{"shape":"CustomImage"}, "max":200 }, + "CustomPosixUserConfig":{ + "type":"structure", + "required":[ + "Uid", + "Gid" + ], + "members":{ + "Uid":{"shape":"Uid"}, + "Gid":{"shape":"Gid"} + } + }, "CustomerMetadataKey":{ "type":"string", "max":128, @@ -7666,6 +7740,17 @@ "max":20, "min":0 }, + "DefaultEbsStorageSettings":{ + "type":"structure", + "required":[ + "DefaultEbsVolumeSizeInGb", + "MaximumEbsVolumeSizeInGb" + ], + "members":{ + "DefaultEbsVolumeSizeInGb":{"shape":"SpaceEbsVolumeSizeInGb"}, + "MaximumEbsVolumeSizeInGb":{"shape":"SpaceEbsVolumeSizeInGb"} + } + }, "DefaultGid":{ "type":"integer", "max":65535, @@ -7680,6 +7765,12 @@ "KernelGatewayAppSettings":{"shape":"KernelGatewayAppSettings"} } }, + "DefaultSpaceStorageSettings":{ + "type":"structure", + "members":{ + "DefaultEbsStorageSettings":{"shape":"DefaultEbsStorageSettings"} + } + }, "DefaultUid":{ "type":"integer", "max":65535, @@ -8324,7 +8415,8 @@ "AppImageConfigName":{"shape":"AppImageConfigName"}, "CreationTime":{"shape":"Timestamp"}, "LastModifiedTime":{"shape":"Timestamp"}, - "KernelGatewayImageConfig":{"shape":"KernelGatewayImageConfig"} + "KernelGatewayImageConfig":{"shape":"KernelGatewayImageConfig"}, + "JupyterLabAppImageConfig":{"shape":"JupyterLabAppImageConfig"} } }, "DescribeAppRequest":{ @@ -9841,7 +9933,10 @@ "CreationTime":{"shape":"CreationTime"}, "FailureReason":{"shape":"FailureReason"}, "SpaceSettings":{"shape":"SpaceSettings"}, - "Url":{"shape":"String1024"} + "Url":{"shape":"String1024"}, + "SpaceDisplayName":{"shape":"NonEmptyString64"}, + "OwnershipSettings":{"shape":"OwnershipSettings"}, + "SpaceSharingSettings":{"shape":"SpaceSharingSettings"} } }, "DescribeStudioLifecycleConfigRequest":{ @@ -10471,6 +10566,21 @@ "ScalingPolicies":{"shape":"ScalingPolicies"} } }, + "EFSFileSystem":{ + "type":"structure", + "required":["FileSystemId"], + "members":{ + "FileSystemId":{"shape":"FileSystemId"} + } + }, + "EFSFileSystemConfig":{ + "type":"structure", + "required":["FileSystemId"], + "members":{ + "FileSystemId":{"shape":"FileSystemId"}, + "FileSystemPath":{"shape":"FileSystemPath"} + } + }, "EMRStepMetadata":{ "type":"structure", "members":{ @@ -10480,6 +10590,13 @@ "LogFilePath":{"shape":"String1024"} } }, + "EbsStorageSettings":{ + "type":"structure", + "required":["EbsVolumeSizeInGb"], + "members":{ + "EbsVolumeSizeInGb":{"shape":"SpaceEbsVolumeSizeInGb"} + } + }, "Edge":{ "type":"structure", "members":{ @@ -11356,7 +11473,13 @@ "FileSystemId":{ "type":"string", "min":11, - "pattern":".*" + "pattern":"^(fs-[0-9a-f]{8,})$" + }, + "FileSystemPath":{ + "type":"string", + "max":256, + "min":1, + "pattern":"^\\/\\S*$" }, "FileSystemType":{ "type":"string", @@ -11688,6 +11811,11 @@ "PropertyNameSuggestions":{"shape":"PropertyNameSuggestionList"} } }, + "Gid":{ + "type":"long", + "max":4000000, + "min":1001 + }, "GitConfig":{ "type":"structure", "required":["RepositoryUrl"], @@ -13261,6 +13389,21 @@ "max":63, "min":0 }, + "JupyterLabAppImageConfig":{ + "type":"structure", + "members":{ + "ContainerConfig":{"shape":"ContainerConfig"} + } + }, + "JupyterLabAppSettings":{ + "type":"structure", + "members":{ + "DefaultResourceSpec":{"shape":"ResourceSpec"}, + "CustomImages":{"shape":"CustomImages"}, + "LifecycleConfigArns":{"shape":"LifecycleConfigArns"}, + "CodeRepositories":{"shape":"CodeRepositories"} + } + }, "JupyterServerAppSettings":{ "type":"structure", "members":{ @@ -16958,6 +17101,16 @@ "max":8192, "pattern":".*" }, + "NonEmptyString256":{ + "type":"string", + "max":256, + "pattern":"^(?!\\s*$).+" + }, + "NonEmptyString64":{ + "type":"string", + "max":64, + "pattern":"^(?!\\s*$).+" + }, "NotebookInstanceAcceleratorType":{ "type":"string", "enum":[ @@ -17327,6 +17480,19 @@ "max":50, "min":0 }, + "OwnershipSettings":{ + "type":"structure", + "required":["OwnerUserProfileName"], + "members":{ + "OwnerUserProfileName":{"shape":"UserProfileName"} + } + }, + "OwnershipSettingsSummary":{ + "type":"structure", + "members":{ + "OwnerUserProfileName":{"shape":"UserProfileName"} + } + }, "PaginationToken":{ "type":"string", "max":8192, @@ -19770,6 +19936,13 @@ "S3KmsKeyId":{"shape":"KmsKeyId"} } }, + "SharingType":{ + "type":"string", + "enum":[ + "Private", + "Shared" + ] + }, "ShuffleConfig":{ "type":"structure", "required":["Seed"], @@ -19932,6 +20105,12 @@ "max":256, "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:space/.*" }, + "SpaceCodeEditorAppSettings":{ + "type":"structure", + "members":{ + "DefaultResourceSpec":{"shape":"ResourceSpec"} + } + }, "SpaceDetails":{ "type":"structure", "members":{ @@ -19939,7 +20118,23 @@ "SpaceName":{"shape":"SpaceName"}, "Status":{"shape":"SpaceStatus"}, "CreationTime":{"shape":"CreationTime"}, - "LastModifiedTime":{"shape":"LastModifiedTime"} + "LastModifiedTime":{"shape":"LastModifiedTime"}, + "SpaceDisplayName":{"shape":"NonEmptyString64"}, + "SpaceSettingsSummary":{"shape":"SpaceSettingsSummary"}, + "SpaceSharingSettingsSummary":{"shape":"SpaceSharingSettingsSummary"}, + "OwnershipSettingsSummary":{"shape":"OwnershipSettingsSummary"} + } + }, + "SpaceEbsVolumeSizeInGb":{ + "type":"integer", + "max":16384, + "min":5 + }, + "SpaceJupyterLabAppSettings":{ + "type":"structure", + "members":{ + "DefaultResourceSpec":{"shape":"ResourceSpec"}, + "CodeRepositories":{"shape":"CodeRepositories"} } }, "SpaceList":{ @@ -19955,7 +20150,32 @@ "type":"structure", "members":{ "JupyterServerAppSettings":{"shape":"JupyterServerAppSettings"}, - "KernelGatewayAppSettings":{"shape":"KernelGatewayAppSettings"} + "KernelGatewayAppSettings":{"shape":"KernelGatewayAppSettings"}, + "JupyterLabAppSettings":{"shape":"SpaceJupyterLabAppSettings"}, + "CodeEditorAppSettings":{"shape":"SpaceCodeEditorAppSettings"}, + "SpaceStorageSettings":{"shape":"SpaceStorageSettings"}, + "AppType":{"shape":"AppType"}, + "CustomFileSystems":{"shape":"CustomFileSystems"} + } + }, + "SpaceSettingsSummary":{ + "type":"structure", + "members":{ + "AppType":{"shape":"AppType"}, + "SpaceStorageSettings":{"shape":"SpaceStorageSettings"} + } + }, + "SpaceSharingSettings":{ + "type":"structure", + "required":["SharingType"], + "members":{ + "SharingType":{"shape":"SharingType"} + } + }, + "SpaceSharingSettingsSummary":{ + "type":"structure", + "members":{ + "SharingType":{"shape":"SharingType"} } }, "SpaceSortKey":{ @@ -19977,6 +20197,12 @@ "Delete_Failed" ] }, + "SpaceStorageSettings":{ + "type":"structure", + "members":{ + "EbsStorageSettings":{"shape":"EbsStorageSettings"} + } + }, "SpawnRate":{ "type":"integer", "min":0 @@ -20311,7 +20537,9 @@ "type":"string", "enum":[ "JupyterServer", - "KernelGateway" + "KernelGateway", + "JupyterLab", + "CodeEditor" ] }, "StudioLifecycleConfigArn":{ @@ -21574,6 +21802,11 @@ "ContentSha256":{"shape":"TemplateContentSha256"} } }, + "Uid":{ + "type":"long", + "max":4000000, + "min":10000 + }, "UpdateActionRequest":{ "type":"structure", "required":["ActionName"], @@ -21596,7 +21829,8 @@ "required":["AppImageConfigName"], "members":{ "AppImageConfigName":{"shape":"AppImageConfigName"}, - "KernelGatewayImageConfig":{"shape":"KernelGatewayImageConfig"} + "KernelGatewayImageConfig":{"shape":"KernelGatewayImageConfig"}, + "JupyterLabAppImageConfig":{"shape":"JupyterLabAppImageConfig"} } }, "UpdateAppImageConfigResponse":{ @@ -22086,7 +22320,8 @@ "members":{ "DomainId":{"shape":"DomainId"}, "SpaceName":{"shape":"SpaceName"}, - "SpaceSettings":{"shape":"SpaceSettings"} + "SpaceSettings":{"shape":"SpaceSettings"}, + "SpaceDisplayName":{"shape":"NonEmptyString64"} } }, "UpdateSpaceResponse":{ @@ -22270,8 +22505,13 @@ "RStudioServerProAppSettings":{"shape":"RStudioServerProAppSettings"}, "RSessionAppSettings":{"shape":"RSessionAppSettings"}, "CanvasAppSettings":{"shape":"CanvasAppSettings"}, + "JupyterLabAppSettings":{"shape":"JupyterLabAppSettings"}, + "CodeEditorAppSettings":{"shape":"CodeEditorAppSettings"}, + "SpaceStorageSettings":{"shape":"DefaultSpaceStorageSettings"}, "DefaultLandingUri":{"shape":"LandingUri"}, - "StudioWebPortal":{"shape":"StudioWebPortal"} + "StudioWebPortal":{"shape":"StudioWebPortal"}, + "CustomPosixUserConfig":{"shape":"CustomPosixUserConfig"}, + "CustomFileSystemConfigs":{"shape":"CustomFileSystemConfigs"} } }, "UsersPerStep":{ diff --git a/apis/sagemaker/2017-07-24/docs-2.json b/apis/sagemaker/2017-07-24/docs-2.json index 3249a966487..64e0d48e273 100644 --- a/apis/sagemaker/2017-07-24/docs-2.json +++ b/apis/sagemaker/2017-07-24/docs-2.json @@ -697,7 +697,9 @@ "CreateAppRequest$AppType": "

The type of app.

", "DeleteAppRequest$AppType": "

The type of app.

", "DescribeAppRequest$AppType": "

The type of app.

", - "DescribeAppResponse$AppType": "

The type of app.

" + "DescribeAppResponse$AppType": "

The type of app.

", + "SpaceSettings$AppType": "

The type of app created within the space.

", + "SpaceSettingsSummary$AppType": "

The type of app created within the space.

" } }, "ApprovalDescription": { @@ -2108,10 +2110,18 @@ "ClusterNodeDetails$ThreadsPerCore": "

The number of threads per CPU core you specified under CreateCluster.

" } }, + "CodeEditorAppSettings": { + "base": "

The Code Editor application settings.

For more information about Code Editor, see Get started with Code Editor in Amazon SageMaker.

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

The Code Editor application settings.

" + } + }, "CodeRepositories": { "base": null, "refs": { - "JupyterServerAppSettings$CodeRepositories": "

A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.

" + "JupyterLabAppSettings$CodeRepositories": "

A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.

", + "JupyterServerAppSettings$CodeRepositories": "

A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application.

", + "SpaceJupyterLabAppSettings$CodeRepositories": "

A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterLab application.

" } }, "CodeRepository": { @@ -2343,6 +2353,12 @@ "AppSpecification$ContainerArguments": "

The arguments for a container used to run a processing job.

" } }, + "ContainerConfig": { + "base": "

The configuration used to run the application image container.

", + "refs": { + "JupyterLabAppImageConfig$ContainerConfig": null + } + }, "ContainerDefinition": { "base": "

Describes the container, as part of model definition.

", "refs": { @@ -3122,19 +3138,68 @@ "CaptureContentTypeHeader$CsvContentTypes": "

The list of all content type headers that Amazon SageMaker will treat as CSV and capture accordingly.

" } }, + "CustomFileSystem": { + "base": "

A file system, created by you, that you assign to a user profile or space for an Amazon SageMaker Domain. Permitted users can access this file system in Amazon SageMaker Studio.

", + "refs": { + "CustomFileSystems$member": null + } + }, + "CustomFileSystemConfig": { + "base": "

The settings for assigning a custom file system to a user profile or space for an Amazon SageMaker Domain. Permitted users can access this file system in Amazon SageMaker Studio.

", + "refs": { + "CustomFileSystemConfigs$member": null + } + }, + "CustomFileSystemConfigs": { + "base": null, + "refs": { + "UserSettings$CustomFileSystemConfigs": "

The settings for assigning a custom file system to a user profile. Permitted users can access this file system in Amazon SageMaker Studio.

" + } + }, + "CustomFileSystems": { + "base": null, + "refs": { + "SpaceSettings$CustomFileSystems": "

A file system, created by you, that you assign to a space for an Amazon SageMaker Domain. Permitted users can access this file system in Amazon SageMaker Studio.

" + } + }, "CustomImage": { "base": "

A custom SageMaker image. For more information, see Bring your own SageMaker image.

", "refs": { "CustomImages$member": null } }, + "CustomImageContainerArguments": { + "base": null, + "refs": { + "ContainerConfig$ContainerArguments": "

The arguments for the container when you're running the application.

" + } + }, + "CustomImageContainerEntrypoint": { + "base": null, + "refs": { + "ContainerConfig$ContainerEntrypoint": "

The entrypoint used to run the application in the container.

" + } + }, + "CustomImageContainerEnvironmentVariables": { + "base": null, + "refs": { + "ContainerConfig$ContainerEnvironmentVariables": "

The environment variables to set in the container

" + } + }, "CustomImages": { "base": null, "refs": { + "JupyterLabAppSettings$CustomImages": "

A list of custom SageMaker images that are configured to run as a JupyterLab app.

", "KernelGatewayAppSettings$CustomImages": "

A list of custom SageMaker images that are configured to run as a KernelGateway app.

", "RSessionAppSettings$CustomImages": "

A list of custom SageMaker images that are configured to run as a RSession app.

" } }, + "CustomPosixUserConfig": { + "base": "

Details about the POSIX identity that is used for file system operations.

", + "refs": { + "UserSettings$CustomPosixUserConfig": "

Details about the POSIX identity that is used for file system operations.

" + } + }, "CustomerMetadataKey": { "base": null, "refs": { @@ -3297,6 +3362,12 @@ "TrainingJob$DebugRuleEvaluationStatuses": "

Information about the evaluation status of the rules for the training job.

" } }, + "DefaultEbsStorageSettings": { + "base": "

A collection of default EBS storage settings that applies to private spaces created within a domain or user profile.

", + "refs": { + "DefaultSpaceStorageSettings$DefaultEbsStorageSettings": "

The default EBS storage settings for a private space.

" + } + }, "DefaultGid": { "base": null, "refs": { @@ -3311,6 +3382,12 @@ "UpdateDomainRequest$DefaultSpaceSettings": "

The default settings used to create a space within the Domain.

" } }, + "DefaultSpaceStorageSettings": { + "base": "

The default storage settings for a private space.

", + "refs": { + "UserSettings$SpaceStorageSettings": "

The storage settings for a private space.

" + } + }, "DefaultUid": { "base": null, "refs": { @@ -4738,12 +4815,30 @@ "GetScalingConfigurationRecommendationResponse$DynamicScalingConfiguration": "

An object with the recommended values for you to specify when creating an autoscaling policy.

" } }, + "EFSFileSystem": { + "base": "

A file system, created by you in Amazon EFS, that you assign to a user profile or space for an Amazon SageMaker Domain. Permitted users can access this file system in Amazon SageMaker Studio.

", + "refs": { + "CustomFileSystem$EFSFileSystem": "

A custom file system in Amazon EFS.

" + } + }, + "EFSFileSystemConfig": { + "base": "

The settings for assigning a custom Amazon EFS file system to a user profile or space for an Amazon SageMaker Domain.

", + "refs": { + "CustomFileSystemConfig$EFSFileSystemConfig": "

The settings for a custom Amazon EFS file system.

" + } + }, "EMRStepMetadata": { "base": "

The configurations and outcomes of an Amazon EMR step execution.

", "refs": { "PipelineExecutionStepMetadata$EMR": "

The configurations and outcomes of an Amazon EMR step execution.

" } }, + "EbsStorageSettings": { + "base": "

A collection of EBS storage settings that applies to private spaces.

", + "refs": { + "SpaceStorageSettings$EbsStorageSettings": "

A collection of EBS storage settings for a private space.

" + } + }, "Edge": { "base": "

A directed edge connecting two lineage entities.

", "refs": { @@ -5835,9 +5930,17 @@ "FileSystemId": { "base": null, "refs": { + "EFSFileSystem$FileSystemId": "

The ID of your Amazon EFS file system.

", + "EFSFileSystemConfig$FileSystemId": "

The ID of your Amazon EFS file system.

", "FileSystemDataSource$FileSystemId": "

The file system id.

" } }, + "FileSystemPath": { + "base": null, + "refs": { + "EFSFileSystemConfig$FileSystemPath": "

The path to the file system directory that is accessible in Amazon SageMaker Studio. Permitted users can access only this directory and below.

" + } + }, "FileSystemType": { "base": null, "refs": { @@ -6111,6 +6214,12 @@ "refs": { } }, + "Gid": { + "base": null, + "refs": { + "CustomPosixUserConfig$Gid": "

The POSIX group ID.

" + } + }, "GitConfig": { "base": "

Specifies configuration details for a Git repository in your Amazon Web Services account.

", "refs": { @@ -7537,6 +7646,21 @@ "DataProcessing$OutputFilter": "

A JSONPath expression used to select a portion of the joined dataset to save in the output file for a batch transform job. If you want SageMaker to store the entire input dataset in the output file, leave the default value, $. If you specify indexes that aren't within the dimension size of the joined dataset, you get an error.

Examples: \"$\", \"$[0,5:]\", \"$['id','SageMakerOutput']\"

" } }, + "JupyterLabAppImageConfig": { + "base": "

The configuration for the file system and kernels in a SageMaker image running as a JupyterLab app.

", + "refs": { + "AppImageConfigDetails$JupyterLabAppImageConfig": "

The configuration for the file system and the runtime, such as the environment variables and entry point.

", + "CreateAppImageConfigRequest$JupyterLabAppImageConfig": "

The JupyterLabAppImageConfig. You can only specify one image kernel in the AppImageConfig API. This kernel is shown to users before the image starts. After the image runs, all kernels are visible in JupyterLab.

", + "DescribeAppImageConfigResponse$JupyterLabAppImageConfig": "

The configuration of the JupyterLab app.

", + "UpdateAppImageConfigRequest$JupyterLabAppImageConfig": "

The JupyterLab app running on the image.

" + } + }, + "JupyterLabAppSettings": { + "base": "

The settings for the JupyterLab application.

", + "refs": { + "UserSettings$JupyterLabAppSettings": "

The settings for the JupyterLab application.

" + } + }, "JupyterServerAppSettings": { "base": "

The JupyterServer app settings.

", "refs": { @@ -7884,6 +8008,8 @@ "LifecycleConfigArns": { "base": null, "refs": { + "CodeEditorAppSettings$LifecycleConfigArns": "

The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.

", + "JupyterLabAppSettings$LifecycleConfigArns": "

The Amazon Resource Name (ARN) of the lifecycle configurations attached to the user profile or domain. To remove a lifecycle config, you must set LifecycleConfigArns to an empty list.

", "JupyterServerAppSettings$LifecycleConfigArns": "

The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. If you use this parameter, the DefaultResourceSpec parameter is also required.

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

", "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.

" } @@ -10610,6 +10736,23 @@ "SearchResponse$NextToken": "

If the result of the previous Search request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request.

" } }, + "NonEmptyString256": { + "base": null, + "refs": { + "CustomImageContainerEntrypoint$member": null, + "CustomImageContainerEnvironmentVariables$key": null + } + }, + "NonEmptyString64": { + "base": null, + "refs": { + "CreateSpaceRequest$SpaceDisplayName": "

The name of the space that appears in the SageMaker Studio UI.

", + "CustomImageContainerArguments$member": null, + "DescribeSpaceResponse$SpaceDisplayName": "

The name of the space that appears in the Amazon SageMaker Studio UI.

", + "SpaceDetails$SpaceDisplayName": "

The name of the space that appears in the Studio UI.

", + "UpdateSpaceRequest$SpaceDisplayName": "

The name of the space that appears in the Amazon SageMaker Studio UI.

" + } + }, "NotebookInstanceAcceleratorType": { "base": null, "refs": { @@ -11006,6 +11149,19 @@ "SendPipelineExecutionStepSuccessRequest$OutputParameters": "

A list of the output parameters of the callback step.

" } }, + "OwnershipSettings": { + "base": "

The collection of ownership settings for a space.

", + "refs": { + "CreateSpaceRequest$OwnershipSettings": "

A collection of ownership settings.

", + "DescribeSpaceResponse$OwnershipSettings": "

The collection of ownership settings for a space.

" + } + }, + "OwnershipSettingsSummary": { + "base": "

Specifies summary information about the ownership settings.

", + "refs": { + "SpaceDetails$OwnershipSettingsSummary": "

Specifies summary information about the ownership settings.

" + } + }, "PaginationToken": { "base": null, "refs": { @@ -12561,13 +12717,18 @@ "ResourceSpec": { "base": "

Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.

", "refs": { + "AppDetails$ResourceSpec": null, + "CodeEditorAppSettings$DefaultResourceSpec": null, "CreateAppRequest$ResourceSpec": "

The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

The value of InstanceType passed as part of the ResourceSpec in the CreateApp call overrides the value passed as part of the ResourceSpec configured for the user profile or the domain. If InstanceType is not specified in any of those three ResourceSpec values for a KernelGateway app, the CreateApp call fails with a request validation error.

", "DescribeAppResponse$ResourceSpec": "

The instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

", + "JupyterLabAppSettings$DefaultResourceSpec": null, "JupyterServerAppSettings$DefaultResourceSpec": "

The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the JupyterServer app. If you use the LifecycleConfigArns parameter, then this parameter is also required.

", "KernelGatewayAppSettings$DefaultResourceSpec": "

The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the KernelGateway app.

The Amazon SageMaker Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the Amazon Web Services Command Line Interface or Amazon Web Services CloudFormation and the instance type parameter value is not passed.

", "RSessionAppSettings$DefaultResourceSpec": null, "RStudioServerProDomainSettings$DefaultResourceSpec": null, "RStudioServerProDomainSettingsForUpdate$DefaultResourceSpec": null, + "SpaceCodeEditorAppSettings$DefaultResourceSpec": null, + "SpaceJupyterLabAppSettings$DefaultResourceSpec": null, "TensorBoardAppSettings$DefaultResourceSpec": "

The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance.

" } }, @@ -13158,6 +13319,13 @@ "UserSettings$SharingSettings": "

Specifies options for sharing Amazon SageMaker Studio notebooks.

" } }, + "SharingType": { + "base": null, + "refs": { + "SpaceSharingSettings$SharingType": "

Specifies the sharing type of the space.

", + "SpaceSharingSettingsSummary$SharingType": "

Specifies the sharing type of the space.

" + } + }, "ShuffleConfig": { "base": "

A configuration for a shuffle option for input data in a channel. If you use S3Prefix for S3DataType, the results of the S3 key prefix matches are shuffled. If you use ManifestFile, the order of the S3 object references in the ManifestFile is shuffled. If you use AugmentedManifestFile, the order of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling order is determined using the Seed value.

For Pipe input mode, when ShuffleConfig is specified shuffling is done at the start of every epoch. With large datasets, this ensures that the order of the training data is different for each epoch, and it helps reduce bias and possible overfitting. In a multi-node training job when ShuffleConfig is combined with S3DataDistributionType of ShardedByS3Key, the data is shuffled across nodes so that the content sent to a particular node on the first epoch might be sent to a different node on the second epoch.

", "refs": { @@ -13374,12 +13542,32 @@ "UpdateSpaceResponse$SpaceArn": "

The space's Amazon Resource Name (ARN).

" } }, + "SpaceCodeEditorAppSettings": { + "base": "

The application settings for a Code Editor space.

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

The Code Editor application settings.

" + } + }, "SpaceDetails": { "base": "

The space's details.

", "refs": { "SpaceList$member": null } }, + "SpaceEbsVolumeSizeInGb": { + "base": null, + "refs": { + "DefaultEbsStorageSettings$DefaultEbsVolumeSizeInGb": "

The default size of the EBS storage volume for a private space.

", + "DefaultEbsStorageSettings$MaximumEbsVolumeSizeInGb": "

The maximum size of the EBS storage volume for a private space.

", + "EbsStorageSettings$EbsVolumeSizeInGb": "

The size of an EBS storage volume for a private space.

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

The settings for the JupyterLab application within a space.

", + "refs": { + "SpaceSettings$JupyterLabAppSettings": "

The settings for the JupyterLab application.

" + } + }, "SpaceList": { "base": null, "refs": { @@ -13413,6 +13601,25 @@ "UpdateSpaceRequest$SpaceSettings": "

A collection of space settings.

" } }, + "SpaceSettingsSummary": { + "base": "

Specifies summary information about the space settings.

", + "refs": { + "SpaceDetails$SpaceSettingsSummary": "

Specifies summary information about the space settings.

" + } + }, + "SpaceSharingSettings": { + "base": "

A collection of space sharing settings.

", + "refs": { + "CreateSpaceRequest$SpaceSharingSettings": "

A collection of space sharing settings.

", + "DescribeSpaceResponse$SpaceSharingSettings": "

The collection of space sharing settings for a space.

" + } + }, + "SpaceSharingSettingsSummary": { + "base": "

Specifies summary information about the space sharing settings.

", + "refs": { + "SpaceDetails$SpaceSharingSettingsSummary": "

Specifies summary information about the space sharing settings.

" + } + }, "SpaceSortKey": { "base": null, "refs": { @@ -13426,6 +13633,13 @@ "SpaceDetails$Status": "

The status.

" } }, + "SpaceStorageSettings": { + "base": "

The storage settings for a private space.

", + "refs": { + "SpaceSettings$SpaceStorageSettings": "

The storage settings for a private space.

", + "SpaceSettingsSummary$SpaceStorageSettings": "

The storage settings for a private space.

" + } + }, "SpawnRate": { "base": null, "refs": { @@ -13778,6 +13992,7 @@ "CreateArtifactRequest$ArtifactType": "

The artifact type.

", "CreateContextRequest$ContextType": "

The context type.

", "CreateUserProfileRequest$SingleSignOnUserValue": "

The username of the associated Amazon Web Services Single Sign-On User for this UserProfile. If the Domain's AuthMode is IAM Identity Center, this field is required, and must match a valid username of a user in your directory. If the Domain's AuthMode is not IAM Identity Center, this field cannot be specified.

", + "CustomImageContainerEnvironmentVariables$value": null, "DescribeActionResponse$ActionType": "

The type of the action.

", "DescribeArtifactResponse$ArtifactType": "

The type of the artifact.

", "DescribeContextResponse$ContextType": "

The type of the context.

", @@ -15377,6 +15592,12 @@ "DescribeHumanTaskUiResponse$UiTemplate": null } }, + "Uid": { + "base": null, + "refs": { + "CustomPosixUserConfig$Uid": "

The POSIX user ID.

" + } + }, "UpdateActionRequest": { "base": null, "refs": { @@ -15822,6 +16043,8 @@ "DescribeUserProfileResponse$UserProfileName": "

The user profile name.

", "ListAppsRequest$UserProfileNameEquals": "

A parameter to search by user profile name. If SpaceNameEquals is set, then this value cannot be set.

", "ListUserProfilesRequest$UserProfileNameContains": "

A parameter by which to filter the results.

", + "OwnershipSettings$OwnerUserProfileName": "

The user profile who is the owner of the private space.

", + "OwnershipSettingsSummary$OwnerUserProfileName": "

The user profile who is the owner of the private space.

", "UpdateUserProfileRequest$UserProfileName": "

The user profile name.

", "UserProfileDetails$UserProfileName": "

The user profile name.

" } diff --git a/gems/aws-sdk-arczonalshift/CHANGELOG.md b/gems/aws-sdk-arczonalshift/CHANGELOG.md index 171bdb0a7c4..85d23eccbee 100644 --- a/gems/aws-sdk-arczonalshift/CHANGELOG.md +++ b/gems/aws-sdk-arczonalshift/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.11.0 (2023-11-30) +------------------ + +* Feature - This release adds a new capability, zonal autoshift. You can configure zonal autoshift so that AWS shifts traffic for a resource away from an Availability Zone, on your behalf, when AWS determines that there is an issue that could potentially affect customers in the Availability Zone. + 1.10.0 (2023-11-28) ------------------ diff --git a/gems/aws-sdk-arczonalshift/VERSION b/gems/aws-sdk-arczonalshift/VERSION index 81c871de46b..1cac385c6cb 100644 --- a/gems/aws-sdk-arczonalshift/VERSION +++ b/gems/aws-sdk-arczonalshift/VERSION @@ -1 +1 @@ -1.10.0 +1.11.0 diff --git a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift.rb b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift.rb index 3f166f45724..6b3b9a2b28d 100644 --- a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift.rb +++ b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift.rb @@ -52,6 +52,6 @@ # @!group service module Aws::ARCZonalShift - GEM_VERSION = '1.10.0' + GEM_VERSION = '1.11.0' end diff --git a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/client.rb b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/client.rb index 773fff2f825..581a99d23eb 100644 --- a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/client.rb +++ b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/client.rb @@ -389,8 +389,11 @@ def initialize(*args) # @!group API Operations # Cancel a zonal shift in Amazon Route 53 Application Recovery - # Controller that you've started for a resource in your AWS account in - # an AWS Region. + # Controller. To cancel the zonal shift, specify the zonal shift ID. + # + # A zonal shift can be one that you've started for a resource in your + # Amazon Web Services account in an Amazon Web Services Region, or it + # can be a zonal shift started by a practice run with zonal autoshift. # # @option params [required, String] :zonal_shift_id # The internally-generated identifier of a zonal shift. @@ -430,28 +433,189 @@ def cancel_zonal_shift(params = {}, options = {}) req.send_request(options) end + # A practice run configuration for zonal autoshift is required when you + # enable zonal autoshift. A practice run configuration includes + # specifications for blocked dates and blocked time windows, and for + # Amazon CloudWatch alarms that you create to use with practice runs. + # The alarms that you specify are an *outcome alarm*, to monitor + # application health during practice runs and, optionally, a *blocking + # alarm*, to block practice runs from starting. + # + # For more information, see [ Considerations when you configure zonal + # autoshift][1] in the Amazon Route 53 Application Recovery Controller + # Developer Guide. + # + # + # + # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.considerations.html + # + # @option params [Array] :blocked_dates + # Optionally, you can block Route 53 ARC from starting practice runs for + # a resource on specific calendar dates. + # + # The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you + # specify dates, that dates and times for practice runs are in UTC. + # Separate multiple blocked dates with spaces. + # + # For example, if you have an application update scheduled to launch on + # May 1, 2024, and you don't want practice runs to shift traffic away + # at that time, you could set a blocked date for `2024-05-01`. + # + # @option params [Array] :blocked_windows + # Optionally, you can block Route 53 ARC from starting practice runs for + # specific windows of days and times. + # + # The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, + # when you specify dates, that dates and times for practice runs are in + # UTC. Also, be aware of potential time adjustments that might be + # required for daylight saving time differences. Separate multiple + # blocked windows with spaces. + # + # For example, say you run business report summaries three days a week. + # For this scenario, you might set the following recurring days and + # times as blocked windows, for example: `MON-20:30-21:30 + # WED-20:30-21:30 FRI-20:30-21:30`. + # + # @option params [Array] :blocking_alarms + # An Amazon CloudWatch alarm that you can specify for zonal autoshift + # practice runs. This alarm blocks Route 53 ARC from starting practice + # run zonal shifts, and ends a practice run that's in progress, when + # the alarm is in an `ALARM` state. + # + # @option params [required, Array] :outcome_alarms + # The *outcome alarm* for practice runs is a required Amazon CloudWatch + # alarm that you specify that ends a practice run when the alarm is in + # an `ALARM` state. + # + # Configure the alarm to monitor the health of your application when + # traffic is shifted away from an Availability Zone during each weekly + # practice run. You should configure the alarm to go into an `ALARM` + # state if your application is impacted by the zonal shift, and you want + # to stop the zonal shift, to let traffic for the resource return to the + # Availability Zone. + # + # @option params [required, String] :resource_identifier + # The identifier of the resource to shift away traffic for when a + # practice run starts a zonal shift. The identifier is the Amazon + # Resource Name (ARN) for the resource. + # + # At this time, supported resources are Network Load Balancers and + # Application Load Balancers with cross-zone load balancing turned off. + # + # @return [Types::CreatePracticeRunConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::CreatePracticeRunConfigurationResponse#arn #arn} => String + # * {Types::CreatePracticeRunConfigurationResponse#name #name} => String + # * {Types::CreatePracticeRunConfigurationResponse#practice_run_configuration #practice_run_configuration} => Types::PracticeRunConfiguration + # * {Types::CreatePracticeRunConfigurationResponse#zonal_autoshift_status #zonal_autoshift_status} => String + # + # @example Request syntax with placeholder values + # + # resp = client.create_practice_run_configuration({ + # blocked_dates: ["BlockedDate"], + # blocked_windows: ["BlockedWindow"], + # blocking_alarms: [ + # { + # alarm_identifier: "ResourceArn", # required + # type: "CLOUDWATCH", # required, accepts CLOUDWATCH + # }, + # ], + # outcome_alarms: [ # required + # { + # alarm_identifier: "ResourceArn", # required + # type: "CLOUDWATCH", # required, accepts CLOUDWATCH + # }, + # ], + # resource_identifier: "ResourceIdentifier", # required + # }) + # + # @example Response structure + # + # resp.arn #=> String + # resp.name #=> String + # resp.practice_run_configuration.blocked_dates #=> Array + # resp.practice_run_configuration.blocked_dates[0] #=> String + # resp.practice_run_configuration.blocked_windows #=> Array + # resp.practice_run_configuration.blocked_windows[0] #=> String + # resp.practice_run_configuration.blocking_alarms #=> Array + # resp.practice_run_configuration.blocking_alarms[0].alarm_identifier #=> String + # resp.practice_run_configuration.blocking_alarms[0].type #=> String, one of "CLOUDWATCH" + # resp.practice_run_configuration.outcome_alarms #=> Array + # resp.practice_run_configuration.outcome_alarms[0].alarm_identifier #=> String + # resp.practice_run_configuration.outcome_alarms[0].type #=> String, one of "CLOUDWATCH" + # resp.zonal_autoshift_status #=> String, one of "ENABLED", "DISABLED" + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/CreatePracticeRunConfiguration AWS API Documentation + # + # @overload create_practice_run_configuration(params = {}) + # @param [Hash] params ({}) + def create_practice_run_configuration(params = {}, options = {}) + req = build_request(:create_practice_run_configuration, params) + req.send_request(options) + end + + # Deletes the practice run configuration for a resource. Before you can + # delete a practice run configuration for a resource., you must disable + # zonal autoshift for the resource. Practice runs must be configured for + # zonal autoshift to be enabled. + # + # @option params [required, String] :resource_identifier + # The identifier for the resource that you want to delete the practice + # run configuration for. The identifier is the Amazon Resource Name + # (ARN) for the resource. + # + # @return [Types::DeletePracticeRunConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::DeletePracticeRunConfigurationResponse#arn #arn} => String + # * {Types::DeletePracticeRunConfigurationResponse#name #name} => String + # * {Types::DeletePracticeRunConfigurationResponse#zonal_autoshift_status #zonal_autoshift_status} => String + # + # @example Request syntax with placeholder values + # + # resp = client.delete_practice_run_configuration({ + # resource_identifier: "ResourceIdentifier", # required + # }) + # + # @example Response structure + # + # resp.arn #=> String + # resp.name #=> String + # resp.zonal_autoshift_status #=> String, one of "ENABLED", "DISABLED" + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/DeletePracticeRunConfiguration AWS API Documentation + # + # @overload delete_practice_run_configuration(params = {}) + # @param [Hash] params ({}) + def delete_practice_run_configuration(params = {}, options = {}) + req = build_request(:delete_practice_run_configuration, params) + req.send_request(options) + end + # Get information about a resource that's been registered for zonal # shifts with Amazon Route 53 Application Recovery Controller in this - # AWS Region. Resources that are registered for zonal shifts are managed - # resources in Route 53 ARC. + # Amazon Web Services Region. Resources that are registered for zonal + # shifts are managed resources in Route 53 ARC. You can start zonal + # shifts and configure zonal autoshift for managed resources. # - # At this time, you can only start a zonal shift for Network Load - # Balancers and Application Load Balancers with cross-zone load - # balancing turned off. + # At this time, you can only start a zonal shift or configure zonal + # autoshift for Network Load Balancers and Application Load Balancers + # with cross-zone load balancing turned off. # # @option params [required, String] :resource_identifier - # The identifier for the resource to include in a zonal shift. The + # The identifier for the resource to shift away traffic for. The # identifier is the Amazon Resource Name (ARN) for the resource. # - # At this time, you can only start a zonal shift for Network Load - # Balancers and Application Load Balancers with cross-zone load - # balancing turned off. + # At this time, supported resources are Network Load Balancers and + # Application Load Balancers with cross-zone load balancing turned off. # # @return [Types::GetManagedResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::GetManagedResourceResponse#applied_weights #applied_weights} => Hash<String,Float> # * {Types::GetManagedResourceResponse#arn #arn} => String + # * {Types::GetManagedResourceResponse#autoshifts #autoshifts} => Array<Types::AutoshiftInResource> # * {Types::GetManagedResourceResponse#name #name} => String + # * {Types::GetManagedResourceResponse#practice_run_configuration #practice_run_configuration} => Types::PracticeRunConfiguration + # * {Types::GetManagedResourceResponse#zonal_autoshift_status #zonal_autoshift_status} => String # * {Types::GetManagedResourceResponse#zonal_shifts #zonal_shifts} => Array<Types::ZonalShiftInResource> # # @example Request syntax with placeholder values @@ -465,12 +629,28 @@ def cancel_zonal_shift(params = {}, options = {}) # resp.applied_weights #=> Hash # resp.applied_weights["AvailabilityZone"] #=> Float # resp.arn #=> String + # resp.autoshifts #=> Array + # resp.autoshifts[0].applied_status #=> String, one of "APPLIED", "NOT_APPLIED" + # resp.autoshifts[0].away_from #=> String + # resp.autoshifts[0].start_time #=> Time # resp.name #=> String + # resp.practice_run_configuration.blocked_dates #=> Array + # resp.practice_run_configuration.blocked_dates[0] #=> String + # resp.practice_run_configuration.blocked_windows #=> Array + # resp.practice_run_configuration.blocked_windows[0] #=> String + # resp.practice_run_configuration.blocking_alarms #=> Array + # resp.practice_run_configuration.blocking_alarms[0].alarm_identifier #=> String + # resp.practice_run_configuration.blocking_alarms[0].type #=> String, one of "CLOUDWATCH" + # resp.practice_run_configuration.outcome_alarms #=> Array + # resp.practice_run_configuration.outcome_alarms[0].alarm_identifier #=> String + # resp.practice_run_configuration.outcome_alarms[0].type #=> String, one of "CLOUDWATCH" + # resp.zonal_autoshift_status #=> String, one of "ENABLED", "DISABLED" # resp.zonal_shifts #=> Array # resp.zonal_shifts[0].applied_status #=> String, one of "APPLIED", "NOT_APPLIED" # resp.zonal_shifts[0].away_from #=> String # resp.zonal_shifts[0].comment #=> String # resp.zonal_shifts[0].expiry_time #=> Time + # resp.zonal_shifts[0].practice_run_outcome #=> String, one of "FAILED", "INTERRUPTED", "PENDING", "SUCCEEDED" # resp.zonal_shifts[0].resource_identifier #=> String # resp.zonal_shifts[0].start_time #=> Time # resp.zonal_shifts[0].zonal_shift_id #=> String @@ -484,11 +664,60 @@ def get_managed_resource(params = {}, options = {}) req.send_request(options) end - # Lists all the resources in your AWS account in this AWS Region that - # are managed for zonal shifts in Amazon Route 53 Application Recovery - # Controller, and information about them. The information includes their - # Amazon Resource Names (ARNs), the Availability Zones the resources are - # deployed in, and the resource name. + # Returns the active autoshifts for a specified resource. + # + # @option params [Integer] :max_results + # The number of objects that you want to return with this call. + # + # @option params [String] :next_token + # Specifies that you want to receive the next page of results. Valid + # only if you received a `NextToken` response in the previous request. + # If you did, it indicates that more output is available. Set this + # parameter to the value provided by the previous call's `NextToken` + # response to request the next page of results. + # + # @option params [String] :status + # The status of the autoshift. + # + # @return [Types::ListAutoshiftsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::ListAutoshiftsResponse#items #items} => Array<Types::AutoshiftSummary> + # * {Types::ListAutoshiftsResponse#next_token #next_token} => String + # + # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}. + # + # @example Request syntax with placeholder values + # + # resp = client.list_autoshifts({ + # max_results: 1, + # next_token: "String", + # status: "ACTIVE", # accepts ACTIVE, COMPLETED + # }) + # + # @example Response structure + # + # resp.items #=> Array + # resp.items[0].away_from #=> String + # resp.items[0].end_time #=> Time + # resp.items[0].start_time #=> Time + # resp.items[0].status #=> String, one of "ACTIVE", "COMPLETED" + # resp.next_token #=> String + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/ListAutoshifts AWS API Documentation + # + # @overload list_autoshifts(params = {}) + # @param [Hash] params ({}) + def list_autoshifts(params = {}, options = {}) + req = build_request(:list_autoshifts, params) + req.send_request(options) + end + + # Lists all the resources in your Amazon Web Services account in this + # Amazon Web Services Region that are managed for zonal shifts in Amazon + # Route 53 Application Recovery Controller, and information about them. + # The information includes the zonal autoshift status for the resource, + # as well as the Amazon Resource Name (ARN), the Availability Zones that + # each resource is deployed in, and the resource name. # # @option params [Integer] :max_results # The number of objects that you want to return with this call. @@ -517,10 +746,27 @@ def get_managed_resource(params = {}, options = {}) # @example Response structure # # resp.items #=> Array + # resp.items[0].applied_weights #=> Hash + # resp.items[0].applied_weights["AvailabilityZone"] #=> Float # resp.items[0].arn #=> String + # resp.items[0].autoshifts #=> Array + # resp.items[0].autoshifts[0].applied_status #=> String, one of "APPLIED", "NOT_APPLIED" + # resp.items[0].autoshifts[0].away_from #=> String + # resp.items[0].autoshifts[0].start_time #=> Time # resp.items[0].availability_zones #=> Array # resp.items[0].availability_zones[0] #=> String # resp.items[0].name #=> String + # resp.items[0].practice_run_status #=> String, one of "ENABLED", "DISABLED" + # resp.items[0].zonal_autoshift_status #=> String, one of "ENABLED", "DISABLED" + # resp.items[0].zonal_shifts #=> Array + # resp.items[0].zonal_shifts[0].applied_status #=> String, one of "APPLIED", "NOT_APPLIED" + # resp.items[0].zonal_shifts[0].away_from #=> String + # resp.items[0].zonal_shifts[0].comment #=> String + # resp.items[0].zonal_shifts[0].expiry_time #=> Time + # resp.items[0].zonal_shifts[0].practice_run_outcome #=> String, one of "FAILED", "INTERRUPTED", "PENDING", "SUCCEEDED" + # resp.items[0].zonal_shifts[0].resource_identifier #=> String + # resp.items[0].zonal_shifts[0].start_time #=> Time + # resp.items[0].zonal_shifts[0].zonal_shift_id #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/ListManagedResources AWS API Documentation @@ -532,8 +778,18 @@ def list_managed_resources(params = {}, options = {}) req.send_request(options) end - # Lists all the active zonal shifts in Amazon Route 53 Application - # Recovery Controller in your AWS account in this AWS Region. + # Lists all active and completed zonal shifts in Amazon Route 53 + # Application Recovery Controller in your Amazon Web Services account in + # this Amazon Web Services Region. `ListZonalShifts` returns + # customer-started zonal shifts, as well as practice run zonal shifts + # that Route 53 ARC started on your behalf for zonal autoshift. + # + # The `ListZonalShifts` operation does not list autoshifts. For more + # information about listing autoshifts, see [">ListAutoshifts][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/arc-zonal-shift/latest/api/API_ListAutoshifts.html # # @option params [Integer] :max_results # The number of objects that you want to return with this call. @@ -545,12 +801,17 @@ def list_managed_resources(params = {}, options = {}) # parameter to the value provided by the previous call's `NextToken` # response to request the next page of results. # + # @option params [String] :resource_identifier + # The identifier for the resource that you want to list zonal shifts + # for. The identifier is the Amazon Resource Name (ARN) for the + # resource. + # # @option params [String] :status # A status for a zonal shift. # # The `Status` for a zonal shift can have one of the following values: # - # * **ACTIVE**: The zonal shift is started and active. + # * **ACTIVE**: The zonal shift has been started and active. # # * **EXPIRED**: The zonal shift has expired (the expiry time was # exceeded). @@ -569,6 +830,7 @@ def list_managed_resources(params = {}, options = {}) # resp = client.list_zonal_shifts({ # max_results: 1, # next_token: "String", + # resource_identifier: "ResourceIdentifier", # status: "ACTIVE", # accepts ACTIVE, EXPIRED, CANCELED # }) # @@ -578,6 +840,7 @@ def list_managed_resources(params = {}, options = {}) # resp.items[0].away_from #=> String # resp.items[0].comment #=> String # resp.items[0].expiry_time #=> Time + # resp.items[0].practice_run_outcome #=> String, one of "FAILED", "INTERRUPTED", "PENDING", "SUCCEEDED" # resp.items[0].resource_identifier #=> String # resp.items[0].start_time #=> Time # resp.items[0].status #=> String, one of "ACTIVE", "EXPIRED", "CANCELED" @@ -594,12 +857,13 @@ def list_zonal_shifts(params = {}, options = {}) end # You start a zonal shift to temporarily move load balancer traffic away - # from an Availability Zone in a AWS Region, to help your application - # recover immediately, for example, from a developer's bad code - # deployment or from an AWS infrastructure failure in a single - # Availability Zone. You can start a zonal shift in Route 53 ARC only - # for managed resources in your account in an AWS Region. Resources are - # automatically registered with Route 53 ARC by AWS services. + # from an Availability Zone in an Amazon Web Services Region, to help + # your application recover immediately, for example, from a developer's + # bad code deployment or from an Amazon Web Services infrastructure + # failure in a single Availability Zone. You can start a zonal shift in + # Route 53 ARC only for managed resources in your Amazon Web Services + # account in an Amazon Web Services Region. Resources are automatically + # registered with Route 53 ARC by Amazon Web Services services. # # At this time, you can only start a zonal shift for Network Load # Balancers and Application Load Balancers with cross-zone load @@ -622,7 +886,7 @@ def list_zonal_shifts(params = {}, options = {}) # The Availability Zone that traffic is moved away from for a resource # when you start a zonal shift. Until the zonal shift expires or you # cancel it, traffic for the resource is instead moved to other - # Availability Zones in the AWS Region. + # Availability Zones in the Amazon Web Services Region. # # @option params [required, String] :comment # A comment that you enter about the zonal shift. Only the latest @@ -643,15 +907,19 @@ def list_zonal_shifts(params = {}, options = {}) # To set a length of time for a zonal shift to be active, specify a # whole number, and then one of the following, with no space: # - #
  • A lowercase letter m: To specify that the value is in minutes.

  • A lowercase letter h: To specify that the value is in hours.

For example: 20h means the zonal shift expires in 20 hours. 120m means the zonal shift expires in 120 minutes (2 hours).

+ # * **A lowercase letter m:** To specify that the value is in minutes. + # + # * **A lowercase letter h:** To specify that the value is in hours. + # + # For example: `20h` means the zonal shift expires in 20 hours. `120m` + # means the zonal shift expires in 120 minutes (2 hours). # # @option params [required, String] :resource_identifier - # The identifier for the resource to include in a zonal shift. The + # The identifier for the resource to shift away traffic for. The # identifier is the Amazon Resource Name (ARN) for the resource. # - # At this time, you can only start a zonal shift for Network Load - # Balancers and Application Load Balancers with cross-zone load - # balancing turned off. + # At this time, supported resources are Network Load Balancers and + # Application Load Balancers with cross-zone load balancing turned off. # # @return [Types::ZonalShift] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -691,9 +959,151 @@ def start_zonal_shift(params = {}, options = {}) req.send_request(options) end + # Update a practice run configuration to change one or more of the + # following: add, change, or remove the blocking alarm; change the + # outcome alarm; or add, change, or remove blocking dates or time + # windows. + # + # @option params [Array] :blocked_dates + # Add, change, or remove blocked dates for a practice run in zonal + # autoshift. + # + # Optionally, you can block practice runs for specific calendar dates. + # The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you + # specify dates, that dates and times for practice runs are in UTC. + # Separate multiple blocked dates with spaces. + # + # For example, if you have an application update scheduled to launch on + # May 1, 2024, and you don't want practice runs to shift traffic away + # at that time, you could set a blocked date for `2024-05-01`. + # + # @option params [Array] :blocked_windows + # Add, change, or remove windows of days and times for when you can, + # optionally, block Route 53 ARC from starting a practice run for a + # resource. + # + # The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in mind, + # when you specify dates, that dates and times for practice runs are in + # UTC. Also, be aware of potential time adjustments that might be + # required for daylight saving time differences. Separate multiple + # blocked windows with spaces. + # + # For example, say you run business report summaries three days a week. + # For this scenario, you might set the following recurring days and + # times as blocked windows, for example: `MON-20:30-21:30 + # WED-20:30-21:30 FRI-20:30-21:30`. + # + # @option params [Array] :blocking_alarms + # Add, change, or remove the Amazon CloudWatch alarm that you optionally + # specify as the blocking alarm for practice runs. + # + # @option params [Array] :outcome_alarms + # Specify a new the Amazon CloudWatch alarm as the outcome alarm for + # practice runs. + # + # @option params [required, String] :resource_identifier + # The identifier for the resource that you want to update the practice + # run configuration for. The identifier is the Amazon Resource Name + # (ARN) for the resource. + # + # @return [Types::UpdatePracticeRunConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::UpdatePracticeRunConfigurationResponse#arn #arn} => String + # * {Types::UpdatePracticeRunConfigurationResponse#name #name} => String + # * {Types::UpdatePracticeRunConfigurationResponse#practice_run_configuration #practice_run_configuration} => Types::PracticeRunConfiguration + # * {Types::UpdatePracticeRunConfigurationResponse#zonal_autoshift_status #zonal_autoshift_status} => String + # + # @example Request syntax with placeholder values + # + # resp = client.update_practice_run_configuration({ + # blocked_dates: ["BlockedDate"], + # blocked_windows: ["BlockedWindow"], + # blocking_alarms: [ + # { + # alarm_identifier: "ResourceArn", # required + # type: "CLOUDWATCH", # required, accepts CLOUDWATCH + # }, + # ], + # outcome_alarms: [ + # { + # alarm_identifier: "ResourceArn", # required + # type: "CLOUDWATCH", # required, accepts CLOUDWATCH + # }, + # ], + # resource_identifier: "ResourceIdentifier", # required + # }) + # + # @example Response structure + # + # resp.arn #=> String + # resp.name #=> String + # resp.practice_run_configuration.blocked_dates #=> Array + # resp.practice_run_configuration.blocked_dates[0] #=> String + # resp.practice_run_configuration.blocked_windows #=> Array + # resp.practice_run_configuration.blocked_windows[0] #=> String + # resp.practice_run_configuration.blocking_alarms #=> Array + # resp.practice_run_configuration.blocking_alarms[0].alarm_identifier #=> String + # resp.practice_run_configuration.blocking_alarms[0].type #=> String, one of "CLOUDWATCH" + # resp.practice_run_configuration.outcome_alarms #=> Array + # resp.practice_run_configuration.outcome_alarms[0].alarm_identifier #=> String + # resp.practice_run_configuration.outcome_alarms[0].type #=> String, one of "CLOUDWATCH" + # resp.zonal_autoshift_status #=> String, one of "ENABLED", "DISABLED" + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdatePracticeRunConfiguration AWS API Documentation + # + # @overload update_practice_run_configuration(params = {}) + # @param [Hash] params ({}) + def update_practice_run_configuration(params = {}, options = {}) + req = build_request(:update_practice_run_configuration, params) + req.send_request(options) + end + + # You can update the zonal autoshift status for a resource, to enable or + # disable zonal autoshift. When zonal autoshift is `ENABLED`, Amazon Web + # Services shifts away resource traffic from an Availability Zone, on + # your behalf, when Amazon Web Services determines that there's an + # issue in the Availability Zone that could potentially affect + # customers. + # + # @option params [required, String] :resource_identifier + # The identifier for the resource that you want to update the zonal + # autoshift configuration for. The identifier is the Amazon Resource + # Name (ARN) for the resource. + # + # @option params [required, String] :zonal_autoshift_status + # The zonal autoshift status for the resource that you want to update + # the zonal autoshift configuration for. + # + # @return [Types::UpdateZonalAutoshiftConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: + # + # * {Types::UpdateZonalAutoshiftConfigurationResponse#resource_identifier #resource_identifier} => String + # * {Types::UpdateZonalAutoshiftConfigurationResponse#zonal_autoshift_status #zonal_autoshift_status} => String + # + # @example Request syntax with placeholder values + # + # resp = client.update_zonal_autoshift_configuration({ + # resource_identifier: "ResourceIdentifier", # required + # zonal_autoshift_status: "ENABLED", # required, accepts ENABLED, DISABLED + # }) + # + # @example Response structure + # + # resp.resource_identifier #=> String + # resp.zonal_autoshift_status #=> String, one of "ENABLED", "DISABLED" + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdateZonalAutoshiftConfiguration AWS API Documentation + # + # @overload update_zonal_autoshift_configuration(params = {}) + # @param [Hash] params ({}) + def update_zonal_autoshift_configuration(params = {}, options = {}) + req = build_request(:update_zonal_autoshift_configuration, params) + req.send_request(options) + end + # Update an active zonal shift in Amazon Route 53 Application Recovery - # Controller in your AWS account. You can update a zonal shift to set a - # new expiration, or edit or replace the comment for the zonal shift. + # Controller in your Amazon Web Services account. You can update a zonal + # shift to set a new expiration, or edit or replace the comment for the + # zonal shift. # # @option params [String] :comment # A comment that you enter about the zonal shift. Only the latest @@ -774,7 +1184,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-arczonalshift' - context[:gem_version] = '1.10.0' + context[:gem_version] = '1.11.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/client_api.rb b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/client_api.rb index fd5dce7be07..f8857327b56 100644 --- a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/client_api.rb +++ b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/client_api.rb @@ -16,16 +16,35 @@ module ClientApi AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException') AppliedStatus = Shapes::StringShape.new(name: 'AppliedStatus') AppliedWeights = Shapes::MapShape.new(name: 'AppliedWeights') + AutoshiftAppliedStatus = Shapes::StringShape.new(name: 'AutoshiftAppliedStatus') + AutoshiftExecutionStatus = Shapes::StringShape.new(name: 'AutoshiftExecutionStatus') + AutoshiftInResource = Shapes::StructureShape.new(name: 'AutoshiftInResource') + AutoshiftSummaries = Shapes::ListShape.new(name: 'AutoshiftSummaries') + AutoshiftSummary = Shapes::StructureShape.new(name: 'AutoshiftSummary') + AutoshiftsInResource = Shapes::ListShape.new(name: 'AutoshiftsInResource') AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone') AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones') + BlockedDate = Shapes::StringShape.new(name: 'BlockedDate') + BlockedDates = Shapes::ListShape.new(name: 'BlockedDates') + BlockedWindow = Shapes::StringShape.new(name: 'BlockedWindow') + BlockedWindows = Shapes::ListShape.new(name: 'BlockedWindows') CancelZonalShiftRequest = Shapes::StructureShape.new(name: 'CancelZonalShiftRequest') ConflictException = Shapes::StructureShape.new(name: 'ConflictException') ConflictExceptionReason = Shapes::StringShape.new(name: 'ConflictExceptionReason') + ControlCondition = Shapes::StructureShape.new(name: 'ControlCondition') + ControlConditionType = Shapes::StringShape.new(name: 'ControlConditionType') + ControlConditions = Shapes::ListShape.new(name: 'ControlConditions') + CreatePracticeRunConfigurationRequest = Shapes::StructureShape.new(name: 'CreatePracticeRunConfigurationRequest') + CreatePracticeRunConfigurationResponse = Shapes::StructureShape.new(name: 'CreatePracticeRunConfigurationResponse') + DeletePracticeRunConfigurationRequest = Shapes::StructureShape.new(name: 'DeletePracticeRunConfigurationRequest') + DeletePracticeRunConfigurationResponse = Shapes::StructureShape.new(name: 'DeletePracticeRunConfigurationResponse') ExpiresIn = Shapes::StringShape.new(name: 'ExpiresIn') ExpiryTime = Shapes::TimestampShape.new(name: 'ExpiryTime') GetManagedResourceRequest = Shapes::StructureShape.new(name: 'GetManagedResourceRequest') GetManagedResourceResponse = Shapes::StructureShape.new(name: 'GetManagedResourceResponse') InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException') + ListAutoshiftsRequest = Shapes::StructureShape.new(name: 'ListAutoshiftsRequest') + ListAutoshiftsResponse = Shapes::StructureShape.new(name: 'ListAutoshiftsResponse') ListManagedResourcesRequest = Shapes::StructureShape.new(name: 'ListManagedResourcesRequest') ListManagedResourcesResponse = Shapes::StructureShape.new(name: 'ListManagedResourcesResponse') ListZonalShiftsRequest = Shapes::StructureShape.new(name: 'ListZonalShiftsRequest') @@ -33,6 +52,8 @@ module ClientApi ManagedResourceSummaries = Shapes::ListShape.new(name: 'ManagedResourceSummaries') ManagedResourceSummary = Shapes::StructureShape.new(name: 'ManagedResourceSummary') MaxResults = Shapes::IntegerShape.new(name: 'MaxResults') + PracticeRunConfiguration = Shapes::StructureShape.new(name: 'PracticeRunConfiguration') + PracticeRunOutcome = Shapes::StringShape.new(name: 'PracticeRunOutcome') ResourceArn = Shapes::StringShape.new(name: 'ResourceArn') ResourceIdentifier = Shapes::StringShape.new(name: 'ResourceIdentifier') ResourceName = Shapes::StringShape.new(name: 'ResourceName') @@ -41,10 +62,15 @@ module ClientApi StartZonalShiftRequest = Shapes::StructureShape.new(name: 'StartZonalShiftRequest') String = Shapes::StringShape.new(name: 'String') ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException') + UpdatePracticeRunConfigurationRequest = Shapes::StructureShape.new(name: 'UpdatePracticeRunConfigurationRequest') + UpdatePracticeRunConfigurationResponse = Shapes::StructureShape.new(name: 'UpdatePracticeRunConfigurationResponse') + UpdateZonalAutoshiftConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateZonalAutoshiftConfigurationRequest') + UpdateZonalAutoshiftConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateZonalAutoshiftConfigurationResponse') UpdateZonalShiftRequest = Shapes::StructureShape.new(name: 'UpdateZonalShiftRequest') ValidationException = Shapes::StructureShape.new(name: 'ValidationException') ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason') Weight = Shapes::FloatShape.new(name: 'Weight') + ZonalAutoshiftStatus = Shapes::StringShape.new(name: 'ZonalAutoshiftStatus') ZonalShift = Shapes::StructureShape.new(name: 'ZonalShift') ZonalShiftComment = Shapes::StringShape.new(name: 'ZonalShiftComment') ZonalShiftId = Shapes::StringShape.new(name: 'ZonalShiftId') @@ -60,8 +86,27 @@ module ClientApi AppliedWeights.key = Shapes::ShapeRef.new(shape: AvailabilityZone) AppliedWeights.value = Shapes::ShapeRef.new(shape: Weight) + AutoshiftInResource.add_member(:applied_status, Shapes::ShapeRef.new(shape: AutoshiftAppliedStatus, required: true, location_name: "appliedStatus")) + AutoshiftInResource.add_member(:away_from, Shapes::ShapeRef.new(shape: AvailabilityZone, required: true, location_name: "awayFrom")) + AutoshiftInResource.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, required: true, location_name: "startTime")) + AutoshiftInResource.struct_class = Types::AutoshiftInResource + + AutoshiftSummaries.member = Shapes::ShapeRef.new(shape: AutoshiftSummary) + + AutoshiftSummary.add_member(:away_from, Shapes::ShapeRef.new(shape: AvailabilityZone, required: true, location_name: "awayFrom")) + AutoshiftSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: ExpiryTime, required: true, location_name: "endTime")) + AutoshiftSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, required: true, location_name: "startTime")) + AutoshiftSummary.add_member(:status, Shapes::ShapeRef.new(shape: AutoshiftExecutionStatus, required: true, location_name: "status")) + AutoshiftSummary.struct_class = Types::AutoshiftSummary + + AutoshiftsInResource.member = Shapes::ShapeRef.new(shape: AutoshiftInResource) + AvailabilityZones.member = Shapes::ShapeRef.new(shape: AvailabilityZone) + BlockedDates.member = Shapes::ShapeRef.new(shape: BlockedDate) + + BlockedWindows.member = Shapes::ShapeRef.new(shape: BlockedWindow) + CancelZonalShiftRequest.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location: "uri", location_name: "zonalShiftId")) CancelZonalShiftRequest.struct_class = Types::CancelZonalShiftRequest @@ -70,18 +115,57 @@ module ClientApi ConflictException.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: String, location_name: "zonalShiftId")) ConflictException.struct_class = Types::ConflictException + ControlCondition.add_member(:alarm_identifier, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "alarmIdentifier")) + ControlCondition.add_member(:type, Shapes::ShapeRef.new(shape: ControlConditionType, required: true, location_name: "type")) + ControlCondition.struct_class = Types::ControlCondition + + ControlConditions.member = Shapes::ShapeRef.new(shape: ControlCondition) + + CreatePracticeRunConfigurationRequest.add_member(:blocked_dates, Shapes::ShapeRef.new(shape: BlockedDates, location_name: "blockedDates")) + CreatePracticeRunConfigurationRequest.add_member(:blocked_windows, Shapes::ShapeRef.new(shape: BlockedWindows, location_name: "blockedWindows")) + CreatePracticeRunConfigurationRequest.add_member(:blocking_alarms, Shapes::ShapeRef.new(shape: ControlConditions, location_name: "blockingAlarms")) + CreatePracticeRunConfigurationRequest.add_member(:outcome_alarms, Shapes::ShapeRef.new(shape: ControlConditions, required: true, location_name: "outcomeAlarms")) + CreatePracticeRunConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier")) + CreatePracticeRunConfigurationRequest.struct_class = Types::CreatePracticeRunConfigurationRequest + + CreatePracticeRunConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "arn")) + CreatePracticeRunConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name")) + CreatePracticeRunConfigurationResponse.add_member(:practice_run_configuration, Shapes::ShapeRef.new(shape: PracticeRunConfiguration, required: true, location_name: "practiceRunConfiguration")) + CreatePracticeRunConfigurationResponse.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, required: true, location_name: "zonalAutoshiftStatus")) + CreatePracticeRunConfigurationResponse.struct_class = Types::CreatePracticeRunConfigurationResponse + + DeletePracticeRunConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "resourceIdentifier")) + DeletePracticeRunConfigurationRequest.struct_class = Types::DeletePracticeRunConfigurationRequest + + DeletePracticeRunConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "arn")) + DeletePracticeRunConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name")) + DeletePracticeRunConfigurationResponse.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, required: true, location_name: "zonalAutoshiftStatus")) + DeletePracticeRunConfigurationResponse.struct_class = Types::DeletePracticeRunConfigurationResponse + GetManagedResourceRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "resourceIdentifier")) GetManagedResourceRequest.struct_class = Types::GetManagedResourceRequest GetManagedResourceResponse.add_member(:applied_weights, Shapes::ShapeRef.new(shape: AppliedWeights, required: true, location_name: "appliedWeights")) GetManagedResourceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn")) + GetManagedResourceResponse.add_member(:autoshifts, Shapes::ShapeRef.new(shape: AutoshiftsInResource, location_name: "autoshifts")) GetManagedResourceResponse.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name")) + GetManagedResourceResponse.add_member(:practice_run_configuration, Shapes::ShapeRef.new(shape: PracticeRunConfiguration, location_name: "practiceRunConfiguration")) + GetManagedResourceResponse.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, location_name: "zonalAutoshiftStatus")) GetManagedResourceResponse.add_member(:zonal_shifts, Shapes::ShapeRef.new(shape: ZonalShiftsInResource, required: true, location_name: "zonalShifts")) GetManagedResourceResponse.struct_class = Types::GetManagedResourceResponse InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message")) InternalServerException.struct_class = Types::InternalServerException + ListAutoshiftsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults")) + ListAutoshiftsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken")) + ListAutoshiftsRequest.add_member(:status, Shapes::ShapeRef.new(shape: AutoshiftExecutionStatus, location: "querystring", location_name: "status")) + ListAutoshiftsRequest.struct_class = Types::ListAutoshiftsRequest + + ListAutoshiftsResponse.add_member(:items, Shapes::ShapeRef.new(shape: AutoshiftSummaries, location_name: "items")) + ListAutoshiftsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken")) + ListAutoshiftsResponse.struct_class = Types::ListAutoshiftsResponse + ListManagedResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults")) ListManagedResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken")) ListManagedResourcesRequest.struct_class = Types::ListManagedResourcesRequest @@ -92,6 +176,7 @@ module ClientApi ListZonalShiftsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults")) ListZonalShiftsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken")) + ListZonalShiftsRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, location: "querystring", location_name: "resourceIdentifier")) ListZonalShiftsRequest.add_member(:status, Shapes::ShapeRef.new(shape: ZonalShiftStatus, location: "querystring", location_name: "status")) ListZonalShiftsRequest.struct_class = Types::ListZonalShiftsRequest @@ -101,11 +186,22 @@ module ClientApi ManagedResourceSummaries.member = Shapes::ShapeRef.new(shape: ManagedResourceSummary) + ManagedResourceSummary.add_member(:applied_weights, Shapes::ShapeRef.new(shape: AppliedWeights, location_name: "appliedWeights")) ManagedResourceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "arn")) + ManagedResourceSummary.add_member(:autoshifts, Shapes::ShapeRef.new(shape: AutoshiftsInResource, location_name: "autoshifts")) ManagedResourceSummary.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZones, required: true, location_name: "availabilityZones")) ManagedResourceSummary.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name")) + ManagedResourceSummary.add_member(:practice_run_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, location_name: "practiceRunStatus")) + ManagedResourceSummary.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, location_name: "zonalAutoshiftStatus")) + ManagedResourceSummary.add_member(:zonal_shifts, Shapes::ShapeRef.new(shape: ZonalShiftsInResource, location_name: "zonalShifts")) ManagedResourceSummary.struct_class = Types::ManagedResourceSummary + PracticeRunConfiguration.add_member(:blocked_dates, Shapes::ShapeRef.new(shape: BlockedDates, location_name: "blockedDates")) + PracticeRunConfiguration.add_member(:blocked_windows, Shapes::ShapeRef.new(shape: BlockedWindows, location_name: "blockedWindows")) + PracticeRunConfiguration.add_member(:blocking_alarms, Shapes::ShapeRef.new(shape: ControlConditions, location_name: "blockingAlarms")) + PracticeRunConfiguration.add_member(:outcome_alarms, Shapes::ShapeRef.new(shape: ControlConditions, required: true, location_name: "outcomeAlarms")) + PracticeRunConfiguration.struct_class = Types::PracticeRunConfiguration + ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message")) ResourceNotFoundException.struct_class = Types::ResourceNotFoundException @@ -118,6 +214,27 @@ module ClientApi ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message")) ThrottlingException.struct_class = Types::ThrottlingException + UpdatePracticeRunConfigurationRequest.add_member(:blocked_dates, Shapes::ShapeRef.new(shape: BlockedDates, location_name: "blockedDates")) + UpdatePracticeRunConfigurationRequest.add_member(:blocked_windows, Shapes::ShapeRef.new(shape: BlockedWindows, location_name: "blockedWindows")) + UpdatePracticeRunConfigurationRequest.add_member(:blocking_alarms, Shapes::ShapeRef.new(shape: ControlConditions, location_name: "blockingAlarms")) + UpdatePracticeRunConfigurationRequest.add_member(:outcome_alarms, Shapes::ShapeRef.new(shape: ControlConditions, location_name: "outcomeAlarms")) + UpdatePracticeRunConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "resourceIdentifier")) + UpdatePracticeRunConfigurationRequest.struct_class = Types::UpdatePracticeRunConfigurationRequest + + UpdatePracticeRunConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "arn")) + UpdatePracticeRunConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name")) + UpdatePracticeRunConfigurationResponse.add_member(:practice_run_configuration, Shapes::ShapeRef.new(shape: PracticeRunConfiguration, required: true, location_name: "practiceRunConfiguration")) + UpdatePracticeRunConfigurationResponse.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, required: true, location_name: "zonalAutoshiftStatus")) + UpdatePracticeRunConfigurationResponse.struct_class = Types::UpdatePracticeRunConfigurationResponse + + UpdateZonalAutoshiftConfigurationRequest.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location: "uri", location_name: "resourceIdentifier")) + UpdateZonalAutoshiftConfigurationRequest.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, required: true, location_name: "zonalAutoshiftStatus")) + UpdateZonalAutoshiftConfigurationRequest.struct_class = Types::UpdateZonalAutoshiftConfigurationRequest + + UpdateZonalAutoshiftConfigurationResponse.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier")) + UpdateZonalAutoshiftConfigurationResponse.add_member(:zonal_autoshift_status, Shapes::ShapeRef.new(shape: ZonalAutoshiftStatus, required: true, location_name: "zonalAutoshiftStatus")) + UpdateZonalAutoshiftConfigurationResponse.struct_class = Types::UpdateZonalAutoshiftConfigurationResponse + UpdateZonalShiftRequest.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, location_name: "comment")) UpdateZonalShiftRequest.add_member(:expires_in, Shapes::ShapeRef.new(shape: ExpiresIn, location_name: "expiresIn")) UpdateZonalShiftRequest.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location: "uri", location_name: "zonalShiftId")) @@ -140,6 +257,7 @@ module ClientApi ZonalShiftInResource.add_member(:away_from, Shapes::ShapeRef.new(shape: AvailabilityZone, required: true, location_name: "awayFrom")) ZonalShiftInResource.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, required: true, location_name: "comment")) ZonalShiftInResource.add_member(:expiry_time, Shapes::ShapeRef.new(shape: ExpiryTime, required: true, location_name: "expiryTime")) + ZonalShiftInResource.add_member(:practice_run_outcome, Shapes::ShapeRef.new(shape: PracticeRunOutcome, location_name: "practiceRunOutcome")) ZonalShiftInResource.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier")) ZonalShiftInResource.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, required: true, location_name: "startTime")) ZonalShiftInResource.add_member(:zonal_shift_id, Shapes::ShapeRef.new(shape: ZonalShiftId, required: true, location_name: "zonalShiftId")) @@ -150,6 +268,7 @@ module ClientApi ZonalShiftSummary.add_member(:away_from, Shapes::ShapeRef.new(shape: AvailabilityZone, required: true, location_name: "awayFrom")) ZonalShiftSummary.add_member(:comment, Shapes::ShapeRef.new(shape: ZonalShiftComment, required: true, location_name: "comment")) ZonalShiftSummary.add_member(:expiry_time, Shapes::ShapeRef.new(shape: ExpiryTime, required: true, location_name: "expiryTime")) + ZonalShiftSummary.add_member(:practice_run_outcome, Shapes::ShapeRef.new(shape: PracticeRunOutcome, location_name: "practiceRunOutcome")) ZonalShiftSummary.add_member(:resource_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "resourceIdentifier")) ZonalShiftSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, required: true, location_name: "startTime")) ZonalShiftSummary.add_member(:status, Shapes::ShapeRef.new(shape: ZonalShiftStatus, required: true, location_name: "status")) @@ -190,6 +309,34 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) end) + api.add_operation(:create_practice_run_configuration, Seahorse::Model::Operation.new.tap do |o| + o.name = "CreatePracticeRunConfiguration" + o.http_method = "POST" + o.http_request_uri = "/configuration" + o.input = Shapes::ShapeRef.new(shape: CreatePracticeRunConfigurationRequest) + o.output = Shapes::ShapeRef.new(shape: CreatePracticeRunConfigurationResponse) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + end) + + api.add_operation(:delete_practice_run_configuration, Seahorse::Model::Operation.new.tap do |o| + o.name = "DeletePracticeRunConfiguration" + o.http_method = "DELETE" + o.http_request_uri = "/configuration/{resourceIdentifier}" + o.input = Shapes::ShapeRef.new(shape: DeletePracticeRunConfigurationRequest) + o.output = Shapes::ShapeRef.new(shape: DeletePracticeRunConfigurationResponse) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + end) + api.add_operation(:get_managed_resource, Seahorse::Model::Operation.new.tap do |o| o.name = "GetManagedResource" o.http_method = "GET" @@ -203,6 +350,24 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) end) + api.add_operation(:list_autoshifts, Seahorse::Model::Operation.new.tap do |o| + o.name = "ListAutoshifts" + o.http_method = "GET" + o.http_request_uri = "/autoshifts" + o.input = Shapes::ShapeRef.new(shape: ListAutoshiftsRequest) + o.output = Shapes::ShapeRef.new(shape: ListAutoshiftsResponse) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + o[:pager] = Aws::Pager.new( + limit_key: "max_results", + tokens: { + "next_token" => "next_token" + } + ) + end) + api.add_operation(:list_managed_resources, Seahorse::Model::Operation.new.tap do |o| o.name = "ListManagedResources" o.http_method = "GET" @@ -253,6 +418,34 @@ module ClientApi o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) end) + api.add_operation(:update_practice_run_configuration, Seahorse::Model::Operation.new.tap do |o| + o.name = "UpdatePracticeRunConfiguration" + o.http_method = "PATCH" + o.http_request_uri = "/configuration/{resourceIdentifier}" + o.input = Shapes::ShapeRef.new(shape: UpdatePracticeRunConfigurationRequest) + o.output = Shapes::ShapeRef.new(shape: UpdatePracticeRunConfigurationResponse) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + end) + + api.add_operation(:update_zonal_autoshift_configuration, Seahorse::Model::Operation.new.tap do |o| + o.name = "UpdateZonalAutoshiftConfiguration" + o.http_method = "PUT" + o.http_request_uri = "/managedresources/{resourceIdentifier}" + o.input = Shapes::ShapeRef.new(shape: UpdateZonalAutoshiftConfigurationRequest) + o.output = Shapes::ShapeRef.new(shape: UpdateZonalAutoshiftConfigurationResponse) + o.errors << Shapes::ShapeRef.new(shape: InternalServerException) + o.errors << Shapes::ShapeRef.new(shape: ConflictException) + o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) + o.errors << Shapes::ShapeRef.new(shape: ValidationException) + o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException) + end) + api.add_operation(:update_zonal_shift, Seahorse::Model::Operation.new.tap do |o| o.name = "UpdateZonalShift" o.http_method = "PATCH" diff --git a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/endpoint_provider.rb b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/endpoint_provider.rb index 87149809725..1f4d9018fee 100644 --- a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/endpoint_provider.rb +++ b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/endpoint_provider.rb @@ -32,7 +32,7 @@ def resolve_endpoint(parameters) raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both" end if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) - if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) + if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true) return Aws::Endpoints::Endpoint.new(url: "https://arc-zonal-shift-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) end raise ArgumentError, "FIPS is enabled but this partition does not support FIPS" diff --git a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/endpoints.rb b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/endpoints.rb index 22c7badc40a..eedb92897f3 100644 --- a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/endpoints.rb +++ b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/endpoints.rb @@ -26,6 +26,34 @@ def self.build(context) end end + class CreatePracticeRunConfiguration + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::ARCZonalShift::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + + class DeletePracticeRunConfiguration + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::ARCZonalShift::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class GetManagedResource def self.build(context) unless context.config.regional_endpoint @@ -40,6 +68,20 @@ def self.build(context) end end + class ListAutoshifts + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::ARCZonalShift::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class ListManagedResources def self.build(context) unless context.config.regional_endpoint @@ -82,6 +124,34 @@ def self.build(context) end end + class UpdatePracticeRunConfiguration + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::ARCZonalShift::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + + class UpdateZonalAutoshiftConfiguration + def self.build(context) + unless context.config.regional_endpoint + endpoint = context.config.endpoint.to_s + end + Aws::ARCZonalShift::EndpointParameters.new( + region: context.config.region, + use_dual_stack: context.config.use_dualstack_endpoint, + use_fips: context.config.use_fips_endpoint, + endpoint: endpoint, + ) + end + end + class UpdateZonalShift def self.build(context) unless context.config.regional_endpoint diff --git a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/plugins/endpoints.rb b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/plugins/endpoints.rb index 9a31d82e556..262d01c191e 100644 --- a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/plugins/endpoints.rb +++ b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/plugins/endpoints.rb @@ -59,14 +59,24 @@ def parameters_for_operation(context) case context.operation_name when :cancel_zonal_shift Aws::ARCZonalShift::Endpoints::CancelZonalShift.build(context) + when :create_practice_run_configuration + Aws::ARCZonalShift::Endpoints::CreatePracticeRunConfiguration.build(context) + when :delete_practice_run_configuration + Aws::ARCZonalShift::Endpoints::DeletePracticeRunConfiguration.build(context) when :get_managed_resource Aws::ARCZonalShift::Endpoints::GetManagedResource.build(context) + when :list_autoshifts + Aws::ARCZonalShift::Endpoints::ListAutoshifts.build(context) when :list_managed_resources Aws::ARCZonalShift::Endpoints::ListManagedResources.build(context) when :list_zonal_shifts Aws::ARCZonalShift::Endpoints::ListZonalShifts.build(context) when :start_zonal_shift Aws::ARCZonalShift::Endpoints::StartZonalShift.build(context) + when :update_practice_run_configuration + Aws::ARCZonalShift::Endpoints::UpdatePracticeRunConfiguration.build(context) + when :update_zonal_autoshift_configuration + Aws::ARCZonalShift::Endpoints::UpdateZonalAutoshiftConfiguration.build(context) when :update_zonal_shift Aws::ARCZonalShift::Endpoints::UpdateZonalShift.build(context) end diff --git a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/types.rb b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/types.rb index 5fc8d0682b7..c25abb198bf 100644 --- a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/types.rb +++ b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/types.rb @@ -23,6 +23,114 @@ class AccessDeniedException < Struct.new( include Aws::Structure end + # A complex structure that lists an autoshift that is currently active + # for a managed resource and information about the autoshift. + # + # For more information, see [How zonal autoshift and practice runs + # work][1] in the Amazon Route 53 Application Recovery Controller + # Developer Guide. + # + # + # + # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html + # + # @!attribute [rw] applied_status + # The `appliedStatus` field specifies which application traffic shift + # is in effect for a resource when there is more than one traffic + # shift active. There can be more than one application traffic shift + # in progress at the same time - that is, practice run zonal shifts, + # customer-started zonal shifts, or an autoshift. The `appliedStatus` + # field for an autoshift for a resource can have one of two values: + # `APPLIED` or `NOT_APPLIED`. The zonal shift or autoshift that is + # currently in effect for the resource has an applied status set to + # `APPLIED`. + # + # The overall principle for precedence is that zonal shifts that you + # start as a customer take precedence autoshifts, which take + # precedence over practice runs. That is, customer-started zonal + # shifts > autoshifts > practice run zonal shifts. + # + # For more information, see [How zonal autoshift and practice runs + # work][1] in the Amazon Route 53 Application Recovery Controller + # Developer Guide. + # + # + # + # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html + # @return [String] + # + # @!attribute [rw] away_from + # The Availability Zone that traffic is shifted away from for a + # resource, when Amazon Web Services starts an autoshift. Until the + # autoshift ends, traffic for the resource is instead directed to + # other Availability Zones in the Amazon Web Services Region. An + # autoshift can end for a resource, for example, when Amazon Web + # Services ends the autoshift for the Availability Zone or when you + # disable zonal autoshift for the resource. + # @return [String] + # + # @!attribute [rw] start_time + # The time (UTC) when the autoshift started. + # @return [Time] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/AutoshiftInResource AWS API Documentation + # + class AutoshiftInResource < Struct.new( + :applied_status, + :away_from, + :start_time) + SENSITIVE = [] + include Aws::Structure + end + + # Information about an autoshift. Amazon Web Services starts an + # autoshift to temporarily move traffic for a resource away from an + # Availability Zone in an Amazon Web Services Region when Amazon Web + # Services determines that there's an issue in the Availability Zone + # that could potentially affect customers. You can configure zonal + # autoshift in Route 53 ARC for managed resources in your Amazon Web + # Services account in a Region. Supported Amazon Web Services resources + # are automatically registered with Route 53 ARC. + # + # Autoshifts are temporary. When the Availability Zone recovers, Amazon + # Web Services ends the autoshift, and traffic for the resource is no + # longer directed to the other Availability Zones in the Region. + # + # You can stop an autoshift for a resource by disabling zonal autoshift. + # + # @!attribute [rw] away_from + # The Availability Zone that traffic is shifted away from for a + # resource when Amazon Web Services starts an autoshift. Until the + # autoshift ends, traffic for the resource is instead directed to + # other Availability Zones in the Amazon Web Services Region. An + # autoshift can end for a resource, for example, when Amazon Web + # Services ends the autoshift for the Availability Zone or when you + # disable zonal autoshift for the resource. + # @return [String] + # + # @!attribute [rw] end_time + # The time (in UTC) when the autoshift ended. + # @return [Time] + # + # @!attribute [rw] start_time + # The time (in UTC) when the autoshift started. + # @return [Time] + # + # @!attribute [rw] status + # The status for an autoshift. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/AutoshiftSummary AWS API Documentation + # + class AutoshiftSummary < Struct.new( + :away_from, + :end_time, + :start_time, + :status) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] zonal_shift_id # The internally-generated identifier of a zonal shift. # @return [String] @@ -59,13 +167,196 @@ class ConflictException < Struct.new( include Aws::Structure end + # A control condition is an alarm that you specify for a practice run. + # When you configure practice runs with zonal autoshift for a resource, + # you specify Amazon CloudWatch alarms, which you create in CloudWatch + # to use with the practice run. The alarms that you specify are an + # *outcome alarm*, to monitor application health during practice runs + # and, optionally, a *blocking alarm*, to block practice runs from + # starting. + # + # Control condition alarms do not apply for autoshifts. + # + # For more information, see [ Considerations when you configure zonal + # autoshift][1] in the Amazon Route 53 Application Recovery Controller + # Developer Guide. + # + # + # + # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.considerations.html + # + # @!attribute [rw] alarm_identifier + # The Amazon Resource Name (ARN) for the Amazon CloudWatch alarm that + # you specify as a control condition for a practice run. + # @return [String] + # + # @!attribute [rw] type + # The type of alarm specified for a practice run. The only valid value + # is `CLOUDWATCH`. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/ControlCondition AWS API Documentation + # + class ControlCondition < Struct.new( + :alarm_identifier, + :type) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] blocked_dates + # Optionally, you can block Route 53 ARC from starting practice runs + # for a resource on specific calendar dates. + # + # The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you + # specify dates, that dates and times for practice runs are in UTC. + # Separate multiple blocked dates with spaces. + # + # For example, if you have an application update scheduled to launch + # on May 1, 2024, and you don't want practice runs to shift traffic + # away at that time, you could set a blocked date for `2024-05-01`. + # @return [Array] + # + # @!attribute [rw] blocked_windows + # Optionally, you can block Route 53 ARC from starting practice runs + # for specific windows of days and times. + # + # The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in + # mind, when you specify dates, that dates and times for practice runs + # are in UTC. Also, be aware of potential time adjustments that might + # be required for daylight saving time differences. Separate multiple + # blocked windows with spaces. + # + # For example, say you run business report summaries three days a + # week. For this scenario, you might set the following recurring days + # and times as blocked windows, for example: `MON-20:30-21:30 + # WED-20:30-21:30 FRI-20:30-21:30`. + # @return [Array] + # + # @!attribute [rw] blocking_alarms + # An Amazon CloudWatch alarm that you can specify for zonal autoshift + # practice runs. This alarm blocks Route 53 ARC from starting practice + # run zonal shifts, and ends a practice run that's in progress, when + # the alarm is in an `ALARM` state. + # @return [Array] + # + # @!attribute [rw] outcome_alarms + # The *outcome alarm* for practice runs is a required Amazon + # CloudWatch alarm that you specify that ends a practice run when the + # alarm is in an `ALARM` state. + # + # Configure the alarm to monitor the health of your application when + # traffic is shifted away from an Availability Zone during each weekly + # practice run. You should configure the alarm to go into an `ALARM` + # state if your application is impacted by the zonal shift, and you + # want to stop the zonal shift, to let traffic for the resource return + # to the Availability Zone. + # @return [Array] + # # @!attribute [rw] resource_identifier - # The identifier for the resource to include in a zonal shift. The + # The identifier of the resource to shift away traffic for when a + # practice run starts a zonal shift. The identifier is the Amazon + # Resource Name (ARN) for the resource. + # + # At this time, supported resources are Network Load Balancers and + # Application Load Balancers with cross-zone load balancing turned + # off. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/CreatePracticeRunConfigurationRequest AWS API Documentation + # + class CreatePracticeRunConfigurationRequest < Struct.new( + :blocked_dates, + :blocked_windows, + :blocking_alarms, + :outcome_alarms, + :resource_identifier) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] arn + # The Amazon Resource Name (ARN) of the resource that you configured + # the practice run for. + # @return [String] + # + # @!attribute [rw] name + # The name of the resource that you configured the practice run for. + # @return [String] + # + # @!attribute [rw] practice_run_configuration + # A practice run configuration for a resource. Configurations include + # the outcome alarm that you specify for practice runs, and, + # optionally, a blocking alarm and blocking dates and windows. + # @return [Types::PracticeRunConfiguration] + # + # @!attribute [rw] zonal_autoshift_status + # The status for zonal autoshift for a resource. When you specify the + # autoshift status as `ENABLED`, Amazon Web Services shifts traffic + # away from shifts away application resource traffic from an + # Availability Zone, on your behalf, when Amazon Web Services + # determines that there's an issue in the Availability Zone that + # could potentially affect customers. + # + # When you enable zonal autoshift, you must also configure practice + # runs for the resource. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/CreatePracticeRunConfigurationResponse AWS API Documentation + # + class CreatePracticeRunConfigurationResponse < Struct.new( + :arn, + :name, + :practice_run_configuration, + :zonal_autoshift_status) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] resource_identifier + # The identifier for the resource that you want to delete the practice + # run configuration for. The identifier is the Amazon Resource Name + # (ARN) for the resource. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/DeletePracticeRunConfigurationRequest AWS API Documentation + # + class DeletePracticeRunConfigurationRequest < Struct.new( + :resource_identifier) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] arn + # The Amazon Resource Name (ARN) of the resource that you deleted the + # practice run for. + # @return [String] + # + # @!attribute [rw] name + # The name of the resource that you deleted the practice run for. + # @return [String] + # + # @!attribute [rw] zonal_autoshift_status + # The status of zonal autoshift for the resource. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/DeletePracticeRunConfigurationResponse AWS API Documentation + # + class DeletePracticeRunConfigurationResponse < Struct.new( + :arn, + :name, + :zonal_autoshift_status) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] resource_identifier + # The identifier for the resource to shift away traffic for. The # identifier is the Amazon Resource Name (ARN) for the resource. # - # At this time, you can only start a zonal shift for Network Load - # Balancers and Application Load Balancers with cross-zone load - # balancing turned off. + # At this time, supported resources are Network Load Balancers and + # Application Load Balancers with cross-zone load balancing turned + # off. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/GetManagedResourceRequest AWS API Documentation @@ -87,10 +378,27 @@ class GetManagedResourceRequest < Struct.new( # The Amazon Resource Name (ARN) for the resource. # @return [String] # + # @!attribute [rw] autoshifts + # An array of the autoshifts that are active for the resource. + # @return [Array] + # # @!attribute [rw] name # The name of the resource. # @return [String] # + # @!attribute [rw] practice_run_configuration + # The practice run configuration for zonal autoshift that's + # associated with the resource. + # @return [Types::PracticeRunConfiguration] + # + # @!attribute [rw] zonal_autoshift_status + # The status for zonal autoshift for a resource. When the autoshift + # status is `ENABLED`, Amazon Web Services shifts traffic for a + # resource away from an Availability Zone, on your behalf, when Amazon + # Web Services determines that there's an issue in the Availability + # Zone that could potentially affect customers. + # @return [String] + # # @!attribute [rw] zonal_shifts # The zonal shifts that are currently active for a resource. # @return [Array] @@ -100,7 +408,10 @@ class GetManagedResourceRequest < Struct.new( class GetManagedResourceResponse < Struct.new( :applied_weights, :arn, + :autoshifts, :name, + :practice_run_configuration, + :zonal_autoshift_status, :zonal_shifts) SENSITIVE = [] include Aws::Structure @@ -119,6 +430,53 @@ class InternalServerException < Struct.new( include Aws::Structure end + # @!attribute [rw] max_results + # The number of objects that you want to return with this call. + # @return [Integer] + # + # @!attribute [rw] next_token + # Specifies that you want to receive the next page of results. Valid + # only if you received a `NextToken` response in the previous request. + # If you did, it indicates that more output is available. Set this + # parameter to the value provided by the previous call's `NextToken` + # response to request the next page of results. + # @return [String] + # + # @!attribute [rw] status + # The status of the autoshift. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/ListAutoshiftsRequest AWS API Documentation + # + class ListAutoshiftsRequest < Struct.new( + :max_results, + :next_token, + :status) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] items + # The items in the response list. + # @return [Array] + # + # @!attribute [rw] next_token + # Specifies that you want to receive the next page of results. Valid + # only if you received a `NextToken` response in the previous request. + # If you did, it indicates that more output is available. Set this + # parameter to the value provided by the previous call's `NextToken` + # response to request the next page of results. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/ListAutoshiftsResponse AWS API Documentation + # + class ListAutoshiftsResponse < Struct.new( + :items, + :next_token) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] max_results # The number of objects that you want to return with this call. # @return [Integer] @@ -173,12 +531,18 @@ class ListManagedResourcesResponse < Struct.new( # response to request the next page of results. # @return [String] # + # @!attribute [rw] resource_identifier + # The identifier for the resource that you want to list zonal shifts + # for. The identifier is the Amazon Resource Name (ARN) for the + # resource. + # @return [String] + # # @!attribute [rw] status # A status for a zonal shift. # # The `Status` for a zonal shift can have one of the following values: # - # * **ACTIVE**: The zonal shift is started and active. + # * **ACTIVE**: The zonal shift has been started and active. # # * **EXPIRED**: The zonal shift has expired (the expiry time was # exceeded). @@ -191,6 +555,7 @@ class ListManagedResourcesResponse < Struct.new( class ListZonalShiftsRequest < Struct.new( :max_results, :next_token, + :resource_identifier, :status) SENSITIVE = [] include Aws::Structure @@ -217,24 +582,35 @@ class ListZonalShiftsResponse < Struct.new( include Aws::Structure end - # A complex structure for a managed resource in an account. + # A complex structure for a managed resource in an Amazon Web Services + # account with information about zonal shifts and autoshifts. # - # A managed resource is a Network Load Balancer or Application Load - # Balancer that has been registered with Route 53 ARC by Elastic Load - # Balancing. You can start a zonal shift in Route 53 ARC for a managed - # resource to temporarily move traffic for the resource away from an - # Availability Zone in an AWS Region. + # A managed resource is a load balancer that has been registered with + # Route 53 ARC by Elastic Load Balancing. You can start a zonal shift in + # Route 53 ARC for a managed resource to temporarily move traffic for + # the resource away from an Availability Zone in an Amazon Web Services + # Region. You can also configure zonal autoshift for a managed resource. # - # At this time, you can only start a zonal shift for Network Load - # Balancers and Application Load Balancers with cross-zone load - # balancing turned off. + # At this time, managed resources are Network Load Balancers and + # Application Load Balancers with cross-zone load balancing turned off. # # # + # @!attribute [rw] applied_weights + # A collection of key-value pairs that indicate whether resources are + # active in Availability Zones or not. The key name is the + # Availability Zone where the resource is deployed. The value is 1 or + # 0. + # @return [Hash] + # # @!attribute [rw] arn # The Amazon Resource Name (ARN) for the managed resource. # @return [String] # + # @!attribute [rw] autoshifts + # An array of the autoshifts that have been completed for a resource. + # @return [Array] + # # @!attribute [rw] availability_zones # The Availability Zones that a resource is deployed in. # @return [Array] @@ -243,12 +619,87 @@ class ListZonalShiftsResponse < Struct.new( # The name of the managed resource. # @return [String] # + # @!attribute [rw] practice_run_status + # This status tracks whether a practice run configuration exists for a + # resource. When you configure a practice run for a resource so that a + # practice run configuration exists, Route 53 ARC sets this value to + # `ENABLED`. If a you have not configured a practice run for the + # resource, or delete a practice run configuration, Route 53 ARC sets + # the value to `DISABLED`. + # + # Route 53 ARC updates this status; you can't set a practice run + # status to `ENABLED` or `DISABLED`. + # @return [String] + # + # @!attribute [rw] zonal_autoshift_status + # The status of autoshift for a resource. When you configure zonal + # autoshift for a resource, you can set the value of the status to + # `ENABLED` or `DISABLED`. + # @return [String] + # + # @!attribute [rw] zonal_shifts + # An array of the zonal shifts for a resource. + # @return [Array] + # # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/ManagedResourceSummary AWS API Documentation # class ManagedResourceSummary < Struct.new( + :applied_weights, :arn, + :autoshifts, :availability_zones, - :name) + :name, + :practice_run_status, + :zonal_autoshift_status, + :zonal_shifts) + SENSITIVE = [] + include Aws::Structure + end + + # A practice run configuration for a resource includes the Amazon + # CloudWatch alarms that you've specified for a practice run, as well + # as any blocked dates or blocked windows for the practice run. + # + # You can update or delete a practice run configuration. Before you + # delete a practice run configuration, you must disable zonal autoshift + # for the resource. A practice run configuration is required when zonal + # autoshift is enabled. + # + # @!attribute [rw] blocked_dates + # An array of one or more dates that you can specify when Amazon Web + # Services does not start practice runs for a resource. + # + # Specify blocked dates, in UTC, in the format `YYYY-MM-DD`, separated + # by spaces. + # @return [Array] + # + # @!attribute [rw] blocked_windows + # An array of one or more windows of days and times that you can block + # Route 53 ARC from starting practice runs for a resource. + # + # Specify the blocked windows in UTC, using the format + # `DAY:HH:MM-DAY:HH:MM`, separated by spaces. For example, + # `MON:18:30-MON:19:30 TUE:18:30-TUE:19:30`. + # @return [Array] + # + # @!attribute [rw] blocking_alarms + # The *blocking alarm* for practice runs is an optional alarm that you + # can specify that blocks practice runs when the alarm is in an + # `ALARM` state. + # @return [Array] + # + # @!attribute [rw] outcome_alarms + # The *outcome alarm* for practice runs is an alarm that you specify + # that ends a practice run when the alarm is in an `ALARM` state. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/PracticeRunConfiguration AWS API Documentation + # + class PracticeRunConfiguration < Struct.new( + :blocked_dates, + :blocked_windows, + :blocking_alarms, + :outcome_alarms) SENSITIVE = [] include Aws::Structure end @@ -270,7 +721,7 @@ class ResourceNotFoundException < Struct.new( # The Availability Zone that traffic is moved away from for a resource # when you start a zonal shift. Until the zonal shift expires or you # cancel it, traffic for the resource is instead moved to other - # Availability Zones in the AWS Region. + # Availability Zones in the Amazon Web Services Region. # @return [String] # # @!attribute [rw] comment @@ -293,16 +744,21 @@ class ResourceNotFoundException < Struct.new( # To set a length of time for a zonal shift to be active, specify a # whole number, and then one of the following, with no space: # - #
  • A lowercase letter m: To specify that the value is in minutes.

  • A lowercase letter h: To specify that the value is in hours.

For example: 20h means the zonal shift expires in 20 hours. 120m means the zonal shift expires in 120 minutes (2 hours).

+ # * **A lowercase letter m:** To specify that the value is in minutes. + # + # * **A lowercase letter h:** To specify that the value is in hours. + # + # For example: `20h` means the zonal shift expires in 20 hours. `120m` + # means the zonal shift expires in 120 minutes (2 hours). # @return [String] # # @!attribute [rw] resource_identifier - # The identifier for the resource to include in a zonal shift. The + # The identifier for the resource to shift away traffic for. The # identifier is the Amazon Resource Name (ARN) for the resource. # - # At this time, you can only start a zonal shift for Network Load - # Balancers and Application Load Balancers with cross-zone load - # balancing turned off. + # At this time, supported resources are Network Load Balancers and + # Application Load Balancers with cross-zone load balancing turned + # off. # @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/StartZonalShiftRequest AWS API Documentation @@ -329,6 +785,134 @@ class ThrottlingException < Struct.new( include Aws::Structure end + # @!attribute [rw] blocked_dates + # Add, change, or remove blocked dates for a practice run in zonal + # autoshift. + # + # Optionally, you can block practice runs for specific calendar dates. + # The format for blocked dates is: YYYY-MM-DD. Keep in mind, when you + # specify dates, that dates and times for practice runs are in UTC. + # Separate multiple blocked dates with spaces. + # + # For example, if you have an application update scheduled to launch + # on May 1, 2024, and you don't want practice runs to shift traffic + # away at that time, you could set a blocked date for `2024-05-01`. + # @return [Array] + # + # @!attribute [rw] blocked_windows + # Add, change, or remove windows of days and times for when you can, + # optionally, block Route 53 ARC from starting a practice run for a + # resource. + # + # The format for blocked windows is: DAY:HH:SS-DAY:HH:SS. Keep in + # mind, when you specify dates, that dates and times for practice runs + # are in UTC. Also, be aware of potential time adjustments that might + # be required for daylight saving time differences. Separate multiple + # blocked windows with spaces. + # + # For example, say you run business report summaries three days a + # week. For this scenario, you might set the following recurring days + # and times as blocked windows, for example: `MON-20:30-21:30 + # WED-20:30-21:30 FRI-20:30-21:30`. + # @return [Array] + # + # @!attribute [rw] blocking_alarms + # Add, change, or remove the Amazon CloudWatch alarm that you + # optionally specify as the blocking alarm for practice runs. + # @return [Array] + # + # @!attribute [rw] outcome_alarms + # Specify a new the Amazon CloudWatch alarm as the outcome alarm for + # practice runs. + # @return [Array] + # + # @!attribute [rw] resource_identifier + # The identifier for the resource that you want to update the practice + # run configuration for. The identifier is the Amazon Resource Name + # (ARN) for the resource. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdatePracticeRunConfigurationRequest AWS API Documentation + # + class UpdatePracticeRunConfigurationRequest < Struct.new( + :blocked_dates, + :blocked_windows, + :blocking_alarms, + :outcome_alarms, + :resource_identifier) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] arn + # The Amazon Resource Name (ARN) of the resource that you updated the + # practice run for. + # @return [String] + # + # @!attribute [rw] name + # The name of the resource that you updated the practice run for. + # @return [String] + # + # @!attribute [rw] practice_run_configuration + # The practice run configuration that was updated. + # @return [Types::PracticeRunConfiguration] + # + # @!attribute [rw] zonal_autoshift_status + # The zonal autoshift status for the resource that you updated the + # practice run for. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdatePracticeRunConfigurationResponse AWS API Documentation + # + class UpdatePracticeRunConfigurationResponse < Struct.new( + :arn, + :name, + :practice_run_configuration, + :zonal_autoshift_status) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] resource_identifier + # The identifier for the resource that you want to update the zonal + # autoshift configuration for. The identifier is the Amazon Resource + # Name (ARN) for the resource. + # @return [String] + # + # @!attribute [rw] zonal_autoshift_status + # The zonal autoshift status for the resource that you want to update + # the zonal autoshift configuration for. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdateZonalAutoshiftConfigurationRequest AWS API Documentation + # + class UpdateZonalAutoshiftConfigurationRequest < Struct.new( + :resource_identifier, + :zonal_autoshift_status) + SENSITIVE = [] + include Aws::Structure + end + + # @!attribute [rw] resource_identifier + # The identifier for the resource that you updated the zonal autoshift + # configuration for. The identifier is the Amazon Resource Name (ARN) + # for the resource. + # @return [String] + # + # @!attribute [rw] zonal_autoshift_status + # The zonal autoshift status for the resource that you updated the + # zonal autoshift configuration for. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/arc-zonal-shift-2022-10-30/UpdateZonalAutoshiftConfigurationResponse AWS API Documentation + # + class UpdateZonalAutoshiftConfigurationResponse < Struct.new( + :resource_identifier, + :zonal_autoshift_status) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] comment # A comment that you enter about the zonal shift. Only the latest # comment is retained; no comment history is maintained. A new comment @@ -371,8 +955,8 @@ class UpdateZonalShiftRequest < Struct.new( include Aws::Structure end - # The input fails to satisfy the constraints specified by an AWS - # service. + # The input fails to satisfy the constraints specified by an Amazon Web + # Services service. # # @!attribute [rw] message # @return [String] @@ -394,7 +978,7 @@ class ValidationException < Struct.new( # The Availability Zone that traffic is moved away from for a resource # when you start a zonal shift. Until the zonal shift expires or you # cancel it, traffic for the resource is instead moved to other - # Availability Zones in the AWS Region. + # Availability Zones in the Amazon Web Services Region. # @return [String] # # @!attribute [rw] comment @@ -404,30 +988,31 @@ class ValidationException < Struct.new( # @return [String] # # @!attribute [rw] expiry_time - # The expiry time (expiration time) for the zonal shift. A zonal shift - # is temporary and must be set to expire when you start the zonal - # shift. You can initially set a zonal shift to expire in a maximum of - # three days (72 hours). However, you can update a zonal shift to set - # a new expiration at any time. + # The expiry time (expiration time) for a customer-started zonal + # shift. A zonal shift is temporary and must be set to expire when you + # start the zonal shift. You can initially set a zonal shift to expire + # in a maximum of three days (72 hours). However, you can update a + # zonal shift to set a new expiration at any time. # # When you start a zonal shift, you specify how long you want it to be # active, which Route 53 ARC converts to an expiry time (expiration - # time). You can cancel a zonal shift, for example, if you're ready - # to restore traffic to the Availability Zone. Or you can update the - # zonal shift to specify another length of time to expire in. + # time). You can cancel a zonal shift when you're ready to restore + # traffic to the Availability Zone, or just wait for it to expire. Or + # you can update the zonal shift to specify another length of time to + # expire in. # @return [Time] # # @!attribute [rw] resource_identifier - # The identifier for the resource to include in a zonal shift. The + # The identifier for the resource to shift away traffic for. The # identifier is the Amazon Resource Name (ARN) for the resource. # - # At this time, you can only start a zonal shift for Network Load - # Balancers and Application Load Balancers with cross-zone load - # balancing turned off. + # At this time, supported resources are Network Load Balancers and + # Application Load Balancers with cross-zone load balancing turned + # off. # @return [String] # # @!attribute [rw] start_time - # The time (UTC) when the zonal shift is started. + # The time (UTC) when the zonal shift starts. # @return [Time] # # @!attribute [rw] status @@ -435,7 +1020,7 @@ class ValidationException < Struct.new( # # The `Status` for a zonal shift can have one of the following values: # - # * **ACTIVE:** The zonal shift is started and active. + # * **ACTIVE:** The zonal shift has been started and active. # # * **EXPIRED:** The zonal shift has expired (the expiry time was # exceeded). @@ -465,15 +1050,35 @@ class ZonalShift < Struct.new( # and their statuses for the resource. # # @!attribute [rw] applied_status - # An `appliedStatus` for a zonal shift for a resource can have one of - # two values: `APPLIED` or `NOT_APPLIED`. + # The `appliedStatus` field specifies which application traffic shift + # is in effect for a resource when there is more than one traffic + # shift active. There can be more than one application traffic shift + # in progress at the same time - that is, practice run zonal shifts, + # customer-started zonal shifts, or an autoshift. The `appliedStatus` + # field for an autoshift for a resource can have one of two values: + # `APPLIED` or `NOT_APPLIED`. The zonal shift or autoshift that is + # currently in effect for the resource has an applied status set to + # `APPLIED`. + # + # The overall principle for precedence is that zonal shifts that you + # start as a customer take precedence autoshifts, which take + # precedence over practice runs. That is, customer-started zonal + # shifts > autoshifts > practice run zonal shifts. + # + # For more information, see [How zonal autoshift and practice runs + # work][1] in the Amazon Route 53 Application Recovery Controller + # Developer Guide. + # + # + # + # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.how-it-works.html # @return [String] # # @!attribute [rw] away_from # The Availability Zone that traffic is moved away from for a resource # when you start a zonal shift. Until the zonal shift expires or you # cancel it, traffic for the resource is instead moved to other - # Availability Zones in the AWS Region. + # Availability Zones in the Amazon Web Services Region. # @return [String] # # @!attribute [rw] comment @@ -483,19 +1088,50 @@ class ZonalShift < Struct.new( # @return [String] # # @!attribute [rw] expiry_time - # The expiry time (expiration time) for the zonal shift. A zonal shift - # is temporary and must be set to expire when you start the zonal - # shift. You can initially set a zonal shift to expire in a maximum of - # three days (72 hours). However, you can update a zonal shift to set - # a new expiration at any time. + # The expiry time (expiration time) for a customer-started zonal + # shift. A zonal shift is temporary and must be set to expire when you + # start the zonal shift. You can initially set a zonal shift to expire + # in a maximum of three days (72 hours). However, you can update a + # zonal shift to set a new expiration at any time. # # When you start a zonal shift, you specify how long you want it to be # active, which Route 53 ARC converts to an expiry time (expiration - # time). You can cancel a zonal shift, for example, if you're ready - # to restore traffic to the Availability Zone. Or you can update the - # zonal shift to specify another length of time to expire in. + # time). You can cancel a zonal shift when you're ready to restore + # traffic to the Availability Zone, or just wait for it to expire. Or + # you can update the zonal shift to specify another length of time to + # expire in. # @return [Time] # + # @!attribute [rw] practice_run_outcome + # The outcome, or end state, returned for a practice run. The + # following values can be returned: + # + # * **PENDING:** Outcome value when a practice run is in progress. + # + # * **SUCCEEDED:** Outcome value when the outcome alarm specified for + # the practice run configuration does not go into an `ALARM` state + # during the practice run, and the practice run was not interrupted + # before it completed the expected 30 minute zonal shift. + # + # * **INTERRUPTED:** Outcome value when the practice run was stopped + # before the expected 30 minute zonal shift duration, or there was + # another problem with the practice run that created an inconclusive + # outcome. + # + # * **FAILED:** Outcome value when the outcome alarm specified for the + # practice run configuration goes into an `ALARM` state during the + # practice run, and the practice run was not interrupted before it + # completed. + # + # For more information about practice run outcomes, see [ + # Considerations when you configure zonal autoshift][1] in the Amazon + # Route 53 Application Recovery Controller Developer Guide. + # + # + # + # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.configure.html + # @return [String] + # # @!attribute [rw] resource_identifier # The identifier for the resource to include in a zonal shift. The # identifier is the Amazon Resource Name (ARN) for the resource. @@ -506,7 +1142,7 @@ class ZonalShift < Struct.new( # @return [String] # # @!attribute [rw] start_time - # The time (UTC) when the zonal shift is started. + # The time (UTC) when the zonal shift starts. # @return [Time] # # @!attribute [rw] zonal_shift_id @@ -520,6 +1156,7 @@ class ZonalShiftInResource < Struct.new( :away_from, :comment, :expiry_time, + :practice_run_outcome, :resource_identifier, :start_time, :zonal_shift_id) @@ -527,29 +1164,22 @@ class ZonalShiftInResource < Struct.new( include Aws::Structure end - # You start a zonal shift to temporarily move load balancer traffic away - # from an Availability Zone in a AWS Region. A zonal shift helps your - # application recover immediately, for example, from a developer's bad - # code deployment or from an AWS infrastructure failure in a single - # Availability Zone. You can start a zonal shift in Route 53 ARC only - # for managed resources in your account in an AWS Region. Supported AWS - # resources are automatically registered with Route 53 ARC. + # Lists information about zonal shifts in Amazon Route 53 Application + # Recovery Controller, including zonal shifts that you start yourself + # and zonal shifts that Route 53 ARC starts on your behalf for practice + # runs with zonal autoshift. # - # Zonal shifts are temporary. A zonal shift can be active for up to - # three days (72 hours). - # - # When you start a zonal shift, you specify how long you want it to be - # active, which Amazon Route 53 Application Recovery Controller converts - # to an expiry time (expiration time). You can cancel a zonal shift, for - # example, if you're ready to restore traffic to the Availability Zone. - # Or you can extend the zonal shift by updating the expiration so the - # zonal shift is active longer. + # Zonal shifts are temporary, including customer-started zonal shifts + # and the zonal autoshift practice run zonal shifts that Route 53 ARC + # starts weekly, on your behalf. A zonal shift that a customer starts + # can be active for up to three days (72 hours). A practice run zonal + # shift has a 30 minute duration. # # @!attribute [rw] away_from # The Availability Zone that traffic is moved away from for a resource # when you start a zonal shift. Until the zonal shift expires or you # cancel it, traffic for the resource is instead moved to other - # Availability Zones in the AWS Region. + # Availability Zones in the Amazon Web Services Region. # @return [String] # # @!attribute [rw] comment @@ -559,19 +1189,49 @@ class ZonalShiftInResource < Struct.new( # @return [String] # # @!attribute [rw] expiry_time - # The expiry time (expiration time) for the zonal shift. A zonal shift - # is temporary and must be set to expire when you start the zonal - # shift. You can initially set a zonal shift to expire in a maximum of - # three days (72 hours). However, you can update a zonal shift to set - # a new expiration at any time. + # The expiry time (expiration time) for a customer-started zonal + # shift. A zonal shift is temporary and must be set to expire when you + # start the zonal shift. You can initially set a zonal shift to expire + # in a maximum of three days (72 hours). However, you can update a + # zonal shift to set a new expiration at any time. # # When you start a zonal shift, you specify how long you want it to be # active, which Route 53 ARC converts to an expiry time (expiration - # time). You can cancel a zonal shift, for example, if you're ready - # to restore traffic to the Availability Zone. Or you can update the - # zonal shift to specify another length of time to expire in. + # time). You can cancel a zonal shift when you're ready to restore + # traffic to the Availability Zone, or just wait for it to expire. Or + # you can update the zonal shift to specify another length of time to + # expire in. # @return [Time] # + # @!attribute [rw] practice_run_outcome + # The outcome, or end state, of a practice run. The following values + # can be returned: + # + # * **PENDING:** Outcome value when the practice run is in progress. + # + # * **SUCCEEDED:** Outcome value when the outcome alarm specified for + # the practice run configuration does not go into an `ALARM` state + # during the practice run, and the practice run was not interrupted + # before it completed. + # + # * **INTERRUPTED:** Outcome value when the practice run did not run + # for the expected 30 minutes or there was another problem with the + # practice run that created an inconclusive outcome. + # + # * **FAILED:** Outcome value when the outcome alarm specified for the + # practice run configuration goes into an `ALARM` state during the + # practice run, and the practice run was not interrupted before it + # completed. + # + # For more information about practice run outcomes, see [ + # Considerations when you configure zonal autoshift][1] in the Amazon + # Route 53 Application Recovery Controller Developer Guide. + # + # + # + # [1]: https://docs.aws.amazon.com/r53recovery/latest/dg/arc-zonal-autoshift.configure.html + # @return [String] + # # @!attribute [rw] resource_identifier # The identifier for the resource to include in a zonal shift. The # identifier is the Amazon Resource Name (ARN) for the resource. @@ -582,7 +1242,7 @@ class ZonalShiftInResource < Struct.new( # @return [String] # # @!attribute [rw] start_time - # The time (UTC) when the zonal shift is started. + # The time (UTC) when the zonal shift starts. # @return [Time] # # @!attribute [rw] status @@ -590,7 +1250,7 @@ class ZonalShiftInResource < Struct.new( # # The `Status` for a zonal shift can have one of the following values: # - # * **ACTIVE:** The zonal shift is started and active. + # * **ACTIVE:** The zonal shift has been started and active. # # * **EXPIRED:** The zonal shift has expired (the expiry time was # exceeded). @@ -608,6 +1268,7 @@ class ZonalShiftSummary < Struct.new( :away_from, :comment, :expiry_time, + :practice_run_outcome, :resource_identifier, :start_time, :status, diff --git a/gems/aws-sdk-glue/CHANGELOG.md b/gems/aws-sdk-glue/CHANGELOG.md index 5f2559900b6..79dfa7cdce6 100644 --- a/gems/aws-sdk-glue/CHANGELOG.md +++ b/gems/aws-sdk-glue/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.164.0 (2023-11-30) +------------------ + +* Feature - Adds observation and analyzer support to the GetDataQualityResult and BatchGetDataQualityResult APIs. + 1.163.0 (2023-11-28) ------------------ diff --git a/gems/aws-sdk-glue/VERSION b/gems/aws-sdk-glue/VERSION index 616c87e637a..dc6d195e8fe 100644 --- a/gems/aws-sdk-glue/VERSION +++ b/gems/aws-sdk-glue/VERSION @@ -1 +1 @@ -1.163.0 +1.164.0 diff --git a/gems/aws-sdk-glue/lib/aws-sdk-glue.rb b/gems/aws-sdk-glue/lib/aws-sdk-glue.rb index ff15edb7001..2b559f8d136 100644 --- a/gems/aws-sdk-glue/lib/aws-sdk-glue.rb +++ b/gems/aws-sdk-glue/lib/aws-sdk-glue.rb @@ -52,6 +52,6 @@ # @!group service module Aws::Glue - GEM_VERSION = '1.163.0' + GEM_VERSION = '1.164.0' end diff --git a/gems/aws-sdk-glue/lib/aws-sdk-glue/client.rb b/gems/aws-sdk-glue/lib/aws-sdk-glue/client.rb index ecf22782305..678b5c42c05 100644 --- a/gems/aws-sdk-glue/lib/aws-sdk-glue/client.rb +++ b/gems/aws-sdk-glue/lib/aws-sdk-glue/client.rb @@ -948,6 +948,21 @@ def batch_get_custom_entity_types(params = {}, options = {}) # resp.results[0].rule_results[0].result #=> String, one of "PASS", "FAIL", "ERROR" # resp.results[0].rule_results[0].evaluated_metrics #=> Hash # resp.results[0].rule_results[0].evaluated_metrics["NameString"] #=> Float + # resp.results[0].analyzer_results #=> Array + # resp.results[0].analyzer_results[0].name #=> String + # resp.results[0].analyzer_results[0].description #=> String + # resp.results[0].analyzer_results[0].evaluation_message #=> String + # resp.results[0].analyzer_results[0].evaluated_metrics #=> Hash + # resp.results[0].analyzer_results[0].evaluated_metrics["NameString"] #=> Float + # resp.results[0].observations #=> Array + # resp.results[0].observations[0].description #=> String + # resp.results[0].observations[0].metric_based_observation.metric_name #=> String + # resp.results[0].observations[0].metric_based_observation.metric_values.actual_value #=> Float + # resp.results[0].observations[0].metric_based_observation.metric_values.expected_value #=> Float + # resp.results[0].observations[0].metric_based_observation.metric_values.lower_limit #=> Float + # resp.results[0].observations[0].metric_based_observation.metric_values.upper_limit #=> Float + # resp.results[0].observations[0].metric_based_observation.new_rules #=> Array + # resp.results[0].observations[0].metric_based_observation.new_rules[0] #=> String # resp.results_not_found #=> Array # resp.results_not_found[0] #=> String # @@ -6735,6 +6750,8 @@ def get_data_catalog_encryption_settings(params = {}, options = {}) # * {Types::GetDataQualityResultResponse#job_run_id #job_run_id} => String # * {Types::GetDataQualityResultResponse#ruleset_evaluation_run_id #ruleset_evaluation_run_id} => String # * {Types::GetDataQualityResultResponse#rule_results #rule_results} => Array<Types::DataQualityRuleResult> + # * {Types::GetDataQualityResultResponse#analyzer_results #analyzer_results} => Array<Types::DataQualityAnalyzerResult> + # * {Types::GetDataQualityResultResponse#observations #observations} => Array<Types::DataQualityObservation> # # @example Request syntax with placeholder values # @@ -6766,6 +6783,21 @@ def get_data_catalog_encryption_settings(params = {}, options = {}) # resp.rule_results[0].result #=> String, one of "PASS", "FAIL", "ERROR" # resp.rule_results[0].evaluated_metrics #=> Hash # resp.rule_results[0].evaluated_metrics["NameString"] #=> Float + # resp.analyzer_results #=> Array + # resp.analyzer_results[0].name #=> String + # resp.analyzer_results[0].description #=> String + # resp.analyzer_results[0].evaluation_message #=> String + # resp.analyzer_results[0].evaluated_metrics #=> Hash + # resp.analyzer_results[0].evaluated_metrics["NameString"] #=> Float + # resp.observations #=> Array + # resp.observations[0].description #=> String + # resp.observations[0].metric_based_observation.metric_name #=> String + # resp.observations[0].metric_based_observation.metric_values.actual_value #=> Float + # resp.observations[0].metric_based_observation.metric_values.expected_value #=> Float + # resp.observations[0].metric_based_observation.metric_values.lower_limit #=> Float + # resp.observations[0].metric_based_observation.metric_values.upper_limit #=> Float + # resp.observations[0].metric_based_observation.new_rules #=> Array + # resp.observations[0].metric_based_observation.new_rules[0] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataQualityResult AWS API Documentation # @@ -16891,7 +16923,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-glue' - context[:gem_version] = '1.163.0' + context[:gem_version] = '1.164.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-glue/lib/aws-sdk-glue/client_api.rb b/gems/aws-sdk-glue/lib/aws-sdk-glue/client_api.rb index eb3118de0ad..4cfb85bf5fc 100644 --- a/gems/aws-sdk-glue/lib/aws-sdk-glue/client_api.rb +++ b/gems/aws-sdk-glue/lib/aws-sdk-glue/client_api.rb @@ -312,7 +312,13 @@ module ClientApi DataFormat = Shapes::StringShape.new(name: 'DataFormat') DataLakePrincipal = Shapes::StructureShape.new(name: 'DataLakePrincipal') DataLakePrincipalString = Shapes::StringShape.new(name: 'DataLakePrincipalString') + DataQualityAnalyzerResult = Shapes::StructureShape.new(name: 'DataQualityAnalyzerResult') + DataQualityAnalyzerResults = Shapes::ListShape.new(name: 'DataQualityAnalyzerResults') DataQualityEvaluationRunAdditionalRunOptions = Shapes::StructureShape.new(name: 'DataQualityEvaluationRunAdditionalRunOptions') + DataQualityMetricValues = Shapes::StructureShape.new(name: 'DataQualityMetricValues') + DataQualityObservation = Shapes::StructureShape.new(name: 'DataQualityObservation') + DataQualityObservationDescription = Shapes::StringShape.new(name: 'DataQualityObservationDescription') + DataQualityObservations = Shapes::ListShape.new(name: 'DataQualityObservations') DataQualityResult = Shapes::StructureShape.new(name: 'DataQualityResult') DataQualityResultDescription = Shapes::StructureShape.new(name: 'DataQualityResultDescription') DataQualityResultDescriptionList = Shapes::ListShape.new(name: 'DataQualityResultDescriptionList') @@ -324,6 +330,7 @@ module ClientApi DataQualityRuleRecommendationRunFilter = Shapes::StructureShape.new(name: 'DataQualityRuleRecommendationRunFilter') DataQualityRuleRecommendationRunList = Shapes::ListShape.new(name: 'DataQualityRuleRecommendationRunList') DataQualityRuleResult = Shapes::StructureShape.new(name: 'DataQualityRuleResult') + DataQualityRuleResultDescription = Shapes::StringShape.new(name: 'DataQualityRuleResultDescription') DataQualityRuleResultStatus = Shapes::StringShape.new(name: 'DataQualityRuleResultStatus') DataQualityRuleResults = Shapes::ListShape.new(name: 'DataQualityRuleResults') DataQualityRulesetEvaluationRunDescription = Shapes::StructureShape.new(name: 'DataQualityRulesetEvaluationRunDescription') @@ -788,6 +795,7 @@ module ClientApi MetadataList = Shapes::ListShape.new(name: 'MetadataList') MetadataOperation = Shapes::StringShape.new(name: 'MetadataOperation') MetadataValueString = Shapes::StringShape.new(name: 'MetadataValueString') + MetricBasedObservation = Shapes::StructureShape.new(name: 'MetricBasedObservation') MicrosoftSQLServerCatalogSource = Shapes::StructureShape.new(name: 'MicrosoftSQLServerCatalogSource') MicrosoftSQLServerCatalogTarget = Shapes::StructureShape.new(name: 'MicrosoftSQLServerCatalogTarget') MillisecondsCount = Shapes::IntegerShape.new(name: 'MillisecondsCount') @@ -797,6 +805,7 @@ module ClientApi MySQLCatalogTarget = Shapes::StructureShape.new(name: 'MySQLCatalogTarget') NameString = Shapes::StringShape.new(name: 'NameString') NameStringList = Shapes::ListShape.new(name: 'NameStringList') + NewRules = Shapes::ListShape.new(name: 'NewRules') NoScheduleException = Shapes::StructureShape.new(name: 'NoScheduleException') Node = Shapes::StructureShape.new(name: 'Node') NodeId = Shapes::StringShape.new(name: 'NodeId') @@ -2414,10 +2423,30 @@ module ClientApi DataLakePrincipal.add_member(:data_lake_principal_identifier, Shapes::ShapeRef.new(shape: DataLakePrincipalString, location_name: "DataLakePrincipalIdentifier")) DataLakePrincipal.struct_class = Types::DataLakePrincipal + DataQualityAnalyzerResult.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name")) + DataQualityAnalyzerResult.add_member(:description, Shapes::ShapeRef.new(shape: DataQualityRuleResultDescription, location_name: "Description")) + DataQualityAnalyzerResult.add_member(:evaluation_message, Shapes::ShapeRef.new(shape: DataQualityRuleResultDescription, location_name: "EvaluationMessage")) + DataQualityAnalyzerResult.add_member(:evaluated_metrics, Shapes::ShapeRef.new(shape: EvaluatedMetricsMap, location_name: "EvaluatedMetrics")) + DataQualityAnalyzerResult.struct_class = Types::DataQualityAnalyzerResult + + DataQualityAnalyzerResults.member = Shapes::ShapeRef.new(shape: DataQualityAnalyzerResult) + DataQualityEvaluationRunAdditionalRunOptions.add_member(:cloud_watch_metrics_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "CloudWatchMetricsEnabled")) DataQualityEvaluationRunAdditionalRunOptions.add_member(:results_s3_prefix, Shapes::ShapeRef.new(shape: UriString, location_name: "ResultsS3Prefix")) DataQualityEvaluationRunAdditionalRunOptions.struct_class = Types::DataQualityEvaluationRunAdditionalRunOptions + DataQualityMetricValues.add_member(:actual_value, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "ActualValue")) + DataQualityMetricValues.add_member(:expected_value, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "ExpectedValue")) + DataQualityMetricValues.add_member(:lower_limit, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "LowerLimit")) + DataQualityMetricValues.add_member(:upper_limit, Shapes::ShapeRef.new(shape: NullableDouble, location_name: "UpperLimit")) + DataQualityMetricValues.struct_class = Types::DataQualityMetricValues + + DataQualityObservation.add_member(:description, Shapes::ShapeRef.new(shape: DataQualityObservationDescription, location_name: "Description")) + DataQualityObservation.add_member(:metric_based_observation, Shapes::ShapeRef.new(shape: MetricBasedObservation, location_name: "MetricBasedObservation")) + DataQualityObservation.struct_class = Types::DataQualityObservation + + DataQualityObservations.member = Shapes::ShapeRef.new(shape: DataQualityObservation) + DataQualityResult.add_member(:result_id, Shapes::ShapeRef.new(shape: HashString, location_name: "ResultId")) DataQualityResult.add_member(:score, Shapes::ShapeRef.new(shape: GenericBoundedDouble, location_name: "Score")) DataQualityResult.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "DataSource")) @@ -2429,6 +2458,8 @@ module ClientApi DataQualityResult.add_member(:job_run_id, Shapes::ShapeRef.new(shape: HashString, location_name: "JobRunId")) DataQualityResult.add_member(:ruleset_evaluation_run_id, Shapes::ShapeRef.new(shape: HashString, location_name: "RulesetEvaluationRunId")) DataQualityResult.add_member(:rule_results, Shapes::ShapeRef.new(shape: DataQualityRuleResults, location_name: "RuleResults")) + DataQualityResult.add_member(:analyzer_results, Shapes::ShapeRef.new(shape: DataQualityAnalyzerResults, location_name: "AnalyzerResults")) + DataQualityResult.add_member(:observations, Shapes::ShapeRef.new(shape: DataQualityObservations, location_name: "Observations")) DataQualityResult.struct_class = Types::DataQualityResult DataQualityResultDescription.add_member(:result_id, Shapes::ShapeRef.new(shape: HashString, location_name: "ResultId")) @@ -2467,8 +2498,8 @@ module ClientApi DataQualityRuleRecommendationRunList.member = Shapes::ShapeRef.new(shape: DataQualityRuleRecommendationRunDescription) DataQualityRuleResult.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name")) - DataQualityRuleResult.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description")) - DataQualityRuleResult.add_member(:evaluation_message, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "EvaluationMessage")) + DataQualityRuleResult.add_member(:description, Shapes::ShapeRef.new(shape: DataQualityRuleResultDescription, location_name: "Description")) + DataQualityRuleResult.add_member(:evaluation_message, Shapes::ShapeRef.new(shape: DataQualityRuleResultDescription, location_name: "EvaluationMessage")) DataQualityRuleResult.add_member(:result, Shapes::ShapeRef.new(shape: DataQualityRuleResultStatus, location_name: "Result")) DataQualityRuleResult.add_member(:evaluated_metrics, Shapes::ShapeRef.new(shape: EvaluatedMetricsMap, location_name: "EvaluatedMetrics")) DataQualityRuleResult.struct_class = Types::DataQualityRuleResult @@ -3152,6 +3183,8 @@ module ClientApi GetDataQualityResultResponse.add_member(:job_run_id, Shapes::ShapeRef.new(shape: HashString, location_name: "JobRunId")) GetDataQualityResultResponse.add_member(:ruleset_evaluation_run_id, Shapes::ShapeRef.new(shape: HashString, location_name: "RulesetEvaluationRunId")) GetDataQualityResultResponse.add_member(:rule_results, Shapes::ShapeRef.new(shape: DataQualityRuleResults, location_name: "RuleResults")) + GetDataQualityResultResponse.add_member(:analyzer_results, Shapes::ShapeRef.new(shape: DataQualityAnalyzerResults, location_name: "AnalyzerResults")) + GetDataQualityResultResponse.add_member(:observations, Shapes::ShapeRef.new(shape: DataQualityObservations, location_name: "Observations")) GetDataQualityResultResponse.struct_class = Types::GetDataQualityResultResponse GetDataQualityRuleRecommendationRunRequest.add_member(:run_id, Shapes::ShapeRef.new(shape: HashString, required: true, location_name: "RunId")) @@ -4309,6 +4342,11 @@ module ClientApi MetadataList.member = Shapes::ShapeRef.new(shape: MetadataKeyValuePair) + MetricBasedObservation.add_member(:metric_name, Shapes::ShapeRef.new(shape: NameString, location_name: "MetricName")) + MetricBasedObservation.add_member(:metric_values, Shapes::ShapeRef.new(shape: DataQualityMetricValues, location_name: "MetricValues")) + MetricBasedObservation.add_member(:new_rules, Shapes::ShapeRef.new(shape: NewRules, location_name: "NewRules")) + MetricBasedObservation.struct_class = Types::MetricBasedObservation + MicrosoftSQLServerCatalogSource.add_member(:name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "Name")) MicrosoftSQLServerCatalogSource.add_member(:database, Shapes::ShapeRef.new(shape: EnclosedInStringProperty, required: true, location_name: "Database")) MicrosoftSQLServerCatalogSource.add_member(:table, Shapes::ShapeRef.new(shape: EnclosedInStringProperty, required: true, location_name: "Table")) @@ -4340,6 +4378,8 @@ module ClientApi NameStringList.member = Shapes::ShapeRef.new(shape: NameString) + NewRules.member = Shapes::ShapeRef.new(shape: NameString) + NoScheduleException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message")) NoScheduleException.struct_class = Types::NoScheduleException diff --git a/gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb b/gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb index ce36f3b4b2f..ef56a2f84ff 100644 --- a/gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb +++ b/gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb @@ -6160,6 +6160,35 @@ class DataLakePrincipal < Struct.new( include Aws::Structure end + # Describes the result of the evaluation of a data quality analyzer. + # + # @!attribute [rw] name + # The name of the data quality analyzer. + # @return [String] + # + # @!attribute [rw] description + # A description of the data quality analyzer. + # @return [String] + # + # @!attribute [rw] evaluation_message + # An evaluation message. + # @return [String] + # + # @!attribute [rw] evaluated_metrics + # A map of metrics associated with the evaluation of the analyzer. + # @return [Hash] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DataQualityAnalyzerResult AWS API Documentation + # + class DataQualityAnalyzerResult < Struct.new( + :name, + :description, + :evaluation_message, + :evaluated_metrics) + SENSITIVE = [] + include Aws::Structure + end + # Additional run options you can specify for an evaluation run. # # @!attribute [rw] cloud_watch_metrics_enabled @@ -6179,6 +6208,60 @@ class DataQualityEvaluationRunAdditionalRunOptions < Struct.new( include Aws::Structure end + # Describes the data quality metric value according to the analysis of + # historical data. + # + # @!attribute [rw] actual_value + # The actual value of the data quality metric. + # @return [Float] + # + # @!attribute [rw] expected_value + # The expected value of the data quality metric according to the + # analysis of historical data. + # @return [Float] + # + # @!attribute [rw] lower_limit + # The lower limit of the data quality metric value according to the + # analysis of historical data. + # @return [Float] + # + # @!attribute [rw] upper_limit + # The upper limit of the data quality metric value according to the + # analysis of historical data. + # @return [Float] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DataQualityMetricValues AWS API Documentation + # + class DataQualityMetricValues < Struct.new( + :actual_value, + :expected_value, + :lower_limit, + :upper_limit) + SENSITIVE = [] + include Aws::Structure + end + + # Describes the observation generated after evaluating the rules and + # analyzers. + # + # @!attribute [rw] description + # A description of the data quality observation. + # @return [String] + # + # @!attribute [rw] metric_based_observation + # An object of type `MetricBasedObservation` representing the + # observation that is based on evaluated data quality metrics. + # @return [Types::MetricBasedObservation] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DataQualityObservation AWS API Documentation + # + class DataQualityObservation < Struct.new( + :description, + :metric_based_observation) + SENSITIVE = [] + include Aws::Structure + end + # Describes a data quality result. # # @!attribute [rw] result_id @@ -6231,6 +6314,16 @@ class DataQualityEvaluationRunAdditionalRunOptions < Struct.new( # for each rule. # @return [Array] # + # @!attribute [rw] analyzer_results + # A list of `DataQualityAnalyzerResult` objects representing the + # results for each analyzer. + # @return [Array] + # + # @!attribute [rw] observations + # A list of `DataQualityObservation` objects representing the + # observations generated after evaluating the rules and analyzers. + # @return [Array] + # # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DataQualityResult AWS API Documentation # class DataQualityResult < Struct.new( @@ -6244,7 +6337,9 @@ class DataQualityResult < Struct.new( :job_name, :job_run_id, :ruleset_evaluation_run_id, - :rule_results) + :rule_results, + :analyzer_results, + :observations) SENSITIVE = [] include Aws::Structure end @@ -9527,6 +9622,16 @@ class GetDataQualityResultRequest < Struct.new( # for each rule. # @return [Array] # + # @!attribute [rw] analyzer_results + # A list of `DataQualityAnalyzerResult` objects representing the + # results for each analyzer. + # @return [Array] + # + # @!attribute [rw] observations + # A list of `DataQualityObservation` objects representing the + # observations generated after evaluating the rules and analyzers. + # @return [Array] + # # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetDataQualityResultResponse AWS API Documentation # class GetDataQualityResultResponse < Struct.new( @@ -9540,7 +9645,9 @@ class GetDataQualityResultResponse < Struct.new( :job_name, :job_run_id, :ruleset_evaluation_run_id, - :rule_results) + :rule_results, + :analyzer_results, + :observations) SENSITIVE = [] include Aws::Structure end @@ -15744,6 +15851,34 @@ class MetadataKeyValuePair < Struct.new( include Aws::Structure end + # Describes the metric based observation generated based on evaluated + # data quality metrics. + # + # @!attribute [rw] metric_name + # The name of the data quality metric used for generating the + # observation. + # @return [String] + # + # @!attribute [rw] metric_values + # An object of type `DataQualityMetricValues` representing the + # analysis of the data quality metric value. + # @return [Types::DataQualityMetricValues] + # + # @!attribute [rw] new_rules + # A list of new data quality rules generated as part of the + # observation based on the data quality metric value. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/MetricBasedObservation AWS API Documentation + # + class MetricBasedObservation < Struct.new( + :metric_name, + :metric_values, + :new_rules) + SENSITIVE = [] + include Aws::Structure + end + # Specifies a Microsoft SQL server data source in the Glue Data Catalog. # # @!attribute [rw] name diff --git a/gems/aws-sdk-sagemaker/CHANGELOG.md b/gems/aws-sdk-sagemaker/CHANGELOG.md index ced16a538c7..7d46c8632c9 100644 --- a/gems/aws-sdk-sagemaker/CHANGELOG.md +++ b/gems/aws-sdk-sagemaker/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.224.0 (2023-11-30) +------------------ + +* Feature - This release adds support for 1/ Code Editor, based on Code-OSS, Visual Studio Code Open Source, a new fully managed IDE option in SageMaker Studio 2/ JupyterLab, a new fully managed JupyterLab IDE experience in SageMaker Studio + 1.223.0 (2023-11-29) ------------------ diff --git a/gems/aws-sdk-sagemaker/VERSION b/gems/aws-sdk-sagemaker/VERSION index a559eeaaf98..ee716f92d8e 100644 --- a/gems/aws-sdk-sagemaker/VERSION +++ b/gems/aws-sdk-sagemaker/VERSION @@ -1 +1 @@ -1.223.0 +1.224.0 diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb index b1715218cb0..e49f1dfbec3 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.223.0' + GEM_VERSION = '1.224.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 8f20113ade1..a44a59b8e15 100644 --- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb +++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb @@ -1048,7 +1048,7 @@ def create_algorithm(params = {}, options = {}) # resp = client.create_app({ # domain_id: "DomainId", # required # user_profile_name: "UserProfileName", - # app_type: "JupyterServer", # required, accepts JupyterServer, KernelGateway, TensorBoard, RStudioServerPro, RSessionGateway + # app_type: "JupyterServer", # required, accepts JupyterServer, KernelGateway, TensorBoard, RStudioServerPro, RSessionGateway, JupyterLab, CodeEditor # app_name: "AppName", # required # tags: [ # { @@ -1096,6 +1096,12 @@ def create_app(params = {}, options = {}) # image starts. Once the image runs, all kernels are visible in # JupyterLab. # + # @option params [Types::JupyterLabAppImageConfig] :jupyter_lab_app_image_config + # The `JupyterLabAppImageConfig`. You can only specify one image kernel + # in the `AppImageConfig` API. This kernel is shown to users before the + # image starts. After the image runs, all kernels are visible in + # JupyterLab. + # # @return [Types::CreateAppImageConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateAppImageConfigResponse#app_image_config_arn #app_image_config_arn} => String @@ -1123,6 +1129,15 @@ def create_app(params = {}, options = {}) # default_gid: 1, # }, # }, + # jupyter_lab_app_image_config: { + # container_config: { + # container_arguments: ["NonEmptyString64"], + # container_entrypoint: ["NonEmptyString256"], + # container_environment_variables: { + # "NonEmptyString256" => "String256", + # }, + # }, + # }, # }) # # @example Response structure @@ -2493,8 +2508,58 @@ def create_device_fleet(params = {}, options = {}) # status: "ENABLED", # accepts ENABLED, DISABLED # }, # }, + # jupyter_lab_app_settings: { + # default_resource_spec: { + # sage_maker_image_arn: "ImageArn", + # sage_maker_image_version_arn: "ImageVersionArn", + # sage_maker_image_version_alias: "ImageVersionAlias", + # 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.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge + # lifecycle_config_arn: "StudioLifecycleConfigArn", + # }, + # custom_images: [ + # { + # image_name: "ImageName", # required + # image_version_number: 1, + # app_image_config_name: "AppImageConfigName", # required + # }, + # ], + # lifecycle_config_arns: ["StudioLifecycleConfigArn"], + # code_repositories: [ + # { + # repository_url: "RepositoryUrl", # required + # }, + # ], + # }, + # code_editor_app_settings: { + # default_resource_spec: { + # sage_maker_image_arn: "ImageArn", + # sage_maker_image_version_arn: "ImageVersionArn", + # sage_maker_image_version_alias: "ImageVersionAlias", + # 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.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge + # lifecycle_config_arn: "StudioLifecycleConfigArn", + # }, + # lifecycle_config_arns: ["StudioLifecycleConfigArn"], + # }, + # space_storage_settings: { + # default_ebs_storage_settings: { + # default_ebs_volume_size_in_gb: 1, # required + # maximum_ebs_volume_size_in_gb: 1, # required + # }, + # }, # default_landing_uri: "LandingUri", # studio_web_portal: "ENABLED", # accepts ENABLED, DISABLED + # custom_posix_user_config: { + # uid: 1, # required + # gid: 1, # required + # }, + # custom_file_system_configs: [ + # { + # efs_file_system_config: { + # file_system_id: "FileSystemId", # required + # file_system_path: "FileSystemPath", + # }, + # }, + # ], # }, # subnet_ids: ["SubnetId"], # required # vpc_id: "VpcId", # required @@ -7384,6 +7449,15 @@ def create_project(params = {}, options = {}) # @option params [Types::SpaceSettings] :space_settings # A collection of space settings. # + # @option params [String] :space_display_name + # The name of the space that appears in the SageMaker Studio UI. + # + # @option params [Types::OwnershipSettings] :ownership_settings + # A collection of ownership settings. + # + # @option params [Types::SpaceSharingSettings] :space_sharing_settings + # A collection of space sharing settings. + # # @return [Types::CreateSpaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::CreateSpaceResponse#space_arn #space_arn} => String @@ -7432,6 +7506,49 @@ def create_project(params = {}, options = {}) # ], # lifecycle_config_arns: ["StudioLifecycleConfigArn"], # }, + # jupyter_lab_app_settings: { + # default_resource_spec: { + # sage_maker_image_arn: "ImageArn", + # sage_maker_image_version_arn: "ImageVersionArn", + # sage_maker_image_version_alias: "ImageVersionAlias", + # 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.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge + # lifecycle_config_arn: "StudioLifecycleConfigArn", + # }, + # code_repositories: [ + # { + # repository_url: "RepositoryUrl", # required + # }, + # ], + # }, + # code_editor_app_settings: { + # default_resource_spec: { + # sage_maker_image_arn: "ImageArn", + # sage_maker_image_version_arn: "ImageVersionArn", + # sage_maker_image_version_alias: "ImageVersionAlias", + # 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.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge + # lifecycle_config_arn: "StudioLifecycleConfigArn", + # }, + # }, + # space_storage_settings: { + # ebs_storage_settings: { + # ebs_volume_size_in_gb: 1, # required + # }, + # }, + # app_type: "JupyterServer", # accepts JupyterServer, KernelGateway, TensorBoard, RStudioServerPro, RSessionGateway, JupyterLab, CodeEditor + # custom_file_systems: [ + # { + # efs_file_system: { + # file_system_id: "FileSystemId", # required + # }, + # }, + # ], + # }, + # space_display_name: "NonEmptyString64", + # ownership_settings: { + # owner_user_profile_name: "UserProfileName", # required + # }, + # space_sharing_settings: { + # sharing_type: "Private", # required, accepts Private, Shared # }, # }) # @@ -7475,7 +7592,7 @@ def create_space(params = {}, options = {}) # resp = client.create_studio_lifecycle_config({ # studio_lifecycle_config_name: "StudioLifecycleConfigName", # required # studio_lifecycle_config_content: "StudioLifecycleConfigContent", # required - # studio_lifecycle_config_app_type: "JupyterServer", # required, accepts JupyterServer, KernelGateway + # studio_lifecycle_config_app_type: "JupyterServer", # required, accepts JupyterServer, KernelGateway, JupyterLab, CodeEditor # tags: [ # { # key: "TagKey", # required @@ -8552,8 +8669,58 @@ def create_trial_component(params = {}, options = {}) # status: "ENABLED", # accepts ENABLED, DISABLED # }, # }, + # jupyter_lab_app_settings: { + # default_resource_spec: { + # sage_maker_image_arn: "ImageArn", + # sage_maker_image_version_arn: "ImageVersionArn", + # sage_maker_image_version_alias: "ImageVersionAlias", + # 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.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge + # lifecycle_config_arn: "StudioLifecycleConfigArn", + # }, + # custom_images: [ + # { + # image_name: "ImageName", # required + # image_version_number: 1, + # app_image_config_name: "AppImageConfigName", # required + # }, + # ], + # lifecycle_config_arns: ["StudioLifecycleConfigArn"], + # code_repositories: [ + # { + # repository_url: "RepositoryUrl", # required + # }, + # ], + # }, + # code_editor_app_settings: { + # default_resource_spec: { + # sage_maker_image_arn: "ImageArn", + # sage_maker_image_version_arn: "ImageVersionArn", + # sage_maker_image_version_alias: "ImageVersionAlias", + # 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.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge + # lifecycle_config_arn: "StudioLifecycleConfigArn", + # }, + # lifecycle_config_arns: ["StudioLifecycleConfigArn"], + # }, + # space_storage_settings: { + # default_ebs_storage_settings: { + # default_ebs_volume_size_in_gb: 1, # required + # maximum_ebs_volume_size_in_gb: 1, # required + # }, + # }, # default_landing_uri: "LandingUri", # studio_web_portal: "ENABLED", # accepts ENABLED, DISABLED + # custom_posix_user_config: { + # uid: 1, # required + # gid: 1, # required + # }, + # custom_file_system_configs: [ + # { + # efs_file_system_config: { + # file_system_id: "FileSystemId", # required + # file_system_path: "FileSystemPath", + # }, + # }, + # ], # }, # }) # @@ -8865,7 +9032,7 @@ def delete_algorithm(params = {}, options = {}) # resp = client.delete_app({ # domain_id: "DomainId", # required # user_profile_name: "UserProfileName", - # app_type: "JupyterServer", # required, accepts JupyterServer, KernelGateway, TensorBoard, RStudioServerPro, RSessionGateway + # app_type: "JupyterServer", # required, accepts JupyterServer, KernelGateway, TensorBoard, RStudioServerPro, RSessionGateway, JupyterLab, CodeEditor # app_name: "AppName", # required # space_name: "SpaceName", # }) @@ -10426,7 +10593,7 @@ def describe_algorithm(params = {}, options = {}) # resp = client.describe_app({ # domain_id: "DomainId", # required # user_profile_name: "UserProfileName", - # app_type: "JupyterServer", # required, accepts JupyterServer, KernelGateway, TensorBoard, RStudioServerPro, RSessionGateway + # app_type: "JupyterServer", # required, accepts JupyterServer, KernelGateway, TensorBoard, RStudioServerPro, RSessionGateway, JupyterLab, CodeEditor # app_name: "AppName", # required # space_name: "SpaceName", # }) @@ -10434,7 +10601,7 @@ def describe_algorithm(params = {}, options = {}) # @example Response structure # # resp.app_arn #=> String - # resp.app_type #=> String, one of "JupyterServer", "KernelGateway", "TensorBoard", "RStudioServerPro", "RSessionGateway" + # resp.app_type #=> String, one of "JupyterServer", "KernelGateway", "TensorBoard", "RStudioServerPro", "RSessionGateway", "JupyterLab", "CodeEditor" # resp.app_name #=> String # resp.domain_id #=> String # resp.user_profile_name #=> String @@ -10471,6 +10638,7 @@ def describe_app(params = {}, options = {}) # * {Types::DescribeAppImageConfigResponse#creation_time #creation_time} => Time # * {Types::DescribeAppImageConfigResponse#last_modified_time #last_modified_time} => Time # * {Types::DescribeAppImageConfigResponse#kernel_gateway_image_config #kernel_gateway_image_config} => Types::KernelGatewayImageConfig + # * {Types::DescribeAppImageConfigResponse#jupyter_lab_app_image_config #jupyter_lab_app_image_config} => Types::JupyterLabAppImageConfig # # @example Request syntax with placeholder values # @@ -10490,6 +10658,12 @@ def describe_app(params = {}, options = {}) # resp.kernel_gateway_image_config.file_system_config.mount_path #=> String # resp.kernel_gateway_image_config.file_system_config.default_uid #=> Integer # resp.kernel_gateway_image_config.file_system_config.default_gid #=> Integer + # resp.jupyter_lab_app_image_config.container_config.container_arguments #=> Array + # resp.jupyter_lab_app_image_config.container_config.container_arguments[0] #=> String + # resp.jupyter_lab_app_image_config.container_config.container_entrypoint #=> Array + # resp.jupyter_lab_app_image_config.container_config.container_entrypoint[0] #=> String + # resp.jupyter_lab_app_image_config.container_config.container_environment_variables #=> Hash + # resp.jupyter_lab_app_image_config.container_config.container_environment_variables["NonEmptyString256"] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAppImageConfig AWS API Documentation # @@ -11458,8 +11632,35 @@ def describe_device_fleet(params = {}, options = {}) # resp.default_user_settings.canvas_app_settings.identity_provider_o_auth_settings[0].secret_arn #=> String # resp.default_user_settings.canvas_app_settings.kendra_settings.status #=> String, one of "ENABLED", "DISABLED" # resp.default_user_settings.canvas_app_settings.direct_deploy_settings.status #=> String, one of "ENABLED", "DISABLED" + # 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 + # resp.default_user_settings.jupyter_lab_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.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge" + # resp.default_user_settings.jupyter_lab_app_settings.default_resource_spec.lifecycle_config_arn #=> String + # resp.default_user_settings.jupyter_lab_app_settings.custom_images #=> Array + # resp.default_user_settings.jupyter_lab_app_settings.custom_images[0].image_name #=> String + # resp.default_user_settings.jupyter_lab_app_settings.custom_images[0].image_version_number #=> Integer + # resp.default_user_settings.jupyter_lab_app_settings.custom_images[0].app_image_config_name #=> String + # resp.default_user_settings.jupyter_lab_app_settings.lifecycle_config_arns #=> Array + # 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.code_editor_app_settings.default_resource_spec.sage_maker_image_arn #=> String + # resp.default_user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String + # resp.default_user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String + # resp.default_user_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.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge" + # resp.default_user_settings.code_editor_app_settings.default_resource_spec.lifecycle_config_arn #=> 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.space_storage_settings.default_ebs_storage_settings.default_ebs_volume_size_in_gb #=> Integer + # resp.default_user_settings.space_storage_settings.default_ebs_storage_settings.maximum_ebs_volume_size_in_gb #=> Integer # resp.default_user_settings.default_landing_uri #=> String # resp.default_user_settings.studio_web_portal #=> String, one of "ENABLED", "DISABLED" + # resp.default_user_settings.custom_posix_user_config.uid #=> Integer + # resp.default_user_settings.custom_posix_user_config.gid #=> Integer + # resp.default_user_settings.custom_file_system_configs #=> Array + # resp.default_user_settings.custom_file_system_configs[0].efs_file_system_config.file_system_id #=> String + # resp.default_user_settings.custom_file_system_configs[0].efs_file_system_config.file_system_path #=> String # resp.app_network_access_type #=> String, one of "PublicInternetOnly", "VpcOnly" # resp.home_efs_file_system_kms_key_id #=> String # resp.subnet_ids #=> Array @@ -14579,6 +14780,9 @@ def describe_project(params = {}, options = {}) # * {Types::DescribeSpaceResponse#failure_reason #failure_reason} => String # * {Types::DescribeSpaceResponse#space_settings #space_settings} => Types::SpaceSettings # * {Types::DescribeSpaceResponse#url #url} => String + # * {Types::DescribeSpaceResponse#space_display_name #space_display_name} => String + # * {Types::DescribeSpaceResponse#ownership_settings #ownership_settings} => Types::OwnershipSettings + # * {Types::DescribeSpaceResponse#space_sharing_settings #space_sharing_settings} => Types::SpaceSharingSettings # # @example Request syntax with placeholder values # @@ -14617,7 +14821,26 @@ def describe_project(params = {}, options = {}) # resp.space_settings.kernel_gateway_app_settings.custom_images[0].app_image_config_name #=> String # resp.space_settings.kernel_gateway_app_settings.lifecycle_config_arns #=> Array # resp.space_settings.kernel_gateway_app_settings.lifecycle_config_arns[0] #=> String + # 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 + # resp.space_settings.jupyter_lab_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.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge" + # 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.code_editor_app_settings.default_resource_spec.sage_maker_image_arn #=> String + # resp.space_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String + # 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.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge" + # resp.space_settings.code_editor_app_settings.default_resource_spec.lifecycle_config_arn #=> String + # resp.space_settings.space_storage_settings.ebs_storage_settings.ebs_volume_size_in_gb #=> Integer + # resp.space_settings.app_type #=> String, one of "JupyterServer", "KernelGateway", "TensorBoard", "RStudioServerPro", "RSessionGateway", "JupyterLab", "CodeEditor" + # resp.space_settings.custom_file_systems #=> Array + # resp.space_settings.custom_file_systems[0].efs_file_system.file_system_id #=> String # resp.url #=> String + # resp.space_display_name #=> String + # resp.ownership_settings.owner_user_profile_name #=> String + # resp.space_sharing_settings.sharing_type #=> String, one of "Private", "Shared" # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSpace AWS API Documentation # @@ -14656,7 +14879,7 @@ def describe_space(params = {}, options = {}) # resp.creation_time #=> Time # resp.last_modified_time #=> Time # resp.studio_lifecycle_config_content #=> String - # resp.studio_lifecycle_config_app_type #=> String, one of "JupyterServer", "KernelGateway" + # resp.studio_lifecycle_config_app_type #=> String, one of "JupyterServer", "KernelGateway", "JupyterLab", "CodeEditor" # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeStudioLifecycleConfig AWS API Documentation # @@ -15261,8 +15484,35 @@ def describe_trial_component(params = {}, options = {}) # resp.user_settings.canvas_app_settings.identity_provider_o_auth_settings[0].secret_arn #=> String # resp.user_settings.canvas_app_settings.kendra_settings.status #=> String, one of "ENABLED", "DISABLED" # resp.user_settings.canvas_app_settings.direct_deploy_settings.status #=> String, one of "ENABLED", "DISABLED" + # 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 + # resp.user_settings.jupyter_lab_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.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge" + # resp.user_settings.jupyter_lab_app_settings.default_resource_spec.lifecycle_config_arn #=> String + # resp.user_settings.jupyter_lab_app_settings.custom_images #=> Array + # resp.user_settings.jupyter_lab_app_settings.custom_images[0].image_name #=> String + # resp.user_settings.jupyter_lab_app_settings.custom_images[0].image_version_number #=> Integer + # resp.user_settings.jupyter_lab_app_settings.custom_images[0].app_image_config_name #=> String + # resp.user_settings.jupyter_lab_app_settings.lifecycle_config_arns #=> Array + # 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.code_editor_app_settings.default_resource_spec.sage_maker_image_arn #=> String + # resp.user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String + # resp.user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String + # resp.user_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.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge" + # resp.user_settings.code_editor_app_settings.default_resource_spec.lifecycle_config_arn #=> 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.space_storage_settings.default_ebs_storage_settings.default_ebs_volume_size_in_gb #=> Integer + # resp.user_settings.space_storage_settings.default_ebs_storage_settings.maximum_ebs_volume_size_in_gb #=> Integer # resp.user_settings.default_landing_uri #=> String # resp.user_settings.studio_web_portal #=> String, one of "ENABLED", "DISABLED" + # resp.user_settings.custom_posix_user_config.uid #=> Integer + # resp.user_settings.custom_posix_user_config.gid #=> Integer + # resp.user_settings.custom_file_system_configs #=> Array + # resp.user_settings.custom_file_system_configs[0].efs_file_system_config.file_system_id #=> String + # resp.user_settings.custom_file_system_configs[0].efs_file_system_config.file_system_path #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeUserProfile AWS API Documentation # @@ -16071,6 +16321,12 @@ def list_aliases(params = {}, options = {}) # resp.app_image_configs[0].kernel_gateway_image_config.file_system_config.mount_path #=> String # resp.app_image_configs[0].kernel_gateway_image_config.file_system_config.default_uid #=> Integer # resp.app_image_configs[0].kernel_gateway_image_config.file_system_config.default_gid #=> Integer + # resp.app_image_configs[0].jupyter_lab_app_image_config.container_config.container_arguments #=> Array + # resp.app_image_configs[0].jupyter_lab_app_image_config.container_config.container_arguments[0] #=> String + # resp.app_image_configs[0].jupyter_lab_app_image_config.container_config.container_entrypoint #=> Array + # resp.app_image_configs[0].jupyter_lab_app_image_config.container_config.container_entrypoint[0] #=> String + # resp.app_image_configs[0].jupyter_lab_app_image_config.container_config.container_environment_variables #=> Hash + # resp.app_image_configs[0].jupyter_lab_app_image_config.container_config.container_environment_variables["NonEmptyString256"] #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAppImageConfigs AWS API Documentation # @@ -16136,11 +16392,16 @@ def list_app_image_configs(params = {}, options = {}) # resp.apps #=> Array # resp.apps[0].domain_id #=> String # resp.apps[0].user_profile_name #=> String - # resp.apps[0].app_type #=> String, one of "JupyterServer", "KernelGateway", "TensorBoard", "RStudioServerPro", "RSessionGateway" + # resp.apps[0].app_type #=> String, one of "JupyterServer", "KernelGateway", "TensorBoard", "RStudioServerPro", "RSessionGateway", "JupyterLab", "CodeEditor" # resp.apps[0].app_name #=> String # resp.apps[0].status #=> String, one of "Deleted", "Deleting", "Failed", "InService", "Pending" # resp.apps[0].creation_time #=> Time # resp.apps[0].space_name #=> String + # resp.apps[0].resource_spec.sage_maker_image_arn #=> String + # resp.apps[0].resource_spec.sage_maker_image_version_arn #=> String + # resp.apps[0].resource_spec.sage_maker_image_version_alias #=> String + # resp.apps[0].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.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge" + # resp.apps[0].resource_spec.lifecycle_config_arn #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListApps AWS API Documentation @@ -20663,6 +20924,11 @@ def list_resource_catalogs(params = {}, options = {}) # resp.spaces[0].status #=> String, one of "Deleting", "Failed", "InService", "Pending", "Updating", "Update_Failed", "Delete_Failed" # resp.spaces[0].creation_time #=> Time # resp.spaces[0].last_modified_time #=> Time + # resp.spaces[0].space_display_name #=> String + # resp.spaces[0].space_settings_summary.app_type #=> String, one of "JupyterServer", "KernelGateway", "TensorBoard", "RStudioServerPro", "RSessionGateway", "JupyterLab", "CodeEditor" + # resp.spaces[0].space_settings_summary.space_storage_settings.ebs_storage_settings.ebs_volume_size_in_gb #=> Integer + # resp.spaces[0].space_sharing_settings_summary.sharing_type #=> String, one of "Private", "Shared" + # resp.spaces[0].ownership_settings_summary.owner_user_profile_name #=> String # resp.next_token #=> String # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListSpaces AWS API Documentation @@ -20793,7 +21059,7 @@ def list_stage_devices(params = {}, options = {}) # max_results: 1, # next_token: "NextToken", # name_contains: "StudioLifecycleConfigName", - # app_type_equals: "JupyterServer", # accepts JupyterServer, KernelGateway + # app_type_equals: "JupyterServer", # accepts JupyterServer, KernelGateway, JupyterLab, CodeEditor # creation_time_before: Time.now, # creation_time_after: Time.now, # modified_time_before: Time.now, @@ -20810,7 +21076,7 @@ def list_stage_devices(params = {}, options = {}) # resp.studio_lifecycle_configs[0].studio_lifecycle_config_name #=> String # resp.studio_lifecycle_configs[0].creation_time #=> Time # resp.studio_lifecycle_configs[0].last_modified_time #=> Time - # resp.studio_lifecycle_configs[0].studio_lifecycle_config_app_type #=> String, one of "JupyterServer", "KernelGateway" + # resp.studio_lifecycle_configs[0].studio_lifecycle_config_app_type #=> String, one of "JupyterServer", "KernelGateway", "JupyterLab", "CodeEditor" # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListStudioLifecycleConfigs AWS API Documentation # @@ -22757,6 +23023,9 @@ def update_action(params = {}, options = {}) # @option params [Types::KernelGatewayImageConfig] :kernel_gateway_image_config # The new KernelGateway app to run on the image. # + # @option params [Types::JupyterLabAppImageConfig] :jupyter_lab_app_image_config + # The JupyterLab app running on the image. + # # @return [Types::UpdateAppImageConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::UpdateAppImageConfigResponse#app_image_config_arn #app_image_config_arn} => String @@ -22778,6 +23047,15 @@ def update_action(params = {}, options = {}) # default_gid: 1, # }, # }, + # jupyter_lab_app_image_config: { + # container_config: { + # container_arguments: ["NonEmptyString64"], + # container_entrypoint: ["NonEmptyString256"], + # container_environment_variables: { + # "NonEmptyString256" => "String256", + # }, + # }, + # }, # }) # # @example Response structure @@ -23190,8 +23468,58 @@ def update_devices(params = {}, options = {}) # status: "ENABLED", # accepts ENABLED, DISABLED # }, # }, + # jupyter_lab_app_settings: { + # default_resource_spec: { + # sage_maker_image_arn: "ImageArn", + # sage_maker_image_version_arn: "ImageVersionArn", + # sage_maker_image_version_alias: "ImageVersionAlias", + # 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.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge + # lifecycle_config_arn: "StudioLifecycleConfigArn", + # }, + # custom_images: [ + # { + # image_name: "ImageName", # required + # image_version_number: 1, + # app_image_config_name: "AppImageConfigName", # required + # }, + # ], + # lifecycle_config_arns: ["StudioLifecycleConfigArn"], + # code_repositories: [ + # { + # repository_url: "RepositoryUrl", # required + # }, + # ], + # }, + # code_editor_app_settings: { + # default_resource_spec: { + # sage_maker_image_arn: "ImageArn", + # sage_maker_image_version_arn: "ImageVersionArn", + # sage_maker_image_version_alias: "ImageVersionAlias", + # 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.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge + # lifecycle_config_arn: "StudioLifecycleConfigArn", + # }, + # lifecycle_config_arns: ["StudioLifecycleConfigArn"], + # }, + # space_storage_settings: { + # default_ebs_storage_settings: { + # default_ebs_volume_size_in_gb: 1, # required + # maximum_ebs_volume_size_in_gb: 1, # required + # }, + # }, # default_landing_uri: "LandingUri", # studio_web_portal: "ENABLED", # accepts ENABLED, DISABLED + # custom_posix_user_config: { + # uid: 1, # required + # gid: 1, # required + # }, + # custom_file_system_configs: [ + # { + # efs_file_system_config: { + # file_system_id: "FileSystemId", # required + # file_system_path: "FileSystemPath", + # }, + # }, + # ], # }, # domain_settings_for_update: { # r_studio_server_pro_domain_settings_for_update: { @@ -24703,6 +25031,9 @@ def update_project(params = {}, options = {}) # @option params [Types::SpaceSettings] :space_settings # A collection of space settings. # + # @option params [String] :space_display_name + # The name of the space that appears in the Amazon SageMaker Studio UI. + # # @return [Types::UpdateSpaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # # * {Types::UpdateSpaceResponse#space_arn #space_arn} => String @@ -24745,7 +25076,44 @@ def update_project(params = {}, options = {}) # ], # lifecycle_config_arns: ["StudioLifecycleConfigArn"], # }, + # jupyter_lab_app_settings: { + # default_resource_spec: { + # sage_maker_image_arn: "ImageArn", + # sage_maker_image_version_arn: "ImageVersionArn", + # sage_maker_image_version_alias: "ImageVersionAlias", + # 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.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge + # lifecycle_config_arn: "StudioLifecycleConfigArn", + # }, + # code_repositories: [ + # { + # repository_url: "RepositoryUrl", # required + # }, + # ], + # }, + # code_editor_app_settings: { + # default_resource_spec: { + # sage_maker_image_arn: "ImageArn", + # sage_maker_image_version_arn: "ImageVersionArn", + # sage_maker_image_version_alias: "ImageVersionAlias", + # 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.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge + # lifecycle_config_arn: "StudioLifecycleConfigArn", + # }, + # }, + # space_storage_settings: { + # ebs_storage_settings: { + # ebs_volume_size_in_gb: 1, # required + # }, + # }, + # app_type: "JupyterServer", # accepts JupyterServer, KernelGateway, TensorBoard, RStudioServerPro, RSessionGateway, JupyterLab, CodeEditor + # custom_file_systems: [ + # { + # efs_file_system: { + # file_system_id: "FileSystemId", # required + # }, + # }, + # ], # }, + # space_display_name: "NonEmptyString64", # }) # # @example Response structure @@ -25073,8 +25441,58 @@ def update_trial_component(params = {}, options = {}) # status: "ENABLED", # accepts ENABLED, DISABLED # }, # }, + # jupyter_lab_app_settings: { + # default_resource_spec: { + # sage_maker_image_arn: "ImageArn", + # sage_maker_image_version_arn: "ImageVersionArn", + # sage_maker_image_version_alias: "ImageVersionAlias", + # 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.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge + # lifecycle_config_arn: "StudioLifecycleConfigArn", + # }, + # custom_images: [ + # { + # image_name: "ImageName", # required + # image_version_number: 1, + # app_image_config_name: "AppImageConfigName", # required + # }, + # ], + # lifecycle_config_arns: ["StudioLifecycleConfigArn"], + # code_repositories: [ + # { + # repository_url: "RepositoryUrl", # required + # }, + # ], + # }, + # code_editor_app_settings: { + # default_resource_spec: { + # sage_maker_image_arn: "ImageArn", + # sage_maker_image_version_arn: "ImageVersionArn", + # sage_maker_image_version_alias: "ImageVersionAlias", + # 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.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge + # lifecycle_config_arn: "StudioLifecycleConfigArn", + # }, + # lifecycle_config_arns: ["StudioLifecycleConfigArn"], + # }, + # space_storage_settings: { + # default_ebs_storage_settings: { + # default_ebs_volume_size_in_gb: 1, # required + # maximum_ebs_volume_size_in_gb: 1, # required + # }, + # }, # default_landing_uri: "LandingUri", # studio_web_portal: "ENABLED", # accepts ENABLED, DISABLED + # custom_posix_user_config: { + # uid: 1, # required + # gid: 1, # required + # }, + # custom_file_system_configs: [ + # { + # efs_file_system_config: { + # file_system_id: "FileSystemId", # required + # file_system_path: "FileSystemPath", + # }, + # }, + # ], # }, # }) # @@ -25331,7 +25749,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-sagemaker' - context[:gem_version] = '1.223.0' + context[:gem_version] = '1.224.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 db418c5f24d..2c5dc240054 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 @@ -269,6 +269,7 @@ module ClientApi ClusterSummaries = Shapes::ListShape.new(name: 'ClusterSummaries') ClusterSummary = Shapes::StructureShape.new(name: 'ClusterSummary') ClusterThreadsPerCore = Shapes::IntegerShape.new(name: 'ClusterThreadsPerCore') + CodeEditorAppSettings = Shapes::StructureShape.new(name: 'CodeEditorAppSettings') CodeRepositories = Shapes::ListShape.new(name: 'CodeRepositories') CodeRepository = Shapes::StructureShape.new(name: 'CodeRepository') CodeRepositoryArn = Shapes::StringShape.new(name: 'CodeRepositoryArn') @@ -304,6 +305,7 @@ module ClientApi ConflictException = Shapes::StructureShape.new(name: 'ConflictException') ContainerArgument = Shapes::StringShape.new(name: 'ContainerArgument') ContainerArguments = Shapes::ListShape.new(name: 'ContainerArguments') + ContainerConfig = Shapes::StructureShape.new(name: 'ContainerConfig') ContainerDefinition = Shapes::StructureShape.new(name: 'ContainerDefinition') ContainerDefinitionList = Shapes::ListShape.new(name: 'ContainerDefinitionList') ContainerEntrypoint = Shapes::ListShape.new(name: 'ContainerEntrypoint') @@ -439,8 +441,16 @@ module ClientApi CrossAccountFilterOption = Shapes::StringShape.new(name: 'CrossAccountFilterOption') CsvContentType = Shapes::StringShape.new(name: 'CsvContentType') CsvContentTypes = Shapes::ListShape.new(name: 'CsvContentTypes') + CustomFileSystem = Shapes::UnionShape.new(name: 'CustomFileSystem') + CustomFileSystemConfig = Shapes::UnionShape.new(name: 'CustomFileSystemConfig') + CustomFileSystemConfigs = Shapes::ListShape.new(name: 'CustomFileSystemConfigs') + CustomFileSystems = Shapes::ListShape.new(name: 'CustomFileSystems') CustomImage = Shapes::StructureShape.new(name: 'CustomImage') + CustomImageContainerArguments = Shapes::ListShape.new(name: 'CustomImageContainerArguments') + CustomImageContainerEntrypoint = Shapes::ListShape.new(name: 'CustomImageContainerEntrypoint') + CustomImageContainerEnvironmentVariables = Shapes::MapShape.new(name: 'CustomImageContainerEnvironmentVariables') CustomImages = Shapes::ListShape.new(name: 'CustomImages') + CustomPosixUserConfig = Shapes::StructureShape.new(name: 'CustomPosixUserConfig') CustomerMetadataKey = Shapes::StringShape.new(name: 'CustomerMetadataKey') CustomerMetadataKeyList = Shapes::ListShape.new(name: 'CustomerMetadataKeyList') CustomerMetadataMap = Shapes::MapShape.new(name: 'CustomerMetadataMap') @@ -465,8 +475,10 @@ module ClientApi DebugRuleConfigurations = Shapes::ListShape.new(name: 'DebugRuleConfigurations') DebugRuleEvaluationStatus = Shapes::StructureShape.new(name: 'DebugRuleEvaluationStatus') DebugRuleEvaluationStatuses = Shapes::ListShape.new(name: 'DebugRuleEvaluationStatuses') + DefaultEbsStorageSettings = Shapes::StructureShape.new(name: 'DefaultEbsStorageSettings') DefaultGid = Shapes::IntegerShape.new(name: 'DefaultGid') DefaultSpaceSettings = Shapes::StructureShape.new(name: 'DefaultSpaceSettings') + DefaultSpaceStorageSettings = Shapes::StructureShape.new(name: 'DefaultSpaceStorageSettings') DefaultUid = Shapes::IntegerShape.new(name: 'DefaultUid') DeleteActionRequest = Shapes::StructureShape.new(name: 'DeleteActionRequest') DeleteActionResponse = Shapes::StructureShape.new(name: 'DeleteActionResponse') @@ -724,7 +736,10 @@ module ClientApi DriftCheckModelDataQuality = Shapes::StructureShape.new(name: 'DriftCheckModelDataQuality') DriftCheckModelQuality = Shapes::StructureShape.new(name: 'DriftCheckModelQuality') DynamicScalingConfiguration = Shapes::StructureShape.new(name: 'DynamicScalingConfiguration') + EFSFileSystem = Shapes::StructureShape.new(name: 'EFSFileSystem') + EFSFileSystemConfig = Shapes::StructureShape.new(name: 'EFSFileSystemConfig') EMRStepMetadata = Shapes::StructureShape.new(name: 'EMRStepMetadata') + EbsStorageSettings = Shapes::StructureShape.new(name: 'EbsStorageSettings') Edge = Shapes::StructureShape.new(name: 'Edge') EdgeDeploymentConfig = Shapes::StructureShape.new(name: 'EdgeDeploymentConfig') EdgeDeploymentModelConfig = Shapes::StructureShape.new(name: 'EdgeDeploymentModelConfig') @@ -838,6 +853,7 @@ module ClientApi FileSystemConfig = Shapes::StructureShape.new(name: 'FileSystemConfig') FileSystemDataSource = Shapes::StructureShape.new(name: 'FileSystemDataSource') FileSystemId = Shapes::StringShape.new(name: 'FileSystemId') + FileSystemPath = Shapes::StringShape.new(name: 'FileSystemPath') FileSystemType = Shapes::StringShape.new(name: 'FileSystemType') FillingTransformationMap = Shapes::MapShape.new(name: 'FillingTransformationMap') FillingTransformationValue = Shapes::StringShape.new(name: 'FillingTransformationValue') @@ -883,6 +899,7 @@ module ClientApi GetScalingConfigurationRecommendationResponse = Shapes::StructureShape.new(name: 'GetScalingConfigurationRecommendationResponse') GetSearchSuggestionsRequest = Shapes::StructureShape.new(name: 'GetSearchSuggestionsRequest') GetSearchSuggestionsResponse = Shapes::StructureShape.new(name: 'GetSearchSuggestionsResponse') + Gid = Shapes::IntegerShape.new(name: 'Gid') GitConfig = Shapes::StructureShape.new(name: 'GitConfig') GitConfigForUpdate = Shapes::StructureShape.new(name: 'GitConfigForUpdate') GitConfigUrl = Shapes::StringShape.new(name: 'GitConfigUrl') @@ -1075,6 +1092,8 @@ module ClientApi JsonContentType = Shapes::StringShape.new(name: 'JsonContentType') JsonContentTypes = Shapes::ListShape.new(name: 'JsonContentTypes') JsonPath = Shapes::StringShape.new(name: 'JsonPath') + JupyterLabAppImageConfig = Shapes::StructureShape.new(name: 'JupyterLabAppImageConfig') + JupyterLabAppSettings = Shapes::StructureShape.new(name: 'JupyterLabAppSettings') JupyterServerAppSettings = Shapes::StructureShape.new(name: 'JupyterServerAppSettings') KeepAlivePeriodInSeconds = Shapes::IntegerShape.new(name: 'KeepAlivePeriodInSeconds') KendraSettings = Shapes::StructureShape.new(name: 'KendraSettings') @@ -1500,6 +1519,8 @@ module ClientApi NetworkConfig = Shapes::StructureShape.new(name: 'NetworkConfig') NetworkInterfaceId = Shapes::StringShape.new(name: 'NetworkInterfaceId') NextToken = Shapes::StringShape.new(name: 'NextToken') + NonEmptyString256 = Shapes::StringShape.new(name: 'NonEmptyString256') + NonEmptyString64 = Shapes::StringShape.new(name: 'NonEmptyString64') NotebookInstanceAcceleratorType = Shapes::StringShape.new(name: 'NotebookInstanceAcceleratorType') NotebookInstanceAcceleratorTypes = Shapes::ListShape.new(name: 'NotebookInstanceAcceleratorTypes') NotebookInstanceArn = Shapes::StringShape.new(name: 'NotebookInstanceArn') @@ -1553,6 +1574,8 @@ module ClientApi OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig') OutputParameter = Shapes::StructureShape.new(name: 'OutputParameter') OutputParameterList = Shapes::ListShape.new(name: 'OutputParameterList') + OwnershipSettings = Shapes::StructureShape.new(name: 'OwnershipSettings') + OwnershipSettingsSummary = Shapes::StructureShape.new(name: 'OwnershipSettingsSummary') PaginationToken = Shapes::StringShape.new(name: 'PaginationToken') ParallelismConfiguration = Shapes::StructureShape.new(name: 'ParallelismConfiguration') Parameter = Shapes::StructureShape.new(name: 'Parameter') @@ -1845,6 +1868,7 @@ module ClientApi ShadowModelVariantConfig = Shapes::StructureShape.new(name: 'ShadowModelVariantConfig') ShadowModelVariantConfigList = Shapes::ListShape.new(name: 'ShadowModelVariantConfigList') SharingSettings = Shapes::StructureShape.new(name: 'SharingSettings') + SharingType = Shapes::StringShape.new(name: 'SharingType') ShuffleConfig = Shapes::StructureShape.new(name: 'ShuffleConfig') SingleSignOnApplicationArn = Shapes::StringShape.new(name: 'SingleSignOnApplicationArn') SingleSignOnUserIdentifier = Shapes::StringShape.new(name: 'SingleSignOnUserIdentifier') @@ -1870,12 +1894,19 @@ module ClientApi SourceType = Shapes::StringShape.new(name: 'SourceType') SourceUri = Shapes::StringShape.new(name: 'SourceUri') SpaceArn = Shapes::StringShape.new(name: 'SpaceArn') + SpaceCodeEditorAppSettings = Shapes::StructureShape.new(name: 'SpaceCodeEditorAppSettings') SpaceDetails = Shapes::StructureShape.new(name: 'SpaceDetails') + SpaceEbsVolumeSizeInGb = Shapes::IntegerShape.new(name: 'SpaceEbsVolumeSizeInGb') + SpaceJupyterLabAppSettings = Shapes::StructureShape.new(name: 'SpaceJupyterLabAppSettings') SpaceList = Shapes::ListShape.new(name: 'SpaceList') SpaceName = Shapes::StringShape.new(name: 'SpaceName') SpaceSettings = Shapes::StructureShape.new(name: 'SpaceSettings') + SpaceSettingsSummary = Shapes::StructureShape.new(name: 'SpaceSettingsSummary') + SpaceSharingSettings = Shapes::StructureShape.new(name: 'SpaceSharingSettings') + SpaceSharingSettingsSummary = Shapes::StructureShape.new(name: 'SpaceSharingSettingsSummary') SpaceSortKey = Shapes::StringShape.new(name: 'SpaceSortKey') SpaceStatus = Shapes::StringShape.new(name: 'SpaceStatus') + SpaceStorageSettings = Shapes::StructureShape.new(name: 'SpaceStorageSettings') SpawnRate = Shapes::IntegerShape.new(name: 'SpawnRate') SplitType = Shapes::StringShape.new(name: 'SplitType') StageStatus = Shapes::StringShape.new(name: 'StageStatus') @@ -2074,6 +2105,7 @@ module ClientApi UiConfig = Shapes::StructureShape.new(name: 'UiConfig') UiTemplate = Shapes::StructureShape.new(name: 'UiTemplate') UiTemplateInfo = Shapes::StructureShape.new(name: 'UiTemplateInfo') + Uid = Shapes::IntegerShape.new(name: 'Uid') UpdateActionRequest = Shapes::StructureShape.new(name: 'UpdateActionRequest') UpdateActionResponse = Shapes::StructureShape.new(name: 'UpdateActionResponse') UpdateAppImageConfigRequest = Shapes::StructureShape.new(name: 'UpdateAppImageConfigRequest') @@ -2311,6 +2343,7 @@ module ClientApi AppDetails.add_member(:status, Shapes::ShapeRef.new(shape: AppStatus, location_name: "Status")) AppDetails.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTime")) AppDetails.add_member(:space_name, Shapes::ShapeRef.new(shape: SpaceName, location_name: "SpaceName")) + AppDetails.add_member(:resource_spec, Shapes::ShapeRef.new(shape: ResourceSpec, location_name: "ResourceSpec")) AppDetails.struct_class = Types::AppDetails AppImageConfigDetails.add_member(:app_image_config_arn, Shapes::ShapeRef.new(shape: AppImageConfigArn, location_name: "AppImageConfigArn")) @@ -2318,6 +2351,7 @@ module ClientApi AppImageConfigDetails.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime")) AppImageConfigDetails.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime")) AppImageConfigDetails.add_member(:kernel_gateway_image_config, Shapes::ShapeRef.new(shape: KernelGatewayImageConfig, location_name: "KernelGatewayImageConfig")) + AppImageConfigDetails.add_member(:jupyter_lab_app_image_config, Shapes::ShapeRef.new(shape: JupyterLabAppImageConfig, location_name: "JupyterLabAppImageConfig")) AppImageConfigDetails.struct_class = Types::AppImageConfigDetails AppImageConfigList.member = Shapes::ShapeRef.new(shape: AppImageConfigDetails) @@ -2806,6 +2840,10 @@ module ClientApi ClusterSummary.add_member(:cluster_status, Shapes::ShapeRef.new(shape: ClusterStatus, required: true, location_name: "ClusterStatus")) ClusterSummary.struct_class = Types::ClusterSummary + CodeEditorAppSettings.add_member(:default_resource_spec, Shapes::ShapeRef.new(shape: ResourceSpec, location_name: "DefaultResourceSpec")) + CodeEditorAppSettings.add_member(:lifecycle_config_arns, Shapes::ShapeRef.new(shape: LifecycleConfigArns, location_name: "LifecycleConfigArns")) + CodeEditorAppSettings.struct_class = Types::CodeEditorAppSettings + CodeRepositories.member = Shapes::ShapeRef.new(shape: CodeRepository) CodeRepository.add_member(:repository_url, Shapes::ShapeRef.new(shape: RepositoryUrl, required: true, location_name: "RepositoryUrl")) @@ -2869,6 +2907,11 @@ module ClientApi ContainerArguments.member = Shapes::ShapeRef.new(shape: ContainerArgument) + ContainerConfig.add_member(:container_arguments, Shapes::ShapeRef.new(shape: CustomImageContainerArguments, location_name: "ContainerArguments")) + ContainerConfig.add_member(:container_entrypoint, Shapes::ShapeRef.new(shape: CustomImageContainerEntrypoint, location_name: "ContainerEntrypoint")) + ContainerConfig.add_member(:container_environment_variables, Shapes::ShapeRef.new(shape: CustomImageContainerEnvironmentVariables, location_name: "ContainerEnvironmentVariables")) + ContainerConfig.struct_class = Types::ContainerConfig + ContainerDefinition.add_member(:container_hostname, Shapes::ShapeRef.new(shape: ContainerHostname, location_name: "ContainerHostname")) ContainerDefinition.add_member(:image, Shapes::ShapeRef.new(shape: ContainerImage, location_name: "Image")) ContainerDefinition.add_member(:image_config, Shapes::ShapeRef.new(shape: ImageConfig, location_name: "ImageConfig")) @@ -2947,6 +2990,7 @@ module ClientApi CreateAppImageConfigRequest.add_member(:app_image_config_name, Shapes::ShapeRef.new(shape: AppImageConfigName, required: true, location_name: "AppImageConfigName")) CreateAppImageConfigRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags")) CreateAppImageConfigRequest.add_member(:kernel_gateway_image_config, Shapes::ShapeRef.new(shape: KernelGatewayImageConfig, location_name: "KernelGatewayImageConfig")) + CreateAppImageConfigRequest.add_member(:jupyter_lab_app_image_config, Shapes::ShapeRef.new(shape: JupyterLabAppImageConfig, location_name: "JupyterLabAppImageConfig")) CreateAppImageConfigRequest.struct_class = Types::CreateAppImageConfigRequest CreateAppImageConfigResponse.add_member(:app_image_config_arn, Shapes::ShapeRef.new(shape: AppImageConfigArn, location_name: "AppImageConfigArn")) @@ -3491,6 +3535,9 @@ module ClientApi CreateSpaceRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: SpaceName, required: true, location_name: "SpaceName")) CreateSpaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags")) CreateSpaceRequest.add_member(:space_settings, Shapes::ShapeRef.new(shape: SpaceSettings, location_name: "SpaceSettings")) + CreateSpaceRequest.add_member(:space_display_name, Shapes::ShapeRef.new(shape: NonEmptyString64, location_name: "SpaceDisplayName")) + CreateSpaceRequest.add_member(:ownership_settings, Shapes::ShapeRef.new(shape: OwnershipSettings, location_name: "OwnershipSettings")) + CreateSpaceRequest.add_member(:space_sharing_settings, Shapes::ShapeRef.new(shape: SpaceSharingSettings, location_name: "SpaceSharingSettings")) CreateSpaceRequest.struct_class = Types::CreateSpaceRequest CreateSpaceResponse.add_member(:space_arn, Shapes::ShapeRef.new(shape: SpaceArn, location_name: "SpaceArn")) @@ -3612,13 +3659,40 @@ module ClientApi CsvContentTypes.member = Shapes::ShapeRef.new(shape: CsvContentType) + CustomFileSystem.add_member(:efs_file_system, Shapes::ShapeRef.new(shape: EFSFileSystem, location_name: "EFSFileSystem")) + CustomFileSystem.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown')) + CustomFileSystem.add_member_subclass(:efs_file_system, Types::CustomFileSystem::EfsFileSystem) + CustomFileSystem.add_member_subclass(:unknown, Types::CustomFileSystem::Unknown) + CustomFileSystem.struct_class = Types::CustomFileSystem + + CustomFileSystemConfig.add_member(:efs_file_system_config, Shapes::ShapeRef.new(shape: EFSFileSystemConfig, location_name: "EFSFileSystemConfig")) + CustomFileSystemConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown')) + CustomFileSystemConfig.add_member_subclass(:efs_file_system_config, Types::CustomFileSystemConfig::EfsFileSystemConfig) + CustomFileSystemConfig.add_member_subclass(:unknown, Types::CustomFileSystemConfig::Unknown) + CustomFileSystemConfig.struct_class = Types::CustomFileSystemConfig + + CustomFileSystemConfigs.member = Shapes::ShapeRef.new(shape: CustomFileSystemConfig) + + CustomFileSystems.member = Shapes::ShapeRef.new(shape: CustomFileSystem) + CustomImage.add_member(:image_name, Shapes::ShapeRef.new(shape: ImageName, required: true, location_name: "ImageName")) CustomImage.add_member(:image_version_number, Shapes::ShapeRef.new(shape: ImageVersionNumber, location_name: "ImageVersionNumber", metadata: {"box"=>true})) CustomImage.add_member(:app_image_config_name, Shapes::ShapeRef.new(shape: AppImageConfigName, required: true, location_name: "AppImageConfigName")) CustomImage.struct_class = Types::CustomImage + CustomImageContainerArguments.member = Shapes::ShapeRef.new(shape: NonEmptyString64) + + CustomImageContainerEntrypoint.member = Shapes::ShapeRef.new(shape: NonEmptyString256) + + CustomImageContainerEnvironmentVariables.key = Shapes::ShapeRef.new(shape: NonEmptyString256) + CustomImageContainerEnvironmentVariables.value = Shapes::ShapeRef.new(shape: String256) + CustomImages.member = Shapes::ShapeRef.new(shape: CustomImage) + CustomPosixUserConfig.add_member(:uid, Shapes::ShapeRef.new(shape: Uid, required: true, location_name: "Uid")) + CustomPosixUserConfig.add_member(:gid, Shapes::ShapeRef.new(shape: Gid, required: true, location_name: "Gid")) + CustomPosixUserConfig.struct_class = Types::CustomPosixUserConfig + CustomerMetadataKeyList.member = Shapes::ShapeRef.new(shape: CustomerMetadataKey) CustomerMetadataMap.key = Shapes::ShapeRef.new(shape: CustomerMetadataKey) @@ -3708,12 +3782,19 @@ module ClientApi DebugRuleEvaluationStatuses.member = Shapes::ShapeRef.new(shape: DebugRuleEvaluationStatus) + DefaultEbsStorageSettings.add_member(:default_ebs_volume_size_in_gb, Shapes::ShapeRef.new(shape: SpaceEbsVolumeSizeInGb, required: true, location_name: "DefaultEbsVolumeSizeInGb")) + DefaultEbsStorageSettings.add_member(:maximum_ebs_volume_size_in_gb, Shapes::ShapeRef.new(shape: SpaceEbsVolumeSizeInGb, required: true, location_name: "MaximumEbsVolumeSizeInGb")) + DefaultEbsStorageSettings.struct_class = Types::DefaultEbsStorageSettings + DefaultSpaceSettings.add_member(:execution_role, Shapes::ShapeRef.new(shape: RoleArn, location_name: "ExecutionRole")) DefaultSpaceSettings.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroups")) DefaultSpaceSettings.add_member(:jupyter_server_app_settings, Shapes::ShapeRef.new(shape: JupyterServerAppSettings, location_name: "JupyterServerAppSettings")) DefaultSpaceSettings.add_member(:kernel_gateway_app_settings, Shapes::ShapeRef.new(shape: KernelGatewayAppSettings, location_name: "KernelGatewayAppSettings")) DefaultSpaceSettings.struct_class = Types::DefaultSpaceSettings + DefaultSpaceStorageSettings.add_member(:default_ebs_storage_settings, Shapes::ShapeRef.new(shape: DefaultEbsStorageSettings, location_name: "DefaultEbsStorageSettings")) + DefaultSpaceStorageSettings.struct_class = Types::DefaultSpaceStorageSettings + DeleteActionRequest.add_member(:action_name, Shapes::ShapeRef.new(shape: ExperimentEntityName, required: true, location_name: "ActionName")) DeleteActionRequest.struct_class = Types::DeleteActionRequest @@ -3998,6 +4079,7 @@ module ClientApi DescribeAppImageConfigResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime")) DescribeAppImageConfigResponse.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModifiedTime")) DescribeAppImageConfigResponse.add_member(:kernel_gateway_image_config, Shapes::ShapeRef.new(shape: KernelGatewayImageConfig, location_name: "KernelGatewayImageConfig")) + DescribeAppImageConfigResponse.add_member(:jupyter_lab_app_image_config, Shapes::ShapeRef.new(shape: JupyterLabAppImageConfig, location_name: "JupyterLabAppImageConfig")) DescribeAppImageConfigResponse.struct_class = Types::DescribeAppImageConfigResponse DescribeAppRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId")) @@ -4862,6 +4944,9 @@ module ClientApi DescribeSpaceResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "FailureReason")) DescribeSpaceResponse.add_member(:space_settings, Shapes::ShapeRef.new(shape: SpaceSettings, location_name: "SpaceSettings")) DescribeSpaceResponse.add_member(:url, Shapes::ShapeRef.new(shape: String1024, location_name: "Url")) + DescribeSpaceResponse.add_member(:space_display_name, Shapes::ShapeRef.new(shape: NonEmptyString64, location_name: "SpaceDisplayName")) + DescribeSpaceResponse.add_member(:ownership_settings, Shapes::ShapeRef.new(shape: OwnershipSettings, location_name: "OwnershipSettings")) + DescribeSpaceResponse.add_member(:space_sharing_settings, Shapes::ShapeRef.new(shape: SpaceSharingSettings, location_name: "SpaceSharingSettings")) DescribeSpaceResponse.struct_class = Types::DescribeSpaceResponse DescribeStudioLifecycleConfigRequest.add_member(:studio_lifecycle_config_name, Shapes::ShapeRef.new(shape: StudioLifecycleConfigName, required: true, location_name: "StudioLifecycleConfigName")) @@ -5152,12 +5237,22 @@ module ClientApi DynamicScalingConfiguration.add_member(:scaling_policies, Shapes::ShapeRef.new(shape: ScalingPolicies, location_name: "ScalingPolicies")) DynamicScalingConfiguration.struct_class = Types::DynamicScalingConfiguration + EFSFileSystem.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId")) + EFSFileSystem.struct_class = Types::EFSFileSystem + + EFSFileSystemConfig.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId")) + EFSFileSystemConfig.add_member(:file_system_path, Shapes::ShapeRef.new(shape: FileSystemPath, location_name: "FileSystemPath")) + EFSFileSystemConfig.struct_class = Types::EFSFileSystemConfig + EMRStepMetadata.add_member(:cluster_id, Shapes::ShapeRef.new(shape: String256, location_name: "ClusterId")) EMRStepMetadata.add_member(:step_id, Shapes::ShapeRef.new(shape: String256, location_name: "StepId")) EMRStepMetadata.add_member(:step_name, Shapes::ShapeRef.new(shape: String256, location_name: "StepName")) EMRStepMetadata.add_member(:log_file_path, Shapes::ShapeRef.new(shape: String1024, location_name: "LogFilePath")) EMRStepMetadata.struct_class = Types::EMRStepMetadata + EbsStorageSettings.add_member(:ebs_volume_size_in_gb, Shapes::ShapeRef.new(shape: SpaceEbsVolumeSizeInGb, required: true, location_name: "EbsVolumeSizeInGb")) + EbsStorageSettings.struct_class = Types::EbsStorageSettings + Edge.add_member(:source_arn, Shapes::ShapeRef.new(shape: AssociationEntityArn, location_name: "SourceArn")) Edge.add_member(:destination_arn, Shapes::ShapeRef.new(shape: AssociationEntityArn, location_name: "DestinationArn")) Edge.add_member(:association_type, Shapes::ShapeRef.new(shape: AssociationEdgeType, location_name: "AssociationType")) @@ -6012,6 +6107,15 @@ module ClientApi JsonContentTypes.member = Shapes::ShapeRef.new(shape: JsonContentType) + JupyterLabAppImageConfig.add_member(:container_config, Shapes::ShapeRef.new(shape: ContainerConfig, location_name: "ContainerConfig")) + JupyterLabAppImageConfig.struct_class = Types::JupyterLabAppImageConfig + + JupyterLabAppSettings.add_member(:default_resource_spec, Shapes::ShapeRef.new(shape: ResourceSpec, location_name: "DefaultResourceSpec")) + 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.struct_class = Types::JupyterLabAppSettings + JupyterServerAppSettings.add_member(:default_resource_spec, Shapes::ShapeRef.new(shape: ResourceSpec, location_name: "DefaultResourceSpec")) JupyterServerAppSettings.add_member(:lifecycle_config_arns, Shapes::ShapeRef.new(shape: LifecycleConfigArns, location_name: "LifecycleConfigArns")) JupyterServerAppSettings.add_member(:code_repositories, Shapes::ShapeRef.new(shape: CodeRepositories, location_name: "CodeRepositories")) @@ -7878,6 +7982,12 @@ module ClientApi OutputParameterList.member = Shapes::ShapeRef.new(shape: OutputParameter) + OwnershipSettings.add_member(:owner_user_profile_name, Shapes::ShapeRef.new(shape: UserProfileName, required: true, location_name: "OwnerUserProfileName")) + OwnershipSettings.struct_class = Types::OwnershipSettings + + OwnershipSettingsSummary.add_member(:owner_user_profile_name, Shapes::ShapeRef.new(shape: UserProfileName, location_name: "OwnerUserProfileName")) + OwnershipSettingsSummary.struct_class = Types::OwnershipSettingsSummary + ParallelismConfiguration.add_member(:max_parallel_execution_steps, Shapes::ShapeRef.new(shape: MaxParallelExecutionSteps, required: true, location_name: "MaxParallelExecutionSteps")) ParallelismConfiguration.struct_class = Types::ParallelismConfiguration @@ -8700,19 +8810,48 @@ module ClientApi SourceIpConfig.add_member(:cidrs, Shapes::ShapeRef.new(shape: Cidrs, required: true, location_name: "Cidrs")) SourceIpConfig.struct_class = Types::SourceIpConfig + SpaceCodeEditorAppSettings.add_member(:default_resource_spec, Shapes::ShapeRef.new(shape: ResourceSpec, location_name: "DefaultResourceSpec")) + SpaceCodeEditorAppSettings.struct_class = Types::SpaceCodeEditorAppSettings + SpaceDetails.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, location_name: "DomainId")) SpaceDetails.add_member(:space_name, Shapes::ShapeRef.new(shape: SpaceName, location_name: "SpaceName")) SpaceDetails.add_member(:status, Shapes::ShapeRef.new(shape: SpaceStatus, location_name: "Status")) SpaceDetails.add_member(:creation_time, Shapes::ShapeRef.new(shape: CreationTime, location_name: "CreationTime")) SpaceDetails.add_member(:last_modified_time, Shapes::ShapeRef.new(shape: LastModifiedTime, location_name: "LastModifiedTime")) + SpaceDetails.add_member(:space_display_name, Shapes::ShapeRef.new(shape: NonEmptyString64, location_name: "SpaceDisplayName")) + SpaceDetails.add_member(:space_settings_summary, Shapes::ShapeRef.new(shape: SpaceSettingsSummary, location_name: "SpaceSettingsSummary")) + SpaceDetails.add_member(:space_sharing_settings_summary, Shapes::ShapeRef.new(shape: SpaceSharingSettingsSummary, location_name: "SpaceSharingSettingsSummary")) + SpaceDetails.add_member(:ownership_settings_summary, Shapes::ShapeRef.new(shape: OwnershipSettingsSummary, location_name: "OwnershipSettingsSummary")) SpaceDetails.struct_class = Types::SpaceDetails + 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.struct_class = Types::SpaceJupyterLabAppSettings + SpaceList.member = Shapes::ShapeRef.new(shape: SpaceDetails) SpaceSettings.add_member(:jupyter_server_app_settings, Shapes::ShapeRef.new(shape: JupyterServerAppSettings, location_name: "JupyterServerAppSettings")) SpaceSettings.add_member(:kernel_gateway_app_settings, Shapes::ShapeRef.new(shape: KernelGatewayAppSettings, location_name: "KernelGatewayAppSettings")) + SpaceSettings.add_member(:jupyter_lab_app_settings, Shapes::ShapeRef.new(shape: SpaceJupyterLabAppSettings, location_name: "JupyterLabAppSettings")) + SpaceSettings.add_member(:code_editor_app_settings, Shapes::ShapeRef.new(shape: SpaceCodeEditorAppSettings, location_name: "CodeEditorAppSettings")) + SpaceSettings.add_member(:space_storage_settings, Shapes::ShapeRef.new(shape: SpaceStorageSettings, location_name: "SpaceStorageSettings")) + SpaceSettings.add_member(:app_type, Shapes::ShapeRef.new(shape: AppType, location_name: "AppType")) + SpaceSettings.add_member(:custom_file_systems, Shapes::ShapeRef.new(shape: CustomFileSystems, location_name: "CustomFileSystems")) SpaceSettings.struct_class = Types::SpaceSettings + SpaceSettingsSummary.add_member(:app_type, Shapes::ShapeRef.new(shape: AppType, location_name: "AppType")) + SpaceSettingsSummary.add_member(:space_storage_settings, Shapes::ShapeRef.new(shape: SpaceStorageSettings, location_name: "SpaceStorageSettings")) + SpaceSettingsSummary.struct_class = Types::SpaceSettingsSummary + + SpaceSharingSettings.add_member(:sharing_type, Shapes::ShapeRef.new(shape: SharingType, required: true, location_name: "SharingType")) + SpaceSharingSettings.struct_class = Types::SpaceSharingSettings + + SpaceSharingSettingsSummary.add_member(:sharing_type, Shapes::ShapeRef.new(shape: SharingType, location_name: "SharingType")) + SpaceSharingSettingsSummary.struct_class = Types::SpaceSharingSettingsSummary + + SpaceStorageSettings.add_member(:ebs_storage_settings, Shapes::ShapeRef.new(shape: EbsStorageSettings, location_name: "EbsStorageSettings")) + SpaceStorageSettings.struct_class = Types::SpaceStorageSettings + Stairs.add_member(:duration_in_seconds, Shapes::ShapeRef.new(shape: TrafficDurationInSeconds, location_name: "DurationInSeconds")) Stairs.add_member(:number_of_steps, Shapes::ShapeRef.new(shape: NumberOfSteps, location_name: "NumberOfSteps")) Stairs.add_member(:users_per_step, Shapes::ShapeRef.new(shape: UsersPerStep, location_name: "UsersPerStep")) @@ -9248,6 +9387,7 @@ module ClientApi UpdateAppImageConfigRequest.add_member(:app_image_config_name, Shapes::ShapeRef.new(shape: AppImageConfigName, required: true, location_name: "AppImageConfigName")) UpdateAppImageConfigRequest.add_member(:kernel_gateway_image_config, Shapes::ShapeRef.new(shape: KernelGatewayImageConfig, location_name: "KernelGatewayImageConfig")) + UpdateAppImageConfigRequest.add_member(:jupyter_lab_app_image_config, Shapes::ShapeRef.new(shape: JupyterLabAppImageConfig, location_name: "JupyterLabAppImageConfig")) UpdateAppImageConfigRequest.struct_class = Types::UpdateAppImageConfigRequest UpdateAppImageConfigResponse.add_member(:app_image_config_arn, Shapes::ShapeRef.new(shape: AppImageConfigArn, location_name: "AppImageConfigArn")) @@ -9505,6 +9645,7 @@ module ClientApi UpdateSpaceRequest.add_member(:domain_id, Shapes::ShapeRef.new(shape: DomainId, required: true, location_name: "DomainId")) UpdateSpaceRequest.add_member(:space_name, Shapes::ShapeRef.new(shape: SpaceName, required: true, location_name: "SpaceName")) UpdateSpaceRequest.add_member(:space_settings, Shapes::ShapeRef.new(shape: SpaceSettings, location_name: "SpaceSettings")) + UpdateSpaceRequest.add_member(:space_display_name, Shapes::ShapeRef.new(shape: NonEmptyString64, location_name: "SpaceDisplayName")) UpdateSpaceRequest.struct_class = Types::UpdateSpaceRequest UpdateSpaceResponse.add_member(:space_arn, Shapes::ShapeRef.new(shape: SpaceArn, location_name: "SpaceArn")) @@ -9592,8 +9733,13 @@ module ClientApi UserSettings.add_member(:r_studio_server_pro_app_settings, Shapes::ShapeRef.new(shape: RStudioServerProAppSettings, location_name: "RStudioServerProAppSettings")) UserSettings.add_member(:r_session_app_settings, Shapes::ShapeRef.new(shape: RSessionAppSettings, location_name: "RSessionAppSettings")) UserSettings.add_member(:canvas_app_settings, Shapes::ShapeRef.new(shape: CanvasAppSettings, location_name: "CanvasAppSettings")) + UserSettings.add_member(:jupyter_lab_app_settings, Shapes::ShapeRef.new(shape: JupyterLabAppSettings, location_name: "JupyterLabAppSettings")) + UserSettings.add_member(:code_editor_app_settings, Shapes::ShapeRef.new(shape: CodeEditorAppSettings, location_name: "CodeEditorAppSettings")) + UserSettings.add_member(:space_storage_settings, Shapes::ShapeRef.new(shape: DefaultSpaceStorageSettings, location_name: "SpaceStorageSettings")) UserSettings.add_member(:default_landing_uri, Shapes::ShapeRef.new(shape: LandingUri, location_name: "DefaultLandingUri")) UserSettings.add_member(:studio_web_portal, Shapes::ShapeRef.new(shape: StudioWebPortal, location_name: "StudioWebPortal")) + UserSettings.add_member(:custom_posix_user_config, Shapes::ShapeRef.new(shape: CustomPosixUserConfig, location_name: "CustomPosixUserConfig")) + UserSettings.add_member(:custom_file_system_configs, Shapes::ShapeRef.new(shape: CustomFileSystemConfigs, location_name: "CustomFileSystemConfigs")) UserSettings.struct_class = Types::UserSettings VariantProperty.add_member(:variant_property_type, Shapes::ShapeRef.new(shape: VariantPropertyType, required: true, location_name: "VariantPropertyType")) 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 6e59cd1f1b6..2458d5fe9cf 100644 --- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb +++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb @@ -1287,6 +1287,11 @@ class AnnotationConsolidationConfig < Struct.new( # The name of the space. # @return [String] # + # @!attribute [rw] resource_spec + # Specifies the ARN's of a SageMaker image and SageMaker image + # version, and the instance type that the version runs on. + # @return [Types::ResourceSpec] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AppDetails AWS API Documentation # class AppDetails < Struct.new( @@ -1296,7 +1301,8 @@ class AppDetails < Struct.new( :app_name, :status, :creation_time, - :space_name) + :space_name, + :resource_spec) SENSITIVE = [] include Aws::Structure end @@ -1325,6 +1331,11 @@ class AppDetails < Struct.new( # image. # @return [Types::KernelGatewayImageConfig] # + # @!attribute [rw] jupyter_lab_app_image_config + # The configuration for the file system and the runtime, such as the + # environment variables and entry point. + # @return [Types::JupyterLabAppImageConfig] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AppImageConfigDetails AWS API Documentation # class AppImageConfigDetails < Struct.new( @@ -1332,7 +1343,8 @@ class AppImageConfigDetails < Struct.new( :app_image_config_name, :creation_time, :last_modified_time, - :kernel_gateway_image_config) + :kernel_gateway_image_config, + :jupyter_lab_app_image_config) SENSITIVE = [] include Aws::Structure end @@ -4169,6 +4181,34 @@ class ClusterSummary < Struct.new( include Aws::Structure end + # The Code Editor application settings. + # + # For more information about Code Editor, see [Get started with Code + # Editor in Amazon SageMaker][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/sagemaker/latest/dg/code-editor.html + # + # @!attribute [rw] default_resource_spec + # Specifies the ARN's of a SageMaker image and SageMaker image + # version, and the instance type that the version runs on. + # @return [Types::ResourceSpec] + # + # @!attribute [rw] lifecycle_config_arns + # The Amazon Resource Name (ARN) of the Code Editor application + # lifecycle configuration. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CodeEditorAppSettings AWS API Documentation + # + class CodeEditorAppSettings < Struct.new( + :default_resource_spec, + :lifecycle_config_arns) + SENSITIVE = [] + include Aws::Structure + end + # A Git repository that SageMaker automatically displays to users for # cloning in the JupyterServer application. # @@ -4427,6 +4467,31 @@ class ConflictException < Struct.new( include Aws::Structure end + # The configuration used to run the application image container. + # + # @!attribute [rw] container_arguments + # The arguments for the container when you're running the + # application. + # @return [Array] + # + # @!attribute [rw] container_entrypoint + # The entrypoint used to run the application in the container. + # @return [Array] + # + # @!attribute [rw] container_environment_variables + # The environment variables to set in the container + # @return [Hash] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ContainerConfig AWS API Documentation + # + class ContainerConfig < Struct.new( + :container_arguments, + :container_entrypoint, + :container_environment_variables) + SENSITIVE = [] + include Aws::Structure + end + # Describes the container, as part of model definition. # # @!attribute [rw] container_hostname @@ -4908,12 +4973,20 @@ class CreateAlgorithmOutput < Struct.new( # JupyterLab. # @return [Types::KernelGatewayImageConfig] # + # @!attribute [rw] jupyter_lab_app_image_config + # The `JupyterLabAppImageConfig`. You can only specify one image + # kernel in the `AppImageConfig` API. This kernel is shown to users + # before the image starts. After the image runs, all kernels are + # visible in JupyterLab. + # @return [Types::JupyterLabAppImageConfig] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAppImageConfigRequest AWS API Documentation # class CreateAppImageConfigRequest < Struct.new( :app_image_config_name, :tags, - :kernel_gateway_image_config) + :kernel_gateway_image_config, + :jupyter_lab_app_image_config) SENSITIVE = [] include Aws::Structure end @@ -8541,13 +8614,28 @@ class CreateProjectOutput < Struct.new( # A collection of space settings. # @return [Types::SpaceSettings] # + # @!attribute [rw] space_display_name + # The name of the space that appears in the SageMaker Studio UI. + # @return [String] + # + # @!attribute [rw] ownership_settings + # A collection of ownership settings. + # @return [Types::OwnershipSettings] + # + # @!attribute [rw] space_sharing_settings + # A collection of space sharing settings. + # @return [Types::SpaceSharingSettings] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateSpaceRequest AWS API Documentation # class CreateSpaceRequest < Struct.new( :domain_id, :space_name, :tags, - :space_settings) + :space_settings, + :space_display_name, + :ownership_settings, + :space_sharing_settings) SENSITIVE = [] include Aws::Structure end @@ -9412,6 +9500,56 @@ class CreateWorkteamResponse < Struct.new( include Aws::Structure end + # A file system, created by you, that you assign to a user profile or + # space for an Amazon SageMaker Domain. Permitted users can access this + # file system in Amazon SageMaker Studio. + # + # @note CustomFileSystem is a union - when making an API calls you must set exactly one of the members. + # + # @note CustomFileSystem is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CustomFileSystem corresponding to the set member. + # + # @!attribute [rw] efs_file_system + # A custom file system in Amazon EFS. + # @return [Types::EFSFileSystem] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CustomFileSystem AWS API Documentation + # + class CustomFileSystem < Struct.new( + :efs_file_system, + :unknown) + SENSITIVE = [] + include Aws::Structure + include Aws::Structure::Union + + class EfsFileSystem < CustomFileSystem; end + class Unknown < CustomFileSystem; end + end + + # The settings for assigning a custom file system to a user profile or + # space for an Amazon SageMaker Domain. Permitted users can access this + # file system in Amazon SageMaker Studio. + # + # @note CustomFileSystemConfig is a union - when making an API calls you must set exactly one of the members. + # + # @note CustomFileSystemConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CustomFileSystemConfig corresponding to the set member. + # + # @!attribute [rw] efs_file_system_config + # The settings for a custom Amazon EFS file system. + # @return [Types::EFSFileSystemConfig] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CustomFileSystemConfig AWS API Documentation + # + class CustomFileSystemConfig < Struct.new( + :efs_file_system_config, + :unknown) + SENSITIVE = [] + include Aws::Structure + include Aws::Structure::Union + + class EfsFileSystemConfig < CustomFileSystemConfig; end + class Unknown < CustomFileSystemConfig; end + end + # A custom SageMaker image. For more information, see [Bring your own # SageMaker image][1]. # @@ -9441,6 +9579,26 @@ class CustomImage < Struct.new( include Aws::Structure end + # Details about the POSIX identity that is used for file system + # operations. + # + # @!attribute [rw] uid + # The POSIX user ID. + # @return [Integer] + # + # @!attribute [rw] gid + # The POSIX group ID. + # @return [Integer] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CustomPosixUserConfig AWS API Documentation + # + class CustomPosixUserConfig < Struct.new( + :uid, + :gid) + SENSITIVE = [] + include Aws::Structure + end + # A customized metric. # # @!attribute [rw] metric_name @@ -9959,6 +10117,26 @@ class DebugRuleEvaluationStatus < Struct.new( include Aws::Structure end + # A collection of default EBS storage settings that applies to private + # spaces created within a domain or user profile. + # + # @!attribute [rw] default_ebs_volume_size_in_gb + # The default size of the EBS storage volume for a private space. + # @return [Integer] + # + # @!attribute [rw] maximum_ebs_volume_size_in_gb + # The maximum size of the EBS storage volume for a private space. + # @return [Integer] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DefaultEbsStorageSettings AWS API Documentation + # + class DefaultEbsStorageSettings < Struct.new( + :default_ebs_volume_size_in_gb, + :maximum_ebs_volume_size_in_gb) + SENSITIVE = [] + include Aws::Structure + end + # A collection of settings that apply to spaces created in the Domain. # # @!attribute [rw] execution_role @@ -9989,6 +10167,20 @@ class DefaultSpaceSettings < Struct.new( include Aws::Structure end + # The default storage settings for a private space. + # + # @!attribute [rw] default_ebs_storage_settings + # The default EBS storage settings for a private space. + # @return [Types::DefaultEbsStorageSettings] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DefaultSpaceStorageSettings AWS API Documentation + # + class DefaultSpaceStorageSettings < Struct.new( + :default_ebs_storage_settings) + SENSITIVE = [] + include Aws::Structure + end + # @!attribute [rw] action_name # The name of the action to delete. # @return [String] @@ -11211,6 +11403,10 @@ class DescribeAppImageConfigRequest < Struct.new( # The configuration of a KernelGateway app. # @return [Types::KernelGatewayImageConfig] # + # @!attribute [rw] jupyter_lab_app_image_config + # The configuration of the JupyterLab app. + # @return [Types::JupyterLabAppImageConfig] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAppImageConfigResponse AWS API Documentation # class DescribeAppImageConfigResponse < Struct.new( @@ -11218,7 +11414,8 @@ class DescribeAppImageConfigResponse < Struct.new( :app_image_config_name, :creation_time, :last_modified_time, - :kernel_gateway_image_config) + :kernel_gateway_image_config, + :jupyter_lab_app_image_config) SENSITIVE = [] include Aws::Structure end @@ -15899,6 +16096,19 @@ class DescribeSpaceRequest < Struct.new( # * JupyterLab: `&redirect=JupyterLab` # @return [String] # + # @!attribute [rw] space_display_name + # The name of the space that appears in the Amazon SageMaker Studio + # UI. + # @return [String] + # + # @!attribute [rw] ownership_settings + # The collection of ownership settings for a space. + # @return [Types::OwnershipSettings] + # + # @!attribute [rw] space_sharing_settings + # The collection of space sharing settings for a space. + # @return [Types::SpaceSharingSettings] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSpaceResponse AWS API Documentation # class DescribeSpaceResponse < Struct.new( @@ -15911,7 +16121,10 @@ class DescribeSpaceResponse < Struct.new( :creation_time, :failure_reason, :space_settings, - :url) + :url, + :space_display_name, + :ownership_settings, + :space_sharing_settings) SENSITIVE = [] include Aws::Structure end @@ -17480,6 +17693,44 @@ class DynamicScalingConfiguration < Struct.new( include Aws::Structure end + # A file system, created by you in Amazon EFS, that you assign to a user + # profile or space for an Amazon SageMaker Domain. Permitted users can + # access this file system in Amazon SageMaker Studio. + # + # @!attribute [rw] file_system_id + # The ID of your Amazon EFS file system. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EFSFileSystem AWS API Documentation + # + class EFSFileSystem < Struct.new( + :file_system_id) + SENSITIVE = [] + include Aws::Structure + end + + # The settings for assigning a custom Amazon EFS file system to a user + # profile or space for an Amazon SageMaker Domain. + # + # @!attribute [rw] file_system_id + # The ID of your Amazon EFS file system. + # @return [String] + # + # @!attribute [rw] file_system_path + # The path to the file system directory that is accessible in Amazon + # SageMaker Studio. Permitted users can access only this directory and + # below. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EFSFileSystemConfig AWS API Documentation + # + class EFSFileSystemConfig < Struct.new( + :file_system_id, + :file_system_path) + SENSITIVE = [] + include Aws::Structure + end + # The configurations and outcomes of an Amazon EMR step execution. # # @!attribute [rw] cluster_id @@ -17510,6 +17761,20 @@ class EMRStepMetadata < Struct.new( include Aws::Structure end + # A collection of EBS storage settings that applies to private spaces. + # + # @!attribute [rw] ebs_volume_size_in_gb + # The size of an EBS storage volume for a private space. + # @return [Integer] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EbsStorageSettings AWS API Documentation + # + class EbsStorageSettings < Struct.new( + :ebs_volume_size_in_gb) + SENSITIVE = [] + include Aws::Structure + end + # A directed edge connecting two lineage entities. # # @!attribute [rw] source_arn @@ -23302,6 +23567,55 @@ class IntegerParameterRangeSpecification < Struct.new( include Aws::Structure end + # The configuration for the file system and kernels in a SageMaker image + # running as a JupyterLab app. + # + # @!attribute [rw] container_config + # The configuration used to run the application image container. + # @return [Types::ContainerConfig] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/JupyterLabAppImageConfig AWS API Documentation + # + class JupyterLabAppImageConfig < Struct.new( + :container_config) + SENSITIVE = [] + include Aws::Structure + end + + # The settings for the JupyterLab application. + # + # @!attribute [rw] default_resource_spec + # Specifies the ARN's of a SageMaker image and SageMaker image + # version, and the instance type that the version runs on. + # @return [Types::ResourceSpec] + # + # @!attribute [rw] custom_images + # A list of custom SageMaker images that are configured to run as a + # JupyterLab app. + # @return [Array] + # + # @!attribute [rw] lifecycle_config_arns + # The Amazon Resource Name (ARN) of the lifecycle configurations + # attached to the user profile or domain. To remove a lifecycle + # config, you must set `LifecycleConfigArns` to an empty list. + # @return [Array] + # + # @!attribute [rw] code_repositories + # A list of Git repositories that SageMaker automatically displays to + # users for cloning in the JupyterLab application. + # @return [Array] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/JupyterLabAppSettings AWS API Documentation + # + class JupyterLabAppSettings < Struct.new( + :default_resource_spec, + :custom_images, + :lifecycle_config_arns, + :code_repositories) + SENSITIVE = [] + include Aws::Structure + end + # The JupyterServer app settings. # # @!attribute [rw] default_resource_spec @@ -33306,6 +33620,34 @@ class OutputParameter < Struct.new( include Aws::Structure end + # The collection of ownership settings for a space. + # + # @!attribute [rw] owner_user_profile_name + # The user profile who is the owner of the private space. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/OwnershipSettings AWS API Documentation + # + class OwnershipSettings < Struct.new( + :owner_user_profile_name) + SENSITIVE = [] + include Aws::Structure + end + + # Specifies summary information about the ownership settings. + # + # @!attribute [rw] owner_user_profile_name + # The user profile who is the owner of the private space. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/OwnershipSettingsSummary AWS API Documentation + # + class OwnershipSettingsSummary < Struct.new( + :owner_user_profile_name) + SENSITIVE = [] + include Aws::Structure + end + # Configuration that controls the parallelism of the pipeline. By # default, the parallelism configuration specified applies to all # executions of the pipeline unless overridden. @@ -38406,6 +38748,21 @@ class SourceIpConfig < Struct.new( include Aws::Structure end + # The application settings for a Code Editor space. + # + # @!attribute [rw] default_resource_spec + # Specifies the ARN's of a SageMaker image and SageMaker image + # version, and the instance type that the version runs on. + # @return [Types::ResourceSpec] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SpaceCodeEditorAppSettings AWS API Documentation + # + class SpaceCodeEditorAppSettings < Struct.new( + :default_resource_spec) + SENSITIVE = [] + include Aws::Structure + end + # The space's details. # # @!attribute [rw] domain_id @@ -38428,6 +38785,22 @@ class SourceIpConfig < Struct.new( # The last modified time. # @return [Time] # + # @!attribute [rw] space_display_name + # The name of the space that appears in the Studio UI. + # @return [String] + # + # @!attribute [rw] space_settings_summary + # Specifies summary information about the space settings. + # @return [Types::SpaceSettingsSummary] + # + # @!attribute [rw] space_sharing_settings_summary + # Specifies summary information about the space sharing settings. + # @return [Types::SpaceSharingSettingsSummary] + # + # @!attribute [rw] ownership_settings_summary + # Specifies summary information about the ownership settings. + # @return [Types::OwnershipSettingsSummary] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SpaceDetails AWS API Documentation # class SpaceDetails < Struct.new( @@ -38435,7 +38808,32 @@ class SpaceDetails < Struct.new( :space_name, :status, :creation_time, - :last_modified_time) + :last_modified_time, + :space_display_name, + :space_settings_summary, + :space_sharing_settings_summary, + :ownership_settings_summary) + SENSITIVE = [] + include Aws::Structure + end + + # The settings for the JupyterLab application within a space. + # + # @!attribute [rw] default_resource_spec + # Specifies the ARN's of a SageMaker image and SageMaker image + # version, and the instance type that the version runs on. + # @return [Types::ResourceSpec] + # + # @!attribute [rw] code_repositories + # A list of Git repositories that SageMaker automatically displays to + # users for cloning in the JupyterLab application. + # @return [Array] + # + # @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) SENSITIVE = [] include Aws::Structure end @@ -38450,11 +38848,99 @@ class SpaceDetails < Struct.new( # The KernelGateway app settings. # @return [Types::KernelGatewayAppSettings] # + # @!attribute [rw] jupyter_lab_app_settings + # The settings for the JupyterLab application. + # @return [Types::SpaceJupyterLabAppSettings] + # + # @!attribute [rw] code_editor_app_settings + # The Code Editor application settings. + # @return [Types::SpaceCodeEditorAppSettings] + # + # @!attribute [rw] space_storage_settings + # The storage settings for a private space. + # @return [Types::SpaceStorageSettings] + # + # @!attribute [rw] app_type + # The type of app created within the space. + # @return [String] + # + # @!attribute [rw] custom_file_systems + # A file system, created by you, that you assign to a space for an + # Amazon SageMaker Domain. Permitted users can access this file system + # in Amazon SageMaker Studio. + # @return [Array] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SpaceSettings AWS API Documentation # class SpaceSettings < Struct.new( :jupyter_server_app_settings, - :kernel_gateway_app_settings) + :kernel_gateway_app_settings, + :jupyter_lab_app_settings, + :code_editor_app_settings, + :space_storage_settings, + :app_type, + :custom_file_systems) + SENSITIVE = [] + include Aws::Structure + end + + # Specifies summary information about the space settings. + # + # @!attribute [rw] app_type + # The type of app created within the space. + # @return [String] + # + # @!attribute [rw] space_storage_settings + # The storage settings for a private space. + # @return [Types::SpaceStorageSettings] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SpaceSettingsSummary AWS API Documentation + # + class SpaceSettingsSummary < Struct.new( + :app_type, + :space_storage_settings) + SENSITIVE = [] + include Aws::Structure + end + + # A collection of space sharing settings. + # + # @!attribute [rw] sharing_type + # Specifies the sharing type of the space. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SpaceSharingSettings AWS API Documentation + # + class SpaceSharingSettings < Struct.new( + :sharing_type) + SENSITIVE = [] + include Aws::Structure + end + + # Specifies summary information about the space sharing settings. + # + # @!attribute [rw] sharing_type + # Specifies the sharing type of the space. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SpaceSharingSettingsSummary AWS API Documentation + # + class SpaceSharingSettingsSummary < Struct.new( + :sharing_type) + SENSITIVE = [] + include Aws::Structure + end + + # The storage settings for a private space. + # + # @!attribute [rw] ebs_storage_settings + # A collection of EBS storage settings for a private space. + # @return [Types::EbsStorageSettings] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/SpaceStorageSettings AWS API Documentation + # + class SpaceStorageSettings < Struct.new( + :ebs_storage_settings) SENSITIVE = [] include Aws::Structure end @@ -41860,11 +42346,16 @@ class UpdateActionResponse < Struct.new( # The new KernelGateway app to run on the image. # @return [Types::KernelGatewayImageConfig] # + # @!attribute [rw] jupyter_lab_app_image_config + # The JupyterLab app running on the image. + # @return [Types::JupyterLabAppImageConfig] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAppImageConfigRequest AWS API Documentation # class UpdateAppImageConfigRequest < Struct.new( :app_image_config_name, - :kernel_gateway_image_config) + :kernel_gateway_image_config, + :jupyter_lab_app_image_config) SENSITIVE = [] include Aws::Structure end @@ -43216,12 +43707,18 @@ class UpdateProjectOutput < Struct.new( # A collection of space settings. # @return [Types::SpaceSettings] # + # @!attribute [rw] space_display_name + # The name of the space that appears in the Amazon SageMaker Studio + # UI. + # @return [String] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateSpaceRequest AWS API Documentation # class UpdateSpaceRequest < Struct.new( :domain_id, :space_name, - :space_settings) + :space_settings, + :space_display_name) SENSITIVE = [] include Aws::Structure end @@ -43682,6 +44179,18 @@ class UserProfileDetails < Struct.new( # The Canvas app settings. # @return [Types::CanvasAppSettings] # + # @!attribute [rw] jupyter_lab_app_settings + # The settings for the JupyterLab application. + # @return [Types::JupyterLabAppSettings] + # + # @!attribute [rw] code_editor_app_settings + # The Code Editor application settings. + # @return [Types::CodeEditorAppSettings] + # + # @!attribute [rw] space_storage_settings + # The storage settings for a private space. + # @return [Types::DefaultSpaceStorageSettings] + # # @!attribute [rw] default_landing_uri # The default experience that the user is directed to when accessing # the domain. The supported values are: @@ -43699,6 +44208,17 @@ class UserProfileDetails < Struct.new( # default experience for the domain. # @return [String] # + # @!attribute [rw] custom_posix_user_config + # Details about the POSIX identity that is used for file system + # operations. + # @return [Types::CustomPosixUserConfig] + # + # @!attribute [rw] custom_file_system_configs + # The settings for assigning a custom file system to a user profile. + # Permitted users can access this file system in Amazon SageMaker + # Studio. + # @return [Array] + # # @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UserSettings AWS API Documentation # class UserSettings < Struct.new( @@ -43711,8 +44231,13 @@ class UserSettings < Struct.new( :r_studio_server_pro_app_settings, :r_session_app_settings, :canvas_app_settings, + :jupyter_lab_app_settings, + :code_editor_app_settings, + :space_storage_settings, :default_landing_uri, - :studio_web_portal) + :studio_web_portal, + :custom_posix_user_config, + :custom_file_system_configs) SENSITIVE = [] include Aws::Structure end