Skip to content

list_fulfillment_options

list_fulfillment_options(
    product_id: ProductId,
    *,
    config_overrides: Optional[MarketplaceDiscoveryClientConfig] = None,
    locale: Optional[Locale] = None,
    max_results: Optional[int] = None,
    next_token: Optional[NextToken] = None,
) -> ListFulfillmentOptionsOutput

Returns the fulfillment options available for a product, including deployment details such as version information, operating systems, usage instructions, and release notes.

Parameters:

  • locale (Optional[Locale], default: None ) –

    A BCP 47 language tag or comma-separated priority list specifying the preferred locale for response content. See Locale for supported values, constraints, fallback behavior, and the default locale. If omitted, the service returns content in the default locale.

  • product_id (ProductId) –

    The unique identifier of the product for which to list fulfillment options.

  • max_results (Optional[int], default: None ) –

    The maximum number of results that are returned per call. You can use nextToken to get more results.

  • next_token (Optional[NextToken], default: None ) –

    If nextToken is returned, there are more results available. Make the call again using the returned token to retrieve the next page.

Raises:

Examples:

List AMI Fulfillment Options

>>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleAmiId')
List API Fulfillment Options
>>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleApiId')
List API Fulfillment Options with Dynamic Endpoint
>>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleApiDynamicId')
List CloudFormation Template Fulfillment Options
>>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleCftId')
List Container Fulfillment Options
>>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleContainerId')
List Helm Fulfillment Options
>>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleHelmId')
List EKS Add-On Fulfillment Options
>>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleEksId')
List EC2 Image Builder Component Fulfillment Options
>>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleImageBuilderId')
List Data Exchange Fulfillment Options
>>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleDataExchangeId')
List Professional Services Fulfillment Options
>>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleProServId')
List SaaS Fulfillment Options
>>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleSaasId')
List SageMaker Algorithm Fulfillment Options
>>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleSmAlgoId')
List SageMaker Model Fulfillment Options
>>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleSmModelId')
Source code in docs_src/capo_marketplace_discovery/_services/marketplace_discovery.py
def list_fulfillment_options(
    self,
    product_id: "capo_marketplace_discovery.types.product_id.ProductId",
    *,
    config_overrides: Optional[MarketplaceDiscoveryClientConfig] = None,
    locale: Optional["capo_marketplace_discovery.types.locale.Locale"] = None,
    max_results: Optional[int] = None,
    next_token: Optional[
        "capo_marketplace_discovery.types.next_token.NextToken"
    ] = None,
) -> "capo_marketplace_discovery.types.list_fulfillment_options_output.ListFulfillmentOptionsOutput":
    """<p>Returns the fulfillment options available for a product, including deployment details such as version information, operating systems, usage instructions, and release notes.</p>

    Args:
        locale: <p>A BCP 47 language tag or comma-separated priority list specifying the preferred locale for response content. See <code>Locale</code> for supported values, constraints, fallback behavior, and the default locale. If omitted, the service returns content in the default locale.</p>
        product_id: <p>The unique identifier of the product for which to list fulfillment options.</p>
        max_results: <p>The maximum number of results that are returned per call. You can use <code>nextToken</code> to get more results.</p>
        next_token: <p>If <code>nextToken</code> is returned, there are more results available. Make the call again using the returned token to retrieve the next page.</p>

    Raises:
        capo_marketplace_discovery.errors.access_denied_exception.AccessDeniedException: <p>You don't have sufficient access to perform this action.</p>
        capo_marketplace_discovery.errors.internal_server_exception.InternalServerException: <p>Unexpected error during processing of the request.</p>
        capo_marketplace_discovery.errors.throttling_exception.ThrottlingException: <p>The request was denied due to request throttling.</p>
        capo_marketplace_discovery.errors.validation_exception.ValidationException: <p>The input fails to satisfy the constraints specified by the service.</p>
        capo_marketplace_discovery.errors.resource_not_found_exception.ResourceNotFoundException: <p>The specified resource doesn't exist.</p>
        capo_marketplace_discovery.errors.UnknownServiceError: The service returned an error code this client does not model.

    Examples:
        List AMI Fulfillment Options

        >>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleAmiId')
        List API Fulfillment Options

        >>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleApiId')
        List API Fulfillment Options with Dynamic Endpoint

        >>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleApiDynamicId')
        List CloudFormation Template Fulfillment Options

        >>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleCftId')
        List Container Fulfillment Options

        >>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleContainerId')
        List Helm Fulfillment Options

        >>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleHelmId')
        List EKS Add-On Fulfillment Options

        >>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleEksId')
        List EC2 Image Builder Component Fulfillment Options

        >>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleImageBuilderId')
        List Data Exchange Fulfillment Options

        >>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleDataExchangeId')
        List Professional Services Fulfillment Options

        >>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleProServId')
        List SaaS Fulfillment Options

        >>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleSaasId')
        List SageMaker Algorithm Fulfillment Options

        >>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleSmAlgoId')
        List SageMaker Model Fulfillment Options

        >>> client.list_fulfillment_options(locale='en-US', product_id='prod-sampleSmModelId')
    """

    def _handler(
        req: "OperationRequest[capo_marketplace_discovery.types.list_fulfillment_options_input.ListFulfillmentOptionsInput]",
    ) -> OperationResponse[
        "capo_marketplace_discovery.types.list_fulfillment_options_output.ListFulfillmentOptionsOutput"
    ]:
        import capo_marketplace_discovery._operations.aws_marketplace_discovery.list_fulfillment_options

        output, http_response = (
            capo_marketplace_discovery._operations.aws_marketplace_discovery.list_fulfillment_options.list_fulfillment_options(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("ListFulfillmentOptions")
    )
    input_: capo_marketplace_discovery.types.list_fulfillment_options_input.ListFulfillmentOptionsInput = {
        "product_id": product_id
    }
    if locale is not None:
        input_["locale"] = locale
    if max_results is not None:
        input_["max_results"] = max_results
    if next_token is not None:
        input_["next_token"] = next_token

    response = execute_pipeline(
        OperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output