PutFunctionRequest
¶
Source code in docs_src/capo_mediatailor/types/put_function_request.py
aws_service_request_configuration
instance-attribute
¶
aws_service_request_configuration: NotRequired[AwsServiceRequestConfiguration]
The configuration for an AWS_SERVICE_REQUEST function. You must specify this parameter when FunctionType is AWS_SERVICE_REQUEST.
concurrent_executor_configuration
instance-attribute
¶
concurrent_executor_configuration: NotRequired[ConcurrentExecutorConfiguration]
The configuration for a CONCURRENT_EXECUTOR function. Specifies the list of child functions to run in parallel, the maximum concurrency, an optional output block, and a timeout. Required when FunctionType is CONCURRENT_EXECUTOR.
custom_output_configuration
instance-attribute
¶
custom_output_configuration: NotRequired[CustomOutputConfiguration]
The configuration for a CUSTOM_OUTPUT function. Specifies the runtime and output expressions. Required when FunctionType is CUSTOM_OUTPUT.
function_id
instance-attribute
¶
function_id: __string
The identifier of the function. The identifier must be unique within your account.
function_type
instance-attribute
¶
function_type: FunctionType
The type of the function, which determines what the function can do at runtime. Valid values:
-
CUSTOM_OUTPUT– Evaluates expressions and produces output bindings with no external calls. -
HTTP_REQUEST– Makes an HTTP call to an external service and evaluates output expressions that can reference the response. -
AWS_SERVICE_REQUEST– Makes an authenticated request to a supported AWS service API and evaluates output expressions that can reference the response. -
VAST_REQUEST– Calls a VAST endpoint, parses the response as VAST, and makes the parsed ads available to output expressions. -
SEQUENTIAL_EXECUTOR– Runs a sequence of child functions in order, passing data between steps through temporary data. -
CONCURRENT_EXECUTOR– Runs a set of child functions in parallel, up to a maximum concurrency, and combines their output when all functions complete.
For more information, see Function types and composition in the MediaTailor User Guide.
http_request_configuration
instance-attribute
¶
http_request_configuration: NotRequired[HttpRequestConfiguration]
The configuration for an HTTP_REQUEST function. Specifies the HTTP method, URL, headers, body, timeout, and output expressions. Required when FunctionType is HTTP_REQUEST.
sequential_executor_configuration
instance-attribute
¶
sequential_executor_configuration: NotRequired[SequentialExecutorConfiguration]
The configuration for a SEQUENTIAL_EXECUTOR function. Specifies the ordered list of child functions to execute, an optional output block, and a timeout. Required when FunctionType is SEQUENTIAL_EXECUTOR.
tags
instance-attribute
¶
tags: NotRequired[__mapOf__string]
The tags to assign to the function. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
vast_request_configuration
instance-attribute
¶
vast_request_configuration: NotRequired[VastRequestConfiguration]
The configuration for a VAST_REQUEST function. Specifies the HTTP method, URL, headers, body, timeout, and output expressions. Required when FunctionType is VAST_REQUEST.