listFulfillmentOptions method

Future<ListFulfillmentOptionsOutput> listFulfillmentOptions({
  1. required String productId,
  2. int? maxResults,
  3. String? nextToken,
})

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

May throw ResourceNotFoundException.

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

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

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

Implementation

Future<ListFulfillmentOptionsOutput> listFulfillmentOptions({
  required String productId,
  int? maxResults,
  String? nextToken,
}) async {
  final $payload = <String, dynamic>{
    'productId': productId,
    if (maxResults != null) 'maxResults': maxResults,
    if (nextToken != null) 'nextToken': nextToken,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/2026-02-05/listFulfillmentOptions',
    exceptionFnMap: _exceptionFns,
  );
  return ListFulfillmentOptionsOutput.fromJson(response);
}