Skip to content

APIGatewayClient.get_integration

rboto-api-gateway==0.4.0 · Service index · Types

Model summary (excerpt): Get the integration settings.

Install and imports

python -m pip install "rboto[api-gateway]==0.4.0"
from rboto import APIGatewayClient
from rboto_api_gateway.types import (
    GetIntegrationOutput,
)

Signature

async def get_integration(
    *,
    rest_api_id: str,
    resource_id: str,
    http_method: str,
) -> GetIntegrationOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
rest_api_id Yes The string identifier of the associated RestApi.
resource_id Yes Specifies a get integration request's resource identifier
http_method Yes Specifies a get integration request's HTTP method.

Output

GetIntegrationOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
type IntegrationTypeOutput | None Always present IntegrationTypeOutput
http_method str | None Always present —
uri str | None Always present —
connection_type ConnectionTypeOutput | None Always present ConnectionTypeOutput
connection_id str | None Always present —
credentials str | None Always present —
request_parameters dict[str, str] | None Always present —
request_templates dict[str, str] | None Always present —
passthrough_behavior str | None Always present —
content_handling ContentHandlingStrategyOutput | None Always present ContentHandlingStrategyOutput
timeout_in_millis int Always present —
cache_namespace str | None Always present —
cache_key_parameters list[str] | None Always present —
integration_responses dict[str, IntegrationResponse] | None Always present IntegrationResponse
tls_config TlsConfigOutput | None Always present TlsConfigOutput
response_transfer_mode ResponseTransferModeOutput | None Always present ResponseTransferModeOutput
integration_target str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

GetIntegrationOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_api_gateway.exceptions:

BadRequestError, NotFoundError, TooManyRequestsError, UnauthorizedError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model