{ "smithy": "2.0", "shapes": { "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.migrationhubrefactorspaces#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "
The user does not have sufficient access to perform this action.
", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, "com.amazonaws.migrationhubrefactorspaces#AccountId": { "type": "string", "traits": { "smithy.api#length": { "min": 12, "max": 12 }, "smithy.api#pattern": "^\\d{12}$" } }, "com.amazonaws.migrationhubrefactorspaces#AdditionalDetails": { "type": "map", "key": { "target": "com.amazonaws.migrationhubrefactorspaces#AdditionalDetailsKey" }, "value": { "target": "com.amazonaws.migrationhubrefactorspaces#AdditionalDetailsValue" } }, "com.amazonaws.migrationhubrefactorspaces#AdditionalDetailsKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.migrationhubrefactorspaces#AdditionalDetailsValue": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 } } }, "com.amazonaws.migrationhubrefactorspaces#ApiGatewayEndpointType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "REGIONAL", "name": "REGIONAL" }, { "value": "PRIVATE", "name": "PRIVATE" } ] } }, "com.amazonaws.migrationhubrefactorspaces#ApiGatewayId": { "type": "string", "traits": { "smithy.api#length": { "min": 10, "max": 10 }, "smithy.api#pattern": "^[a-z0-9]{10}$" } }, "com.amazonaws.migrationhubrefactorspaces#ApiGatewayProxyConfig": { "type": "structure", "members": { "ProxyUrl": { "target": "com.amazonaws.migrationhubrefactorspaces#Uri", "traits": { "smithy.api#documentation": "The endpoint URL of the API Gateway proxy.
" } }, "ApiGatewayId": { "target": "com.amazonaws.migrationhubrefactorspaces#ApiGatewayId", "traits": { "smithy.api#documentation": "The resource ID of the API Gateway for the proxy.
" } }, "VpcLinkId": { "target": "com.amazonaws.migrationhubrefactorspaces#VpcLinkId", "traits": { "smithy.api#documentation": "The VpcLink ID of the API Gateway proxy.
The Amazon Resource Name (ARN) of the Network Load Balancer configured by the API Gateway proxy.
" } }, "NlbName": { "target": "com.amazonaws.migrationhubrefactorspaces#NlbName", "traits": { "smithy.api#documentation": "The name of the Network Load Balancer that is configured by the API Gateway proxy.\n
" } }, "EndpointType": { "target": "com.amazonaws.migrationhubrefactorspaces#ApiGatewayEndpointType", "traits": { "smithy.api#documentation": "The type of API Gateway endpoint created.
" } }, "StageName": { "target": "com.amazonaws.migrationhubrefactorspaces#StageName", "traits": { "smithy.api#documentation": "The name of the API Gateway stage. The name defaults to prod.
A wrapper object holding the Amazon API Gateway proxy configuration.
" } }, "com.amazonaws.migrationhubrefactorspaces#ApiGatewayProxyInput": { "type": "structure", "members": { "EndpointType": { "target": "com.amazonaws.migrationhubrefactorspaces#ApiGatewayEndpointType", "traits": { "smithy.api#documentation": "The type of endpoint to use for the API Gateway proxy. If no value is specified in\n the request, the value is set to REGIONAL by default.
If the value is set to PRIVATE in the request, this creates a private API\n endpoint that is isolated from the public internet. The private endpoint can only be accessed\n by using Amazon Virtual Private Cloud (Amazon VPC) interface endpoints for the Amazon API Gateway that has been granted access.\n For more information about creating a private connection with Refactor Spaces and interface\n endpoint (Amazon Web Services PrivateLink) availability, see Access\n Refactor Spaces using an interface endpoint (Amazon Web Services PrivateLink).
The name of the API Gateway stage. The name defaults to prod.
A wrapper object holding the Amazon API Gateway endpoint input.
" } }, "com.amazonaws.migrationhubrefactorspaces#ApiGatewayProxySummary": { "type": "structure", "members": { "ProxyUrl": { "target": "com.amazonaws.migrationhubrefactorspaces#Uri", "traits": { "smithy.api#documentation": "The endpoint URL of the API Gateway proxy.
" } }, "ApiGatewayId": { "target": "com.amazonaws.migrationhubrefactorspaces#ApiGatewayId", "traits": { "smithy.api#documentation": "The resource ID of the API Gateway for the proxy.
" } }, "VpcLinkId": { "target": "com.amazonaws.migrationhubrefactorspaces#VpcLinkId", "traits": { "smithy.api#documentation": "The VpcLink ID of the API Gateway proxy.
The Amazon Resource Name (ARN) of the Network Load Balancer configured by the API Gateway proxy.
" } }, "NlbName": { "target": "com.amazonaws.migrationhubrefactorspaces#NlbName", "traits": { "smithy.api#documentation": "The name of the Network Load Balancer that is configured by the API Gateway proxy.\n
" } }, "EndpointType": { "target": "com.amazonaws.migrationhubrefactorspaces#ApiGatewayEndpointType", "traits": { "smithy.api#documentation": "The type of API Gateway endpoint created.
" } }, "StageName": { "target": "com.amazonaws.migrationhubrefactorspaces#StageName", "traits": { "smithy.api#documentation": "The name of the API Gateway stage. The name defaults to prod.
A wrapper object holding the Amazon API Gateway proxy summary.
" } }, "com.amazonaws.migrationhubrefactorspaces#ApplicationId": { "type": "string", "traits": { "smithy.api#length": { "min": 14, "max": 14 }, "smithy.api#pattern": "^app-[0-9A-Za-z]{10}$" } }, "com.amazonaws.migrationhubrefactorspaces#ApplicationName": { "type": "string", "traits": { "smithy.api#length": { "min": 3, "max": 63 }, "smithy.api#pattern": "^(?!app-)[a-zA-Z0-9]+[a-zA-Z0-9-_ ]+$" } }, "com.amazonaws.migrationhubrefactorspaces#ApplicationState": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CREATING", "name": "CREATING" }, { "value": "ACTIVE", "name": "ACTIVE" }, { "value": "DELETING", "name": "DELETING" }, { "value": "FAILED", "name": "FAILED" }, { "value": "UPDATING", "name": "UPDATING" } ] } }, "com.amazonaws.migrationhubrefactorspaces#ApplicationSummaries": { "type": "list", "member": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationSummary" } }, "com.amazonaws.migrationhubrefactorspaces#ApplicationSummary": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationName", "traits": { "smithy.api#documentation": "The name of the application.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the application.
" } }, "OwnerAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the application owner (which is always the same as\n the environment owner account ID).
" } }, "CreatedByAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the application creator.
" } }, "ApplicationId": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The unique identifier of the application.
" } }, "EnvironmentId": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment.
" } }, "VpcId": { "target": "com.amazonaws.migrationhubrefactorspaces#VpcId", "traits": { "smithy.api#documentation": "The ID of the virtual private cloud (VPC).
" } }, "ProxyType": { "target": "com.amazonaws.migrationhubrefactorspaces#ProxyType", "traits": { "smithy.api#documentation": "The proxy type of the proxy created within the application.
" } }, "ApiGatewayProxy": { "target": "com.amazonaws.migrationhubrefactorspaces#ApiGatewayProxySummary", "traits": { "smithy.api#documentation": "The endpoint URL of the Amazon API Gateway proxy.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationState", "traits": { "smithy.api#documentation": "The current state of the application.
" } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The tags assigned to the application.
" } }, "Error": { "target": "com.amazonaws.migrationhubrefactorspaces#ErrorResponse", "traits": { "smithy.api#documentation": "Any error associated with the application resource.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the application was last updated.
" } }, "CreatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the application is created.
" } } }, "traits": { "smithy.api#documentation": "The list of ApplicationSummary objects.
The ID of the resource.
", "smithy.api#required": {} } }, "ResourceType": { "target": "com.amazonaws.migrationhubrefactorspaces#String", "traits": { "smithy.api#documentation": "The type of resource.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Updating or deleting a resource can cause an inconsistent state.
", "smithy.api#error": "client", "smithy.api#httpError": 409 } }, "com.amazonaws.migrationhubrefactorspaces#CreateApplication": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#CreateApplicationRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#CreateApplicationResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ConflictException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceQuotaExceededException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Creates an Amazon Web Services Migration Hub Refactor Spaces application. The account that owns the environment also owns the\n applications created inside the environment, regardless of the account that creates the\n application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and\n Network Load Balancer for the application proxy inside your account.
\nIn environments created with a CreateEnvironment:NetworkFabricType of NONE you need to configure\n VPC to VPC connectivity between your service VPC and the application proxy VPC to\n route traffic through the application proxy to a service with a private URL endpoint. For more\n information, see \n Create an application in the Refactor Spaces User Guide.
The name to use for the application.
", "smithy.api#required": {} } }, "EnvironmentIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "VpcId": { "target": "com.amazonaws.migrationhubrefactorspaces#VpcId", "traits": { "smithy.api#documentation": "The ID of the virtual private cloud (VPC).
", "smithy.api#required": {} } }, "ProxyType": { "target": "com.amazonaws.migrationhubrefactorspaces#ProxyType", "traits": { "smithy.api#documentation": "The proxy type of the proxy created within the application.
", "smithy.api#required": {} } }, "ApiGatewayProxy": { "target": "com.amazonaws.migrationhubrefactorspaces#ApiGatewayProxyInput", "traits": { "smithy.api#documentation": "A wrapper object holding the API Gateway endpoint type and stage name for the\n proxy.
" } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The tags to assign to the application. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
" } }, "ClientToken": { "target": "com.amazonaws.migrationhubrefactorspaces#ClientToken", "traits": { "smithy.api#documentation": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.
", "smithy.api#idempotencyToken": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#CreateApplicationResponse": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationName", "traits": { "smithy.api#documentation": "The name of the application.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the application. The format for this ARN is \narn:aws:refactor-spaces:region:account-id:resource-type/resource-id\n . For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference.
The Amazon Web Services account ID of the application owner (which is always the same as\n the environment owner account ID).
" } }, "CreatedByAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of application creator.
" } }, "ApplicationId": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The unique identifier of the application.
" } }, "EnvironmentId": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The ID of the environment in which the application is created.
" } }, "VpcId": { "target": "com.amazonaws.migrationhubrefactorspaces#VpcId", "traits": { "smithy.api#documentation": "The ID of the Amazon VPC.
" } }, "ProxyType": { "target": "com.amazonaws.migrationhubrefactorspaces#ProxyType", "traits": { "smithy.api#documentation": "The proxy type of the proxy created within the application.
" } }, "ApiGatewayProxy": { "target": "com.amazonaws.migrationhubrefactorspaces#ApiGatewayProxyInput", "traits": { "smithy.api#documentation": "A wrapper object holding the API Gateway endpoint type and stage name for the\n proxy.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationState", "traits": { "smithy.api#documentation": "The current state of the application.
" } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The tags assigned to the application. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the application was last updated.
" } }, "CreatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the application is created.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#CreateEnvironment": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#CreateEnvironmentRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#CreateEnvironmentResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ConflictException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceQuotaExceededException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and all\n Refactor Spaces applications, services, and routes created within the environment. They are referred\n to as the environment owner. The environment owner has cross-account\n visibility and control of Refactor Spaces resources that are added to the environment by other\n accounts that the environment is shared with.
\nWhen creating an environment with a CreateEnvironment:NetworkFabricType of TRANSIT_GATEWAY, Refactor Spaces\n provisions a transit gateway to enable services in VPCs to communicate directly across\n accounts. If CreateEnvironment:NetworkFabricType is NONE, Refactor Spaces does not create\n a transit gateway and you must use your network infrastructure to route traffic to services\n with private URL endpoints.
The name of the environment.
", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.migrationhubrefactorspaces#Description", "traits": { "smithy.api#documentation": "The description of the environment.
" } }, "NetworkFabricType": { "target": "com.amazonaws.migrationhubrefactorspaces#NetworkFabricType", "traits": { "smithy.api#documentation": "The network fabric type of the environment.
", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The tags to assign to the environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
" } }, "ClientToken": { "target": "com.amazonaws.migrationhubrefactorspaces#ClientToken", "traits": { "smithy.api#documentation": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.
", "smithy.api#idempotencyToken": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#CreateEnvironmentResponse": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentName", "traits": { "smithy.api#documentation": "The name of the environment.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the environment.
" } }, "Description": { "target": "com.amazonaws.migrationhubrefactorspaces#Description", "traits": { "smithy.api#documentation": "A description of the environment.
" } }, "EnvironmentId": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment.
" } }, "NetworkFabricType": { "target": "com.amazonaws.migrationhubrefactorspaces#NetworkFabricType", "traits": { "smithy.api#documentation": "The network fabric type of the environment.
" } }, "OwnerAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of environment owner.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentState", "traits": { "smithy.api#documentation": "The current state of the environment.
" } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The tags assigned to the created environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the environment was last updated.
" } }, "CreatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the environment is created.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#CreateRoute": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#CreateRouteRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#CreateRouteResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ConflictException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceQuotaExceededException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Creates an Amazon Web Services Migration Hub Refactor Spaces route. The account owner of the service resource is always the\n environment owner, regardless of which account creates the route. Routes target a service in\n the application. If an application does not have any routes, then the first route must be\n created as a DEFAULT\n RouteType.
When created, the default route defaults to an active state so state is not a required\n input. However, like all other state values the state of the default route can be updated\n after creation, but only when all other routes are also inactive. Conversely, no route can be\n active without the default route also being active.
\nWhen you create a route, Refactor Spaces configures the Amazon API Gateway to send traffic\n to the target service as follows:
\n\n URL Endpoints\n
\nIf the service has a URL endpoint, and the endpoint resolves to a private IP address,\n Refactor Spaces routes traffic using the API Gateway VPC link. If a service endpoint\n resolves to a public IP address, Refactor Spaces routes traffic over the public internet.\n Services can have HTTP or HTTPS URL endpoints. For HTTPS URLs, publicly-signed\n certificates are supported. Private Certificate Authorities (CAs) are permitted only if\n the CA's domain is also publicly resolvable.
\nRefactor Spaces automatically resolves the public Domain Name System (DNS) names that are\n set in CreateService:UrlEndpoint when you create a service. The DNS names\n resolve when the DNS time-to-live (TTL) expires, or every 60 seconds for TTLs less than 60\n seconds. This periodic DNS resolution ensures that the route configuration remains\n up-to-date.
\n One-time health check\n
\nA one-time health check is performed on the service when either the route is updated\n from inactive to active, or when it is created with an active state. If the health check\n fails, the route transitions the route state to FAILED, an error code of\n SERVICE_ENDPOINT_HEALTH_CHECK_FAILURE is provided, and no traffic is sent\n to the service.
For private URLs, a target group is created on the Network Load Balancer and the load\n balancer target group runs default target health checks. By default, the health check is\n run against the service endpoint URL. Optionally, the health check can be performed\n against a different protocol, port, and/or path using the CreateService:UrlEndpoint parameter. All other health check settings for the\n load balancer use the default values described in the Health\n checks for your target groups in the Elastic Load Balancing\n guide. The health check is considered successful if at least one target\n within the target group transitions to a healthy state.
\n \n\n Lambda function endpoints\n
\nIf the service has an Lambda function endpoint, then Refactor Spaces\n configures the Lambda function's resource policy to allow the application's\n API Gateway to invoke the function.
\nThe Lambda function state is checked. If the function is not active, the\n function configuration is updated so that Lambda resources are provisioned. If\n the Lambda state is Failed, then the route creation fails. For\n more information, see the GetFunctionConfiguration's State response parameter in the Lambda Developer Guide.
A check is performed to determine that a Lambda function with the specified ARN\n exists. If it does not exist, the health check fails. For public URLs, a connection is\n opened to the public endpoint. If the URL is not reachable, the health check fails.\n
\n\n Environments without a network bridge\n
\nWhen you create environments without a network bridge (CreateEnvironment:NetworkFabricType is NONE) and you use your own\n networking infrastructure, you need to configure VPC to VPC connectivity between your network and the application proxy VPC. Route\n creation from the application proxy to service endpoints will fail if your network is not\n configured to connect to the application proxy VPC. For more information, see Create\n a route in the Refactor Spaces User Guide.
The ID of the environment in which the route is created.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ApplicationIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application within which the route is being created.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ServiceIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceId", "traits": { "smithy.api#documentation": "The ID of the service in which the route is created. Traffic that matches this route is\n forwarded to this service.
", "smithy.api#required": {} } }, "RouteType": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteType", "traits": { "smithy.api#documentation": "The route type of the route. DEFAULT indicates that all traffic that does not\n match another route is forwarded to the default route. Applications must have a default route\n before any other routes can be created. URI_PATH indicates a route that is based\n on a URI path.
Configuration for the default route type.
" } }, "UriPathRoute": { "target": "com.amazonaws.migrationhubrefactorspaces#UriPathRouteInput", "traits": { "smithy.api#documentation": "The configuration for the URI path route type.
" } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The tags to assign to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
" } }, "ClientToken": { "target": "com.amazonaws.migrationhubrefactorspaces#ClientToken", "traits": { "smithy.api#documentation": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.
", "smithy.api#idempotencyToken": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#CreateRouteResponse": { "type": "structure", "members": { "RouteId": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteId", "traits": { "smithy.api#documentation": "The unique identifier of the route.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the route. The format for this ARN is \narn:aws:refactor-spaces:region:account-id:resource-type/resource-id\n . For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference.
The Amazon Web Services account ID of the route owner.
" } }, "CreatedByAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the route creator.
" } }, "RouteType": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteType", "traits": { "smithy.api#documentation": "The route type of the route.
" } }, "ServiceId": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceId", "traits": { "smithy.api#documentation": "The ID of service in which the route is created. Traffic that matches this route is\n forwarded to this service.
" } }, "ApplicationId": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application in which the route is created.
" } }, "UriPathRoute": { "target": "com.amazonaws.migrationhubrefactorspaces#UriPathRouteInput", "traits": { "smithy.api#documentation": "Configuration for the URI path route type.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteState", "traits": { "smithy.api#documentation": "The current state of the route. Activation state only allows ACTIVE or\n INACTIVE as user inputs. FAILED is a route state that is system\n generated.
The tags assigned to the created route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the route was last updated.
" } }, "CreatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the route is created.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#CreateService": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#CreateServiceRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#CreateServiceResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ConflictException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceQuotaExceededException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Creates an Amazon Web Services Migration Hub Refactor Spaces service. The account owner of the service is always the\n environment owner, regardless of which account in the environment creates the service.\n Services have either a URL endpoint in a virtual private cloud (VPC), or a Lambda\n function endpoint.
\nIf an Amazon Web Services resource is launched in a service VPC, and you want it to be\n accessible to all of an environment\u2019s services with VPCs and routes, apply the\n RefactorSpacesSecurityGroup to the resource. Alternatively, to add more\n cross-account constraints, apply your own security group.
The name of the service.
", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.migrationhubrefactorspaces#Description", "traits": { "smithy.api#documentation": "The description of the service.
" } }, "EnvironmentIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The ID of the environment in which the service is created.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ApplicationIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application which the service is created.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "VpcId": { "target": "com.amazonaws.migrationhubrefactorspaces#VpcId", "traits": { "smithy.api#documentation": "The ID of the VPC.
" } }, "EndpointType": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceEndpointType", "traits": { "smithy.api#documentation": "The type of endpoint to use for the service. The type can be a URL in a VPC or an Lambda function.
", "smithy.api#required": {} } }, "UrlEndpoint": { "target": "com.amazonaws.migrationhubrefactorspaces#UrlEndpointInput", "traits": { "smithy.api#documentation": "The configuration for the URL endpoint type. When creating a route to a service, Refactor Spaces\n automatically resolves the address in the UrlEndpointInput object URL when the\n Domain Name System (DNS) time-to-live (TTL) expires, or every 60 seconds for TTLs less than 60\n seconds.
The configuration for the Lambda endpoint type.
" } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The tags to assign to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
" } }, "ClientToken": { "target": "com.amazonaws.migrationhubrefactorspaces#ClientToken", "traits": { "smithy.api#documentation": "A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request.
", "smithy.api#idempotencyToken": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#CreateServiceResponse": { "type": "structure", "members": { "ServiceId": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceId", "traits": { "smithy.api#documentation": "The unique identifier of the service.
" } }, "Name": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceName", "traits": { "smithy.api#documentation": "The name of the service.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the service.
" } }, "OwnerAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the service owner.
" } }, "CreatedByAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the service creator.
" } }, "Description": { "target": "com.amazonaws.migrationhubrefactorspaces#Description", "traits": { "smithy.api#documentation": "The description of the created service.
" } }, "EnvironmentId": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment.
" } }, "ApplicationId": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application that the created service belongs to.
" } }, "VpcId": { "target": "com.amazonaws.migrationhubrefactorspaces#VpcId", "traits": { "smithy.api#documentation": "The ID of the VPC.
" } }, "EndpointType": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceEndpointType", "traits": { "smithy.api#documentation": "The endpoint type of the service.
" } }, "UrlEndpoint": { "target": "com.amazonaws.migrationhubrefactorspaces#UrlEndpointInput", "traits": { "smithy.api#documentation": "The configuration for the URL endpoint type.
" } }, "LambdaEndpoint": { "target": "com.amazonaws.migrationhubrefactorspaces#LambdaEndpointInput", "traits": { "smithy.api#documentation": "The configuration for the Lambda endpoint type.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceState", "traits": { "smithy.api#documentation": "The current state of the service.
" } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The tags assigned to the created service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the service was last updated.
" } }, "CreatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the service is created.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#DefaultRouteInput": { "type": "structure", "members": { "ActivationState": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteActivationState", "traits": { "smithy.api#documentation": "If set to ACTIVE, traffic is forwarded to this route\u2019s service after the\n route is created.
The configuration for the default route type.
" } }, "com.amazonaws.migrationhubrefactorspaces#DeleteApplication": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#DeleteApplicationRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#DeleteApplicationResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ConflictException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Deletes an Amazon Web Services Migration Hub Refactor Spaces application. Before you can delete an application, you must first\n delete any services or routes within the application.
", "smithy.api#http": { "method": "DELETE", "uri": "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}", "code": 200 }, "smithy.api#idempotent": {} } }, "com.amazonaws.migrationhubrefactorspaces#DeleteApplicationRequest": { "type": "structure", "members": { "EnvironmentIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The ID of the environment.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ApplicationIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#DeleteApplicationResponse": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationName", "traits": { "smithy.api#documentation": "The name of the application.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the application.
" } }, "ApplicationId": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application.
" } }, "EnvironmentId": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the application\u2019s environment.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationState", "traits": { "smithy.api#documentation": "The current state of the application.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the environment was last updated.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#DeleteEnvironment": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#DeleteEnvironmentRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#DeleteEnvironmentResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ConflictException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Deletes an Amazon Web Services Migration Hub Refactor Spaces environment. Before you can delete an environment, you must first\n delete any applications and services within the environment.
", "smithy.api#http": { "method": "DELETE", "uri": "/environments/{EnvironmentIdentifier}", "code": 200 }, "smithy.api#idempotent": {} } }, "com.amazonaws.migrationhubrefactorspaces#DeleteEnvironmentRequest": { "type": "structure", "members": { "EnvironmentIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The ID of the environment.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#DeleteEnvironmentResponse": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentName", "traits": { "smithy.api#documentation": "The name of the environment.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the environment.
" } }, "EnvironmentId": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentState", "traits": { "smithy.api#documentation": "The current state of the environment.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the environment was last updated.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#DeleteResourcePolicy": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#DeleteResourcePolicyRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#DeleteResourcePolicyResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Deletes the resource policy set for the environment.
", "smithy.api#http": { "method": "DELETE", "uri": "/resourcepolicy/{Identifier}", "code": 200 }, "smithy.api#idempotent": {} } }, "com.amazonaws.migrationhubrefactorspaces#DeleteResourcePolicyRequest": { "type": "structure", "members": { "Identifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourcePolicyIdentifier", "traits": { "smithy.api#documentation": "Amazon Resource Name (ARN) of the resource associated with the policy.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#DeleteResourcePolicyResponse": { "type": "structure", "members": {} }, "com.amazonaws.migrationhubrefactorspaces#DeleteRoute": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#DeleteRouteRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#DeleteRouteResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ConflictException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Deletes an Amazon Web Services Migration Hub Refactor Spaces route.
", "smithy.api#http": { "method": "DELETE", "uri": "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}", "code": 200 }, "smithy.api#idempotent": {} } }, "com.amazonaws.migrationhubrefactorspaces#DeleteRouteRequest": { "type": "structure", "members": { "EnvironmentIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The ID of the environment to delete the route from.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ApplicationIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application to delete the route from.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "RouteIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteId", "traits": { "smithy.api#documentation": "The ID of the route to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#DeleteRouteResponse": { "type": "structure", "members": { "RouteId": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteId", "traits": { "smithy.api#documentation": "The ID of the route to delete.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the route.
" } }, "ServiceId": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceId", "traits": { "smithy.api#documentation": "The ID of the service that the route belongs to.
" } }, "ApplicationId": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application that the route belongs to.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteState", "traits": { "smithy.api#documentation": "The current state of the route.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the route was last updated.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#DeleteService": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#DeleteServiceRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#DeleteServiceResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ConflictException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Deletes an Amazon Web Services Migration Hub Refactor Spaces service.
", "smithy.api#http": { "method": "DELETE", "uri": "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services/{ServiceIdentifier}", "code": 200 }, "smithy.api#idempotent": {} } }, "com.amazonaws.migrationhubrefactorspaces#DeleteServiceRequest": { "type": "structure", "members": { "EnvironmentIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The ID of the environment that the service is in.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ApplicationIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "Deletes a Refactor Spaces service.
\nThe RefactorSpacesSecurityGroup security group must be removed from all\n Amazon Web Services resources in the virtual private cloud (VPC) prior to deleting a service with a URL\n endpoint in a VPC.
The ID of the service to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#DeleteServiceResponse": { "type": "structure", "members": { "ServiceId": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceId", "traits": { "smithy.api#documentation": "The unique identifier of the service.
" } }, "Name": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceName", "traits": { "smithy.api#documentation": "The name of the service.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the service.
" } }, "EnvironmentId": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment.
" } }, "ApplicationId": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application that the service is in.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceState", "traits": { "smithy.api#documentation": "The current state of the service.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the service was last updated.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#Description": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 }, "smithy.api#pattern": "^[a-zA-Z0-9-_\\s\\.\\!\\*\\#\\@\\']+$" } }, "com.amazonaws.migrationhubrefactorspaces#Ec2TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 255 }, "smithy.api#pattern": "^.*$" } }, "com.amazonaws.migrationhubrefactorspaces#EnvironmentId": { "type": "string", "traits": { "smithy.api#length": { "min": 14, "max": 14 }, "smithy.api#pattern": "^env-[0-9A-Za-z]{10}$" } }, "com.amazonaws.migrationhubrefactorspaces#EnvironmentName": { "type": "string", "traits": { "smithy.api#length": { "min": 3, "max": 63 }, "smithy.api#pattern": "^(?!env-)[a-zA-Z0-9]+[a-zA-Z0-9-_ ]+$" } }, "com.amazonaws.migrationhubrefactorspaces#EnvironmentState": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CREATING", "name": "CREATING" }, { "value": "ACTIVE", "name": "ACTIVE" }, { "value": "DELETING", "name": "DELETING" }, { "value": "FAILED", "name": "FAILED" } ] } }, "com.amazonaws.migrationhubrefactorspaces#EnvironmentSummaries": { "type": "list", "member": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentSummary" } }, "com.amazonaws.migrationhubrefactorspaces#EnvironmentSummary": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentName", "traits": { "smithy.api#documentation": "The name of the environment.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the environment.
" } }, "Description": { "target": "com.amazonaws.migrationhubrefactorspaces#Description", "traits": { "smithy.api#documentation": "A description of the environment.
" } }, "EnvironmentId": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment.
" } }, "NetworkFabricType": { "target": "com.amazonaws.migrationhubrefactorspaces#NetworkFabricType", "traits": { "smithy.api#documentation": "The network fabric type of the environment.
" } }, "OwnerAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the environment owner.
" } }, "TransitGatewayId": { "target": "com.amazonaws.migrationhubrefactorspaces#TransitGatewayId", "traits": { "smithy.api#documentation": "The ID of the Transit Gateway set up by the environment.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentState", "traits": { "smithy.api#documentation": "The current state of the environment.
" } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The tags assigned to the environment.
" } }, "Error": { "target": "com.amazonaws.migrationhubrefactorspaces#ErrorResponse", "traits": { "smithy.api#documentation": "Any error associated with the environment resource.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the environment was last updated.
" } }, "CreatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the environment is created.
" } } }, "traits": { "smithy.api#documentation": "The summary information for environments as a response to ListEnvironments.\n
The unique identifier of the environment.
" } }, "VpcId": { "target": "com.amazonaws.migrationhubrefactorspaces#VpcId", "traits": { "smithy.api#documentation": "The ID of the VPC.
" } }, "AccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the virtual private cloud (VPC) owner.
" } }, "CidrBlocks": { "target": "com.amazonaws.migrationhubrefactorspaces#CidrBlocks", "traits": { "smithy.api#documentation": "The list of Amazon Virtual Private Cloud (Amazon VPC) CIDR blocks.
" } }, "VpcName": { "target": "com.amazonaws.migrationhubrefactorspaces#Ec2TagValue", "traits": { "smithy.api#documentation": "The name of the VPC at the time it is added to the environment.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the VPC was last updated by the environment.
" } }, "CreatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the VPC is first added to the environment.
" } } }, "traits": { "smithy.api#documentation": "Provides summary information for the EnvironmentVpc resource as a response to\n ListEnvironmentVpc.
The error code associated with the error.
" } }, "Message": { "target": "com.amazonaws.migrationhubrefactorspaces#ErrorMessage", "traits": { "smithy.api#documentation": "The message associated with the error.
" } }, "AccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the resource owner.
" } }, "ResourceIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceIdentifier", "traits": { "smithy.api#documentation": "The ID of the resource.
" } }, "ResourceType": { "target": "com.amazonaws.migrationhubrefactorspaces#ErrorResourceType", "traits": { "smithy.api#documentation": "The type of resource.
" } }, "AdditionalDetails": { "target": "com.amazonaws.migrationhubrefactorspaces#AdditionalDetails", "traits": { "smithy.api#documentation": "Additional details about the error.
" } } }, "traits": { "smithy.api#documentation": "Error associated with a resource returned for a Get or List resource response.
" } }, "com.amazonaws.migrationhubrefactorspaces#GetApplication": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#GetApplicationRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#GetApplicationResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Gets an Amazon Web Services Migration Hub Refactor Spaces application.
", "smithy.api#http": { "method": "GET", "uri": "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}", "code": 200 }, "smithy.api#readonly": {} } }, "com.amazonaws.migrationhubrefactorspaces#GetApplicationRequest": { "type": "structure", "members": { "EnvironmentIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The ID of the environment.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ApplicationIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#GetApplicationResponse": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationName", "traits": { "smithy.api#documentation": "The name of the application.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the application.
" } }, "OwnerAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the application owner (which is always the same as\n the environment owner account ID).
" } }, "CreatedByAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the application creator.
" } }, "ApplicationId": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The unique identifier of the application.
" } }, "EnvironmentId": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment.
" } }, "VpcId": { "target": "com.amazonaws.migrationhubrefactorspaces#VpcId", "traits": { "smithy.api#documentation": "The ID of the virtual private cloud (VPC).
" } }, "ProxyType": { "target": "com.amazonaws.migrationhubrefactorspaces#ProxyType", "traits": { "smithy.api#documentation": "The proxy type of the proxy created within the application.
" } }, "ApiGatewayProxy": { "target": "com.amazonaws.migrationhubrefactorspaces#ApiGatewayProxyConfig", "traits": { "smithy.api#documentation": "The endpoint URL of the API Gateway proxy.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationState", "traits": { "smithy.api#documentation": "The current state of the application.
" } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The tags assigned to the application. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
" } }, "Error": { "target": "com.amazonaws.migrationhubrefactorspaces#ErrorResponse", "traits": { "smithy.api#documentation": "Any error associated with the application resource.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the application was last updated.
" } }, "CreatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the application is created.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#GetEnvironment": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#GetEnvironmentRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#GetEnvironmentResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Gets an Amazon Web Services Migration Hub Refactor Spaces environment.
", "smithy.api#http": { "method": "GET", "uri": "/environments/{EnvironmentIdentifier}", "code": 200 }, "smithy.api#readonly": {} } }, "com.amazonaws.migrationhubrefactorspaces#GetEnvironmentRequest": { "type": "structure", "members": { "EnvironmentIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The ID of the environment.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#GetEnvironmentResponse": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentName", "traits": { "smithy.api#documentation": "The name of the environment.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the environment.
" } }, "Description": { "target": "com.amazonaws.migrationhubrefactorspaces#Description", "traits": { "smithy.api#documentation": "The description of the environment.
" } }, "EnvironmentId": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment.
" } }, "NetworkFabricType": { "target": "com.amazonaws.migrationhubrefactorspaces#NetworkFabricType", "traits": { "smithy.api#documentation": "The network fabric type of the environment.
" } }, "OwnerAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the environment owner.
" } }, "TransitGatewayId": { "target": "com.amazonaws.migrationhubrefactorspaces#TransitGatewayId", "traits": { "smithy.api#documentation": "The ID of the Transit Gateway set up by the environment, if applicable.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentState", "traits": { "smithy.api#documentation": "The current state of the environment.
" } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The tags to assign to the environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
" } }, "Error": { "target": "com.amazonaws.migrationhubrefactorspaces#ErrorResponse", "traits": { "smithy.api#documentation": "Any error associated with the environment resource.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the environment was last updated.
" } }, "CreatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the environment is created.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#GetResourcePolicy": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#GetResourcePolicyRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#GetResourcePolicyResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Gets the resource-based permission policy that is set for the given environment.
", "smithy.api#http": { "method": "GET", "uri": "/resourcepolicy/{Identifier}", "code": 200 }, "smithy.api#readonly": {} } }, "com.amazonaws.migrationhubrefactorspaces#GetResourcePolicyRequest": { "type": "structure", "members": { "Identifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourcePolicyIdentifier", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource associated with the policy.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#GetResourcePolicyResponse": { "type": "structure", "members": { "Policy": { "target": "com.amazonaws.migrationhubrefactorspaces#PolicyString", "traits": { "smithy.api#documentation": "A JSON-formatted string for an Amazon Web Services resource-based policy.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#GetRoute": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#GetRouteRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#GetRouteResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Gets an Amazon Web Services Migration Hub Refactor Spaces route.
", "smithy.api#http": { "method": "GET", "uri": "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}", "code": 200 }, "smithy.api#readonly": {} } }, "com.amazonaws.migrationhubrefactorspaces#GetRouteRequest": { "type": "structure", "members": { "EnvironmentIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The ID of the environment.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ApplicationIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "RouteIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteId", "traits": { "smithy.api#documentation": "The ID of the route.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#GetRouteResponse": { "type": "structure", "members": { "RouteId": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteId", "traits": { "smithy.api#documentation": "The unique identifier of the route.
\n\n DEFAULT: All traffic that does not match another route is\n forwarded to the default route. Applications must have a default route before any other routes\n can be created.
\n\n URI_PATH: A route that is based on a URI path.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the route.
" } }, "OwnerAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the route owner.
" } }, "CreatedByAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the route creator.
" } }, "RouteType": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteType", "traits": { "smithy.api#documentation": "The type of route.
" } }, "ServiceId": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceId", "traits": { "smithy.api#documentation": "The unique identifier of the service.
" } }, "ApplicationId": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application that the route belongs to.
" } }, "EnvironmentId": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "Unique identifier of the environment.
" } }, "SourcePath": { "target": "com.amazonaws.migrationhubrefactorspaces#UriPath", "traits": { "smithy.api#documentation": "This is the path that Refactor Spaces uses to match traffic. Paths must start with / and are relative to\n the base of the application. To use path parameters in the source path, add a variable in curly braces. \n For example, the resource path {user} represents a path parameter called 'user'.
A list of HTTP methods to match. An empty list matches all values. If a method is present,\n only HTTP requests using that method are forwarded to this route\u2019s service.
" } }, "IncludeChildPaths": { "target": "com.amazonaws.migrationhubrefactorspaces#Boolean", "traits": { "smithy.api#documentation": "Indicates whether to match all subpaths of the given source path. If this value is\n false, requests must match the source path exactly before they are forwarded to\n this route's service.
A mapping of Amazon API Gateway path resources to resource IDs.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteState", "traits": { "smithy.api#documentation": "The current state of the route.
" } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The tags assigned to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
" } }, "Error": { "target": "com.amazonaws.migrationhubrefactorspaces#ErrorResponse", "traits": { "smithy.api#documentation": "Any error associated with the route resource.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the route was last updated.
" } }, "CreatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "The timestamp of when the route is created.
" } }, "AppendSourcePath": { "target": "com.amazonaws.migrationhubrefactorspaces#Boolean", "traits": { "smithy.api#documentation": "If set to true, this option appends the source path to the service URL endpoint.
Gets an Amazon Web Services Migration Hub Refactor Spaces service.
", "smithy.api#http": { "method": "GET", "uri": "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services/{ServiceIdentifier}", "code": 200 }, "smithy.api#readonly": {} } }, "com.amazonaws.migrationhubrefactorspaces#GetServiceRequest": { "type": "structure", "members": { "EnvironmentIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The ID of the environment.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ApplicationIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ServiceIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceId", "traits": { "smithy.api#documentation": "The ID of the service.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#GetServiceResponse": { "type": "structure", "members": { "ServiceId": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceId", "traits": { "smithy.api#documentation": "The unique identifier of the service.
" } }, "Name": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceName", "traits": { "smithy.api#documentation": "The name of the service.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the service.
" } }, "OwnerAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the service owner.
" } }, "CreatedByAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the service creator.
" } }, "Description": { "target": "com.amazonaws.migrationhubrefactorspaces#Description", "traits": { "smithy.api#documentation": "The description of the service.
" } }, "EnvironmentId": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment.
" } }, "ApplicationId": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application.
" } }, "VpcId": { "target": "com.amazonaws.migrationhubrefactorspaces#VpcId", "traits": { "smithy.api#documentation": "The ID of the virtual private cloud (VPC).
" } }, "EndpointType": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceEndpointType", "traits": { "smithy.api#documentation": "The endpoint type of the service.
" } }, "UrlEndpoint": { "target": "com.amazonaws.migrationhubrefactorspaces#UrlEndpointConfig", "traits": { "smithy.api#documentation": "The configuration for the URL endpoint type.
\nThe Url isthe URL of the endpoint type.
\nThe HealthUrl is the health check URL of the endpoint\n type.
" } }, "LambdaEndpoint": { "target": "com.amazonaws.migrationhubrefactorspaces#LambdaEndpointConfig", "traits": { "smithy.api#documentation": "The configuration for the Lambda endpoint type.
\nThe Arn is the Amazon Resource Name (ARN) of the Lambda function associated with this service.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceState", "traits": { "smithy.api#documentation": "The current state of the service.
" } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The tags assigned to the service. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
" } }, "Error": { "target": "com.amazonaws.migrationhubrefactorspaces#ErrorResponse", "traits": { "smithy.api#documentation": "Any error associated with the service resource.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the service was last updated.
" } }, "CreatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "The timestamp of when the service is created.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#HttpMethod": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "DELETE", "name": "DELETE" }, { "value": "GET", "name": "GET" }, { "value": "HEAD", "name": "HEAD" }, { "value": "OPTIONS", "name": "OPTIONS" }, { "value": "PATCH", "name": "PATCH" }, { "value": "POST", "name": "POST" }, { "value": "PUT", "name": "PUT" } ] } }, "com.amazonaws.migrationhubrefactorspaces#HttpMethods": { "type": "list", "member": { "target": "com.amazonaws.migrationhubrefactorspaces#HttpMethod" } }, "com.amazonaws.migrationhubrefactorspaces#InternalServerException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.migrationhubrefactorspaces#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "An unexpected error occurred while processing the request.
", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.migrationhubrefactorspaces#InvalidResourcePolicyException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.migrationhubrefactorspaces#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The resource policy is not valid.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.migrationhubrefactorspaces#LambdaArn": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 }, "smithy.api#pattern": "^arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?$" } }, "com.amazonaws.migrationhubrefactorspaces#LambdaEndpointConfig": { "type": "structure", "members": { "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#LambdaArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Lambda endpoint.
" } } }, "traits": { "smithy.api#documentation": "The configuration for the Lambda endpoint type.
" } }, "com.amazonaws.migrationhubrefactorspaces#LambdaEndpointInput": { "type": "structure", "members": { "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#LambdaArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Lambda function or alias.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The input for the Lambda endpoint type.
" } }, "com.amazonaws.migrationhubrefactorspaces#LambdaEndpointSummary": { "type": "structure", "members": { "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#LambdaArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Lambda endpoint.
" } } }, "traits": { "smithy.api#documentation": "The summary for the Lambda endpoint type.
" } }, "com.amazonaws.migrationhubrefactorspaces#ListApplications": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#ListApplicationsRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#ListApplicationsResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ConflictException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceQuotaExceededException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Lists all the Amazon Web Services Migration Hub Refactor Spaces applications within an environment.
", "smithy.api#http": { "method": "GET", "uri": "/environments/{EnvironmentIdentifier}/applications", "code": 200 }, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "ApplicationSummaryList", "pageSize": "MaxResults" }, "smithy.api#readonly": {} } }, "com.amazonaws.migrationhubrefactorspaces#ListApplicationsRequest": { "type": "structure", "members": { "EnvironmentIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The ID of the environment.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.migrationhubrefactorspaces#NextToken", "traits": { "smithy.api#documentation": "The token for the next page of results.
", "smithy.api#httpQuery": "nextToken" } }, "MaxResults": { "target": "com.amazonaws.migrationhubrefactorspaces#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of results to return with a single call. To retrieve the remaining\n results, make another call with the returned nextToken value.
The list of ApplicationSummary objects.
The token for the next page of results.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#ListEnvironmentVpcs": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#ListEnvironmentVpcsRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#ListEnvironmentVpcsResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Lists all Amazon Web Services Migration Hub Refactor Spaces service virtual private clouds (VPCs) that are part of the\n environment.
", "smithy.api#http": { "method": "GET", "uri": "/environments/{EnvironmentIdentifier}/vpcs", "code": 200 }, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "EnvironmentVpcList", "pageSize": "MaxResults" }, "smithy.api#readonly": {} } }, "com.amazonaws.migrationhubrefactorspaces#ListEnvironmentVpcsRequest": { "type": "structure", "members": { "EnvironmentIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The ID of the environment.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.migrationhubrefactorspaces#NextToken", "traits": { "smithy.api#documentation": "The token for the next page of results.
", "smithy.api#httpQuery": "nextToken" } }, "MaxResults": { "target": "com.amazonaws.migrationhubrefactorspaces#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of results to return with a single call. To retrieve the remaining\n results, make another call with the returned nextToken value.
The list of EnvironmentVpc objects.
The token for the next page of results.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#ListEnvironments": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#ListEnvironmentsRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#ListEnvironmentsResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Lists Amazon Web Services Migration Hub Refactor Spaces environments owned by a caller account or shared with the caller\n account.
", "smithy.api#http": { "method": "GET", "uri": "/environments", "code": 200 }, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "EnvironmentSummaryList", "pageSize": "MaxResults" }, "smithy.api#readonly": {} } }, "com.amazonaws.migrationhubrefactorspaces#ListEnvironmentsRequest": { "type": "structure", "members": { "NextToken": { "target": "com.amazonaws.migrationhubrefactorspaces#NextToken", "traits": { "smithy.api#documentation": "The token for the next page of results.
", "smithy.api#httpQuery": "nextToken" } }, "MaxResults": { "target": "com.amazonaws.migrationhubrefactorspaces#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of results to return with a single call. To retrieve the remaining\n results, make another call with the returned nextToken value.
The list of EnvironmentSummary objects.
The token for the next page of results.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#ListRoutes": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#ListRoutesRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#ListRoutesResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ConflictException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceQuotaExceededException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Lists all the Amazon Web Services Migration Hub Refactor Spaces routes within an application.
", "smithy.api#http": { "method": "GET", "uri": "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes", "code": 200 }, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "RouteSummaryList", "pageSize": "MaxResults" }, "smithy.api#readonly": {} } }, "com.amazonaws.migrationhubrefactorspaces#ListRoutesRequest": { "type": "structure", "members": { "EnvironmentIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The ID of the environment.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ApplicationIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.migrationhubrefactorspaces#NextToken", "traits": { "smithy.api#documentation": "The token for the next page of results.
", "smithy.api#httpQuery": "nextToken" } }, "MaxResults": { "target": "com.amazonaws.migrationhubrefactorspaces#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of results to return with a single call. To retrieve the remaining\n results, make another call with the returned nextToken value.
The list of RouteSummary objects.
The token for the next page of results.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#ListServices": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#ListServicesRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#ListServicesResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ConflictException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceQuotaExceededException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Lists all the Amazon Web Services Migration Hub Refactor Spaces services within an application.
", "smithy.api#http": { "method": "GET", "uri": "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services", "code": 200 }, "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "ServiceSummaryList", "pageSize": "MaxResults" }, "smithy.api#readonly": {} } }, "com.amazonaws.migrationhubrefactorspaces#ListServicesRequest": { "type": "structure", "members": { "EnvironmentIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The ID of the environment.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ApplicationIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.migrationhubrefactorspaces#NextToken", "traits": { "smithy.api#documentation": "The token for the next page of results.
", "smithy.api#httpQuery": "nextToken" } }, "MaxResults": { "target": "com.amazonaws.migrationhubrefactorspaces#MaxResults", "traits": { "smithy.api#documentation": "The maximum number of results to return with a single call. To retrieve the remaining\n results, make another call with the returned nextToken value.
The list of ServiceSummary objects.
The token for the next page of results.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#ListTagsForResourceRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#ListTagsForResourceResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Lists the tags of a resource. The caller account must be the same as the resource\u2019s\n OwnerAccountId. Listing tags in other accounts is not supported.
The Amazon Resource Name (ARN) of the resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#ListTagsForResourceResponse": { "type": "structure", "members": { "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The list of tags assigned to the resource.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#MaxResults": { "type": "integer", "traits": { "smithy.api#range": { "min": 1, "max": 100 } } }, "com.amazonaws.migrationhubrefactorspaces#NetworkFabricType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "TRANSIT_GATEWAY", "name": "TRANSIT_GATEWAY" }, { "value": "NONE", "name": "NONE" } ] } }, "com.amazonaws.migrationhubrefactorspaces#NextToken": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 }, "smithy.api#pattern": "^[a-zA-Z0-9/\\+\\=]{0,2048}$" } }, "com.amazonaws.migrationhubrefactorspaces#NlbArn": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "^arn:aws:elasticloadbalancing:[a-zA-Z0-9\\-]+:\\w{12}:[a-zA-Z_0-9+=,.@\\-_/]+$" } }, "com.amazonaws.migrationhubrefactorspaces#NlbName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 32 }, "smithy.api#pattern": "^(?!internal-)[a-zA-Z0-9]+[a-zA-Z0-9-_ ]+.*[^-]$" } }, "com.amazonaws.migrationhubrefactorspaces#PathResourceToId": { "type": "map", "key": { "target": "com.amazonaws.migrationhubrefactorspaces#PathResourceToIdKey" }, "value": { "target": "com.amazonaws.migrationhubrefactorspaces#PathResourceToIdValue" } }, "com.amazonaws.migrationhubrefactorspaces#PathResourceToIdKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 } } }, "com.amazonaws.migrationhubrefactorspaces#PathResourceToIdValue": { "type": "string", "traits": { "smithy.api#length": { "min": 10, "max": 10 }, "smithy.api#pattern": "^[a-z0-9]{10}$" } }, "com.amazonaws.migrationhubrefactorspaces#PolicyString": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 300000 }, "smithy.api#pattern": "^.*\\S.*$" } }, "com.amazonaws.migrationhubrefactorspaces#ProxyType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "API_GATEWAY", "name": "API_GATEWAY" } ] } }, "com.amazonaws.migrationhubrefactorspaces#PutResourcePolicy": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#PutResourcePolicyRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#PutResourcePolicyResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InvalidResourcePolicyException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Attaches a resource-based permission policy to the Amazon Web Services Migration Hub Refactor Spaces environment. The policy\n must contain the same actions and condition statements as the\n arn:aws:ram::aws:permission/AWSRAMDefaultPermissionRefactorSpacesEnvironment\n permission in Resource Access Manager. The policy must not contain new lines or blank lines.\n
The Amazon Resource Name (ARN) of the resource to which the policy is being attached.\n
", "smithy.api#required": {} } }, "Policy": { "target": "com.amazonaws.migrationhubrefactorspaces#PolicyString", "traits": { "smithy.api#documentation": "A JSON-formatted string for an Amazon Web Services resource-based policy.
", "smithy.api#required": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#PutResourcePolicyResponse": { "type": "structure", "members": {} }, "com.amazonaws.migrationhubrefactorspaces#RefactorSpaces": { "type": "service", "version": "2021-10-26", "operations": [ { "target": "com.amazonaws.migrationhubrefactorspaces#CreateApplication" }, { "target": "com.amazonaws.migrationhubrefactorspaces#CreateEnvironment" }, { "target": "com.amazonaws.migrationhubrefactorspaces#CreateRoute" }, { "target": "com.amazonaws.migrationhubrefactorspaces#CreateService" }, { "target": "com.amazonaws.migrationhubrefactorspaces#DeleteApplication" }, { "target": "com.amazonaws.migrationhubrefactorspaces#DeleteEnvironment" }, { "target": "com.amazonaws.migrationhubrefactorspaces#DeleteResourcePolicy" }, { "target": "com.amazonaws.migrationhubrefactorspaces#DeleteRoute" }, { "target": "com.amazonaws.migrationhubrefactorspaces#DeleteService" }, { "target": "com.amazonaws.migrationhubrefactorspaces#GetApplication" }, { "target": "com.amazonaws.migrationhubrefactorspaces#GetEnvironment" }, { "target": "com.amazonaws.migrationhubrefactorspaces#GetResourcePolicy" }, { "target": "com.amazonaws.migrationhubrefactorspaces#GetRoute" }, { "target": "com.amazonaws.migrationhubrefactorspaces#GetService" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ListApplications" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ListEnvironments" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ListEnvironmentVpcs" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ListRoutes" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ListServices" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ListTagsForResource" }, { "target": "com.amazonaws.migrationhubrefactorspaces#PutResourcePolicy" }, { "target": "com.amazonaws.migrationhubrefactorspaces#TagResource" }, { "target": "com.amazonaws.migrationhubrefactorspaces#UntagResource" }, { "target": "com.amazonaws.migrationhubrefactorspaces#UpdateRoute" } ], "traits": { "aws.api#service": { "sdkId": "Migration Hub Refactor Spaces", "arnNamespace": "refactor-spaces", "cloudFormationName": "RefactorSpaces", "cloudTrailEventSource": "refactor-spaces.amazonaws.com", "endpointPrefix": "refactor-spaces" }, "aws.auth#sigv4": { "name": "refactor-spaces" }, "aws.protocols#restJson1": {}, "smithy.api#cors": { "additionalAllowedHeaders": [ "content-type" ], "additionalExposedHeaders": [ "date", "x-amz-apigw-id", "x-amzn-trace-id", "x-amzn-errortype", "x-amzn-requestid", "x-amzn-errormessage" ] }, "smithy.api#documentation": "This API reference provides descriptions, syntax, and other details about each of the\n actions and data types for Amazon Web Services Migration Hub Refactor Spaces (Refactor Spaces). The topic for each action shows the API\n request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to\n access an API that is tailored to the programming language or platform that you're using. For\n more information, see Amazon Web Services SDKs.
\nTo share Refactor Spaces environments with other Amazon Web Services accounts or with Organizations\n and their OUs, use Resource Access Manager's CreateResourceShare API. See CreateResourceShare in the Amazon Web Services RAM API Reference.
The ID of the resource.
", "smithy.api#required": {} } }, "ResourceType": { "target": "com.amazonaws.migrationhubrefactorspaces#String", "traits": { "smithy.api#documentation": "The type of resource.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request references a resource that does not exist.
", "smithy.api#error": "client", "smithy.api#httpError": 404 } }, "com.amazonaws.migrationhubrefactorspaces#ResourcePolicyIdentifier": { "type": "string", "traits": { "smithy.api#length": { "min": 20, "max": 2048 }, "smithy.api#pattern": "^arn:aws:refactor-spaces:[a-zA-Z0-9\\-]+:\\w{12}:[a-zA-Z_0-9+=,.@\\-_/]+$" } }, "com.amazonaws.migrationhubrefactorspaces#RetryAfterSeconds": { "type": "integer", "traits": { "smithy.api#default": 0 } }, "com.amazonaws.migrationhubrefactorspaces#RouteActivationState": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ACTIVE", "name": "ACTIVE" }, { "value": "INACTIVE", "name": "INACTIVE" } ] } }, "com.amazonaws.migrationhubrefactorspaces#RouteId": { "type": "string", "traits": { "smithy.api#length": { "min": 14, "max": 14 }, "smithy.api#pattern": "^rte-[0-9A-Za-z]{10}$" } }, "com.amazonaws.migrationhubrefactorspaces#RouteState": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CREATING", "name": "CREATING" }, { "value": "ACTIVE", "name": "ACTIVE" }, { "value": "DELETING", "name": "DELETING" }, { "value": "FAILED", "name": "FAILED" }, { "value": "UPDATING", "name": "UPDATING" }, { "value": "INACTIVE", "name": "INACTIVE" } ] } }, "com.amazonaws.migrationhubrefactorspaces#RouteSummaries": { "type": "list", "member": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteSummary" } }, "com.amazonaws.migrationhubrefactorspaces#RouteSummary": { "type": "structure", "members": { "RouteId": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteId", "traits": { "smithy.api#documentation": "The unique identifier of the route.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the route.
" } }, "OwnerAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the route owner.
" } }, "CreatedByAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the route creator.
" } }, "RouteType": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteType", "traits": { "smithy.api#documentation": "The route type of the route.
" } }, "ServiceId": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceId", "traits": { "smithy.api#documentation": "The unique identifier of the service.
" } }, "ApplicationId": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The unique identifier of the application.
" } }, "EnvironmentId": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment.
" } }, "SourcePath": { "target": "com.amazonaws.migrationhubrefactorspaces#UriPath", "traits": { "smithy.api#documentation": "This is the path that Refactor Spaces uses to match traffic. Paths must start with / and are relative to\n 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'.
A list of HTTP methods to match. An empty list matches all values. If a method is present,\n only HTTP requests using that method are forwarded to this route\u2019s service.
" } }, "IncludeChildPaths": { "target": "com.amazonaws.migrationhubrefactorspaces#Boolean", "traits": { "smithy.api#documentation": "Indicates whether to match all subpaths of the given source path. If this value is\n false, requests must match the source path exactly before they are forwarded to\n this route's service.
A mapping of Amazon API Gateway path resources to resource IDs.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteState", "traits": { "smithy.api#documentation": "The current state of the route.
" } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The tags assigned to the route.
" } }, "Error": { "target": "com.amazonaws.migrationhubrefactorspaces#ErrorResponse", "traits": { "smithy.api#documentation": "Any error associated with the route resource.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the route was last updated.
" } }, "CreatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the route is created.
" } }, "AppendSourcePath": { "target": "com.amazonaws.migrationhubrefactorspaces#Boolean", "traits": { "smithy.api#documentation": "If set to true, this option appends the source path to the service URL endpoint.
The summary information for the routes as a response to ListRoutes.
The ID of the resource.
", "smithy.api#required": {} } }, "ResourceType": { "target": "com.amazonaws.migrationhubrefactorspaces#String", "traits": { "smithy.api#documentation": "The type of resource.
", "smithy.api#required": {} } }, "QuotaCode": { "target": "com.amazonaws.migrationhubrefactorspaces#String", "traits": { "smithy.api#documentation": "Service quota requirement to identify originating quota. Reached throttling quota\n exception.
" } }, "ServiceCode": { "target": "com.amazonaws.migrationhubrefactorspaces#String", "traits": { "smithy.api#documentation": "Service quota requirement to identify originating service. Reached throttling quota\n exception service code.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The request would cause a service quota to be exceeded.
", "smithy.api#error": "client", "smithy.api#httpError": 402 } }, "com.amazonaws.migrationhubrefactorspaces#ServiceState": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CREATING", "name": "CREATING" }, { "value": "ACTIVE", "name": "ACTIVE" }, { "value": "DELETING", "name": "DELETING" }, { "value": "FAILED", "name": "FAILED" } ] } }, "com.amazonaws.migrationhubrefactorspaces#ServiceSummaries": { "type": "list", "member": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceSummary" } }, "com.amazonaws.migrationhubrefactorspaces#ServiceSummary": { "type": "structure", "members": { "ServiceId": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceId", "traits": { "smithy.api#documentation": "The unique identifier of the service.
" } }, "Name": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceName", "traits": { "smithy.api#documentation": "The name of the service.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the service.
" } }, "OwnerAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the service owner.
" } }, "CreatedByAccountId": { "target": "com.amazonaws.migrationhubrefactorspaces#AccountId", "traits": { "smithy.api#documentation": "The Amazon Web Services account ID of the service creator.
" } }, "Description": { "target": "com.amazonaws.migrationhubrefactorspaces#Description", "traits": { "smithy.api#documentation": "A description of the service.
" } }, "EnvironmentId": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The unique identifier of the environment.
" } }, "ApplicationId": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The unique identifier of the application.
" } }, "VpcId": { "target": "com.amazonaws.migrationhubrefactorspaces#VpcId", "traits": { "smithy.api#documentation": "The ID of the virtual private cloud (VPC).
" } }, "EndpointType": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceEndpointType", "traits": { "smithy.api#documentation": "The endpoint type of the service.
" } }, "UrlEndpoint": { "target": "com.amazonaws.migrationhubrefactorspaces#UrlEndpointSummary", "traits": { "smithy.api#documentation": "The summary of the configuration for the URL endpoint type.
" } }, "LambdaEndpoint": { "target": "com.amazonaws.migrationhubrefactorspaces#LambdaEndpointSummary", "traits": { "smithy.api#documentation": "A summary of the configuration for the Lambda endpoint type.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#ServiceState", "traits": { "smithy.api#documentation": "The current state of the service.
" } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The tags assigned to the service.
" } }, "Error": { "target": "com.amazonaws.migrationhubrefactorspaces#ErrorResponse", "traits": { "smithy.api#documentation": "Any error associated with the service resource.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the service was last updated.
" } }, "CreatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the service is created.
" } } }, "traits": { "smithy.api#documentation": "A summary for the service as a response to ListServices.
Removes the tags of a given resource. Tags are metadata which can be used to manage a\n resource. To tag a resource, the caller account must be the same as the resource\u2019s\n OwnerAccountId. Tagging resources in other accounts is not supported.
Amazon Web Services Migration Hub Refactor Spaces does not propagate tags to orchestrated resources, such as an\n environment\u2019s transit gateway.
\nThe Amazon Resource Name (ARN) of the resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.migrationhubrefactorspaces#TagMap", "traits": { "smithy.api#documentation": "The new or modified tags for the resource.
", "smithy.api#required": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#TagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.migrationhubrefactorspaces#ThrottlingException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.migrationhubrefactorspaces#String", "traits": { "smithy.api#required": {} } }, "QuotaCode": { "target": "com.amazonaws.migrationhubrefactorspaces#String", "traits": { "smithy.api#documentation": "Service quota requirement to identify originating quota. Reached throttling quota\n exception.
" } }, "ServiceCode": { "target": "com.amazonaws.migrationhubrefactorspaces#String", "traits": { "smithy.api#documentation": "Service quota requirement to identify originating service. Reached throttling quota\n exception service code.
" } }, "RetryAfterSeconds": { "target": "com.amazonaws.migrationhubrefactorspaces#RetryAfterSeconds", "traits": { "smithy.api#default": 0, "smithy.api#documentation": "The number of seconds to wait before retrying.
", "smithy.api#httpHeader": "Retry-After" } } }, "traits": { "smithy.api#documentation": "Request was denied because the request was throttled.
", "smithy.api#error": "client", "smithy.api#httpError": 429 } }, "com.amazonaws.migrationhubrefactorspaces#Timestamp": { "type": "timestamp" }, "com.amazonaws.migrationhubrefactorspaces#TransitGatewayId": { "type": "string", "traits": { "smithy.api#length": { "min": 21, "max": 21 }, "smithy.api#pattern": "^tgw-[-a-f0-9]{17}$" } }, "com.amazonaws.migrationhubrefactorspaces#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#UntagResourceRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#UntagResourceResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Adds to or modifies the tags of the given resource. Tags are metadata which can be used to\n manage a resource. To untag a resource, the caller account must be the same as the resource\u2019s\n OwnerAccountId. Untagging resources across accounts is not supported.
The Amazon Resource Name (ARN) of the resource.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "TagKeys": { "target": "com.amazonaws.migrationhubrefactorspaces#TagKeys", "traits": { "smithy.api#documentation": "The list of keys of the tags to be removed from the resource.
", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} } } } }, "com.amazonaws.migrationhubrefactorspaces#UntagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.migrationhubrefactorspaces#UpdateRoute": { "type": "operation", "input": { "target": "com.amazonaws.migrationhubrefactorspaces#UpdateRouteRequest" }, "output": { "target": "com.amazonaws.migrationhubrefactorspaces#UpdateRouteResponse" }, "errors": [ { "target": "com.amazonaws.migrationhubrefactorspaces#AccessDeniedException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#InternalServerException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceNotFoundException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ThrottlingException" }, { "target": "com.amazonaws.migrationhubrefactorspaces#ValidationException" } ], "traits": { "smithy.api#documentation": "Updates an Amazon Web Services Migration Hub Refactor Spaces route.
", "smithy.api#http": { "method": "PATCH", "uri": "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}", "code": 200 } } }, "com.amazonaws.migrationhubrefactorspaces#UpdateRouteRequest": { "type": "structure", "members": { "EnvironmentIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#EnvironmentId", "traits": { "smithy.api#documentation": "The ID of the environment in which the route is being updated.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ApplicationIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application within which the route is being updated.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "RouteIdentifier": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteId", "traits": { "smithy.api#documentation": "The unique identifier of the route to update.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "ActivationState": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteActivationState", "traits": { "smithy.api#documentation": " If set to ACTIVE, traffic is forwarded to this route\u2019s service after the\n route is updated.
The unique identifier of the route.
" } }, "Arn": { "target": "com.amazonaws.migrationhubrefactorspaces#ResourceArn", "traits": { "smithy.api#documentation": " The Amazon Resource Name (ARN) of the route. The format for this ARN is \narn:aws:refactor-spaces:region:account-id:resource-type/resource-id\n . For more information about ARNs, \nsee \n Amazon Resource Names (ARNs) in the \n Amazon Web Services General Reference.
The ID of service in which the route was created. Traffic that matches this route is\n forwarded to this service.
" } }, "ApplicationId": { "target": "com.amazonaws.migrationhubrefactorspaces#ApplicationId", "traits": { "smithy.api#documentation": "The ID of the application in which the route is being updated.
" } }, "State": { "target": "com.amazonaws.migrationhubrefactorspaces#RouteState", "traits": { "smithy.api#documentation": "The current state of the route.
" } }, "LastUpdatedTime": { "target": "com.amazonaws.migrationhubrefactorspaces#Timestamp", "traits": { "smithy.api#documentation": "A timestamp that indicates when the route was last updated.
" } } } }, "com.amazonaws.migrationhubrefactorspaces#Uri": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 }, "smithy.api#pattern": "^https?://[-a-zA-Z0-9+\\x38@#/%?=~_|!:,.;]*[-a-zA-Z0-9+\\x38@#/%=~_|]$" } }, "com.amazonaws.migrationhubrefactorspaces#UriPath": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2048 }, "smithy.api#pattern": "^(/([a-zA-Z0-9._:-]+|\\{[a-zA-Z0-9._:-]+\\}))+$" } }, "com.amazonaws.migrationhubrefactorspaces#UriPathRouteInput": { "type": "structure", "members": { "SourcePath": { "target": "com.amazonaws.migrationhubrefactorspaces#UriPath", "traits": { "smithy.api#documentation": "This is the path that Refactor Spaces uses to match traffic. Paths must start with / and are relative to\n the base of the application. To use path parameters in the source path, add a variable in curly braces.\n For example, the resource path {user} represents a path parameter called 'user'.
If set to ACTIVE, traffic is forwarded to this route\u2019s service after the\n route is created.
A list of HTTP methods to match. An empty list matches all values. If a method is present,\n only HTTP requests using that method are forwarded to this route\u2019s service.
" } }, "IncludeChildPaths": { "target": "com.amazonaws.migrationhubrefactorspaces#Boolean", "traits": { "smithy.api#documentation": "Indicates whether to match all subpaths of the given source path. If this value is\n false, requests must match the source path exactly before they are forwarded to\n this route's service.
If set to true, this option appends the source path to the service URL endpoint.
The configuration for the URI path route type.
" } }, "com.amazonaws.migrationhubrefactorspaces#UrlEndpointConfig": { "type": "structure", "members": { "Url": { "target": "com.amazonaws.migrationhubrefactorspaces#Uri", "traits": { "smithy.api#documentation": "The HTTP URL endpoint.
" } }, "HealthUrl": { "target": "com.amazonaws.migrationhubrefactorspaces#Uri", "traits": { "smithy.api#documentation": "The health check URL of the URL endpoint type.
" } } }, "traits": { "smithy.api#documentation": "The configuration for the URL endpoint type.
" } }, "com.amazonaws.migrationhubrefactorspaces#UrlEndpointInput": { "type": "structure", "members": { "Url": { "target": "com.amazonaws.migrationhubrefactorspaces#Uri", "traits": { "smithy.api#documentation": "The URL to route traffic to. The URL must be an rfc3986-formatted URL. If the\n host is a domain name, the name must be resolvable over the public internet. If the scheme is\n https, the top level domain of the host must be listed in the IANA root zone database.
The health check URL of the URL endpoint type. If the URL is a public endpoint, the\n HealthUrl must also be a public endpoint. If the URL is a private endpoint\n inside a virtual private cloud (VPC), the health URL must also be a private endpoint, and the\n host must be the same as the URL.
The configuration for the URL endpoint type.
" } }, "com.amazonaws.migrationhubrefactorspaces#UrlEndpointSummary": { "type": "structure", "members": { "Url": { "target": "com.amazonaws.migrationhubrefactorspaces#Uri", "traits": { "smithy.api#documentation": " The URL to route traffic to. The URL must be an rfc3986-formatted URL. If the\n host is a domain name, the name must be resolvable over the public internet. If the scheme is\n https, the top level domain of the host must be listed in the IANA root zone database.
The health check URL of the URL endpoint type. If the URL is a public endpoint, the\n HealthUrl must also be a public endpoint. If the URL is a private endpoint\n inside a virtual private cloud (VPC), the health URL must also be a private endpoint, and the\n host must be the same as the URL.
The summary of the configuration for the URL endpoint type.
" } }, "com.amazonaws.migrationhubrefactorspaces#ValidationException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.migrationhubrefactorspaces#String", "traits": { "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "The input does not satisfy the constraints specified by an Amazon Web Service.\n
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.migrationhubrefactorspaces#VpcId": { "type": "string", "traits": { "smithy.api#length": { "min": 12, "max": 21 }, "smithy.api#pattern": "^vpc-[-a-f0-9]{8}([-a-f0-9]{9})?$" } }, "com.amazonaws.migrationhubrefactorspaces#VpcLinkId": { "type": "string", "traits": { "smithy.api#length": { "min": 10, "max": 10 }, "smithy.api#pattern": "^[a-z0-9]{10}$" } } } }