Class: Aws::PartnerCentralSelling::Client

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

Overview

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

client = Aws::PartnerCentralSelling::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
  • :simple_json (Boolean) — default: false —

    Disables request parameter conversion, validation, and formatting. Also disables response data type conversions. The request parameters hash must be formatted exactly as the API expects.This option is useful when you want to ensure the highest level of performance by avoiding overhead of walking request parameters and response data structures.

  • :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::PartnerCentralSelling::EndpointProvider) —

    The endpoint provider used to resolve endpoints. Any object that responds to #resolve_endpoint(parameters) where parameters is a Struct similar to Aws::PartnerCentralSelling::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.



486
487
488
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 486

def initialize(*args)
  super
end

Instance Method Details

#accept_engagement_invitation(params = {}) ⇒ Struct

Use the AcceptEngagementInvitation action to accept an engagement invitation shared by AWS. Accepting the invitation indicates your willingness to participate in the engagement, granting you access to all engagement-related data.

Examples:

Request syntax with placeholder values


resp = client.accept_engagement_invitation({
  catalog: "CatalogIdentifier", # required
  identifier: "EngagementInvitationArnOrIdentifier", # required
})

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    The CatalogType parameter specifies the catalog associated with the engagement invitation. Accepted values are AWS and Sandbox, which determine the environment in which the engagement invitation is managed.

  • :identifier (required, String) —

    The Identifier parameter in the AcceptEngagementInvitationRequest specifies the unique identifier of the EngagementInvitation to be accepted. Providing the correct identifier ensures that the intended invitation is accepted.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



522
523
524
525
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 522

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

#assign_opportunity(params = {}) ⇒ Struct

Enables you to reassign an existing Opportunity to another user within your Partner Central account. The specified user receives the opportunity, and it appears on their Partner Central dashboard, allowing them to take necessary actions or proceed with the opportunity.

This is useful for distributing opportunities to the appropriate team members or departments within your organization, ensuring that each opportunity is handled by the right person. By default, the opportunity owner is the one who creates it. Currently, there's no API to enumerate the list of available users.

Examples:

Request syntax with placeholder values


resp = client.assign_opportunity({
  catalog: "CatalogIdentifier", # required
  identifier: "OpportunityIdentifier", # required
  assignee: { # required
    email: "Email", # required
    first_name: "AssigneeContactFirstNameString", # required
    last_name: "AssigneeContactLastNameString", # required
    phone: "PhoneNumber",
    business_title: "JobTitle", # required
  },
})

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity is assigned in. Use AWS to assign real opportunities in the Amazon Web Services catalog, and Sandbox for testing in secure, isolated environments.

  • :identifier (required, String) —

    Requires the Opportunity's unique identifier when you want to assign it to another user. Provide the correct identifier so the intended opportunity is reassigned.

  • :assignee (required, Types::AssigneeContact) —

    Specifies the user or team member responsible for managing the assigned opportunity. This field identifies the Assignee based on the partner's internal team structure. Ensure that the email address is associated with a registered user in your Partner Central account.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



577
578
579
580
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 577

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

#associate_opportunity(params = {}) ⇒ Struct

Enables you to create a formal association between an Opportunity and various related entities, enriching the context and details of the opportunity for better collaboration and decision making. You can associate an opportunity with the following entity types:

  • Partner Solution: A software product or consulting practice created and delivered by Partners. Partner Solutions help customers address business challenges using Amazon Web Services services.

  • Amazon Web Services Products: Amazon Web Services offers many products and services that provide scalable, reliable, and cost-effective infrastructure solutions. For the latest list of Amazon Web Services products, see Amazon Web Services products.

  • Amazon Web Services Marketplace private offer: Allows Amazon Web Services Marketplace sellers to extend custom pricing and terms to individual Amazon Web Services customers. Sellers can negotiate custom prices, payment schedules, and end user license terms through private offers, enabling Amazon Web Services customers to acquire software solutions tailored to their specific needs. For more information, see Private offers in Amazon Web Services Marketplace.

To obtain identifiers for these entities, use the following methods:

Examples:

Request syntax with placeholder values


resp = client.associate_opportunity({
  catalog: "CatalogIdentifier", # required
  opportunity_identifier: "OpportunityIdentifier", # required
  related_entity_type: "Solutions", # required, accepts Solutions, AwsProducts, AwsMarketplaceOffers, AwsMarketplaceOfferSets, AwsMarketplaceSolutions, AwsMarketplaceProducts
  related_entity_identifier: "AssociateOpportunityRequestRelatedEntityIdentifierString", # required
})

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity association is made in. Use AWS to associate opportunities in the Amazon Web Services catalog, and Sandbox for testing in secure, isolated environments.

  • :opportunity_identifier (required, String) —

    Requires the Opportunity's unique identifier when you want to associate it with a related entity. Provide the correct identifier so the intended opportunity is updated with the association.

  • :related_entity_type (required, String) —

    Specifies the entity type that you're associating with the Opportunity. This helps to categorize and properly process the association.

  • :related_entity_identifier (required, String) —

    Requires the related entity's unique identifier when you want to associate it with the Opportunity. For Amazon Web Services Marketplace entities, provide the Amazon Resource Name (ARN). Use the Amazon Web Services Marketplace API to obtain the ARN.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



667
668
669
670
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 667

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

#create_customer_account(params = {}) ⇒ Types::CreateCustomerAccountResponse

Use CreateCustomerAccount to map a customer account from your records to an AWS customer. Provide details about the customer, such as the company name and website. AWS then matches the account to a customer and adds enrichment information about it.

Matching runs asynchronously. The response returns the new customer account with a status of PENDING. Use GetCustomerAccount to check the result and read the enrichment information.

Examples:

Request syntax with placeholder values


resp = client.({
  catalog: "CatalogIdentifier", # required
  account: { # required
    company_name: "CustomerAccountDataCompanyNameString", # required
    website_url: "CustomerAccountDataWebsiteUrlString",
    duns: "CustomerAccountDataDunsString",
    address: {
      city: "AddressCityString",
      postal_code: "AddressPostalCodeString",
      state_or_region: "AddressPart",
      country_code: "US", # accepts US, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
      street_address: "AddressStreetAddressString",
    },
    industry: "String",
    other_industry: "CustomerAccountDataOtherIndustryString",
    domain: "Domain",
    parent_company_name: "CustomerAccountDataParentCompanyNameString",
  },
  partner_account_identifier: "PartnerAccountIdentifier",
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
  client_token: "ClientToken",
})

Response structure


resp.arn #=> String
resp.id #=> String
resp.status #=> String, one of "PENDING", "ENRICHED", "NO_MATCH_FOUND", "ACTION_REQUIRED"
resp.catalog #=> String
resp. #=> String
resp.created_date #=> Time

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog for the request. Valid values:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :account (required, Types::CustomerAccountData) —

    Specifies the details of the customer, such as the company name, website, and address. AWS uses these details to match the account to a customer.

  • :partner_account_identifier (String) —

    Specifies your own identifier for the customer account, such as the account ID in your CRM system. Use it to correlate the customer account with your records.

  • :tags (Array<Types::Tag>) —

    Specifies the tags to add to the customer account. Each tag is a key-value pair.

  • :client_token (String) —

    Specifies a unique, case-sensitive identifier that you provide to make the request idempotent. If you retry a request with the same token, the operation returns the result of the original request instead of creating another customer account.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



763
764
765
766
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 763

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

#create_engagement(params = {}) ⇒ Types::CreateEngagementResponse

The CreateEngagement action allows you to create an Engagement, which serves as a collaborative space between different parties such as AWS Partners and AWS Sellers. This action automatically adds the caller's AWS account as an active member of the newly created Engagement.

Examples:

Request syntax with placeholder values


resp = client.create_engagement({
  catalog: "CatalogIdentifier", # required
  client_token: "ClientToken", # required
  title: "EngagementTitle",
  description: "EngagementDescription",
  contexts: [
    {
      id: "EngagementContextIdentifier",
      type: "CustomerProject", # required, accepts CustomerProject, Lead, ProspectingResult, CustomerAccount
      payload: {
        customer_project: {
          customer: {
            industry: "Aerospace", # required, accepts Aerospace, Agriculture, Automotive, Computers and Electronics, Consumer Goods, Education, Energy - Oil and Gas, Energy - Power and Utilities, Financial Services, Gaming, Government, Healthcare, Hospitality, Life Sciences, Manufacturing, Marketing and Advertising, Media and Entertainment, Mining, Non-Profit Organization, Professional Services, Real Estate and Construction, Retail, Software and Internet, Telecommunications, Transportation and Logistics, Travel, Wholesale and Distribution, Other
            company_name: "CompanyName", # required
            website_url: "CompanyWebsiteUrl", # required
            country_code: "US", # required, accepts US, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
          },
          project: {
            title: "EngagementCustomerProjectTitle", # required
            business_problem: "EngagementCustomerBusinessProblem", # required
            target_completion_date: "EngagementCustomerProjectDetailsTargetCompletionDateString", # required
          },
        },
        lead: {
          insights: {
            lead_readiness_score: "String",
            channel_recommendation: {
              recommended_channel: "ChannelName", # required
              best_outreach_windows: [
                {
                  day: "MONDAY", # required, accepts MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
                  start_time_utc: "UtcTimeOfDay", # required
                  end_time_utc: "UtcTimeOfDay", # required
                },
              ],
            },
          },
          qualification_status: "LeadQualificationStatus",
          customer: { # required
            industry: "LeadIndustry",
            company_name: "CompanyName", # required
            website_url: "LeadWebsiteUrl",
            address: {
              city: "LeadAddressCityString",
              postal_code: "LeadAddressPostalCodeString",
              state_or_region: "LeadAddressStateOrRegionString",
              country_code: "LeadCountryCode",
            },
            aws_maturity: "AwsMaturity",
            market_segment: "LeadMarketSegment",
          },
          interactions: [ # required
            {
              source_type: "LeadSourceType",
              source_id: "LeadSourceId",
              source_name: "LeadSourceName",
              usecase: "EngagementUseCase",
              interaction_date: Time.now,
              customer_action: "CustomerAction",
              business_problem: "LeadBusinessProblem",
              contact: { # required
                business_title: "LeadJobTitle", # required
                email: "LeadEmail", # required
                first_name: "Name", # required
                last_name: "Name", # required
                phone: "LeadPhoneNumber",
              },
            },
          ],
        },
        prospecting_result: {
          aws: {
            customer: {
              account_name: "ProspectingAccountName",
              geo: "ProspectingGeo",
              region: "ProspectingRegion",
              sub_region: "ProspectingSubRegion",
              country: "US", # accepts US, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
              industry: "Aerospace", # accepts Aerospace, Agriculture, Automotive, Computers and Electronics, Consumer Goods, Education, Energy - Oil and Gas, Energy - Power and Utilities, Financial Services, Gaming, Government, Healthcare, Hospitality, Life Sciences, Manufacturing, Marketing and Advertising, Media and Entertainment, Mining, Non-Profit Organization, Professional Services, Real Estate and Construction, Retail, Software and Internet, Telecommunications, Transportation and Logistics, Travel, Wholesale and Distribution, Other
              sub_industry: "ProspectingSubIndustry",
              segment: "ProspectingSegment",
              company_size: "ProspectingCompanySize",
              eligible_programs: ["String"],
              public_profile_summary: "ProspectingPublicProfileSummary",
            },
            insights: {
              marketplace_engagement_score: "EngagementScoreLevel",
              solution_score: "String",
              solution_category: "String",
              solution_sub_category: "String",
            },
            start_time: Time.now,
            end_time: Time.now,
            task_id: "ProspectingTaskIdentifier",
            task_arn: "TaskArn",
            task_name: "TaskName",
          },
        },
        customer_account: {
          account_identifier: "CustomerAccountArnOrIdentifier",
          customer: {
            industry: "LeadIndustry",
            company_name: "CompanyName", # required
            website_url: "AccountWebsiteUrl",
            country_code: "US", # accepts US, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
          },
        },
      },
    },
  ],
})

Response structure


resp.id #=> String
resp.arn #=> String
resp.modified_at #=> Time

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    The CreateEngagementRequest$Catalog parameter specifies the catalog related to the engagement. Accepted values are AWS and Sandbox, which determine the environment in which the engagement is managed.

  • :client_token (required, String) —

    The CreateEngagementRequest$ClientToken parameter specifies a unique, case-sensitive identifier to ensure that the request is handled exactly once. The value must not exceed sixty-four alphanumeric characters.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :title (String) —

    Specifies the title of the Engagement.

  • :description (String) —

    Provides a description of the Engagement.

  • :contexts (Array<Types::EngagementContextDetails>) —

    The Contexts field is a required array of objects, with a maximum of 5 contexts allowed, specifying detailed information about customer projects associated with the Engagement. Each context object contains a Type field indicating the context type, which must be CustomerProject in this version, and a Payload field containing the CustomerProject details. The CustomerProject object is composed of two main components: Customer and Project. The Customer object includes information such as CompanyName, WebsiteUrl, Industry, and CountryCode, providing essential details about the customer. The Project object contains Title, BusinessProblem, and TargetCompletionDate, offering insights into the specific project associated with the customer. This structure allows comprehensive context to be included within the Engagement, facilitating effective collaboration between parties by providing relevant customer and project information.

Returns:

See Also:



941
942
943
944
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 941

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

#create_engagement_context(params = {}) ⇒ Types::CreateEngagementContextResponse

Creates a new context within an existing engagement. This action allows you to add contextual information such as customer projects or documents to an engagement, providing additional details that help facilitate collaboration between engagement members.

Examples:

Request syntax with placeholder values


resp = client.create_engagement_context({
  catalog: "CatalogIdentifier", # required
  engagement_identifier: "EngagementArnOrIdentifier", # required
  client_token: "ClientToken", # required
  type: "CustomerProject", # required, accepts CustomerProject, Lead, ProspectingResult, CustomerAccount
  payload: { # required
    customer_project: {
      customer: {
        industry: "Aerospace", # required, accepts Aerospace, Agriculture, Automotive, Computers and Electronics, Consumer Goods, Education, Energy - Oil and Gas, Energy - Power and Utilities, Financial Services, Gaming, Government, Healthcare, Hospitality, Life Sciences, Manufacturing, Marketing and Advertising, Media and Entertainment, Mining, Non-Profit Organization, Professional Services, Real Estate and Construction, Retail, Software and Internet, Telecommunications, Transportation and Logistics, Travel, Wholesale and Distribution, Other
        company_name: "CompanyName", # required
        website_url: "CompanyWebsiteUrl", # required
        country_code: "US", # required, accepts US, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
      },
      project: {
        title: "EngagementCustomerProjectTitle", # required
        business_problem: "EngagementCustomerBusinessProblem", # required
        target_completion_date: "EngagementCustomerProjectDetailsTargetCompletionDateString", # required
      },
    },
    lead: {
      insights: {
        lead_readiness_score: "String",
        channel_recommendation: {
          recommended_channel: "ChannelName", # required
          best_outreach_windows: [
            {
              day: "MONDAY", # required, accepts MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
              start_time_utc: "UtcTimeOfDay", # required
              end_time_utc: "UtcTimeOfDay", # required
            },
          ],
        },
      },
      qualification_status: "LeadQualificationStatus",
      customer: { # required
        industry: "LeadIndustry",
        company_name: "CompanyName", # required
        website_url: "LeadWebsiteUrl",
        address: {
          city: "LeadAddressCityString",
          postal_code: "LeadAddressPostalCodeString",
          state_or_region: "LeadAddressStateOrRegionString",
          country_code: "LeadCountryCode",
        },
        aws_maturity: "AwsMaturity",
        market_segment: "LeadMarketSegment",
      },
      interactions: [ # required
        {
          source_type: "LeadSourceType",
          source_id: "LeadSourceId",
          source_name: "LeadSourceName",
          usecase: "EngagementUseCase",
          interaction_date: Time.now,
          customer_action: "CustomerAction",
          business_problem: "LeadBusinessProblem",
          contact: { # required
            business_title: "LeadJobTitle", # required
            email: "LeadEmail", # required
            first_name: "Name", # required
            last_name: "Name", # required
            phone: "LeadPhoneNumber",
          },
        },
      ],
    },
    prospecting_result: {
      aws: {
        customer: {
          account_name: "ProspectingAccountName",
          geo: "ProspectingGeo",
          region: "ProspectingRegion",
          sub_region: "ProspectingSubRegion",
          country: "US", # accepts US, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
          industry: "Aerospace", # accepts Aerospace, Agriculture, Automotive, Computers and Electronics, Consumer Goods, Education, Energy - Oil and Gas, Energy - Power and Utilities, Financial Services, Gaming, Government, Healthcare, Hospitality, Life Sciences, Manufacturing, Marketing and Advertising, Media and Entertainment, Mining, Non-Profit Organization, Professional Services, Real Estate and Construction, Retail, Software and Internet, Telecommunications, Transportation and Logistics, Travel, Wholesale and Distribution, Other
          sub_industry: "ProspectingSubIndustry",
          segment: "ProspectingSegment",
          company_size: "ProspectingCompanySize",
          eligible_programs: ["String"],
          public_profile_summary: "ProspectingPublicProfileSummary",
        },
        insights: {
          marketplace_engagement_score: "EngagementScoreLevel",
          solution_score: "String",
          solution_category: "String",
          solution_sub_category: "String",
        },
        start_time: Time.now,
        end_time: Time.now,
        task_id: "ProspectingTaskIdentifier",
        task_arn: "TaskArn",
        task_name: "TaskName",
      },
    },
    customer_account: {
      account_identifier: "CustomerAccountArnOrIdentifier",
      customer: {
        industry: "LeadIndustry",
        company_name: "CompanyName", # required
        website_url: "AccountWebsiteUrl",
        country_code: "US", # accepts US, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
      },
    },
  },
})

Response structure


resp.engagement_id #=> String
resp.engagement_arn #=> String
resp.engagement_last_modified_at #=> Time
resp.context_id #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog associated with the engagement context request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the engagement context is created in. Use AWS to create contexts in the production environment, and Sandbox for testing in secure, isolated environments.

  • :engagement_identifier (required, String) —

    The unique identifier of the Engagement for which the context is being created. This parameter ensures the context is associated with the correct engagement and provides the necessary linkage between the engagement and its contextual information.

  • :client_token (required, String) —

    A unique, case-sensitive identifier provided by the client to ensure that the request is handled exactly once. This token helps prevent duplicate context creations and must not exceed sixty-four alphanumeric characters. Use a UUID or other unique string to ensure idempotency.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :type (required, String) —

    Specifies the type of context being created for the engagement. This field determines the structure and content of the context payload. Valid values include CustomerProject for customer project-related contexts. The type field ensures that the context is properly categorized and processed according to its intended purpose.

  • :payload (required, Types::EngagementContextPayload) —

    Contains the contextual information to add to the engagement. The structure of this payload depends on the context type in the Type field.

Returns:

See Also:



1113
1114
1115
1116
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1113

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

#create_engagement_invitation(params = {}) ⇒ Types::CreateEngagementInvitationResponse

This action creates an invitation from a sender to a single receiver to join an engagement.

Examples:

Request syntax with placeholder values


resp = client.create_engagement_invitation({
  catalog: "CatalogIdentifier", # required
  client_token: "ClientToken", # required
  engagement_identifier: "EngagementIdentifier", # required
  invitation: { # required
    message: "InvitationMessage", # required
    receiver: { # required
      account: {
        alias: "Alias",
        aws_account_id: "AwsAccount", # required
      },
    },
    payload: { # required
      opportunity_invitation: {
        sender_contacts: [
          {
            email: "SenderContactEmail", # required
            first_name: "Name",
            last_name: "Name",
            business_title: "JobTitle",
            phone: "PhoneNumber",
          },
        ],
        receiver_responsibilities: ["Distributor"], # required, accepts Distributor, Reseller, Hardware Partner, Managed Service Provider, Software Partner, Services Partner, Training Partner, Co-Sell Facilitator, Facilitator
        customer: { # required
          industry: "Aerospace", # required, accepts Aerospace, Agriculture, Automotive, Computers and Electronics, Consumer Goods, Education, Energy - Oil and Gas, Energy - Power and Utilities, Financial Services, Gaming, Government, Healthcare, Hospitality, Life Sciences, Manufacturing, Marketing and Advertising, Media and Entertainment, Mining, Non-Profit Organization, Professional Services, Real Estate and Construction, Retail, Software and Internet, Telecommunications, Transportation and Logistics, Travel, Wholesale and Distribution, Other
          company_name: "CompanyName", # required
          website_url: "CompanyWebsiteUrl", # required
          country_code: "US", # required, accepts US, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
        },
        project: { # required
          business_problem: "EngagementCustomerBusinessProblem", # required
          title: "ProjectDetailsTitleString", # required
          target_completion_date: "Date", # required
          expected_customer_spend: [ # required
            {
              amount: "Amount",
              currency_code: "USD", # required, accepts USD, EUR, GBP, AUD, CAD, CNY, NZD, INR, JPY, CHF, SEK, AED, AFN, ALL, AMD, ANG, AOA, ARS, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CDF, CHE, CHW, CLF, CLP, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, FJD, FKP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, IQD, IRR, ISK, JMD, JOD, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SGD, SHP, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USN, UYI, UYU, UZS, VEF, VND, VUV, WST, XAF, XCD, XDR, XOF, XPF, XSU, XUA, YER, ZAR, ZMW, ZWL
              frequency: "Monthly", # required, accepts Monthly
              target_company: "ExpectedCustomerSpendTargetCompanyString", # required
              estimation_url: "EstimationUrl",
            },
          ],
        },
        opportunity_type: "Net New Business", # accepts Net New Business, Flat Renewal, Expansion
      },
      lead_invitation: {
        customer: { # required
          industry: "LeadIndustry",
          company_name: "CompanyName", # required
          website_url: "LeadWebsiteUrl",
          country_code: "LeadCountryCode",
          aws_maturity: "AwsMaturity",
          market_segment: "LeadMarketSegment",
        },
        interaction: { # required
          source_type: "LeadSourceType",
          source_id: "LeadSourceId",
          source_name: "LeadSourceName",
          usecase: "EngagementUseCase",
          contact_business_title: "JobTitle", # required
        },
      },
      account_planning_invitation: {
        account_identifier: "CustomerAccountArnOrIdentifier",
        customer: {
          industry: "LeadIndustry",
          company_name: "CompanyName", # required
          website_url: "AccountWebsiteUrl",
          country_code: "US", # accepts US, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
        },
        sender_contacts: [
          {
            email: "SenderContactEmail", # required
            first_name: "Name",
            last_name: "Name",
            business_title: "JobTitle",
            phone: "PhoneNumber",
          },
        ],
        preferred_contact: {
          window: "MORNING", # accepts MORNING, AFTERNOON, EVENING
          timezone: "PreferredContactWindowTimezoneString",
        },
      },
    },
  },
})

Response structure


resp.id #=> String
resp.arn #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog related to the engagement. Accepted values are AWS and Sandbox, which determine the environment in which the engagement is managed.

  • :client_token (required, String) —

    Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. This token helps prevent duplicate invitation creations.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :engagement_identifier (required, String) —

    The unique identifier of the Engagement associated with the invitation. This parameter ensures the invitation is created within the correct Engagement context.

  • :invitation (required, Types::Invitation) —

    The Invitation object all information necessary to initiate an engagement invitation to a partner. It contains a personalized message from the sender, the invitation's receiver, and a payload. The Payload can be the OpportunityInvitation, which includes detailed structures for sender contacts, partner responsibilities, customer information, and project details, or LeadInvitation, which includes structures for customer information and interaction details.

Returns:

See Also:



1253
1254
1255
1256
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1253

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

#create_opportunity(params = {}) ⇒ Types::CreateOpportunityResponse

Creates an Opportunity record in Partner Central. Use this operation to create a potential business opportunity for submission to Amazon Web Services. Creating an opportunity sets Lifecycle.ReviewStatus to Pending Submission.

To submit an opportunity, follow these steps:

  1. To create the opportunity, use CreateOpportunity.

  2. To associate a solution with the opportunity, use AssociateOpportunity.

  3. To start the engagement with AWS, use StartEngagementFromOpportunity.

After submission, you can't edit the opportunity until the review is complete. But opportunities in the Pending Submission state must have complete details. You can update the opportunity while it's in the Pending Submission state.

There's a set of mandatory fields to create opportunities, but consider providing optional fields to enrich the opportunity record.

Examples:

Request syntax with placeholder values


resp = client.create_opportunity({
  catalog: "CatalogIdentifier", # required
  primary_needs_from_aws: ["Co-Sell - Architectural Validation"], # accepts Co-Sell - Architectural Validation, Co-Sell - Business Presentation, Co-Sell - Competitive Information, Co-Sell - Pricing Assistance, Co-Sell - Technical Consultation, Co-Sell - Total Cost of Ownership Evaluation, Co-Sell - Deal Support, Co-Sell - Support for Public Tender / RFx
  national_security: "Yes", # accepts Yes, No
  partner_opportunity_identifier: "CreateOpportunityRequestPartnerOpportunityIdentifierString",
  customer: {
    account: {
      industry: "Aerospace", # accepts Aerospace, Agriculture, Automotive, Computers and Electronics, Consumer Goods, Education, Energy - Oil and Gas, Energy - Power and Utilities, Financial Services, Gaming, Government, Healthcare, Hospitality, Life Sciences, Manufacturing, Marketing and Advertising, Media and Entertainment, Mining, Non-Profit Organization, Professional Services, Real Estate and Construction, Retail, Software and Internet, Telecommunications, Transportation and Logistics, Travel, Wholesale and Distribution, Other
      other_industry: "AccountOtherIndustryString",
      company_name: "AccountCompanyNameString", # required
      website_url: "WebsiteUrl",
      aws_account_id: "AwsAccount",
      address: {
        city: "AddressCityString",
        postal_code: "AddressPostalCodeString",
        state_or_region: "AddressPart",
        country_code: "US", # accepts US, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
        street_address: "AddressStreetAddressString",
      },
      duns: "DunsNumber",
    },
    contacts: [
      {
        email: "Email",
        first_name: "ContactFirstNameString",
        last_name: "ContactLastNameString",
        business_title: "JobTitle",
        phone: "PhoneNumber",
      },
    ],
  },
  project: {
    delivery_models: ["SaaS or PaaS"], # accepts SaaS or PaaS, BYOL or AMI, Managed Services, Professional Services, Resell, Other
    expected_customer_spend: [
      {
        amount: "Amount",
        currency_code: "USD", # required, accepts USD, EUR, GBP, AUD, CAD, CNY, NZD, INR, JPY, CHF, SEK, AED, AFN, ALL, AMD, ANG, AOA, ARS, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CDF, CHE, CHW, CLF, CLP, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, FJD, FKP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, IQD, IRR, ISK, JMD, JOD, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SGD, SHP, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USN, UYI, UYU, UZS, VEF, VND, VUV, WST, XAF, XCD, XDR, XOF, XPF, XSU, XUA, YER, ZAR, ZMW, ZWL
        frequency: "Monthly", # required, accepts Monthly
        target_company: "ExpectedCustomerSpendTargetCompanyString", # required
        estimation_url: "EstimationUrl",
      },
    ],
    expected_contract_duration: {
      term: "Months", # required, accepts Months
      value: "String", # required
    },
    title: "ProjectTitleString",
    apn_programs: ["String"],
    customer_business_problem: "ProjectCustomerBusinessProblemString",
    customer_use_case: "String",
    related_opportunity_identifier: "OpportunityIdentifier",
    sales_activities: ["Initialized discussions with customer"], # accepts Initialized discussions with customer, Customer has shown interest in solution, Conducted POC / Demo, In evaluation / planning stage, Agreed on solution to Business Problem, Completed Action Plan, Finalized Deployment Need, SOW Signed
    competitor_name: "Oracle Cloud", # accepts Oracle Cloud, On-Prem, Co-location, Akamai, AliCloud, Google Cloud Platform, IBM Softlayer, Microsoft Azure, Other- Cost Optimization, No Competition, *Other
    other_competitor_names: "ProjectOtherCompetitorNamesString",
    other_solution_description: "ProjectOtherSolutionDescriptionString",
    additional_comments: "ProjectAdditionalCommentsString",
    aws_partition: "aws-eusc", # accepts aws-eusc
  },
  opportunity_type: "Net New Business", # accepts Net New Business, Flat Renewal, Expansion
  marketing: {
    campaign_name: "String",
    source: "Marketing Activity", # accepts Marketing Activity, None
    use_cases: ["String"],
    channels: ["AWS Marketing Central"], # accepts AWS Marketing Central, Content Syndication, Display, Email, Live Event, Out Of Home (OOH), Print, Search, Social, Telemarketing, TV, Video, Virtual Event
    aws_funding_used: "Yes", # accepts Yes, No
  },
  software_revenue: {
    delivery_model: "Contract", # accepts Contract, Pay-as-you-go, Subscription
    value: {
      amount: "MonetaryValueAmountString", # required
      currency_code: "USD", # required, accepts USD, EUR, GBP, AUD, CAD, CNY, NZD, INR, JPY, CHF, SEK, AED, AFN, ALL, AMD, ANG, AOA, ARS, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CDF, CHE, CHW, CLF, CLP, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, FJD, FKP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, IQD, IRR, ISK, JMD, JOD, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SGD, SHP, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USN, UYI, UYU, UZS, VEF, VND, VUV, WST, XAF, XCD, XDR, XOF, XPF, XSU, XUA, YER, ZAR, ZMW, ZWL
    },
    effective_date: "Date",
    expiration_date: "Date",
  },
  client_token: "ClientToken", # required
  life_cycle: {
    stage: "Prospect", # accepts Prospect, Qualified, Technical Validation, Business Validation, Committed, Launched, Closed Lost
    closed_lost_reason: "Customer Deficiency", # accepts Customer Deficiency, Delay / Cancellation of Project, Legal / Tax / Regulatory, Lost to Competitor - Google, Lost to Competitor - Microsoft, Lost to Competitor - SoftLayer, Lost to Competitor - VMWare, Lost to Competitor - Other, No Opportunity, On Premises Deployment, Partner Gap, Price, Security / Compliance, Technical Limitations, Customer Experience, Other, People/Relationship/Governance, Product/Technology, Financial/Commercial
    next_steps: "LifeCycleNextStepsString",
    target_close_date: "Date",
    review_status: "Pending Submission", # accepts Pending Submission, Submitted, In review, Approved, Rejected, Action Required
    review_comments: "String",
    review_status_reason: "String",
    next_steps_history: [
      {
        value: "String", # required
        time: Time.now, # required
      },
    ],
  },
  origin: "AWS Referral", # accepts AWS Referral, Partner Referral
  opportunity_team: [
    {
      email: "Email",
      first_name: "ContactFirstNameString",
      last_name: "ContactLastNameString",
      business_title: "JobTitle",
      phone: "PhoneNumber",
    },
  ],
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
})

Response structure


resp.id #=> String
resp.partner_opportunity_identifier #=> String
resp.last_modified_date #=> Time

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity is created in. Use AWS to create opportunities in the Amazon Web Services catalog, and Sandbox for testing in secure, isolated environments.

  • :primary_needs_from_aws (Array<String>) —

    Identifies the type of support the partner needs from Amazon Web Services.

    Valid values:

    • Cosell—Architectural Validation: Confirmation from Amazon Web Services that the partner's proposed solution architecture is aligned with Amazon Web Services best practices and poses minimal architectural risks.

    • Cosell—Business Presentation: Request Amazon Web Services seller's participation in a joint customer presentation.

    • Cosell—Competitive Information: Access to Amazon Web Services competitive resources and support for the partner's proposed solution.

    • Cosell—Pricing Assistance: Connect with an Amazon Web Services seller for support situations where a partner may be receiving an upfront discount on a service (for example: EDP deals).

    • Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions Architect to address the partner's questions about the proposed solution.

    • Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different cost savings of proposed solutions on Amazon Web Services versus on-premises or a traditional hosting environment.

    • Cosell—Deal Support: Request Amazon Web Services seller's support to progress the opportunity (for example: joint customer call, strategic positioning).

    • Cosell—Support for Public Tender/RFx: Opportunity related to the public sector where the partner needs Amazon Web Services RFx support.

  • :national_security (String) —

    Indicates whether the Opportunity pertains to a national security project. This field must be set to true only when the customer's industry is Government. Additional privacy and security measures apply during the review and management process for opportunities marked as NationalSecurity.

  • :partner_opportunity_identifier (String) —

    Specifies the opportunity's unique identifier in the partner's CRM system. This value is essential to track and reconcile because it's included in the outbound payload to the partner.

    This field allows partners to link an opportunity to their CRM, which helps to ensure seamless integration and accurate synchronization between the Partner Central API and the partner's internal systems.

  • :customer (Types::Customer) —

    Specifies customer details associated with the Opportunity.

  • :project (Types::Project) —

    An object that contains project details for the Opportunity.

  • :opportunity_type (String) —

    Specifies the opportunity type as a renewal, new, or expansion.

    Opportunity types:

    • New opportunity: Represents a new business opportunity with a potential customer that's not previously engaged with your solutions or services.

    • Renewal opportunity: Represents an opportunity to renew an existing contract or subscription with a current customer, ensuring continuity of service.

    • Expansion opportunity: Represents an opportunity to expand the scope of an existing contract or subscription, either by adding new services or increasing the volume of existing services for a current customer.

  • :marketing (Types::Marketing) —

    This object contains marketing details and is optional for an opportunity.

  • :software_revenue (Types::SoftwareRevenue) —

    Specifies details of a customer's procurement terms. This is required only for partners in eligible programs.

  • :client_token (required, String) —

    Required to be unique, and should be unchanging, it can be randomly generated or a meaningful string.

    Default: None

    Best practice: To help ensure uniqueness and avoid conflicts, use a Universally Unique Identifier (UUID) as the ClientToken. You can use standard libraries from most programming languages to generate this. If you use the same client token, the API returns the following error: "Conflicting client token submitted for a new request body."

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :life_cycle (Types::LifeCycle) —

    An object that contains lifecycle details for the Opportunity.

  • :origin (String) —

    Specifies the origin of the opportunity, indicating if it was sourced from Amazon Web Services or the partner. For all opportunities created with Catalog: AWS, this field must only be Partner Referral. However, when using Catalog: Sandbox, you can set this field to AWS Referral to simulate Amazon Web Services referral creation. This allows Amazon Web Services-originated flows testing in the sandbox catalog.

  • :opportunity_team (Array<Types::Contact>) —

    Represents the internal team handling the opportunity. Specify collaborating members of this opportunity who are within the partner's organization.

  • :tags (Array<Types::Tag>) —

    A map of the key-value pairs of the tag or tags to assign.

Returns:

See Also:



1536
1537
1538
1539
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1536

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

#create_resource_snapshot(params = {}) ⇒ Types::CreateResourceSnapshotResponse

This action allows you to create an immutable snapshot of a specific resource, such as an opportunity, within the context of an engagement. The snapshot captures a subset of the resource's data based on the schema defined by the provided template.

Examples:

Request syntax with placeholder values


resp = client.create_resource_snapshot({
  catalog: "CatalogIdentifier", # required
  engagement_identifier: "EngagementIdentifier", # required
  resource_type: "Opportunity", # required, accepts Opportunity
  resource_identifier: "ResourceIdentifier", # required
  resource_snapshot_template_identifier: "ResourceTemplateName", # required
  client_token: "ClientToken", # required
})

Response structure


resp.arn #=> String
resp.revision #=> Integer

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog where the snapshot is created. Valid values are AWS and Sandbox.

  • :engagement_identifier (required, String) —

    The unique identifier of the engagement associated with this snapshot. This field links the snapshot to a specific engagement context.

  • :resource_type (required, String) —

    Specifies the type of resource for which the snapshot is being created. This field determines the structure and content of the snapshot. Must be one of the supported resource types, such as: Opportunity.

  • :resource_identifier (required, String) —

    The unique identifier of the specific resource to be snapshotted. The format and constraints of this identifier depend on the ResourceType specified. For example: For Opportunity type, it will be an opportunity ID.

  • :resource_snapshot_template_identifier (required, String) —

    The name of the template that defines the schema for the snapshot. This template determines which subset of the resource data will be included in the snapshot. Must correspond to an existing and valid template for the specified ResourceType.

  • :client_token (required, String) —

    Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. This token helps prevent duplicate snapshot creations.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



1605
1606
1607
1608
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1605

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

#create_resource_snapshot_job(params = {}) ⇒ Types::CreateResourceSnapshotJobResponse

Use this action to create a job to generate a snapshot of the specified resource within an engagement. It initiates an asynchronous process to create a resource snapshot. The job creates a new snapshot only if the resource state has changed, adhering to the same access control and immutability rules as direct snapshot creation.

Examples:

Request syntax with placeholder values


resp = client.create_resource_snapshot_job({
  catalog: "CatalogIdentifier", # required
  client_token: "ClientToken", # required
  engagement_identifier: "EngagementIdentifier", # required
  resource_type: "Opportunity", # required, accepts Opportunity
  resource_identifier: "ResourceIdentifier", # required
  resource_snapshot_template_identifier: "ResourceTemplateName", # required
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
})

Response structure


resp.id #=> String
resp.arn #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog in which to create the snapshot job. Valid values are AWS and Sandbox.

  • :client_token (required, String) —

    A client-generated UUID used for idempotency check. The token helps prevent duplicate job creations.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :engagement_identifier (required, String) —

    Specifies the identifier of the engagement associated with the resource to be snapshotted.

  • :resource_type (required, String) —

    The type of resource for which the snapshot job is being created. Must be one of the supported resource types i.e. Opportunity

  • :resource_identifier (required, String) —

    Specifies the identifier of the specific resource to be snapshotted. The format depends on the ResourceType.

  • :resource_snapshot_template_identifier (required, String) —

    Specifies the name of the template that defines the schema for the snapshot.

  • :tags (Array<Types::Tag>) —

    A map of the key-value pairs of the tag or tags to assign.

Returns:

See Also:



1677
1678
1679
1680
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1677

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

#delete_customer_account(params = {}) ⇒ Struct

Use DeleteCustomerAccount to delete a customer account. This operation is idempotent. Deleting a customer account that was already deleted succeeds.

Examples:

Request syntax with placeholder values


resp = client.({
  catalog: "CatalogIdentifier", # required
  identifier: "CustomerAccountArnOrIdentifier", # required
})

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog for the request. Valid values:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :identifier (required, String) —

    Specifies the ARN or the identifier of the customer account.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



1709
1710
1711
1712
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1709

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

#delete_resource_snapshot_job(params = {}) ⇒ Struct

Use this action to deletes a previously created resource snapshot job. The job must be in a stopped state before it can be deleted.

Examples:

Request syntax with placeholder values


resp = client.delete_resource_snapshot_job({
  catalog: "CatalogIdentifier", # required
  resource_snapshot_job_identifier: "ResourceSnapshotJobIdentifier", # required
})

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog from which to delete the snapshot job. Valid values are AWS and Sandbox.

  • :resource_snapshot_job_identifier (required, String) —

    The unique identifier of the resource snapshot job to be deleted.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



1737
1738
1739
1740
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1737

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

#disassociate_opportunity(params = {}) ⇒ Struct

Allows you to remove an existing association between an Opportunity and related entities, such as a Partner Solution, Amazon Web Services product, or an Amazon Web Services Marketplace offer. This operation is the counterpart to AssociateOpportunity, and it provides flexibility to manage associations as business needs change.

Use this operation to update the associations of an Opportunity due to changes in the related entities, or if an association was made in error. Ensuring accurate associations helps maintain clarity and accuracy to track and manage business opportunities. When you replace an entity, first attach the new entity and then disassociate the one to be removed, especially if it's the last remaining entity that's required.

Examples:

Request syntax with placeholder values


resp = client.disassociate_opportunity({
  catalog: "CatalogIdentifier", # required
  opportunity_identifier: "OpportunityIdentifier", # required
  related_entity_type: "Solutions", # required, accepts Solutions, AwsProducts, AwsMarketplaceOffers, AwsMarketplaceOfferSets, AwsMarketplaceSolutions, AwsMarketplaceProducts
  related_entity_identifier: "DisassociateOpportunityRequestRelatedEntityIdentifierString", # required
})

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity disassociation is made in. Use AWS to disassociate opportunities in the Amazon Web Services catalog, and Sandbox for testing in secure, isolated environments.

  • :opportunity_identifier (required, String) —

    The opportunity's unique identifier for when you want to disassociate it from related entities. This identifier helps to ensure that the correct opportunity is updated.

    Validation: Ensure that the provided identifier corresponds to an existing opportunity in the Amazon Web Services system because incorrect identifiers result in an error and no changes are made.

  • :related_entity_type (required, String) —

    The type of the entity that you're disassociating from the opportunity. When you specify the entity type, it helps the system correctly process the disassociation request to ensure that the right connections are removed.

    Examples of entity types include Partner Solution, Amazon Web Services product, and Amazon Web Services Marketplaceoffer. Ensure that the value matches one of the expected entity types.

    Validation: Provide a valid entity type to help ensure successful disassociation. An invalid or incorrect entity type results in an error.

  • :related_entity_identifier (required, String) —

    The related entity's identifier that you want to disassociate from the opportunity. Depending on the type of entity, this could be a simple identifier or an Amazon Resource Name (ARN) for entities managed through Amazon Web Services Marketplace.

    For Amazon Web Services Marketplace entities, use the Amazon Web Services Marketplace API to obtain the necessary ARNs. For guidance on retrieving these ARNs, see Amazon Web Services MarketplaceUsing the Amazon Web Services Marketplace Catalog API.

    Validation: Ensure the identifier or ARN is valid and corresponds to an existing entity. An incorrect or invalid identifier results in an error.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



1820
1821
1822
1823
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1820

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

#get_aws_opportunity_summary(params = {}) ⇒ Types::GetAwsOpportunitySummaryResponse

Retrieves a summary of an AWS Opportunity. This summary includes high-level details about the opportunity sourced from AWS, such as lifecycle information, customer details, and involvement type. It is useful for tracking updates on the AWS opportunity corresponding to an opportunity in the partner's account.

Examples:

Request syntax with placeholder values


resp = client.get_aws_opportunity_summary({
  catalog: "CatalogIdentifier", # required
  related_opportunity_identifier: "OpportunityIdentifier", # required
})

Response structure


resp.related_opportunity_id #=> String
resp.origin #=> String, one of "AWS Referral", "Partner Referral"
resp.involvement_type #=> String, one of "For Visibility Only", "Co-Sell"
resp.visibility #=> String, one of "Full", "Limited"
resp.life_cycle.target_close_date #=> String
resp.life_cycle.closed_lost_reason #=> String, one of "Administrative", "Business Associate Agreement", "Company Acquired/Dissolved", "Competitive Offering", "Customer Data Requirement", "Customer Deficiency", "Customer Experience", "Delay / Cancellation of Project", "Duplicate", "Duplicate Opportunity", "Executive Blocker", "Failed Vetting", "Feature Limitation", "Financial/Commercial", "Insufficient Amazon Value", "Insufficient AWS Value", "International Constraints", "Legal / Tax / Regulatory", "Legal Terms and Conditions", "Lost to Competitor", "Lost to Competitor - Google", "Lost to Competitor - Microsoft", "Lost to Competitor - Other", "Lost to Competitor - Rackspace", "Lost to Competitor - SoftLayer", "Lost to Competitor - VMWare", "No Customer Reference", "No Integration Resources", "No Opportunity", "No Perceived Value of MP", "No Response", "Not Committed to AWS", "No Update", "On Premises Deployment", "Other", "Other (Details in Description)", "Partner Gap", "Past Due", "People/Relationship/Governance", "Platform Technology Limitation", "Preference for Competitor", "Price", "Product/Technology", "Product Not on AWS", "Security / Compliance", "Self-Service", "Technical Limitations", "Term Sheet Impasse"
resp.life_cycle.stage #=> String, one of "Not Started", "In Progress", "Prospect", "Engaged", "Identified", "Qualify", "Research", "Seller Engaged", "Evaluating", "Seller Registered", "Term Sheet Negotiation", "Contract Negotiation", "Onboarding", "Building Integration", "Qualified", "On-hold", "Technical Validation", "Business Validation", "Committed", "Launched", "Deferred to Partner", "Closed Lost", "Completed", "Closed Incomplete"
resp.life_cycle.next_steps #=> String
resp.life_cycle.next_steps_history #=> Array
resp.life_cycle.next_steps_history[0].value #=> String
resp.life_cycle.next_steps_history[0].time #=> Time
resp.opportunity_team #=> Array
resp.opportunity_team[0].email #=> String
resp.opportunity_team[0].first_name #=> String
resp.opportunity_team[0].last_name #=> String
resp.opportunity_team[0].business_title #=> String, one of "AWSSalesRep", "AWSAccountOwner", "WWPSPDM", "PDM", "PSM", "ISVSM", "Signatory"
resp.insights.next_best_actions #=> String
resp.insights.engagement_score #=> String, one of "High", "Medium", "Low"
resp.insights.aws_products_spend_insights_by_source.partner.currency_code #=> String, one of "USD", "EUR", "GBP", "AUD", "CAD", "CNY", "NZD", "INR", "JPY", "CHF", "SEK", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CDF", "CHE", "CHW", "CLF", "CLP", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "FKP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IQD", "IRR", "ISK", "JMD", "JOD", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USN", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "XSU", "XUA", "YER", "ZAR", "ZMW", "ZWL"
resp.insights.aws_products_spend_insights_by_source.partner.frequency #=> String, one of "Monthly"
resp.insights.aws_products_spend_insights_by_source.partner.total_amount #=> String
resp.insights.aws_products_spend_insights_by_source.partner.total_optimized_amount #=> String
resp.insights.aws_products_spend_insights_by_source.partner.total_potential_savings_amount #=> String
resp.insights.aws_products_spend_insights_by_source.partner.total_amount_by_category #=> Hash
resp.insights.aws_products_spend_insights_by_source.partner.total_amount_by_category["String"] #=> String
resp.insights.aws_products_spend_insights_by_source.partner.aws_products #=> Array
resp.insights.aws_products_spend_insights_by_source.partner.aws_products[0].product_code #=> String
resp.insights.aws_products_spend_insights_by_source.partner.aws_products[0].service_code #=> String
resp.insights.aws_products_spend_insights_by_source.partner.aws_products[0].categories #=> Array
resp.insights.aws_products_spend_insights_by_source.partner.aws_products[0].categories[0] #=> String
resp.insights.aws_products_spend_insights_by_source.partner.aws_products[0].amount #=> String
resp.insights.aws_products_spend_insights_by_source.partner.aws_products[0].optimized_amount #=> String
resp.insights.aws_products_spend_insights_by_source.partner.aws_products[0].potential_savings_amount #=> String
resp.insights.aws_products_spend_insights_by_source.partner.aws_products[0].optimizations #=> Array
resp.insights.aws_products_spend_insights_by_source.partner.aws_products[0].optimizations[0].description #=> String
resp.insights.aws_products_spend_insights_by_source.partner.aws_products[0].optimizations[0].savings_amount #=> String
resp.insights.aws_products_spend_insights_by_source.aws.currency_code #=> String, one of "USD", "EUR", "GBP", "AUD", "CAD", "CNY", "NZD", "INR", "JPY", "CHF", "SEK", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CDF", "CHE", "CHW", "CLF", "CLP", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "FKP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IQD", "IRR", "ISK", "JMD", "JOD", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USN", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "XSU", "XUA", "YER", "ZAR", "ZMW", "ZWL"
resp.insights.aws_products_spend_insights_by_source.aws.frequency #=> String, one of "Monthly"
resp.insights.aws_products_spend_insights_by_source.aws.total_amount #=> String
resp.insights.aws_products_spend_insights_by_source.aws.total_optimized_amount #=> String
resp.insights.aws_products_spend_insights_by_source.aws.total_potential_savings_amount #=> String
resp.insights.aws_products_spend_insights_by_source.aws.total_amount_by_category #=> Hash
resp.insights.aws_products_spend_insights_by_source.aws.total_amount_by_category["String"] #=> String
resp.insights.aws_products_spend_insights_by_source.aws.aws_products #=> Array
resp.insights.aws_products_spend_insights_by_source.aws.aws_products[0].product_code #=> String
resp.insights.aws_products_spend_insights_by_source.aws.aws_products[0].service_code #=> String
resp.insights.aws_products_spend_insights_by_source.aws.aws_products[0].categories #=> Array
resp.insights.aws_products_spend_insights_by_source.aws.aws_products[0].categories[0] #=> String
resp.insights.aws_products_spend_insights_by_source.aws.aws_products[0].amount #=> String
resp.insights.aws_products_spend_insights_by_source.aws.aws_products[0].optimized_amount #=> String
resp.insights.aws_products_spend_insights_by_source.aws.aws_products[0].potential_savings_amount #=> String
resp.insights.aws_products_spend_insights_by_source.aws.aws_products[0].optimizations #=> Array
resp.insights.aws_products_spend_insights_by_source.aws.aws_products[0].optimizations[0].description #=> String
resp.insights.aws_products_spend_insights_by_source.aws.aws_products[0].optimizations[0].savings_amount #=> String
resp.insights.opportunity_quality.score #=> Integer
resp.insights.opportunity_quality.trend #=> String
resp.insights.recommendations #=> Array
resp.insights.recommendations[0].type #=> String
resp.insights.recommendations[0].details #=> String
resp.insights.recommendations[0].attributes #=> Hash
resp.insights.recommendations[0].attributes["String"] #=> String
resp.involvement_type_change_reason #=> String, one of "Expansion Opportunity", "Change in Deal Information", "Customer Requested", "Technical Complexity", "Risk Mitigation"
resp.related_entity_ids.aws_products #=> Array
resp.related_entity_ids.aws_products[0] #=> String
resp.related_entity_ids.solutions #=> Array
resp.related_entity_ids.solutions[0] #=> String
resp.related_entity_ids.aws_marketplace_solutions #=> Array
resp.related_entity_ids.aws_marketplace_solutions[0] #=> String
resp.related_entity_ids.aws_marketplace_products #=> Array
resp.related_entity_ids.aws_marketplace_products[0] #=> String
resp.customer.contacts #=> Array
resp.customer.contacts[0].email #=> String
resp.customer.contacts[0].first_name #=> String
resp.customer.contacts[0].last_name #=> String
resp.customer.contacts[0].business_title #=> String
resp.customer.contacts[0].phone #=> String
resp.project.expected_customer_spend #=> Array
resp.project.expected_customer_spend[0].amount #=> String
resp.project.expected_customer_spend[0].currency_code #=> String, one of "USD", "EUR", "GBP", "AUD", "CAD", "CNY", "NZD", "INR", "JPY", "CHF", "SEK", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CDF", "CHE", "CHW", "CLF", "CLP", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "FKP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IQD", "IRR", "ISK", "JMD", "JOD", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USN", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "XSU", "XUA", "YER", "ZAR", "ZMW", "ZWL"
resp.project.expected_customer_spend[0].frequency #=> String, one of "Monthly"
resp.project.expected_customer_spend[0].target_company #=> String
resp.project.expected_customer_spend[0].estimation_url #=> String
resp.project.aws_partition #=> String, one of "aws-eusc"
resp.cosell_motion #=> String
resp.cosell_motion_reason #=> String
resp.software_revenue.value.amount #=> String
resp.software_revenue.value.currency_code #=> String, one of "USD", "EUR", "GBP", "AUD", "CAD", "CNY", "NZD", "INR", "JPY", "CHF", "SEK", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CDF", "CHE", "CHW", "CLF", "CLP", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "FKP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IQD", "IRR", "ISK", "JMD", "JOD", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USN", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "XSU", "XUA", "YER", "ZAR", "ZMW", "ZWL"
resp.software_revenue.discount #=> String
resp.software_revenue.effective_date #=> String
resp.software_revenue.expiration_date #=> String
resp.catalog #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog in which the AWS Opportunity is located. Accepted values include AWS for production opportunities or Sandbox for testing purposes. The catalog determines which environment the opportunity data is pulled from.

  • :related_opportunity_identifier (required, String) —

    The unique identifier for the related partner opportunity. Use this field to correlate an AWS opportunity with its corresponding partner opportunity.

Returns:

See Also:



1965
1966
1967
1968
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 1965

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

#get_customer_account(params = {}) ⇒ Types::GetCustomerAccountResponse

Use GetCustomerAccount to retrieve the details of a customer account, including the customer information that you provided, the enrichment status, and the enrichment information that AWS provides when the status is ENRICHED.

Examples:

Request syntax with placeholder values


resp = client.({
  catalog: "CatalogIdentifier", # required
  identifier: "CustomerAccountArnOrIdentifier", # required
})

Response structure


resp.arn #=> String
resp.id #=> String
resp.catalog #=> String
resp.enrichment_status #=> String, one of "PENDING", "ENRICHED", "NO_MATCH_FOUND", "ACTION_REQUIRED"
resp. #=> String
resp.created_date #=> Time
resp.last_modified_date #=> Time
resp.issues #=> Array
resp.issues[0].severity #=> String
resp.issues[0].code #=> String
resp.issues[0].message #=> String
resp.aws_enrichment.customer. #=> String
resp.aws_enrichment.customer.industry #=> String
resp.aws_enrichment.customer.sub_industry #=> String
resp.aws_enrichment.customer.sector #=> String
resp.aws_enrichment.customer.segment #=> String
resp.aws_enrichment.customer.company_size #=> String
resp.aws_enrichment.customer.region #=> String
resp.aws_enrichment.customer.sub_region #=> String
resp.aws_enrichment.customer.geo #=> String
resp.aws_enrichment.customer.country #=> String
resp.aws_enrichment.customer. #=> String
resp.aws_enrichment.customer.eligible_programs #=> Array
resp.aws_enrichment.customer.eligible_programs[0] #=> String
resp.aws_enrichment.insights.marketplace_engagement_score #=> String
resp.aws_enrichment.insights.solution_category #=> String
resp.aws_enrichment.insights.solution_score #=> String
resp.aws_enrichment.insights.solution_sub_category #=> String
resp.reason_code #=> String, one of "DUPLICATE_CUSTOMER_MATCH", "PROCESSING_ERROR"
resp.message #=> String
resp. #=> String
resp..company_name #=> String
resp..website_url #=> String
resp..duns #=> String
resp..address.city #=> String
resp..address.postal_code #=> String
resp..address.state_or_region #=> String
resp..address.country_code #=> String, one of "US", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "CD", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"
resp..address.street_address #=> String
resp..industry #=> String
resp..other_industry #=> String
resp..domain #=> String
resp..parent_company_name #=> String
resp.tags #=> Array
resp.tags[0].key #=> String
resp.tags[0].value #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog for the request. Valid values:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :identifier (required, String) —

    Specifies the ARN or the identifier of the customer account.

Returns:

See Also:



2062
2063
2064
2065
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 2062

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

#get_customer_account_bulk_job(params = {}) ⇒ Types::GetCustomerAccountBulkJobResponse

Use GetCustomerAccountBulkJob to retrieve the status and record counts of a bulk job.

Examples:

Request syntax with placeholder values


resp = client.({
  catalog: "CatalogIdentifier", # required
  identifier: "BulkJobArnOrIdentifier", # required
})

Response structure


resp.arn #=> String
resp.id #=> String
resp.status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED"
resp.file_name #=> String
resp.total_records #=> Integer
resp.processed_records #=> Integer
resp.success_count #=> Integer
resp.failure_count #=> Integer
resp.deleted_count #=> Integer
resp.failure_reason #=> String
resp.created_at #=> Time
resp.completed_at #=> Time

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog for the request. Valid values:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :identifier (required, String) —

    Specifies the ARN or the identifier of the bulk job.

Returns:

See Also:



2121
2122
2123
2124
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 2121

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

#get_customer_account_bulk_job_report_url(params = {}) ⇒ Types::GetCustomerAccountBulkJobReportUrlResponse

Use GetCustomerAccountBulkJobReportUrl to get a temporary URL for downloading the report of a bulk job, such as the list of records that failed. A report is available only after the job is COMPLETED or FAILED. For a job that is still running, the request fails with a ConflictException.

The report is generated on request. If ReportStatus is not AVAILABLE, call the operation again later.

Examples:

Request syntax with placeholder values


resp = client.({
  catalog: "CatalogIdentifier", # required
  identifier: "BulkJobArnOrIdentifier", # required
  report_type: "FAILED_RECORDS", # accepts FAILED_RECORDS, ALL_RECORDS
})

Response structure


resp.report_status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "AVAILABLE", "FAILED", "EXPIRED"
resp.report_type #=> String, one of "FAILED_RECORDS", "ALL_RECORDS"
resp.url #=> String
resp.expires_at #=> Time
resp.failure_reason #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog for the request. Valid values:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :identifier (required, String) —

    Specifies the ARN or the identifier of the bulk job.

  • :report_type (String) —

    Specifies which records the report covers. If you omit this field, the report covers the records that failed.

Returns:

See Also:



2177
2178
2179
2180
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 2177

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

#get_customer_account_statistics(params = {}) ⇒ Types::GetCustomerAccountStatisticsResponse

Use GetCustomerAccountStatistics to count your customer accounts and group them by fields such as industry, geography, or enrichment status. You can use the same filters as SearchCustomerAccounts.

Examples:

Request syntax with placeholder values


resp = client.({
  catalog: "CatalogIdentifier", # required
  filter: {
    and_all_filters: [
      {
        # recursive Filter
      },
    ],
    or_all_filters: [
      {
        # recursive Filter
      },
    ],
    not_filter: {
      # recursive Filter
    },
    equals_to: {
      key: "ENRICHMENT_STATUS", # required, accepts ENRICHMENT_STATUS, COMPANY_NAME, AWS_INDUSTRY, ACCOUNT_PLANNING_QUALIFICATION, PROGRAM_ELIGIBILITY, IMPORT_ID, CREATED_DATE, LAST_MODIFIED_DATE, GEO, COUNTRY, SEGMENT, SOLUTION_CATEGORY, MARKETPLACE_ENGAGEMENT_SCORE, SOLUTION_SCORE
      value: { # required
        string_value: "String",
        string_list_value: ["AccountFilterStringListMemberString"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    contains_any: {
      key: "ENRICHMENT_STATUS", # required, accepts ENRICHMENT_STATUS, COMPANY_NAME, AWS_INDUSTRY, ACCOUNT_PLANNING_QUALIFICATION, PROGRAM_ELIGIBILITY, IMPORT_ID, CREATED_DATE, LAST_MODIFIED_DATE, GEO, COUNTRY, SEGMENT, SOLUTION_CATEGORY, MARKETPLACE_ENGAGEMENT_SCORE, SOLUTION_SCORE
      value: { # required
        string_value: "String",
        string_list_value: ["AccountFilterStringListMemberString"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    contains_all: {
      key: "ENRICHMENT_STATUS", # required, accepts ENRICHMENT_STATUS, COMPANY_NAME, AWS_INDUSTRY, ACCOUNT_PLANNING_QUALIFICATION, PROGRAM_ELIGIBILITY, IMPORT_ID, CREATED_DATE, LAST_MODIFIED_DATE, GEO, COUNTRY, SEGMENT, SOLUTION_CATEGORY, MARKETPLACE_ENGAGEMENT_SCORE, SOLUTION_SCORE
      value: { # required
        string_value: "String",
        string_list_value: ["AccountFilterStringListMemberString"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    greater_than: {
      key: "ENRICHMENT_STATUS", # required, accepts ENRICHMENT_STATUS, COMPANY_NAME, AWS_INDUSTRY, ACCOUNT_PLANNING_QUALIFICATION, PROGRAM_ELIGIBILITY, IMPORT_ID, CREATED_DATE, LAST_MODIFIED_DATE, GEO, COUNTRY, SEGMENT, SOLUTION_CATEGORY, MARKETPLACE_ENGAGEMENT_SCORE, SOLUTION_SCORE
      value: { # required
        string_value: "String",
        string_list_value: ["AccountFilterStringListMemberString"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    greater_than_or_equals: {
      key: "ENRICHMENT_STATUS", # required, accepts ENRICHMENT_STATUS, COMPANY_NAME, AWS_INDUSTRY, ACCOUNT_PLANNING_QUALIFICATION, PROGRAM_ELIGIBILITY, IMPORT_ID, CREATED_DATE, LAST_MODIFIED_DATE, GEO, COUNTRY, SEGMENT, SOLUTION_CATEGORY, MARKETPLACE_ENGAGEMENT_SCORE, SOLUTION_SCORE
      value: { # required
        string_value: "String",
        string_list_value: ["AccountFilterStringListMemberString"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    less_than: {
      key: "ENRICHMENT_STATUS", # required, accepts ENRICHMENT_STATUS, COMPANY_NAME, AWS_INDUSTRY, ACCOUNT_PLANNING_QUALIFICATION, PROGRAM_ELIGIBILITY, IMPORT_ID, CREATED_DATE, LAST_MODIFIED_DATE, GEO, COUNTRY, SEGMENT, SOLUTION_CATEGORY, MARKETPLACE_ENGAGEMENT_SCORE, SOLUTION_SCORE
      value: { # required
        string_value: "String",
        string_list_value: ["AccountFilterStringListMemberString"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    less_than_or_equals: {
      key: "ENRICHMENT_STATUS", # required, accepts ENRICHMENT_STATUS, COMPANY_NAME, AWS_INDUSTRY, ACCOUNT_PLANNING_QUALIFICATION, PROGRAM_ELIGIBILITY, IMPORT_ID, CREATED_DATE, LAST_MODIFIED_DATE, GEO, COUNTRY, SEGMENT, SOLUTION_CATEGORY, MARKETPLACE_ENGAGEMENT_SCORE, SOLUTION_SCORE
      value: { # required
        string_value: "String",
        string_list_value: ["AccountFilterStringListMemberString"],
        long_value: 1,
        date_value: Time.now,
      },
    },
  },
  aggregations: [
    {
      group_by: ["ENRICHMENT_STATUS"], # required, accepts ENRICHMENT_STATUS, AWS_INDUSTRY, SEGMENT, REGION, SOLUTION_CATEGORY, ACCOUNT_PLANNING_QUALIFICATION, PROGRAM_ELIGIBILITY, MARKETPLACE_ENGAGEMENT_SCORE, GEO, COUNTRY, SOLUTION_SCORE
    },
  ],
  include_missing: false,
})

Response structure


resp.total_count #=> Integer
resp.aggregations #=> Array
resp.aggregations[0].group_by #=> Array
resp.aggregations[0].group_by[0] #=> String, one of "ENRICHMENT_STATUS", "AWS_INDUSTRY", "SEGMENT", "REGION", "SOLUTION_CATEGORY", "ACCOUNT_PLANNING_QUALIFICATION", "PROGRAM_ELIGIBILITY", "MARKETPLACE_ENGAGEMENT_SCORE", "GEO", "COUNTRY", "SOLUTION_SCORE"
resp.aggregations[0].buckets #=> Array
resp.aggregations[0].buckets[0].values #=> Array
resp.aggregations[0].buckets[0].values[0] #=> String
resp.aggregations[0].buckets[0].count #=> Integer
resp.aggregations[0].other_count #=> Integer

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog for the request. Valid values:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :filter (Types::Filter) —

    Specifies a filter tree that narrows the customer accounts. Each node either combines child filters or compares a single field to a value. If you omit this field, the statistics cover all of your customer accounts.

  • :aggregations (Array<Types::AggregationRequest>) —

    Specifies how to group the customer accounts. Each aggregation returns the number of accounts for each value of a field.

  • :include_missing (Boolean) —

    Specifies whether to include a group for customer accounts that have no value for the grouped field.

Returns:

See Also:



2318
2319
2320
2321
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 2318

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

#get_engagement(params = {}) ⇒ Types::GetEngagementResponse

Use this action to retrieve the engagement record for a given EngagementIdentifier.

Examples:

Request syntax with placeholder values


resp = client.get_engagement({
  catalog: "CatalogIdentifier", # required
  identifier: "EngagementArnOrIdentifier", # required
})

Response structure


resp.id #=> String
resp.arn #=> String
resp.title #=> String
resp.description #=> String
resp.created_at #=> Time
resp.created_by #=> String
resp.member_count #=> Integer
resp.modified_at #=> Time
resp.modified_by #=> String
resp.contexts #=> Array
resp.contexts[0].id #=> String
resp.contexts[0].type #=> String, one of "CustomerProject", "Lead", "ProspectingResult", "CustomerAccount"
resp.contexts[0].payload.customer_project.customer.industry #=> String, one of "Aerospace", "Agriculture", "Automotive", "Computers and Electronics", "Consumer Goods", "Education", "Energy - Oil and Gas", "Energy - Power and Utilities", "Financial Services", "Gaming", "Government", "Healthcare", "Hospitality", "Life Sciences", "Manufacturing", "Marketing and Advertising", "Media and Entertainment", "Mining", "Non-Profit Organization", "Professional Services", "Real Estate and Construction", "Retail", "Software and Internet", "Telecommunications", "Transportation and Logistics", "Travel", "Wholesale and Distribution", "Other"
resp.contexts[0].payload.customer_project.customer.company_name #=> String
resp.contexts[0].payload.customer_project.customer.website_url #=> String
resp.contexts[0].payload.customer_project.customer.country_code #=> String, one of "US", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "CD", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"
resp.contexts[0].payload.customer_project.project.title #=> String
resp.contexts[0].payload.customer_project.project.business_problem #=> String
resp.contexts[0].payload.customer_project.project.target_completion_date #=> String
resp.contexts[0].payload.lead.insights.lead_readiness_score #=> String
resp.contexts[0].payload.lead.insights.channel_recommendation.recommended_channel #=> String
resp.contexts[0].payload.lead.insights.channel_recommendation.best_outreach_windows #=> Array
resp.contexts[0].payload.lead.insights.channel_recommendation.best_outreach_windows[0].day #=> String, one of "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"
resp.contexts[0].payload.lead.insights.channel_recommendation.best_outreach_windows[0].start_time_utc #=> String
resp.contexts[0].payload.lead.insights.channel_recommendation.best_outreach_windows[0].end_time_utc #=> String
resp.contexts[0].payload.lead.qualification_status #=> String
resp.contexts[0].payload.lead.customer.industry #=> String
resp.contexts[0].payload.lead.customer.company_name #=> String
resp.contexts[0].payload.lead.customer.website_url #=> String
resp.contexts[0].payload.lead.customer.address.city #=> String
resp.contexts[0].payload.lead.customer.address.postal_code #=> String
resp.contexts[0].payload.lead.customer.address.state_or_region #=> String
resp.contexts[0].payload.lead.customer.address.country_code #=> String
resp.contexts[0].payload.lead.customer.aws_maturity #=> String
resp.contexts[0].payload.lead.customer.market_segment #=> String
resp.contexts[0].payload.lead.interactions #=> Array
resp.contexts[0].payload.lead.interactions[0].source_type #=> String
resp.contexts[0].payload.lead.interactions[0].source_id #=> String
resp.contexts[0].payload.lead.interactions[0].source_name #=> String
resp.contexts[0].payload.lead.interactions[0].usecase #=> String
resp.contexts[0].payload.lead.interactions[0].interaction_date #=> Time
resp.contexts[0].payload.lead.interactions[0].customer_action #=> String
resp.contexts[0].payload.lead.interactions[0].business_problem #=> String
resp.contexts[0].payload.lead.interactions[0].contact.business_title #=> String
resp.contexts[0].payload.lead.interactions[0].contact.email #=> String
resp.contexts[0].payload.lead.interactions[0].contact.first_name #=> String
resp.contexts[0].payload.lead.interactions[0].contact.last_name #=> String
resp.contexts[0].payload.lead.interactions[0].contact.phone #=> String
resp.contexts[0].payload.prospecting_result.aws.customer. #=> String
resp.contexts[0].payload.prospecting_result.aws.customer.geo #=> String
resp.contexts[0].payload.prospecting_result.aws.customer.region #=> String
resp.contexts[0].payload.prospecting_result.aws.customer.sub_region #=> String
resp.contexts[0].payload.prospecting_result.aws.customer.country #=> String, one of "US", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "CD", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"
resp.contexts[0].payload.prospecting_result.aws.customer.industry #=> String, one of "Aerospace", "Agriculture", "Automotive", "Computers and Electronics", "Consumer Goods", "Education", "Energy - Oil and Gas", "Energy - Power and Utilities", "Financial Services", "Gaming", "Government", "Healthcare", "Hospitality", "Life Sciences", "Manufacturing", "Marketing and Advertising", "Media and Entertainment", "Mining", "Non-Profit Organization", "Professional Services", "Real Estate and Construction", "Retail", "Software and Internet", "Telecommunications", "Transportation and Logistics", "Travel", "Wholesale and Distribution", "Other"
resp.contexts[0].payload.prospecting_result.aws.customer.sub_industry #=> String
resp.contexts[0].payload.prospecting_result.aws.customer.segment #=> String
resp.contexts[0].payload.prospecting_result.aws.customer.company_size #=> String
resp.contexts[0].payload.prospecting_result.aws.customer.eligible_programs #=> Array
resp.contexts[0].payload.prospecting_result.aws.customer.eligible_programs[0] #=> String
resp.contexts[0].payload.prospecting_result.aws.customer.public_profile_summary #=> String
resp.contexts[0].payload.prospecting_result.aws.insights.marketplace_engagement_score #=> String
resp.contexts[0].payload.prospecting_result.aws.insights.solution_score #=> String
resp.contexts[0].payload.prospecting_result.aws.insights.solution_category #=> String
resp.contexts[0].payload.prospecting_result.aws.insights.solution_sub_category #=> String
resp.contexts[0].payload.prospecting_result.aws.start_time #=> Time
resp.contexts[0].payload.prospecting_result.aws.end_time #=> Time
resp.contexts[0].payload.prospecting_result.aws.task_id #=> String
resp.contexts[0].payload.prospecting_result.aws.task_arn #=> String
resp.contexts[0].payload.prospecting_result.aws.task_name #=> String
resp.contexts[0].payload.. #=> String
resp.contexts[0].payload..customer.industry #=> String
resp.contexts[0].payload..customer.company_name #=> String
resp.contexts[0].payload..customer.website_url #=> String
resp.contexts[0].payload..customer.country_code #=> String, one of "US", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "CD", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog related to the engagement request. Valid values are AWS and Sandbox.

  • :identifier (required, String) —

    Specifies the identifier of the Engagement record to retrieve.

Returns:

See Also:



2434
2435
2436
2437
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 2434

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

#get_engagement_invitation(params = {}) ⇒ Types::GetEngagementInvitationResponse

Retrieves the details of an engagement invitation shared by AWS with a partner. The information includes aspects such as customer, project details, and lifecycle information. To connect an engagement invitation with an opportunity, match the invitation’s Payload.Project.Title with opportunity Project.Title.

Examples:

Request syntax with placeholder values


resp = client.get_engagement_invitation({
  catalog: "CatalogIdentifier", # required
  identifier: "EngagementInvitationArnOrIdentifier", # required
})

Response structure


resp.arn #=> String
resp.payload_type #=> String, one of "OpportunityInvitation", "LeadInvitation", "AccountPlanningInvitation"
resp.id #=> String
resp.engagement_id #=> String
resp.engagement_title #=> String
resp.status #=> String, one of "ACCEPTED", "PENDING", "REJECTED", "EXPIRED"
resp.invitation_date #=> Time
resp.expiration_date #=> Time
resp. #=> String
resp.sender_company_name #=> String
resp.receiver..alias #=> String
resp.receiver.. #=> String
resp.catalog #=> String
resp.rejection_reason #=> String
resp.payload.opportunity_invitation.sender_contacts #=> Array
resp.payload.opportunity_invitation.sender_contacts[0].email #=> String
resp.payload.opportunity_invitation.sender_contacts[0].first_name #=> String
resp.payload.opportunity_invitation.sender_contacts[0].last_name #=> String
resp.payload.opportunity_invitation.sender_contacts[0].business_title #=> String
resp.payload.opportunity_invitation.sender_contacts[0].phone #=> String
resp.payload.opportunity_invitation.receiver_responsibilities #=> Array
resp.payload.opportunity_invitation.receiver_responsibilities[0] #=> String, one of "Distributor", "Reseller", "Hardware Partner", "Managed Service Provider", "Software Partner", "Services Partner", "Training Partner", "Co-Sell Facilitator", "Facilitator"
resp.payload.opportunity_invitation.customer.industry #=> String, one of "Aerospace", "Agriculture", "Automotive", "Computers and Electronics", "Consumer Goods", "Education", "Energy - Oil and Gas", "Energy - Power and Utilities", "Financial Services", "Gaming", "Government", "Healthcare", "Hospitality", "Life Sciences", "Manufacturing", "Marketing and Advertising", "Media and Entertainment", "Mining", "Non-Profit Organization", "Professional Services", "Real Estate and Construction", "Retail", "Software and Internet", "Telecommunications", "Transportation and Logistics", "Travel", "Wholesale and Distribution", "Other"
resp.payload.opportunity_invitation.customer.company_name #=> String
resp.payload.opportunity_invitation.customer.website_url #=> String
resp.payload.opportunity_invitation.customer.country_code #=> String, one of "US", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "CD", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"
resp.payload.opportunity_invitation.project.business_problem #=> String
resp.payload.opportunity_invitation.project.title #=> String
resp.payload.opportunity_invitation.project.target_completion_date #=> String
resp.payload.opportunity_invitation.project.expected_customer_spend #=> Array
resp.payload.opportunity_invitation.project.expected_customer_spend[0].amount #=> String
resp.payload.opportunity_invitation.project.expected_customer_spend[0].currency_code #=> String, one of "USD", "EUR", "GBP", "AUD", "CAD", "CNY", "NZD", "INR", "JPY", "CHF", "SEK", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CDF", "CHE", "CHW", "CLF", "CLP", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "FKP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IQD", "IRR", "ISK", "JMD", "JOD", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USN", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "XSU", "XUA", "YER", "ZAR", "ZMW", "ZWL"
resp.payload.opportunity_invitation.project.expected_customer_spend[0].frequency #=> String, one of "Monthly"
resp.payload.opportunity_invitation.project.expected_customer_spend[0].target_company #=> String
resp.payload.opportunity_invitation.project.expected_customer_spend[0].estimation_url #=> String
resp.payload.opportunity_invitation.opportunity_type #=> String, one of "Net New Business", "Flat Renewal", "Expansion"
resp.payload.lead_invitation.customer.industry #=> String
resp.payload.lead_invitation.customer.company_name #=> String
resp.payload.lead_invitation.customer.website_url #=> String
resp.payload.lead_invitation.customer.country_code #=> String
resp.payload.lead_invitation.customer.aws_maturity #=> String
resp.payload.lead_invitation.customer.market_segment #=> String
resp.payload.lead_invitation.interaction.source_type #=> String
resp.payload.lead_invitation.interaction.source_id #=> String
resp.payload.lead_invitation.interaction.source_name #=> String
resp.payload.lead_invitation.interaction.usecase #=> String
resp.payload.lead_invitation.interaction.contact_business_title #=> String
resp.payload.. #=> String
resp.payload..customer.industry #=> String
resp.payload..customer.company_name #=> String
resp.payload..customer.website_url #=> String
resp.payload..customer.country_code #=> String, one of "US", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "CD", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"
resp.payload..sender_contacts #=> Array
resp.payload..sender_contacts[0].email #=> String
resp.payload..sender_contacts[0].first_name #=> String
resp.payload..sender_contacts[0].last_name #=> String
resp.payload..sender_contacts[0].business_title #=> String
resp.payload..sender_contacts[0].phone #=> String
resp.payload..preferred_contact.window #=> String, one of "MORNING", "AFTERNOON", "EVENING"
resp.payload..preferred_contact.timezone #=> String
resp.invitation_message #=> String
resp.engagement_description #=> String
resp.existing_members #=> Array
resp.existing_members[0].company_name #=> String
resp.existing_members[0].website_url #=> String
resp.enrichment_context.prospecting_result_aws.customer. #=> String
resp.enrichment_context.prospecting_result_aws.customer.geo #=> String
resp.enrichment_context.prospecting_result_aws.customer.region #=> String
resp.enrichment_context.prospecting_result_aws.customer.sub_region #=> String
resp.enrichment_context.prospecting_result_aws.customer.country #=> String, one of "US", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "CD", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"
resp.enrichment_context.prospecting_result_aws.customer.industry #=> String, one of "Aerospace", "Agriculture", "Automotive", "Computers and Electronics", "Consumer Goods", "Education", "Energy - Oil and Gas", "Energy - Power and Utilities", "Financial Services", "Gaming", "Government", "Healthcare", "Hospitality", "Life Sciences", "Manufacturing", "Marketing and Advertising", "Media and Entertainment", "Mining", "Non-Profit Organization", "Professional Services", "Real Estate and Construction", "Retail", "Software and Internet", "Telecommunications", "Transportation and Logistics", "Travel", "Wholesale and Distribution", "Other"
resp.enrichment_context.prospecting_result_aws.customer.sub_industry #=> String
resp.enrichment_context.prospecting_result_aws.customer.segment #=> String
resp.enrichment_context.prospecting_result_aws.customer.company_size #=> String
resp.enrichment_context.prospecting_result_aws.customer.eligible_programs #=> Array
resp.enrichment_context.prospecting_result_aws.customer.eligible_programs[0] #=> String
resp.enrichment_context.prospecting_result_aws.customer.public_profile_summary #=> String
resp.enrichment_context.prospecting_result_aws.insights.marketplace_engagement_score #=> String
resp.enrichment_context.prospecting_result_aws.insights.solution_score #=> String
resp.enrichment_context.prospecting_result_aws.insights.solution_category #=> String
resp.enrichment_context.prospecting_result_aws.insights.solution_sub_category #=> String
resp.enrichment_context.lead_insights.lead_readiness_score #=> String
resp.enrichment_context.lead_insights.channel_recommendation.recommended_channel #=> String
resp.enrichment_context.lead_insights.channel_recommendation.best_outreach_windows #=> Array
resp.enrichment_context.lead_insights.channel_recommendation.best_outreach_windows[0].day #=> String, one of "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"
resp.enrichment_context.lead_insights.channel_recommendation.best_outreach_windows[0].start_time_utc #=> String
resp.enrichment_context.lead_insights.channel_recommendation.best_outreach_windows[0].end_time_utc #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog associated with the request. The field accepts values from the predefined set: AWS for live operations or Sandbox for testing environments.

  • :identifier (required, String) —

    Specifies the unique identifier for the retrieved engagement invitation.

Returns:

See Also:



2576
2577
2578
2579
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 2576

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

#get_opportunity(params = {}) ⇒ Types::GetOpportunityResponse

Fetches the Opportunity record from Partner Central by a given Identifier.

Use the ListOpportunities action or the event notification (from Amazon EventBridge) to obtain this identifier.

Examples:

Request syntax with placeholder values


resp = client.get_opportunity({
  catalog: "CatalogIdentifier", # required
  identifier: "OpportunityIdentifier", # required
})

Response structure


resp.catalog #=> String
resp.primary_needs_from_aws #=> Array
resp.primary_needs_from_aws[0] #=> String, one of "Co-Sell - Architectural Validation", "Co-Sell - Business Presentation", "Co-Sell - Competitive Information", "Co-Sell - Pricing Assistance", "Co-Sell - Technical Consultation", "Co-Sell - Total Cost of Ownership Evaluation", "Co-Sell - Deal Support", "Co-Sell - Support for Public Tender / RFx"
resp.national_security #=> String, one of "Yes", "No"
resp.partner_opportunity_identifier #=> String
resp.customer..industry #=> String, one of "Aerospace", "Agriculture", "Automotive", "Computers and Electronics", "Consumer Goods", "Education", "Energy - Oil and Gas", "Energy - Power and Utilities", "Financial Services", "Gaming", "Government", "Healthcare", "Hospitality", "Life Sciences", "Manufacturing", "Marketing and Advertising", "Media and Entertainment", "Mining", "Non-Profit Organization", "Professional Services", "Real Estate and Construction", "Retail", "Software and Internet", "Telecommunications", "Transportation and Logistics", "Travel", "Wholesale and Distribution", "Other"
resp.customer..other_industry #=> String
resp.customer..company_name #=> String
resp.customer..website_url #=> String
resp.customer.. #=> String
resp.customer..address.city #=> String
resp.customer..address.postal_code #=> String
resp.customer..address.state_or_region #=> String
resp.customer..address.country_code #=> String, one of "US", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "CD", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"
resp.customer..address.street_address #=> String
resp.customer..duns #=> String
resp.customer.contacts #=> Array
resp.customer.contacts[0].email #=> String
resp.customer.contacts[0].first_name #=> String
resp.customer.contacts[0].last_name #=> String
resp.customer.contacts[0].business_title #=> String
resp.customer.contacts[0].phone #=> String
resp.project.delivery_models #=> Array
resp.project.delivery_models[0] #=> String, one of "SaaS or PaaS", "BYOL or AMI", "Managed Services", "Professional Services", "Resell", "Other"
resp.project.expected_customer_spend #=> Array
resp.project.expected_customer_spend[0].amount #=> String
resp.project.expected_customer_spend[0].currency_code #=> String, one of "USD", "EUR", "GBP", "AUD", "CAD", "CNY", "NZD", "INR", "JPY", "CHF", "SEK", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CDF", "CHE", "CHW", "CLF", "CLP", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "FKP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IQD", "IRR", "ISK", "JMD", "JOD", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USN", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "XSU", "XUA", "YER", "ZAR", "ZMW", "ZWL"
resp.project.expected_customer_spend[0].frequency #=> String, one of "Monthly"
resp.project.expected_customer_spend[0].target_company #=> String
resp.project.expected_customer_spend[0].estimation_url #=> String
resp.project.expected_contract_duration.term #=> String, one of "Months"
resp.project.expected_contract_duration.value #=> String
resp.project.title #=> String
resp.project.apn_programs #=> Array
resp.project.apn_programs[0] #=> String
resp.project.customer_business_problem #=> String
resp.project.customer_use_case #=> String
resp.project.related_opportunity_identifier #=> String
resp.project.sales_activities #=> Array
resp.project.sales_activities[0] #=> String, one of "Initialized discussions with customer", "Customer has shown interest in solution", "Conducted POC / Demo", "In evaluation / planning stage", "Agreed on solution to Business Problem", "Completed Action Plan", "Finalized Deployment Need", "SOW Signed"
resp.project.competitor_name #=> String, one of "Oracle Cloud", "On-Prem", "Co-location", "Akamai", "AliCloud", "Google Cloud Platform", "IBM Softlayer", "Microsoft Azure", "Other- Cost Optimization", "No Competition", "*Other"
resp.project.other_competitor_names #=> String
resp.project.other_solution_description #=> String
resp.project.additional_comments #=> String
resp.project.aws_partition #=> String, one of "aws-eusc"
resp.opportunity_type #=> String, one of "Net New Business", "Flat Renewal", "Expansion"
resp.marketing.campaign_name #=> String
resp.marketing.source #=> String, one of "Marketing Activity", "None"
resp.marketing.use_cases #=> Array
resp.marketing.use_cases[0] #=> String
resp.marketing.channels #=> Array
resp.marketing.channels[0] #=> String, one of "AWS Marketing Central", "Content Syndication", "Display", "Email", "Live Event", "Out Of Home (OOH)", "Print", "Search", "Social", "Telemarketing", "TV", "Video", "Virtual Event"
resp.marketing.aws_funding_used #=> String, one of "Yes", "No"
resp.software_revenue.delivery_model #=> String, one of "Contract", "Pay-as-you-go", "Subscription"
resp.software_revenue.value.amount #=> String
resp.software_revenue.value.currency_code #=> String, one of "USD", "EUR", "GBP", "AUD", "CAD", "CNY", "NZD", "INR", "JPY", "CHF", "SEK", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CDF", "CHE", "CHW", "CLF", "CLP", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "FKP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IQD", "IRR", "ISK", "JMD", "JOD", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USN", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "XSU", "XUA", "YER", "ZAR", "ZMW", "ZWL"
resp.software_revenue.effective_date #=> String
resp.software_revenue.expiration_date #=> String
resp.id #=> String
resp.arn #=> String
resp.last_modified_date #=> Time
resp.created_date #=> Time
resp.related_entity_identifiers.aws_marketplace_offers #=> Array
resp.related_entity_identifiers.aws_marketplace_offers[0] #=> String
resp.related_entity_identifiers.aws_marketplace_offer_sets #=> Array
resp.related_entity_identifiers.aws_marketplace_offer_sets[0] #=> String
resp.related_entity_identifiers.solutions #=> Array
resp.related_entity_identifiers.solutions[0] #=> String
resp.related_entity_identifiers.aws_products #=> Array
resp.related_entity_identifiers.aws_products[0] #=> String
resp.related_entity_identifiers.aws_marketplace_solutions #=> Array
resp.related_entity_identifiers.aws_marketplace_solutions[0] #=> String
resp.related_entity_identifiers.aws_marketplace_products #=> Array
resp.related_entity_identifiers.aws_marketplace_products[0] #=> String
resp.life_cycle.stage #=> String, one of "Prospect", "Qualified", "Technical Validation", "Business Validation", "Committed", "Launched", "Closed Lost"
resp.life_cycle.closed_lost_reason #=> String, one of "Customer Deficiency", "Delay / Cancellation of Project", "Legal / Tax / Regulatory", "Lost to Competitor - Google", "Lost to Competitor - Microsoft", "Lost to Competitor - SoftLayer", "Lost to Competitor - VMWare", "Lost to Competitor - Other", "No Opportunity", "On Premises Deployment", "Partner Gap", "Price", "Security / Compliance", "Technical Limitations", "Customer Experience", "Other", "People/Relationship/Governance", "Product/Technology", "Financial/Commercial"
resp.life_cycle.next_steps #=> String
resp.life_cycle.target_close_date #=> String
resp.life_cycle.review_status #=> String, one of "Pending Submission", "Submitted", "In review", "Approved", "Rejected", "Action Required"
resp.life_cycle.review_comments #=> String
resp.life_cycle.review_status_reason #=> String
resp.life_cycle.next_steps_history #=> Array
resp.life_cycle.next_steps_history[0].value #=> String
resp.life_cycle.next_steps_history[0].time #=> Time
resp.opportunity_team #=> Array
resp.opportunity_team[0].email #=> String
resp.opportunity_team[0].first_name #=> String
resp.opportunity_team[0].last_name #=> String
resp.opportunity_team[0].business_title #=> String
resp.opportunity_team[0].phone #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity is fetched from. Use AWS to retrieve opportunities in the Amazon Web Services catalog, and Sandbox to retrieve opportunities in a secure, isolated testing environment.

  • :identifier (required, String) —

    Read-only, system generated Opportunity unique identifier.

Returns:

See Also:



2721
2722
2723
2724
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 2721

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

#get_opportunity_bulk_job_report_url(params = {}) ⇒ Types::GetOpportunityBulkJobReportUrlResponse

Gets the status of the failed-records report for a finished opportunity bulk job and, when the report is ready, a temporary URL to download it.

A report is available only after the job is COMPLETED or FAILED. The URL expires after 15 minutes, and the report expires after about 7 days.

Examples:

Request syntax with placeholder values


resp = client.get_opportunity_bulk_job_report_url({
  catalog: "CatalogIdentifier", # required
  job_id: "BulkJobId", # required
  report_format: "CSV", # required, accepts CSV
  report_type: "FAILED_RECORDS", # accepts FAILED_RECORDS, ALL_RECORDS
})

Response structure


resp.report_status #=> String, one of "NOT_STARTED", "IN_PROGRESS", "AVAILABLE", "FAILED", "EXPIRED"
resp.report_type #=> String, one of "FAILED_RECORDS", "ALL_RECORDS"
resp.report_format #=> String, one of "CSV"
resp.url #=> String
resp.expires_at #=> Time
resp.failure_reason #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog for the request. Valid values:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :job_id (required, String) —

    Specifies the identifier of the bulk job.

  • :report_format (required, String) —

    Specifies the format of the report. The only supported value is CSV.

  • :report_type (String) —

    Specifies which records the report covers. If you omit this field, the report covers the records that failed. ALL_RECORDS isn't supported yet, and a request for it fails with a ValidationException.

Returns:

See Also:



2783
2784
2785
2786
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 2783

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

#get_prospecting_from_engagement_task(params = {}) ⇒ Types::GetProspectingFromEngagementTaskResponse

Retrieves the details and current status of a prospecting task previously started with StartProspectingFromEngagementTask to enable polling for completion and access to per-engagement processing results.

Examples:

Request syntax with placeholder values


resp = client.get_prospecting_from_engagement_task({
  catalog: "CatalogIdentifier", # required
  task_identifier: "ProspectingTaskIdentifier", # required
})

Response structure


resp.task_id #=> String
resp.task_arn #=> String
resp.task_name #=> String
resp.start_time #=> Time
resp.end_time #=> Time
resp.engagements #=> Array
resp.engagements[0].engagement_identifier #=> String
resp.engagements[0].engagement_context_id #=> String
resp.engagements[0].status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED"
resp.engagements[0].reason_code #=> String
resp.engagements[0].message #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog associated with the task. Specify AWS for production environments and Sandbox for testing and development purposes. The value must match the catalog used when the task was created.

  • :task_identifier (required, String) —

    The unique identifier of the prospecting task to retrieve. This value is returned in the TaskId field of the StartProspectingFromEngagementTask response.

Returns:

See Also:



2838
2839
2840
2841
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 2838

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

#get_resource_snapshot(params = {}) ⇒ Types::GetResourceSnapshotResponse

Use this action to retrieve a specific snapshot record.

Examples:

Request syntax with placeholder values


resp = client.get_resource_snapshot({
  catalog: "CatalogIdentifier", # required
  engagement_identifier: "EngagementIdentifier", # required
  resource_type: "Opportunity", # required, accepts Opportunity
  resource_identifier: "ResourceIdentifier", # required
  resource_snapshot_template_identifier: "ResourceTemplateName", # required
  revision: 1,
})

Response structure


resp.catalog #=> String
resp.arn #=> String
resp.created_by #=> String
resp.created_at #=> Time
resp.engagement_id #=> String
resp.resource_type #=> String, one of "Opportunity"
resp.resource_id #=> String
resp.resource_snapshot_template_name #=> String
resp.revision #=> Integer
resp.payload.opportunity_summary.opportunity_type #=> String, one of "Net New Business", "Flat Renewal", "Expansion"
resp.payload.opportunity_summary.lifecycle.target_close_date #=> String
resp.payload.opportunity_summary.lifecycle.review_status #=> String, one of "Pending Submission", "Submitted", "In review", "Approved", "Rejected", "Action Required"
resp.payload.opportunity_summary.lifecycle.stage #=> String, one of "Prospect", "Qualified", "Technical Validation", "Business Validation", "Committed", "Launched", "Closed Lost"
resp.payload.opportunity_summary.lifecycle.next_steps #=> String
resp.payload.opportunity_summary.opportunity_team #=> Array
resp.payload.opportunity_summary.opportunity_team[0].email #=> String
resp.payload.opportunity_summary.opportunity_team[0].first_name #=> String
resp.payload.opportunity_summary.opportunity_team[0].last_name #=> String
resp.payload.opportunity_summary.opportunity_team[0].business_title #=> String
resp.payload.opportunity_summary.opportunity_team[0].phone #=> String
resp.payload.opportunity_summary.primary_needs_from_aws #=> Array
resp.payload.opportunity_summary.primary_needs_from_aws[0] #=> String, one of "Co-Sell - Architectural Validation", "Co-Sell - Business Presentation", "Co-Sell - Competitive Information", "Co-Sell - Pricing Assistance", "Co-Sell - Technical Consultation", "Co-Sell - Total Cost of Ownership Evaluation", "Co-Sell - Deal Support", "Co-Sell - Support for Public Tender / RFx"
resp.payload.opportunity_summary.customer..industry #=> String, one of "Aerospace", "Agriculture", "Automotive", "Computers and Electronics", "Consumer Goods", "Education", "Energy - Oil and Gas", "Energy - Power and Utilities", "Financial Services", "Gaming", "Government", "Healthcare", "Hospitality", "Life Sciences", "Manufacturing", "Marketing and Advertising", "Media and Entertainment", "Mining", "Non-Profit Organization", "Professional Services", "Real Estate and Construction", "Retail", "Software and Internet", "Telecommunications", "Transportation and Logistics", "Travel", "Wholesale and Distribution", "Other"
resp.payload.opportunity_summary.customer..other_industry #=> String
resp.payload.opportunity_summary.customer..company_name #=> String
resp.payload.opportunity_summary.customer..website_url #=> String
resp.payload.opportunity_summary.customer.. #=> String
resp.payload.opportunity_summary.customer..address.city #=> String
resp.payload.opportunity_summary.customer..address.postal_code #=> String
resp.payload.opportunity_summary.customer..address.state_or_region #=> String
resp.payload.opportunity_summary.customer..address.country_code #=> String, one of "US", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "CD", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"
resp.payload.opportunity_summary.customer..address.street_address #=> String
resp.payload.opportunity_summary.customer..duns #=> String
resp.payload.opportunity_summary.customer.contacts #=> Array
resp.payload.opportunity_summary.customer.contacts[0].email #=> String
resp.payload.opportunity_summary.customer.contacts[0].first_name #=> String
resp.payload.opportunity_summary.customer.contacts[0].last_name #=> String
resp.payload.opportunity_summary.customer.contacts[0].business_title #=> String
resp.payload.opportunity_summary.customer.contacts[0].phone #=> String
resp.payload.opportunity_summary.project.delivery_models #=> Array
resp.payload.opportunity_summary.project.delivery_models[0] #=> String, one of "SaaS or PaaS", "BYOL or AMI", "Managed Services", "Professional Services", "Resell", "Other"
resp.payload.opportunity_summary.project.expected_customer_spend #=> Array
resp.payload.opportunity_summary.project.expected_customer_spend[0].amount #=> String
resp.payload.opportunity_summary.project.expected_customer_spend[0].currency_code #=> String, one of "USD", "EUR", "GBP", "AUD", "CAD", "CNY", "NZD", "INR", "JPY", "CHF", "SEK", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CDF", "CHE", "CHW", "CLF", "CLP", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "FKP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IQD", "IRR", "ISK", "JMD", "JOD", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USN", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "XSU", "XUA", "YER", "ZAR", "ZMW", "ZWL"
resp.payload.opportunity_summary.project.expected_customer_spend[0].frequency #=> String, one of "Monthly"
resp.payload.opportunity_summary.project.expected_customer_spend[0].target_company #=> String
resp.payload.opportunity_summary.project.expected_customer_spend[0].estimation_url #=> String
resp.payload.opportunity_summary.project.expected_contract_duration.term #=> String, one of "Months"
resp.payload.opportunity_summary.project.expected_contract_duration.value #=> String
resp.payload.opportunity_summary.project.customer_use_case #=> String
resp.payload.opportunity_summary.project.sales_activities #=> Array
resp.payload.opportunity_summary.project.sales_activities[0] #=> String, one of "Initialized discussions with customer", "Customer has shown interest in solution", "Conducted POC / Demo", "In evaluation / planning stage", "Agreed on solution to Business Problem", "Completed Action Plan", "Finalized Deployment Need", "SOW Signed"
resp.payload.opportunity_summary.project.other_solution_description #=> String
resp.payload.opportunity_summary.related_entity_identifiers.aws_marketplace_offers #=> Array
resp.payload.opportunity_summary.related_entity_identifiers.aws_marketplace_offers[0] #=> String
resp.payload.opportunity_summary.related_entity_identifiers.aws_marketplace_offer_sets #=> Array
resp.payload.opportunity_summary.related_entity_identifiers.aws_marketplace_offer_sets[0] #=> String
resp.payload.opportunity_summary.related_entity_identifiers.solutions #=> Array
resp.payload.opportunity_summary.related_entity_identifiers.solutions[0] #=> String
resp.payload.opportunity_summary.related_entity_identifiers.aws_products #=> Array
resp.payload.opportunity_summary.related_entity_identifiers.aws_products[0] #=> String
resp.payload.opportunity_summary.related_entity_identifiers.aws_marketplace_solutions #=> Array
resp.payload.opportunity_summary.related_entity_identifiers.aws_marketplace_solutions[0] #=> String
resp.payload.opportunity_summary.related_entity_identifiers.aws_marketplace_products #=> Array
resp.payload.opportunity_summary.related_entity_identifiers.aws_marketplace_products[0] #=> String
resp.payload.aws_opportunity_summary_full_view.related_opportunity_id #=> String
resp.payload.aws_opportunity_summary_full_view.origin #=> String, one of "AWS Referral", "Partner Referral"
resp.payload.aws_opportunity_summary_full_view.involvement_type #=> String, one of "For Visibility Only", "Co-Sell"
resp.payload.aws_opportunity_summary_full_view.visibility #=> String, one of "Full", "Limited"
resp.payload.aws_opportunity_summary_full_view.life_cycle.target_close_date #=> String
resp.payload.aws_opportunity_summary_full_view.life_cycle.closed_lost_reason #=> String, one of "Administrative", "Business Associate Agreement", "Company Acquired/Dissolved", "Competitive Offering", "Customer Data Requirement", "Customer Deficiency", "Customer Experience", "Delay / Cancellation of Project", "Duplicate", "Duplicate Opportunity", "Executive Blocker", "Failed Vetting", "Feature Limitation", "Financial/Commercial", "Insufficient Amazon Value", "Insufficient AWS Value", "International Constraints", "Legal / Tax / Regulatory", "Legal Terms and Conditions", "Lost to Competitor", "Lost to Competitor - Google", "Lost to Competitor - Microsoft", "Lost to Competitor - Other", "Lost to Competitor - Rackspace", "Lost to Competitor - SoftLayer", "Lost to Competitor - VMWare", "No Customer Reference", "No Integration Resources", "No Opportunity", "No Perceived Value of MP", "No Response", "Not Committed to AWS", "No Update", "On Premises Deployment", "Other", "Other (Details in Description)", "Partner Gap", "Past Due", "People/Relationship/Governance", "Platform Technology Limitation", "Preference for Competitor", "Price", "Product/Technology", "Product Not on AWS", "Security / Compliance", "Self-Service", "Technical Limitations", "Term Sheet Impasse"
resp.payload.aws_opportunity_summary_full_view.life_cycle.stage #=> String, one of "Not Started", "In Progress", "Prospect", "Engaged", "Identified", "Qualify", "Research", "Seller Engaged", "Evaluating", "Seller Registered", "Term Sheet Negotiation", "Contract Negotiation", "Onboarding", "Building Integration", "Qualified", "On-hold", "Technical Validation", "Business Validation", "Committed", "Launched", "Deferred to Partner", "Closed Lost", "Completed", "Closed Incomplete"
resp.payload.aws_opportunity_summary_full_view.life_cycle.next_steps #=> String
resp.payload.aws_opportunity_summary_full_view.life_cycle.next_steps_history #=> Array
resp.payload.aws_opportunity_summary_full_view.life_cycle.next_steps_history[0].value #=> String
resp.payload.aws_opportunity_summary_full_view.life_cycle.next_steps_history[0].time #=> Time
resp.payload.aws_opportunity_summary_full_view.opportunity_team #=> Array
resp.payload.aws_opportunity_summary_full_view.opportunity_team[0].email #=> String
resp.payload.aws_opportunity_summary_full_view.opportunity_team[0].first_name #=> String
resp.payload.aws_opportunity_summary_full_view.opportunity_team[0].last_name #=> String
resp.payload.aws_opportunity_summary_full_view.opportunity_team[0].business_title #=> String, one of "AWSSalesRep", "AWSAccountOwner", "WWPSPDM", "PDM", "PSM", "ISVSM", "Signatory"
resp.payload.aws_opportunity_summary_full_view.insights.next_best_actions #=> String
resp.payload.aws_opportunity_summary_full_view.insights.engagement_score #=> String, one of "High", "Medium", "Low"
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.currency_code #=> String, one of "USD", "EUR", "GBP", "AUD", "CAD", "CNY", "NZD", "INR", "JPY", "CHF", "SEK", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CDF", "CHE", "CHW", "CLF", "CLP", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "FKP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IQD", "IRR", "ISK", "JMD", "JOD", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USN", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "XSU", "XUA", "YER", "ZAR", "ZMW", "ZWL"
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.frequency #=> String, one of "Monthly"
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.total_amount #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.total_optimized_amount #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.total_potential_savings_amount #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.total_amount_by_category #=> Hash
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.total_amount_by_category["String"] #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.aws_products #=> Array
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.aws_products[0].product_code #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.aws_products[0].service_code #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.aws_products[0].categories #=> Array
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.aws_products[0].categories[0] #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.aws_products[0].amount #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.aws_products[0].optimized_amount #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.aws_products[0].potential_savings_amount #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.aws_products[0].optimizations #=> Array
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.aws_products[0].optimizations[0].description #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.partner.aws_products[0].optimizations[0].savings_amount #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.currency_code #=> String, one of "USD", "EUR", "GBP", "AUD", "CAD", "CNY", "NZD", "INR", "JPY", "CHF", "SEK", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CDF", "CHE", "CHW", "CLF", "CLP", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "FKP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IQD", "IRR", "ISK", "JMD", "JOD", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USN", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "XSU", "XUA", "YER", "ZAR", "ZMW", "ZWL"
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.frequency #=> String, one of "Monthly"
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.total_amount #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.total_optimized_amount #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.total_potential_savings_amount #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.total_amount_by_category #=> Hash
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.total_amount_by_category["String"] #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.aws_products #=> Array
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.aws_products[0].product_code #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.aws_products[0].service_code #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.aws_products[0].categories #=> Array
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.aws_products[0].categories[0] #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.aws_products[0].amount #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.aws_products[0].optimized_amount #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.aws_products[0].potential_savings_amount #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.aws_products[0].optimizations #=> Array
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.aws_products[0].optimizations[0].description #=> String
resp.payload.aws_opportunity_summary_full_view.insights.aws_products_spend_insights_by_source.aws.aws_products[0].optimizations[0].savings_amount #=> String
resp.payload.aws_opportunity_summary_full_view.insights.opportunity_quality.score #=> Integer
resp.payload.aws_opportunity_summary_full_view.insights.opportunity_quality.trend #=> String
resp.payload.aws_opportunity_summary_full_view.insights.recommendations #=> Array
resp.payload.aws_opportunity_summary_full_view.insights.recommendations[0].type #=> String
resp.payload.aws_opportunity_summary_full_view.insights.recommendations[0].details #=> String
resp.payload.aws_opportunity_summary_full_view.insights.recommendations[0].attributes #=> Hash
resp.payload.aws_opportunity_summary_full_view.insights.recommendations[0].attributes["String"] #=> String
resp.payload.aws_opportunity_summary_full_view.involvement_type_change_reason #=> String, one of "Expansion Opportunity", "Change in Deal Information", "Customer Requested", "Technical Complexity", "Risk Mitigation"
resp.payload.aws_opportunity_summary_full_view.related_entity_ids.aws_products #=> Array
resp.payload.aws_opportunity_summary_full_view.related_entity_ids.aws_products[0] #=> String
resp.payload.aws_opportunity_summary_full_view.related_entity_ids.solutions #=> Array
resp.payload.aws_opportunity_summary_full_view.related_entity_ids.solutions[0] #=> String
resp.payload.aws_opportunity_summary_full_view.related_entity_ids.aws_marketplace_solutions #=> Array
resp.payload.aws_opportunity_summary_full_view.related_entity_ids.aws_marketplace_solutions[0] #=> String
resp.payload.aws_opportunity_summary_full_view.related_entity_ids.aws_marketplace_products #=> Array
resp.payload.aws_opportunity_summary_full_view.related_entity_ids.aws_marketplace_products[0] #=> String
resp.payload.aws_opportunity_summary_full_view.customer.contacts #=> Array
resp.payload.aws_opportunity_summary_full_view.customer.contacts[0].email #=> String
resp.payload.aws_opportunity_summary_full_view.customer.contacts[0].first_name #=> String
resp.payload.aws_opportunity_summary_full_view.customer.contacts[0].last_name #=> String
resp.payload.aws_opportunity_summary_full_view.customer.contacts[0].business_title #=> String
resp.payload.aws_opportunity_summary_full_view.customer.contacts[0].phone #=> String
resp.payload.aws_opportunity_summary_full_view.project.expected_customer_spend #=> Array
resp.payload.aws_opportunity_summary_full_view.project.expected_customer_spend[0].amount #=> String
resp.payload.aws_opportunity_summary_full_view.project.expected_customer_spend[0].currency_code #=> String, one of "USD", "EUR", "GBP", "AUD", "CAD", "CNY", "NZD", "INR", "JPY", "CHF", "SEK", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CDF", "CHE", "CHW", "CLF", "CLP", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "FKP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IQD", "IRR", "ISK", "JMD", "JOD", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USN", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "XSU", "XUA", "YER", "ZAR", "ZMW", "ZWL"
resp.payload.aws_opportunity_summary_full_view.project.expected_customer_spend[0].frequency #=> String, one of "Monthly"
resp.payload.aws_opportunity_summary_full_view.project.expected_customer_spend[0].target_company #=> String
resp.payload.aws_opportunity_summary_full_view.project.expected_customer_spend[0].estimation_url #=> String
resp.payload.aws_opportunity_summary_full_view.project.aws_partition #=> String, one of "aws-eusc"
resp.payload.aws_opportunity_summary_full_view.cosell_motion #=> String
resp.payload.aws_opportunity_summary_full_view.cosell_motion_reason #=> String
resp.payload.aws_opportunity_summary_full_view.software_revenue.value.amount #=> String
resp.payload.aws_opportunity_summary_full_view.software_revenue.value.currency_code #=> String, one of "USD", "EUR", "GBP", "AUD", "CAD", "CNY", "NZD", "INR", "JPY", "CHF", "SEK", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CDF", "CHE", "CHW", "CLF", "CLP", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "FKP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IQD", "IRR", "ISK", "JMD", "JOD", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USN", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "XSU", "XUA", "YER", "ZAR", "ZMW", "ZWL"
resp.payload.aws_opportunity_summary_full_view.software_revenue.discount #=> String
resp.payload.aws_opportunity_summary_full_view.software_revenue.effective_date #=> String
resp.payload.aws_opportunity_summary_full_view.software_revenue.expiration_date #=> String
resp.target_member_accounts #=> Array
resp.target_member_accounts[0] #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog related to the request. Valid values are:

    • AWS: Retrieves the snapshot from the production AWS environment.

    • Sandbox: Retrieves the snapshot from a sandbox environment used for testing or development purposes.

  • :engagement_identifier (required, String) —

    The unique identifier of the engagement associated with the snapshot. This field links the snapshot to a specific engagement context.

  • :resource_type (required, String) —

    Specifies the type of resource that was snapshotted. This field determines the structure and content of the snapshot payload. Valid value includes:Opportunity: For opportunity-related data.

  • :resource_identifier (required, String) —

    The unique identifier of the specific resource that was snapshotted. The format and constraints of this identifier depend on the ResourceType specified. For Opportunity type, it will be an opportunity ID

  • :resource_snapshot_template_identifier (required, String) —

    he name of the template that defines the schema for the snapshot. This template determines which subset of the resource data is included in the snapshot and must correspond to an existing and valid template for the specified ResourceType.

  • :revision (Integer) —

    Specifies which revision of the snapshot to retrieve. If omitted returns the latest revision.

Returns:

See Also:



3067
3068
3069
3070
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 3067

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

#get_resource_snapshot_job(params = {}) ⇒ Types::GetResourceSnapshotJobResponse

Use this action to retrieves information about a specific resource snapshot job.

Examples:

Request syntax with placeholder values


resp = client.get_resource_snapshot_job({
  catalog: "CatalogIdentifier", # required
  resource_snapshot_job_identifier: "ResourceSnapshotJobIdentifier", # required
})

Response structure


resp.catalog #=> String
resp.id #=> String
resp.arn #=> String
resp.engagement_id #=> String
resp.resource_type #=> String, one of "Opportunity"
resp.resource_id #=> String
resp.resource_arn #=> String
resp.resource_snapshot_template_name #=> String
resp.created_at #=> Time
resp.status #=> String, one of "Running", "Stopped"
resp.last_successful_execution_date #=> Time
resp.last_failure #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog related to the request. Valid values are:

    • AWS: Retrieves the snapshot job from the production AWS environment.

    • Sandbox: Retrieves the snapshot job from a sandbox environment used for testing or development purposes.

  • :resource_snapshot_job_identifier (required, String) —

    The unique identifier of the resource snapshot job to be retrieved. This identifier is crucial for pinpointing the specific job you want to query.

Returns:

See Also:



3129
3130
3131
3132
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 3129

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

#get_selling_system_settings(params = {}) ⇒ Types::GetSellingSystemSettingsResponse

Retrieves the currently set system settings, which include the IAM Role used for resource snapshot jobs.

Examples:

Request syntax with placeholder values


resp = client.get_selling_system_settings({
  catalog: "CatalogIdentifier", # required
})

Response structure


resp.catalog #=> String
resp.resource_snapshot_job_role_arn #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog in which the settings are defined. Acceptable values include AWS for production and Sandbox for testing environments.

Returns:

See Also:



3162
3163
3164
3165
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 3162

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

#list_customer_account_bulk_job_results(params = {}) ⇒ Types::ListCustomerAccountBulkJobResultsResponse

Use ListCustomerAccountBulkJobResults to list the outcome of each record in a bulk job. You can filter the results to records that succeeded or failed. A job that failed before it processed any records returns an empty list.

Results are paginated. Use NextToken to retrieve additional results.

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

Examples:

Request syntax with placeholder values


resp = client.({
  catalog: "CatalogIdentifier", # required
  identifier: "BulkJobArnOrIdentifier", # required
  status: "SUCCEEDED", # accepts SUCCEEDED, FAILED
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.results #=> Array
resp.results[0].request_id #=> String
resp.results[0].status #=> String, one of "SUCCEEDED", "FAILED"
resp.results[0].resource_identifier #=> String
resp.results[0].error_code #=> String
resp.results[0].error_message #=> String
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog for the request. Valid values:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :identifier (required, String) —

    Specifies the ARN or the identifier of the bulk job.

  • :status (String) —

    Filters the results to records with the specified outcome. If you omit this field, records with all outcomes are returned.

  • :max_results (Integer) —

    Specifies the maximum number of results to return in a single call. Use this value together with NextToken to control pagination.

  • :next_token (String) —

    Specifies the token for the next page of results. Use the NextToken value from a previous response to retrieve the next page.

Returns:

See Also:



3227
3228
3229
3230
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 3227

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

#list_customer_account_bulk_jobs(params = {}) ⇒ Types::ListCustomerAccountBulkJobsResponse

Use ListCustomerAccountBulkJobs to list the bulk jobs in the specified catalog. You can filter the results by job identifier or status.

Results are paginated. Use NextToken to retrieve additional results.

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

Examples:

Request syntax with placeholder values


resp = client.({
  catalog: "CatalogIdentifier", # required
  filter: {
    identifier: "BulkJobArnOrIdentifier",
    status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED, FAILED
  },
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp.items #=> Array
resp.items[0].arn #=> String
resp.items[0].id #=> String
resp.items[0].status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED"
resp.items[0].file_name #=> String
resp.items[0].total_records #=> Integer
resp.items[0].processed_records #=> Integer
resp.items[0].success_count #=> Integer
resp.items[0].failure_count #=> Integer
resp.items[0].deleted_count #=> Integer
resp.items[0].failure_reason #=> String
resp.items[0].created_at #=> Time
resp.items[0].completed_at #=> Time
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog for the request. Valid values:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :filter (Types::CustomerAccountBulkJobFilter) —

    Specifies criteria to filter the bulk jobs, such as the job identifier or status.

  • :max_results (Integer) —

    Specifies the maximum number of results to return in a single call. Use this value together with NextToken to control pagination.

  • :next_token (String) —

    Specifies the token for the next page of results. Use the NextToken value from a previous response to retrieve the next page.

Returns:

See Also:



3297
3298
3299
3300
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 3297

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

#list_engagement_by_accepting_invitation_tasks(params = {}) ⇒ Types::ListEngagementByAcceptingInvitationTasksResponse

Lists all in-progress, completed, or failed StartEngagementByAcceptingInvitationTask tasks that were initiated by the caller's account.

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

Examples:

Request syntax with placeholder values


resp = client.list_engagement_by_accepting_invitation_tasks({
  max_results: 1,
  next_token: "ListEngagementByAcceptingInvitationTasksRequestNextTokenString",
  sort: {
    sort_order: "ASCENDING", # required, accepts ASCENDING, DESCENDING
    sort_by: "StartTime", # required, accepts StartTime
  },
  catalog: "CatalogIdentifier", # required
  task_status: ["IN_PROGRESS"], # accepts IN_PROGRESS, COMPLETE, FAILED
  opportunity_identifier: ["OpportunityIdentifier"],
  engagement_invitation_identifier: ["EngagementInvitationArnOrIdentifier"],
  task_identifier: ["TaskArnOrIdentifier"],
})

Response structure


resp.task_summaries #=> Array
resp.task_summaries[0].task_id #=> String
resp.task_summaries[0].task_arn #=> String
resp.task_summaries[0].start_time #=> Time
resp.task_summaries[0].task_status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED"
resp.task_summaries[0].message #=> String
resp.task_summaries[0].reason_code #=> String, one of "InvitationAccessDenied", "InvitationValidationFailed", "EngagementAccessDenied", "OpportunityAccessDenied", "ResourceSnapshotJobAccessDenied", "ResourceSnapshotJobValidationFailed", "ResourceSnapshotJobConflict", "EngagementValidationFailed", "EngagementConflict", "OpportunitySubmissionFailed", "EngagementInvitationConflict", "InternalError", "OpportunityValidationFailed", "OpportunityConflict", "ResourceSnapshotAccessDenied", "ResourceSnapshotValidationFailed", "ResourceSnapshotConflict", "ServiceQuotaExceeded", "RequestThrottled", "ContextNotFound", "CustomerProjectContextNotPermitted", "DisqualifiedLeadNotPermitted"
resp.task_summaries[0].opportunity_id #=> String
resp.task_summaries[0].resource_snapshot_job_id #=> String
resp.task_summaries[0].engagement_invitation_id #=> String
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :max_results (Integer) —

    Use this parameter to control the number of items returned in each request, which can be useful for performance tuning and managing large result sets.

  • :next_token (String) —

    Use this parameter for pagination when the result set spans multiple pages. This value is obtained from the NextToken field in the response of a previous call to this API.

  • :sort (Types::ListTasksSortBase) —

    Specifies the sorting criteria for the returned results. This allows you to order the tasks based on specific attributes.

  • :catalog (required, String) —

    Specifies the catalog related to the request. Valid values are:

    • AWS: Retrieves the request from the production AWS environment.

    • Sandbox: Retrieves the request from a sandbox environment used for testing or development purposes.

  • :task_status (Array<String>) —

    Filters the tasks based on their current status. This allows you to focus on tasks in specific states.

  • :opportunity_identifier (Array<String>) —

    Filters tasks by the identifiers of the opportunities they created or are associated with.

  • :engagement_invitation_identifier (Array<String>) —

    Filters tasks by the identifiers of the engagement invitations they are processing.

  • :task_identifier (Array<String>) —

    Filters tasks by their unique identifiers. Use this when you want to retrieve information about specific tasks.

Returns:

See Also:



3385
3386
3387
3388
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 3385

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

#list_engagement_from_opportunity_tasks(params = {}) ⇒ Types::ListEngagementFromOpportunityTasksResponse

Lists all in-progress, completed, or failed EngagementFromOpportunity tasks that were initiated by the caller's account.

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

Examples:

Request syntax with placeholder values


resp = client.list_engagement_from_opportunity_tasks({
  max_results: 1,
  next_token: "ListEngagementFromOpportunityTasksRequestNextTokenString",
  sort: {
    sort_order: "ASCENDING", # required, accepts ASCENDING, DESCENDING
    sort_by: "StartTime", # required, accepts StartTime
  },
  catalog: "CatalogIdentifier", # required
  task_status: ["IN_PROGRESS"], # accepts IN_PROGRESS, COMPLETE, FAILED
  task_identifier: ["TaskArnOrIdentifier"],
  opportunity_identifier: ["OpportunityIdentifier"],
  engagement_identifier: ["EngagementArnOrIdentifier"],
})

Response structure


resp.task_summaries #=> Array
resp.task_summaries[0].task_id #=> String
resp.task_summaries[0].task_arn #=> String
resp.task_summaries[0].start_time #=> Time
resp.task_summaries[0].task_status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED"
resp.task_summaries[0].message #=> String
resp.task_summaries[0].reason_code #=> String, one of "InvitationAccessDenied", "InvitationValidationFailed", "EngagementAccessDenied", "OpportunityAccessDenied", "ResourceSnapshotJobAccessDenied", "ResourceSnapshotJobValidationFailed", "ResourceSnapshotJobConflict", "EngagementValidationFailed", "EngagementConflict", "OpportunitySubmissionFailed", "EngagementInvitationConflict", "InternalError", "OpportunityValidationFailed", "OpportunityConflict", "ResourceSnapshotAccessDenied", "ResourceSnapshotValidationFailed", "ResourceSnapshotConflict", "ServiceQuotaExceeded", "RequestThrottled", "ContextNotFound", "CustomerProjectContextNotPermitted", "DisqualifiedLeadNotPermitted"
resp.task_summaries[0].opportunity_id #=> String
resp.task_summaries[0].resource_snapshot_job_id #=> String
resp.task_summaries[0].engagement_id #=> String
resp.task_summaries[0].engagement_invitation_id #=> String
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :max_results (Integer) —

    Specifies the maximum number of results to return in a single page of the response.Use this parameter to control the number of items returned in each request, which can be useful for performance tuning and managing large result sets.

  • :next_token (String) —

    The token for requesting the next page of results. This value is obtained from the NextToken field in the response of a previous call to this API. Use this parameter for pagination when the result set spans multiple pages.

  • :sort (Types::ListTasksSortBase) —

    Specifies the sorting criteria for the returned results. This allows you to order the tasks based on specific attributes.

  • :catalog (required, String) —

    Specifies the catalog related to the request. Valid values are:

    • AWS: Retrieves the request from the production AWS environment.

    • Sandbox: Retrieves the request from a sandbox environment used for testing or development purposes.

  • :task_status (Array<String>) —

    Filters the tasks based on their current status. This allows you to focus on tasks in specific states.

  • :task_identifier (Array<String>) —

    Filters tasks by their unique identifiers. Use this when you want to retrieve information about specific tasks.

  • :opportunity_identifier (Array<String>) —

    The identifier of the original opportunity associated with this task.

  • :engagement_identifier (Array<String>) —

    Filters tasks by the identifiers of the engagements they created or are associated with.

Returns:

See Also:



3474
3475
3476
3477
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 3474

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

#list_engagement_groups(params = {}) ⇒ Types::ListEngagementGroupsResponse

Lists the active, fully curated AWS Partner Central engagement groups that are available to you in the specified catalog. An engagement group is a curated set of engagements that share common characteristics, such as customer geography, industry, or solution category. To retrieve the engagements in a group, pass the group Id to SearchEngagements as GroupId, and use NextToken to retrieve additional pages of groups.

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

Examples:

Example: List sales-ready engagement groups


# Returns the sales-ready engagement groups available in the AWS catalog, largest first.

resp = client.list_engagement_groups({
  catalog: "AWS", 
  max_results: 10, 
  readiness_level: "SalesReady", 
  sort: {
    sort_by: "Count", 
    sort_order: "DESCENDING", 
  }, 
})

resp.to_h outputs the following:
{
  engagement_group_summaries: [
    {
      arn: "arn:aws:partnercentral:us-east-1::catalog/AWS/engagement-group/eng-grp-0a1b2c3d4e5f6g", 
      catalog: "AWS", 
      count: 42, 
      description: "Retail customers in the United States that are likely to adopt data analytics solutions.", 
      id: "eng-grp-0a1b2c3d4e5f6g", 
      name: "US retail data analytics", 
      readiness_level: "SalesReady", 
      updated_at: Time.parse("2026-10-22T18:30:00Z"), 
    }, 
  ], 
}

Request syntax with placeholder values


resp = client.list_engagement_groups({
  catalog: "CatalogIdentifier", # required
  readiness_level: "SalesReady", # accepts SalesReady, MarketingReady, LowPotential
  sort: {
    sort_by: "Count", # required, accepts Count, UpdatedAt
    sort_order: "ASCENDING", # required, accepts ASCENDING, DESCENDING
  },
  engagement_group_identifiers: ["EngagementGroupArnOrIdentifier"],
  max_results: 1,
  next_token: "LeadsNextToken",
})

Response structure


resp.engagement_group_summaries #=> Array
resp.engagement_group_summaries[0].id #=> String
resp.engagement_group_summaries[0].arn #=> String
resp.engagement_group_summaries[0].catalog #=> String
resp.engagement_group_summaries[0].name #=> String
resp.engagement_group_summaries[0].description #=> String
resp.engagement_group_summaries[0].count #=> Integer
resp.engagement_group_summaries[0].readiness_level #=> String, one of "SalesReady", "MarketingReady", "LowPotential"
resp.engagement_group_summaries[0].updated_at #=> Time
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog in which to list engagement groups. The following values are valid:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :readiness_level (String) —

    Filters the results to engagement groups with the specified readiness level. If you omit this field, the operation returns groups of all readiness levels.

  • :sort (Types::EngagementGroupSort) —

    Specifies the field and direction used to sort the results. You can sort by Count or UpdatedAt. If you omit this field, the operation returns groups in recommended order.

  • :engagement_group_identifiers (Array<String>) —

    Filters the results to the specified engagement groups. Each entry can be an engagement group identifier or an engagement group ARN. You can specify 1 to 10 entries. Identifiers that don't match an active group available to you are ignored.

  • :max_results (Integer) —

    Specifies the maximum number of results to return in a single call. If you omit this value, the operation returns up to 20 results. Use this value to control pagination together with NextToken.

  • :next_token (String) —

    A pagination token returned by a previous call. Pass it in a subsequent call to retrieve the next page of results. Omit it on the first call.

Returns:

See Also:



3590
3591
3592
3593
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 3590

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

#list_engagement_invitations(params = {}) ⇒ Types::ListEngagementInvitationsResponse

Retrieves a list of engagement invitations sent to the partner. This allows partners to view all pending or past engagement invitations, helping them track opportunities shared by AWS.

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

Examples:

Request syntax with placeholder values


resp = client.list_engagement_invitations({
  catalog: "CatalogIdentifier", # required
  max_results: 1,
  next_token: "String",
  sort: {
    sort_order: "ASCENDING", # required, accepts ASCENDING, DESCENDING
    sort_by: "InvitationDate", # required, accepts InvitationDate
  },
  payload_type: ["OpportunityInvitation"], # accepts OpportunityInvitation, LeadInvitation, AccountPlanningInvitation
  participant_type: "SENDER", # required, accepts SENDER, RECEIVER
  status: ["ACCEPTED"], # accepts ACCEPTED, PENDING, REJECTED, EXPIRED
  engagement_identifier: ["EngagementArnOrIdentifier"],
  sender_aws_account_id: ["AwsAccount"],
})

Response structure


resp.engagement_invitation_summaries #=> Array
resp.engagement_invitation_summaries[0].arn #=> String
resp.engagement_invitation_summaries[0].payload_type #=> String, one of "OpportunityInvitation", "LeadInvitation", "AccountPlanningInvitation"
resp.engagement_invitation_summaries[0].id #=> String
resp.engagement_invitation_summaries[0].engagement_id #=> String
resp.engagement_invitation_summaries[0].engagement_title #=> String
resp.engagement_invitation_summaries[0].status #=> String, one of "ACCEPTED", "PENDING", "REJECTED", "EXPIRED"
resp.engagement_invitation_summaries[0].invitation_date #=> Time
resp.engagement_invitation_summaries[0].expiration_date #=> Time
resp.engagement_invitation_summaries[0]. #=> String
resp.engagement_invitation_summaries[0].sender_company_name #=> String
resp.engagement_invitation_summaries[0].receiver..alias #=> String
resp.engagement_invitation_summaries[0].receiver.. #=> String
resp.engagement_invitation_summaries[0].catalog #=> String
resp.engagement_invitation_summaries[0].participant_type #=> String, one of "SENDER", "RECEIVER"
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog from which to list the engagement invitations. Use AWS for production invitations or Sandbox for testing environments.

  • :max_results (Integer) —

    Specifies the maximum number of engagement invitations to return in the response. If more results are available, a pagination token will be provided.

  • :next_token (String) —

    A pagination token used to retrieve additional pages of results when the response to a previous request was truncated. Pass this token to continue listing invitations from where the previous call left off.

  • :sort (Types::OpportunityEngagementInvitationSort) —

    Specifies the sorting options for listing engagement invitations. Invitations can be sorted by fields such as InvitationDate or Status to help partners view results in their preferred order.

  • :payload_type (Array<String>) —

    Defines the type of payload associated with the engagement invitations to be listed. The attributes in this payload help decide on acceptance or rejection of the invitation.

  • :participant_type (required, String) —

    Specifies the type of participant for which to list engagement invitations. Identifies the role of the participant.

  • :status (Array<String>) —

    Status values to filter the invitations.

  • :engagement_identifier (Array<String>) —

    Retrieves a list of engagement invitation summaries based on specified filters. The ListEngagementInvitations operation allows you to view all invitations that you have sent or received. You must specify the ParticipantType to filter invitations where you are either the SENDER or the RECEIVER. Invitations will automatically expire if not accepted within 15 days.

  • :sender_aws_account_id (Array<String>) —

    List of sender AWS account IDs to filter the invitations.

Returns:

See Also:



3689
3690
3691
3692
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 3689

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

#list_engagement_members(params = {}) ⇒ Types::ListEngagementMembersResponse

Retrieves the details of member partners in an Engagement. This operation can only be invoked by members of the Engagement. The ListEngagementMembers operation allows you to fetch information about the members of a specific Engagement. This action is restricted to members of the Engagement being queried.

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

Examples:

Request syntax with placeholder values


resp = client.list_engagement_members({
  catalog: "CatalogIdentifier", # required
  identifier: "EngagementArnOrIdentifier", # required
  max_results: 1,
  next_token: "String",
})

Response structure


resp.engagement_member_list #=> Array
resp.engagement_member_list[0].company_name #=> String
resp.engagement_member_list[0].website_url #=> String
resp.engagement_member_list[0]. #=> String
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    The catalog related to the request.

  • :identifier (required, String) —

    Identifier of the Engagement record to retrieve members from.

  • :max_results (Integer) —

    The maximum number of results to return in a single call.

  • :next_token (String) —

    The token for the next set of results.

Returns:

See Also:



3740
3741
3742
3743
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 3740

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

#list_engagement_resource_associations(params = {}) ⇒ Types::ListEngagementResourceAssociationsResponse

Lists the associations between resources and engagements where the caller is a member and has at least one snapshot in the engagement.

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

Examples:

Request syntax with placeholder values


resp = client.list_engagement_resource_associations({
  catalog: "CatalogIdentifier", # required
  max_results: 1,
  next_token: "String",
  engagement_identifier: "EngagementIdentifier",
  resource_type: "Opportunity", # accepts Opportunity
  resource_identifier: "ResourceIdentifier",
  created_by: "AwsAccount",
})

Response structure


resp.engagement_resource_association_summaries #=> Array
resp.engagement_resource_association_summaries[0].catalog #=> String
resp.engagement_resource_association_summaries[0].engagement_id #=> String
resp.engagement_resource_association_summaries[0].resource_type #=> String, one of "Opportunity"
resp.engagement_resource_association_summaries[0].resource_id #=> String
resp.engagement_resource_association_summaries[0].created_by #=> String
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog in which to search for engagement-resource associations. Valid Values: "AWS" or "Sandbox"

    • AWS for production environments.

    • Sandbox for testing and development purposes.

  • :max_results (Integer) —

    Limits the number of results returned in a single call. Use this to control the number of results returned, especially useful for pagination.

  • :next_token (String) —

    A token used for pagination of results. Include this token in subsequent requests to retrieve the next set of results.

  • :engagement_identifier (String) —

    Filters the results to include only associations related to the specified engagement. Use this when you want to find all resources associated with a specific engagement.

  • :resource_type (String) —

    Filters the results to include only associations with resources of the specified type.

  • :resource_identifier (String) —

    Filters the results to include only associations with the specified resource. Varies depending on the resource type. Use this when you want to find all engagements associated with a specific resource.

  • :created_by (String) —

    Filters the response to include only snapshots of resources owned by the specified AWS account ID. Use this when you want to find associations related to resources owned by a particular account.

Returns:

See Also:



3817
3818
3819
3820
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 3817

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

#list_engagements(params = {}) ⇒ Types::ListEngagementsResponse

This action allows users to retrieve a list of Engagement records from Partner Central. This action can be used to manage and track various engagements across different stages of the partner selling process.

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

Examples:

Request syntax with placeholder values


resp = client.list_engagements({
  catalog: "CatalogIdentifier", # required
  created_by: ["AwsAccount"],
  exclude_created_by: ["AwsAccount"],
  context_types: ["CustomerProject"], # accepts CustomerProject, Lead, ProspectingResult, CustomerAccount
  exclude_context_types: ["CustomerProject"], # accepts CustomerProject, Lead, ProspectingResult, CustomerAccount
  sort: {
    sort_order: "ASCENDING", # required, accepts ASCENDING, DESCENDING
    sort_by: "CreatedDate", # required, accepts CreatedDate
  },
  max_results: 1,
  next_token: "String",
  engagement_identifier: ["EngagementArnOrIdentifier"],
})

Response structure


resp.engagement_summary_list #=> Array
resp.engagement_summary_list[0].arn #=> String
resp.engagement_summary_list[0].id #=> String
resp.engagement_summary_list[0].title #=> String
resp.engagement_summary_list[0].created_at #=> Time
resp.engagement_summary_list[0].created_by #=> String
resp.engagement_summary_list[0].member_count #=> Integer
resp.engagement_summary_list[0].modified_at #=> Time
resp.engagement_summary_list[0].modified_by #=> String
resp.engagement_summary_list[0].context_types #=> Array
resp.engagement_summary_list[0].context_types[0] #=> String, one of "CustomerProject", "Lead", "ProspectingResult", "CustomerAccount"
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog related to the request.

  • :created_by (Array<String>) —

    A list of AWS account IDs. When specified, the response includes engagements created by these accounts. This filter is useful for finding engagements created by specific team members.

  • :exclude_created_by (Array<String>) —

    An array of strings representing AWS Account IDs. Use this to exclude engagements created by specific users.

  • :context_types (Array<String>) —

    Filters engagements to include only those containing the specified context types, such as "CustomerProject" or "Lead". Use this to find engagements that have specific types of contextual information associated with them.

  • :exclude_context_types (Array<String>) —

    Filters engagements to exclude those containing the specified context types. Use this to find engagements that do not have certain types of contextual information, helping to narrow results based on context exclusion criteria.

  • :sort (Types::EngagementSort) —

    Specifies how to sort the returned engagements.

  • :max_results (Integer) —

    The maximum number of results to return in a single call.

  • :next_token (String) —

    The token for the next set of results. This value is returned from a previous call.

  • :engagement_identifier (Array<String>) —

    An array of strings representing engagement identifiers to retrieve.

Returns:

See Also:



3906
3907
3908
3909
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 3906

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

#list_opportunities(params = {}) ⇒ Types::ListOpportunitiesResponse

This request accepts a list of filters that retrieve opportunity subsets as well as sort options. This feature is available to partners from Partner Central using the ListOpportunities API action.

To synchronize your system with Amazon Web Services, list only the opportunities that were newly created or updated. We recommend you rely on events emitted by the service into your Amazon Web Services account’s Amazon EventBridge default event bus. You can also use the ListOpportunities action.

We recommend the following approach:

  1. Find the latest LastModifiedDate that you stored, and only use the values that came from Amazon Web Services. Don’t use values generated by your system.

  2. When you send a ListOpportunities request, submit the date in ISO 8601 format in the AfterLastModifiedDate filter.

  3. Amazon Web Services only returns opportunities created or updated on or after that date and time. Use NextToken to iterate over all pages.

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

Examples:

Request syntax with placeholder values


resp = client.list_opportunities({
  catalog: "CatalogIdentifier", # required
  max_results: 1,
  next_token: "String",
  sort: {
    sort_order: "ASCENDING", # required, accepts ASCENDING, DESCENDING
    sort_by: "LastModifiedDate", # required, accepts LastModifiedDate, Identifier, CustomerCompanyName, CreatedDate, TargetCloseDate
  },
  last_modified_date: {
    after_last_modified_date: Time.now,
    before_last_modified_date: Time.now,
  },
  identifier: ["OpportunityIdentifier"],
  life_cycle_stage: ["Prospect"], # accepts Prospect, Qualified, Technical Validation, Business Validation, Committed, Launched, Closed Lost
  life_cycle_review_status: ["Pending Submission"], # accepts Pending Submission, Submitted, In review, Approved, Rejected, Action Required
  customer_company_name: ["String"],
  created_date: {
    after_created_date: Time.now,
    before_created_date: Time.now,
  },
  target_close_date: {
    after_target_close_date: "Date",
    before_target_close_date: "Date",
  },
})

Response structure


resp.opportunity_summaries #=> Array
resp.opportunity_summaries[0].catalog #=> String
resp.opportunity_summaries[0].id #=> String
resp.opportunity_summaries[0].arn #=> String
resp.opportunity_summaries[0].partner_opportunity_identifier #=> String
resp.opportunity_summaries[0].opportunity_type #=> String, one of "Net New Business", "Flat Renewal", "Expansion"
resp.opportunity_summaries[0].last_modified_date #=> Time
resp.opportunity_summaries[0].created_date #=> Time
resp.opportunity_summaries[0].life_cycle.stage #=> String, one of "Prospect", "Qualified", "Technical Validation", "Business Validation", "Committed", "Launched", "Closed Lost"
resp.opportunity_summaries[0].life_cycle.closed_lost_reason #=> String, one of "Customer Deficiency", "Delay / Cancellation of Project", "Legal / Tax / Regulatory", "Lost to Competitor - Google", "Lost to Competitor - Microsoft", "Lost to Competitor - SoftLayer", "Lost to Competitor - VMWare", "Lost to Competitor - Other", "No Opportunity", "On Premises Deployment", "Partner Gap", "Price", "Security / Compliance", "Technical Limitations", "Customer Experience", "Other", "People/Relationship/Governance", "Product/Technology", "Financial/Commercial"
resp.opportunity_summaries[0].life_cycle.next_steps #=> String
resp.opportunity_summaries[0].life_cycle.target_close_date #=> String
resp.opportunity_summaries[0].life_cycle.review_status #=> String, one of "Pending Submission", "Submitted", "In review", "Approved", "Rejected", "Action Required"
resp.opportunity_summaries[0].life_cycle.review_comments #=> String
resp.opportunity_summaries[0].life_cycle.review_status_reason #=> String
resp.opportunity_summaries[0].customer..industry #=> String, one of "Aerospace", "Agriculture", "Automotive", "Computers and Electronics", "Consumer Goods", "Education", "Energy - Oil and Gas", "Energy - Power and Utilities", "Financial Services", "Gaming", "Government", "Healthcare", "Hospitality", "Life Sciences", "Manufacturing", "Marketing and Advertising", "Media and Entertainment", "Mining", "Non-Profit Organization", "Professional Services", "Real Estate and Construction", "Retail", "Software and Internet", "Telecommunications", "Transportation and Logistics", "Travel", "Wholesale and Distribution", "Other"
resp.opportunity_summaries[0].customer..other_industry #=> String
resp.opportunity_summaries[0].customer..company_name #=> String
resp.opportunity_summaries[0].customer..website_url #=> String
resp.opportunity_summaries[0].customer..address.city #=> String
resp.opportunity_summaries[0].customer..address.postal_code #=> String
resp.opportunity_summaries[0].customer..address.state_or_region #=> String
resp.opportunity_summaries[0].customer..address.country_code #=> String, one of "US", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "CD", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"
resp.opportunity_summaries[0].project.delivery_models #=> Array
resp.opportunity_summaries[0].project.delivery_models[0] #=> String, one of "SaaS or PaaS", "BYOL or AMI", "Managed Services", "Professional Services", "Resell", "Other"
resp.opportunity_summaries[0].project.expected_customer_spend #=> Array
resp.opportunity_summaries[0].project.expected_customer_spend[0].amount #=> String
resp.opportunity_summaries[0].project.expected_customer_spend[0].currency_code #=> String, one of "USD", "EUR", "GBP", "AUD", "CAD", "CNY", "NZD", "INR", "JPY", "CHF", "SEK", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CDF", "CHE", "CHW", "CLF", "CLP", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "FKP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IQD", "IRR", "ISK", "JMD", "JOD", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USN", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "XSU", "XUA", "YER", "ZAR", "ZMW", "ZWL"
resp.opportunity_summaries[0].project.expected_customer_spend[0].frequency #=> String, one of "Monthly"
resp.opportunity_summaries[0].project.expected_customer_spend[0].target_company #=> String
resp.opportunity_summaries[0].project.expected_customer_spend[0].estimation_url #=> String
resp.opportunity_summaries[0].project.expected_contract_duration.term #=> String, one of "Months"
resp.opportunity_summaries[0].project.expected_contract_duration.value #=> String
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunities are listed in. Use AWS for listing real opportunities in the Amazon Web Services catalog, and Sandbox for testing in secure, isolated environments.

  • :max_results (Integer) —

    Specifies the maximum number of results to return in a single call. This limits the number of opportunities returned in the response to avoid providing too many results at once.

    Default: 20

  • :next_token (String) —

    A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.

  • :sort (Types::OpportunitySort) —

    An object that specifies how the response is sorted. The default Sort.SortBy value is LastModifiedDate.

  • :last_modified_date (Types::LastModifiedDate) —

    Filters the opportunities based on their last modified date. This filter helps retrieve opportunities that were updated after the specified date, allowing partners to track recent changes or updates.

  • :identifier (Array<String>) —

    Filters the opportunities based on the opportunity identifier. This allows partners to retrieve specific opportunities by providing their unique identifiers, ensuring precise results.

  • :life_cycle_stage (Array<String>) —

    Filters the opportunities based on their lifecycle stage. This filter allows partners to retrieve opportunities at various stages in the sales cycle, such as Qualified, Technical Validation, Business Validation, or Closed Won.

  • :life_cycle_review_status (Array<String>) —

    Filters the opportunities based on their current lifecycle approval status. Use this filter to retrieve opportunities with statuses such as Pending Submission, In Review, Action Required, or Approved.

  • :customer_company_name (Array<String>) —

    Filters the opportunities based on the customer's company name. This allows partners to search for opportunities associated with a specific customer by matching the provided company name string.

  • :created_date (Types::CreatedDateFilter) —

    Filter opportunities by creation date criteria.

  • :target_close_date (Types::TargetCloseDateFilter) —

    Filters opportunities based on their target close date. This filter helps retrieve opportunities with an expected close date before or after a specified date.

Returns:

See Also:



4072
4073
4074
4075
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 4072

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

#list_opportunity_bulk_job_results(params = {}) ⇒ Types::ListOpportunityBulkJobResultsResponse

Lists the outcome of each record in an opportunity bulk job. You can filter the results by record status.

Results are paginated. Use NextToken to retrieve additional results.

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

Examples:

Request syntax with placeholder values


resp = client.list_opportunity_bulk_job_results({
  catalog: "CatalogIdentifier", # required
  max_results: 1,
  next_token: "String",
  job_id: "BulkJobId", # required
  status: "SUCCEEDED", # accepts SUCCEEDED, FAILED
})

Response structure


resp.results #=> Array
resp.results[0].request_id #=> String
resp.results[0].status #=> String, one of "SUCCEEDED", "FAILED"
resp.results[0].resource_identifier #=> String
resp.results[0].error_code #=> String
resp.results[0].error_message #=> String
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog for the request. Valid values:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :max_results (Integer) —

    Specifies the maximum number of results to return in a single call.

    Default: 20

  • :next_token (String) —

    A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.

  • :job_id (required, String) —

    Specifies the identifier of the bulk job.

  • :status (String) —

    Filters the results to records with this status.

Returns:

See Also:



4136
4137
4138
4139
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 4136

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

#list_opportunity_bulk_jobs(params = {}) ⇒ Types::ListOpportunityBulkJobsResponse

Lists the opportunity bulk jobs in the specified catalog, newest first. You can filter the results by job identifier or status.

Results are paginated. Use NextToken to retrieve additional results.

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

Examples:

Request syntax with placeholder values


resp = client.list_opportunity_bulk_jobs({
  catalog: "CatalogIdentifier", # required
  max_results: 1,
  next_token: "String",
  job_id: "BulkJobId",
  status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED, FAILED
})

Response structure


resp.opportunity_bulk_job_summaries #=> Array
resp.opportunity_bulk_job_summaries[0].job_id #=> String
resp.opportunity_bulk_job_summaries[0].status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED"
resp.opportunity_bulk_job_summaries[0].total_records #=> Integer
resp.opportunity_bulk_job_summaries[0].processed_records #=> Integer
resp.opportunity_bulk_job_summaries[0].success_count #=> Integer
resp.opportunity_bulk_job_summaries[0].failure_count #=> Integer
resp.opportunity_bulk_job_summaries[0].created_at #=> Time
resp.opportunity_bulk_job_summaries[0].started_at #=> Time
resp.opportunity_bulk_job_summaries[0].completed_at #=> Time
resp.opportunity_bulk_job_summaries[0].failure_reason #=> String
resp.opportunity_bulk_job_summaries[0].file_name #=> String
resp.opportunity_bulk_job_summaries[0].operation_type #=> String, one of "BULK_CREATE", "BULK_UPDATE"
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog for the request. Valid values:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :max_results (Integer) —

    Specifies the maximum number of results to return in a single call.

    Default: 20

  • :next_token (String) —

    A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.

  • :job_id (String) —

    Filters the results to the bulk job with this identifier.

  • :status (String) —

    Filters the results to bulk jobs with this status.

Returns:

See Also:



4207
4208
4209
4210
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 4207

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

#list_opportunity_from_engagement_tasks(params = {}) ⇒ Types::ListOpportunityFromEngagementTasksResponse

Lists all in-progress, completed, or failed opportunity creation tasks from engagements that were initiated by the caller's account.

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

Examples:

Request syntax with placeholder values


resp = client.list_opportunity_from_engagement_tasks({
  max_results: 1,
  next_token: "ListOpportunityFromEngagementTasksRequestNextTokenString",
  sort: {
    sort_order: "ASCENDING", # required, accepts ASCENDING, DESCENDING
    sort_by: "StartTime", # required, accepts StartTime
  },
  catalog: "CatalogIdentifier", # required
  task_status: ["IN_PROGRESS"], # accepts IN_PROGRESS, COMPLETE, FAILED
  task_identifier: ["TaskArnOrIdentifier"],
  opportunity_identifier: ["OpportunityIdentifier"],
  engagement_identifier: ["EngagementArnOrIdentifier"],
  context_identifier: ["ContextIdentifier"],
})

Response structure


resp.task_summaries #=> Array
resp.task_summaries[0].task_id #=> String
resp.task_summaries[0].task_arn #=> String
resp.task_summaries[0].start_time #=> Time
resp.task_summaries[0].task_status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED"
resp.task_summaries[0].message #=> String
resp.task_summaries[0].reason_code #=> String, one of "InvitationAccessDenied", "InvitationValidationFailed", "EngagementAccessDenied", "OpportunityAccessDenied", "ResourceSnapshotJobAccessDenied", "ResourceSnapshotJobValidationFailed", "ResourceSnapshotJobConflict", "EngagementValidationFailed", "EngagementConflict", "OpportunitySubmissionFailed", "EngagementInvitationConflict", "InternalError", "OpportunityValidationFailed", "OpportunityConflict", "ResourceSnapshotAccessDenied", "ResourceSnapshotValidationFailed", "ResourceSnapshotConflict", "ServiceQuotaExceeded", "RequestThrottled", "ContextNotFound", "CustomerProjectContextNotPermitted", "DisqualifiedLeadNotPermitted"
resp.task_summaries[0].opportunity_id #=> String
resp.task_summaries[0].resource_snapshot_job_id #=> String
resp.task_summaries[0].engagement_id #=> String
resp.task_summaries[0].context_id #=> String
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :max_results (Integer) —

    Specifies the maximum number of results to return in a single page of the response. Use this parameter to control the number of items returned in each request, which can be useful for performance tuning and managing large result sets.

  • :next_token (String) —

    The token for requesting the next page of results. This value is obtained from the NextToken field in the response of a previous call to this API. Use this parameter for pagination when the result set spans multiple pages.

  • :sort (Types::ListTasksSortBase) —

    Specifies how to sort the returned tasks. You can sort by the time that the tasks started.

  • :catalog (required, String) —

    Specifies the catalog related to the request. Valid values are AWS for production environments and Sandbox for testing or development purposes. The catalog determines which environment the task data is retrieved from.

  • :task_status (Array<String>) —

    Filters the tasks based on their current status. This allows you to focus on tasks in specific states. Valid values are COMPLETE for tasks that have finished successfully, INPROGRESS for tasks that are currently running, and FAILED for tasks that have encountered an error and failed to complete.

  • :task_identifier (Array<String>) —

    Filters tasks by their unique identifiers. Use this when you want to retrieve information about specific tasks. Provide the task ID to get details about a particular opportunity creation task.

  • :opportunity_identifier (Array<String>) —

    Filters tasks by the identifiers of the opportunities they created or are associated with. Use this to find tasks related to specific opportunity creation processes.

  • :engagement_identifier (Array<String>) —

    Filters tasks by the identifiers of the engagements from which opportunities are being created. Use this to find all opportunity creation tasks associated with a specific engagement.

  • :context_identifier (Array<String>) —

    Filters tasks by the identifiers of the engagement contexts associated with the opportunity creation. Use this to find tasks related to specific contextual information within engagements that are being converted to opportunities.

Returns:

See Also:



4308
4309
4310
4311
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 4308

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

#list_prospecting_from_engagement_tasks(params = {}) ⇒ Types::ListProspectingFromEngagementTasksResponse

Lists all prospecting tasks initiated by the caller's account. Supports optional filters by task identifier, task name, or start time range. Results can be sorted using configurable options. The response is paginated. Use the NextToken value from each response to retrieve subsequent pages.

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

Examples:

Request syntax with placeholder values


resp = client.list_prospecting_from_engagement_tasks({
  catalog: "CatalogIdentifier", # required
  max_results: 1,
  next_token: "String",
  task_identifier: ["ProspectingTaskIdentifier"],
  task_name: ["TaskName"],
  start_after: Time.now,
  start_before: Time.now,
  sort: {
    sort_order: "ASCENDING", # required, accepts ASCENDING, DESCENDING
    sort_by: "StartTime", # required, accepts StartTime, TaskName, FailedEngagementCount
  },
})

Response structure


resp.next_token #=> String
resp.task_summaries #=> Array
resp.task_summaries[0].task_id #=> String
resp.task_summaries[0].task_arn #=> String
resp.task_summaries[0].task_name #=> String
resp.task_summaries[0].start_time #=> Time
resp.task_summaries[0].end_time #=> Time
resp.task_summaries[0].total_engagement_count #=> Integer
resp.task_summaries[0].completed_engagement_count #=> Integer
resp.task_summaries[0].failed_engagement_count #=> Integer

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog to list tasks from. Specify AWS for production environments and Sandbox for testing and development purposes.

  • :max_results (Integer) —

    The maximum number of results to return in a single page. If additional results exist, the response includes a NextToken value for retrieving the next page. If omitted, the API uses a service-defined default page size.

  • :next_token (String) —

    The pagination token from a previous call to this API. Include this value to retrieve the next page of results. If omitted, the first page is returned.

  • :task_identifier (Array<String>) —

    Filters the results to include only the tasks with the specified identifiers. Provide up to 10 task IDs to narrow the list to specific tasks. If omitted, tasks are not filtered by identifier.

  • :task_name (Array<String>) —

    Filters the results to include only tasks with the specified names. Provide up to 10 task names to narrow the list. If omitted, tasks are not filtered by name.

  • :start_after (Time, DateTime, Date, Integer, String) —

    Filters tasks to include only those that started after the specified timestamp. Use this with StartBefore to define a start-time range for your query. The format follows ISO 8601 date-time notation.

  • :start_before (Time, DateTime, Date, Integer, String) —

    Filters tasks to include only those that started before the specified timestamp. Use this with StartAfter to define a start-time range for your query. The format follows ISO 8601 date-time notation.

  • :sort (Types::ProspectingFromEngagementTaskSort) —

    Specifies the field and order used to sort the returned tasks. If omitted, tasks are returned in the default sort order.

Returns:

See Also:



4398
4399
4400
4401
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 4398

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

#list_resource_snapshot_jobs(params = {}) ⇒ Types::ListResourceSnapshotJobsResponse

Lists resource snapshot jobs owned by the customer. This operation supports various filtering scenarios, including listing all jobs owned by the caller, jobs for a specific engagement, jobs with a specific status, or any combination of these filters.

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

Examples:

Request syntax with placeholder values


resp = client.list_resource_snapshot_jobs({
  catalog: "CatalogIdentifier", # required
  max_results: 1,
  next_token: "String",
  engagement_identifier: "EngagementIdentifier",
  status: "Running", # accepts Running, Stopped
  sort: {
    sort_by: "CreatedDate", # accepts CreatedDate
    sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
  },
})

Response structure


resp.resource_snapshot_job_summaries #=> Array
resp.resource_snapshot_job_summaries[0].id #=> String
resp.resource_snapshot_job_summaries[0].arn #=> String
resp.resource_snapshot_job_summaries[0].engagement_id #=> String
resp.resource_snapshot_job_summaries[0].status #=> String, one of "Running", "Stopped"
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog related to the request.

  • :max_results (Integer) —

    The maximum number of results to return in a single call. If omitted, defaults to 50.

  • :next_token (String) —

    The token for the next set of results.

  • :engagement_identifier (String) —

    The identifier of the engagement to filter the response.

  • :status (String) —

    The status of the jobs to filter the response.

  • :sort (Types::SortObject) —

    Configures the sorting of the response. If omitted, results are sorted by CreatedDate in descending order.

Returns:

See Also:



4462
4463
4464
4465
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 4462

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

#list_resource_snapshots(params = {}) ⇒ Types::ListResourceSnapshotsResponse

Retrieves a list of resource view snapshots based on specified criteria. This operation supports various use cases, including:

  • Fetching all snapshots associated with an engagement.

  • Retrieving snapshots of a specific resource type within an engagement.

  • Obtaining snapshots for a particular resource using a specified template.

  • Accessing the latest snapshot of a resource within an engagement.

  • Filtering snapshots by resource owner.

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

Examples:

Request syntax with placeholder values


resp = client.list_resource_snapshots({
  catalog: "CatalogIdentifier", # required
  max_results: 1,
  next_token: "String",
  engagement_identifier: "EngagementIdentifier", # required
  resource_type: "Opportunity", # accepts Opportunity
  resource_identifier: "ResourceIdentifier",
  resource_snapshot_template_identifier: "ResourceTemplateName",
  created_by: "AwsAccount",
})

Response structure


resp.resource_snapshot_summaries #=> Array
resp.resource_snapshot_summaries[0].arn #=> String
resp.resource_snapshot_summaries[0].revision #=> Integer
resp.resource_snapshot_summaries[0].resource_type #=> String, one of "Opportunity"
resp.resource_snapshot_summaries[0].resource_id #=> String
resp.resource_snapshot_summaries[0].resource_snapshot_template_name #=> String
resp.resource_snapshot_summaries[0].created_by #=> String
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog related to the request.

  • :max_results (Integer) —

    The maximum number of results to return in a single call.

  • :next_token (String) —

    The token for the next set of results.

  • :engagement_identifier (required, String) —

    The unique identifier of the engagement associated with the snapshots.

  • :resource_type (String) —

    Filters the response to include only snapshots of the specified resource type.

  • :resource_identifier (String) —

    Filters the response to include only snapshots of the specified resource.

  • :resource_snapshot_template_identifier (String) —

    Filters the response to include only snapshots created using the specified template.

  • :created_by (String) —

    Filters the response to include only snapshots of resources owned by the specified AWS account.

Returns:

See Also:



4545
4546
4547
4548
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 4545

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

#list_solutions(params = {}) ⇒ Types::ListSolutionsResponse

Retrieves a list of Partner Solutions that the partner registered on Partner Central. This API is used to generate a list of solutions that an end user selects from for association with an opportunity.

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

Examples:

Request syntax with placeholder values


resp = client.list_solutions({
  catalog: "CatalogIdentifier", # required
  max_results: 1,
  next_token: "String",
  sort: {
    sort_order: "ASCENDING", # required, accepts ASCENDING, DESCENDING
    sort_by: "Identifier", # required, accepts Identifier, Name, Status, Category, CreatedDate
  },
  status: ["Active"], # accepts Active, Inactive, Draft
  identifier: ["SolutionIdentifier"],
  category: ["String"],
  aws_marketplace_solution_arn: ["AwsMarketplaceSolutionArn"],
})

Response structure


resp.solution_summaries #=> Array
resp.solution_summaries[0].catalog #=> String
resp.solution_summaries[0].id #=> String
resp.solution_summaries[0].arn #=> String
resp.solution_summaries[0].name #=> String
resp.solution_summaries[0].status #=> String, one of "Active", "Inactive", "Draft"
resp.solution_summaries[0].category #=> String
resp.solution_summaries[0].created_date #=> Time
resp.solution_summaries[0].aws_marketplace_solution_arn #=> String
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the solutions are listed in. Use AWS to list solutions in the Amazon Web Services catalog, and Sandbox to list solutions in a secure and isolated testing environment.

  • :max_results (Integer) —

    The maximum number of results returned by a single call. This value must be provided in the next call to retrieve the next set of results.

    Default: 20

  • :next_token (String) —

    A pagination token used to retrieve the next set of results in subsequent calls. This token is included in the response only if there are additional result pages available.

  • :sort (Types::SolutionSort) —

    Object that configures sorting done on the response. Default Sort.SortBy is Identifier.

  • :status (Array<String>) —

    Filters solutions based on their status. This filter helps partners manage their solution portfolios effectively.

  • :identifier (Array<String>) —

    Filters the solutions based on their unique identifier. Use this filter to retrieve specific solutions by providing the solution's identifier for accurate results.

  • :category (Array<String>) —

    Filters the solutions based on the category to which they belong. This allows partners to search for solutions within specific categories, such as Software, Consulting, or Managed Services.

  • :aws_marketplace_solution_arn (Array<String>) —

    Filters results by AWS Marketplace solution ARN. You can provide up to 10 ARNs.

Returns:

See Also:



4634
4635
4636
4637
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 4634

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

#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse

Returns a list of tags for a resource.

Examples:

Request syntax with placeholder values


resp = client.list_tags_for_resource({
  resource_arn: "TaggableResourceArn", # required
})

Response structure


resp.tags #=> Array
resp.tags[0].key #=> String
resp.tags[0].value #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :resource_arn (required, String) —

    The Amazon Resource Name (ARN) of the resource for which you want to retrieve tags.

Returns:

See Also:



4665
4666
4667
4668
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 4665

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

#put_selling_system_settings(params = {}) ⇒ Types::PutSellingSystemSettingsResponse

Updates the currently set system settings, which include the IAM Role used for resource snapshot jobs.

Examples:

Request syntax with placeholder values


resp = client.put_selling_system_settings({
  catalog: "CatalogIdentifier", # required
  resource_snapshot_job_role_identifier: "ResourceSnapshotJobRoleIdentifier",
})

Response structure


resp.catalog #=> String
resp.resource_snapshot_job_role_arn #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog in which the settings will be updated. Acceptable values include AWS for production and Sandbox for testing environments.

  • :resource_snapshot_job_role_identifier (String) —

    Specifies the ARN of the IAM Role used for resource snapshot job executions.

Returns:

See Also:



4703
4704
4705
4706
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 4703

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

#reject_engagement_invitation(params = {}) ⇒ Struct

This action rejects an EngagementInvitation that AWS shared. Rejecting an invitation indicates that the partner doesn't want to pursue the opportunity, and all related data will become inaccessible thereafter.

Examples:

Request syntax with placeholder values


resp = client.reject_engagement_invitation({
  catalog: "CatalogIdentifier", # required
  identifier: "EngagementInvitationArnOrIdentifier", # required
  rejection_reason: "RejectionReasonString",
})

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    This is the catalog that's associated with the engagement invitation. Acceptable values are AWS or Sandbox, and these values determine the environment in which the opportunity is managed.

  • :identifier (required, String) —

    This is the unique identifier of the rejected EngagementInvitation. Providing the correct identifier helps to ensure that the intended invitation is rejected.

  • :rejection_reason (String) —

    This describes the reason for rejecting the engagement invitation, which helps AWS track usage patterns. Acceptable values include the following:

    • Customer problem unclear: The customer's problem isn't understood.

    • Next steps unclear: The next steps required to proceed aren't understood.

    • Unable to support: The partner is unable to provide support due to resource or capability constraints.

    • Duplicate of partner referral: The opportunity is a duplicate of an existing referral.

    • Other: Any reason not covered by other values.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



4756
4757
4758
4759
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 4756

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

#search_customer_accounts(params = {}) ⇒ Types::SearchCustomerAccountsResponse

Use SearchCustomerAccounts to find customer accounts in the specified catalog. You can filter the results by fields such as enrichment status, industry, geography, and creation date, and sort them by company name, date, or score.

Results are paginated. Use NextToken to retrieve additional results.

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

Examples:

Request syntax with placeholder values


resp = client.search_customer_accounts({
  catalog: "CatalogIdentifier", # required
  filter: {
    and_all_filters: [
      {
        # recursive Filter
      },
    ],
    or_all_filters: [
      {
        # recursive Filter
      },
    ],
    not_filter: {
      # recursive Filter
    },
    equals_to: {
      key: "ENRICHMENT_STATUS", # required, accepts ENRICHMENT_STATUS, COMPANY_NAME, AWS_INDUSTRY, ACCOUNT_PLANNING_QUALIFICATION, PROGRAM_ELIGIBILITY, IMPORT_ID, CREATED_DATE, LAST_MODIFIED_DATE, GEO, COUNTRY, SEGMENT, SOLUTION_CATEGORY, MARKETPLACE_ENGAGEMENT_SCORE, SOLUTION_SCORE
      value: { # required
        string_value: "String",
        string_list_value: ["AccountFilterStringListMemberString"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    contains_any: {
      key: "ENRICHMENT_STATUS", # required, accepts ENRICHMENT_STATUS, COMPANY_NAME, AWS_INDUSTRY, ACCOUNT_PLANNING_QUALIFICATION, PROGRAM_ELIGIBILITY, IMPORT_ID, CREATED_DATE, LAST_MODIFIED_DATE, GEO, COUNTRY, SEGMENT, SOLUTION_CATEGORY, MARKETPLACE_ENGAGEMENT_SCORE, SOLUTION_SCORE
      value: { # required
        string_value: "String",
        string_list_value: ["AccountFilterStringListMemberString"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    contains_all: {
      key: "ENRICHMENT_STATUS", # required, accepts ENRICHMENT_STATUS, COMPANY_NAME, AWS_INDUSTRY, ACCOUNT_PLANNING_QUALIFICATION, PROGRAM_ELIGIBILITY, IMPORT_ID, CREATED_DATE, LAST_MODIFIED_DATE, GEO, COUNTRY, SEGMENT, SOLUTION_CATEGORY, MARKETPLACE_ENGAGEMENT_SCORE, SOLUTION_SCORE
      value: { # required
        string_value: "String",
        string_list_value: ["AccountFilterStringListMemberString"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    greater_than: {
      key: "ENRICHMENT_STATUS", # required, accepts ENRICHMENT_STATUS, COMPANY_NAME, AWS_INDUSTRY, ACCOUNT_PLANNING_QUALIFICATION, PROGRAM_ELIGIBILITY, IMPORT_ID, CREATED_DATE, LAST_MODIFIED_DATE, GEO, COUNTRY, SEGMENT, SOLUTION_CATEGORY, MARKETPLACE_ENGAGEMENT_SCORE, SOLUTION_SCORE
      value: { # required
        string_value: "String",
        string_list_value: ["AccountFilterStringListMemberString"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    greater_than_or_equals: {
      key: "ENRICHMENT_STATUS", # required, accepts ENRICHMENT_STATUS, COMPANY_NAME, AWS_INDUSTRY, ACCOUNT_PLANNING_QUALIFICATION, PROGRAM_ELIGIBILITY, IMPORT_ID, CREATED_DATE, LAST_MODIFIED_DATE, GEO, COUNTRY, SEGMENT, SOLUTION_CATEGORY, MARKETPLACE_ENGAGEMENT_SCORE, SOLUTION_SCORE
      value: { # required
        string_value: "String",
        string_list_value: ["AccountFilterStringListMemberString"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    less_than: {
      key: "ENRICHMENT_STATUS", # required, accepts ENRICHMENT_STATUS, COMPANY_NAME, AWS_INDUSTRY, ACCOUNT_PLANNING_QUALIFICATION, PROGRAM_ELIGIBILITY, IMPORT_ID, CREATED_DATE, LAST_MODIFIED_DATE, GEO, COUNTRY, SEGMENT, SOLUTION_CATEGORY, MARKETPLACE_ENGAGEMENT_SCORE, SOLUTION_SCORE
      value: { # required
        string_value: "String",
        string_list_value: ["AccountFilterStringListMemberString"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    less_than_or_equals: {
      key: "ENRICHMENT_STATUS", # required, accepts ENRICHMENT_STATUS, COMPANY_NAME, AWS_INDUSTRY, ACCOUNT_PLANNING_QUALIFICATION, PROGRAM_ELIGIBILITY, IMPORT_ID, CREATED_DATE, LAST_MODIFIED_DATE, GEO, COUNTRY, SEGMENT, SOLUTION_CATEGORY, MARKETPLACE_ENGAGEMENT_SCORE, SOLUTION_SCORE
      value: { # required
        string_value: "String",
        string_list_value: ["AccountFilterStringListMemberString"],
        long_value: 1,
        date_value: Time.now,
      },
    },
  },
  sort: {
    sort_by: "COMPANY_NAME", # required, accepts COMPANY_NAME, CREATED_DATE, LAST_MODIFIED_DATE, MARKETPLACE_ENGAGEMENT_SCORE, SOLUTION_SCORE
    sort_order: "ASCENDING", # required, accepts ASCENDING, DESCENDING
  },
  max_results: 1,
  next_token: "NextToken",
})

Response structure


resp. #=> Array
resp.[0].arn #=> String
resp.[0].id #=> String
resp.[0].catalog #=> String
resp.[0].enrichment_status #=> String, one of "PENDING", "ENRICHED", "NO_MATCH_FOUND", "ACTION_REQUIRED"
resp.[0]. #=> String
resp.[0].created_date #=> Time
resp.[0].last_modified_date #=> Time
resp.[0]..company_name #=> String
resp.[0].aws_enrichment.customer.industry #=> String
resp.[0].aws_enrichment.customer. #=> String
resp.[0].aws_enrichment.customer.eligible_programs #=> Array
resp.[0].aws_enrichment.customer.eligible_programs[0] #=> String
resp.[0].aws_enrichment.customer.geo #=> String
resp.[0].aws_enrichment.customer.country #=> String
resp.[0].aws_enrichment.customer.segment #=> String
resp.[0].aws_enrichment.insights.marketplace_engagement_score #=> String
resp.[0].aws_enrichment.insights.solution_category #=> String
resp.[0].aws_enrichment.insights.solution_score #=> String
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog for the request. Valid values:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :filter (Types::Filter) —

    Specifies a filter tree that narrows the customer accounts. Each node either combines child filters or compares a single field to a value.

  • :sort (Types::CustomerAccountSort) —

    Specifies the field and direction used to sort the results.

  • :max_results (Integer) —

    Specifies the maximum number of results to return in a single call. Use this value together with NextToken to control pagination.

  • :next_token (String) —

    Specifies the token for the next page of results. Use the NextToken value from a previous response to retrieve the next page.

Returns:

See Also:



4914
4915
4916
4917
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 4914

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

#search_engagements(params = {}) ⇒ Types::SearchEngagementsResponse

Searches the engagements in AWS Partner Central that match your criteria, such as customer industry or geography. You can combine a free-text Keyword, a structured Filter tree, an engagement group (GroupId), and Sort options, and each search criterion that you specify narrows the results. Results are paginated, so use NextToken to retrieve additional results.

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

Examples:

Example: Search engagements by keyword and customer country


# Returns AWS catalog engagements whose text matches the keyword and whose prospected customer is in the United States,
# newest first.

resp = client.search_engagements({
  catalog: "AWS", 
  filter: {
    equals_to: {
      key: "ProspectingCustomerCountry", 
      value: {
        string_value: "US", 
      }, 
    }, 
  }, 
  keyword: "data analytics", 
  max_results: 20, 
  sort: {
    sort_by: "CreatedAt", 
    sort_order: "DESCENDING", 
  }, 
})

resp.to_h outputs the following:
{
  engagement_search_summaries: [
    {
      arn: "arn:aws:partnercentral:us-east-1::catalog/AWS/engagement/eng-0a1b2c3d4e5f6g", 
      created_at: Time.parse("2026-10-01T18:30:00Z"), 
      created_by: "123456789012", 
      description: "Prospecting engagement for a retail customer evaluating a data analytics platform.", 
      id: "eng-0a1b2c3d4e5f6g", 
      member_count: 1, 
      title: "Data analytics modernization", 
    }, 
  ], 
}

Request syntax with placeholder values


resp = client.search_engagements({
  catalog: "CatalogIdentifier", # required
  keyword: "EngagementSearchKeyword",
  filter: {
    and_all_filters: [
      {
        # recursive EngagementSearchFilter
      },
    ],
    or_all_filters: [
      {
        # recursive EngagementSearchFilter
      },
    ],
    not_filter: {
      # recursive EngagementSearchFilter
    },
    equals_to: {
      key: "EngagementId", # required, accepts EngagementId, Title, PartnerId, CreatedAt, LastModifiedAt, MemberCount, ProspectingCustomerGeo, ProspectingCustomerRegion, ProspectingCustomerIndustry, ProspectingCustomerSegment, ProspectingCustomerCountry, ProspectingCustomerCompanySize, ProspectingInsightsMarketplaceEngagementScore, ProspectingInsightsSolutionCategory, ProspectingInsightsSolutionSubCategory, LeadQualificationStatus, LeadReadinessScore, LeadCustomerIndustry, LeadCustomerCountryCode, LeadCustomerAwsMaturity, LeadCustomerMarketSegment, LeadInteractionsSourceType, LeadCustomerCompanyName, LeadInteractionsContactFirstName, LeadInteractionsContactLastName, LeadInteractionsUsecase, LeadInteractionsSourceName, LeadInteractionsContactBusinessTitle, ContextType
      value: { # required
        string_value: "EngagementSearchStringValue",
        string_list_value: ["EngagementSearchStringValue"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    contains_any: {
      key: "EngagementId", # required, accepts EngagementId, Title, PartnerId, CreatedAt, LastModifiedAt, MemberCount, ProspectingCustomerGeo, ProspectingCustomerRegion, ProspectingCustomerIndustry, ProspectingCustomerSegment, ProspectingCustomerCountry, ProspectingCustomerCompanySize, ProspectingInsightsMarketplaceEngagementScore, ProspectingInsightsSolutionCategory, ProspectingInsightsSolutionSubCategory, LeadQualificationStatus, LeadReadinessScore, LeadCustomerIndustry, LeadCustomerCountryCode, LeadCustomerAwsMaturity, LeadCustomerMarketSegment, LeadInteractionsSourceType, LeadCustomerCompanyName, LeadInteractionsContactFirstName, LeadInteractionsContactLastName, LeadInteractionsUsecase, LeadInteractionsSourceName, LeadInteractionsContactBusinessTitle, ContextType
      value: { # required
        string_value: "EngagementSearchStringValue",
        string_list_value: ["EngagementSearchStringValue"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    contains_all: {
      key: "EngagementId", # required, accepts EngagementId, Title, PartnerId, CreatedAt, LastModifiedAt, MemberCount, ProspectingCustomerGeo, ProspectingCustomerRegion, ProspectingCustomerIndustry, ProspectingCustomerSegment, ProspectingCustomerCountry, ProspectingCustomerCompanySize, ProspectingInsightsMarketplaceEngagementScore, ProspectingInsightsSolutionCategory, ProspectingInsightsSolutionSubCategory, LeadQualificationStatus, LeadReadinessScore, LeadCustomerIndustry, LeadCustomerCountryCode, LeadCustomerAwsMaturity, LeadCustomerMarketSegment, LeadInteractionsSourceType, LeadCustomerCompanyName, LeadInteractionsContactFirstName, LeadInteractionsContactLastName, LeadInteractionsUsecase, LeadInteractionsSourceName, LeadInteractionsContactBusinessTitle, ContextType
      value: { # required
        string_value: "EngagementSearchStringValue",
        string_list_value: ["EngagementSearchStringValue"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    greater_than: {
      key: "EngagementId", # required, accepts EngagementId, Title, PartnerId, CreatedAt, LastModifiedAt, MemberCount, ProspectingCustomerGeo, ProspectingCustomerRegion, ProspectingCustomerIndustry, ProspectingCustomerSegment, ProspectingCustomerCountry, ProspectingCustomerCompanySize, ProspectingInsightsMarketplaceEngagementScore, ProspectingInsightsSolutionCategory, ProspectingInsightsSolutionSubCategory, LeadQualificationStatus, LeadReadinessScore, LeadCustomerIndustry, LeadCustomerCountryCode, LeadCustomerAwsMaturity, LeadCustomerMarketSegment, LeadInteractionsSourceType, LeadCustomerCompanyName, LeadInteractionsContactFirstName, LeadInteractionsContactLastName, LeadInteractionsUsecase, LeadInteractionsSourceName, LeadInteractionsContactBusinessTitle, ContextType
      value: { # required
        string_value: "EngagementSearchStringValue",
        string_list_value: ["EngagementSearchStringValue"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    greater_than_or_equals: {
      key: "EngagementId", # required, accepts EngagementId, Title, PartnerId, CreatedAt, LastModifiedAt, MemberCount, ProspectingCustomerGeo, ProspectingCustomerRegion, ProspectingCustomerIndustry, ProspectingCustomerSegment, ProspectingCustomerCountry, ProspectingCustomerCompanySize, ProspectingInsightsMarketplaceEngagementScore, ProspectingInsightsSolutionCategory, ProspectingInsightsSolutionSubCategory, LeadQualificationStatus, LeadReadinessScore, LeadCustomerIndustry, LeadCustomerCountryCode, LeadCustomerAwsMaturity, LeadCustomerMarketSegment, LeadInteractionsSourceType, LeadCustomerCompanyName, LeadInteractionsContactFirstName, LeadInteractionsContactLastName, LeadInteractionsUsecase, LeadInteractionsSourceName, LeadInteractionsContactBusinessTitle, ContextType
      value: { # required
        string_value: "EngagementSearchStringValue",
        string_list_value: ["EngagementSearchStringValue"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    less_than: {
      key: "EngagementId", # required, accepts EngagementId, Title, PartnerId, CreatedAt, LastModifiedAt, MemberCount, ProspectingCustomerGeo, ProspectingCustomerRegion, ProspectingCustomerIndustry, ProspectingCustomerSegment, ProspectingCustomerCountry, ProspectingCustomerCompanySize, ProspectingInsightsMarketplaceEngagementScore, ProspectingInsightsSolutionCategory, ProspectingInsightsSolutionSubCategory, LeadQualificationStatus, LeadReadinessScore, LeadCustomerIndustry, LeadCustomerCountryCode, LeadCustomerAwsMaturity, LeadCustomerMarketSegment, LeadInteractionsSourceType, LeadCustomerCompanyName, LeadInteractionsContactFirstName, LeadInteractionsContactLastName, LeadInteractionsUsecase, LeadInteractionsSourceName, LeadInteractionsContactBusinessTitle, ContextType
      value: { # required
        string_value: "EngagementSearchStringValue",
        string_list_value: ["EngagementSearchStringValue"],
        long_value: 1,
        date_value: Time.now,
      },
    },
    less_than_or_equals: {
      key: "EngagementId", # required, accepts EngagementId, Title, PartnerId, CreatedAt, LastModifiedAt, MemberCount, ProspectingCustomerGeo, ProspectingCustomerRegion, ProspectingCustomerIndustry, ProspectingCustomerSegment, ProspectingCustomerCountry, ProspectingCustomerCompanySize, ProspectingInsightsMarketplaceEngagementScore, ProspectingInsightsSolutionCategory, ProspectingInsightsSolutionSubCategory, LeadQualificationStatus, LeadReadinessScore, LeadCustomerIndustry, LeadCustomerCountryCode, LeadCustomerAwsMaturity, LeadCustomerMarketSegment, LeadInteractionsSourceType, LeadCustomerCompanyName, LeadInteractionsContactFirstName, LeadInteractionsContactLastName, LeadInteractionsUsecase, LeadInteractionsSourceName, LeadInteractionsContactBusinessTitle, ContextType
      value: { # required
        string_value: "EngagementSearchStringValue",
        string_list_value: ["EngagementSearchStringValue"],
        long_value: 1,
        date_value: Time.now,
      },
    },
  },
  group_id: "GroupId",
  sort: {
    sort_by: "EngagementId", # required, accepts EngagementId, Title, PartnerId, CreatedAt, LastModifiedAt, MemberCount, ProspectingCustomerGeo, ProspectingCustomerRegion, ProspectingCustomerIndustry, ProspectingCustomerSegment, ProspectingCustomerCountry, ProspectingCustomerCompanySize, ProspectingInsightsMarketplaceEngagementScore, ProspectingInsightsSolutionCategory, ProspectingInsightsSolutionSubCategory, LeadQualificationStatus, LeadReadinessScore, LeadCustomerIndustry, LeadCustomerCountryCode, LeadCustomerAwsMaturity, LeadCustomerMarketSegment, LeadCustomerCompanyName, LeadInteractionsContactFirstName, LeadInteractionsContactLastName, LeadInteractionsUsecase, LeadInteractionsContactBusinessTitle
    sort_order: "ASCENDING", # required, accepts ASCENDING, DESCENDING
  },
  max_results: 1,
  next_token: "LeadsNextToken",
})

Response structure


resp.engagement_search_summaries #=> Array
resp.engagement_search_summaries[0].id #=> String
resp.engagement_search_summaries[0].arn #=> String
resp.engagement_search_summaries[0].title #=> String
resp.engagement_search_summaries[0].description #=> String
resp.engagement_search_summaries[0].created_at #=> Time
resp.engagement_search_summaries[0].created_by #=> String
resp.engagement_search_summaries[0].member_count #=> Integer
resp.engagement_search_summaries[0].modified_at #=> Time
resp.engagement_search_summaries[0].modified_by #=> String
resp.engagement_search_summaries[0].contexts #=> Array
resp.engagement_search_summaries[0].contexts[0].id #=> String
resp.engagement_search_summaries[0].contexts[0].type #=> String, one of "CustomerProject", "Lead", "ProspectingResult", "CustomerAccount"
resp.engagement_search_summaries[0].contexts[0].payload.customer_project.customer.industry #=> String, one of "Aerospace", "Agriculture", "Automotive", "Computers and Electronics", "Consumer Goods", "Education", "Energy - Oil and Gas", "Energy - Power and Utilities", "Financial Services", "Gaming", "Government", "Healthcare", "Hospitality", "Life Sciences", "Manufacturing", "Marketing and Advertising", "Media and Entertainment", "Mining", "Non-Profit Organization", "Professional Services", "Real Estate and Construction", "Retail", "Software and Internet", "Telecommunications", "Transportation and Logistics", "Travel", "Wholesale and Distribution", "Other"
resp.engagement_search_summaries[0].contexts[0].payload.customer_project.customer.company_name #=> String
resp.engagement_search_summaries[0].contexts[0].payload.customer_project.customer.website_url #=> String
resp.engagement_search_summaries[0].contexts[0].payload.customer_project.customer.country_code #=> String, one of "US", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "CD", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"
resp.engagement_search_summaries[0].contexts[0].payload.customer_project.project.title #=> String
resp.engagement_search_summaries[0].contexts[0].payload.customer_project.project.business_problem #=> String
resp.engagement_search_summaries[0].contexts[0].payload.customer_project.project.target_completion_date #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.insights.lead_readiness_score #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.insights.channel_recommendation.recommended_channel #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.insights.channel_recommendation.best_outreach_windows #=> Array
resp.engagement_search_summaries[0].contexts[0].payload.lead.insights.channel_recommendation.best_outreach_windows[0].day #=> String, one of "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"
resp.engagement_search_summaries[0].contexts[0].payload.lead.insights.channel_recommendation.best_outreach_windows[0].start_time_utc #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.insights.channel_recommendation.best_outreach_windows[0].end_time_utc #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.qualification_status #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.customer.industry #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.customer.company_name #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.customer.website_url #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.customer.address.city #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.customer.address.postal_code #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.customer.address.state_or_region #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.customer.address.country_code #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.customer.aws_maturity #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.customer.market_segment #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.interactions #=> Array
resp.engagement_search_summaries[0].contexts[0].payload.lead.interactions[0].source_type #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.interactions[0].source_id #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.interactions[0].source_name #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.interactions[0].usecase #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.interactions[0].interaction_date #=> Time
resp.engagement_search_summaries[0].contexts[0].payload.lead.interactions[0].customer_action #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.interactions[0].business_problem #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.interactions[0].contact.business_title #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.interactions[0].contact.email #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.interactions[0].contact.first_name #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.interactions[0].contact.last_name #=> String
resp.engagement_search_summaries[0].contexts[0].payload.lead.interactions[0].contact.phone #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.customer. #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.customer.geo #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.customer.region #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.customer.sub_region #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.customer.country #=> String, one of "US", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "CD", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.customer.industry #=> String, one of "Aerospace", "Agriculture", "Automotive", "Computers and Electronics", "Consumer Goods", "Education", "Energy - Oil and Gas", "Energy - Power and Utilities", "Financial Services", "Gaming", "Government", "Healthcare", "Hospitality", "Life Sciences", "Manufacturing", "Marketing and Advertising", "Media and Entertainment", "Mining", "Non-Profit Organization", "Professional Services", "Real Estate and Construction", "Retail", "Software and Internet", "Telecommunications", "Transportation and Logistics", "Travel", "Wholesale and Distribution", "Other"
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.customer.sub_industry #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.customer.segment #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.customer.company_size #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.customer.eligible_programs #=> Array
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.customer.eligible_programs[0] #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.customer.public_profile_summary #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.insights.marketplace_engagement_score #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.insights.solution_score #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.insights.solution_category #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.insights.solution_sub_category #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.start_time #=> Time
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.end_time #=> Time
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.task_id #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.task_arn #=> String
resp.engagement_search_summaries[0].contexts[0].payload.prospecting_result.aws.task_name #=> String
resp.engagement_search_summaries[0].contexts[0].payload.. #=> String
resp.engagement_search_summaries[0].contexts[0].payload..customer.industry #=> String
resp.engagement_search_summaries[0].contexts[0].payload..customer.company_name #=> String
resp.engagement_search_summaries[0].contexts[0].payload..customer.website_url #=> String
resp.engagement_search_summaries[0].contexts[0].payload..customer.country_code #=> String, one of "US", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "CD", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog to search. The following values are valid:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :keyword (String) —

    An optional free-text query string matched against the engagement title, description, customer company name, and member company names. When provided together with Filter or GroupId, each one narrows the result set.

  • :filter (Types::EngagementSearchFilter) —

    A recursive, structured filter tree. Each node is either a boolean combinator (AndAllFilters, OrAllFilters, or NotFilter) or a leaf predicate (a single comparison such as EqualsTo). When provided together with Keyword or GroupId, each one narrows the result set.

  • :group_id (String) —

    The identifier of an engagement group that ListEngagementGroups returns. When you specify a group, the operation returns only the engagements that match the criteria that define the group. The group must be active and available to you in the specified catalog. Otherwise, the request fails with a ValidationException.

  • :sort (Types::EngagementSearchSort) —

    Specifies the field and direction used to sort the search results. If you omit this field, results are sorted by creation time, newest first.

  • :max_results (Integer) —

    Specifies the maximum number of results to return in a single call. If you omit this value, the operation returns up to 20 results. Use this value to control pagination together with NextToken.

  • :next_token (String) —

    A pagination token returned by a previous call. Pass it in a subsequent call to retrieve the next page of results. Omit it on the first call.

Returns:

See Also:



5188
5189
5190
5191
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 5188

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

#search_opportunities(params = {}) ⇒ Types::SearchOpportunitiesResponse

The SearchOpportunities operation in the AWS Partner Central Selling API searches and filters the opportunities available to you in AWS Partner Central.

You can optionally provide a free-text Keyword, a structured Filter tree, and Sort options. The operation returns a curated summary view of each matching opportunity. If you supply both Keyword and Filter, the operation combines them with a logical AND, so each one narrows the result set.

Results are paginated. Use the NextToken parameter to retrieve additional pages of results.

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

Examples:

Request syntax with placeholder values


resp = client.search_opportunities({
  catalog: "CatalogIdentifier", # required
  max_results: 1,
  next_token: "String",
  keyword: "SearchKeyword",
  filter: {
    and_all_filters: [
      {
        # recursive OpportunitySearchFilter
      },
    ],
    or_all_filters: [
      {
        # recursive OpportunitySearchFilter
      },
    ],
    not_filter: {
      # recursive OpportunitySearchFilter
    },
    equals_to: {
      key: "OpportunityId", # required, accepts OpportunityId, Stage, ReviewStatus, CustomerCompanyName, LastModifiedDate, TargetCloseDate, CreatedDate, CountryCode, PartnerProjectTitle, OpportunityType, PartnerOpportunityIdentifier, Industry, AwsAccountId, ApnPrograms, Origin, Tags, NextStep, OfferId, OfferSetId, AwsMarketplaceSolution, CosellMotion, OpportunityOwner, EstimatedMrr, EngagementScore
      value: { # required
        string_value: "SearchFilterValue",
        string_list_value: ["SearchFilterValue"],
        long_value: 1,
        double_value: 1.0,
        date_value: Time.now,
      },
    },
    contains_any: {
      key: "OpportunityId", # required, accepts OpportunityId, Stage, ReviewStatus, CustomerCompanyName, LastModifiedDate, TargetCloseDate, CreatedDate, CountryCode, PartnerProjectTitle, OpportunityType, PartnerOpportunityIdentifier, Industry, AwsAccountId, ApnPrograms, Origin, Tags, NextStep, OfferId, OfferSetId, AwsMarketplaceSolution, CosellMotion, OpportunityOwner, EstimatedMrr, EngagementScore
      value: { # required
        string_value: "SearchFilterValue",
        string_list_value: ["SearchFilterValue"],
        long_value: 1,
        double_value: 1.0,
        date_value: Time.now,
      },
    },
    contains_all: {
      key: "OpportunityId", # required, accepts OpportunityId, Stage, ReviewStatus, CustomerCompanyName, LastModifiedDate, TargetCloseDate, CreatedDate, CountryCode, PartnerProjectTitle, OpportunityType, PartnerOpportunityIdentifier, Industry, AwsAccountId, ApnPrograms, Origin, Tags, NextStep, OfferId, OfferSetId, AwsMarketplaceSolution, CosellMotion, OpportunityOwner, EstimatedMrr, EngagementScore
      value: { # required
        string_value: "SearchFilterValue",
        string_list_value: ["SearchFilterValue"],
        long_value: 1,
        double_value: 1.0,
        date_value: Time.now,
      },
    },
    greater_than: {
      key: "OpportunityId", # required, accepts OpportunityId, Stage, ReviewStatus, CustomerCompanyName, LastModifiedDate, TargetCloseDate, CreatedDate, CountryCode, PartnerProjectTitle, OpportunityType, PartnerOpportunityIdentifier, Industry, AwsAccountId, ApnPrograms, Origin, Tags, NextStep, OfferId, OfferSetId, AwsMarketplaceSolution, CosellMotion, OpportunityOwner, EstimatedMrr, EngagementScore
      value: { # required
        string_value: "SearchFilterValue",
        string_list_value: ["SearchFilterValue"],
        long_value: 1,
        double_value: 1.0,
        date_value: Time.now,
      },
    },
    greater_than_or_equals: {
      key: "OpportunityId", # required, accepts OpportunityId, Stage, ReviewStatus, CustomerCompanyName, LastModifiedDate, TargetCloseDate, CreatedDate, CountryCode, PartnerProjectTitle, OpportunityType, PartnerOpportunityIdentifier, Industry, AwsAccountId, ApnPrograms, Origin, Tags, NextStep, OfferId, OfferSetId, AwsMarketplaceSolution, CosellMotion, OpportunityOwner, EstimatedMrr, EngagementScore
      value: { # required
        string_value: "SearchFilterValue",
        string_list_value: ["SearchFilterValue"],
        long_value: 1,
        double_value: 1.0,
        date_value: Time.now,
      },
    },
    less_than: {
      key: "OpportunityId", # required, accepts OpportunityId, Stage, ReviewStatus, CustomerCompanyName, LastModifiedDate, TargetCloseDate, CreatedDate, CountryCode, PartnerProjectTitle, OpportunityType, PartnerOpportunityIdentifier, Industry, AwsAccountId, ApnPrograms, Origin, Tags, NextStep, OfferId, OfferSetId, AwsMarketplaceSolution, CosellMotion, OpportunityOwner, EstimatedMrr, EngagementScore
      value: { # required
        string_value: "SearchFilterValue",
        string_list_value: ["SearchFilterValue"],
        long_value: 1,
        double_value: 1.0,
        date_value: Time.now,
      },
    },
    less_than_or_equals: {
      key: "OpportunityId", # required, accepts OpportunityId, Stage, ReviewStatus, CustomerCompanyName, LastModifiedDate, TargetCloseDate, CreatedDate, CountryCode, PartnerProjectTitle, OpportunityType, PartnerOpportunityIdentifier, Industry, AwsAccountId, ApnPrograms, Origin, Tags, NextStep, OfferId, OfferSetId, AwsMarketplaceSolution, CosellMotion, OpportunityOwner, EstimatedMrr, EngagementScore
      value: { # required
        string_value: "SearchFilterValue",
        string_list_value: ["SearchFilterValue"],
        long_value: 1,
        double_value: 1.0,
        date_value: Time.now,
      },
    },
  },
  sort: {
    sort_by: "OpportunityId", # required, accepts OpportunityId, Stage, ReviewStatus, CustomerCompanyName, LastModifiedDate, TargetCloseDate, CreatedDate, CountryCode, PartnerProjectTitle, OpportunityType, PartnerOpportunityIdentifier, Industry, AwsAccountId, Origin, NextStep, CosellMotion, OpportunityOwner, EngagementScore, EstimatedMrr, Tags, OfferId, OfferSetId, ApnPrograms
    sort_order: "ASCENDING", # required, accepts ASCENDING, DESCENDING
  },
})

Response structure


resp.opportunity_search_summaries #=> Array
resp.opportunity_search_summaries[0].id #=> String
resp.opportunity_search_summaries[0].last_modified_date #=> Time
resp.opportunity_search_summaries[0].created_date #=> Time
resp.opportunity_search_summaries[0].opportunity_type #=> String, one of "Net New Business", "Flat Renewal", "Expansion"
resp.opportunity_search_summaries[0].partner_opportunity_identifier #=> String
resp.opportunity_search_summaries[0].life_cycle.review_status #=> String, one of "Pending Submission", "Submitted", "In review", "Approved", "Rejected", "Action Required"
resp.opportunity_search_summaries[0].life_cycle.stage #=> String, one of "Prospect", "Qualified", "Technical Validation", "Business Validation", "Committed", "Launched", "Closed Lost"
resp.opportunity_search_summaries[0].life_cycle.next_steps #=> String
resp.opportunity_search_summaries[0].life_cycle.target_close_date #=> String
resp.opportunity_search_summaries[0].customer..company_name #=> String
resp.opportunity_search_summaries[0].customer..industry #=> String, one of "Aerospace", "Agriculture", "Automotive", "Computers and Electronics", "Consumer Goods", "Education", "Energy - Oil and Gas", "Energy - Power and Utilities", "Financial Services", "Gaming", "Government", "Healthcare", "Hospitality", "Life Sciences", "Manufacturing", "Marketing and Advertising", "Media and Entertainment", "Mining", "Non-Profit Organization", "Professional Services", "Real Estate and Construction", "Retail", "Software and Internet", "Telecommunications", "Transportation and Logistics", "Travel", "Wholesale and Distribution", "Other"
resp.opportunity_search_summaries[0].customer.. #=> String
resp.opportunity_search_summaries[0].customer..address.country_code #=> String, one of "US", "AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "CD", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"
resp.opportunity_search_summaries[0].project.title #=> String
resp.opportunity_search_summaries[0].project.apn_programs #=> Array
resp.opportunity_search_summaries[0].project.apn_programs[0] #=> String
resp.opportunity_search_summaries[0].project.expected_customer_spend #=> Array
resp.opportunity_search_summaries[0].project.expected_customer_spend[0].amount #=> String
resp.opportunity_search_summaries[0].project.expected_customer_spend[0].currency_code #=> String, one of "USD", "EUR", "GBP", "AUD", "CAD", "CNY", "NZD", "INR", "JPY", "CHF", "SEK", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYN", "BZD", "CDF", "CHE", "CHW", "CLF", "CLP", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "FJD", "FKP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IQD", "IRR", "ISK", "JMD", "JOD", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USN", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "XSU", "XUA", "YER", "ZAR", "ZMW", "ZWL"
resp.opportunity_search_summaries[0].tags #=> Array
resp.opportunity_search_summaries[0].tags[0].key #=> String
resp.opportunity_search_summaries[0].tags[0].value #=> String
resp.opportunity_search_summaries[0].related_entity_identifiers.aws_marketplace_offers #=> Array
resp.opportunity_search_summaries[0].related_entity_identifiers.aws_marketplace_offers[0] #=> String
resp.opportunity_search_summaries[0].related_entity_identifiers.aws_marketplace_offer_sets #=> Array
resp.opportunity_search_summaries[0].related_entity_identifiers.aws_marketplace_offer_sets[0] #=> String
resp.opportunity_search_summaries[0].related_entity_identifiers.aws_marketplace_solutions #=> Array
resp.opportunity_search_summaries[0].related_entity_identifiers.aws_marketplace_solutions[0] #=> String
resp.opportunity_search_summaries[0].related_entity_identifiers.solutions #=> Array
resp.opportunity_search_summaries[0].related_entity_identifiers.solutions[0] #=> String
resp.opportunity_search_summaries[0].opportunity_team #=> Array
resp.opportunity_search_summaries[0].opportunity_team[0].first_name #=> String
resp.opportunity_search_summaries[0].opportunity_team[0].last_name #=> String
resp.opportunity_search_summaries[0].opportunity_team[0].business_title #=> String
resp.opportunity_search_summaries[0].aws_opportunity_summary.origin #=> String, one of "AWS Referral", "Partner Referral"
resp.opportunity_search_summaries[0].aws_opportunity_summary.cosell_motion #=> String
resp.opportunity_search_summaries[0].aws_opportunity_summary.insights.engagement_score #=> String, one of "High", "Medium", "Low"
resp.opportunity_search_summaries[0].aws_opportunity_summary.insights.opportunity_quality.score #=> Integer
resp.next_token #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog in which you run the search. Use AWS to search production opportunities, or use Sandbox to search opportunities in a testing environment.

  • :max_results (Integer) —

    The maximum number of results to return in a single call. Use this value to control pagination together with NextToken. If you omit this parameter, the service applies a default page size and returns the remaining results on subsequent pages.

  • :next_token (String) —

    A pagination token returned by a previous call. Pass it in a subsequent call to retrieve the next page of results. Omit it on the first call.

  • :keyword (String) —

    An optional free-text query string matched against opportunity fields. When provided together with Filter, both narrow the result set.

  • :filter (Types::OpportunitySearchFilter) —

    A recursive, structured filter tree. Each node is either a boolean combinator (AndAllFilters, OrAllFilters, or NotFilter) or a leaf predicate (a single comparison such as EqualsTo). When provided together with Keyword, both narrow the result set.

  • :sort (Types::OpportunitySearchSort) —

    Specifies the field and direction used to sort the search results.

Returns:

See Also:



5387
5388
5389
5390
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 5387

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

#start_customer_account_bulk_job(params = {}) ⇒ Types::StartCustomerAccountBulkJobResponse

Use StartCustomerAccountBulkJob to create many customer accounts from a single file. The job starts processing as soon as it is created.

Use GetCustomerAccountBulkJob to track progress, ListCustomerAccountBulkJobResults to review the outcome of each record, and GetCustomerAccountBulkJobReportUrl to download a report when the job finishes.

Examples:

Request syntax with placeholder values


resp = client.({
  catalog: "CatalogIdentifier", # required
  client_token: "ClientToken", # required
  file_uri: "FileUri", # required
})

Response structure


resp.arn #=> String
resp.id #=> String
resp.status #=> String, one of "SUBMITTED", "IN_PROGRESS", "COMPLETED", "FAILED"
resp.created_at #=> Time

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog for the request. Valid values:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :client_token (required, String) —

    Specifies a unique, case-sensitive identifier that you provide to make the request idempotent. If you retry a request with the same token, the operation returns the original job instead of starting another one.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :file_uri (required, String) —

    Specifies the location of the file that contains the customer accounts to create.

Returns:

See Also:



5447
5448
5449
5450
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 5447

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

#start_engagement_by_accepting_invitation_task(params = {}) ⇒ Types::StartEngagementByAcceptingInvitationTaskResponse

This action starts the engagement by accepting an EngagementInvitation. The task is asynchronous and involves the following steps: accepting the invitation, creating an opportunity in the partner’s account from the AWS opportunity, and copying details for tracking. When completed, an Opportunity Created event is generated, indicating that the opportunity has been successfully created in the partner's account.

Examples:

Request syntax with placeholder values


resp = client.start_engagement_by_accepting_invitation_task({
  catalog: "CatalogIdentifier", # required
  client_token: "ClientToken", # required
  identifier: "EngagementInvitationArnOrIdentifier", # required
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
})

Response structure


resp.task_id #=> String
resp.task_arn #=> String
resp.start_time #=> Time
resp.task_status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED"
resp.message #=> String
resp.reason_code #=> String, one of "InvitationAccessDenied", "InvitationValidationFailed", "EngagementAccessDenied", "OpportunityAccessDenied", "ResourceSnapshotJobAccessDenied", "ResourceSnapshotJobValidationFailed", "ResourceSnapshotJobConflict", "EngagementValidationFailed", "EngagementConflict", "OpportunitySubmissionFailed", "EngagementInvitationConflict", "InternalError", "OpportunityValidationFailed", "OpportunityConflict", "ResourceSnapshotAccessDenied", "ResourceSnapshotValidationFailed", "ResourceSnapshotConflict", "ServiceQuotaExceeded", "RequestThrottled", "ContextNotFound", "CustomerProjectContextNotPermitted", "DisqualifiedLeadNotPermitted"
resp.opportunity_id #=> String
resp.resource_snapshot_job_id #=> String
resp.engagement_invitation_id #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog related to the task. Use AWS for production engagements and Sandbox for testing scenarios.

  • :client_token (required, String) —

    A unique, case-sensitive identifier provided by the client that helps to ensure the idempotency of the request. This can be a random or meaningful string but must be unique for each request.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :identifier (required, String) —

    Specifies the unique identifier of the EngagementInvitation to be accepted. Providing the correct identifier helps ensure that the correct engagement is processed.

  • :tags (Array<Types::Tag>) —

    A map of the key-value pairs of the tag or tags to assign.

Returns:

See Also:



5522
5523
5524
5525
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 5522

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

#start_engagement_from_opportunity_task(params = {}) ⇒ Types::StartEngagementFromOpportunityTaskResponse

Similar to StartEngagementByAcceptingInvitationTask, this action is asynchronous and performs multiple steps before completion. This action orchestrates a comprehensive workflow that combines multiple API operations into a single task to create and initiate an engagement from an existing opportunity. It automatically executes a sequence of operations including GetOpportunity, CreateEngagement (if it doesn't exist), CreateResourceSnapshot, CreateResourceSnapshotJob, CreateEngagementInvitation (if not already invited/accepted), and SubmitOpportunity.

Examples:

Request syntax with placeholder values


resp = client.start_engagement_from_opportunity_task({
  catalog: "CatalogIdentifier", # required
  client_token: "ClientToken", # required
  identifier: "OpportunityIdentifier", # required
  aws_submission: { # required
    involvement_type: "For Visibility Only", # required, accepts For Visibility Only, Co-Sell
    visibility: "Full", # accepts Full, Limited
  },
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
})

Response structure


resp.task_id #=> String
resp.task_arn #=> String
resp.start_time #=> Time
resp.task_status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED"
resp.message #=> String
resp.reason_code #=> String, one of "InvitationAccessDenied", "InvitationValidationFailed", "EngagementAccessDenied", "OpportunityAccessDenied", "ResourceSnapshotJobAccessDenied", "ResourceSnapshotJobValidationFailed", "ResourceSnapshotJobConflict", "EngagementValidationFailed", "EngagementConflict", "OpportunitySubmissionFailed", "EngagementInvitationConflict", "InternalError", "OpportunityValidationFailed", "OpportunityConflict", "ResourceSnapshotAccessDenied", "ResourceSnapshotValidationFailed", "ResourceSnapshotConflict", "ServiceQuotaExceeded", "RequestThrottled", "ContextNotFound", "CustomerProjectContextNotPermitted", "DisqualifiedLeadNotPermitted"
resp.opportunity_id #=> String
resp.resource_snapshot_job_id #=> String
resp.engagement_id #=> String
resp.engagement_invitation_id #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog in which the engagement is tracked. Acceptable values include AWS for production and Sandbox for testing environments.

  • :client_token (required, String) —

    A unique token provided by the client to help ensure the idempotency of the request. It helps prevent the same task from being performed multiple times.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :identifier (required, String) —

    The unique identifier of the opportunity from which the engagement task is to be initiated. This helps ensure that the task is applied to the correct opportunity.

  • :aws_submission (required, Types::AwsSubmission) —

    Specifies the level of AWS involvement for the opportunity. The value includes the involvement type and the visibility of that involvement.

  • :tags (Array<Types::Tag>) —

    A map of the key-value pairs of the tag or tags to assign.

Returns:

See Also:



5610
5611
5612
5613
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 5610

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

#start_opportunity_bulk_job(params = {}) ⇒ Types::StartOpportunityBulkJobResponse

The StartOpportunityBulkJob operation creates or updates many opportunities in AWS Partner Central (Partner Central) from a single CSV file. The column headers in the file determine whether the job creates or updates opportunities.

Returns a JobId for the job. Use ListOpportunityBulkJobs to track the job, ListOpportunityBulkJobResults to review each record, and GetOpportunityBulkJobReportUrl to download a report of the failed records.

Examples:

Request syntax with placeholder values


resp = client.start_opportunity_bulk_job({
  catalog: "CatalogIdentifier", # required
  client_token: "ClientToken", # required
  file_uri: "FileUri", # required
  file_format: "CSV", # required, accepts CSV
})

Response structure


resp.job_id #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog for the request. Valid values:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :client_token (required, String) —

    A unique, case-sensitive identifier that you provide to ensure the operation completes no more than one time. If this token matches a previous request with the same parameters, the operation returns the JobId of the original job. If you reuse the token with different parameters, the request fails with a ConflictException.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :file_uri (required, String) —

    Specifies the location of the CSV file that contains the opportunities to create or update. Use one of the following:

    • An s3:// URI of a file that you uploaded to Partner Central for your account. You can add only the versionId query parameter.

    • An https:// presigned Amazon S3 URL

    The file must be a plain-text CSV file no larger than 100 MB.

  • :file_format (required, String) —

    Specifies the format of the input file. The only supported value is CSV.

Returns:

See Also:



5678
5679
5680
5681
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 5678

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

#start_opportunity_from_engagement_task(params = {}) ⇒ Types::StartOpportunityFromEngagementTaskResponse

This action creates an opportunity from an existing engagement context. The task is asynchronous and orchestrates the process of converting engagement contextual information into a structured opportunity record within the partner's account.

Examples:

Request syntax with placeholder values


resp = client.start_opportunity_from_engagement_task({
  catalog: "CatalogIdentifier", # required
  client_token: "ClientToken", # required
  identifier: "EngagementArnOrIdentifier", # required
  context_identifier: "ContextIdentifier", # required
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
})

Response structure


resp.task_id #=> String
resp.task_arn #=> String
resp.start_time #=> Time
resp.task_status #=> String, one of "IN_PROGRESS", "COMPLETE", "FAILED"
resp.message #=> String
resp.reason_code #=> String, one of "InvitationAccessDenied", "InvitationValidationFailed", "EngagementAccessDenied", "OpportunityAccessDenied", "ResourceSnapshotJobAccessDenied", "ResourceSnapshotJobValidationFailed", "ResourceSnapshotJobConflict", "EngagementValidationFailed", "EngagementConflict", "OpportunitySubmissionFailed", "EngagementInvitationConflict", "InternalError", "OpportunityValidationFailed", "OpportunityConflict", "ResourceSnapshotAccessDenied", "ResourceSnapshotValidationFailed", "ResourceSnapshotConflict", "ServiceQuotaExceeded", "RequestThrottled", "ContextNotFound", "CustomerProjectContextNotPermitted", "DisqualifiedLeadNotPermitted"
resp.opportunity_id #=> String
resp.resource_snapshot_job_id #=> String
resp.engagement_id #=> String
resp.context_id #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog in which the opportunity creation task is executed. Acceptable values include AWS for production and Sandbox for testing environments.

  • :client_token (required, String) —

    A unique token provided by the client to help ensure the idempotency of the request. It helps prevent the same task from being performed multiple times.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

  • :identifier (required, String) —

    The unique identifier of the engagement from which the opportunity creation task is to be initiated. This helps ensure that the task is applied to the correct engagement.

  • :context_identifier (required, String) —

    The unique identifier of the engagement context from which to create the opportunity. This specifies the specific contextual information within the engagement that will be used for opportunity creation.

  • :tags (Array<Types::Tag>) —

    A map of the key-value pairs of the tag or tags to assign.

Returns:

See Also:



5759
5760
5761
5762
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 5759

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

#start_prospecting_from_engagement_task(params = {}) ⇒ Types::StartProspectingFromEngagementTaskResponse

Starts a task to convert one or more engagement contexts into new prospecting leads. The task runs asynchronously. To poll for status, use GetProspectingFromEngagementTask, or use ListProspectingFromEngagementTasks to monitor multiple tasks.

Examples:

Request syntax with placeholder values


resp = client.start_prospecting_from_engagement_task({
  catalog: "CatalogIdentifier", # required
  identifiers: ["EngagementIdentifier"], # required
  task_name: "TaskName", # required
  client_token: "ClientToken", # required
})

Response structure


resp.identifiers #=> Array
resp.identifiers[0] #=> String
resp.task_name #=> String
resp.message #=> String
resp.reason_code #=> String
resp.start_time #=> Time
resp.task_id #=> String
resp.task_arn #=> String
resp.task_status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED"

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog in which the task is initiated. Specify AWS for production environments and Sandbox for testing and development purposes.

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

    The list of engagement identifiers to include in this prospecting task. Each identifier must correspond to an existing engagement in the specified catalog. Maximum of 100 identifiers per task.

  • :task_name (required, String) —

    A descriptive name for the task. This name helps identify the task in list and get operations. The name must contain 1 to 128 characters.

  • :client_token (required, String) —

    A unique, case-sensitive identifier provided by the client to ensure idempotency. Making the same request with the same ClientToken returns the same response without creating a duplicate task.

    A suitable default value is auto-generated. You should normally not need to pass this option.**

Returns:

See Also:



5827
5828
5829
5830
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 5827

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

#start_resource_snapshot_job(params = {}) ⇒ Struct

Starts a resource snapshot job that has been previously created.

Examples:

Request syntax with placeholder values


resp = client.start_resource_snapshot_job({
  catalog: "CatalogIdentifier", # required
  resource_snapshot_job_identifier: "ResourceSnapshotJobIdentifier", # required
})

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog related to the request. Valid values are:

    • AWS: Starts the request from the production AWS environment.

    • Sandbox: Starts the request from a sandbox environment used for testing or development purposes.

  • :resource_snapshot_job_identifier (required, String) —

    The identifier of the resource snapshot job to start.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



5858
5859
5860
5861
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 5858

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

#stop_resource_snapshot_job(params = {}) ⇒ Struct

Stops a resource snapshot job. The job must be started prior to being stopped.

Examples:

Request syntax with placeholder values


resp = client.stop_resource_snapshot_job({
  catalog: "CatalogIdentifier", # required
  resource_snapshot_job_identifier: "ResourceSnapshotJobIdentifier", # required
})

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog related to the request. Valid values are:

    • AWS: Stops the request from the production AWS environment.

    • Sandbox: Stops the request from a sandbox environment used for testing or development purposes.

  • :resource_snapshot_job_identifier (required, String) —

    The identifier of the job to stop.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



5890
5891
5892
5893
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 5890

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

#submit_opportunity(params = {}) ⇒ Struct

Use this action to submit an Opportunity that was previously created by partner for AWS review. After you perform this action, the Opportunity becomes non-editable until it is reviewed by AWS and has LifeCycle.ReviewStatus as either Approved or Action Required.

Examples:

Request syntax with placeholder values


resp = client.submit_opportunity({
  catalog: "CatalogIdentifier", # required
  identifier: "OpportunityIdentifier", # required
  involvement_type: "For Visibility Only", # required, accepts For Visibility Only, Co-Sell
  visibility: "Full", # accepts Full, Limited
})

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog related to the request. Valid values are:

    • AWS: Submits the opportunity request from the production AWS environment.

    • Sandbox: Submits the opportunity request from a sandbox environment used for testing or development purposes.

  • :identifier (required, String) —

    The identifier of the Opportunity previously created by partner and needs to be submitted.

  • :involvement_type (required, String) —

    Specifies the level of AWS sellers' involvement on the opportunity. Valid values:

    • Co-sell: Indicates the user wants to co-sell with AWS. Share the opportunity with AWS to receive deal assistance and support.

    • For Visibility Only: Indicates that the user does not need support from AWS Sales Rep. Share this opportunity with AWS for visibility only, you will not receive deal assistance and support.

  • :visibility (String) —

    Determines whether to restrict visibility of the opportunity from AWS sales. Default value is Full. Valid values:

    • Full: The opportunity is fully visible to AWS sales.

    • Limited: The opportunity has restricted visibility to AWS sales.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



5947
5948
5949
5950
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 5947

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

#tag_resource(params = {}) ⇒ Struct

Assigns one or more tags (key-value pairs) to the specified resource.

Examples:

Request syntax with placeholder values


resp = client.tag_resource({
  resource_arn: "TaggableResourceArn", # required
  tags: [ # required
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
})

Parameters:

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

    ({})

Options Hash (params):

  • :resource_arn (required, String) —

    The Amazon Resource Name (ARN) of the resource that you want to tag.

  • :tags (required, Array<Types::Tag>) —

    A map of the key-value pairs of the tag or tags to assign.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



5978
5979
5980
5981
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 5978

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

#untag_resource(params = {}) ⇒ Struct

Removes a tag or tags from a resource.

Examples:

Request syntax with placeholder values


resp = client.untag_resource({
  resource_arn: "TaggableResourceArn", # required
  tag_keys: ["TagKey"], # required
})

Parameters:

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

    ({})

Options Hash (params):

  • :resource_arn (required, String) —

    The Amazon Resource Name (ARN) of the resource that you want to untag.

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

    The keys of the key-value pairs for the tag or tags you want to remove from the specified resource.

Returns:

  • (Struct) —

    Returns an empty response.

See Also:



6005
6006
6007
6008
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 6005

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

#update_customer_account(params = {}) ⇒ Types::UpdateCustomerAccountResponse

Use UpdateCustomerAccount to replace the customer information on an existing customer account. AWS matches the account again with the updated information.

To prevent concurrent changes from overwriting each other, specify the LastModifiedDate value that you last read for the account. If the account changed since then, the request fails with a ConflictException.

Examples:

Request syntax with placeholder values


resp = client.({
  catalog: "CatalogIdentifier", # required
  identifier: "CustomerAccountArnOrIdentifier", # required
  account: { # required
    company_name: "CustomerAccountDataCompanyNameString", # required
    website_url: "CustomerAccountDataWebsiteUrlString",
    duns: "CustomerAccountDataDunsString",
    address: {
      city: "AddressCityString",
      postal_code: "AddressPostalCodeString",
      state_or_region: "AddressPart",
      country_code: "US", # accepts US, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
      street_address: "AddressStreetAddressString",
    },
    industry: "String",
    other_industry: "CustomerAccountDataOtherIndustryString",
    domain: "Domain",
    parent_company_name: "CustomerAccountDataParentCompanyNameString",
  },
  partner_account_identifier: "PartnerAccountIdentifier",
  last_modified_date: Time.now, # required
})

Response structure


resp.arn #=> String
resp.id #=> String
resp.status #=> String, one of "PENDING", "ENRICHED", "NO_MATCH_FOUND", "ACTION_REQUIRED"
resp.catalog #=> String
resp. #=> String
resp.created_date #=> Time
resp.last_modified_date #=> Time

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog for the request. Valid values:

    • AWS: Production.

    • Sandbox: Testing environments.

  • :identifier (required, String) —

    Specifies the ARN or the identifier of the customer account.

  • :account (required, Types::CustomerAccountData) —

    Specifies the complete, updated details of the customer. These details replace the existing details on the customer account.

  • :partner_account_identifier (String) —

    Specifies your own identifier for the customer account, such as the account ID in your CRM system. Use it to correlate the customer account with your records.

  • :last_modified_date (required, Time, DateTime, Date, Integer, String) —

    Specifies the LastModifiedDate of the customer account as you last read it. If it doesn't match the current value, the request fails with a ConflictException.

Returns:

See Also:



6092
6093
6094
6095
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 6092

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

#update_engagement_context(params = {}) ⇒ Types::UpdateEngagementContextResponse

Updates the context information for an existing engagement with new or modified data.

Examples:

Request syntax with placeholder values


resp = client.update_engagement_context({
  catalog: "CatalogIdentifier", # required
  engagement_identifier: "EngagementArnOrIdentifier", # required
  context_identifier: "EngagementContextIdentifier", # required
  engagement_last_modified_at: Time.now, # required
  type: "CustomerProject", # required, accepts CustomerProject, Lead, ProspectingResult, CustomerAccount
  payload: { # required
    lead: {
      qualification_status: "LeadQualificationStatus",
      customer: { # required
        industry: "LeadIndustry",
        company_name: "CompanyName", # required
        website_url: "LeadWebsiteUrl",
        address: {
          city: "LeadAddressCityString",
          postal_code: "LeadAddressPostalCodeString",
          state_or_region: "LeadAddressStateOrRegionString",
          country_code: "LeadCountryCode",
        },
        aws_maturity: "AwsMaturity",
        market_segment: "LeadMarketSegment",
      },
      interaction: {
        source_type: "LeadSourceType",
        source_id: "LeadSourceId",
        source_name: "LeadSourceName",
        usecase: "EngagementUseCase",
        interaction_date: Time.now,
        customer_action: "CustomerAction",
        business_problem: "LeadBusinessProblem",
        contact: { # required
          business_title: "LeadJobTitle", # required
          email: "LeadEmail", # required
          first_name: "Name", # required
          last_name: "Name", # required
          phone: "LeadPhoneNumber",
        },
      },
      insights: {
        lead_readiness_score: "String",
        channel_recommendation: {
          recommended_channel: "ChannelName", # required
          best_outreach_windows: [
            {
              day: "MONDAY", # required, accepts MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
              start_time_utc: "UtcTimeOfDay", # required
              end_time_utc: "UtcTimeOfDay", # required
            },
          ],
        },
      },
    },
    customer_project: {
      customer: {
        industry: "Aerospace", # required, accepts Aerospace, Agriculture, Automotive, Computers and Electronics, Consumer Goods, Education, Energy - Oil and Gas, Energy - Power and Utilities, Financial Services, Gaming, Government, Healthcare, Hospitality, Life Sciences, Manufacturing, Marketing and Advertising, Media and Entertainment, Mining, Non-Profit Organization, Professional Services, Real Estate and Construction, Retail, Software and Internet, Telecommunications, Transportation and Logistics, Travel, Wholesale and Distribution, Other
        company_name: "CompanyName", # required
        website_url: "CompanyWebsiteUrl", # required
        country_code: "US", # required, accepts US, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
      },
      project: {
        title: "EngagementCustomerProjectTitle", # required
        business_problem: "EngagementCustomerBusinessProblem", # required
        target_completion_date: "EngagementCustomerProjectDetailsTargetCompletionDateString", # required
      },
    },
    prospecting_result: {
      aws: {
        customer: {
          account_name: "ProspectingAccountName",
          geo: "ProspectingGeo",
          region: "ProspectingRegion",
          sub_region: "ProspectingSubRegion",
          country: "US", # accepts US, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
          industry: "Aerospace", # accepts Aerospace, Agriculture, Automotive, Computers and Electronics, Consumer Goods, Education, Energy - Oil and Gas, Energy - Power and Utilities, Financial Services, Gaming, Government, Healthcare, Hospitality, Life Sciences, Manufacturing, Marketing and Advertising, Media and Entertainment, Mining, Non-Profit Organization, Professional Services, Real Estate and Construction, Retail, Software and Internet, Telecommunications, Transportation and Logistics, Travel, Wholesale and Distribution, Other
          sub_industry: "ProspectingSubIndustry",
          segment: "ProspectingSegment",
          company_size: "ProspectingCompanySize",
          eligible_programs: ["String"],
          public_profile_summary: "ProspectingPublicProfileSummary",
        },
        insights: {
          marketplace_engagement_score: "EngagementScoreLevel",
          solution_score: "String",
          solution_category: "String",
          solution_sub_category: "String",
        },
        start_time: Time.now,
        end_time: Time.now,
        task_id: "ProspectingTaskIdentifier",
        task_arn: "TaskArn",
        task_name: "TaskName",
      },
    },
  },
})

Response structure


resp.engagement_id #=> String
resp.engagement_arn #=> String
resp.engagement_last_modified_at #=> Time
resp.context_id #=> String

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog associated with the engagement context update request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the engagement context is updated in.

  • :engagement_identifier (required, String) —

    The unique identifier of the Engagement containing the context to be updated. This parameter ensures the context update is applied to the correct engagement.

  • :context_identifier (required, String) —

    The unique identifier of the specific engagement context to be updated. This ensures that the correct context within the engagement is modified.

  • :engagement_last_modified_at (required, Time, DateTime, Date, Integer, String) —

    The timestamp when the engagement was last modified, used for optimistic concurrency control. This helps prevent conflicts when multiple users attempt to update the same engagement simultaneously.

  • :type (required, String) —

    Specifies the type of context being updated within the engagement. This field determines the structure and content of the context payload being modified.

  • :payload (required, Types::UpdateEngagementContextPayload) —

    Contains the updated contextual information for the engagement. The structure of this payload varies based on the context type specified in the Type field.

Returns:

See Also:



6247
6248
6249
6250
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 6247

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

#update_opportunity(params = {}) ⇒ Types::UpdateOpportunityResponse

Updates the Opportunity record identified by a given Identifier. This operation allows you to modify the details of an existing opportunity to reflect the latest information and progress. Use this action to keep the opportunity record up-to-date and accurate.

When you perform updates, include the entire payload with each request. If any field is omitted, the API assumes that the field is set to null. The best practice is to always perform a GetOpportunity to retrieve the latest values, then send the complete payload with the updated values to be changed.

Examples:

Request syntax with placeholder values


resp = client.update_opportunity({
  catalog: "CatalogIdentifier", # required
  primary_needs_from_aws: ["Co-Sell - Architectural Validation"], # accepts Co-Sell - Architectural Validation, Co-Sell - Business Presentation, Co-Sell - Competitive Information, Co-Sell - Pricing Assistance, Co-Sell - Technical Consultation, Co-Sell - Total Cost of Ownership Evaluation, Co-Sell - Deal Support, Co-Sell - Support for Public Tender / RFx
  national_security: "Yes", # accepts Yes, No
  partner_opportunity_identifier: "UpdateOpportunityRequestPartnerOpportunityIdentifierString",
  customer: {
    account: {
      industry: "Aerospace", # accepts Aerospace, Agriculture, Automotive, Computers and Electronics, Consumer Goods, Education, Energy - Oil and Gas, Energy - Power and Utilities, Financial Services, Gaming, Government, Healthcare, Hospitality, Life Sciences, Manufacturing, Marketing and Advertising, Media and Entertainment, Mining, Non-Profit Organization, Professional Services, Real Estate and Construction, Retail, Software and Internet, Telecommunications, Transportation and Logistics, Travel, Wholesale and Distribution, Other
      other_industry: "AccountOtherIndustryString",
      company_name: "AccountCompanyNameString", # required
      website_url: "WebsiteUrl",
      aws_account_id: "AwsAccount",
      address: {
        city: "AddressCityString",
        postal_code: "AddressPostalCodeString",
        state_or_region: "AddressPart",
        country_code: "US", # accepts US, AF, AX, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW
        street_address: "AddressStreetAddressString",
      },
      duns: "DunsNumber",
    },
    contacts: [
      {
        email: "Email",
        first_name: "ContactFirstNameString",
        last_name: "ContactLastNameString",
        business_title: "JobTitle",
        phone: "PhoneNumber",
      },
    ],
  },
  project: {
    delivery_models: ["SaaS or PaaS"], # accepts SaaS or PaaS, BYOL or AMI, Managed Services, Professional Services, Resell, Other
    expected_customer_spend: [
      {
        amount: "Amount",
        currency_code: "USD", # required, accepts USD, EUR, GBP, AUD, CAD, CNY, NZD, INR, JPY, CHF, SEK, AED, AFN, ALL, AMD, ANG, AOA, ARS, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CDF, CHE, CHW, CLF, CLP, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, FJD, FKP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, IQD, IRR, ISK, JMD, JOD, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SGD, SHP, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USN, UYI, UYU, UZS, VEF, VND, VUV, WST, XAF, XCD, XDR, XOF, XPF, XSU, XUA, YER, ZAR, ZMW, ZWL
        frequency: "Monthly", # required, accepts Monthly
        target_company: "ExpectedCustomerSpendTargetCompanyString", # required
        estimation_url: "EstimationUrl",
      },
    ],
    expected_contract_duration: {
      term: "Months", # required, accepts Months
      value: "String", # required
    },
    title: "ProjectTitleString",
    apn_programs: ["String"],
    customer_business_problem: "ProjectCustomerBusinessProblemString",
    customer_use_case: "String",
    related_opportunity_identifier: "OpportunityIdentifier",
    sales_activities: ["Initialized discussions with customer"], # accepts Initialized discussions with customer, Customer has shown interest in solution, Conducted POC / Demo, In evaluation / planning stage, Agreed on solution to Business Problem, Completed Action Plan, Finalized Deployment Need, SOW Signed
    competitor_name: "Oracle Cloud", # accepts Oracle Cloud, On-Prem, Co-location, Akamai, AliCloud, Google Cloud Platform, IBM Softlayer, Microsoft Azure, Other- Cost Optimization, No Competition, *Other
    other_competitor_names: "ProjectOtherCompetitorNamesString",
    other_solution_description: "ProjectOtherSolutionDescriptionString",
    additional_comments: "ProjectAdditionalCommentsString",
    aws_partition: "aws-eusc", # accepts aws-eusc
  },
  opportunity_type: "Net New Business", # accepts Net New Business, Flat Renewal, Expansion
  marketing: {
    campaign_name: "String",
    source: "Marketing Activity", # accepts Marketing Activity, None
    use_cases: ["String"],
    channels: ["AWS Marketing Central"], # accepts AWS Marketing Central, Content Syndication, Display, Email, Live Event, Out Of Home (OOH), Print, Search, Social, Telemarketing, TV, Video, Virtual Event
    aws_funding_used: "Yes", # accepts Yes, No
  },
  software_revenue: {
    delivery_model: "Contract", # accepts Contract, Pay-as-you-go, Subscription
    value: {
      amount: "MonetaryValueAmountString", # required
      currency_code: "USD", # required, accepts USD, EUR, GBP, AUD, CAD, CNY, NZD, INR, JPY, CHF, SEK, AED, AFN, ALL, AMD, ANG, AOA, ARS, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BOV, BRL, BSD, BTN, BWP, BYN, BZD, CDF, CHE, CHW, CLF, CLP, COP, COU, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, FJD, FKP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, IQD, IRR, ISK, JMD, JOD, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MXV, MYR, MZN, NAD, NGN, NIO, NOK, NPR, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SGD, SHP, SLL, SOS, SRD, SSP, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USN, UYI, UYU, UZS, VEF, VND, VUV, WST, XAF, XCD, XDR, XOF, XPF, XSU, XUA, YER, ZAR, ZMW, ZWL
    },
    effective_date: "Date",
    expiration_date: "Date",
  },
  last_modified_date: Time.now, # required
  identifier: "OpportunityIdentifier", # required
  life_cycle: {
    stage: "Prospect", # accepts Prospect, Qualified, Technical Validation, Business Validation, Committed, Launched, Closed Lost
    closed_lost_reason: "Customer Deficiency", # accepts Customer Deficiency, Delay / Cancellation of Project, Legal / Tax / Regulatory, Lost to Competitor - Google, Lost to Competitor - Microsoft, Lost to Competitor - SoftLayer, Lost to Competitor - VMWare, Lost to Competitor - Other, No Opportunity, On Premises Deployment, Partner Gap, Price, Security / Compliance, Technical Limitations, Customer Experience, Other, People/Relationship/Governance, Product/Technology, Financial/Commercial
    next_steps: "LifeCycleNextStepsString",
    target_close_date: "Date",
    review_status: "Pending Submission", # accepts Pending Submission, Submitted, In review, Approved, Rejected, Action Required
    review_comments: "String",
    review_status_reason: "String",
    next_steps_history: [
      {
        value: "String", # required
        time: Time.now, # required
      },
    ],
  },
})

Response structure


resp.id #=> String
resp.last_modified_date #=> Time

Parameters:

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

    ({})

Options Hash (params):

  • :catalog (required, String) —

    Specifies the catalog associated with the request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the opportunity is updated in. Use AWS to update real opportunities in the production environment, and Sandbox for testing in secure, isolated environments. When you use the Sandbox catalog, it allows you to simulate and validate your interactions with Amazon Web Services services without affecting live data or operations.

  • :primary_needs_from_aws (Array<String>) —

    Identifies the type of support the partner needs from Amazon Web Services.

    Valid values:

    • Cosell—Architectural Validation: Confirmation from Amazon Web Services that the partner's proposed solution architecture is aligned with Amazon Web Services best practices and poses minimal architectural risks.

    • Cosell—Business Presentation: Request Amazon Web Services seller's participation in a joint customer presentation.

    • Cosell—Competitive Information: Access to Amazon Web Services competitive resources and support for the partner's proposed solution.

    • Cosell—Pricing Assistance: Connect with an AWS seller for support situations where a partner may be receiving an upfront discount on a service (for example: EDP deals).

    • Cosell—Technical Consultation: Connection with an Amazon Web Services Solutions Architect to address the partner's questions about the proposed solution.

    • Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different cost savings of proposed solutions on Amazon Web Services versus on-premises or a traditional hosting environment.

    • Cosell—Deal Support: Request Amazon Web Services seller's support to progress the opportunity (for example: joint customer call, strategic positioning).

    • Cosell—Support for Public Tender/RFx: Opportunity related to the public sector where the partner needs RFx support from Amazon Web Services.

  • :national_security (String) —

    Specifies if the opportunity is associated with national security concerns. This flag is only applicable when the industry is Government. For national-security-related opportunities, validation and compliance rules may apply, impacting the opportunity's visibility and processing.

  • :partner_opportunity_identifier (String) —

    Specifies the opportunity's unique identifier in the partner's CRM system. This value is essential to track and reconcile because it's included in the outbound payload sent back to the partner.

  • :customer (Types::Customer) —

    Specifies details of the customer associated with the Opportunity.

  • :project (Types::Project) —

    An object that contains project details summary for the Opportunity.

  • :opportunity_type (String) —

    Specifies the opportunity type as a renewal, new, or expansion.

    Opportunity types:

    • New opportunity: Represents a new business opportunity with a potential customer that's not previously engaged with your solutions or services.

    • Renewal opportunity: Represents an opportunity to renew an existing contract or subscription with a current customer, ensuring continuity of service.

    • Expansion opportunity: Represents an opportunity to expand the scope of an existing contract or subscription, either by adding new services or increasing the volume of existing services for a current customer.

  • :marketing (Types::Marketing) —

    An object that contains marketing details for the Opportunity.

  • :software_revenue (Types::SoftwareRevenue) —

    Specifies details of a customer's procurement terms. Required only for partners in eligible programs.

  • :last_modified_date (required, Time, DateTime, Date, Integer, String) —

    DateTime when the opportunity was last modified.

  • :identifier (required, String) —

    Read-only, system generated Opportunity unique identifier.

  • :life_cycle (Types::LifeCycle) —

    An object that contains lifecycle details for the Opportunity.

Returns:

See Also:



6473
6474
6475
6476
# File 'gems/aws-sdk-partnercentralselling/lib/aws-sdk-partnercentralselling/client.rb', line 6473

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