Skip to content

Type definitions#

Index > MigrationHubRefactorSpaces > Type definitions

Auto-generated documentation for MigrationHubRefactorSpaces type annotations stubs module mypy-boto3-migration-hub-refactor-spaces.

UriPathRouteInputUnionTypeDef#

# UriPathRouteInputUnionTypeDef definition

UriPathRouteInputUnionTypeDef = Union[
    UriPathRouteInputTypeDef,  # (1)
    UriPathRouteInputOutputTypeDef,  # (2)
]
  1. See UriPathRouteInputTypeDef
  2. See UriPathRouteInputOutputTypeDef

ApiGatewayProxyConfigTypeDef#

# ApiGatewayProxyConfigTypeDef definition

class ApiGatewayProxyConfigTypeDef(TypedDict):
    ApiGatewayId: NotRequired[str],
    EndpointType: NotRequired[ApiGatewayEndpointTypeType],  # (1)
    NlbArn: NotRequired[str],
    NlbName: NotRequired[str],
    ProxyUrl: NotRequired[str],
    StageName: NotRequired[str],
    VpcLinkId: NotRequired[str],
  1. See ApiGatewayEndpointTypeType

ApiGatewayProxyInputTypeDef#

# ApiGatewayProxyInputTypeDef definition

class ApiGatewayProxyInputTypeDef(TypedDict):
    EndpointType: NotRequired[ApiGatewayEndpointTypeType],  # (1)
    StageName: NotRequired[str],
  1. See ApiGatewayEndpointTypeType

ApiGatewayProxySummaryTypeDef#

# ApiGatewayProxySummaryTypeDef definition

class ApiGatewayProxySummaryTypeDef(TypedDict):
    ApiGatewayId: NotRequired[str],
    EndpointType: NotRequired[ApiGatewayEndpointTypeType],  # (1)
    NlbArn: NotRequired[str],
    NlbName: NotRequired[str],
    ProxyUrl: NotRequired[str],
    StageName: NotRequired[str],
    VpcLinkId: NotRequired[str],
  1. See ApiGatewayEndpointTypeType

ErrorResponseTypeDef#

# ErrorResponseTypeDef definition

class ErrorResponseTypeDef(TypedDict):
    AccountId: NotRequired[str],
    AdditionalDetails: NotRequired[Dict[str, str]],
    Code: NotRequired[ErrorCodeType],  # (1)
    Message: NotRequired[str],
    ResourceIdentifier: NotRequired[str],
    ResourceType: NotRequired[ErrorResourceTypeType],  # (2)
  1. See ErrorCodeType
  2. See ErrorResourceTypeType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

CreateEnvironmentRequestRequestTypeDef#

# CreateEnvironmentRequestRequestTypeDef definition

class CreateEnvironmentRequestRequestTypeDef(TypedDict):
    Name: str,
    NetworkFabricType: NetworkFabricTypeType,  # (1)
    ClientToken: NotRequired[str],
    Description: NotRequired[str],
    Tags: NotRequired[Mapping[str, str]],
  1. See NetworkFabricTypeType

DefaultRouteInputTypeDef#

# DefaultRouteInputTypeDef definition

class DefaultRouteInputTypeDef(TypedDict):
    ActivationState: NotRequired[RouteActivationStateType],  # (1)
  1. See RouteActivationStateType

UriPathRouteInputTypeDef#

# UriPathRouteInputTypeDef definition

class UriPathRouteInputTypeDef(TypedDict):
    ActivationState: RouteActivationStateType,  # (1)
    SourcePath: str,
    AppendSourcePath: NotRequired[bool],
    IncludeChildPaths: NotRequired[bool],
    Methods: NotRequired[Sequence[HttpMethodType]],  # (2)
  1. See RouteActivationStateType
  2. See HttpMethodType

UriPathRouteInputOutputTypeDef#

# UriPathRouteInputOutputTypeDef definition

class UriPathRouteInputOutputTypeDef(TypedDict):
    ActivationState: RouteActivationStateType,  # (1)
    SourcePath: str,
    AppendSourcePath: NotRequired[bool],
    IncludeChildPaths: NotRequired[bool],
    Methods: NotRequired[List[HttpMethodType]],  # (2)
  1. See RouteActivationStateType
  2. See HttpMethodType

LambdaEndpointInputTypeDef#

# LambdaEndpointInputTypeDef definition

class LambdaEndpointInputTypeDef(TypedDict):
    Arn: str,

UrlEndpointInputTypeDef#

# UrlEndpointInputTypeDef definition

class UrlEndpointInputTypeDef(TypedDict):
    Url: str,
    HealthUrl: NotRequired[str],

DeleteApplicationRequestRequestTypeDef#

# DeleteApplicationRequestRequestTypeDef definition

class DeleteApplicationRequestRequestTypeDef(TypedDict):
    ApplicationIdentifier: str,
    EnvironmentIdentifier: str,

DeleteEnvironmentRequestRequestTypeDef#

# DeleteEnvironmentRequestRequestTypeDef definition

class DeleteEnvironmentRequestRequestTypeDef(TypedDict):
    EnvironmentIdentifier: str,

DeleteResourcePolicyRequestRequestTypeDef#

# DeleteResourcePolicyRequestRequestTypeDef definition

class DeleteResourcePolicyRequestRequestTypeDef(TypedDict):
    Identifier: str,

DeleteRouteRequestRequestTypeDef#

# DeleteRouteRequestRequestTypeDef definition

class DeleteRouteRequestRequestTypeDef(TypedDict):
    ApplicationIdentifier: str,
    EnvironmentIdentifier: str,
    RouteIdentifier: str,

DeleteServiceRequestRequestTypeDef#

# DeleteServiceRequestRequestTypeDef definition

class DeleteServiceRequestRequestTypeDef(TypedDict):
    ApplicationIdentifier: str,
    EnvironmentIdentifier: str,
    ServiceIdentifier: str,

EnvironmentVpcTypeDef#

# EnvironmentVpcTypeDef definition

class EnvironmentVpcTypeDef(TypedDict):
    AccountId: NotRequired[str],
    CidrBlocks: NotRequired[List[str]],
    CreatedTime: NotRequired[datetime],
    EnvironmentId: NotRequired[str],
    LastUpdatedTime: NotRequired[datetime],
    VpcId: NotRequired[str],
    VpcName: NotRequired[str],

GetApplicationRequestRequestTypeDef#

# GetApplicationRequestRequestTypeDef definition

class GetApplicationRequestRequestTypeDef(TypedDict):
    ApplicationIdentifier: str,
    EnvironmentIdentifier: str,

GetEnvironmentRequestRequestTypeDef#

# GetEnvironmentRequestRequestTypeDef definition

class GetEnvironmentRequestRequestTypeDef(TypedDict):
    EnvironmentIdentifier: str,

GetResourcePolicyRequestRequestTypeDef#

# GetResourcePolicyRequestRequestTypeDef definition

class GetResourcePolicyRequestRequestTypeDef(TypedDict):
    Identifier: str,

GetRouteRequestRequestTypeDef#

# GetRouteRequestRequestTypeDef definition

class GetRouteRequestRequestTypeDef(TypedDict):
    ApplicationIdentifier: str,
    EnvironmentIdentifier: str,
    RouteIdentifier: str,

GetServiceRequestRequestTypeDef#

# GetServiceRequestRequestTypeDef definition

class GetServiceRequestRequestTypeDef(TypedDict):
    ApplicationIdentifier: str,
    EnvironmentIdentifier: str,
    ServiceIdentifier: str,

LambdaEndpointConfigTypeDef#

# LambdaEndpointConfigTypeDef definition

class LambdaEndpointConfigTypeDef(TypedDict):
    Arn: NotRequired[str],

UrlEndpointConfigTypeDef#

# UrlEndpointConfigTypeDef definition

class UrlEndpointConfigTypeDef(TypedDict):
    HealthUrl: NotRequired[str],
    Url: NotRequired[str],

LambdaEndpointSummaryTypeDef#

# LambdaEndpointSummaryTypeDef definition

class LambdaEndpointSummaryTypeDef(TypedDict):
    Arn: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListApplicationsRequestRequestTypeDef#

# ListApplicationsRequestRequestTypeDef definition

class ListApplicationsRequestRequestTypeDef(TypedDict):
    EnvironmentIdentifier: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListEnvironmentVpcsRequestRequestTypeDef#

# ListEnvironmentVpcsRequestRequestTypeDef definition

class ListEnvironmentVpcsRequestRequestTypeDef(TypedDict):
    EnvironmentIdentifier: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListEnvironmentsRequestRequestTypeDef#

# ListEnvironmentsRequestRequestTypeDef definition

class ListEnvironmentsRequestRequestTypeDef(TypedDict):
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListRoutesRequestRequestTypeDef#

# ListRoutesRequestRequestTypeDef definition

class ListRoutesRequestRequestTypeDef(TypedDict):
    ApplicationIdentifier: str,
    EnvironmentIdentifier: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListServicesRequestRequestTypeDef#

# ListServicesRequestRequestTypeDef definition

class ListServicesRequestRequestTypeDef(TypedDict):
    ApplicationIdentifier: str,
    EnvironmentIdentifier: str,
    MaxResults: NotRequired[int],
    NextToken: NotRequired[str],

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,

PutResourcePolicyRequestRequestTypeDef#

# PutResourcePolicyRequestRequestTypeDef definition

class PutResourcePolicyRequestRequestTypeDef(TypedDict):
    Policy: str,
    ResourceArn: str,

UrlEndpointSummaryTypeDef#

# UrlEndpointSummaryTypeDef definition

class UrlEndpointSummaryTypeDef(TypedDict):
    HealthUrl: NotRequired[str],
    Url: NotRequired[str],

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateRouteRequestRequestTypeDef#

# UpdateRouteRequestRequestTypeDef definition

class UpdateRouteRequestRequestTypeDef(TypedDict):
    ActivationState: RouteActivationStateType,  # (1)
    ApplicationIdentifier: str,
    EnvironmentIdentifier: str,
    RouteIdentifier: str,
  1. See RouteActivationStateType

CreateApplicationRequestRequestTypeDef#

# CreateApplicationRequestRequestTypeDef definition

class CreateApplicationRequestRequestTypeDef(TypedDict):
    EnvironmentIdentifier: str,
    Name: str,
    ProxyType: ProxyTypeType,  # (1)
    VpcId: str,
    ApiGatewayProxy: NotRequired[ApiGatewayProxyInputTypeDef],  # (2)
    Client