Skip to content

CreateApiResponse

Source code in docs_src/capo_apigatewayv2/types/create_api_response.py
class CreateApiResponse(TypedDict, closed=True):
    api_endpoint: NotRequired["capo_apigatewayv2.types.__string.__string"]
    """<p>The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com. The stage name is typically appended to this URI to form a complete path to a deployed API stage.</p>"""
    api_gateway_managed: NotRequired["capo_apigatewayv2.types.__boolean.__boolean"]
    """<p>Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.</p>"""
    api_id: NotRequired["capo_apigatewayv2.types.id.Id"]
    """<p>The API ID.</p>"""
    api_key_selection_expression: NotRequired[
        "capo_apigatewayv2.types.selection_expression.SelectionExpression"
    ]
    """<p>An API key selection expression. Supported only for WebSocket APIs. See <a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions">API Key Selection Expressions</a>.</p>"""
    cors_configuration: NotRequired["capo_apigatewayv2.types.cors.Cors"]
    """<p>A CORS configuration. Supported only for HTTP APIs.</p>"""
    created_date: NotRequired[
        "capo_apigatewayv2.types.__timestamp_iso8601.__timestampIso8601"
    ]
    """<p>The timestamp when the API was created.</p>"""
    description: NotRequired[
        "capo_apigatewayv2.types.string_with_length_between0_and1024.StringWithLengthBetween0And1024"
    ]
    """<p>The description of the API.</p>"""
    disable_schema_validation: NotRequired[
        "capo_apigatewayv2.types.__boolean.__boolean"
    ]
    """<p>Avoid validating models when creating a deployment. Supported only for WebSocket APIs.</p>"""
    disable_execute_api_endpoint: NotRequired[
        "capo_apigatewayv2.types.__boolean.__boolean"
    ]
    """<p>Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.</p>"""
    import_info: NotRequired[
        "capo_apigatewayv2.types.__list_of__string.__listOf__string"
    ]
    """<p>The validation information during API import. This may include particular properties of your OpenAPI definition which are ignored during import. Supported only for HTTP APIs.</p>"""
    ip_address_type: NotRequired[
        "capo_apigatewayv2.types.ip_address_type.IpAddressType"
    ]
    """<p>The IP address types that can invoke the API.</p>"""
    name: NotRequired[
        "capo_apigatewayv2.types.string_with_length_between1_and128.StringWithLengthBetween1And128"
    ]
    """<p>The name of the API.</p>"""
    protocol_type: NotRequired["capo_apigatewayv2.types.protocol_type.ProtocolType"]
    """<p>The API protocol.</p>"""
    route_selection_expression: NotRequired[
        "capo_apigatewayv2.types.selection_expression.SelectionExpression"
    ]
    """<p>The route selection expression for the API. For HTTP APIs, the routeSelectionExpression must be ${request.method} ${request.path}. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs.</p>"""
    tags: NotRequired["capo_apigatewayv2.types.tags.Tags"]
    """<p>A collection of tags associated with the API.</p>"""
    version: NotRequired[
        "capo_apigatewayv2.types.string_with_length_between1_and64.StringWithLengthBetween1And64"
    ]
    """<p>A version identifier for the API.</p>"""
    warnings: NotRequired["capo_apigatewayv2.types.__list_of__string.__listOf__string"]
    """<p>The warning messages reported when failonwarnings is turned on during API import.</p>"""

api_endpoint instance-attribute

api_endpoint: NotRequired[__string]

The URI of the API, of the form {api-id}.execute-api.{region}.amazonaws.com. The stage name is typically appended to this URI to form a complete path to a deployed API stage.

api_gateway_managed instance-attribute

api_gateway_managed: NotRequired[__boolean]

Specifies whether an API is managed by API Gateway. You can't update or delete a managed API by using API Gateway. A managed API can be deleted only through the tooling or service that created it.

api_id instance-attribute

api_id: NotRequired[Id]

The API ID.

api_key_selection_expression instance-attribute

api_key_selection_expression: NotRequired[SelectionExpression]

An API key selection expression. Supported only for WebSocket APIs. See API Key Selection Expressions.

cors_configuration instance-attribute

cors_configuration: NotRequired[Cors]

A CORS configuration. Supported only for HTTP APIs.

created_date instance-attribute

created_date: NotRequired[__timestampIso8601]

The timestamp when the API was created.

description instance-attribute

description: NotRequired[StringWithLengthBetween0And1024]

The description of the API.

disable_execute_api_endpoint instance-attribute

disable_execute_api_endpoint: NotRequired[__boolean]

Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.

disable_schema_validation instance-attribute

disable_schema_validation: NotRequired[__boolean]

Avoid validating models when creating a deployment. Supported only for WebSocket APIs.

import_info instance-attribute

import_info: NotRequired[__listOf__string]

The validation information during API import. This may include particular properties of your OpenAPI definition which are ignored during import. Supported only for HTTP APIs.

ip_address_type instance-attribute

ip_address_type: NotRequired[IpAddressType]

The IP address types that can invoke the API.

name instance-attribute

name: NotRequired[StringWithLengthBetween1And128]

The name of the API.

protocol_type instance-attribute

protocol_type: NotRequired[ProtocolType]

The API protocol.

route_selection_expression instance-attribute

route_selection_expression: NotRequired[SelectionExpression]

The route selection expression for the API. For HTTP APIs, the routeSelectionExpression must be ${request.method} ${request.path}. If not provided, this will be the default for HTTP APIs. This property is required for WebSocket APIs.

tags instance-attribute

tags: NotRequired[Tags]

A collection of tags associated with the API.

version instance-attribute

version: NotRequired[StringWithLengthBetween1And64]

A version identifier for the API.

warnings instance-attribute

warnings: NotRequired[__listOf__string]

The warning messages reported when failonwarnings is turned on during API import.