GetRouteResponse
¶
Source code in docs_src/capo_migration_hub_refactor_spaces/types/get_route_response.py
append_source_path
instance-attribute
¶
append_source_path: NotRequired[Boolean]
If set to true, this option appends the source path to the service URL endpoint.
application_id
instance-attribute
¶
application_id: NotRequired[ApplicationId]
The ID of the application that the route belongs to.
created_by_account_id
instance-attribute
¶
created_by_account_id: NotRequired[AccountId]
The Amazon Web Services account ID of the route creator.
created_time
instance-attribute
¶
created_time: NotRequired[Timestamp]
The timestamp of when the route is created.
environment_id
instance-attribute
¶
environment_id: NotRequired[EnvironmentId]
Unique identifier of the environment.
error
instance-attribute
¶
error: NotRequired[ErrorResponse]
Any error associated with the route resource.
include_child_paths
instance-attribute
¶
include_child_paths: NotRequired[Boolean]
Indicates whether to match all subpaths of the given source path. If this value is false, requests must match the source path exactly before they are forwarded to this route's service.
last_updated_time
instance-attribute
¶
last_updated_time: NotRequired[Timestamp]
A timestamp that indicates when the route was last updated.
methods
instance-attribute
¶
methods: NotRequired[HttpMethods]
A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
owner_account_id
instance-attribute
¶
owner_account_id: NotRequired[AccountId]
The Amazon Web Services account ID of the route owner.
path_resource_to_id
instance-attribute
¶
path_resource_to_id: NotRequired[PathResourceToId]
A mapping of Amazon API Gateway path resources to resource IDs.
route_id
instance-attribute
¶
route_id: NotRequired[RouteId]
The unique identifier of the route.
DEFAULT: All traffic that does not match another route is forwarded to the default route. Applications must have a default route before any other routes can be created.
URI_PATH: A route that is based on a URI path.
service_id
instance-attribute
¶
service_id: NotRequired[ServiceId]
The unique identifier of the service.
source_path
instance-attribute
¶
source_path: NotRequired[UriPath]
This is the path that Refactor Spaces uses to match traffic. Paths must start with / and are relative to the base of the application. To use path parameters in the source path, add a variable in curly braces. For example, the resource path {user} represents a path parameter called 'user'.