Class: Aws::MarketplaceDiscovery::Client

Inherits:
Seahorse::Client::Base show all
Includes:
ClientStubs
Defined in:
gems/aws-sdk-marketplacediscovery/lib/aws-sdk-marketplacediscovery/client.rb

Overview

An API client for MarketplaceDiscovery. To construct a client, you need to configure a :region and :credentials.

client = Aws::MarketplaceDiscovery::Client.new(
  region: region_name,
  credentials: credentials,
  # ...
)

For details on configuring region and credentials see the developer guide.

See #initialize for a full list of supported configuration options.

Instance Attribute Summary

Attributes inherited from Seahorse::Client::Base

#config, #handlers

API Operations collapse

Instance Method Summary collapse

Methods included from ClientStubs

#api_requests, #stub_data, #stub_responses

Methods inherited from Seahorse::Client::Base

add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins

Methods included from Seahorse::Client::HandlerBuilder

#handle, #handle_request, #handle_response

Constructor Details

#initialize(options) ⇒ Client

Returns a new instance of Client.

Parameters:

  • options (Hash)

Options Hash (options):

  • :plugins (Array<Seahorse::Client::Plugin>) — default: []] —

    A list of plugins to apply to the client. Each plugin is either a class name or an instance of a plugin class.

  • :credentials (required, Aws::CredentialProvider) —

    Your AWS credentials used for authentication. This can be any class that includes and implements Aws::CredentialProvider, or instance of any one of the following classes:

    • Aws::Credentials - Used for configuring static, non-refreshing credentials.

    • Aws::SharedCredentials - Used for loading static credentials from a shared file, such as ~/.aws/config.

    • Aws::AssumeRoleCredentials - Used when you need to assume a role.

    • Aws::AssumeRoleWebIdentityCredentials - Used when you need to assume a role after providing credentials via the web.

    • Aws::SSOCredentials - Used for loading credentials from AWS SSO using an access token generated from aws login.

    • Aws::ProcessCredentials - Used for loading credentials from a process that outputs to stdout.

    • Aws::InstanceProfileCredentials - Used for loading credentials from an EC2 IMDS on an EC2 instance.

    • Aws::ECSCredentials - Used for loading credentials from instances running in ECS.

    • Aws::CognitoIdentityCredentials - Used for loading credentials from the Cognito Identity service.

    When :credentials are not configured directly, the following locations will be searched for credentials:

    • Aws.config[:credentials]

    • The :access_key_id, :secret_access_key, :session_token, and :account_id options.

    • ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'], ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID'].

    • ~/.aws/credentials

    • ~/.aws/config

    • EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive. Construct and pass an instance of Aws::InstanceProfileCredentials or Aws::ECSCredentials to enable retries and extended timeouts. Instance profile credential fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED'] to true.

  • :region (required, String) —

    The AWS region to connect to. The configured :region is used to determine the service :endpoint. When not passed, a default :region is searched for in the following locations:

    • Aws.config[:region]
    • ENV['AWS_REGION']
    • ENV['AMAZON_REGION']
    • ENV['AWS_DEFAULT_REGION']
    • ~/.aws/credentials
    • ~/.aws/config
  • :access_key_id (String)
  • :account_id (String)
  • :active_endpoint_cache (Boolean) — default: false —

    When set to true, a thread polling for endpoints will be running in the background every 60 secs (default). Defaults to false.

  • :adaptive_retry_wait_to_fill (Boolean) — default: true —

    Used only in adaptive retry mode. When true, the request will sleep until there is sufficent client side capacity to retry the request. When false, the request will raise a RetryCapacityNotAvailableError and will not retry instead of sleeping.

  • :auth_scheme_preference (Array<String>) —

    A list of preferred authentication schemes to use when making a request. Supported values are: sigv4, sigv4a, httpBearerAuth, and noAuth. When set using ENV['AWS_AUTH_SCHEME_PREFERENCE'] or in shared config as auth_scheme_preference, the value should be a comma-separated list.

  • :client_side_monitoring (Boolean) — default: false —

    When true, client-side metrics will be collected for all API requests from this client.

  • :client_side_monitoring_client_id (String) — default: "" —

    Allows you to provide an identifier for this client which will be attached to all generated client side metrics. Defaults to an empty string.

  • :client_side_monitoring_host (String) — default: "127.0.0.1" —

    Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client side monitoring agent is running on, where client metrics will be published via UDP.

  • :client_side_monitoring_port (Integer) — default: 31000 —

    Required for publishing client metrics. The port that the client side monitoring agent is running on, where client metrics will be published via UDP.

  • :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher) — default: Aws::ClientSideMonitoring::Publisher —

    Allows you to provide a custom client-side monitoring publisher class. By default, will use the Client Side Monitoring Agent Publisher.

  • :convert_params (Boolean) — default: true —

    When true, an attempt is made to coerce request parameters into the required types.

  • :correct_clock_skew (Boolean) — default: true —

    Used only in standard and adaptive retry modes. Specifies whether to apply a clock skew correction and retry requests with skewed client clocks. Takes effect only when disable_clock_skew_correction is not set.

  • :defaults_mode (String) — default: "legacy" —

    See DefaultsModeConfiguration for a list of the accepted modes and the configuration defaults that are included.

  • :disable_clock_skew_correction (Boolean) —

    Used only in standard and adaptive retry modes. When true, the SDK does not apply a clock skew correction, does not update its stored skew from responses, and does not retry clock skew errors. Clock skew correction is enabled by default.

  • :disable_host_prefix_injection (Boolean) — default: false —

    When true, the SDK will not prepend the modeled host prefix to the endpoint.

  • :disable_request_compression (Boolean) — default: false —

    When set to 'true' the request body will not be compressed for supported operations.

  • :endpoint (String, URI::HTTPS, URI::HTTP) —

    Normally you should not configure the :endpoint option directly. This is normally constructed from the :region option. Configuring :endpoint is normally reserved for connecting to test or custom endpoints. The endpoint should be a URI formatted like:

    'http://example.com'
    'https://example.com'
    'http://example.com:123'
    
  • :endpoint_cache_max_entries (Integer) — default: 1000 —

    Used for the maximum size limit of the LRU cache storing endpoints data for endpoint discovery enabled operations. Defaults to 1000.

  • :endpoint_cache_max_threads (Integer) — default: 10 —

    Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.

  • :endpoint_cache_poll_interval (Integer) — default: 60 —

    When :endpoint_discovery and :active_endpoint_cache is enabled, Use this option to config the time interval in seconds for making requests fetching endpoints information. Defaults to 60 sec.

  • :endpoint_discovery (Boolean) — default: false —

    When set to true, endpoint discovery will be enabled for operations when available.

  • :ignore_configured_endpoint_urls (Boolean) —

    Setting to true disables use of endpoint URLs provided via environment variables and the shared configuration file.

  • :log_formatter (Aws::Log::Formatter) — default: Aws::Log::Formatter.default —

    The log formatter.

  • :log_level (Symbol) — default: :info —

    The log level to send messages to the :logger at.

  • :logger (Logger) —

    The Logger instance to send log messages to. If this option is not set, logging will be disabled.

  • :max_attempts (Integer) — default: 3 —

    An integer representing the maximum number attempts that will be made for a single request, including the initial attempt. For example, setting this value to 5 will result in a request being retried up to 4 times. Used in standard and adaptive retry modes. Defaults to 3, except for DynamoDB and DynamoDB Streams, which default to 4.

  • :profile (String) — default: "default" —

    Used when loading credentials from the shared credentials file at HOME/.aws/credentials. When not specified, 'default' is used.

  • :request_checksum_calculation (String) — default: "when_supported" —

    Determines when a checksum will be calculated for request payloads. Values are:

    • when_supported - (default) When set, a checksum will be calculated for all request payloads of operations modeled with the httpChecksum trait where requestChecksumRequired is true and/or a requestAlgorithmMember is modeled.
    • when_required - When set, a checksum will only be calculated for request payloads of operations modeled with the httpChecksum trait where requestChecksumRequired is true or where a requestAlgorithmMember is modeled and supplied.
  • :request_min_compression_size_bytes (Integer) — default: 10240 —

    The minimum size in bytes that triggers compression for request bodies. The value must be non-negative integer value between 0 and 10485780 bytes inclusive.

  • :response_checksum_validation (String) — default: "when_supported" —

    Determines when checksum validation will be performed on response payloads. Values are:

    • when_supported - (default) When set, checksum validation is performed on all response payloads of operations modeled with the httpChecksum trait where responseAlgorithms is modeled, except when no modeled checksum algorithms are supported.
    • when_required - When set, checksum validation is not performed on response payloads of operations unless the checksum algorithm is supported and the requestValidationModeMember member is set to ENABLED.
  • :retry_backoff (Proc) —

    A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay. This option is only used in the legacy retry mode.

  • :retry_base_delay (Float) — default: 0.3 —

    The base delay in seconds used by the default backoff function. This option is only used in the legacy retry mode.

  • :retry_jitter (Symbol) — default: :none —

    A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number. This option is only used in the legacy retry mode.

    @see https://www.awsarchitectureblog.com/2015/03/backoff.html

  • :retry_limit (Integer) — default: 3 —

    The maximum number of times to retry failed requests. Only ~ 500 level server errors and certain ~ 400 level client errors are retried. Generally, these are throttling errors, data checksum errors, networking errors, timeout errors, auth errors, endpoint discovery, and errors from expired credentials. This option is only used in the legacy retry mode.

  • :retry_max_delay (Integer) — default: 0 —

    The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function. This option is only used in the legacy retry mode.

  • :retry_mode (String) — default: "standard" —

    Specifies which retry algorithm to use. Values are:

    • legacy - The pre-existing retry behavior.

    • standard - A standardized set of retry rules across the AWS SDKs. This includes support for retry quotas, which limit the number of unsuccessful retries a client can make. This is the default value if no retry mode is provided.

    • adaptive - A retry mode that includes all the functionality of standard mode along with automatic client side throttling.

  • :sdk_ua_app_id (String) —

    A unique and opaque application ID that is appended to the User-Agent header as app/sdk_ua_app_id. It should have a maximum length of 50. This variable is sourced from environment variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.

  • :secret_access_key (String)
  • :session_token (String)
  • :sigv4a_signing_region_set (Array) —

    A list of regions that should be signed with SigV4a signing. When not passed, a default :sigv4a_signing_region_set is searched for in the following locations:

    • Aws.config[:sigv4a_signing_region_set]
    • ENV['AWS_SIGV4A_SIGNING_REGION_SET']
    • ~/.aws/config
  • :stub_responses (Boolean) — default: false —

    Causes the client to return stubbed responses. By default fake responses are generated and returned. You can specify the response data to return or errors to raise by calling ClientStubs#stub_responses. See ClientStubs for more information.

    Please note When response stubbing is enabled, no HTTP requests are made, and retries are disabled.

  • :telemetry_provider (Aws::Telemetry::TelemetryProviderBase) — default: Aws::Telemetry::NoOpTelemetryProvider —

    Allows you to provide a telemetry provider, which is used to emit telemetry data. By default, uses NoOpTelemetryProvider which will not record or emit any telemetry data. The SDK supports the following telemetry providers:

    • OpenTelemetry (OTel) - To use the OTel provider, install and require the opentelemetry-sdk gem and then, pass in an instance of a Aws::Telemetry::OTelProvider for telemetry provider.
  • :token_provider (Aws::TokenProvider) —

    Your Bearer token used for authentication. This can be any class that includes and implements Aws::TokenProvider, or instance of any one of the following classes:

    • Aws::StaticTokenProvider - Used for configuring static, non-refreshing tokens.

    • Aws::SSOTokenProvider - Used for loading tokens from AWS SSO using an access token generated from aws login.

    When :token_provider is not configured directly, the Aws::TokenProviderChain will be used to search for tokens configured for your profile in shared configuration files.

  • :use_dualstack_endpoint (Boolean) —

    When set to true, dualstack enabled endpoints (with .aws TLD) will be used if available.

  • :use_fips_endpoint (Boolean) —

    When set to true, fips compatible endpoints will be used if available. When a fips region is used, the region is normalized and this config is set to true.

  • :validate_params (Boolean) — default: true —

    When true, request parameters are validated before sending the request.

  • :endpoint_provider (Aws::MarketplaceDiscovery::EndpointProvider) —

    The endpoint provider used to resolve endpoints. Any object that responds to #resolve_endpoint(parameters) where parameters is a Struct similar to Aws::MarketplaceDiscovery::EndpointParameters.

  • :http_continue_timeout (Float) — default: 1 —

    The number of seconds to wait for a 100-continue response before sending the request body. This option has no effect unless the request has "Expect" header set to "100-continue". Defaults to nil which disables this behaviour. This value can safely be set per request on the session.

  • :http_idle_timeout (Float) — default: 5 —

    The number of seconds a connection is allowed to sit idle before it is considered stale. Stale connections are closed and removed from the pool before making a request.

  • :http_open_timeout (Float) — default: 15 —

    The default number of seconds to wait for response data. This value can safely be set per-request on the session.

  • :http_proxy (URI::HTTP, String) —

    A proxy to send requests through. Formatted like 'http://proxy.com:123'.

  • :http_read_timeout (Float) — default: 60 —

    The default number of seconds to wait for response data. This value can safely be set per-request on the session.

  • :http_wire_trace (Boolean) — default: false —

    When true, HTTP debug output will be sent to the :logger.

  • :on_chunk_received (Proc) —

    When a Proc object is provided, it will be used as callback when each chunk of the response body is received. It provides three arguments: the chunk, the number of bytes received, and the total number of bytes in the response (or nil if the server did not send a content-length).

  • :on_chunk_sent (Proc) —

    When a Proc object is provided, it will be used as callback when each chunk of the request body is sent. It provides three arguments: the chunk, the number of bytes read from the body, and the total number of bytes in the body.

  • :raise_response_errors (Boolean) — default: true —

    When true, response errors are raised.

  • :ssl_ca_bundle (String) —

    Full path to the SSL certificate authority bundle file that should be used when verifying peer certificates. If you do not pass :ssl_ca_bundle or :ssl_ca_directory the the system default will be used if available.

  • :ssl_ca_directory (String) —

    Full path of the directory that contains the unbundled SSL certificate authority files for verifying peer certificates. If you do not pass :ssl_ca_bundle or :ssl_ca_directory the the system default will be used if available.

  • :ssl_ca_store (String) —

    Sets the X509::Store to verify peer certificate.

  • :ssl_cert (OpenSSL::X509::Certificate) —

    Sets a client certificate when creating http connections.

  • :ssl_key (OpenSSL::PKey) —

    Sets a client key when creating http connections.

  • :ssl_timeout (Float) —

    Sets the SSL timeout in seconds

  • :ssl_verify_peer (Boolean) — default: true —

    When true, SSL peer certificates are verified when establishing a connection.



479
480
481
# File 'gems/aws-sdk-marketplacediscovery/lib/aws-sdk-marketplacediscovery/client.rb', line 479

def initialize(*args)
  super
end

Instance Method Details

#get_listing(params = {}) ⇒ Types::GetListingOutput

Provides details about a listing, such as descriptions, badges, categories, pricing model summaries, reviews, and associated products and offers.

Examples:

Example: GetListing for SaaS listing


resp = client.get_listing({
  listing_id: "prodview-sampleSaasId", 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  associated_entities: [
    {
      product: {
        manufacturer: {
          display_name: "sample SaaS seller", 
          seller_profile_id: "seller-sampleSaasId", 
        }, 
        product_id: "prod-sampleSaasId", 
        product_name: "sample SaaS product", 
      }, 
    }, 
  ], 
  badges: [
    {
      badge_type: "QUICK_LAUNCH", 
      display_name: "Quick Launch", 
    }, 
  ], 
  catalog: "AWSMarketplace", 
  categories: [
    {
      category_id: "developer-tools", 
      display_name: "Developer Tools", 
    }, 
    {
      category_id: "ide", 
      display_name: "IDE", 
    }, 
  ], 
  fulfillment_option_summaries: [
    {
      display_name: "SaaS", 
      fulfillment_option_type: "SAAS", 
    }, 
  ], 
  highlights: [
    "Automated dev environments", 
    "Works with any Git repository", 
    "Secure and compliant", 
  ], 
  listing_id: "prodview-sampleSaasId", 
  listing_name: "sample SaaS listing", 
  locale: "en-US", 
  logo_thumbnail_url: "https://example.com/logos/sample-saas-logo.png", 
  long_description: "A sample SaaS product that provides automated, ready-to-code development environments in the cloud.", 
  pricing_models: [
    {
      display_name: "Contract", 
      pricing_model_type: "CONTRACT", 
    }, 
  ], 
  pricing_units: [
    {
      display_name: "Users", 
      pricing_unit_type: "USERS", 
    }, 
  ], 
  promotional_media: [
    {
      embedded_image: {
        description: "The sample product workspace dashboard", 
        title: "Sample Dashboard", 
        url: "https://example.com/screenshots/sample-dashboard.png", 
      }, 
    }, 
  ], 
  publisher: {
    display_name: "sample SaaS seller", 
    seller_profile_id: "seller-sampleSaasId", 
  }, 
  purchase_indicators: [
  ], 
  resources: [
    {
      value: "https://example.com/demo", 
      content_type: "LINK", 
      display_name: "Request a Demo", 
      resource_type: "MANUFACTURER_INSTRUCTIONS", 
    }, 
  ], 
  review_summary: {
    review_source_summaries: [
      {
        average_rating: "4.5", 
        source_id: "AWS_MARKETPLACE", 
        source_name: "AWS Marketplace", 
        source_url: "https://aws.amazon.com/marketplace/reviews/prodview-sampleSaasId", 
        total_reviews: 128, 
      }, 
      {
        average_rating: "4.6", 
        source_id: "G2", 
        source_name: "G2", 
        source_url: "https://www.g2.com/products/sample-product/reviews", 
        total_reviews: 1368, 
      }, 
      {
        average_rating: "4.2", 
        source_id: "PEERSPOT", 
        source_name: "PeerSpot", 
        source_url: "https://www.peerspot.com/products/sample-product-reviews", 
        total_reviews: 19, 
      }, 
    ], 
  }, 
  seller_engagements: [
    {
      value: "https://aws.amazon.com/marketplace/customer-connect/demo/prodview-sampleSaasId", 
      content_type: "LINK", 
      engagement_type: "REQUEST_FOR_DEMO", 
    }, 
    {
      value: "https://aws.amazon.com/marketplace/customer-connect/private-offer/prodview-sampleSaasId", 
      content_type: "LINK", 
      engagement_type: "REQUEST_FOR_PRIVATE_OFFER", 
    }, 
  ], 
  short_description: "A sample SaaS product for cloud development environments.", 
  use_cases: [
    {
      use_case: {
        value: "CONTEXTUAL_ANALYSIS", 
        description: "Advanced contextual analysis for targeted advertising campaigns", 
        display_name: "Contextual Analysis", 
      }, 
    }, 
  ], 
}

Example: GetListing for AMI listing with video


resp = client.get_listing({
  listing_id: "prodview-sampleAmiId", 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  associated_entities: [
    {
      offer: {
        offer_id: "offer-sampleAmiId", 
        offer_name: "sample AMI offer", 
        seller_of_record: {
          display_name: "sample AMI seller", 
          seller_profile_id: "seller-sampleAmiId", 
        }, 
      }, 
      product: {
        manufacturer: {
          display_name: "sample AMI seller", 
          seller_profile_id: "seller-sampleAmiId", 
        }, 
        product_id: "prod-sampleAmiId", 
        product_name: "sample AMI product", 
      }, 
    }, 
  ], 
  badges: [
    {
      badge_type: "DEPLOYED_ON_AWS", 
      display_name: "Deployed on AWS", 
    }, 
  ], 
  catalog: "AWSMarketplace", 
  categories: [
    {
      category_id: "infrastructure", 
      display_name: "Infrastructure Software", 
    }, 
    {
      category_id: "load-balancing", 
      display_name: "Load Balancing", 
    }, 
  ], 
  fulfillment_option_summaries: [
    {
      display_name: "Amazon Machine Image", 
      fulfillment_option_type: "AMAZON_MACHINE_IMAGE", 
    }, 
  ], 
  highlights: [
    "Advanced load balancing", 
    "API gateway capabilities", 
    "High availability", 
    "Real-time monitoring", 
  ], 
  listing_id: "prodview-sampleAmiId", 
  listing_name: "sample AMI listing", 
  locale: "en-US", 
  logo_thumbnail_url: "https://example.com/logos/sample-ami-logo.png", 
  long_description: "A sample AMI product that provides load balancing, content caching, and API gateway capabilities optimized for cloud-native architectures.", 
  pricing_models: [
    {
      display_name: "Usage", 
      pricing_model_type: "USAGE", 
    }, 
  ], 
  pricing_units: [
    {
      display_name: "Hosts", 
      pricing_unit_type: "HOSTS", 
    }, 
  ], 
  promotional_media: [
    {
      embedded_video: {
        description: "Learn about sample AMI product features", 
        preview: "https://example.com/videos/sample-cover.png", 
        thumbnail: "https://example.com/videos/sample-thumb.png", 
        title: "Sample AMI Product Overview", 
        url: "https://example.com/videos/sample-overview.mp4", 
      }, 
    }, 
  ], 
  publisher: {
    display_name: "sample AMI seller", 
    seller_profile_id: "seller-sampleAmiId", 
  }, 
  purchase_indicators: [
  ], 
  resources: [
    {
      value: "https://example.com/request-demo", 
      content_type: "LINK", 
      display_name: "Request Demo", 
      resource_type: "MANUFACTURER_INSTRUCTIONS", 
    }, 
    {
      value: "https://example.com/docs", 
      content_type: "LINK", 
      display_name: "Documentation", 
      resource_type: "MANUFACTURER_SUPPORT", 
    }, 
  ], 
  review_summary: {
    review_source_summaries: [
      {
        average_rating: "4.8", 
        source_id: "AWS_MARKETPLACE", 
        source_name: "AWS Marketplace", 
        source_url: "https://aws.amazon.com/marketplace/reviews/prodview-sampleAmiId", 
        total_reviews: 542, 
      }, 
    ], 
  }, 
  seller_engagements: [
    {
      value: "https://aws.amazon.com/marketplace/customer-connect/demo/prodview-sampleAmiId", 
      content_type: "LINK", 
      engagement_type: "REQUEST_FOR_DEMO", 
    }, 
    {
      value: "https://aws.amazon.com/marketplace/customer-connect/private-offer/prodview-sampleAmiId", 
      content_type: "LINK", 
      engagement_type: "REQUEST_FOR_PRIVATE_OFFER", 
    }, 
  ], 
  short_description: "A sample high-performance load balancer and web server.", 
  use_cases: [
    {
      use_case: {
        value: "CONTEXTUAL_ANALYSIS", 
        description: "Advanced contextual analysis for targeted advertising campaigns", 
        display_name: "Contextual Analysis", 
      }, 
    }, 
  ], 
}

Example: GetListing for multi-product listing


resp = client.get_listing({
  listing_id: "prodview-sampleMultiProductId", 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  associated_entities: [
    {
      product: {
        manufacturer: {
          display_name: "sample multi-product seller", 
          seller_profile_id: "seller-sampleMultiProductId", 
        }, 
        product_id: "prod-sampleMultiProduct1Id", 
        product_name: "sample multi-product 1", 
      }, 
    }, 
    {
      product: {
        manufacturer: {
          display_name: "sample multi-product seller 2", 
          seller_profile_id: "seller-sampleMultiProduct2Id", 
        }, 
        product_id: "prod-sampleMultiProduct2Id", 
        product_name: "sample multi-product 2", 
      }, 
    }, 
  ], 
  badges: [
    {
      badge_type: "DEPLOYED_ON_AWS", 
      display_name: "Deployed on AWS", 
    }, 
    {
      badge_type: "MULTI_PRODUCT", 
      display_name: "Multi-product", 
    }, 
  ], 
  catalog: "AWSMarketplace", 
  categories: [
  ], 
  fulfillment_option_summaries: [
    {
      display_name: "SaaS", 
      fulfillment_option_type: "SAAS", 
    }, 
  ], 
  highlights: [
  ], 
  integration_guide: "To add the remote Box MCP server in Amazon Quick Suite, follow these steps: In the Amazon Quick Suite console, choose Integrations and create new integration by choosing Model Content Protocol.", 
  listing_id: "prodview-sampleMultiProductId", 
  listing_name: "sample multi-product listing", 
  locale: "en-US", 
  logo_thumbnail_url: "https://example.com/logos/sample-multi-product-logo.png", 
  long_description: "A sample multi-product listing that connects content management with a unified AI platform. Users can securely search, analyze, and extract valuable insights from their files.", 
  pricing_models: [
    {
      display_name: "Free", 
      pricing_model_type: "FREE", 
    }, 
  ], 
  pricing_units: [
  ], 
  promotional_media: [
  ], 
  publisher: {
    display_name: "sample multi-product seller", 
    seller_profile_id: "seller-sampleMultiProductId", 
  }, 
  purchase_indicators: [
  ], 
  resources: [
    {
      value: "https://developer.box.com/guides/box-mcp/remote/#amazon-quick-suite", 
      content_type: "LINK", 
      display_name: "Developer Documentation", 
      resource_type: "MANUFACTURER_INSTRUCTIONS", 
    }, 
  ], 
  review_summary: {
    review_source_summaries: [
    ], 
  }, 
  seller_engagements: [
    {
      value: "https://aws.amazon.com/marketplace/customer-connect/demo/prodview-sampleMultiProductId", 
      content_type: "LINK", 
      engagement_type: "REQUEST_FOR_DEMO", 
    }, 
    {
      value: "https://aws.amazon.com/marketplace/customer-connect/private-offer/prodview-sampleMultiProductId", 
      content_type: "LINK", 
      engagement_type: "REQUEST_FOR_PRIVATE_OFFER", 
    }, 
  ], 
  short_description: "A sample multi-product listing that delivers a unified experience with AI.", 
  use_cases: [
    {
      use_case: {
        value: "content_management_system", 
        description: "This integration allows enterprises to securely access and interact with content in Box directly from the Amazon Quick Suite chat experience.", 
        display_name: "Content Management System", 
      }, 
    }, 
    {
      use_case: {
        value: "intelligent_document_processing", 
        description: "Build automated workflows and design custom AI agents for context-aware document processing.", 
        display_name: "Intelligent Document Processing", 
      }, 
    }, 
  ], 
}

Example: GetListing for listing available without a subscription


resp = client.get_listing({
  listing_id: "prodview-sampleNoSubscriptionId", 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  associated_entities: [
    {
      offer: {
        offer_id: "offer-sampleNoSubscriptionId", 
        seller_of_record: {
          display_name: "sample operating system seller", 
          seller_profile_id: "seller-sampleNoSubscriptionId", 
        }, 
      }, 
      product: {
        manufacturer: {
          display_name: "sample operating system seller", 
          seller_profile_id: "seller-sampleNoSubscriptionId", 
        }, 
        product_id: "prod-sampleNoSubscriptionId", 
        product_name: "sample operating system product", 
      }, 
    }, 
  ], 
  badges: [
    {
      badge_type: "DEPLOYED_ON_AWS", 
      display_name: "Deployed on AWS", 
    }, 
    {
      badge_type: "AWS_FREE_TIER", 
      display_name: "AWS Free Tier", 
    }, 
  ], 
  catalog: "AWSMarketplace", 
  categories: [
    {
      category_id: "operating-systems", 
      display_name: "Operating Systems", 
    }, 
  ], 
  fulfillment_option_summaries: [
    {
      display_name: "Amazon Machine Image", 
      fulfillment_option_type: "AMAZON_MACHINE_IMAGE", 
    }, 
  ], 
  highlights: [
    "Enterprise Linux optimized for Amazon EC2", 
  ], 
  listing_id: "prodview-sampleNoSubscriptionId", 
  listing_name: "sample operating system listing", 
  locale: "en-US", 
  logo_thumbnail_url: "https://example.com/logos/sample-os-logo.png", 
  long_description: "A sample enterprise Linux operating system for development, test, and production workloads on Amazon EC2.", 
  pricing_models: [
    {
      display_name: "Free", 
      pricing_model_type: "FREE", 
    }, 
  ], 
  pricing_units: [
  ], 
  promotional_media: [
  ], 
  publisher: {
    display_name: "sample operating system seller", 
    seller_profile_id: "seller-sampleNoSubscriptionId", 
  }, 
  purchase_indicators: [
    {
      indicator_type: "AVAILABLE_FOR_USE_WITHOUT_SUBSCRIPTION", 
    }, 
  ], 
  resources: [
    {
      value: "https://example.com/docs/getting-started", 
      content_type: "LINK", 
      display_name: "Getting started", 
      resource_type: "MANUFACTURER_INSTRUCTIONS", 
    }, 
  ], 
  seller_engagements: [
  ], 
  short_description: "A sample enterprise Linux image optimized for Amazon EC2.", 
  use_cases: [
  ], 
}

Example: GetListing for listing not available for new subscriptions


resp = client.get_listing({
  listing_id: "prodview-sampleUnavailableId", 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  associated_entities: [
    {
      product: {
        manufacturer: {
          display_name: "sample network infrastructure seller", 
          seller_profile_id: "seller-sampleUnavailableId", 
        }, 
        product_id: "prod-sampleUnavailableId", 
        product_name: "sample network infrastructure product", 
      }, 
    }, 
  ], 
  badges: [
    {
      badge_type: "DEPLOYED_ON_AWS", 
      display_name: "Deployed on AWS", 
    }, 
  ], 
  catalog: "AWSMarketplace", 
  categories: [
    {
      category_id: "network-infrastructure", 
      display_name: "Network Infrastructure", 
    }, 
  ], 
  fulfillment_option_summaries: [
    {
      display_name: "Helm", 
      fulfillment_option_type: "HELM", 
    }, 
  ], 
  highlights: [
    "Secure application access across clouds", 
  ], 
  listing_id: "prodview-sampleUnavailableId", 
  listing_name: "sample network infrastructure listing", 
  locale: "en-US", 
  logo_thumbnail_url: "https://example.com/logos/sample-network-logo.png", 
  long_description: "A sample application networking platform that provides secure access and performance insights for applications that run across clouds.", 
  pricing_models: [
  ], 
  pricing_units: [
  ], 
  promotional_media: [
  ], 
  publisher: {
    display_name: "sample network infrastructure seller", 
    seller_profile_id: "seller-sampleUnavailableId", 
  }, 
  purchase_indicators: [
    {
      indicator_type: "NOT_AVAILABLE_FOR_SUBSCRIPTION", 
    }, 
  ], 
  resources: [
    {
      value: "Email support@example.com for technical support.", 
      content_type: "OTHER", 
      display_name: "Support", 
      resource_type: "MANUFACTURER_SUPPORT", 
    }, 
  ], 
  seller_engagements: [
  ], 
  short_description: "A sample application networking platform for multi-cloud environments.", 
  use_cases: [
  ], 
}

Request syntax with placeholder values


resp = client.get_listing({
  locale: "Locale",
  listing_id: "ListingId", # required
})

Response structure


resp.locale #=> String
resp.associated_entities #=> Array
resp.associated_entities[0].product.product_id #=> String
resp.associated_entities[0].product.product_name #=> String
resp.associated_entities[0].product.manufacturer.seller_profile_id #=> String
resp.associated_entities[0].product.manufacturer.display_name #=> String
resp.associated_entities[0].offer.offer_id #=> String
resp.associated_entities[0].offer.offer_name #=> String
resp.associated_entities[0].offer.seller_of_record.seller_profile_id #=> String
resp.associated_entities[0].offer.seller_of_record.display_name #=> String
resp.badges #=> Array
resp.badges[0].display_name #=> String
resp.badges[0].badge_type #=> String, one of "AWS_FREE_TIER", "FREE_TRIAL", "DEPLOYED_ON_AWS", "QUICK_LAUNCH", "MULTI_PRODUCT"
resp.catalog #=> String
resp.categories #=> Array
resp.categories[0].category_id #=> String
resp.categories[0].display_name #=> String
resp.fulfillment_option_summaries #=> Array
resp.fulfillment_option_summaries[0].fulfillment_option_type #=> String, one of "AMAZON_MACHINE_IMAGE", "API", "CLOUDFORMATION_TEMPLATE", "CONTAINER", "HELM", "EKS_ADD_ON", "EC2_IMAGE_BUILDER_COMPONENT", "DATA_EXCHANGE", "PROFESSIONAL_SERVICES", "SAAS", "SAGEMAKER_ALGORITHM", "SAGEMAKER_MODEL"
resp.fulfillment_option_summaries[0].display_name #=> String
resp.highlights #=> Array
resp.highlights[0] #=> String
resp.integration_guide #=> String
resp.listing_id #=> String
resp.listing_name #=> String
resp.logo_thumbnail_url #=> String
resp.long_description #=> String
resp.pricing_models #=> Array
resp.pricing_models[0].pricing_model_type #=> String, one of "USAGE", "CONTRACT", "BYOL", "FREE"
resp.pricing_models[0].display_name #=> String
resp.pricing_units #=> Array
resp.pricing_units[0].pricing_unit_type #=> String, one of "USERS", "HOSTS", "BANDWIDTH", "DATA", "TIERS", "REQUESTS", "UNITS"
resp.pricing_units[0].display_name #=> String
resp.promotional_media #=> Array
resp.promotional_media[0].embedded_image.title #=> String
resp.promotional_media[0].embedded_image.url #=> String
resp.promotional_media[0].embedded_image.description #=> String
resp.promotional_media[0].embedded_video.title #=> String
resp.promotional_media[0].embedded_video.url #=> String
resp.promotional_media[0].embedded_video.preview #=> String
resp.promotional_media[0].embedded_video.thumbnail #=> String
resp.promotional_media[0].embedded_video.description #=> String
resp.publisher.seller_profile_id #=> String
resp.publisher.display_name #=> String
resp.resources #=> Array
resp.resources[0].resource_type #=> String, one of "MANUFACTURER_SUPPORT", "MANUFACTURER_INSTRUCTIONS"
resp.resources[0].content_type #=> String, one of "EMAIL", "PHONE_NUMBER", "LINK", "OTHER"
resp.resources[0].value #=> String
resp.resources[0].display_name #=> String
resp.review_summary.review_source_summaries #=> Array
resp.review_summary.review_source_summaries[0].source_name #=> String
resp.review_summary.review_source_summaries[0].source_id #=> String, one of "AWS_MARKETPLACE", "G2", "PEERSPOT"
resp.review_summary.review_source_summaries[0].source_url #=> String
resp.review_summary.review_source_summaries[0].average_rating #=> String
resp.review_summary.review_source_summaries[0].total_reviews #=> Integer
resp.seller_engagements #=> Array
resp.seller_engagements[0].engagement_type #=> String, one of "REQUEST_FOR_PRIVATE_OFFER", "REQUEST_FOR_DEMO", "EXPRESS_PRIVATE_OFFER", "BUY_NOW", "TRY_FOR_FREE"
resp.seller_engagements[0].content_type #=> String, one of "LINK"
resp.seller_engagements[0].value #=> String
resp.short_description #=> String
resp.use_cases #=> Array
resp.use_cases[0].use_case.description #=> String
resp.use_cases[0].use_case.display_name #=> String
resp.use_cases[0].use_case.value #=> String
resp.purchase_indicators #=> Array
resp.purchase_indicators[0].indicator_type #=> String, one of "NOT_AVAILABLE_FOR_SUBSCRIPTION", "AVAILABLE_FOR_USE_WITHOUT_SUBSCRIPTION"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :locale (String) —

    The preferred locale for response content, as a Best Current Practice 47 (BCP 47) language tag or a comma-separated priority list of language tags. See Locale for supported values, constraints, fallback behavior, and the default locale. If you omit this field, the service returns content in the default locale.

  • :listing_id (required, String) —

    The unique identifier of the listing to retrieve.

Returns:

See Also:



1172
1173
1174
1175
# File 'gems/aws-sdk-marketplacediscovery/lib/aws-sdk-marketplacediscovery/client.rb', line 1172

def get_listing(params = {}, options = {})
  req = build_request(:get_listing, params)
  req.send_request(options)
end

#get_offer(params = {}) ⇒ Types::GetOfferOutput

Provides details about an offer, such as the pricing model, seller of record, availability dates, badges, and associated products.

Examples:

Example: Invoke GetOffer for Contract Pricing offer


resp = client.get_offer({
  locale: "en-US", 
  offer_id: "offer-sampleContractId", 
})

resp.to_h outputs the following:
{
  agreement_proposal_id: "at-sampleToken", 
  associated_entities: [
    {
      offer_set: {
        offer_set_id: "offerset-sampleId", 
        seller_of_record: {
          display_name: "sample contract seller", 
          seller_profile_id: "seller-sampleContractId", 
        }, 
      }, 
      product: {
        manufacturer: {
          display_name: "sample contract seller", 
          seller_profile_id: "seller-sampleContractId", 
        }, 
        product_id: "prod-sampleContractId", 
        product_name: "sample contract product", 
      }, 
    }, 
  ], 
  available_from_time: Time.parse("2023-01-01T00:00:00.000Z"), 
  badges: [
    {
      badge_type: "PRIVATE_PRICING", 
      display_name: "Private Pricing", 
    }, 
    {
      badge_type: "REPLACEMENT_OFFER", 
      display_name: "Replacement Offer", 
    }, 
  ], 
  catalog: "AWSMarketplace", 
  expiration_time: Time.parse("2023-10-08T21:40:43.644Z"), 
  locale: "en-US", 
  offer_id: "offer-sampleContractId", 
  offer_name: "sample contract offer", 
  pricing_model: {
    display_name: "Contract", 
    pricing_model_type: "CONTRACT", 
  }, 
  replacement_agreement_id: "agmt-sampleId", 
  seller_of_record: {
    display_name: "sample contract seller", 
    seller_profile_id: "seller-sampleContractId", 
  }, 
}

Example: Invoke GetOffer for Usage Pricing offer


resp = client.get_offer({
  locale: "en-US", 
  offer_id: "offer-sampleUsageId", 
})

resp.to_h outputs the following:
{
  agreement_proposal_id: "at-sampleToken", 
  associated_entities: [
    {
      product: {
        manufacturer: {
          display_name: "sample usage seller", 
          seller_profile_id: "seller-sampleUsageId", 
        }, 
        product_id: "prod-sampleUsageId", 
        product_name: "sample usage product", 
      }, 
    }, 
  ], 
  badges: [
    {
      badge_type: "FUTURE_DATED", 
      display_name: "Future Dated", 
    }, 
  ], 
  catalog: "AWSMarketplace", 
  expiration_time: Time.parse("2022-03-29T23:59:59.999Z"), 
  locale: "en-US", 
  offer_id: "offer-sampleUsageId", 
  offer_name: "sample usage offer", 
  pricing_model: {
    display_name: "Usage", 
    pricing_model_type: "USAGE", 
  }, 
  replacement_agreement_id: "agmt-sampleId", 
  seller_of_record: {
    display_name: "sample usage seller", 
    seller_profile_id: "seller-sampleUsageId", 
  }, 
}

Example: Invoke GetOffer for BYOL Pricing offer


resp = client.get_offer({
  locale: "en-US", 
  offer_id: "offer-sampleByolId", 
})

resp.to_h outputs the following:
{
  agreement_proposal_id: "at-sampleToken", 
  associated_entities: [
    {
      product: {
        manufacturer: {
          display_name: "sample BYOL seller", 
          seller_profile_id: "seller-sampleByolId", 
        }, 
        product_id: "prod-sampleByolId", 
        product_name: "sample BYOL product", 
      }, 
    }, 
  ], 
  badges: [
  ], 
  catalog: "AWSMarketplace", 
  expiration_time: Time.parse("2022-03-29T23:59:59.999Z"), 
  locale: "en-US", 
  offer_id: "offer-sampleByolId", 
  offer_name: "sample BYOL offer", 
  pricing_model: {
    display_name: "Bring Your Own License", 
    pricing_model_type: "BYOL", 
  }, 
  replacement_agreement_id: "agmt-sampleId", 
  seller_of_record: {
    display_name: "sample BYOL seller", 
    seller_profile_id: "seller-sampleByolId", 
  }, 
}

Example: Invoke GetOffer for FREE Pricing offer


resp = client.get_offer({
  locale: "en-US", 
  offer_id: "offer-sampleFreeId", 
})

resp.to_h outputs the following:
{
  agreement_proposal_id: "at-sampleToken", 
  associated_entities: [
    {
      product: {
        manufacturer: {
          display_name: "sample free seller", 
          seller_profile_id: "seller-sampleFreeId", 
        }, 
        product_id: "prod-sampleFreeId", 
        product_name: "sample free product", 
      }, 
    }, 
  ], 
  badges: [
  ], 
  catalog: "AWSMarketplace", 
  expiration_time: Time.parse("2022-03-29T23:59:59.999Z"), 
  locale: "en-US", 
  offer_id: "offer-sampleFreeId", 
  offer_name: "sample free offer", 
  pricing_model: {
    display_name: "Free", 
    pricing_model_type: "FREE", 
  }, 
  replacement_agreement_id: "agmt-sampleId", 
  seller_of_record: {
    display_name: "sample free seller", 
    seller_profile_id: "seller-sampleFreeId", 
  }, 
}

Request syntax with placeholder values


resp = client.get_offer({
  locale: "Locale",
  offer_id: "OfferId", # required
})

Response structure


resp.locale #=> String
resp.offer_id #=> String
resp.catalog #=> String
resp.offer_name #=> String
resp.expiration_time #=> Time
resp.available_from_time #=> Time
resp.seller_of_record.seller_profile_id #=> String
resp.seller_of_record.display_name #=> String
resp.associated_entities #=> Array
resp.associated_entities[0].product.product_id #=> String
resp.associated_entities[0].product.product_name #=> String
resp.associated_entities[0].product.manufacturer.seller_profile_id #=> String
resp.associated_entities[0].product.manufacturer.display_name #=> String
resp.associated_entities[0].offer_set.offer_set_id #=> String
resp.associated_entities[0].offer_set.seller_of_record.seller_profile_id #=> String
resp.associated_entities[0].offer_set.seller_of_record.display_name #=> String
resp.agreement_proposal_id #=> String
resp.replacement_agreement_id #=> String
resp.pricing_model.pricing_model_type #=> String, one of "USAGE", "CONTRACT", "BYOL", "FREE"
resp.pricing_model.display_name #=> String
resp.badges #=> Array
resp.badges[0].display_name #=> String
resp.badges[0].badge_type #=> String, one of "PRIVATE_PRICING", "FUTURE_DATED", "REPLACEMENT_OFFER", "AUTO_RENEW"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :locale (String) —

    The preferred locale for response content, as a Best Current Practice 47 (BCP 47) language tag or a comma-separated priority list of language tags. See Locale for supported values, constraints, fallback behavior, and the default locale. If you omit this field, the service returns content in the default locale.

  • :offer_id (required, String) —

    The unique identifier of the offer to retrieve.

Returns:

See Also:



1423
1424
1425
1426
# File 'gems/aws-sdk-marketplacediscovery/lib/aws-sdk-marketplacediscovery/client.rb', line 1423

def get_offer(params = {}, options = {})
  req = build_request(:get_offer, params)
  req.send_request(options)
end

#get_offer_set(params = {}) ⇒ Types::GetOfferSetOutput

Provides details about an offer set, which is a bundle of offers across multiple products. Includes the seller, availability dates, buyer notes, and associated product-offer pairs.

Examples:

Example: Get offer set with multiple products


resp = client.get_offer_set({
  locale: "en-US", 
  offer_set_id: "offerset-sampleId", 
})

resp.to_h outputs the following:
{
  associated_entities: [
    {
      offer: {
        offer_id: "offer-sampleId1", 
        offer_name: "sample offer name 1", 
        seller_of_record: {
          display_name: "sample reseller", 
          seller_profile_id: "seller-sampleResellerId", 
        }, 
      }, 
      product: {
        manufacturer: {
          display_name: "sample seller name 1", 
          seller_profile_id: "seller-sampleId1", 
        }, 
        product_id: "prod-sampleId1", 
        product_name: "sample product name 1", 
      }, 
    }, 
    {
      offer: {
        offer_id: "offer-sampleId2", 
        offer_name: "sample offer name 2", 
        seller_of_record: {
          display_name: "sample reseller", 
          seller_profile_id: "seller-sampleResellerId", 
        }, 
      }, 
      product: {
        manufacturer: {
          display_name: "sample seller name 2", 
          seller_profile_id: "seller-sampleId2", 
        }, 
        product_id: "prod-sampleId2", 
        product_name: "sample product name 2", 
      }, 
    }, 
  ], 
  available_from_time: Time.parse("2024-03-20T00:00:00.000Z"), 
  badges: [
    {
      badge_type: "PRIVATE_PRICING", 
      display_name: "Private Pricing", 
    }, 
    {
      badge_type: "FUTURE_DATED", 
      display_name: "Future Dated", 
    }, 
    {
      badge_type: "REPLACEMENT_OFFER", 
      display_name: "Replacement Offer", 
    }, 
  ], 
  buyer_notes: "This bundle includes CrowdStrike Falcon and Splunk Enterprise for comprehensive security monitoring.", 
  catalog: "AWSMarketplace", 
  expiration_time: Time.parse("2025-03-20T00:00:00.000Z"), 
  locale: "en-US", 
  offer_set_id: "offerset-sampleId", 
  offer_set_name: "sample offer set", 
  seller_of_record: {
    display_name: "sample reseller", 
    seller_profile_id: "seller-sampleResellerId", 
  }, 
}

Example: Get offer set with only required fields


resp = client.get_offer_set({
  offer_set_id: "offerset-sampleMinimalId", 
})

resp.to_h outputs the following:
{
  associated_entities: [
    {
      offer: {
        offer_id: "offer-sampleMinimalId", 
        seller_of_record: {
          display_name: "sample reseller", 
          seller_profile_id: "seller-sampleResellerId", 
        }, 
      }, 
      product: {
        manufacturer: {
          display_name: "sample seller name 1", 
          seller_profile_id: "seller-sampleId1", 
        }, 
        product_id: "prod-sampleMinimalId", 
        product_name: "sample product name", 
      }, 
    }, 
  ], 
  badges: [
  ], 
  catalog: "AWSMarketplace", 
  offer_set_id: "offerset-sampleMinimalId", 
  seller_of_record: {
    display_name: "sample reseller", 
    seller_profile_id: "seller-sampleResellerId", 
  }, 
}

Example: Get offer set that never expires from a first-party seller


resp = client.get_offer_set({
  locale: "en-US", 
  offer_set_id: "offerset-samplePerpetualId", 
})

resp.to_h outputs the following:
{
  associated_entities: [
    {
      offer: {
        offer_id: "offer-samplePerpetualId", 
        offer_name: "sample perpetual offer", 
        seller_of_record: {
          display_name: "sample first-party seller", 
          seller_profile_id: "seller-sampleFirstPartyId", 
        }, 
      }, 
      product: {
        manufacturer: {
          display_name: "sample first-party seller", 
          seller_profile_id: "seller-sampleFirstPartyId", 
        }, 
        product_id: "prod-samplePerpetualId", 
        product_name: "sample perpetual product", 
      }, 
    }, 
  ], 
  available_from_time: Time.parse("2024-03-20T00:00:00.000Z"), 
  badges: [
    {
      badge_type: "PRIVATE_PRICING", 
      display_name: "Private Pricing", 
    }, 
  ], 
  buyer_notes: "This offer set does not expire. Omitting expirationTime indicates the offer set remains available for procurement indefinitely.", 
  catalog: "AWSMarketplace", 
  locale: "en-US", 
  offer_set_id: "offerset-samplePerpetualId", 
  offer_set_name: "sample perpetual offer set", 
  seller_of_record: {
    display_name: "sample first-party seller", 
    seller_profile_id: "seller-sampleFirstPartyId", 
  }, 
}

Request syntax with placeholder values


resp = client.get_offer_set({
  locale: "Locale",
  offer_set_id: "OfferSetId", # required
})

Response structure


resp.locale #=> String
resp.offer_set_id #=> String
resp.catalog #=> String
resp.offer_set_name #=> String
resp.available_from_time #=> Time
resp.expiration_time #=> Time
resp.buyer_notes #=> String
resp.seller_of_record.seller_profile_id #=> String
resp.seller_of_record.display_name #=> String
resp.badges #=> Array
resp.badges[0].display_name #=> String
resp.badges[0].badge_type #=> String, one of "PRIVATE_PRICING", "FUTURE_DATED", "REPLACEMENT_OFFER", "AUTO_RENEW"
resp.associated_entities #=> Array
resp.associated_entities[0].product.product_id #=> String
resp.associated_entities[0].product.product_name #=> String
resp.associated_entities[0].product.manufacturer.seller_profile_id #=> String
resp.associated_entities[0].product.manufacturer.display_name #=> String
resp.associated_entities[0].offer.offer_id #=> String
resp.associated_entities[0].offer.offer_name #=> String
resp.associated_entities[0].offer.seller_of_record.seller_profile_id #=> String
resp.associated_entities[0].offer.seller_of_record.display_name #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :locale (String) —

    The preferred locale for response content, as a Best Current Practice 47 (BCP 47) language tag or a comma-separated priority list of language tags. See Locale for supported values, constraints, fallback behavior, and the default locale. If you omit this field, the service returns content in the default locale.

  • :offer_set_id (required, String) —

    The unique identifier of the offer set to retrieve.

Returns:

See Also:



1649
1650
1651
1652
# File 'gems/aws-sdk-marketplacediscovery/lib/aws-sdk-marketplacediscovery/client.rb', line 1649

def get_offer_set(params = {}, options = {})
  req = build_request(:get_offer_set, params)
  req.send_request(options)
end

#get_offer_terms(params = {}) ⇒ Types::GetOfferTermsOutput

Retrieves the terms attached to an offer, such as pricing terms (usage-based, contract, Bring Your Own License (BYOL), free trial), legal terms, payment schedules, validity terms, support terms, and renewal terms. The operation returns results in pages. Use nextToken to retrieve the next page.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Example: GetOfferTerms for Usage-based ML Model offer


resp = client.get_offer_terms({
  locale: "en-US", 
  offer_id: "offer-sampleUsageBasedId", 
})

resp.to_h outputs the following:
{
  locale: "en-US", 
  offer_terms: [
    {
      usage_based_pricing_term: {
        type: "UsageBasedPricingTerm", 
        currency_code: "USD", 
        id: "term-sampleUsageBasedPricingId", 
        rate_cards: [
          {
            rate_card: [
              {
                description: "Model inference on the ml.m5.2xlarge instance type, batch mode", 
                dimension_key: "ml.m5.2xlarge.m.i.b", 
                dimension_labels: [
                  {
                    display_name: "Model Batch Transform", 
                    label_type: "SagemakerOption", 
                    label_value: "Model Batch Transform", 
                  }, 
                ], 
                display_name: "ml.m5.2xlarge Inference (Batch)", 
                price: "2.00000000", 
                regional_prices: [
                ], 
                unit: "HostHrs", 
              }, 
              {
                description: "Model inference on the ml.m5.2xlarge instance type, real-time mode", 
                dimension_key: "ml.m5.2xlarge.m.i.r", 
                dimension_labels: [
                  {
                    display_name: "Model Real-Time Inference", 
                    label_type: "SagemakerOption", 
                    label_value: "Model Real-Time Inference", 
                  }, 
                ], 
                display_name: "ml.m5.2xlarge Inference (Real-Time)", 
                price: "2.00000000", 
                regional_prices: [
                ], 
                unit: "HostHrs", 
              }, 
              {
                description: "Model inference on the ml.m5.large instance type, batch mode", 
                dimension_key: "ml.m5.large.m.i.b", 
                dimension_labels: [
                  {
                    display_name: "Model Batch Transform", 
                    label_type: "SagemakerOption", 
                    label_value: "Model Batch Transform", 
                  }, 
                ], 
                display_name: "ml.m5.large Inference (Batch)", 
                price: "2.00000000", 
                regional_prices: [
                ], 
                unit: "HostHrs", 
              }, 
              {
                description: "Model inference on the ml.m5.large instance type, real-time mode", 
                dimension_key: "ml.m5.large.m.i.r", 
                dimension_labels: [
                  {
                    display_name: "Model Real-Time Inference", 
                    label_type: "SagemakerOption", 
                    label_value: "Model Real-Time Inference", 
                  }, 
                ], 
                display_name: "ml.m5.large Inference (Real-Time)", 
                price: "2.00000000", 
                regional_prices: [
                ], 
                unit: "HostHrs", 
              }, 
            ], 
          }, 
        ], 
      }, 
    }, 
    {
      fixed_upfront_pricing_term: {
        type: "FixedUpfrontPricingTerm", 
        currency_code: "USD", 
        duration: "P365D", 
        grants: [
          {
            description: "Model inference on the ml.m5.2xlarge instance type, batch mode", 
            dimension_key: "ml.m5.2xlarge.m.i.b", 
            dimension_labels: [
              {
                display_name: "Model Batch Transform", 
                label_type: "SagemakerOption", 
                label_value: "Model Batch Transform", 
              }, 
            ], 
            display_name: "ml.m5.2xlarge Inference (Batch)", 
            max_quantity: 2147483647, 
            unit: "HostHrs", 
          }, 
          {
            description: "Model inference on the ml.m5.2xlarge instance type, real-time mode", 
            dimension_key: "ml.m5.2xlarge.m.i.r", 
            dimension_labels: [
              {
                display_name: "Model Real-Time Inference", 
                label_type: "SagemakerOption", 
                label_value: "Model Real-Time Inference", 
              }, 
            ], 
            display_name: "ml.m5.2xlarge Inference (Real-Time)", 
            max_quantity: 2147483647, 
            unit: "HostHrs", 
          }, 
          {
            description: "Model inference on the ml.m5.large instance type, batch mode", 
            dimension_key: "ml.m5.large.m.i.b", 
            dimension_labels: [
              {
                display_name: "Model Batch Transform", 
                label_type: "SagemakerOption", 
                label_value: "Model Batch Transform", 
              }, 
            ], 
            display_name: "ml.m5.large Inference (Batch)", 
            max_quantity: 2147483647, 
            unit: "HostHrs", 
          }, 
          {
            description: "Model inference on the ml.m5.large instance type, real-time mode", 
            dimension_key: "ml.m5.large.m.i.r", 
            dimension_labels: [
              {
                display_name: "Model Real-Time Inference", 
                label_type: "SagemakerOption", 
                label_value: "Model Real-Time Inference", 
              }, 
            ], 
            display_name: "ml.m5.large Inference (Real-Time)", 
            max_quantity: 2147483647, 
            unit: "HostHrs", 
          }, 
        ], 
        id: "term-sampleFixedUpfrontPricingId", 
        price: "0.00000000", 
      }, 
    }, 
    {
      legal_term: {
        type: "LegalTerm", 
        documents: [
          {
            type: "StandardEula", 
            url: "https://example.com/legal/standard-eula", 
          }, 
        ], 
        id: "term-sampleLegalId", 
      }, 
    }, 
    {
      validity_term: {
        type: "ValidityTerm", 
        agreement_duration: "P2011D", 
        id: "term-sampleValidityId", 
      }, 
    }, 
    {
      payment_schedule_term: {
        type: "PaymentScheduleTerm", 
        currency_code: "USD", 
        id: "term-samplePaymentScheduleId", 
        schedule: [
          {
            charge_amount: "5.00000000", 
            charge_date: Time.parse("2026-07-15T00:00:00.000Z"), 
          }, 
        ], 
      }, 
    }, 
  ], 
}

Example: GetOfferTerms for Usage-based offer with regional pricing


resp = client.get_offer_terms({
  locale: "en-US", 
  offer_id: "offer-sampleRegionalPricingId", 
})

resp.to_h outputs the following:
{
  locale: "en-US", 
  offer_terms: [
    {
      usage_based_pricing_term: {
        type: "UsageBasedPricingTerm", 
        currency_code: "USD", 
        id: "term-sampleRegionalUsageBasedPricingId", 
        rate_cards: [
          {
            rate_card: [
              {
                description: "Software usage on the t3.medium instance type", 
                dimension_key: "t3.medium", 
                dimension_labels: [
                ], 
                display_name: "t3.medium", 
                price: "0.10000000", 
                regional_prices: [
                  {
                    display_name: "Europe (Ireland)", 
                    price: "0.12000000", 
                    region: "eu-west-1", 
                  }, 
                  {
                    display_name: "Asia Pacific (Tokyo)", 
                    price: "0.14000000", 
                    region: "ap-northeast-1", 
                  }, 
                ], 
                unit: "Hrs", 
              }, 
              {
                description: "Software usage on the m5.large instance type", 
                dimension_key: "m5.large", 
                dimension_labels: [
                ], 
                display_name: "m5.large", 
                price: "0.20000000", 
                regional_prices: [
                  {
                    display_name: "Europe (Ireland)", 
                    price: "0.24000000", 
                    region: "eu-west-1", 
                  }, 
                ], 
                unit: "Hrs", 
              }, 
            ], 
          }, 
        ], 
      }, 
    }, 
  ], 
}

Example: GetOfferTerms for BYOL offer


resp = client.get_offer_terms({
  locale: "en-US", 
  offer_id: "offer-sampleByolId", 
})

resp.to_h outputs the following:
{
  locale: "en-US", 
  offer_terms: [
    {
      byol_pricing_term: {
        type: "ByolPricingTerm", 
        id: "term-byol-001", 
      }, 
    }, 
    {
      legal_term: {
        type: "LegalTerm", 
        documents: [
          {
            type: "CustomEula", 
            url: "https://example.com/eula", 
          }, 
        ], 
        id: "term-legal-003", 
      }, 
    }, 
  ], 
}

Example: GetOfferTerms for configurable upfront pricing


resp = client.get_offer_terms({
  locale: "en-US", 
  offer_id: "offer-sampleConfigUpfrontId", 
})

resp.to_h outputs the following:
{
  locale: "en-US", 
  offer_terms: [
    {
      configurable_upfront_pricing_term: {
        type: "ConfigurableUpfrontPricingTerm", 
        currency_code: "USD", 
        id: "term-config-001", 
        rate_cards: [
          {
            constraints: {
              multiple_dimension_selection: "Allowed", 
              quantity_configuration: "Allowed", 
            }, 
            rate_card: [
              {
                dimension_key: "api_calls_batch", 
                dimension_labels: [
                  {
                    display_name: "Model Batch Transform", 
                    label_type: "SagemakerOption", 
                    label_value: "Model Batch Transform", 
                  }, 
                ], 
                display_name: "API Calls (Batch)", 
                price: "0.001", 
                regional_prices: [
                ], 
                unit: "Requests", 
              }, 
              {
                dimension_key: "api_calls_realtime", 
                dimension_labels: [
                  {
                    display_name: "Model Real-Time Inference", 
                    label_type: "SagemakerOption", 
                    label_value: "Model Real-Time Inference", 
                  }, 
                ], 
                display_name: "API Calls (Real-Time)", 
                price: "0.001", 
                regional_prices: [
                ], 
                unit: "Requests", 
              }, 
            ], 
            selector: {
              type: "Duration", 
              value: "P12M", 
            }, 
          }, 
        ], 
      }, 
    }, 
  ], 
}

Example: GetOfferTerms for free trial offer


resp = client.get_offer_terms({
  locale: "en-US", 
  offer_id: "offer-sampleFreeTrialId", 
})

resp.to_h outputs the following:
{
  locale: "en-US", 
  offer_terms: [
    {
      free_trial_pricing_term: {
        type: "FreeTrialPricingTerm", 
        duration: "P30D", 
        grants: [
          {
            dimension_key: "ml.m5.large.m.i.r", 
            dimension_labels: [
              {
                display_name: "Model Real-Time Inference", 
                label_type: "SagemakerOption", 
                label_value: "Model Real-Time Inference", 
              }, 
            ], 
            display_name: "ml.m5.large Inference (Real-Time)", 
            max_quantity: 100, 
            unit: "HostHrs", 
          }, 
        ], 
        id: "term-trial-001", 
      }, 
    }, 
  ], 
}

Example: GetOfferTerms for recurring payment


resp = client.get_offer_terms({
  locale: "en-US", 
  offer_id: "offer-sampleRecurringId", 
})

resp.to_h outputs the following:
{
  locale: "en-US", 
  offer_terms: [
    {
      recurring_payment_term: {
        type: "RecurringPaymentTerm", 
        billing_period: "Monthly", 
        currency_code: "USD", 
        id: "term-recurring-001", 
        price: "99.00", 
      }, 
    }, 
  ], 
}

Example: GetOfferTerms for variable payment


resp = client.get_offer_terms({
  locale: "en-US", 
  offer_id: "offer-sampleVariableId", 
})

resp.to_h outputs the following:
{
  locale: "en-US", 
  offer_terms: [
    {
      variable_payment_term: {
        type: "VariablePaymentTerm", 
        currency_code: "USD", 
        id: "term-variable-001", 
        max_total_charge_amount: "10000.00", 
      }, 
    }, 
  ], 
}

Example: GetOfferTerms for renewal term


resp = client.get_offer_terms({
  locale: "en-US", 
  offer_id: "offer-sampleRenewalId", 
})

resp.to_h outputs the following:
{
  locale: "en-US", 
  offer_terms: [
    {
      renewal_term: {
        type: "RenewalTerm", 
        adjustment_deadline: "P30D", 
        id: "term-renewal-001", 
        lockout_period: "P30D", 
        max_renewals: 3, 
        price_increase: {
          percentage_range: {
            default_value: "5.00", 
            maximum_value: "10.00", 
            minimum_value: "3.00", 
          }, 
        }, 
        term_templates: [
          {
            payment_schedule_term_template: {
              schedule: [
                {
                  charge_date_offset: "P0D", 
                  charge_percentage: "50.00", 
                }, 
                {
                  charge_date_offset: "P6M", 
                  charge_percentage: "25.00", 
                  day_of_month: 1, 
                }, 
                {
                  charge_date_offset: "P12M", 
                  charge_percentage: "25.00", 
                  day_of_month: 1, 
                }, 
              ], 
            }, 
          }, 
        ], 
      }, 
    }, 
  ], 
}

Example: GetOfferTerms for renewal term with fixed percentage


resp = client.get_offer_terms({
  locale: "en-US", 
  offer_id: "offer-sampleRenewalFixedId", 
})

resp.to_h outputs the following:
{
  locale: "en-US", 
  offer_terms: [
    {
      renewal_term: {
        type: "RenewalTerm", 
        id: "term-renewal-002", 
        lockout_period: "P60D", 
        max_renewals: 5, 
        price_increase: {
          fixed_percentage: {
            percentage_value: "5.00", 
          }, 
        }, 
      }, 
    }, 
  ], 
}

Example: GetOfferTerms for renewal term with identical pricing (no price increase)


resp = client.get_offer_terms({
  locale: "en-US", 
  offer_id: "offer-sampleRenewalNoPriceIncreaseId", 
})

resp.to_h outputs the following:
{
  locale: "en-US", 
  offer_terms: [
    {
      renewal_term: {
        type: "RenewalTerm", 
        id: "term-renewal-003", 
        lockout_period: "P30D", 
        max_renewals: 2, 
      }, 
    }, 
  ], 
}

Example: GetOfferTerms for support term


resp = client.get_offer_terms({
  locale: "en-US", 
  offer_id: "offer-sampleSupportId", 
})

resp.to_h outputs the following:
{
  locale: "en-US", 
  offer_terms: [
    {
      support_term: {
        type: "SupportTerm", 
        id: "term-support-001", 
        refund_policy: "30-day money back guarantee", 
      }, 
    }, 
  ], 
}

Example: GetOfferTerms for validity term with dates


resp = client.get_offer_terms({
  locale: "en-US", 
  offer_id: "offer-sampleValidityId", 
})

resp.to_h outputs the following:
{
  locale: "en-US", 
  offer_terms: [
    {
      validity_term: {
        type: "ValidityTerm", 
        agreement_duration: "P365D", 
        agreement_end_date: Time.parse("2026-12-31T23:59:59.000Z"), 
        agreement_start_date: Time.parse("2026-01-01T00:00:00.000Z"), 
        id: "term-validity-001", 
      }, 
    }, 
  ], 
}

Example: GetOfferTerms for net payment term


resp = client.get_offer_terms({
  locale: "en-US", 
  offer_id: "offer-sampleNetPaymentId", 
})

resp.to_h outputs the following:
{
  locale: "en-US", 
  offer_terms: [
    {
      net_payment_term: {
        type: "NetPaymentTerm", 
        id: "term-netpay-001", 
        payment_due_period: "P30D", 
      }, 
    }, 
  ], 
}

Request syntax with placeholder values


resp = client.get_offer_terms({
  locale: "Locale",
  offer_id: "OfferId", # required
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.locale #=> String
resp.offer_terms #=> Array
resp.offer_terms[0].byol_pricing_term.id #=> String
resp.offer_terms[0].byol_pricing_term.type #=> String, one of "ByolPricingTerm", "ConfigurableUpfrontPricingTerm", "FixedUpfrontPricingTerm", "UsageBasedPricingTerm", "FreeTrialPricingTerm", "LegalTerm", "PaymentScheduleTerm", "RecurringPaymentTerm", "RenewalTerm", "SupportTerm", "ValidityTerm", "VariablePaymentTerm", "NetPaymentTerm"
resp.offer_terms[0].configurable_upfront_pricing_term.id #=> String
resp.offer_terms[0].configurable_upfront_pricing_term.type #=> String, one of "ByolPricingTerm", "ConfigurableUpfrontPricingTerm", "FixedUpfrontPricingTerm", "UsageBasedPricingTerm", "FreeTrialPricingTerm", "LegalTerm", "PaymentScheduleTerm", "RecurringPaymentTerm", "RenewalTerm", "SupportTerm", "ValidityTerm", "VariablePaymentTerm", "NetPaymentTerm"
resp.offer_terms[0].configurable_upfront_pricing_term.currency_code #=> String
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards #=> Array
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].selector.type #=> String, one of "Duration"
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].selector.value #=> String
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].constraints.multiple_dimension_selection #=> String, one of "Allowed", "Disallowed"
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].constraints.quantity_configuration #=> String, one of "Allowed", "Disallowed"
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].rate_card #=> Array
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].rate_card[0].dimension_key #=> String
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].rate_card[0].display_name #=> String
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].rate_card[0].description #=> String
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].rate_card[0].dimension_labels #=> Array
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].rate_card[0].dimension_labels[0].label_type #=> String, one of "Region", "SagemakerOption"
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].rate_card[0].dimension_labels[0].label_value #=> String
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].rate_card[0].dimension_labels[0].display_name #=> String
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].rate_card[0].unit #=> String
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].rate_card[0].price #=> String
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].rate_card[0].regional_prices #=> Array
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].rate_card[0].regional_prices[0].region #=> String
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].rate_card[0].regional_prices[0].display_name #=> String
resp.offer_terms[0].configurable_upfront_pricing_term.rate_cards[0].rate_card[0].regional_prices[0].price #=> String
resp.offer_terms[0].fixed_upfront_pricing_term.id #=> String
resp.offer_terms[0].fixed_upfront_pricing_term.type #=> String, one of "ByolPricingTerm", "ConfigurableUpfrontPricingTerm", "FixedUpfrontPricingTerm", "UsageBasedPricingTerm", "FreeTrialPricingTerm", "LegalTerm", "PaymentScheduleTerm", "RecurringPaymentTerm", "RenewalTerm", "SupportTerm", "ValidityTerm", "VariablePaymentTerm", "NetPaymentTerm"
resp.offer_terms[0].fixed_upfront_pricing_term.currency_code #=> String
resp.offer_terms[0].fixed_upfront_pricing_term.duration #=> String
resp.offer_terms[0].fixed_upfront_pricing_term.price #=> String
resp.offer_terms[0].fixed_upfront_pricing_term.grants #=> Array
resp.offer_terms[0].fixed_upfront_pricing_term.grants[0].dimension_key #=> String
resp.offer_terms[0].fixed_upfront_pricing_term.grants[0].display_name #=> String
resp.offer_terms[0].fixed_upfront_pricing_term.grants[0].description #=> String
resp.offer_terms[0].fixed_upfront_pricing_term.grants[0].dimension_labels #=> Array
resp.offer_terms[0].fixed_upfront_pricing_term.grants[0].dimension_labels[0].label_type #=> String, one of "Region", "SagemakerOption"
resp.offer_terms[0].fixed_upfront_pricing_term.grants[0].dimension_labels[0].label_value #=> String
resp.offer_terms[0].fixed_upfront_pricing_term.grants[0].dimension_labels[0].display_name #=> String
resp.offer_terms[0].fixed_upfront_pricing_term.grants[0].unit #=> String
resp.offer_terms[0].fixed_upfront_pricing_term.grants[0].max_quantity #=> Integer
resp.offer_terms[0].free_trial_pricing_term.id #=> String
resp.offer_terms[0].free_trial_pricing_term.type #=> String, one of "ByolPricingTerm", "ConfigurableUpfrontPricingTerm", "FixedUpfrontPricingTerm", "UsageBasedPricingTerm", "FreeTrialPricingTerm", "LegalTerm", "PaymentScheduleTerm", "RecurringPaymentTerm", "RenewalTerm", "SupportTerm", "ValidityTerm", "VariablePaymentTerm", "NetPaymentTerm"
resp.offer_terms[0].free_trial_pricing_term.duration #=> String
resp.offer_terms[0].free_trial_pricing_term.grants #=> Array
resp.offer_terms[0].free_trial_pricing_term.grants[0].dimension_key #=> String
resp.offer_terms[0].free_trial_pricing_term.grants[0].display_name #=> String
resp.offer_terms[0].free_trial_pricing_term.grants[0].description #=> String
resp.offer_terms[0].free_trial_pricing_term.grants[0].dimension_labels #=> Array
resp.offer_terms[0].free_trial_pricing_term.grants[0].dimension_labels[0].label_type #=> String, one of "Region", "SagemakerOption"
resp.offer_terms[0].free_trial_pricing_term.grants[0].dimension_labels[0].label_value #=> String
resp.offer_terms[0].free_trial_pricing_term.grants[0].dimension_labels[0].display_name #=> String
resp.offer_terms[0].free_trial_pricing_term.grants[0].unit #=> String
resp.offer_terms[0].free_trial_pricing_term.grants[0].max_quantity #=> Integer
resp.offer_terms[0].legal_term.id #=> String
resp.offer_terms[0].legal_term.type #=> String, one of "ByolPricingTerm", "ConfigurableUpfrontPricingTerm", "FixedUpfrontPricingTerm", "UsageBasedPricingTerm", "FreeTrialPricingTerm", "LegalTerm", "PaymentScheduleTerm", "RecurringPaymentTerm", "RenewalTerm", "SupportTerm", "ValidityTerm", "VariablePaymentTerm", "NetPaymentTerm"
resp.offer_terms[0].legal_term.documents #=> Array
resp.offer_terms[0].legal_term.documents[0].type #=> String, one of "CustomEula", "CustomDsa", "EnterpriseEula", "StandardEula", "StandardDsa"
resp.offer_terms[0].legal_term.documents[0].url #=> String
resp.offer_terms[0].legal_term.documents[0].version #=> String
resp.offer_terms[0].payment_schedule_term.id #=> String
resp.offer_terms[0].payment_schedule_term.type #=> String, one of "ByolPricingTerm", "ConfigurableUpfrontPricingTerm", "FixedUpfrontPricingTerm", "UsageBasedPricingTerm", "FreeTrialPricingTerm", "LegalTerm", "PaymentScheduleTerm", "RecurringPaymentTerm", "RenewalTerm", "SupportTerm", "ValidityTerm", "VariablePaymentTerm", "NetPaymentTerm"
resp.offer_terms[0].payment_schedule_term.currency_code #=> String
resp.offer_terms[0].payment_schedule_term.schedule #=> Array
resp.offer_terms[0].payment_schedule_term.schedule[0].charge_date #=> Time
resp.offer_terms[0].payment_schedule_term.schedule[0].charge_amount #=> String
resp.offer_terms[0].recurring_payment_term.id #=> String
resp.offer_terms[0].recurring_payment_term.type #=> String, one of "ByolPricingTerm", "ConfigurableUpfrontPricingTerm", "FixedUpfrontPricingTerm", "UsageBasedPricingTerm", "FreeTrialPricingTerm", "LegalTerm", "PaymentScheduleTerm", "RecurringPaymentTerm", "RenewalTerm", "SupportTerm", "ValidityTerm", "VariablePaymentTerm", "NetPaymentTerm"
resp.offer_terms[0].recurring_payment_term.currency_code #=> String
resp.offer_terms[0].recurring_payment_term.billing_period #=> String, one of "Monthly"
resp.offer_terms[0].recurring_payment_term.price #=> String
resp.offer_terms[0].renewal_term.id #=> String
resp.offer_terms[0].renewal_term.type #=> String, one of "ByolPricingTerm", "ConfigurableUpfrontPricingTerm", "FixedUpfrontPricingTerm", "UsageBasedPricingTerm", "FreeTrialPricingTerm", "LegalTerm", "PaymentScheduleTerm", "RecurringPaymentTerm", "RenewalTerm", "SupportTerm", "ValidityTerm", "VariablePaymentTerm", "NetPaymentTerm"
resp.offer_terms[0].renewal_term.max_renewals #=> Integer
resp.offer_terms[0].renewal_term.lockout_period #=> String
resp.offer_terms[0].renewal_term.adjustment_deadline #=> String
resp.offer_terms[0].renewal_term.price_increase.fixed_percentage.percentage_value #=> String
resp.offer_terms[0].renewal_term.price_increase.percentage_range.minimum_value #=> String
resp.offer_terms[0].renewal_term.price_increase.percentage_range.maximum_value #=> String
resp.offer_terms[0].renewal_term.price_increase.percentage_range.default_value #=> String
resp.offer_terms[0].renewal_term.term_templates #=> Array
resp.offer_terms[0].renewal_term.term_templates[0].payment_schedule_term_template.schedule #=> Array
resp.offer_terms[0].renewal_term.term_templates[0].payment_schedule_term_template.schedule[0].charge_date_offset #=> String
resp.offer_terms[0].renewal_term.term_templates[0].payment_schedule_term_template.schedule[0].charge_percentage #=> String
resp.offer_terms[0].renewal_term.term_templates[0].payment_schedule_term_template.schedule[0].day_of_month #=> Integer
resp.offer_terms[0].support_term.id #=> String
resp.offer_terms[0].support_term.type #=> String, one of "ByolPricingTerm", "ConfigurableUpfrontPricingTerm", "FixedUpfrontPricingTerm", "UsageBasedPricingTerm", "FreeTrialPricingTerm", "LegalTerm", "PaymentScheduleTerm", "RecurringPaymentTerm", "RenewalTerm", "SupportTerm", "ValidityTerm", "VariablePaymentTerm", "NetPaymentTerm"
resp.offer_terms[0].support_term.refund_policy #=> String
resp.offer_terms[0].usage_based_pricing_term.id #=> String
resp.offer_terms[0].usage_based_pricing_term.type #=> String, one of "ByolPricingTerm", "ConfigurableUpfrontPricingTerm", "FixedUpfrontPricingTerm", "UsageBasedPricingTerm", "FreeTrialPricingTerm", "LegalTerm", "PaymentScheduleTerm", "RecurringPaymentTerm", "RenewalTerm", "SupportTerm", "ValidityTerm", "VariablePaymentTerm", "NetPaymentTerm"
resp.offer_terms[0].usage_based_pricing_term.currency_code #=> String
resp.offer_terms[0].usage_based_pricing_term.rate_cards #=> Array
resp.offer_terms[0].usage_based_pricing_term.rate_cards[0].rate_card #=> Array
resp.offer_terms[0].usage_based_pricing_term.rate_cards[0].rate_card[0].dimension_key #=> String
resp.offer_terms[0].usage_based_pricing_term.rate_cards[0].rate_card[0].display_name #=> String
resp.offer_terms[0].usage_based_pricing_term.rate_cards[0].rate_card[0].description #=> String
resp.offer_terms[0].usage_based_pricing_term.rate_cards[0].rate_card[0].dimension_labels #=> Array
resp.offer_terms[0].usage_based_pricing_term.rate_cards[0].rate_card[0].dimension_labels[0].label_type #=> String, one of "Region", "SagemakerOption"
resp.offer_terms[0].usage_based_pricing_term.rate_cards[0].rate_card[0].dimension_labels[0].label_value #=> String
resp.offer_terms[0].usage_based_pricing_term.rate_cards[0].rate_card[0].dimension_labels[0].display_name #=> String
resp.offer_terms[0].usage_based_pricing_term.rate_cards[0].rate_card[0].unit #=> String
resp.offer_terms[0].usage_based_pricing_term.rate_cards[0].rate_card[0].price #=> String
resp.offer_terms[0].usage_based_pricing_term.rate_cards[0].rate_card[0].regional_prices #=> Array
resp.offer_terms[0].usage_based_pricing_term.rate_cards[0].rate_card[0].regional_prices[0].region #=> String
resp.offer_terms[0].usage_based_pricing_term.rate_cards[0].rate_card[0].regional_prices[0].display_name #=> String
resp.offer_terms[0].usage_based_pricing_term.rate_cards[0].rate_card[0].regional_prices[0].price #=> String
resp.offer_terms[0].validity_term.id #=> String
resp.offer_terms[0].validity_term.type #=> String, one of "ByolPricingTerm", "ConfigurableUpfrontPricingTerm", "FixedUpfrontPricingTerm", "UsageBasedPricingTerm", "FreeTrialPricingTerm", "LegalTerm", "PaymentScheduleTerm", "RecurringPaymentTerm", "RenewalTerm", "SupportTerm", "ValidityTerm", "VariablePaymentTerm", "NetPaymentTerm"
resp.offer_terms[0].validity_term.agreement_duration #=> String
resp.offer_terms[0].validity_term.agreement_end_date #=> Time
resp.offer_terms[0].validity_term.agreement_start_date #=> Time
resp.offer_terms[0].variable_payment_term.id #=> String
resp.offer_terms[0].variable_payment_term.type #=> String, one of "ByolPricingTerm", "ConfigurableUpfrontPricingTerm", "FixedUpfrontPricingTerm", "UsageBasedPricingTerm", "FreeTrialPricingTerm", "LegalTerm", "PaymentScheduleTerm", "RecurringPaymentTerm", "RenewalTerm", "SupportTerm", "ValidityTerm", "VariablePaymentTerm", "NetPaymentTerm"
resp.offer_terms[0].variable_payment_term.currency_code #=> String
resp.offer_terms[0].variable_payment_term.max_total_charge_amount #=> String
resp.offer_terms[0].net_payment_term.id #=> String
resp.offer_terms[0].net_payment_term.type #=> String, one of "ByolPricingTerm", "ConfigurableUpfrontPricingTerm", "FixedUpfrontPricingTerm", "UsageBasedPricingTerm", "FreeTrialPricingTerm", "LegalTerm", "PaymentScheduleTerm", "RecurringPaymentTerm", "RenewalTerm", "SupportTerm", "ValidityTerm", "VariablePaymentTerm", "NetPaymentTerm"
resp.offer_terms[0].net_payment_term.payment_due_period #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :locale (String) —

    The preferred locale for response content, as a Best Current Practice 47 (BCP 47) language tag or a comma-separated priority list of language tags. See Locale for supported values, constraints, fallback behavior, and the default locale. If you omit this field, the service returns content in the default locale.

  • :offer_id (required, String) —

    The unique identifier of the offer whose terms to retrieve.

  • :max_results (Integer) —

    The maximum number of terms to return in each call. If you omit this field, the default is 10. Use nextToken to retrieve the next page.

  • :next_token (String) —

    If the service returns nextToken, more results are available. The value of nextToken is a unique pagination token for each page. Make the call again with the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. An expired pagination token returns a ValidationException.

Returns:

See Also:



2423
2424
2425
2426
# File 'gems/aws-sdk-marketplacediscovery/lib/aws-sdk-marketplacediscovery/client.rb', line 2423

def get_offer_terms(params = {}, options = {})
  req = build_request(:get_offer_terms, params)
  req.send_request(options)
end

#get_product(params = {}) ⇒ Types::GetProductOutput

Provides details about a product, such as descriptions, highlights, categories, fulfillment option summaries, promotional media, and seller engagement options.

Examples:

Example: GetProduct for SaaS product with DEPLOYED status


resp = client.get_product({
  locale: "en-US", 
  product_id: "prod-sampleSaasId", 
})

resp.to_h outputs the following:
{
  catalog: "AWSMarketplace", 
  categories: [
    {
      category_id: "0625e4fd-88dd-4dd9-9e57-4a0461f97fb4", 
      display_name: "Security", 
    }, 
  ], 
  deployed_on_aws: "DEPLOYED", 
  fulfillment_option_summaries: [
    {
      display_name: "SaaS", 
      fulfillment_option_type: "SAAS", 
    }, 
    {
      display_name: "API", 
      fulfillment_option_type: "API", 
    }, 
    {
      display_name: "Data Exchange", 
      fulfillment_option_type: "DATA_EXCHANGE", 
    }, 
  ], 
  highlights: [
    "Configured to your specs: Pre-configured environments, out-of-the-box.", 
  ], 
  listing_id: "listing-sampleSaasId", 
  locale: "en-US", 
  logo_thumbnail_url: "https://d7umqicpi7263.cloudfront.net/img/product/07afb7c8-32f1-4851-8289-7e200d817ab1.png", 
  long_description: "Gitpod is a developer platform that provides on-demand, pre-configured cloud development environments (CDEs) that automatically integrate into any tool, library, or dependency required for creating software.", 
  manufacturer: {
    display_name: "sample SaaS seller", 
    seller_profile_id: "seller-sampleSaasId", 
  }, 
  product_id: "prod-sampleSaasId", 
  product_name: "sample SaaS product", 
  promotional_media: [
    {
      embedded_image: {
        description: "Main security dashboard showing threat analytics", 
        title: "Dashboard Overview", 
        url: "https://assets.example.com/images/dashboard-main.png", 
      }, 
    }, 
  ], 
  purchase_indicators: [
  ], 
  resources: [
    {
      value: "https://www.gitpod.io/blog", 
      content_type: "LINK", 
      display_name: "Blog", 
      resource_type: "MANUFACTURER_SUPPORT", 
    }, 
    {
      value: "support@gitpod.io", 
      content_type: "EMAIL", 
      display_name: "Email Support", 
      resource_type: "MANUFACTURER_SUPPORT", 
    }, 
  ], 
  seller_engagements: [
    {
      value: "https://aws.amazon.com/marketplace/customer-connect/demo/prodview-sampleSaasId", 
      content_type: "LINK", 
      engagement_type: "REQUEST_FOR_DEMO", 
    }, 
  ], 
  short_description: "Gitpod provides on-demand, secure cloud development environments or CDEs.", 
}

Example: GetProduct for AMI product with NOT_DEPLOYED status


resp = client.get_product({
  locale: "en-US", 
  product_id: "prod-sampleAmiId", 
})

resp.to_h outputs the following:
{
  catalog: "AWSMarketplace", 
  categories: [
    {
      category_id: "security-category-001", 
      display_name: "Security", 
    }, 
  ], 
  deployed_on_aws: "NOT_DEPLOYED", 
  fulfillment_option_summaries: [
    {
      display_name: "Amazon Machine Image", 
      fulfillment_option_type: "AMAZON_MACHINE_IMAGE", 
    }, 
    {
      display_name: "CloudFormation Template", 
      fulfillment_option_type: "CLOUDFORMATION_TEMPLATE", 
    }, 
    {
      display_name: "Container", 
      fulfillment_option_type: "CONTAINER", 
    }, 
    {
      display_name: "Helm", 
      fulfillment_option_type: "HELM", 
    }, 
  ], 
  highlights: [
    "AES-256 encryption at rest and in transit", 
  ], 
  listing_id: "listing-sampleAmiId", 
  locale: "en-US", 
  logo_thumbnail_url: "https://d7umqicpi7263.cloudfront.net/img/product/securevault-logo.png", 
  long_description: "SecureVault Enterprise provides comprehensive data encryption, key management, and security compliance tools for organizations.", 
  manufacturer: {
    display_name: "sample AMI seller", 
    seller_profile_id: "seller-sampleAmiId", 
  }, 
  product_id: "prod-sampleAmiId", 
  product_name: "sample AMI product", 
  promotional_media: [
    {
      embedded_video: {
        description: "A comprehensive overview of SecureVault features", 
        preview: "https://assets.example.com/videos/intro-preview.jpg", 
        thumbnail: "https://assets.example.com/videos/intro-thumb.jpg", 
        title: "SecureVault Introduction", 
        url: "https://assets.example.com/videos/intro.mp4", 
      }, 
    }, 
  ], 
  purchase_indicators: [
  ], 
  resources: [
    {
      value: "+1-555-123-4567", 
      content_type: "PHONE_NUMBER", 
      display_name: "Phone Support", 
      resource_type: "MANUFACTURER_SUPPORT", 
    }, 
    {
      value: "Contact your account manager for installation assistance.", 
      content_type: "OTHER", 
      display_name: "Installation Help", 
      resource_type: "MANUFACTURER_INSTRUCTIONS", 
    }, 
  ], 
  seller_engagements: [
    {
      value: "https://aws.amazon.com/marketplace/customer-connect/private-offer/prodview-sampleAmiId", 
      content_type: "LINK", 
      engagement_type: "REQUEST_FOR_PRIVATE_OFFER", 
    }, 
  ], 
  short_description: "Enterprise-grade data encryption and key management solution.", 
}

Example: GetProduct for professional services with NOT_APPLICABLE status


resp = client.get_product({
  locale: "en-US", 
  product_id: "prod-sampleProServId", 
})

resp.to_h outputs the following:
{
  catalog: "AWSMarketplace", 
  categories: [
    {
      category_id: "consulting-category-001", 
      display_name: "Consulting", 
    }, 
  ], 
  deployed_on_aws: "NOT_APPLICABLE", 
  fulfillment_option_summaries: [
    {
      display_name: "Professional Services", 
      fulfillment_option_type: "PROFESSIONAL_SERVICES", 
    }, 
    {
      display_name: "EKS Add-on", 
      fulfillment_option_type: "EKS_ADD_ON", 
    }, 
    {
      display_name: "EC2 Image Builder Component", 
      fulfillment_option_type: "EC2_IMAGE_BUILDER_COMPONENT", 
    }, 
    {
      display_name: "SageMaker Algorithm", 
      fulfillment_option_type: "SAGEMAKER_ALGORITHM", 
    }, 
    {
      display_name: "SageMaker Model", 
      fulfillment_option_type: "SAGEMAKER_MODEL", 
    }, 
  ], 
  highlights: [
    "Certified AWS migration specialists", 
  ], 
  listing_id: "listing-sampleProServId", 
  locale: "en-US", 
  logo_thumbnail_url: "https://d7umqicpi7263.cloudfront.net/img/product/cloudexperts-logo.png", 
  long_description: "Professional consulting services to help organizations plan and execute their cloud migration strategy.", 
  manufacturer: {
    display_name: "sample professional services seller", 
    seller_profile_id: "seller-sampleProServId", 
  }, 
  product_id: "prod-sampleProServId", 
  product_name: "sample professional services product", 
  promotional_media: [
  ], 
  purchase_indicators: [
  ], 
  resources: [
    {
      value: "https://www.cloudexperts.example.com/docs", 
      content_type: "LINK", 
      display_name: "Documentation", 
      resource_type: "MANUFACTURER_INSTRUCTIONS", 
    }, 
  ], 
  seller_engagements: [
    {
      value: "https://aws.amazon.com/marketplace/customer-connect/demo/prodview-sampleProServId", 
      content_type: "LINK", 
      engagement_type: "REQUEST_FOR_DEMO", 
    }, 
  ], 
  short_description: "Expert cloud migration and modernization consulting services.", 
}

Example: GetProduct for product available without a subscription


resp = client.get_product({
  locale: "en-US", 
  product_id: "prod-sampleNoSubscriptionId", 
})

resp.to_h outputs the following:
{
  catalog: "AWSMarketplace", 
  categories: [
    {
      category_id: "operating-systems", 
      display_name: "Operating Systems", 
    }, 
  ], 
  deployed_on_aws: "DEPLOYED", 
  fulfillment_option_summaries: [
    {
      display_name: "Amazon Machine Image", 
      fulfillment_option_type: "AMAZON_MACHINE_IMAGE", 
    }, 
  ], 
  highlights: [
    "Enterprise Linux optimized for Amazon EC2", 
  ], 
  listing_id: "listing-sampleNoSubscriptionId", 
  locale: "en-US", 
  logo_thumbnail_url: "https://example.com/logos/sample-os-logo.png", 
  long_description: "A sample enterprise Linux operating system for development, test, and production workloads on Amazon EC2.", 
  manufacturer: {
    display_name: "sample operating system seller", 
    seller_profile_id: "seller-sampleNoSubscriptionId", 
  }, 
  product_id: "prod-sampleNoSubscriptionId", 
  product_name: "sample operating system product", 
  promotional_media: [
  ], 
  purchase_indicators: [
    {
      indicator_type: "AVAILABLE_FOR_USE_WITHOUT_SUBSCRIPTION", 
    }, 
  ], 
  resources: [
    {
      value: "https://example.com/docs/getting-started", 
      content_type: "LINK", 
      display_name: "Getting started", 
      resource_type: "MANUFACTURER_INSTRUCTIONS", 
    }, 
  ], 
  seller_engagements: [
  ], 
  short_description: "A sample enterprise Linux image optimized for Amazon EC2.", 
}

Example: GetProduct for product not available for new subscriptions


resp = client.get_product({
  locale: "en-US", 
  product_id: "prod-sampleUnavailableId", 
})

resp.to_h outputs the following:
{
  catalog: "AWSMarketplace", 
  categories: [
    {
      category_id: "network-infrastructure", 
      display_name: "Network Infrastructure", 
    }, 
  ], 
  deployed_on_aws: "DEPLOYED", 
  fulfillment_option_summaries: [
    {
      display_name: "Helm", 
      fulfillment_option_type: "HELM", 
    }, 
  ], 
  highlights: [
    "Secure application access across clouds", 
  ], 
  listing_id: "listing-sampleUnavailableId", 
  locale: "en-US", 
  logo_thumbnail_url: "https://example.com/logos/sample-network-logo.png", 
  long_description: "A sample application networking platform that provides secure access and performance insights for applications that run across clouds.", 
  manufacturer: {
    display_name: "sample network infrastructure seller", 
    seller_profile_id: "seller-sampleUnavailableId", 
  }, 
  product_id: "prod-sampleUnavailableId", 
  product_name: "sample network infrastructure product", 
  promotional_media: [
  ], 
  purchase_indicators: [
    {
      indicator_type: "NOT_AVAILABLE_FOR_SUBSCRIPTION", 
    }, 
  ], 
  resources: [
    {
      value: "Email support@example.com for technical support.", 
      content_type: "OTHER", 
      display_name: "Support", 
      resource_type: "MANUFACTURER_SUPPORT", 
    }, 
  ], 
  seller_engagements: [
  ], 
  short_description: "A sample application networking platform for multi-cloud environments.", 
}

Request syntax with placeholder values


resp = client.get_product({
  locale: "Locale",
  product_id: "ProductId", # required
})

Response structure


resp.locale #=> String
resp.product_id #=> String
resp.catalog #=> String
resp.product_name #=> String
resp.manufacturer.seller_profile_id #=> String
resp.manufacturer.display_name #=> String
resp.deployed_on_aws #=> String, one of "DEPLOYED", "NOT_DEPLOYED", "NOT_APPLICABLE"
resp.short_description #=> String
resp.long_description #=> String
resp.logo_thumbnail_url #=> String
resp.fulfillment_option_summaries #=> Array
resp.fulfillment_option_summaries[0].fulfillment_option_type #=> String, one of "AMAZON_MACHINE_IMAGE", "API", "CLOUDFORMATION_TEMPLATE", "CONTAINER", "HELM", "EKS_ADD_ON", "EC2_IMAGE_BUILDER_COMPONENT", "DATA_EXCHANGE", "PROFESSIONAL_SERVICES", "SAAS", "SAGEMAKER_ALGORITHM", "SAGEMAKER_MODEL"
resp.fulfillment_option_summaries[0].display_name #=> String
resp.categories #=> Array
resp.categories[0].category_id #=> String
resp.categories[0].display_name #=> String
resp.highlights #=> Array
resp.highlights[0] #=> String
resp.promotional_media #=> Array
resp.promotional_media[0].embedded_image.title #=> String
resp.promotional_media[0].embedded_image.url #=> String
resp.promotional_media[0].embedded_image.description #=> String
resp.promotional_media[0].embedded_video.title #=> String
resp.promotional_media[0].embedded_video.url #=> String
resp.promotional_media[0].embedded_video.preview #=> String
resp.promotional_media[0].embedded_video.thumbnail #=> String
resp.promotional_media[0].embedded_video.description #=> String
resp.resources #=> Array
resp.resources[0].resource_type #=> String, one of "MANUFACTURER_SUPPORT", "MANUFACTURER_INSTRUCTIONS"
resp.resources[0].content_type #=> String, one of "EMAIL", "PHONE_NUMBER", "LINK", "OTHER"
resp.resources[0].value #=> String
resp.resources[0].display_name #=> String
resp.seller_engagements #=> Array
resp.seller_engagements[0].engagement_type #=> String, one of "REQUEST_FOR_PRIVATE_OFFER", "REQUEST_FOR_DEMO", "EXPRESS_PRIVATE_OFFER", "BUY_NOW", "TRY_FOR_FREE"
resp.seller_engagements[0].content_type #=> String, one of "LINK"
resp.seller_engagements[0].value #=> String
resp.listing_id #=> String
resp.purchase_indicators #=> Array
resp.purchase_indicators[0].indicator_type #=> String, one of "NOT_AVAILABLE_FOR_SUBSCRIPTION", "AVAILABLE_FOR_USE_WITHOUT_SUBSCRIPTION"

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :locale (String) —

    The preferred locale for response content, as a Best Current Practice 47 (BCP 47) language tag or a comma-separated priority list of language tags. See Locale for supported values, constraints, fallback behavior, and the default locale. If you omit this field, the service returns content in the default locale.

  • :product_id (required, String) —

    The unique identifier of the product to retrieve.

Returns:

See Also:



2866
2867
2868
2869
# File 'gems/aws-sdk-marketplacediscovery/lib/aws-sdk-marketplacediscovery/client.rb', line 2866

def get_product(params = {}, options = {})
  req = build_request(:get_product, params)
  req.send_request(options)
end

#list_fulfillment_options(params = {}) ⇒ Types::ListFulfillmentOptionsOutput

Retrieves the fulfillment options available for a product, including deployment details such as version information, operating systems, usage instructions, and release notes. The operation returns results in pages. Use nextToken to retrieve the next page.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Example: List AMI Fulfillment Options


resp = client.list_fulfillment_options({
  locale: "en-US", 
  product_id: "prod-sampleAmiId", 
})

resp.to_h outputs the following:
{
  fulfillment_options: [
    {
      amazon_machine_image_fulfillment_option: {
        access_url_template: "http://{0}:8888/", 
        ami_alias: "/aws/service/marketplace/prod-sampleAmiId/2.0.20260120.1", 
        architecture: "x86_64", 
        available_from_time: Time.parse("2022-03-07T00:00:00Z"), 
        ebs_volume: {
          volume_types: [
            "gp2", 
          ], 
        }, 
        fulfillment_option_display_name: "Amazon Machine Image", 
        fulfillment_option_id: "fo-sampleAmiId", 
        fulfillment_option_name: "64-bit (x86) Amazon Machine Image (AMI)", 
        fulfillment_option_type: "AMAZON_MACHINE_IMAGE", 
        fulfillment_option_version: "2.0.20260120.1", 
        operating_systems: [
          {
            operating_system_family_name: "AMAZONLINUX", 
            operating_system_name: "AmazonLinux 2.0.20250623.0", 
            operating_system_version: "2.0.20250623.0", 
          }, 
        ], 
        recommendation: {
          instance_type: "t3a.medium", 
          security_groups: [
            {
              cidr_ip_addresses: [
                "0.0.0.0/0", 
              ], 
              from_port: 22, 
              protocol: "tcp", 
              to_port: 22, 
            }, 
          ], 
        }, 
        release_notes: "https://aws.amazon.com/amazon-linux-2/release-notes/", 
        short_description: "Amazon Linux 2 AMI for x86_64 EC2 instances.", 
        usage_instructions: "The Amazon Linux 2 AMI can be launched through the EC2 console's Quick Launch page.", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List API Fulfillment Options


resp = client.list_fulfillment_options({
  locale: "en-US", 
  product_id: "prod-sampleApiId", 
})

resp.to_h outputs the following:
{
  fulfillment_options: [
    {
      api_fulfillment_option: {
        aws_supported_services: [
          {
            description: "A managed service that enables you to develop, deploy, and maintain AI agents seamlessly.", 
            display_name: "Amazon Bedrock AgentCore", 
            supported_service_type: "BEDROCK_AGENTCORE", 
          }, 
        ], 
        fulfillment_option_display_name: "API-Based Agents & Tools", 
        fulfillment_option_id: "fo-sampleApiId", 
        fulfillment_option_type: "API", 
        usage_instructions: "Please refer to the MCP usage instructions.", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List CloudFormation Template Fulfillment Options


resp = client.list_fulfillment_options({
  locale: "en-US", 
  product_id: "prod-sampleCftId", 
})

resp.to_h outputs the following:
{
  fulfillment_options: [
    {
      cloud_formation_fulfillment_option: {
        architecture_diagram_url: "https://example.com/cft/architecture-diagram.png", 
        available_from_time: Time.parse("2021-12-15T00:00:00Z"), 
        deployment_template_url: "https://example.com/cft/template.yaml", 
        fulfillment_option_display_name: "CloudFormation Template", 
        fulfillment_option_id: "fo-sampleCftId", 
        fulfillment_option_name: "Sophos Standalone Firewall for AWS", 
        fulfillment_option_type: "CLOUDFORMATION_TEMPLATE", 
        fulfillment_option_version: "21.5 MR1", 
        long_description: "This CloudFormation template deploys the Sophos XG Firewall with auto-scaling and load balancing for enterprise environments.", 
        release_notes: "https://community.sophos.com/products/xg-firewall/b/blog", 
        short_description: "Deploy Sophos XG Firewall on AWS with high availability.", 
        usage_instructions: "You can manage your Sophos XG Firewall on AWS from the Web Interface using HTTPS (TCP port 4444).", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List Container Fulfillment Options


resp = client.list_fulfillment_options({
  locale: "en-US", 
  product_id: "prod-sampleContainerId", 
})

resp.to_h outputs the following:
{
  fulfillment_options: [
    {
      container_fulfillment_option: {
        aws_supported_services: [
          {
            description: "A managed service that enables you to develop, deploy, and maintain AI agents seamlessly.", 
            display_name: "Amazon Bedrock AgentCore", 
            supported_service_type: "BEDROCK_AGENTCORE", 
          }, 
        ], 
        fulfillment_option_display_name: "Container Image", 
        fulfillment_option_id: "fo-sampleContainerId", 
        fulfillment_option_name: "New delivery option 1", 
        fulfillment_option_type: "CONTAINER", 
        fulfillment_option_version: "Elastic MCP Version 1", 
        operating_systems: [
          {
            operating_system_family_name: "Linux", 
            operating_system_name: "Linux", 
          }, 
        ], 
        release_notes: "Version 1 of Elastic MCP Server", 
        usage_instructions: "See Elastic MCP GitHub instructions", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List Helm Fulfillment Options


resp = client.list_fulfillment_options({
  locale: "en-US", 
  product_id: "prod-sampleHelmId", 
})

resp.to_h outputs the following:
{
  fulfillment_options: [
    {
      helm_fulfillment_option: {
        aws_supported_services: [
          {
            description: "Amazon Elastic Kubernetes Service", 
            display_name: "Amazon EKS", 
            supported_service_type: "EKS", 
          }, 
        ], 
        fulfillment_option_display_name: "Helm Chart", 
        fulfillment_option_id: "fo-sampleHelmId", 
        fulfillment_option_name: "NGINX Ingress Controller", 
        fulfillment_option_type: "HELM", 
        fulfillment_option_version: "1.14.3-0-r03", 
        operating_systems: [
          {
            operating_system_family_name: "Linux", 
            operating_system_name: "Linux", 
          }, 
        ], 
        release_notes: "* Maintenance release", 
        usage_instructions: "helm install nginx-ingress", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List EKS Add-On Fulfillment Options


resp = client.list_fulfillment_options({
  locale: "en-US", 
  product_id: "prod-sampleEksId", 
})

resp.to_h outputs the following:
{
  fulfillment_options: [
    {
      eks_add_on_fulfillment_option: {
        aws_supported_services: [
          {
            description: "Amazon Elastic Kubernetes Service", 
            display_name: "Amazon EKS", 
            supported_service_type: "EKS", 
          }, 
        ], 
        fulfillment_option_display_name: "Add-on for Amazon EKS", 
        fulfillment_option_id: "fo-sampleEksId", 
        fulfillment_option_name: "Splunk Distribution of the OpenTelemetry Collector Chart", 
        fulfillment_option_type: "EKS_ADD_ON", 
        fulfillment_option_version: "0.144.0", 
        operating_systems: [
          {
            operating_system_family_name: "Linux", 
            operating_system_name: "Linux", 
          }, 
        ], 
        release_notes: "https://github.com/signalfx/splunk-otel-collector-chart/releases/tag/splunk-otel-collector-0.144.0", 
        usage_instructions: "https://help.splunk.com/en/splunk-observability-cloud/manage-data/splunk-distribution-of-the-opentelemetry-collector/get-started-with-the-splunk-distribution-of-the-opentelemetry-collector/collector-for-kubernetes/kubernetes-eks-add-on", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List EC2 Image Builder Component Fulfillment Options


resp = client.list_fulfillment_options({
  locale: "en-US", 
  product_id: "prod-sampleImageBuilderId", 
})

resp.to_h outputs the following:
{
  fulfillment_options: [
    {
      ec2_image_builder_component_fulfillment_option: {
        aws_supported_services: [
          {
            description: "EC2 Image Builder is a fully managed AWS service. It automates creation, management, and deployment of custom, secure, and up-to-date server images.", 
            display_name: "Amazon EC2 Image Builder", 
            supported_service_type: "IMAGEBUILDER", 
          }, 
        ], 
        fulfillment_option_display_name: "EC2 Image Builder Component", 
        fulfillment_option_id: "fo-sampleImageBuilderId", 
        fulfillment_option_name: "Linux v1.2.3", 
        fulfillment_option_type: "EC2_IMAGE_BUILDER_COMPONENT", 
        fulfillment_option_version: "1.2.3", 
        operating_systems: [
          {
            operating_system_family_name: "Linux", 
            operating_system_name: "Linux", 
          }, 
        ], 
        release_notes: "https://github.com/CrowdStrike/aws-ec2-image-builder/releases", 
        usage_instructions: "https://github.com/CrowdStrike/aws-ec2-image-builder", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List Data Exchange Fulfillment Options


resp = client.list_fulfillment_options({
  locale: "en-US", 
  product_id: "prod-sampleDataExchangeId", 
})

resp.to_h outputs the following:
{
  fulfillment_options: [
    {
      data_exchange_fulfillment_option: {
        data_artifacts: [
          {
            data_classification: "NONE", 
            description: "Sample testing dataset.", 
            resource_arn: "arn:aws:dataexchange:us-east-2::DataSet/sample-dataset-id", 
            resource_type: "API_GATEWAY_APIS", 
          }, 
        ], 
        fulfillment_option_display_name: "Data Exchange", 
        fulfillment_option_id: "fo-sampleDataExchangeId", 
        fulfillment_option_type: "DATA_EXCHANGE", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List Professional Services Fulfillment Options


resp = client.list_fulfillment_options({
  locale: "en-US", 
  product_id: "prod-sampleProServId", 
})

resp.to_h outputs the following:
{
  fulfillment_options: [
    {
      professional_services_fulfillment_option: {
        fulfillment_option_display_name: "Professional Services", 
        fulfillment_option_id: "fo-sampleProServId", 
        fulfillment_option_type: "PROFESSIONAL_SERVICES", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List SaaS Fulfillment Options


resp = client.list_fulfillment_options({
  locale: "en-US", 
  product_id: "prod-sampleSaasId", 
})

resp.to_h outputs the following:
{
  fulfillment_options: [
    {
      saas_fulfillment_option: {
        available_from_time: Time.parse("2018-08-07T00:00:00.000Z"), 
        deployment_templates: [
          {
            cloud_formation_deployment_template: {
              default_stack_name: "example-saas-quick-launch", 
              description: "Deploys the IAM role that the product needs in your AWS account.", 
              iam_policy: "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Action\":[\"example:Action\"],\"Resource\":[\"arn:aws:example:::EXAMPLE-RESOURCE\"]}]}", 
              template_name: "Primary deployment template", 
              template_url: "https://example.com/templates/primary.yaml", 
            }, 
          }, 
        ], 
        fulfillment_option_display_name: "SaaS", 
        fulfillment_option_id: "fo-sampleSaasId", 
        fulfillment_option_type: "SAAS", 
        fulfillment_url: "https://example.com/order/SAMPLE123", 
        launch_url: "https://example.com/saas/launch", 
        quick_launch: "ENABLED", 
        usage_instructions: "Refer to the seller's setup guide to configure and start using this SaaS product.", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List SageMaker Algorithm Fulfillment Options


resp = client.list_fulfillment_options({
  locale: "en-US", 
  product_id: "prod-sampleSmAlgoId", 
})

resp.to_h outputs the following:
{
  fulfillment_options: [
    {
      sage_maker_algorithm_fulfillment_option: {
        fulfillment_option_display_name: "SageMaker Algorithm", 
        fulfillment_option_id: "fo-sampleSmAlgoId", 
        fulfillment_option_type: "SAGEMAKER_ALGORITHM", 
        fulfillment_option_version: "v1.0.0", 
        recommendation: {
          recommended_batch_transform_instance_type: "ml.m5.large", 
          recommended_realtime_inference_instance_type: "ml.m5.large", 
          recommended_training_instance_type: "ml.g4dn.xlarge", 
        }, 
        release_notes: "Bug fixes", 
        usage_instructions: "A zip file called train should be provided.", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List SageMaker Model Fulfillment Options


resp = client.list_fulfillment_options({
  locale: "en-US", 
  product_id: "prod-sampleSmModelId", 
})

resp.to_h outputs the following:
{
  fulfillment_options: [
    {
      sage_maker_model_fulfillment_option: {
        fulfillment_option_display_name: "SageMaker Model", 
        fulfillment_option_id: "fo-sampleSmModelId", 
        fulfillment_option_type: "SAGEMAKER_MODEL", 
        fulfillment_option_version: "1.2.3", 
        recommendation: {
          recommended_batch_transform_instance_type: "ml.g5.12xlarge", 
          recommended_realtime_inference_instance_type: "ml.g5.12xlarge", 
        }, 
        release_notes: "Initial release", 
        supported_content_types: [
          "application/json", 
          "text/csv", 
        ], 
        supported_response_mime_types: [
          "application/json", 
        ], 
        usage_instructions: "See Input Summary", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Request syntax with placeholder values


resp = client.list_fulfillment_options({
  locale: "Locale",
  product_id: "ProductId", # required
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.locale #=> String
resp.fulfillment_options #=> Array
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.fulfillment_option_id #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.fulfillment_option_name #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.fulfillment_option_version #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.fulfillment_option_type #=> String, one of "AMAZON_MACHINE_IMAGE", "API", "CLOUDFORMATION_TEMPLATE", "CONTAINER", "HELM", "EKS_ADD_ON", "EC2_IMAGE_BUILDER_COMPONENT", "DATA_EXCHANGE", "PROFESSIONAL_SERVICES", "SAAS", "SAGEMAKER_ALGORITHM", "SAGEMAKER_MODEL"
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.fulfillment_option_display_name #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.operating_systems #=> Array
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.operating_systems[0].operating_system_family_name #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.operating_systems[0].operating_system_name #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.operating_systems[0].operating_system_version #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.recommendation.instance_type #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.recommendation.security_groups #=> Array
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.recommendation.security_groups[0].protocol #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.recommendation.security_groups[0].from_port #=> Integer
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.recommendation.security_groups[0].to_port #=> Integer
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.recommendation.security_groups[0].cidr_ip_addresses #=> Array
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.recommendation.security_groups[0].cidr_ip_addresses[0] #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.release_notes #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.usage_instructions #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.available_from_time #=> Time
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.access_url_template #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.architecture #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.ami_alias #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.ebs_volume.volume_types #=> Array
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.ebs_volume.volume_types[0] #=> String
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.ebs_volume.iops #=> Integer
resp.fulfillment_options[0].amazon_machine_image_fulfillment_option.short_description #=> String
resp.fulfillment_options[0].api_fulfillment_option.fulfillment_option_id #=> String
resp.fulfillment_options[0].api_fulfillment_option.fulfillment_option_type #=> String, one of "AMAZON_MACHINE_IMAGE", "API", "CLOUDFORMATION_TEMPLATE", "CONTAINER", "HELM", "EKS_ADD_ON", "EC2_IMAGE_BUILDER_COMPONENT", "DATA_EXCHANGE", "PROFESSIONAL_SERVICES", "SAAS", "SAGEMAKER_ALGORITHM", "SAGEMAKER_MODEL"
resp.fulfillment_options[0].api_fulfillment_option.fulfillment_option_display_name #=> String
resp.fulfillment_options[0].api_fulfillment_option.usage_instructions #=> String
resp.fulfillment_options[0].api_fulfillment_option.aws_supported_services #=> Array
resp.fulfillment_options[0].api_fulfillment_option.aws_supported_services[0].supported_service_type #=> String
resp.fulfillment_options[0].api_fulfillment_option.aws_supported_services[0].display_name #=> String
resp.fulfillment_options[0].api_fulfillment_option.aws_supported_services[0].description #=> String
resp.fulfillment_options[0].cloud_formation_fulfillment_option.fulfillment_option_id #=> String
resp.fulfillment_options[0].cloud_formation_fulfillment_option.fulfillment_option_name #=> String
resp.fulfillment_options[0].cloud_formation_fulfillment_option.fulfillment_option_type #=> String, one of "AMAZON_MACHINE_IMAGE", "API", "CLOUDFORMATION_TEMPLATE", "CONTAINER", "HELM", "EKS_ADD_ON", "EC2_IMAGE_BUILDER_COMPONENT", "DATA_EXCHANGE", "PROFESSIONAL_SERVICES", "SAAS", "SAGEMAKER_ALGORITHM", "SAGEMAKER_MODEL"
resp.fulfillment_options[0].cloud_formation_fulfillment_option.fulfillment_option_display_name #=> String
resp.fulfillment_options[0].cloud_formation_fulfillment_option.fulfillment_option_version #=> String
resp.fulfillment_options[0].cloud_formation_fulfillment_option.release_notes #=> String
resp.fulfillment_options[0].cloud_formation_fulfillment_option.usage_instructions #=> String
resp.fulfillment_options[0].cloud_formation_fulfillment_option.available_from_time #=> Time
resp.fulfillment_options[0].cloud_formation_fulfillment_option.architecture_diagram_url #=> String
resp.fulfillment_options[0].cloud_formation_fulfillment_option.deployment_template_url #=> String
resp.fulfillment_options[0].cloud_formation_fulfillment_option.short_description #=> String
resp.fulfillment_options[0].cloud_formation_fulfillment_option.long_description #=> String
resp.fulfillment_options[0].container_fulfillment_option.fulfillment_option_id #=> String
resp.fulfillment_options[0].container_fulfillment_option.fulfillment_option_name #=> String
resp.fulfillment_options[0].container_fulfillment_option.fulfillment_option_type #=> String, one of "AMAZON_MACHINE_IMAGE", "API", "CLOUDFORMATION_TEMPLATE", "CONTAINER", "HELM", "EKS_ADD_ON", "EC2_IMAGE_BUILDER_COMPONENT", "DATA_EXCHANGE", "PROFESSIONAL_SERVICES", "SAAS", "SAGEMAKER_ALGORITHM", "SAGEMAKER_MODEL"
resp.fulfillment_options[0].container_fulfillment_option.fulfillment_option_display_name #=> String
resp.fulfillment_options[0].container_fulfillment_option.fulfillment_option_version #=> String
resp.fulfillment_options[0].container_fulfillment_option.operating_systems #=> Array
resp.fulfillment_options[0].container_fulfillment_option.operating_systems[0].operating_system_family_name #=> String
resp.fulfillment_options[0].container_fulfillment_option.operating_systems[0].operating_system_name #=> String
resp.fulfillment_options[0].container_fulfillment_option.aws_supported_services #=> Array
resp.fulfillment_options[0].container_fulfillment_option.aws_supported_services[0].supported_service_type #=> String
resp.fulfillment_options[0].container_fulfillment_option.aws_supported_services[0].display_name #=> String
resp.fulfillment_options[0].container_fulfillment_option.aws_supported_services[0].description #=> String
resp.fulfillment_options[0].container_fulfillment_option.release_notes #=> String
resp.fulfillment_options[0].container_fulfillment_option.usage_instructions #=> String
resp.fulfillment_options[0].helm_fulfillment_option.fulfillment_option_id #=> String
resp.fulfillment_options[0].helm_fulfillment_option.fulfillment_option_name #=> String
resp.fulfillment_options[0].helm_fulfillment_option.fulfillment_option_type #=> String, one of "AMAZON_MACHINE_IMAGE", "API", "CLOUDFORMATION_TEMPLATE", "CONTAINER", "HELM", "EKS_ADD_ON", "EC2_IMAGE_BUILDER_COMPONENT", "DATA_EXCHANGE", "PROFESSIONAL_SERVICES", "SAAS", "SAGEMAKER_ALGORITHM", "SAGEMAKER_MODEL"
resp.fulfillment_options[0].helm_fulfillment_option.fulfillment_option_display_name #=> String
resp.fulfillment_options[0].helm_fulfillment_option.fulfillment_option_version #=> String
resp.fulfillment_options[0].helm_fulfillment_option.operating_systems #=> Array
resp.fulfillment_options[0].helm_fulfillment_option.operating_systems[0].operating_system_family_name #=> String
resp.fulfillment_options[0].helm_fulfillment_option.operating_systems[0].operating_system_name #=> String
resp.fulfillment_options[0].helm_fulfillment_option.release_notes #=> String
resp.fulfillment_options[0].helm_fulfillment_option.aws_supported_services #=> Array
resp.fulfillment_options[0].helm_fulfillment_option.aws_supported_services[0].supported_service_type #=> String
resp.fulfillment_options[0].helm_fulfillment_option.aws_supported_services[0].display_name #=> String
resp.fulfillment_options[0].helm_fulfillment_option.aws_supported_services[0].description #=> String
resp.fulfillment_options[0].helm_fulfillment_option.usage_instructions #=> String
resp.fulfillment_options[0].eks_add_on_fulfillment_option.fulfillment_option_id #=> String
resp.fulfillment_options[0].eks_add_on_fulfillment_option.fulfillment_option_name #=> String
resp.fulfillment_options[0].eks_add_on_fulfillment_option.fulfillment_option_type #=> String, one of "AMAZON_MACHINE_IMAGE", "API", "CLOUDFORMATION_TEMPLATE", "CONTAINER", "HELM", "EKS_ADD_ON", "EC2_IMAGE_BUILDER_COMPONENT", "DATA_EXCHANGE", "PROFESSIONAL_SERVICES", "SAAS", "SAGEMAKER_ALGORITHM", "SAGEMAKER_MODEL"
resp.fulfillment_options[0].eks_add_on_fulfillment_option.fulfillment_option_display_name #=> String
resp.fulfillment_options[0].eks_add_on_fulfillment_option.fulfillment_option_version #=> String
resp.fulfillment_options[0].eks_add_on_fulfillment_option.operating_systems #=> Array
resp.fulfillment_options[0].eks_add_on_fulfillment_option.operating_systems[0].operating_system_family_name #=> String
resp.fulfillment_options[0].eks_add_on_fulfillment_option.operating_systems[0].operating_system_name #=> String
resp.fulfillment_options[0].eks_add_on_fulfillment_option.release_notes #=> String
resp.fulfillment_options[0].eks_add_on_fulfillment_option.usage_instructions #=> String
resp.fulfillment_options[0].eks_add_on_fulfillment_option.aws_supported_services #=> Array
resp.fulfillment_options[0].eks_add_on_fulfillment_option.aws_supported_services[0].supported_service_type #=> String
resp.fulfillment_options[0].eks_add_on_fulfillment_option.aws_supported_services[0].display_name #=> String
resp.fulfillment_options[0].eks_add_on_fulfillment_option.aws_supported_services[0].description #=> String
resp.fulfillment_options[0].ec2_image_builder_component_fulfillment_option.fulfillment_option_id #=> String
resp.fulfillment_options[0].ec2_image_builder_component_fulfillment_option.fulfillment_option_name #=> String
resp.fulfillment_options[0].ec2_image_builder_component_fulfillment_option.fulfillment_option_type #=> String, one of "AMAZON_MACHINE_IMAGE", "API", "CLOUDFORMATION_TEMPLATE", "CONTAINER", "HELM", "EKS_ADD_ON", "EC2_IMAGE_BUILDER_COMPONENT", "DATA_EXCHANGE", "PROFESSIONAL_SERVICES", "SAAS", "SAGEMAKER_ALGORITHM", "SAGEMAKER_MODEL"
resp.fulfillment_options[0].ec2_image_builder_component_fulfillment_option.fulfillment_option_display_name #=> String
resp.fulfillment_options[0].ec2_image_builder_component_fulfillment_option.fulfillment_option_version #=> String
resp.fulfillment_options[0].ec2_image_builder_component_fulfillment_option.operating_systems #=> Array
resp.fulfillment_options[0].ec2_image_builder_component_fulfillment_option.operating_systems[0].operating_system_family_name #=> String
resp.fulfillment_options[0].ec2_image_builder_component_fulfillment_option.operating_systems[0].operating_system_name #=> String
resp.fulfillment_options[0].ec2_image_builder_component_fulfillment_option.aws_supported_services #=> Array
resp.fulfillment_options[0].ec2_image_builder_component_fulfillment_option.aws_supported_services[0].supported_service_type #=> String
resp.fulfillment_options[0].ec2_image_builder_component_fulfillment_option.aws_supported_services[0].display_name #=> String
resp.fulfillment_options[0].ec2_image_builder_component_fulfillment_option.aws_supported_services[0].description #=> String
resp.fulfillment_options[0].ec2_image_builder_component_fulfillment_option.release_notes #=> String
resp.fulfillment_options[0].ec2_image_builder_component_fulfillment_option.usage_instructions #=> String
resp.fulfillment_options[0].data_exchange_fulfillment_option.fulfillment_option_id #=> String
resp.fulfillment_options[0].data_exchange_fulfillment_option.fulfillment_option_type #=> String, one of "AMAZON_MACHINE_IMAGE", "API", "CLOUDFORMATION_TEMPLATE", "CONTAINER", "HELM", "EKS_ADD_ON", "EC2_IMAGE_BUILDER_COMPONENT", "DATA_EXCHANGE", "PROFESSIONAL_SERVICES", "SAAS", "SAGEMAKER_ALGORITHM", "SAGEMAKER_MODEL"
resp.fulfillment_options[0].data_exchange_fulfillment_option.fulfillment_option_display_name #=> String
resp.fulfillment_options[0].data_exchange_fulfillment_option.data_artifacts #=> Array
resp.fulfillment_options[0].data_exchange_fulfillment_option.data_artifacts[0].description #=> String
resp.fulfillment_options[0].data_exchange_fulfillment_option.data_artifacts[0].resource_arn #=> String
resp.fulfillment_options[0].data_exchange_fulfillment_option.data_artifacts[0].resource_type #=> String
resp.fulfillment_options[0].data_exchange_fulfillment_option.data_artifacts[0].data_classification #=> String
resp.fulfillment_options[0].professional_services_fulfillment_option.fulfillment_option_id #=> String
resp.fulfillment_options[0].professional_services_fulfillment_option.fulfillment_option_type #=> String, one of "AMAZON_MACHINE_IMAGE", "API", "CLOUDFORMATION_TEMPLATE", "CONTAINER", "HELM", "EKS_ADD_ON", "EC2_IMAGE_BUILDER_COMPONENT", "DATA_EXCHANGE", "PROFESSIONAL_SERVICES", "SAAS", "SAGEMAKER_ALGORITHM", "SAGEMAKER_MODEL"
resp.fulfillment_options[0].professional_services_fulfillment_option.fulfillment_option_display_name #=> String
resp.fulfillment_options[0].saas_fulfillment_option.fulfillment_option_id #=> String
resp.fulfillment_options[0].saas_fulfillment_option.fulfillment_option_type #=> String, one of "AMAZON_MACHINE_IMAGE", "API", "CLOUDFORMATION_TEMPLATE", "CONTAINER", "HELM", "EKS_ADD_ON", "EC2_IMAGE_BUILDER_COMPONENT", "DATA_EXCHANGE", "PROFESSIONAL_SERVICES", "SAAS", "SAGEMAKER_ALGORITHM", "SAGEMAKER_MODEL"
resp.fulfillment_options[0].saas_fulfillment_option.fulfillment_option_display_name #=> String
resp.fulfillment_options[0].saas_fulfillment_option.fulfillment_url #=> String
resp.fulfillment_options[0].saas_fulfillment_option.usage_instructions #=> String
resp.fulfillment_options[0].saas_fulfillment_option.available_from_time #=> Time
resp.fulfillment_options[0].saas_fulfillment_option.launch_url #=> String
resp.fulfillment_options[0].saas_fulfillment_option.quick_launch #=> String, one of "ENABLED", "DISABLED"
resp.fulfillment_options[0].saas_fulfillment_option.deployment_templates #=> Array
resp.fulfillment_options[0].saas_fulfillment_option.deployment_templates[0].cloud_formation_deployment_template.template_name #=> String
resp.fulfillment_options[0].saas_fulfillment_option.deployment_templates[0].cloud_formation_deployment_template.description #=> String
resp.fulfillment_options[0].saas_fulfillment_option.deployment_templates[0].cloud_formation_deployment_template.default_stack_name #=> String
resp.fulfillment_options[0].saas_fulfillment_option.deployment_templates[0].cloud_formation_deployment_template.template_url #=> String
resp.fulfillment_options[0].saas_fulfillment_option.deployment_templates[0].cloud_formation_deployment_template.iam_policy #=> String
resp.fulfillment_options[0].sage_maker_algorithm_fulfillment_option.fulfillment_option_id #=> String
resp.fulfillment_options[0].sage_maker_algorithm_fulfillment_option.fulfillment_option_type #=> String, one of "AMAZON_MACHINE_IMAGE", "API", "CLOUDFORMATION_TEMPLATE", "CONTAINER", "HELM", "EKS_ADD_ON", "EC2_IMAGE_BUILDER_COMPONENT", "DATA_EXCHANGE", "PROFESSIONAL_SERVICES", "SAAS", "SAGEMAKER_ALGORITHM", "SAGEMAKER_MODEL"
resp.fulfillment_options[0].sage_maker_algorithm_fulfillment_option.fulfillment_option_display_name #=> String
resp.fulfillment_options[0].sage_maker_algorithm_fulfillment_option.fulfillment_option_version #=> String
resp.fulfillment_options[0].sage_maker_algorithm_fulfillment_option.release_notes #=> String
resp.fulfillment_options[0].sage_maker_algorithm_fulfillment_option.usage_instructions #=> String
resp.fulfillment_options[0].sage_maker_algorithm_fulfillment_option.recommendation.recommended_batch_transform_instance_type #=> String
resp.fulfillment_options[0].sage_maker_algorithm_fulfillment_option.recommendation.recommended_realtime_inference_instance_type #=> String
resp.fulfillment_options[0].sage_maker_algorithm_fulfillment_option.recommendation.recommended_training_instance_type #=> String
resp.fulfillment_options[0].sage_maker_model_fulfillment_option.fulfillment_option_id #=> String
resp.fulfillment_options[0].sage_maker_model_fulfillment_option.fulfillment_option_type #=> String, one of "AMAZON_MACHINE_IMAGE", "API", "CLOUDFORMATION_TEMPLATE", "CONTAINER", "HELM", "EKS_ADD_ON", "EC2_IMAGE_BUILDER_COMPONENT", "DATA_EXCHANGE", "PROFESSIONAL_SERVICES", "SAAS", "SAGEMAKER_ALGORITHM", "SAGEMAKER_MODEL"
resp.fulfillment_options[0].sage_maker_model_fulfillment_option.fulfillment_option_display_name #=> String
resp.fulfillment_options[0].sage_maker_model_fulfillment_option.fulfillment_option_version #=> String
resp.fulfillment_options[0].sage_maker_model_fulfillment_option.release_notes #=> String
resp.fulfillment_options[0].sage_maker_model_fulfillment_option.usage_instructions #=> String
resp.fulfillment_options[0].sage_maker_model_fulfillment_option.recommendation.recommended_batch_transform_instance_type #=> String
resp.fulfillment_options[0].sage_maker_model_fulfillment_option.recommendation.recommended_realtime_inference_instance_type #=> String
resp.fulfillment_options[0].sage_maker_model_fulfillment_option.supported_content_types #=> Array
resp.fulfillment_options[0].sage_maker_model_fulfillment_option.supported_content_types[0] #=> String
resp.fulfillment_options[0].sage_maker_model_fulfillment_option.supported_response_mime_types #=> Array
resp.fulfillment_options[0].sage_maker_model_fulfillment_option.supported_response_mime_types[0] #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :locale (String) —

    The preferred locale for response content, as a Best Current Practice 47 (BCP 47) language tag or a comma-separated priority list of language tags. See Locale for supported values, constraints, fallback behavior, and the default locale. If you omit this field, the service returns content in the default locale.

  • :product_id (required, String) —

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

  • :max_results (Integer) —

    The maximum number of fulfillment options to return in each call. If you omit this field, the default is 25. Use nextToken to retrieve the next page.

  • :next_token (String) —

    If the service returns nextToken, more results are available. The value of nextToken is a unique pagination token for each page. Make the call again with the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. An expired pagination token returns a ValidationException.

Returns:

See Also:



3492
3493
3494
3495
# File 'gems/aws-sdk-marketplacediscovery/lib/aws-sdk-marketplacediscovery/client.rb', line 3492

def list_fulfillment_options(params = {}, options = {})
  req = build_request(:list_fulfillment_options, params)
  req.send_request(options)
end

#list_listing_attributes(params = {}) ⇒ Types::ListListingAttributesOutput

Retrieves the requested attributes for a listing, including case studies and trust center information. The operation returns results in pages. Use nextToken to retrieve the next page.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Example: List case studies for a listing


resp = client.list_listing_attributes({
  attribute_types: [
    "CASE_STUDY", 
  ], 
  listing_id: "prodview-sampleListingId", 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  listing_attributes: [
    {
      case_study: {
        case_study_id: "cs-sampleOne", 
        case_study_name: "Disaster recovery for a connected vehicle platform", 
        challenge: "The customer needed a multi-region failover strategy without doubling steady-state infrastructure cost.", 
        engagement_dates: {
          completion_date: Time.parse("2025-06-30T00:00:00Z"), 
          start_date: Time.parse("2025-01-15T00:00:00Z"), 
        }, 
        implementation_approach: "Delivered in three phases over six months: assessment, pilot region build-out, and full production cutover.", 
        outcome: "Achieved a 5-minute RTO, passed a full regional failover audit, and reduced DR spend by 30%.", 
        resolution: "Deployed a multi-region active-passive architecture with automated cross-Region failover.", 
        resources: [
          {
            value: "https://partner.example.com/case-studies/connected-vehicle-dr", 
            content_type: "LINK", 
            resource_type: "CASE_STUDY_WEBSITE", 
          }, 
        ], 
        short_description: "Multi-region failover for a connected vehicle platform, cutting RTO to minutes.", 
      }, 
    }, 
    {
      case_study: {
        case_study_id: "cs-sampleTwo", 
        case_study_name: "Scaling analytics for a global retailer", 
        resources: [
          {
            value: "https://partner.example.com/case-studies/global-retail-analytics", 
            content_type: "LINK", 
            resource_type: "CASE_STUDY_WEBSITE", 
          }, 
        ], 
        short_description: "Rebuilt a retailer's analytics pipeline to handle peak-season load at a fraction of the cost.", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List case studies with pagination


resp = client.list_listing_attributes({
  attribute_types: [
    "CASE_STUDY", 
  ], 
  listing_id: "prodview-sampleListingId", 
  locale: "en-US", 
  max_results: 1, 
})

resp.to_h outputs the following:
{
  listing_attributes: [
    {
      case_study: {
        case_study_id: "cs-sampleOne", 
        case_study_name: "Disaster recovery for a connected vehicle platform", 
        challenge: "The customer needed a multi-region failover strategy without doubling steady-state infrastructure cost.", 
        engagement_dates: {
          completion_date: Time.parse("2025-06-30T00:00:00Z"), 
          start_date: Time.parse("2025-01-15T00:00:00Z"), 
        }, 
        implementation_approach: "Delivered in three phases over six months: assessment, pilot region build-out, and full production cutover.", 
        outcome: "Achieved a 5-minute RTO, passed a full regional failover audit, and reduced DR spend by 30%.", 
        resolution: "Deployed a multi-region active-passive architecture with automated cross-Region failover.", 
        resources: [
          {
            value: "https://partner.example.com/case-studies/connected-vehicle-dr", 
            content_type: "LINK", 
            resource_type: "CASE_STUDY_WEBSITE", 
          }, 
        ], 
        short_description: "Multi-region failover for a connected vehicle platform, cutting RTO to minutes.", 
      }, 
    }, 
  ], 
  locale: "en-US", 
  next_token: "bW9jay10b2tlbg==", 
}

Example: List specializations for a listing


resp = client.list_listing_attributes({
  attribute_types: [
    "SPECIALIZATION_DETAIL", 
  ], 
  listing_id: "prodview-sampleListingId", 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  listing_attributes: [
    {
      specialization_detail: {
        specialization: {
          case_study_ids: [
            "cs-sampleOne", 
          ], 
          description: "Recognizes partners with validated expertise designing and operating storage solutions on AWS.", 
          specialization_id: "spec-9d2f6h4j8k1m5n3p", 
          specialization_name: "Storage Services Competency", 
          specialization_types: [
            {
              display_name: "Services", 
              specialization_type: "SERVICES", 
            }, 
          ], 
        }, 
      }, 
    }, 
    {
      specialization_detail: {
        specialization_category: {
          parent_specialization_id: "spec-9d2f6h4j8k1m5n3p", 
          specialization_category_id: "spec-4k8n2p6x9m3q7w1z", 
          specialization_category_name: "Data Migration", 
        }, 
      }, 
    }, 
    {
      specialization_detail: {
        specialization_category: {
          parent_specialization_id: "spec-9d2f6h4j8k1m5n3p", 
          specialization_category_id: "spec-7a3c5e1g9j2l6n4r", 
          specialization_category_name: "Backup and Recovery", 
        }, 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: Request multiple Trust Center attribute types


resp = client.list_listing_attributes({
  attribute_types: [
    "TRUST_CENTER_SOURCE", 
    "TRUST_CENTER_CERTIFICATION", 
    "TRUST_CENTER_DOCUMENT", 
  ], 
  listing_id: "prodview-sampleListingId", 
  locale: "en-US", 
  max_results: 25, 
})

resp.to_h outputs the following:
{
  listing_attributes: [
    {
      trust_center_source: {
        value: "https://trust.example.com/", 
        content_type: "LINK", 
        provider: "DRATA", 
      }, 
    }, 
    {
      trust_center_certification: {
        certification_type: "SOC2_TYPE_2", 
        display_name: "SOC 2 Type II", 
        logo_url: "https://assets.example.com/certifications/soc2.svg", 
      }, 
    }, 
    {
      trust_center_document: {
        value: "https://trust.example.com/documents/request-access", 
        access_type: "REQUEST_ACCESS", 
        content_type: "LINK", 
        display_name: "Penetration Test Report", 
        subject_area: "Security", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List a Trust Center certification


resp = client.list_listing_attributes({
  attribute_types: [
    "TRUST_CENTER_CERTIFICATION", 
  ], 
  listing_id: "prodview-sampleListingId", 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  listing_attributes: [
    {
      trust_center_certification: {
        certification_type: "SOC2_TYPE_2", 
        display_name: "SOC 2 Type II", 
        logo_url: "https://assets.example.com/certifications/soc2.svg", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List a Trust Center document that requires access


resp = client.list_listing_attributes({
  attribute_types: [
    "TRUST_CENTER_DOCUMENT", 
  ], 
  listing_id: "prodview-sampleListingId", 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  listing_attributes: [
    {
      trust_center_document: {
        value: "https://trust.example.com/documents/request-access", 
        access_type: "REQUEST_ACCESS", 
        content_type: "LINK", 
        display_name: "Penetration Test Report", 
        subject_area: "Security", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List a view-only Trust Center document


resp = client.list_listing_attributes({
  attribute_types: [
    "TRUST_CENTER_DOCUMENT", 
  ], 
  listing_id: "prodview-sampleListingId", 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  listing_attributes: [
    {
      trust_center_document: {
        value: "https://trust.example.com/documents/privacy-policy", 
        access_type: "VIEW", 
        content_type: "LINK", 
        display_name: "Privacy Policy", 
        subject_area: "Privacy", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List a downloadable Trust Center document


resp = client.list_listing_attributes({
  attribute_types: [
    "TRUST_CENTER_DOCUMENT", 
  ], 
  listing_id: "prodview-sampleListingId", 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  listing_attributes: [
    {
      trust_center_document: {
        value: "https://trust.example.com/documents/soc2-report.pdf", 
        access_type: "DOWNLOAD", 
        content_type: "LINK", 
        display_name: "SOC 2 Type II Report", 
        subject_area: "Compliance", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List Trust Center controls


resp = client.list_listing_attributes({
  attribute_types: [
    "TRUST_CENTER_CONTROL", 
  ], 
  listing_id: "prodview-sampleListingId", 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  listing_attributes: [
    {
      trust_center_control: {
        name: "Data Access", 
        domains: [
          "SECURITY", 
        ], 
      }, 
    }, 
    {
      trust_center_control: {
        name: "Disaster Recovery Testing", 
        description: "Disaster recovery testing is performed annually.", 
        domains: [
          "RESILIENCE", 
        ], 
      }, 
    }, 
    {
      trust_center_control: {
        name: "Customer Data Use", 
        description: "Customer data is not used for model training.", 
        domains: [
          "AI_GOVERNANCE", 
        ], 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List a Trust Center frequently asked question


resp = client.list_listing_attributes({
  attribute_types: [
    "TRUST_CENTER_FAQ", 
  ], 
  listing_id: "prodview-sampleListingId", 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  listing_attributes: [
    {
      trust_center_faq: {
        answer: "Customer data is encrypted in transit and at rest.", 
        question: "Is customer data encrypted?", 
        subject_area: "Privacy", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: List Trust Center updates


resp = client.list_listing_attributes({
  attribute_types: [
    "TRUST_CENTER_UPDATE", 
  ], 
  listing_id: "prodview-sampleListingId", 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  listing_attributes: [
    {
      trust_center_update: {
        description: "The current SOC 2 Type II report is now available.", 
        published_time: Time.parse("2026-09-01T12:00:00Z"), 
        title: "SOC 2 report renewed", 
      }, 
    }, 
    {
      trust_center_update: {
        description: "The previous SOC 2 Type II report remains available for reference.", 
        published_time: Time.parse("2026-09-01T12:00:00Z"), 
        title: "SOC 2 report renewed", 
      }, 
    }, 
  ], 
  locale: "en-US", 
}

Example: Valid attribute types that do not apply to the listing


resp = client.list_listing_attributes({
  attribute_types: [
    "TRUST_CENTER_CERTIFICATION", 
  ], 
  listing_id: "prodview-sampleNonApplicableId", 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  listing_attributes: [
  ], 
  locale: "en-US", 
}

Request syntax with placeholder values


resp = client.list_listing_attributes({
  locale: "Locale",
  listing_id: "ListingId", # required
  attribute_types: ["CASE_STUDY"], # required, accepts CASE_STUDY, SPECIALIZATION_DETAIL, TRUST_CENTER_SOURCE, TRUST_CENTER_CERTIFICATION, TRUST_CENTER_DOCUMENT, TRUST_CENTER_CONTROL, TRUST_CENTER_FAQ, TRUST_CENTER_UPDATE
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.locale #=> String
resp.listing_attributes #=> Array
resp.listing_attributes[0].case_study.case_study_id #=> String
resp.listing_attributes[0].case_study.case_study_name #=> String
resp.listing_attributes[0].case_study.short_description #=> String
resp.listing_attributes[0].case_study.engagement_dates.start_date #=> Time
resp.listing_attributes[0].case_study.engagement_dates.completion_date #=> Time
resp.listing_attributes[0].case_study.challenge #=> String
resp.listing_attributes[0].case_study.resolution #=> String
resp.listing_attributes[0].case_study.implementation_approach #=> String
resp.listing_attributes[0].case_study.outcome #=> String
resp.listing_attributes[0].case_study.resources #=> Array
resp.listing_attributes[0].case_study.resources[0].content_type #=> String, one of "EMAIL", "PHONE_NUMBER", "LINK", "OTHER"
resp.listing_attributes[0].case_study.resources[0].value #=> String
resp.listing_attributes[0].case_study.resources[0].display_name #=> String
resp.listing_attributes[0].case_study.resources[0].resource_type #=> String, one of "CASE_STUDY_WEBSITE"
resp.listing_attributes[0].specialization_detail.specialization.specialization_id #=> String
resp.listing_attributes[0].specialization_detail.specialization.specialization_name #=> String
resp.listing_attributes[0].specialization_detail.specialization.description #=> String
resp.listing_attributes[0].specialization_detail.specialization.specialization_types #=> Array
resp.listing_attributes[0].specialization_detail.specialization.specialization_types[0].specialization_type #=> String, one of "USE_CASE", "INDUSTRY", "SERVICES"
resp.listing_attributes[0].specialization_detail.specialization.specialization_types[0].display_name #=> String
resp.listing_attributes[0].specialization_detail.specialization.case_study_ids #=> Array
resp.listing_attributes[0].specialization_detail.specialization.case_study_ids[0] #=> String
resp.listing_attributes[0].specialization_detail.specialization_category.specialization_category_id #=> String
resp.listing_attributes[0].specialization_detail.specialization_category.specialization_category_name #=> String
resp.listing_attributes[0].specialization_detail.specialization_category.parent_specialization_id #=> String
resp.listing_attributes[0].trust_center_source.content_type #=> String, one of "EMAIL", "PHONE_NUMBER", "LINK", "OTHER"
resp.listing_attributes[0].trust_center_source.value #=> String
resp.listing_attributes[0].trust_center_source.display_name #=> String
resp.listing_attributes[0].trust_center_source.provider #=> String, one of "DRATA", "VANTA", "OTHER"
resp.listing_attributes[0].trust_center_certification.certification_type #=> String
resp.listing_attributes[0].trust_center_certification.display_name #=> String
resp.listing_attributes[0].trust_center_certification.logo_url #=> String
resp.listing_attributes[0].trust_center_document.content_type #=> String, one of "EMAIL", "PHONE_NUMBER", "LINK", "OTHER"
resp.listing_attributes[0].trust_center_document.value #=> String
resp.listing_attributes[0].trust_center_document.display_name #=> String
resp.listing_attributes[0].trust_center_document.subject_area #=> String
resp.listing_attributes[0].trust_center_document.access_type #=> String, one of "DOWNLOAD", "VIEW", "REQUEST_ACCESS"
resp.listing_attributes[0].trust_center_control.name #=> String
resp.listing_attributes[0].trust_center_control.description #=> String
resp.listing_attributes[0].trust_center_control.domains #=> Array
resp.listing_attributes[0].trust_center_control.domains[0] #=> String, one of "SECURITY", "AI_GOVERNANCE", "RESILIENCE"
resp.listing_attributes[0].trust_center_faq.question #=> String
resp.listing_attributes[0].trust_center_faq.answer #=> String
resp.listing_attributes[0].trust_center_faq.subject_area #=> String
resp.listing_attributes[0].trust_center_update.title #=> String
resp.listing_attributes[0].trust_center_update.description #=> String
resp.listing_attributes[0].trust_center_update.published_time #=> Time
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :locale (String) —

    The preferred locale for response content, as a Best Current Practice 47 (BCP 47) language tag or a comma-separated priority list of language tags. See Locale for supported values, constraints, fallback behavior, and the default locale. If you omit this field, the service returns content in the default locale.

  • :listing_id (required, String) —

    The unique identifier of the listing whose attributes are requested.

  • :attribute_types (required, Array<String>) —

    The attribute types to retrieve. Specify one or more of the following values:

    CASE_STUDY

    Case studies associated with the listing.

    SPECIALIZATION_DETAIL

    Specializations earned for the listing.

    TRUST_CENTER_CERTIFICATION

    Trust center certifications associated with the listing.

    TRUST_CENTER_CONTROL

    Trust center controls associated with the listing.

    TRUST_CENTER_DOCUMENT

    Trust center documents associated with the listing.

    TRUST_CENTER_FAQ

    The trust center FAQ associated with the listing.

    TRUST_CENTER_SOURCE

    Trust center sources associated with the listing.

    TRUST_CENTER_UPDATE

    Trust center updates associated with the listing.

  • :max_results (Integer) —

    The maximum number of attributes to return in each call. If you omit this field, the default is 25. Use nextToken to retrieve the next page.

  • :next_token (String) —

    If the service returns nextToken, more results are available. The value of nextToken is a unique pagination token for each page. Make the call again with the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. An expired pagination token returns a ValidationException.

Returns:

See Also:



4042
4043
4044
4045
# File 'gems/aws-sdk-marketplacediscovery/lib/aws-sdk-marketplacediscovery/client.rb', line 4042

def list_listing_attributes(params = {}, options = {})
  req = build_request(:list_listing_attributes, params)
  req.send_request(options)
end

#list_purchase_options(params = {}) ⇒ Types::ListPurchaseOptionsOutput

Retrieves the purchase options (offers and offer sets) available to you. You can filter results by product, seller, purchase option type, visibility scope, and availability status. The operation returns results in pages. Use nextToken to retrieve the next page.

You must include at least one of the following filters in the request: a PRODUCT_ID filter to specify the product for which to retrieve purchase options, or a VISIBILITY_SCOPE filter to retrieve purchase options by visibility.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Example: Filter by Product ID


resp = client.list_purchase_options({
  filters: [
    {
      filter_type: "PRODUCT_ID", 
      filter_values: [
        "prod-sampleOfferId", 
      ], 
    }, 
  ], 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  purchase_options: [
    {
      associated_entities: [
        {
          offer: {
            offer_id: "offer-sampleOfferId", 
            seller_of_record: {
              display_name: "sample offer seller", 
              seller_profile_id: "seller-sampleOfferId", 
            }, 
          }, 
          product: {
            manufacturer: {
              display_name: "sample offer seller", 
              seller_profile_id: "seller-sampleOfferId", 
            }, 
            product_id: "prod-sampleOfferId", 
            product_name: "sample offer product", 
          }, 
        }, 
      ], 
      available_from_time: Time.parse("2021-12-15T00:00:00.000Z"), 
      badges: [
      ], 
      catalog: "AWS_MARKETPLACE", 
      purchase_option_id: "offer-sampleOfferId", 
      purchase_option_name: "sample offer", 
      purchase_option_type: "OFFER", 
      seller_of_record: {
        display_name: "sample offer seller", 
        seller_profile_id: "seller-sampleOfferId", 
      }, 
    }, 
  ], 
}

Example: Filter by Seller with Private Offerset


resp = client.list_purchase_options({
  filters: [
    {
      filter_type: "SELLER_OF_RECORD_PROFILE_ID", 
      filter_values: [
        "seller-sampleResellerId", 
      ], 
    }, 
    {
      filter_type: "PURCHASE_OPTION_TYPE", 
      filter_values: [
        "OFFERSET", 
      ], 
    }, 
    {
      filter_type: "VISIBILITY_SCOPE", 
      filter_values: [
        "PRIVATE", 
      ], 
    }, 
  ], 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  purchase_options: [
    {
      associated_entities: [
        {
          offer: {
            offer_id: "offer-sampleId1", 
            seller_of_record: {
              display_name: "sample reseller", 
              seller_profile_id: "seller-sampleResellerId", 
            }, 
          }, 
          product: {
            manufacturer: {
              display_name: "sample seller name 1", 
              seller_profile_id: "seller-sampleId1", 
            }, 
            product_id: "prod-sampleId1", 
            product_name: "sample product name 1", 
          }, 
        }, 
        {
          offer: {
            offer_id: "offer-sampleId2", 
            seller_of_record: {
              display_name: "sample reseller", 
              seller_profile_id: "seller-sampleResellerId", 
            }, 
          }, 
          product: {
            manufacturer: {
              display_name: "sample seller name 2", 
              seller_profile_id: "seller-sampleId2", 
            }, 
            product_id: "prod-sampleId2", 
            product_name: "sample product name 2", 
          }, 
        }, 
      ], 
      available_from_time: Time.parse("2024-03-20T00:00:00.000Z"), 
      badges: [
        {
          badge_type: "PRIVATE_PRICING", 
          display_name: "Private Pricing", 
        }, 
      ], 
      catalog: "AWS_MARKETPLACE", 
      expiration_time: Time.parse("2025-03-20T00:00:00.000Z"), 
      purchase_option_id: "offerset-sampleId", 
      purchase_option_name: "sample offerset", 
      purchase_option_type: "OFFERSET", 
      seller_of_record: {
        display_name: "sample reseller", 
        seller_profile_id: "seller-sampleResellerId", 
      }, 
    }, 
  ], 
}

Request syntax with placeholder values


resp = client.list_purchase_options({
  locale: "Locale",
  filters: [
    {
      filter_type: "PRODUCT_ID", # required, accepts PRODUCT_ID, SELLER_OF_RECORD_PROFILE_ID, PURCHASE_OPTION_TYPE, VISIBILITY_SCOPE, AVAILABILITY_STATUS
      filter_values: ["PurchaseOptionFilterValue"], # required
    },
  ],
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.purchase_options #=> Array
resp.purchase_options[0].purchase_option_id #=> String
resp.purchase_options[0].catalog #=> String
resp.purchase_options[0].purchase_option_type #=> String, one of "OFFER", "OFFERSET"
resp.purchase_options[0].purchase_option_name #=> String
resp.purchase_options[0].available_from_time #=> Time
resp.purchase_options[0].expiration_time #=> Time
resp.purchase_options[0].seller_of_record.seller_profile_id #=> String
resp.purchase_options[0].seller_of_record.display_name #=> String
resp.purchase_options[0].badges #=> Array
resp.purchase_options[0].badges[0].display_name #=> String
resp.purchase_options[0].badges[0].badge_type #=> String, one of "PRIVATE_PRICING", "FUTURE_DATED", "REPLACEMENT_OFFER", "AUTO_RENEW"
resp.purchase_options[0].associated_entities #=> Array
resp.purchase_options[0].associated_entities[0].product.product_id #=> String
resp.purchase_options[0].associated_entities[0].product.product_name #=> String
resp.purchase_options[0].associated_entities[0].product.manufacturer.seller_profile_id #=> String
resp.purchase_options[0].associated_entities[0].product.manufacturer.display_name #=> String
resp.purchase_options[0].associated_entities[0].offer.offer_id #=> String
resp.purchase_options[0].associated_entities[0].offer.offer_name #=> String
resp.purchase_options[0].associated_entities[0].offer.seller_of_record.seller_profile_id #=> String
resp.purchase_options[0].associated_entities[0].offer.seller_of_record.display_name #=> String
resp.purchase_options[0].associated_entities[0].offer_set.offer_set_id #=> String
resp.purchase_options[0].associated_entities[0].offer_set.seller_of_record.seller_profile_id #=> String
resp.purchase_options[0].associated_entities[0].offer_set.seller_of_record.display_name #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :locale (String) —

    The preferred locale for response content, as a Best Current Practice 47 (BCP 47) language tag or a comma-separated priority list of language tags. See Locale for supported values, constraints, fallback behavior, and the default locale. If you omit this field, the service returns content in the default locale.

  • :filters (Array<Types::PurchaseOptionFilter>) —

    Filters to narrow the results. A result must match every filter. Within one filter, a result matches if it has any of the values.

  • :max_results (Integer) —

    The maximum number of purchase options to return in each call. If you omit this field, the default is 25. Use nextToken to retrieve the next page.

  • :next_token (String) —

    If the service returns nextToken, more results are available. The value of nextToken is a unique pagination token for each page. Make the call again with the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. An expired pagination token returns a ValidationException.

Returns:

See Also:



4274
4275
4276
4277
# File 'gems/aws-sdk-marketplacediscovery/lib/aws-sdk-marketplacediscovery/client.rb', line 4274

def list_purchase_options(params = {}, options = {})
  req = build_request(:list_purchase_options, params)
  req.send_request(options)
end

#search_facets(params = {}) ⇒ Types::SearchFacetsOutput

Retrieves the available facet values for filtering listings, such as categories, pricing models, fulfillment option types, publishers, and customer ratings. Each facet value includes a count of matching listings.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Example: Get facets for machine learning category


# Retrieve available facet values for listings in the machine learning category

resp = client.search_facets({
  facet_types: [
    "FULFILLMENT_OPTION_TYPE", 
    "PRICING_MODEL", 
  ], 
  filters: [
    {
      filter_type: "CATEGORY", 
      filter_values: [
        "machine-learning", 
      ], 
    }, 
  ], 
  locale: "en-US", 
  search_text: "analytics", 
})

resp.to_h outputs the following:
{
  listing_facets: {
    "FULFILLMENT_OPTION_TYPE" => [
      {
        value: "SAAS", 
        count: 250, 
        display_name: "SaaS", 
      }, 
      {
        value: "CONTAINER", 
        count: 120, 
        display_name: "Container", 
      }, 
      {
        value: "SAGEMAKER_ALGORITHM", 
        count: 80, 
        display_name: "SageMaker Algorithm", 
      }, 
    ], 
    "PRICING_MODEL" => [
      {
        value: "USAGE", 
        count: 300, 
        display_name: "Usage-Based", 
      }, 
      {
        value: "FREE", 
        count: 100, 
        display_name: "Free", 
      }, 
      {
        value: "CONTRACT", 
        count: 50, 
        display_name: "Upfront Commitment", 
      }, 
    ], 
  }, 
  total_results: 450, 
}

Example: Get facets with term and rating range filters


# Retrieve facets for security listings with ratings between 3.0 and 5.0 stars

resp = client.search_facets({
  facet_types: [
    "PRICING_MODEL", 
    "AVERAGE_CUSTOMER_RATING", 
  ], 
  filters: [
    {
      filter_type: "CATEGORY", 
      filter_values: [
        "security", 
      ], 
    }, 
    {
      filter_type: "MIN_AVERAGE_CUSTOMER_RATING", 
      filter_values: [
        "3.0", 
      ], 
    }, 
    {
      filter_type: "MAX_AVERAGE_CUSTOMER_RATING", 
      filter_values: [
        "5.0", 
      ], 
    }, 
  ], 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  listing_facets: {
    "AVERAGE_CUSTOMER_RATING" => [
      {
        value: "5.0", 
        count: 30, 
        display_name: "5.0", 
      }, 
      {
        value: "4.0", 
        count: 35, 
        display_name: "4.0", 
      }, 
      {
        value: "3.0", 
        count: 20, 
        display_name: "3.0", 
      }, 
    ], 
    "PRICING_MODEL" => [
      {
        value: "USAGE", 
        count: 50, 
        display_name: "Usage-Based", 
      }, 
      {
        value: "FREE", 
        count: 35, 
        display_name: "Free", 
      }, 
    ], 
  }, 
  total_results: 85, 
}

Example: Get specialization facets


# Retrieve specialization and specialization category facets for listings that earned the Travel and Hospitality Services
# Competency

resp = client.search_facets({
  facet_types: [
    "SPECIALIZATION", 
    "SPECIALIZATION_CATEGORY", 
  ], 
  filters: [
    {
      filter_type: "SPECIALIZATION", 
      filter_values: [
        "spec-0ae8wm2xxde76e", 
      ], 
    }, 
  ], 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  listing_facets: {
    "SPECIALIZATION" => [
      {
        value: "spec-0ae8wm2xxde76e", 
        count: 12, 
        display_name: "Travel and Hospitality Services Competency", 
      }, 
      {
        value: "spec-znwmf49a15h7a6", 
        count: 3, 
        display_name: "Migration and Modernization Software Competency", 
      }, 
    ], 
    "SPECIALIZATION_CATEGORY" => [
      {
        value: "spec-4xtf39u7bve512", 
        count: 9, 
        display_name: "Digital Customer Engagement", 
        parent: "spec-0ae8wm2xxde76e", 
      }, 
      {
        value: "spec-avu0aodtdpco2t", 
        count: 4, 
        display_name: "Internet of Things", 
        parent: "spec-0ae8wm2xxde76e", 
      }, 
      {
        value: "spec-a9vn6mto0omjgr", 
        count: 2, 
        display_name: "Data Mobility", 
        parent: "spec-znwmf49a15h7a6", 
      }, 
    ], 
  }, 
  total_results: 12, 
}

Example: Get certification facets


# Retrieve certification values available for filtering

resp = client.search_facets({
  facet_types: [
    "CERTIFICATES", 
  ], 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  listing_facets: {
    "CERTIFICATES" => [
      {
        value: "SOC2_TYPE_2", 
        count: 80, 
        display_name: "SOC 2 Type II", 
      }, 
      {
        value: "ISO_27001", 
        count: 65, 
        display_name: "ISO 27001", 
      }, 
    ], 
  }, 
  total_results: 4500, 
}

Example: Get Trust Center availability facets


# Retrieve Trust Center availability for filtering

resp = client.search_facets({
  facet_types: [
    "TRUST_CENTER", 
  ], 
  locale: "en-US", 
})

resp.to_h outputs the following:
{
  listing_facets: {
    "TRUST_CENTER" => [
      {
        value: "HAS_TRUST_CENTER", 
        count: 125, 
        display_name: "Trust Center available", 
      }, 
    ], 
  }, 
  total_results: 4500, 
}

Request syntax with placeholder values


resp = client.search_facets({
  locale: "Locale",
  search_text: "SearchText",
  filters: [
    {
      filter_type: "MIN_AVERAGE_CUSTOMER_RATING", # required, accepts MIN_AVERAGE_CUSTOMER_RATING, MAX_AVERAGE_CUSTOMER_RATING, CATEGORY, PUBLISHER, FULFILLMENT_OPTION_TYPE, PRICING_MODEL, PRICING_UNIT, DEPLOYED_ON_AWS, NUMBER_OF_PRODUCTS, CERTIFICATES, PRODUCT_ID, SPECIALIZATION, SPECIALIZATION_CATEGORY, SELLER_ENGAGEMENT, TRUST_CENTER
      filter_values: ["SearchFilterValue"], # required
    },
  ],
  facet_types: ["AVERAGE_CUSTOMER_RATING"], # accepts AVERAGE_CUSTOMER_RATING, CATEGORY, PUBLISHER, FULFILLMENT_OPTION_TYPE, PRICING_MODEL, PRICING_UNIT, DEPLOYED_ON_AWS, NUMBER_OF_PRODUCTS, CERTIFICATES, SPECIALIZATION, SPECIALIZATION_CATEGORY, SELLER_ENGAGEMENT, TRUST_CENTER
  next_token: "NextToken",
})

Response structure


resp.total_results #=> Integer
resp.listing_facets #=> Hash
resp.listing_facets["SearchFacetType"] #=> Array
resp.listing_facets["SearchFacetType"][0].value #=> String
resp.listing_facets["SearchFacetType"][0].display_name #=> String
resp.listing_facets["SearchFacetType"][0].parent #=> String
resp.listing_facets["SearchFacetType"][0].count #=> Integer
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :locale (String) —

    The preferred locale for response content, as a Best Current Practice 47 (BCP 47) language tag or a comma-separated priority list of language tags. See Locale for supported values, constraints, fallback behavior, and the default locale. If you omit this field, the service returns content in the default locale.

  • :search_text (String) —

    The search query text to filter listings before retrieving facets.

  • :filters (Array<Types::SearchFilter>) —

    Filters to apply before retrieving facets. A result must match every filter. Within one filter, a result matches if it has any of the values.

  • :facet_types (Array<String>) —

    The facet types to retrieve. If you omit this field or leave it empty, the service returns all available facets.

  • :next_token (String) —

    If the service returns nextToken, more results are available. The value of nextToken is a unique pagination token for each page. Make the call again with the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. An expired pagination token returns a ValidationException.

Returns:

See Also:



4594
4595
4596
4597
# File 'gems/aws-sdk-marketplacediscovery/lib/aws-sdk-marketplacediscovery/client.rb', line 4594

def search_facets(params = {}, options = {})
  req = build_request(:search_facets, params)
  req.send_request(options)
end

#search_listings(params = {}) ⇒ Types::SearchListingsOutput

Searches for listings that match your search criteria and filters. You can search by keyword, filter by category, pricing model, fulfillment type, and other attributes, and sort results by relevance or customer rating. The operation returns results in pages. Use nextToken to retrieve the next page.

The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.

Examples:

Example: Search for machine learning listings


# Search for ISO 27001 certified SaaS listings in the machine learning category, sorted by relevance

resp = client.search_listings({
  filters: [
    {
      filter_type: "CATEGORY", 
      filter_values: [
        "machine-learning", 
      ], 
    }, 
    {
      filter_type: "FULFILLMENT_OPTION_TYPE", 
      filter_values: [
        "SAAS", 
      ], 
    }, 
    {
      filter_type: "CERTIFICATES", 
      filter_values: [
        "ISO_27001", 
      ], 
    }, 
  ], 
  locale: "en-US", 
  max_results: 25, 
  search_text: "computer vision", 
  sort_by: "RELEVANCE", 
  sort_order: "DESCENDING", 
})

resp.to_h outputs the following:
{
  listing_summaries: [
    {
      associated_entities: [
        {
          product: {
            manufacturer: {
              display_name: "sample search seller", 
              seller_profile_id: "seller-sampleSearchId", 
            }, 
            product_id: "prod-sampleSearchId", 
            product_name: "sample search product", 
          }, 
        }, 
      ], 
      badges: [
        {
          badge_type: "FREE_TRIAL", 
          display_name: "Free Trial", 
        }, 
      ], 
      case_studies_summary: {
        case_study_count: 7, 
      }, 
      catalog: "AWSMarketplace", 
      categories: [
        {
          category_id: "machine-learning", 
          display_name: "Machine Learning", 
        }, 
      ], 
      fulfillment_option_summaries: [
        {
          display_name: "SaaS", 
          fulfillment_option_type: "SAAS", 
        }, 
      ], 
      listing_id: "prodview-sampleSearchId", 
      listing_name: "sample search listing", 
      logo_thumbnail_url: "https://awsmp-logos.s3.amazonaws.com/product-logos/ai-vision-pro.png", 
      pricing_models: [
        {
          display_name: "Usage", 
          pricing_model_type: "USAGE", 
        }, 
      ], 
      pricing_units: [
        {
          display_name: "Requests", 
          pricing_unit_type: "REQUESTS", 
        }, 
      ], 
      publisher: {
        display_name: "sample search seller", 
        seller_profile_id: "seller-sampleSearchId", 
      }, 
      review_summary: {
        review_source_summaries: [
          {
            average_rating: "4.5", 
            source_id: "AWS_MARKETPLACE", 
            source_name: "AWS Marketplace", 
            total_reviews: 100, 
          }, 
          {
            average_rating: "4.6", 
            source_id: "G2", 
            source_name: "G2", 
            total_reviews: 1368, 
          }, 
          {
            average_rating: "4.2", 
            source_id: "PEERSPOT", 
            source_name: "PeerSpot", 
            total_reviews: 19, 
          }, 
        ], 
      }, 
      seller_engagements: [
        {
          value: "https://aws.amazon.com/marketplace/customer-connect/private-offer/prodview-sampleSearchId?campaignId=sampleCampaignId", 
          content_type: "LINK", 
          engagement_type: "REQUEST_FOR_PRIVATE_OFFER", 
        }, 
        {
          value: "https://aws.amazon.com/marketplace/customer-connect/demo/prodview-sampleSearchId?campaignId=sampleCampaignId", 
          content_type: "LINK", 
          engagement_type: "REQUEST_FOR_DEMO", 
        }, 
        {
          value: "https://aws.amazon.com/marketplace/epo/#/offer?productId=prod-sampleSearchId&listingId=prodview-sampleSearchId", 
          content_type: "LINK", 
          engagement_type: "EXPRESS_PRIVATE_OFFER", 
        }, 
        {
          value: "https://aws.amazon.com/marketplace/procurement?productId=prod-sampleSearchId", 
          content_type: "LINK", 
          engagement_type: "BUY_NOW", 
        }, 
        {
          value: "https://aws.amazon.com/marketplace/procurement?productId=prod-sampleSearchId&tryForFree=true", 
          content_type: "LINK", 
          engagement_type: "TRY_FOR_FREE", 
        }, 
      ], 
      short_description: "Advanced computer vision solution for object detection and classification.", 
      trust_center_summary: {
        certification_summaries: [
          {
            certification_type: "SOC2_TYPE_2", 
            display_name: "SOC 2 Type II", 
            logo_url: "https://awsmp-logos.s3.amazonaws.com/certification-logos/soc2.svg", 
          }, 
          {
            certification_type: "ISO_27001", 
            display_name: "ISO 27001", 
            logo_url: "https://awsmp-logos.s3.amazonaws.com/certification-logos/iso27001.svg", 
          }, 
        ], 
        source_summaries: [
          {
            value: "https://trust.example.com/", 
            content_type: "LINK", 
            display_name: "Drata", 
            provider: "DRATA", 
          }, 
        ], 
        total_certification_count: 2, 
      }, 
      use_case_summary: {
        use_cases: [
          {
            use_case: {
              value: "CONTEXTUAL_ANALYSIS", 
              display_name: "Contextual Analysis", 
            }, 
          }, 
        ], 
      }, 
    }, 
  ], 
  next_token: "eyJsYXN0RXZhbHVhdGVkS2V5Ijp7Imxpc3RpbmdJZCI6InByb2R2aWV3LXNhbXBsZVNlYXJjaElkIn19", 
  total_results: 42, 
}

Example: Search listings with a Trust Center source and no certifications


# Return Trust Center source information when no certifications are available

resp = client.search_listings({
  filters: [
    {
      filter_type: "TRUST_CENTER", 
      filter_values: [
        "HAS_TRUST_CENTER", 
      ], 
    }, 
  ], 
  locale: "en-US", 
  max_results: 1, 
  search_text: "security", 
})

resp.to_h outputs the following:
{
  listing_summaries: [
    {
      associated_entities: [
      ], 
      badges: [
      ], 
      catalog: "AWSMarketplace", 
      categories: [
      ], 
      fulfillment_option_summaries: [
      ], 
      listing_id: "prodview-sourceOnlyId", 
      listing_name: "sample source-only listing", 
      logo_thumbnail_url: "https://awsmp-logos.s3.amazonaws.com/product-logos/source-only.png", 
      pricing_models: [
      ], 
      pricing_units: [
      ], 
      publisher: {
        display_name: "sample source-only seller", 
        seller_profile_id: "seller-sourceOnlyId", 
      }, 
      review_summary: {
        review_source_summaries: [
        ], 
      }, 
      seller_engagements: [
      ], 
      short_description: "Continuous cloud security posture monitoring with automated compliance checks.", 
      trust_center_summary: {
        certification_summaries: [
        ], 
        source_summaries: [
          {
            value: "https://example.com/trust-center", 
            content_type: "LINK", 
            display_name: "Example Trust Center", 
            provider: "OTHER", 
          }, 
        ], 
        total_certification_count: 0, 
      }, 
      use_case_summary: {
        use_cases: [
        ], 
      }, 
    }, 
  ], 
  next_token: "eyJsYXN0RXZhbHVhdGVkS2V5Ijp7Imxpc3RpbmdJZCI6InByb2R2aWV3LXNvdXJjZU9ubHlJZCJ9fQ==", 
  total_results: 38, 
}

Request syntax with placeholder values


resp = client.search_listings({
  locale: "Locale",
  search_text: "SearchText",
  filters: [
    {
      filter_type: "MIN_AVERAGE_CUSTOMER_RATING", # required, accepts MIN_AVERAGE_CUSTOMER_RATING, MAX_AVERAGE_CUSTOMER_RATING, CATEGORY, PUBLISHER, FULFILLMENT_OPTION_TYPE, PRICING_MODEL, PRICING_UNIT, DEPLOYED_ON_AWS, NUMBER_OF_PRODUCTS, CERTIFICATES, PRODUCT_ID, SPECIALIZATION, SPECIALIZATION_CATEGORY, SELLER_ENGAGEMENT, TRUST_CENTER
      filter_values: ["SearchFilterValue"], # required
    },
  ],
  max_results: 1,
  sort_by: "RELEVANCE", # accepts RELEVANCE, AVERAGE_CUSTOMER_RATING
  sort_order: "DESCENDING", # accepts DESCENDING, ASCENDING
  next_token: "NextToken",
})

Response structure


resp.total_results #=> Integer
resp.listing_summaries #=> Array
resp.listing_summaries[0].listing_id #=> String
resp.listing_summaries[0].listing_name #=> String
resp.listing_summaries[0].publisher.seller_profile_id #=> String
resp.listing_summaries[0].publisher.display_name #=> String
resp.listing_summaries[0].fulfillment_option_summaries #=> Array
resp.listing_summaries[0].fulfillment_option_summaries[0].fulfillment_option_type #=> String, one of "AMAZON_MACHINE_IMAGE", "API", "CLOUDFORMATION_TEMPLATE", "CONTAINER", "HELM", "EKS_ADD_ON", "EC2_IMAGE_BUILDER_COMPONENT", "DATA_EXCHANGE", "PROFESSIONAL_SERVICES", "SAAS", "SAGEMAKER_ALGORITHM", "SAGEMAKER_MODEL"
resp.listing_summaries[0].fulfillment_option_summaries[0].display_name #=> String
resp.listing_summaries[0].catalog #=> String
resp.listing_summaries[0].short_description #=> String
resp.listing_summaries[0].logo_thumbnail_url #=> String
resp.listing_summaries[0].categories #=> Array
resp.listing_summaries[0].categories[0].category_id #=> String
resp.listing_summaries[0].categories[0].display_name #=> String
resp.listing_summaries[0].badges #=> Array
resp.listing_summaries[0].badges[0].display_name #=> String
resp.listing_summaries[0].badges[0].badge_type #=> String, one of "AWS_FREE_TIER", "FREE_TRIAL", "DEPLOYED_ON_AWS", "QUICK_LAUNCH", "MULTI_PRODUCT"
resp.listing_summaries[0].review_summary.review_source_summaries #=> Array
resp.listing_summaries[0].review_summary.review_source_summaries[0].source_name #=> String
resp.listing_summaries[0].review_summary.review_source_summaries[0].source_id #=> String, one of "AWS_MARKETPLACE", "G2", "PEERSPOT"
resp.listing_summaries[0].review_summary.review_source_summaries[0].source_url #=> String
resp.listing_summaries[0].review_summary.review_source_summaries[0].average_rating #=> String
resp.listing_summaries[0].review_summary.review_source_summaries[0].total_reviews #=> Integer
resp.listing_summaries[0].pricing_models #=> Array
resp.listing_summaries[0].pricing_models[0].pricing_model_type #=> String, one of "USAGE", "CONTRACT", "BYOL", "FREE"
resp.listing_summaries[0].pricing_models[0].display_name #=> String
resp.listing_summaries[0].pricing_units #=> Array
resp.listing_summaries[0].pricing_units[0].pricing_unit_type #=> String, one of "USERS", "HOSTS", "BANDWIDTH", "DATA", "TIERS", "REQUESTS", "UNITS"
resp.listing_summaries[0].pricing_units[0].display_name #=> String
resp.listing_summaries[0].associated_entities #=> Array
resp.listing_summaries[0].associated_entities[0].product.product_id #=> String
resp.listing_summaries[0].associated_entities[0].product.product_name #=> String
resp.listing_summaries[0].associated_entities[0].product.manufacturer.seller_profile_id #=> String
resp.listing_summaries[0].associated_entities[0].product.manufacturer.display_name #=> String
resp.listing_summaries[0].trust_center_summary.source_summaries #=> Array
resp.listing_summaries[0].trust_center_summary.source_summaries[0].content_type #=> String, one of "EMAIL", "PHONE_NUMBER", "LINK", "OTHER"
resp.listing_summaries[0].trust_center_summary.source_summaries[0].value #=> String
resp.listing_summaries[0].trust_center_summary.source_summaries[0].display_name #=> String
resp.listing_summaries[0].trust_center_summary.source_summaries[0].provider #=> String, one of "DRATA", "VANTA", "OTHER"
resp.listing_summaries[0].trust_center_summary.certification_summaries #=> Array
resp.listing_summaries[0].trust_center_summary.certification_summaries[0].certification_type #=> String
resp.listing_summaries[0].trust_center_summary.certification_summaries[0].display_name #=> String
resp.listing_summaries[0].trust_center_summary.certification_summaries[0].logo_url #=> String
resp.listing_summaries[0].trust_center_summary.total_certification_count #=> Integer
resp.listing_summaries[0].case_studies_summary.case_study_count #=> Integer
resp.listing_summaries[0].use_case_summary.use_cases #=> Array
resp.listing_summaries[0].use_case_summary.use_cases[0].use_case.display_name #=> String
resp.listing_summaries[0].use_case_summary.use_cases[0].use_case.value #=> String
resp.listing_summaries[0].seller_engagements #=> Array
resp.listing_summaries[0].seller_engagements[0].engagement_type #=> String, one of "REQUEST_FOR_PRIVATE_OFFER", "REQUEST_FOR_DEMO", "EXPRESS_PRIVATE_OFFER", "BUY_NOW", "TRY_FOR_FREE"
resp.listing_summaries[0].seller_engagements[0].content_type #=> String, one of "LINK"
resp.listing_summaries[0].seller_engagements[0].value #=> String
resp.next_token #=> String

Parameters:

  • params (Hash) (defaults to: {}) —

    ({})

Options Hash (params):

  • :locale (String) —

    The preferred locale for response content, as a Best Current Practice 47 (BCP 47) language tag or a comma-separated priority list of language tags. See Locale for supported values, constraints, fallback behavior, and the default locale. If you omit this field, the service returns content in the default locale.

  • :search_text (String) —

    The search query text to find relevant listings.

  • :filters (Array<Types::SearchFilter>) —

    Filters to narrow search results. A result must match every filter. Within one filter, a result matches if it has any of the values.

  • :max_results (Integer) —

    The maximum number of listings to return in each call. If you omit this field, the default is 25. Use nextToken to retrieve the next page.

  • :sort_by (String) —

    The field to sort results by. If you do not specify a value, the service sorts by RELEVANCE. This field has one of the following values:

    AVERAGE_CUSTOMER_RATING

    Sorts by average customer rating.

    RELEVANCE

    Sorts by relevance to the search query.

  • :sort_order (String) —

    The sort direction. If you do not specify a value, the service sorts in DESCENDING order. This field has one of the following values:

    ASCENDING

    Sorts from lowest to highest.

    DESCENDING

    Sorts from highest to lowest.

  • :next_token (String) —

    If the service returns nextToken, more results are available. The value of nextToken is a unique pagination token for each page. Make the call again with the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. An expired pagination token returns a ValidationException.

Returns:

See Also:



4993
4994
4995
4996
# File 'gems/aws-sdk-marketplacediscovery/lib/aws-sdk-marketplacediscovery/client.rb', line 4993

def search_listings(params = {}, options = {})
  req = build_request(:search_listings, params)
  req.send_request(options)
end