v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1424136125.4 KB

Updates an Amazon Web Services Migration Hub Refactor Spaces route.

patch/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}

Path parameters

ApplicationIdentifierstring required

The ID of the application within which the route is being updated.

EnvironmentIdentifierstring required

The ID of the environment in which the route is being updated.

RouteIdentifierstring required

The unique identifier of the route to update.

Request body

ActivationState'ACTIVE' | 'INACTIVE' required

If set to <code>ACTIVE</code>, traffic is forwarded to this route’s service after the route is updated.

Response

Success

ApplicationIdstring

The ID of the application in which the route is being updated.

Arnstring

The Amazon Resource Name (ARN) of the route. The format for this ARN is <code>arn:aws:refactor-spaces:<i>region</i>:<i>account-id</i>:<i>resource-type/resource-id</i> </code>. For more information about ARNs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html"> Amazon Resource Names (ARNs)</a> in the <i>Amazon Web Services General Reference</i>.

LastUpdatedTimestring date-time

A timestamp that indicates when the route was last updated.

RouteIdstring

The unique identifier of the route.

ServiceIdstring

The ID of service in which the route was created. Traffic that matches this route is forwarded to this service.

State'CREATING' | 'ACTIVE' | 'DELETING' | 'FAILED' | 'UPDATING' | 'INACTIVE'

The current state of the route.