A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.aws_apigateway/ContentHandling.html below:

Website Navigation


ContentHandling — AWS Cloud Development Kit 1.204.0 documentation

ContentHandling
class aws_cdk.aws_apigateway.ContentHandling(value)

Bases: Enum

ExampleMetadata:

infused

Example:

# get_book_handler: lambda.Function
# get_book_integration: apigateway.LambdaIntegration


get_book_integration = apigateway.LambdaIntegration(get_book_handler,
    content_handling=apigateway.ContentHandling.CONVERT_TO_TEXT,  # convert to base64
    credentials_passthrough=True
)

Attributes

CONVERT_TO_BINARY

Converts a request payload from a base64-encoded string to a binary blob.

CONVERT_TO_TEXT

Converts a request payload from a binary blob to a base64-encoded string.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4