# frozen_string_literal: true

# WARNING ABOUT GENERATED CODE
#
# This file is generated. See the contributing guide for more information:
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
#
# WARNING ABOUT GENERATED CODE

require 'seahorse/client/plugins/content_length'
require 'aws-sdk-core/plugins/credentials_configuration'
require 'aws-sdk-core/plugins/logging'
require 'aws-sdk-core/plugins/param_converter'
require 'aws-sdk-core/plugins/param_validator'
require 'aws-sdk-core/plugins/user_agent'
require 'aws-sdk-core/plugins/helpful_socket_errors'
require 'aws-sdk-core/plugins/retry_errors'
require 'aws-sdk-core/plugins/global_configuration'
require 'aws-sdk-core/plugins/regional_endpoint'
require 'aws-sdk-core/plugins/endpoint_discovery'
require 'aws-sdk-core/plugins/endpoint_pattern'
require 'aws-sdk-core/plugins/response_paging'
require 'aws-sdk-core/plugins/stub_responses'
require 'aws-sdk-core/plugins/idempotency_token'
require 'aws-sdk-core/plugins/invocation_id'
require 'aws-sdk-core/plugins/jsonvalue_converter'
require 'aws-sdk-core/plugins/client_metrics_plugin'
require 'aws-sdk-core/plugins/client_metrics_send_plugin'
require 'aws-sdk-core/plugins/transfer_encoding'
require 'aws-sdk-core/plugins/http_checksum'
require 'aws-sdk-core/plugins/checksum_algorithm'
require 'aws-sdk-core/plugins/request_compression'
require 'aws-sdk-core/plugins/defaults_mode'
require 'aws-sdk-core/plugins/recursion_detection'
require 'aws-sdk-core/plugins/telemetry'
require 'aws-sdk-core/plugins/sign'
require 'aws-sdk-core/plugins/protocols/json_rpc'

module Aws::B2bi
  # An API client for B2bi.  To construct a client, you need to configure a `:region` and `:credentials`.
  #
  #     client = Aws::B2bi::Client.new(
  #       region: region_name,
  #       credentials: credentials,
  #       # ...
  #     )
  #
  # For details on configuring region and credentials see
  # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
  #
  # See {#initialize} for a full list of supported configuration options.
  class Client < Seahorse::Client::Base

    include Aws::ClientStubs

    @identifier = :b2bi

    set_api(ClientApi::API)

    add_plugin(Seahorse::Client::Plugins::ContentLength)
    add_plugin(Aws::Plugins::CredentialsConfiguration)
    add_plugin(Aws::Plugins::Logging)
    add_plugin(Aws::Plugins::ParamConverter)
    add_plugin(Aws::Plugins::ParamValidator)
    add_plugin(Aws::Plugins::UserAgent)
    add_plugin(Aws::Plugins::HelpfulSocketErrors)
    add_plugin(Aws::Plugins::RetryErrors)
    add_plugin(Aws::Plugins::GlobalConfiguration)
    add_plugin(Aws::Plugins::RegionalEndpoint)
    add_plugin(Aws::Plugins::EndpointDiscovery)
    add_plugin(Aws::Plugins::EndpointPattern)
    add_plugin(Aws::Plugins::ResponsePaging)
    add_plugin(Aws::Plugins::StubResponses)
    add_plugin(Aws::Plugins::IdempotencyToken)
    add_plugin(Aws::Plugins::InvocationId)
    add_plugin(Aws::Plugins::JsonvalueConverter)
    add_plugin(Aws::Plugins::ClientMetricsPlugin)
    add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
    add_plugin(Aws::Plugins::TransferEncoding)
    add_plugin(Aws::Plugins::HttpChecksum)
    add_plugin(Aws::Plugins::ChecksumAlgorithm)
    add_plugin(Aws::Plugins::RequestCompression)
    add_plugin(Aws::Plugins::DefaultsMode)
    add_plugin(Aws::Plugins::RecursionDetection)
    add_plugin(Aws::Plugins::Telemetry)
    add_plugin(Aws::Plugins::Sign)
    add_plugin(Aws::Plugins::Protocols::JsonRpc)
    add_plugin(Aws::B2bi::Plugins::Endpoints)

    # @overload initialize(options)
    #   @param [Hash] options
    #
    #   @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
    #     A list of plugins to apply to the client. Each plugin is either a
    #     class name or an instance of a plugin class.
    #
    #   @option options [required, Aws::CredentialProvider] :credentials
    #     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`.
    #
    #   @option options [required, String] :region
    #     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`
    #
    #   @option options [String] :access_key_id
    #
    #   @option options [String] :account_id
    #
    #   @option options [Boolean] :active_endpoint_cache (false)
    #     When set to `true`, a thread polling for endpoints will be running in
    #     the background every 60 secs (default). Defaults to `false`.
    #
    #   @option options [Boolean] :adaptive_retry_wait_to_fill (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.
    #
    #   @option options [Array<String>] :auth_scheme_preference
    #     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.
    #
    #   @option options [Boolean] :client_side_monitoring (false)
    #     When `true`, client-side metrics will be collected for all API requests from
    #     this client.
    #
    #   @option options [String] :client_side_monitoring_client_id ("")
    #     Allows you to provide an identifier for this client which will be attached to
    #     all generated client side metrics. Defaults to an empty string.
    #
    #   @option options [String] :client_side_monitoring_host ("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.
    #
    #   @option options [Integer] :client_side_monitoring_port (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.
    #
    #   @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
    #     Allows you to provide a custom client-side monitoring publisher class. By default,
    #     will use the Client Side Monitoring Agent Publisher.
    #
    #   @option options [Boolean] :convert_params (true)
    #     When `true`, an attempt is made to coerce request parameters into
    #     the required types.
    #
    #   @option options [Boolean] :correct_clock_skew (true)
    #     Used only in `standard` and adaptive retry modes. Specifies whether to apply
    #     a clock skew correction and retry requests with skewed client clocks.
    #
    #   @option options [String] :defaults_mode ("legacy")
    #     See {Aws::DefaultsModeConfiguration} for a list of the
    #     accepted modes and the configuration defaults that are included.
    #
    #   @option options [Boolean] :disable_host_prefix_injection (false)
    #     When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
    #
    #   @option options [Boolean] :disable_request_compression (false)
    #     When set to 'true' the request body will not be compressed
    #     for supported operations.
    #
    #   @option options [String, URI::HTTPS, URI::HTTP] :endpoint
    #     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'
    #
    #   @option options [Integer] :endpoint_cache_max_entries (1000)
    #     Used for the maximum size limit of the LRU cache storing endpoints data
    #     for endpoint discovery enabled operations. Defaults to 1000.
    #
    #   @option options [Integer] :endpoint_cache_max_threads (10)
    #     Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
    #
    #   @option options [Integer] :endpoint_cache_poll_interval (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.
    #
    #   @option options [Boolean] :endpoint_discovery (false)
    #     When set to `true`, endpoint discovery will be enabled for operations when available.
    #
    #   @option options [Boolean] :ignore_configured_endpoint_urls
    #     Setting to true disables use of endpoint URLs provided via environment
    #     variables and the shared configuration file.
    #
    #   @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
    #     The log formatter.
    #
    #   @option options [Symbol] :log_level (:info)
    #     The log level to send messages to the `:logger` at.
    #
    #   @option options [Logger] :logger
    #     The Logger instance to send log messages to.  If this option
    #     is not set, logging will be disabled.
    #
    #   @option options [Integer] :max_attempts (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.
    #
    #   @option options [String] :profile ("default")
    #     Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
    #     When not specified, 'default' is used.
    #
    #   @option options [String] :request_checksum_calculation ("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.
    #
    #   @option options [Integer] :request_min_compression_size_bytes (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.
    #
    #   @option options [String] :response_checksum_validation ("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`.
    #
    #   @option options [Proc] :retry_backoff
    #     A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
    #     This option is only used in the `legacy` retry mode.
    #
    #   @option options [Float] :retry_base_delay (0.3)
    #     The base delay in seconds used by the default backoff function. This option
    #     is only used in the `legacy` retry mode.
    #
    #   @option options [Symbol] :retry_jitter (: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
    #
    #   @option options [Integer] :retry_limit (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.
    #
    #   @option options [Integer] :retry_max_delay (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.
    #
    #   @option options [String] :retry_mode ("legacy")
    #     Specifies which retry algorithm to use. Values are:
    #
    #     * `legacy` - The pre-existing retry behavior.  This is default value if
    #       no retry mode is provided.
    #
    #     * `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.
    #
    #     * `adaptive` - An experimental retry mode that includes all the
    #       functionality of `standard` mode along with automatic client side
    #       throttling.  This is a provisional mode that may change behavior
    #       in the future.
    #
    #   @option options [String] :sdk_ua_app_id
    #     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.
    #
    #   @option options [String] :secret_access_key
    #
    #   @option options [String] :session_token
    #
    #   @option options [Array] :sigv4a_signing_region_set
    #     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`
    #
    #   @option options [Boolean] :simple_json (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.
    #
    #   @option options [Boolean] :stub_responses (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.
    #
    #   @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (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.
    #
    #   @option options [Aws::TokenProvider] :token_provider
    #     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.
    #
    #   @option options [Boolean] :use_dualstack_endpoint
    #     When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
    #     will be used if available.
    #
    #   @option options [Boolean] :use_fips_endpoint
    #     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`.
    #
    #   @option options [Boolean] :validate_params (true)
    #     When `true`, request parameters are validated before
    #     sending the request.
    #
    #   @option options [Aws::B2bi::EndpointProvider] :endpoint_provider
    #     The endpoint provider used to resolve endpoints. Any object that responds to
    #     `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
    #     `Aws::B2bi::EndpointParameters`.
    #
    #   @option options [Float] :http_continue_timeout (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.
    #
    #   @option options [Float] :http_idle_timeout (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.
    #
    #   @option options [Float] :http_open_timeout (15)
    #     The default number of seconds to wait for response data.
    #     This value can safely be set per-request on the session.
    #
    #   @option options [URI::HTTP,String] :http_proxy
    #     A proxy to send requests through.  Formatted like 'http://proxy.com:123'.
    #
    #   @option options [Float] :http_read_timeout (60)
    #     The default number of seconds to wait for response data.
    #     This value can safely be set per-request on the session.
    #
    #   @option options [Boolean] :http_wire_trace (false)
    #     When `true`,  HTTP debug output will be sent to the `:logger`.
    #
    #   @option options [Proc] :on_chunk_received
    #     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`).
    #
    #   @option options [Proc] :on_chunk_sent
    #     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.
    #
    #   @option options [Boolean] :raise_response_errors (true)
    #     When `true`, response errors are raised.
    #
    #   @option options [String] :ssl_ca_bundle
    #     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.
    #
    #   @option options [String] :ssl_ca_directory
    #     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.
    #
    #   @option options [String] :ssl_ca_store
    #     Sets the X509::Store to verify peer certificate.
    #
    #   @option options [OpenSSL::X509::Certificate] :ssl_cert
    #     Sets a client certificate when creating http connections.
    #
    #   @option options [OpenSSL::PKey] :ssl_key
    #     Sets a client key when creating http connections.
    #
    #   @option options [Float] :ssl_timeout
    #     Sets the SSL timeout in seconds
    #
    #   @option options [Boolean] :ssl_verify_peer (true)
    #     When `true`, SSL peer certificates are verified when establishing a connection.
    #
    def initialize(*args)
      super
    end

    # @!group API Operations

    # Instantiates a capability based on the specified parameters. A trading
    # capability contains the information required to transform incoming EDI
    # documents into JSON or XML outputs.
    #
    # @option params [required, String] :name
    #   Specifies the name of the capability, used to identify it.
    #
    # @option params [required, String] :type
    #   Specifies the type of the capability. Currently, only `edi` is
    #   supported.
    #
    # @option params [required, Types::CapabilityConfiguration] :configuration
    #   Specifies a structure that contains the details for a capability.
    #
    # @option params [Array<Types::S3Location>] :instructions_documents
    #   Specifies one or more locations in Amazon S3, each specifying an EDI
    #   document that can be used with this capability. Each item contains the
    #   name of the bucket and the key, to identify the document's location.
    #
    # @option params [String] :client_token
    #   Reserved for future use.
    #
    #   **A suitable default value is auto-generated.** You should normally
    #   not need to pass this option.**
    #
    # @option params [Array<Types::Tag>] :tags
    #   Specifies the key-value pairs assigned to ARNs that you can use to
    #   group and search for resources by type. You can attach this metadata
    #   to resources (capabilities, partnerships, and so on) for any purpose.
    #
    # @return [Types::CreateCapabilityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateCapabilityResponse#capability_id #capability_id} => String
    #   * {Types::CreateCapabilityResponse#capability_arn #capability_arn} => String
    #   * {Types::CreateCapabilityResponse#name #name} => String
    #   * {Types::CreateCapabilityResponse#type #type} => String
    #   * {Types::CreateCapabilityResponse#configuration #configuration} => Types::CapabilityConfiguration
    #   * {Types::CreateCapabilityResponse#instructions_documents #instructions_documents} => Array&lt;Types::S3Location&gt;
    #   * {Types::CreateCapabilityResponse#created_at #created_at} => Time
    #
    #
    # @example Example: Sample CreateCapability call
    #
    #   resp = client.create_capability({
    #     name: "b2biexample", 
    #     type: "edi", 
    #     client_token: "foo", 
    #     configuration: {
    #       edi: {
    #         type: {
    #           x12_details: {
    #             version: "VERSION_4010", 
    #             transaction_set: "X12_110", 
    #           }, 
    #         }, 
    #         input_location: {
    #           key: "input/", 
    #           bucket_name: "test-bucket", 
    #         }, 
    #         output_location: {
    #           key: "output/", 
    #           bucket_name: "test-bucket", 
    #         }, 
    #         transformer_id: "tr-9a893cf536df4658b", 
    #       }, 
    #     }, 
    #     instructions_documents: [
    #       {
    #         key: "instructiondoc.txt", 
    #         bucket_name: "test-bucket", 
    #       }, 
    #     ], 
    #     tags: [
    #       {
    #         key: "capabilityKey1", 
    #         value: "capabilityValue1", 
    #       }, 
    #     ], 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     name: "b2biexample", 
    #     type: "edi", 
    #     capability_arn: "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348", 
    #     capability_id: "ca-963a8121e4fc4e348", 
    #     configuration: {
    #       edi: {
    #         type: {
    #           x12_details: {
    #             version: "VERSION_4010", 
    #             transaction_set: "X12_110", 
    #           }, 
    #         }, 
    #         input_location: {
    #           key: "input/", 
    #           bucket_name: "test-bucket", 
    #         }, 
    #         output_location: {
    #           key: "output/", 
    #           bucket_name: "test-bucket", 
    #         }, 
    #         transformer_id: "tr-9a893cf536df4658b", 
    #       }, 
    #     }, 
    #     created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #     instructions_documents: [
    #       {
    #         key: "instructiondoc.txt", 
    #         bucket_name: "test-bucket", 
    #       }, 
    #     ], 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_capability({
    #     name: "CapabilityName", # required
    #     type: "edi", # required, accepts edi
    #     configuration: { # required
    #       edi: {
    #         capability_direction: "INBOUND", # accepts INBOUND, OUTBOUND
    #         type: { # required
    #           x12_details: {
    #             transaction_set: "X12_100", # accepts X12_100, X12_101, X12_102, X12_103, X12_104, X12_105, X12_106, X12_107, X12_108, X12_109, X12_110, X12_111, X12_112, X12_113, X12_120, X12_121, X12_124, X12_125, X12_126, X12_127, X12_128, X12_129, X12_130, X12_131, X12_132, X12_133, X12_135, X12_138, X12_139, X12_140, X12_141, X12_142, X12_143, X12_144, X12_146, X12_147, X12_148, X12_149, X12_150, X12_151, X12_152, X12_153, X12_154, X12_155, X12_157, X12_158, X12_159, X12_160, X12_161, X12_163, X12_170, X12_175, X12_176, X12_179, X12_180, X12_185, X12_186, X12_187, X12_188, X12_189, X12_190, X12_191, X12_194, X12_195, X12_196, X12_197, X12_198, X12_199, X12_200, X12_201, X12_202, X12_203, X12_204, X12_205, X12_206, X12_210, X12_211, X12_212, X12_213, X12_214, X12_215, X12_216, X12_217, X12_218, X12_219, X12_220, X12_222, X12_223, X12_224, X12_225, X12_227, X12_228, X12_240, X12_242, X12_244, X12_245, X12_248, X12_249, X12_250, X12_251, X12_252, X12_255, X12_256, X12_259, X12_260, X12_261, X12_262, X12_263, X12_264, X12_265, X12_266, X12_267, X12_268, X12_269, X12_270, X12_271, X12_272, X12_273, X12_274, X12_275, X12_276, X12_277, X12_278, X12_280, X12_283, X12_284, X12_285, X12_286, X12_288, X12_290, X12_300, X12_301, X12_303, X12_304, X12_309, X12_310, X12_311, X12_312, X12_313, X12_315, X12_317, X12_319, X12_322, X12_323, X12_324, X12_325, X12_326, X12_350, X12_352, X12_353, X12_354, X12_355, X12_356, X12_357, X12_358, X12_361, X12_362, X12_404, X12_410, X12_412, X12_414, X12_417, X12_418, X12_419, X12_420, X12_421, X12_422, X12_423, X12_424, X12_425, X12_426, X12_429, X12_431, X12_432, X12_433, X12_434, X12_435, X12_436, X12_437, X12_440, X12_451, X12_452, X12_453, X12_455, X12_456, X12_460, X12_463, X12_466, X12_468, X12_470, X12_475, X12_485, X12_486, X12_490, X12_492, X12_494, X12_500, X12_501, X12_503, X12_504, X12_511, X12_517, X12_521, X12_527, X12_536, X12_540, X12_561, X12_567, X12_568, X12_601, X12_602, X12_620, X12_625, X12_650, X12_715, X12_753, X12_754, X12_805, X12_806, X12_810, X12_811, X12_812, X12_813, X12_814, X12_815, X12_816, X12_818, X12_819, X12_820, X12_821, X12_822, X12_823, X12_824, X12_826, X12_827, X12_828, X12_829, X12_830, X12_831, X12_832, X12_833, X12_834, X12_835, X12_836, X12_837, X12_838, X12_839, X12_840, X12_841, X12_842, X12_843, X12_844, X12_845, X12_846, X12_847, X12_848, X12_849, X12_850, X12_851, X12_852, X12_853, X12_854, X12_855, X12_856, X12_857, X12_858, X12_859, X12_860, X12_861, X12_862, X12_863, X12_864, X12_865, X12_866, X12_867, X12_868, X12_869, X12_870, X12_871, X12_872, X12_873, X12_874, X12_875, X12_876, X12_877, X12_878, X12_879, X12_880, X12_881, X12_882, X12_883, X12_884, X12_885, X12_886, X12_887, X12_888, X12_889, X12_891, X12_893, X12_894, X12_895, X12_896, X12_920, X12_924, X12_925, X12_926, X12_928, X12_940, X12_943, X12_944, X12_945, X12_947, X12_980, X12_990, X12_993, X12_996, X12_997, X12_998, X12_999, X12_270_X279, X12_271_X279, X12_275_X210, X12_275_X211, X12_276_X212, X12_277_X212, X12_277_X214, X12_277_X364, X12_278_X217, X12_820_X218, X12_820_X306, X12_824_X186, X12_834_X220, X12_834_X307, X12_834_X318, X12_835_X221, X12_837_X222, X12_837_X223, X12_837_X224, X12_837_X291, X12_837_X292, X12_837_X298, X12_999_X231
    #             version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
    #           },
    #         },
    #         input_location: { # required
    #           bucket_name: "BucketName",
    #           key: "S3Key",
    #         },
    #         output_location: { # required
    #           bucket_name: "BucketName",
    #           key: "S3Key",
    #         },
    #         transformer_id: "TransformerId", # required
    #       },
    #     },
    #     instructions_documents: [
    #       {
    #         bucket_name: "BucketName",
    #         key: "S3Key",
    #       },
    #     ],
    #     client_token: "String",
    #     tags: [
    #       {
    #         key: "TagKey", # required
    #         value: "TagValue", # required
    #       },
    #     ],
    #   })
    #
    # @example Response structure
    #
    #   resp.capability_id #=> String
    #   resp.capability_arn #=> String
    #   resp.name #=> String
    #   resp.type #=> String, one of "edi"
    #   resp.configuration.edi.capability_direction #=> String, one of "INBOUND", "OUTBOUND"
    #   resp.configuration.edi.type.x12_details.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "X12_999", "X12_270_X279", "X12_271_X279", "X12_275_X210", "X12_275_X211", "X12_276_X212", "X12_277_X212", "X12_277_X214", "X12_277_X364", "X12_278_X217", "X12_820_X218", "X12_820_X306", "X12_824_X186", "X12_834_X220", "X12_834_X307", "X12_834_X318", "X12_835_X221", "X12_837_X222", "X12_837_X223", "X12_837_X224", "X12_837_X291", "X12_837_X292", "X12_837_X298", "X12_999_X231"
    #   resp.configuration.edi.type.x12_details.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
    #   resp.configuration.edi.input_location.bucket_name #=> String
    #   resp.configuration.edi.input_location.key #=> String
    #   resp.configuration.edi.output_location.bucket_name #=> String
    #   resp.configuration.edi.output_location.key #=> String
    #   resp.configuration.edi.transformer_id #=> String
    #   resp.instructions_documents #=> Array
    #   resp.instructions_documents[0].bucket_name #=> String
    #   resp.instructions_documents[0].key #=> String
    #   resp.created_at #=> Time
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/CreateCapability AWS API Documentation
    #
    # @overload create_capability(params = {})
    # @param [Hash] params ({})
    def create_capability(params = {}, options = {})
      req = build_request(:create_capability, params)
      req.send_request(options)
    end

    # Creates a partnership between a customer and a trading partner, based
    # on the supplied parameters. A partnership represents the connection
    # between you and your trading partner. It ties together a profile and
    # one or more trading capabilities.
    #
    # @option params [required, String] :profile_id
    #   Specifies the unique, system-generated identifier for the profile
    #   connected to this partnership.
    #
    # @option params [required, String] :name
    #   Specifies a descriptive name for the partnership.
    #
    # @option params [required, String] :email
    #   Specifies the email address associated with this trading partner.
    #
    # @option params [String] :phone
    #   Specifies the phone number associated with the partnership.
    #
    # @option params [required, Array<String>] :capabilities
    #   Specifies a list of the capabilities associated with this partnership.
    #
    # @option params [Types::CapabilityOptions] :capability_options
    #   Specify the structure that contains the details for the associated
    #   capabilities.
    #
    # @option params [String] :client_token
    #   Reserved for future use.
    #
    #   **A suitable default value is auto-generated.** You should normally
    #   not need to pass this option.**
    #
    # @option params [Array<Types::Tag>] :tags
    #   Specifies the key-value pairs assigned to ARNs that you can use to
    #   group and search for resources by type. You can attach this metadata
    #   to resources (capabilities, partnerships, and so on) for any purpose.
    #
    # @return [Types::CreatePartnershipResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreatePartnershipResponse#profile_id #profile_id} => String
    #   * {Types::CreatePartnershipResponse#partnership_id #partnership_id} => String
    #   * {Types::CreatePartnershipResponse#partnership_arn #partnership_arn} => String
    #   * {Types::CreatePartnershipResponse#name #name} => String
    #   * {Types::CreatePartnershipResponse#email #email} => String
    #   * {Types::CreatePartnershipResponse#phone #phone} => String
    #   * {Types::CreatePartnershipResponse#capabilities #capabilities} => Array&lt;String&gt;
    #   * {Types::CreatePartnershipResponse#capability_options #capability_options} => Types::CapabilityOptions
    #   * {Types::CreatePartnershipResponse#trading_partner_id #trading_partner_id} => String
    #   * {Types::CreatePartnershipResponse#created_at #created_at} => Time
    #
    #
    # @example Example: Sample CreatePartnership call
    #
    #   resp = client.create_partnership({
    #     name: "b2bipartner", 
    #     capabilities: [
    #       "ca-963a8121e4fc4e348", 
    #     ], 
    #     client_token: "foo", 
    #     email: "john@example.com", 
    #     phone: "5555555555", 
    #     profile_id: "p-60fbc37c87f04fce9", 
    #     tags: [
    #       {
    #         key: "sampleKey1", 
    #         value: "sampleValue1", 
    #       }, 
    #     ], 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     name: "b2bipartner", 
    #     capabilities: [
    #       "ca-963a8121e4fc4e348", 
    #     ], 
    #     created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #     email: "john@example.com", 
    #     partnership_arn: "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-60fbc37c87f04fce9", 
    #     partnership_id: "ps-219fa02f5b4242af8", 
    #     phone: "5555555555", 
    #     profile_id: "p-60fbc37c87f04fce9", 
    #     trading_partner_id: "tp-2a17ca447f6f4a8a8", 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_partnership({
    #     profile_id: "ProfileId", # required
    #     name: "PartnerName", # required
    #     email: "Email", # required
    #     phone: "Phone",
    #     capabilities: ["CapabilityId"], # required
    #     capability_options: {
    #       outbound_edi: {
    #         x12: {
    #           common: {
    #             interchange_control_headers: {
    #               sender_id_qualifier: "X12IdQualifier",
    #               sender_id: "X12SenderId",
    #               receiver_id_qualifier: "X12IdQualifier",
    #               receiver_id: "X12ReceiverId",
    #               repetition_separator: "X12RepetitionSeparator",
    #               acknowledgment_requested_code: "X12AcknowledgmentRequestedCode",
    #               usage_indicator_code: "X12UsageIndicatorCode",
    #             },
    #             functional_group_headers: {
    #               application_sender_code: "X12ApplicationSenderCode",
    #               application_receiver_code: "X12ApplicationReceiverCode",
    #               responsible_agency_code: "X12ResponsibleAgencyCode",
    #             },
    #             delimiters: {
    #               component_separator: "X12ComponentSeparator",
    #               data_element_separator: "X12DataElementSeparator",
    #               segment_terminator: "X12SegmentTerminator",
    #             },
    #             validate_edi: false,
    #             control_numbers: {
    #               starting_interchange_control_number: 1,
    #               starting_functional_group_control_number: 1,
    #               starting_transaction_set_control_number: 1,
    #             },
    #             gs05_time_format: "HHMM", # accepts HHMM, HHMMSS, HHMMSSDD
    #           },
    #           wrap_options: {
    #             wrap_by: "SEGMENT", # required, accepts SEGMENT, ONE_LINE, LINE_LENGTH
    #             line_terminator: "CRLF", # accepts CRLF, LF, CR
    #             line_length: 1,
    #           },
    #         },
    #       },
    #       inbound_edi: {
    #         x12: {
    #           acknowledgment_options: {
    #             functional_acknowledgment: "DO_NOT_GENERATE", # required, accepts DO_NOT_GENERATE, GENERATE_ALL_SEGMENTS, GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP
    #             technical_acknowledgment: "DO_NOT_GENERATE", # required, accepts DO_NOT_GENERATE, GENERATE_ALL_SEGMENTS
    #           },
    #         },
    #       },
    #     },
    #     client_token: "String",
    #     tags: [
    #       {
    #         key: "TagKey", # required
    #         value: "TagValue", # required
    #       },
    #     ],
    #   })
    #
    # @example Response structure
    #
    #   resp.profile_id #=> String
    #   resp.partnership_id #=> String
    #   resp.partnership_arn #=> String
    #   resp.name #=> String
    #   resp.email #=> String
    #   resp.phone #=> String
    #   resp.capabilities #=> Array
    #   resp.capabilities[0] #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.sender_id_qualifier #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.sender_id #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.receiver_id_qualifier #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.receiver_id #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.repetition_separator #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.acknowledgment_requested_code #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.usage_indicator_code #=> String
    #   resp.capability_options.outbound_edi.x12.common.functional_group_headers.application_sender_code #=> String
    #   resp.capability_options.outbound_edi.x12.common.functional_group_headers.application_receiver_code #=> String
    #   resp.capability_options.outbound_edi.x12.common.functional_group_headers.responsible_agency_code #=> String
    #   resp.capability_options.outbound_edi.x12.common.delimiters.component_separator #=> String
    #   resp.capability_options.outbound_edi.x12.common.delimiters.data_element_separator #=> String
    #   resp.capability_options.outbound_edi.x12.common.delimiters.segment_terminator #=> String
    #   resp.capability_options.outbound_edi.x12.common.validate_edi #=> Boolean
    #   resp.capability_options.outbound_edi.x12.common.control_numbers.starting_interchange_control_number #=> Integer
    #   resp.capability_options.outbound_edi.x12.common.control_numbers.starting_functional_group_control_number #=> Integer
    #   resp.capability_options.outbound_edi.x12.common.control_numbers.starting_transaction_set_control_number #=> Integer
    #   resp.capability_options.outbound_edi.x12.common.gs05_time_format #=> String, one of "HHMM", "HHMMSS", "HHMMSSDD"
    #   resp.capability_options.outbound_edi.x12.wrap_options.wrap_by #=> String, one of "SEGMENT", "ONE_LINE", "LINE_LENGTH"
    #   resp.capability_options.outbound_edi.x12.wrap_options.line_terminator #=> String, one of "CRLF", "LF", "CR"
    #   resp.capability_options.outbound_edi.x12.wrap_options.line_length #=> Integer
    #   resp.capability_options.inbound_edi.x12.acknowledgment_options.functional_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS", "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP"
    #   resp.capability_options.inbound_edi.x12.acknowledgment_options.technical_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS"
    #   resp.trading_partner_id #=> String
    #   resp.created_at #=> Time
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/CreatePartnership AWS API Documentation
    #
    # @overload create_partnership(params = {})
    # @param [Hash] params ({})
    def create_partnership(params = {}, options = {})
      req = build_request(:create_partnership, params)
      req.send_request(options)
    end

    # Creates a customer profile. You can have up to five customer profiles,
    # each representing a distinct private network. A profile is the
    # mechanism used to create the concept of a private network.
    #
    # @option params [required, String] :name
    #   Specifies the name of the profile.
    #
    # @option params [String] :email
    #   Specifies the email address associated with this customer profile.
    #
    # @option params [required, String] :phone
    #   Specifies the phone number associated with the profile.
    #
    # @option params [required, String] :business_name
    #   Specifies the name for the business associated with this profile.
    #
    # @option params [required, String] :logging
    #   Specifies whether or not logging is enabled for this profile.
    #
    # @option params [String] :client_token
    #   Reserved for future use.
    #
    #   **A suitable default value is auto-generated.** You should normally
    #   not need to pass this option.**
    #
    # @option params [Array<Types::Tag>] :tags
    #   Specifies the key-value pairs assigned to ARNs that you can use to
    #   group and search for resources by type. You can attach this metadata
    #   to resources (capabilities, partnerships, and so on) for any purpose.
    #
    # @return [Types::CreateProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateProfileResponse#profile_id #profile_id} => String
    #   * {Types::CreateProfileResponse#profile_arn #profile_arn} => String
    #   * {Types::CreateProfileResponse#name #name} => String
    #   * {Types::CreateProfileResponse#business_name #business_name} => String
    #   * {Types::CreateProfileResponse#phone #phone} => String
    #   * {Types::CreateProfileResponse#email #email} => String
    #   * {Types::CreateProfileResponse#logging #logging} => String
    #   * {Types::CreateProfileResponse#log_group_name #log_group_name} => String
    #   * {Types::CreateProfileResponse#created_at #created_at} => Time
    #
    #
    # @example Example: Sample CreateProfile call
    #
    #   resp = client.create_profile({
    #     name: "Shipping Profile", 
    #     business_name: "John's Shipping", 
    #     client_token: "foo", 
    #     email: "john@example.com", 
    #     logging: "ENABLED", 
    #     phone: "5555555555", 
    #     tags: [
    #       {
    #         key: "sampleKey", 
    #         value: "sampleValue", 
    #       }, 
    #     ], 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     name: "Shipping Profile", 
    #     business_name: "John's Trucking", 
    #     created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #     email: "john@example.com", 
    #     log_group_name: "b2bi/p-60fbc37c87f04fce9-Logs", 
    #     logging: "ENABLED", 
    #     phone: "5555555555", 
    #     profile_arn: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9", 
    #     profile_id: "p-60fbc37c87f04fce9", 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_profile({
    #     name: "ProfileName", # required
    #     email: "Email",
    #     phone: "Phone", # required
    #     business_name: "BusinessName", # required
    #     logging: "ENABLED", # required, accepts ENABLED, DISABLED
    #     client_token: "String",
    #     tags: [
    #       {
    #         key: "TagKey", # required
    #         value: "TagValue", # required
    #       },
    #     ],
    #   })
    #
    # @example Response structure
    #
    #   resp.profile_id #=> String
    #   resp.profile_arn #=> String
    #   resp.name #=> String
    #   resp.business_name #=> String
    #   resp.phone #=> String
    #   resp.email #=> String
    #   resp.logging #=> String, one of "ENABLED", "DISABLED"
    #   resp.log_group_name #=> String
    #   resp.created_at #=> Time
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/CreateProfile AWS API Documentation
    #
    # @overload create_profile(params = {})
    # @param [Hash] params ({})
    def create_profile(params = {}, options = {})
      req = build_request(:create_profile, params)
      req.send_request(options)
    end

    # Amazon Web Services B2B Data Interchange uses a mapping template in
    # JSONata or XSLT format to transform a customer input file into a JSON
    # or XML file that can be converted to EDI.
    #
    # If you provide a sample EDI file with the same structure as the EDI
    # files that you wish to generate, then the service can generate a
    # mapping template. The starter template contains placeholder values
    # which you can replace with JSONata or XSLT expressions to take data
    # from your input file and insert it into the JSON or XML file that is
    # used to generate the EDI.
    #
    # If you do not provide a sample EDI file, then the service can generate
    # a mapping template based on the EDI settings in the `templateDetails`
    # parameter.
    #
    # Currently, we only support generating a template that can generate the
    # input to produce an Outbound X12 EDI file.
    #
    # @option params [Types::S3Location] :output_sample_location
    #   Specify the location of the sample EDI file that is used to generate
    #   the mapping template.
    #
    # @option params [required, String] :mapping_type
    #   Specify the format for the mapping template: either JSONATA or XSLT.
    #
    # @option params [required, Types::TemplateDetails] :template_details
    #   Describes the details needed for generating the template. Specify the
    #   X12 transaction set and version for which the template is used:
    #   currently, we only support X12.
    #
    # @return [Types::CreateStarterMappingTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateStarterMappingTemplateResponse#mapping_template #mapping_template} => String
    #
    #
    # @example Example: Sample CreateStarterMappingTemplate call
    #
    #   resp = client.create_starter_mapping_template({
    #     mapping_type: "JSONATA", 
    #     output_sample_location: {
    #       key: "output-sample-key", 
    #       bucket_name: "output-sample-bucket", 
    #     }, 
    #     template_details: {
    #       x12: {
    #         version: "VERSION_4010", 
    #         transaction_set: "X12_110", 
    #       }, 
    #     }, 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     mapping_template: "Example Mapping Template", 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_starter_mapping_template({
    #     output_sample_location: {
    #       bucket_name: "BucketName",
    #       key: "S3Key",
    #     },
    #     mapping_type: "JSONATA", # required, accepts JSONATA, XSLT
    #     template_details: { # required
    #       x12: {
    #         transaction_set: "X12_100", # accepts X12_100, X12_101, X12_102, X12_103, X12_104, X12_105, X12_106, X12_107, X12_108, X12_109, X12_110, X12_111, X12_112, X12_113, X12_120, X12_121, X12_124, X12_125, X12_126, X12_127, X12_128, X12_129, X12_130, X12_131, X12_132, X12_133, X12_135, X12_138, X12_139, X12_140, X12_141, X12_142, X12_143, X12_144, X12_146, X12_147, X12_148, X12_149, X12_150, X12_151, X12_152, X12_153, X12_154, X12_155, X12_157, X12_158, X12_159, X12_160, X12_161, X12_163, X12_170, X12_175, X12_176, X12_179, X12_180, X12_185, X12_186, X12_187, X12_188, X12_189, X12_190, X12_191, X12_194, X12_195, X12_196, X12_197, X12_198, X12_199, X12_200, X12_201, X12_202, X12_203, X12_204, X12_205, X12_206, X12_210, X12_211, X12_212, X12_213, X12_214, X12_215, X12_216, X12_217, X12_218, X12_219, X12_220, X12_222, X12_223, X12_224, X12_225, X12_227, X12_228, X12_240, X12_242, X12_244, X12_245, X12_248, X12_249, X12_250, X12_251, X12_252, X12_255, X12_256, X12_259, X12_260, X12_261, X12_262, X12_263, X12_264, X12_265, X12_266, X12_267, X12_268, X12_269, X12_270, X12_271, X12_272, X12_273, X12_274, X12_275, X12_276, X12_277, X12_278, X12_280, X12_283, X12_284, X12_285, X12_286, X12_288, X12_290, X12_300, X12_301, X12_303, X12_304, X12_309, X12_310, X12_311, X12_312, X12_313, X12_315, X12_317, X12_319, X12_322, X12_323, X12_324, X12_325, X12_326, X12_350, X12_352, X12_353, X12_354, X12_355, X12_356, X12_357, X12_358, X12_361, X12_362, X12_404, X12_410, X12_412, X12_414, X12_417, X12_418, X12_419, X12_420, X12_421, X12_422, X12_423, X12_424, X12_425, X12_426, X12_429, X12_431, X12_432, X12_433, X12_434, X12_435, X12_436, X12_437, X12_440, X12_451, X12_452, X12_453, X12_455, X12_456, X12_460, X12_463, X12_466, X12_468, X12_470, X12_475, X12_485, X12_486, X12_490, X12_492, X12_494, X12_500, X12_501, X12_503, X12_504, X12_511, X12_517, X12_521, X12_527, X12_536, X12_540, X12_561, X12_567, X12_568, X12_601, X12_602, X12_620, X12_625, X12_650, X12_715, X12_753, X12_754, X12_805, X12_806, X12_810, X12_811, X12_812, X12_813, X12_814, X12_815, X12_816, X12_818, X12_819, X12_820, X12_821, X12_822, X12_823, X12_824, X12_826, X12_827, X12_828, X12_829, X12_830, X12_831, X12_832, X12_833, X12_834, X12_835, X12_836, X12_837, X12_838, X12_839, X12_840, X12_841, X12_842, X12_843, X12_844, X12_845, X12_846, X12_847, X12_848, X12_849, X12_850, X12_851, X12_852, X12_853, X12_854, X12_855, X12_856, X12_857, X12_858, X12_859, X12_860, X12_861, X12_862, X12_863, X12_864, X12_865, X12_866, X12_867, X12_868, X12_869, X12_870, X12_871, X12_872, X12_873, X12_874, X12_875, X12_876, X12_877, X12_878, X12_879, X12_880, X12_881, X12_882, X12_883, X12_884, X12_885, X12_886, X12_887, X12_888, X12_889, X12_891, X12_893, X12_894, X12_895, X12_896, X12_920, X12_924, X12_925, X12_926, X12_928, X12_940, X12_943, X12_944, X12_945, X12_947, X12_980, X12_990, X12_993, X12_996, X12_997, X12_998, X12_999, X12_270_X279, X12_271_X279, X12_275_X210, X12_275_X211, X12_276_X212, X12_277_X212, X12_277_X214, X12_277_X364, X12_278_X217, X12_820_X218, X12_820_X306, X12_824_X186, X12_834_X220, X12_834_X307, X12_834_X318, X12_835_X221, X12_837_X222, X12_837_X223, X12_837_X224, X12_837_X291, X12_837_X292, X12_837_X298, X12_999_X231
    #         version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
    #       },
    #     },
    #   })
    #
    # @example Response structure
    #
    #   resp.mapping_template #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/CreateStarterMappingTemplate AWS API Documentation
    #
    # @overload create_starter_mapping_template(params = {})
    # @param [Hash] params ({})
    def create_starter_mapping_template(params = {}, options = {})
      req = build_request(:create_starter_mapping_template, params)
      req.send_request(options)
    end

    # Creates a transformer. Amazon Web Services B2B Data Interchange
    # currently supports two scenarios:
    #
    # * *Inbound EDI*: the Amazon Web Services customer receives an EDI file
    #   from their trading partner. Amazon Web Services B2B Data Interchange
    #   converts this EDI file into a JSON or XML file with a
    #   service-defined structure. A mapping template provided by the
    #   customer, in JSONata or XSLT format, is optionally applied to this
    #   file to produce a JSON or XML file with the structure the customer
    #   requires.
    #
    # * *Outbound EDI*: the Amazon Web Services customer has a JSON or XML
    #   file containing data that they wish to use in an EDI file. A mapping
    #   template, provided by the customer (in either JSONata or XSLT
    #   format) is applied to this file to generate a JSON or XML file in
    #   the service-defined structure. This file is then converted to an EDI
    #   file.
    #
    # <note markdown="1"> The following fields are provided for backwards compatibility only:
    # `fileFormat`, `mappingTemplate`, `ediType`, and `sampleDocument`.
    #
    #  * Use the `mapping` data type in place of `mappingTemplate` and
    #   `fileFormat`
    #
    # * Use the `sampleDocuments` data type in place of `sampleDocument`
    #
    # * Use either the `inputConversion` or `outputConversion` in place of
    #   `ediType`
    #
    #  </note>
    #
    # @option params [required, String] :name
    #   Specifies the name of the transformer, used to identify it.
    #
    # @option params [String] :client_token
    #   Reserved for future use.
    #
    #   **A suitable default value is auto-generated.** You should normally
    #   not need to pass this option.**
    #
    # @option params [Array<Types::Tag>] :tags
    #   Specifies the key-value pairs assigned to ARNs that you can use to
    #   group and search for resources by type. You can attach this metadata
    #   to resources (capabilities, partnerships, and so on) for any purpose.
    #
    # @option params [String] :file_format
    #   Specifies that the currently supported file formats for EDI
    #   transformations are `JSON` and `XML`.
    #
    # @option params [String] :mapping_template
    #   Specifies the mapping template for the transformer. This template is
    #   used to map the parsed EDI file using JSONata or XSLT.
    #
    #   <note markdown="1"> This parameter is available for backwards compatibility. Use the
    #   [Mapping][1] data type instead.
    #
    #    </note>
    #
    #
    #
    #   [1]: https://docs.aws.amazon.com/b2bi/latest/APIReference/API_Mapping.html
    #
    # @option params [Types::EdiType] :edi_type
    #   Specifies the details for the EDI standard that is being used for the
    #   transformer. Currently, only X12 is supported. X12 is a set of
    #   standards and corresponding messages that define specific business
    #   documents.
    #
    # @option params [String] :sample_document
    #   Specifies a sample EDI document that is used by a transformer as a
    #   guide for processing the EDI data.
    #
    # @option params [Types::InputConversion] :input_conversion
    #   Specify the `InputConversion` object, which contains the format
    #   options for the inbound transformation.
    #
    # @option params [Types::Mapping] :mapping
    #   Specify the structure that contains the mapping template and its
    #   language (either XSLT or JSONATA).
    #
    # @option params [Types::OutputConversion] :output_conversion
    #   A structure that contains the `OutputConversion` object, which
    #   contains the format options for the outbound transformation.
    #
    # @option params [Types::SampleDocuments] :sample_documents
    #   Specify a structure that contains the Amazon S3 bucket and an array of
    #   the corresponding keys used to identify the location for your sample
    #   documents.
    #
    # @return [Types::CreateTransformerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::CreateTransformerResponse#transformer_id #transformer_id} => String
    #   * {Types::CreateTransformerResponse#transformer_arn #transformer_arn} => String
    #   * {Types::CreateTransformerResponse#name #name} => String
    #   * {Types::CreateTransformerResponse#status #status} => String
    #   * {Types::CreateTransformerResponse#created_at #created_at} => Time
    #   * {Types::CreateTransformerResponse#file_format #file_format} => String
    #   * {Types::CreateTransformerResponse#mapping_template #mapping_template} => String
    #   * {Types::CreateTransformerResponse#edi_type #edi_type} => Types::EdiType
    #   * {Types::CreateTransformerResponse#sample_document #sample_document} => String
    #   * {Types::CreateTransformerResponse#input_conversion #input_conversion} => Types::InputConversion
    #   * {Types::CreateTransformerResponse#mapping #mapping} => Types::Mapping
    #   * {Types::CreateTransformerResponse#output_conversion #output_conversion} => Types::OutputConversion
    #   * {Types::CreateTransformerResponse#sample_documents #sample_documents} => Types::SampleDocuments
    #
    #
    # @example Example: Sample CreateTransformer call
    #
    #   resp = client.create_transformer({
    #     name: "transformX12", 
    #     client_token: "foo", 
    #     input_conversion: {
    #       advanced_options: {
    #         x12: {
    #           split_options: {
    #             split_by: "NONE", 
    #           }, 
    #           validation_options: {
    #             validation_rules: [
    #               {
    #                 code_list_validation_rule: {
    #                   codes_to_add: [
    #                     "A", 
    #                     "B", 
    #                     "C", 
    #                   ], 
    #                   codes_to_remove: [
    #                     "X", 
    #                     "Y", 
    #                     "Z", 
    #                   ], 
    #                   element_id: "1234", 
    #                 }, 
    #               }, 
    #               {
    #                 element_requirement_validation_rule: {
    #                   element_position: "NM1-01", 
    #                   requirement: "MANDATORY", 
    #                 }, 
    #               }, 
    #               {
    #                 element_length_validation_rule: {
    #                   element_id: "5678", 
    #                   max_length: 10, 
    #                   min_length: 2, 
    #                 }, 
    #               }, 
    #             ], 
    #           }, 
    #         }, 
    #       }, 
    #       format_options: {
    #         x12: {
    #           version: "VERSION_4010", 
    #           transaction_set: "X12_110", 
    #         }, 
    #       }, 
    #       from_format: "X12", 
    #     }, 
    #     mapping: {
    #       template: "{}", 
    #       template_language: "JSONATA", 
    #     }, 
    #     sample_documents: {
    #       bucket_name: "test-bucket", 
    #       keys: [
    #         {
    #           input: "sampleDoc.txt", 
    #         }, 
    #       ], 
    #     }, 
    #     tags: [
    #       {
    #         key: "sampleKey", 
    #         value: "sampleValue", 
    #       }, 
    #     ], 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     name: "transformX12", 
    #     created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #     input_conversion: {
    #       advanced_options: {
    #         x12: {
    #           split_options: {
    #             split_by: "NONE", 
    #           }, 
    #           validation_options: {
    #             validation_rules: [
    #               {
    #                 code_list_validation_rule: {
    #                   codes_to_add: [
    #                     "A", 
    #                     "B", 
    #                     "C", 
    #                   ], 
    #                   codes_to_remove: [
    #                     "X", 
    #                     "Y", 
    #                     "Z", 
    #                   ], 
    #                   element_id: "1234", 
    #                 }, 
    #               }, 
    #               {
    #                 element_requirement_validation_rule: {
    #                   element_position: "NM1-01", 
    #                   requirement: "MANDATORY", 
    #                 }, 
    #               }, 
    #               {
    #                 element_length_validation_rule: {
    #                   element_id: "5678", 
    #                   max_length: 10, 
    #                   min_length: 2, 
    #                 }, 
    #               }, 
    #             ], 
    #           }, 
    #         }, 
    #       }, 
    #       format_options: {
    #         x12: {
    #           version: "VERSION_4010", 
    #           transaction_set: "X12_110", 
    #         }, 
    #       }, 
    #       from_format: "X12", 
    #     }, 
    #     mapping: {
    #       template: "{}", 
    #       template_language: "JSONATA", 
    #     }, 
    #     sample_documents: {
    #       bucket_name: "test-bucket", 
    #       keys: [
    #         {
    #           input: "sampleDoc.txt", 
    #         }, 
    #       ], 
    #     }, 
    #     status: "inactive", 
    #     transformer_arn: "arn:aws:b2bi:us-west-2:123456789012:transformer/tr-974c129999f84d8c9", 
    #     transformer_id: "tr-974c129999f84d8c9", 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.create_transformer({
    #     name: "TransformerName", # required
    #     client_token: "String",
    #     tags: [
    #       {
    #         key: "TagKey", # required
    #         value: "TagValue", # required
    #       },
    #     ],
    #     file_format: "XML", # accepts XML, JSON, NOT_USED
    #     mapping_template: "MappingTemplate",
    #     edi_type: {
    #       x12_details: {
    #         transaction_set: "X12_100", # accepts X12_100, X12_101, X12_102, X12_103, X12_104, X12_105, X12_106, X12_107, X12_108, X12_109, X12_110, X12_111, X12_112, X12_113, X12_120, X12_121, X12_124, X12_125, X12_126, X12_127, X12_128, X12_129, X12_130, X12_131, X12_132, X12_133, X12_135, X12_138, X12_139, X12_140, X12_141, X12_142, X12_143, X12_144, X12_146, X12_147, X12_148, X12_149, X12_150, X12_151, X12_152, X12_153, X12_154, X12_155, X12_157, X12_158, X12_159, X12_160, X12_161, X12_163, X12_170, X12_175, X12_176, X12_179, X12_180, X12_185, X12_186, X12_187, X12_188, X12_189, X12_190, X12_191, X12_194, X12_195, X12_196, X12_197, X12_198, X12_199, X12_200, X12_201, X12_202, X12_203, X12_204, X12_205, X12_206, X12_210, X12_211, X12_212, X12_213, X12_214, X12_215, X12_216, X12_217, X12_218, X12_219, X12_220, X12_222, X12_223, X12_224, X12_225, X12_227, X12_228, X12_240, X12_242, X12_244, X12_245, X12_248, X12_249, X12_250, X12_251, X12_252, X12_255, X12_256, X12_259, X12_260, X12_261, X12_262, X12_263, X12_264, X12_265, X12_266, X12_267, X12_268, X12_269, X12_270, X12_271, X12_272, X12_273, X12_274, X12_275, X12_276, X12_277, X12_278, X12_280, X12_283, X12_284, X12_285, X12_286, X12_288, X12_290, X12_300, X12_301, X12_303, X12_304, X12_309, X12_310, X12_311, X12_312, X12_313, X12_315, X12_317, X12_319, X12_322, X12_323, X12_324, X12_325, X12_326, X12_350, X12_352, X12_353, X12_354, X12_355, X12_356, X12_357, X12_358, X12_361, X12_362, X12_404, X12_410, X12_412, X12_414, X12_417, X12_418, X12_419, X12_420, X12_421, X12_422, X12_423, X12_424, X12_425, X12_426, X12_429, X12_431, X12_432, X12_433, X12_434, X12_435, X12_436, X12_437, X12_440, X12_451, X12_452, X12_453, X12_455, X12_456, X12_460, X12_463, X12_466, X12_468, X12_470, X12_475, X12_485, X12_486, X12_490, X12_492, X12_494, X12_500, X12_501, X12_503, X12_504, X12_511, X12_517, X12_521, X12_527, X12_536, X12_540, X12_561, X12_567, X12_568, X12_601, X12_602, X12_620, X12_625, X12_650, X12_715, X12_753, X12_754, X12_805, X12_806, X12_810, X12_811, X12_812, X12_813, X12_814, X12_815, X12_816, X12_818, X12_819, X12_820, X12_821, X12_822, X12_823, X12_824, X12_826, X12_827, X12_828, X12_829, X12_830, X12_831, X12_832, X12_833, X12_834, X12_835, X12_836, X12_837, X12_838, X12_839, X12_840, X12_841, X12_842, X12_843, X12_844, X12_845, X12_846, X12_847, X12_848, X12_849, X12_850, X12_851, X12_852, X12_853, X12_854, X12_855, X12_856, X12_857, X12_858, X12_859, X12_860, X12_861, X12_862, X12_863, X12_864, X12_865, X12_866, X12_867, X12_868, X12_869, X12_870, X12_871, X12_872, X12_873, X12_874, X12_875, X12_876, X12_877, X12_878, X12_879, X12_880, X12_881, X12_882, X12_883, X12_884, X12_885, X12_886, X12_887, X12_888, X12_889, X12_891, X12_893, X12_894, X12_895, X12_896, X12_920, X12_924, X12_925, X12_926, X12_928, X12_940, X12_943, X12_944, X12_945, X12_947, X12_980, X12_990, X12_993, X12_996, X12_997, X12_998, X12_999, X12_270_X279, X12_271_X279, X12_275_X210, X12_275_X211, X12_276_X212, X12_277_X212, X12_277_X214, X12_277_X364, X12_278_X217, X12_820_X218, X12_820_X306, X12_824_X186, X12_834_X220, X12_834_X307, X12_834_X318, X12_835_X221, X12_837_X222, X12_837_X223, X12_837_X224, X12_837_X291, X12_837_X292, X12_837_X298, X12_999_X231
    #         version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
    #       },
    #     },
    #     sample_document: "FileLocation",
    #     input_conversion: {
    #       from_format: "X12", # required, accepts X12
    #       format_options: {
    #         x12: {
    #           transaction_set: "X12_100", # accepts X12_100, X12_101, X12_102, X12_103, X12_104, X12_105, X12_106, X12_107, X12_108, X12_109, X12_110, X12_111, X12_112, X12_113, X12_120, X12_121, X12_124, X12_125, X12_126, X12_127, X12_128, X12_129, X12_130, X12_131, X12_132, X12_133, X12_135, X12_138, X12_139, X12_140, X12_141, X12_142, X12_143, X12_144, X12_146, X12_147, X12_148, X12_149, X12_150, X12_151, X12_152, X12_153, X12_154, X12_155, X12_157, X12_158, X12_159, X12_160, X12_161, X12_163, X12_170, X12_175, X12_176, X12_179, X12_180, X12_185, X12_186, X12_187, X12_188, X12_189, X12_190, X12_191, X12_194, X12_195, X12_196, X12_197, X12_198, X12_199, X12_200, X12_201, X12_202, X12_203, X12_204, X12_205, X12_206, X12_210, X12_211, X12_212, X12_213, X12_214, X12_215, X12_216, X12_217, X12_218, X12_219, X12_220, X12_222, X12_223, X12_224, X12_225, X12_227, X12_228, X12_240, X12_242, X12_244, X12_245, X12_248, X12_249, X12_250, X12_251, X12_252, X12_255, X12_256, X12_259, X12_260, X12_261, X12_262, X12_263, X12_264, X12_265, X12_266, X12_267, X12_268, X12_269, X12_270, X12_271, X12_272, X12_273, X12_274, X12_275, X12_276, X12_277, X12_278, X12_280, X12_283, X12_284, X12_285, X12_286, X12_288, X12_290, X12_300, X12_301, X12_303, X12_304, X12_309, X12_310, X12_311, X12_312, X12_313, X12_315, X12_317, X12_319, X12_322, X12_323, X12_324, X12_325, X12_326, X12_350, X12_352, X12_353, X12_354, X12_355, X12_356, X12_357, X12_358, X12_361, X12_362, X12_404, X12_410, X12_412, X12_414, X12_417, X12_418, X12_419, X12_420, X12_421, X12_422, X12_423, X12_424, X12_425, X12_426, X12_429, X12_431, X12_432, X12_433, X12_434, X12_435, X12_436, X12_437, X12_440, X12_451, X12_452, X12_453, X12_455, X12_456, X12_460, X12_463, X12_466, X12_468, X12_470, X12_475, X12_485, X12_486, X12_490, X12_492, X12_494, X12_500, X12_501, X12_503, X12_504, X12_511, X12_517, X12_521, X12_527, X12_536, X12_540, X12_561, X12_567, X12_568, X12_601, X12_602, X12_620, X12_625, X12_650, X12_715, X12_753, X12_754, X12_805, X12_806, X12_810, X12_811, X12_812, X12_813, X12_814, X12_815, X12_816, X12_818, X12_819, X12_820, X12_821, X12_822, X12_823, X12_824, X12_826, X12_827, X12_828, X12_829, X12_830, X12_831, X12_832, X12_833, X12_834, X12_835, X12_836, X12_837, X12_838, X12_839, X12_840, X12_841, X12_842, X12_843, X12_844, X12_845, X12_846, X12_847, X12_848, X12_849, X12_850, X12_851, X12_852, X12_853, X12_854, X12_855, X12_856, X12_857, X12_858, X12_859, X12_860, X12_861, X12_862, X12_863, X12_864, X12_865, X12_866, X12_867, X12_868, X12_869, X12_870, X12_871, X12_872, X12_873, X12_874, X12_875, X12_876, X12_877, X12_878, X12_879, X12_880, X12_881, X12_882, X12_883, X12_884, X12_885, X12_886, X12_887, X12_888, X12_889, X12_891, X12_893, X12_894, X12_895, X12_896, X12_920, X12_924, X12_925, X12_926, X12_928, X12_940, X12_943, X12_944, X12_945, X12_947, X12_980, X12_990, X12_993, X12_996, X12_997, X12_998, X12_999, X12_270_X279, X12_271_X279, X12_275_X210, X12_275_X211, X12_276_X212, X12_277_X212, X12_277_X214, X12_277_X364, X12_278_X217, X12_820_X218, X12_820_X306, X12_824_X186, X12_834_X220, X12_834_X307, X12_834_X318, X12_835_X221, X12_837_X222, X12_837_X223, X12_837_X224, X12_837_X291, X12_837_X292, X12_837_X298, X12_999_X231
    #           version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
    #         },
    #       },
    #       advanced_options: {
    #         x12: {
    #           split_options: {
    #             split_by: "NONE", # required, accepts NONE, TRANSACTION
    #           },
    #           validation_options: {
    #             validation_rules: [
    #               {
    #                 code_list_validation_rule: {
    #                   element_id: "ElementId", # required
    #                   codes_to_add: ["String"],
    #                   codes_to_remove: ["String"],
    #                 },
    #                 element_length_validation_rule: {
    #                   element_id: "ElementId", # required
    #                   max_length: 1, # required
    #                   min_length: 1, # required
    #                 },
    #                 element_requirement_validation_rule: {
    #                   element_position: "ElementPosition", # required
    #                   requirement: "OPTIONAL", # required, accepts OPTIONAL, MANDATORY
    #                 },
    #               },
    #             ],
    #           },
    #         },
    #       },
    #     },
    #     mapping: {
    #       template_language: "XSLT", # required, accepts XSLT, JSONATA
    #       template: "MappingTemplate",
    #     },
    #     output_conversion: {
    #       to_format: "X12", # required, accepts X12
    #       format_options: {
    #         x12: {
    #           transaction_set: "X12_100", # accepts X12_100, X12_101, X12_102, X12_103, X12_104, X12_105, X12_106, X12_107, X12_108, X12_109, X12_110, X12_111, X12_112, X12_113, X12_120, X12_121, X12_124, X12_125, X12_126, X12_127, X12_128, X12_129, X12_130, X12_131, X12_132, X12_133, X12_135, X12_138, X12_139, X12_140, X12_141, X12_142, X12_143, X12_144, X12_146, X12_147, X12_148, X12_149, X12_150, X12_151, X12_152, X12_153, X12_154, X12_155, X12_157, X12_158, X12_159, X12_160, X12_161, X12_163, X12_170, X12_175, X12_176, X12_179, X12_180, X12_185, X12_186, X12_187, X12_188, X12_189, X12_190, X12_191, X12_194, X12_195, X12_196, X12_197, X12_198, X12_199, X12_200, X12_201, X12_202, X12_203, X12_204, X12_205, X12_206, X12_210, X12_211, X12_212, X12_213, X12_214, X12_215, X12_216, X12_217, X12_218, X12_219, X12_220, X12_222, X12_223, X12_224, X12_225, X12_227, X12_228, X12_240, X12_242, X12_244, X12_245, X12_248, X12_249, X12_250, X12_251, X12_252, X12_255, X12_256, X12_259, X12_260, X12_261, X12_262, X12_263, X12_264, X12_265, X12_266, X12_267, X12_268, X12_269, X12_270, X12_271, X12_272, X12_273, X12_274, X12_275, X12_276, X12_277, X12_278, X12_280, X12_283, X12_284, X12_285, X12_286, X12_288, X12_290, X12_300, X12_301, X12_303, X12_304, X12_309, X12_310, X12_311, X12_312, X12_313, X12_315, X12_317, X12_319, X12_322, X12_323, X12_324, X12_325, X12_326, X12_350, X12_352, X12_353, X12_354, X12_355, X12_356, X12_357, X12_358, X12_361, X12_362, X12_404, X12_410, X12_412, X12_414, X12_417, X12_418, X12_419, X12_420, X12_421, X12_422, X12_423, X12_424, X12_425, X12_426, X12_429, X12_431, X12_432, X12_433, X12_434, X12_435, X12_436, X12_437, X12_440, X12_451, X12_452, X12_453, X12_455, X12_456, X12_460, X12_463, X12_466, X12_468, X12_470, X12_475, X12_485, X12_486, X12_490, X12_492, X12_494, X12_500, X12_501, X12_503, X12_504, X12_511, X12_517, X12_521, X12_527, X12_536, X12_540, X12_561, X12_567, X12_568, X12_601, X12_602, X12_620, X12_625, X12_650, X12_715, X12_753, X12_754, X12_805, X12_806, X12_810, X12_811, X12_812, X12_813, X12_814, X12_815, X12_816, X12_818, X12_819, X12_820, X12_821, X12_822, X12_823, X12_824, X12_826, X12_827, X12_828, X12_829, X12_830, X12_831, X12_832, X12_833, X12_834, X12_835, X12_836, X12_837, X12_838, X12_839, X12_840, X12_841, X12_842, X12_843, X12_844, X12_845, X12_846, X12_847, X12_848, X12_849, X12_850, X12_851, X12_852, X12_853, X12_854, X12_855, X12_856, X12_857, X12_858, X12_859, X12_860, X12_861, X12_862, X12_863, X12_864, X12_865, X12_866, X12_867, X12_868, X12_869, X12_870, X12_871, X12_872, X12_873, X12_874, X12_875, X12_876, X12_877, X12_878, X12_879, X12_880, X12_881, X12_882, X12_883, X12_884, X12_885, X12_886, X12_887, X12_888, X12_889, X12_891, X12_893, X12_894, X12_895, X12_896, X12_920, X12_924, X12_925, X12_926, X12_928, X12_940, X12_943, X12_944, X12_945, X12_947, X12_980, X12_990, X12_993, X12_996, X12_997, X12_998, X12_999, X12_270_X279, X12_271_X279, X12_275_X210, X12_275_X211, X12_276_X212, X12_277_X212, X12_277_X214, X12_277_X364, X12_278_X217, X12_820_X218, X12_820_X306, X12_824_X186, X12_834_X220, X12_834_X307, X12_834_X318, X12_835_X221, X12_837_X222, X12_837_X223, X12_837_X224, X12_837_X291, X12_837_X292, X12_837_X298, X12_999_X231
    #           version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
    #         },
    #       },
    #       advanced_options: {
    #         x12: {
    #           split_options: {
    #             split_by: "NONE", # required, accepts NONE, TRANSACTION
    #           },
    #           validation_options: {
    #             validation_rules: [
    #               {
    #                 code_list_validation_rule: {
    #                   element_id: "ElementId", # required
    #                   codes_to_add: ["String"],
    #                   codes_to_remove: ["String"],
    #                 },
    #                 element_length_validation_rule: {
    #                   element_id: "ElementId", # required
    #                   max_length: 1, # required
    #                   min_length: 1, # required
    #                 },
    #                 element_requirement_validation_rule: {
    #                   element_position: "ElementPosition", # required
    #                   requirement: "OPTIONAL", # required, accepts OPTIONAL, MANDATORY
    #                 },
    #               },
    #             ],
    #           },
    #         },
    #       },
    #     },
    #     sample_documents: {
    #       bucket_name: "BucketName", # required
    #       keys: [ # required
    #         {
    #           input: "S3Key",
    #           output: "S3Key",
    #         },
    #       ],
    #     },
    #   })
    #
    # @example Response structure
    #
    #   resp.transformer_id #=> String
    #   resp.transformer_arn #=> String
    #   resp.name #=> String
    #   resp.status #=> String, one of "active", "inactive"
    #   resp.created_at #=> Time
    #   resp.file_format #=> String, one of "XML", "JSON", "NOT_USED"
    #   resp.mapping_template #=> String
    #   resp.edi_type.x12_details.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "X12_999", "X12_270_X279", "X12_271_X279", "X12_275_X210", "X12_275_X211", "X12_276_X212", "X12_277_X212", "X12_277_X214", "X12_277_X364", "X12_278_X217", "X12_820_X218", "X12_820_X306", "X12_824_X186", "X12_834_X220", "X12_834_X307", "X12_834_X318", "X12_835_X221", "X12_837_X222", "X12_837_X223", "X12_837_X224", "X12_837_X291", "X12_837_X292", "X12_837_X298", "X12_999_X231"
    #   resp.edi_type.x12_details.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
    #   resp.sample_document #=> String
    #   resp.input_conversion.from_format #=> String, one of "X12"
    #   resp.input_conversion.format_options.x12.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "X12_999", "X12_270_X279", "X12_271_X279", "X12_275_X210", "X12_275_X211", "X12_276_X212", "X12_277_X212", "X12_277_X214", "X12_277_X364", "X12_278_X217", "X12_820_X218", "X12_820_X306", "X12_824_X186", "X12_834_X220", "X12_834_X307", "X12_834_X318", "X12_835_X221", "X12_837_X222", "X12_837_X223", "X12_837_X224", "X12_837_X291", "X12_837_X292", "X12_837_X298", "X12_999_X231"
    #   resp.input_conversion.format_options.x12.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
    #   resp.input_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules #=> Array
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.element_id #=> String
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add #=> Array
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add[0] #=> String
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove #=> Array
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove[0] #=> String
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.element_id #=> String
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.max_length #=> Integer
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.min_length #=> Integer
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.element_position #=> String
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.requirement #=> String, one of "OPTIONAL", "MANDATORY"
    #   resp.mapping.template_language #=> String, one of "XSLT", "JSONATA"
    #   resp.mapping.template #=> String
    #   resp.output_conversion.to_format #=> String, one of "X12"
    #   resp.output_conversion.format_options.x12.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "X12_999", "X12_270_X279", "X12_271_X279", "X12_275_X210", "X12_275_X211", "X12_276_X212", "X12_277_X212", "X12_277_X214", "X12_277_X364", "X12_278_X217", "X12_820_X218", "X12_820_X306", "X12_824_X186", "X12_834_X220", "X12_834_X307", "X12_834_X318", "X12_835_X221", "X12_837_X222", "X12_837_X223", "X12_837_X224", "X12_837_X291", "X12_837_X292", "X12_837_X298", "X12_999_X231"
    #   resp.output_conversion.format_options.x12.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
    #   resp.output_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules #=> Array
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.element_id #=> String
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add #=> Array
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add[0] #=> String
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove #=> Array
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove[0] #=> String
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.element_id #=> String
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.max_length #=> Integer
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.min_length #=> Integer
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.element_position #=> String
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.requirement #=> String, one of "OPTIONAL", "MANDATORY"
    #   resp.sample_documents.bucket_name #=> String
    #   resp.sample_documents.keys #=> Array
    #   resp.sample_documents.keys[0].input #=> String
    #   resp.sample_documents.keys[0].output #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/CreateTransformer AWS API Documentation
    #
    # @overload create_transformer(params = {})
    # @param [Hash] params ({})
    def create_transformer(params = {}, options = {})
      req = build_request(:create_transformer, params)
      req.send_request(options)
    end

    # Deletes the specified capability. A trading capability contains the
    # information required to transform incoming EDI documents into JSON or
    # XML outputs.
    #
    # @option params [required, String] :capability_id
    #   Specifies a system-assigned unique identifier for the capability.
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    #
    # @example Example: Sample DeleteCapabilty call
    #
    #   resp = client.delete_capability({
    #     capability_id: "ca-963a8121e4fc4e348", 
    #   })
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.delete_capability({
    #     capability_id: "CapabilityId", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/DeleteCapability AWS API Documentation
    #
    # @overload delete_capability(params = {})
    # @param [Hash] params ({})
    def delete_capability(params = {}, options = {})
      req = build_request(:delete_capability, params)
      req.send_request(options)
    end

    # Deletes the specified partnership. A partnership represents the
    # connection between you and your trading partner. It ties together a
    # profile and one or more trading capabilities.
    #
    # @option params [required, String] :partnership_id
    #   Specifies the unique, system-generated identifier for a partnership.
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    #
    # @example Example: Sample DeletePartnership call
    #
    #   resp = client.delete_partnership({
    #     partnership_id: "ps-219fa02f5b4242af8", 
    #   })
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.delete_partnership({
    #     partnership_id: "PartnershipId", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/DeletePartnership AWS API Documentation
    #
    # @overload delete_partnership(params = {})
    # @param [Hash] params ({})
    def delete_partnership(params = {}, options = {})
      req = build_request(:delete_partnership, params)
      req.send_request(options)
    end

    # Deletes the specified profile. A profile is the mechanism used to
    # create the concept of a private network.
    #
    # @option params [required, String] :profile_id
    #   Specifies the unique, system-generated identifier for the profile.
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    #
    # @example Example: Sample DeleteProfile call
    #
    #   resp = client.delete_profile({
    #     profile_id: "p-60fbc37c87f04fce9", 
    #   })
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.delete_profile({
    #     profile_id: "ProfileId", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/DeleteProfile AWS API Documentation
    #
    # @overload delete_profile(params = {})
    # @param [Hash] params ({})
    def delete_profile(params = {}, options = {})
      req = build_request(:delete_profile, params)
      req.send_request(options)
    end

    # Deletes the specified transformer. A transformer can take an EDI file
    # as input and transform it into a JSON-or XML-formatted document.
    # Alternatively, a transformer can take a JSON-or XML-formatted document
    # as input and transform it into an EDI file.
    #
    # @option params [required, String] :transformer_id
    #   Specifies the system-assigned unique identifier for the transformer.
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    #
    # @example Example: Sample DeleteTransformer call
    #
    #   resp = client.delete_transformer({
    #     transformer_id: "tr-974c129999f84d8c9", 
    #   })
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.delete_transformer({
    #     transformer_id: "TransformerId", # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/DeleteTransformer AWS API Documentation
    #
    # @overload delete_transformer(params = {})
    # @param [Hash] params ({})
    def delete_transformer(params = {}, options = {})
      req = build_request(:delete_transformer, params)
      req.send_request(options)
    end

    # Takes sample input and output documents and uses Amazon Bedrock to
    # generate a mapping automatically. Depending on the accuracy and other
    # factors, you can then edit the mapping for your needs.
    #
    # <note markdown="1"> Before you can use the AI-assisted feature for Amazon Web Services B2B
    # Data Interchange you must enable models in Amazon Bedrock. For
    # details, see [AI-assisted template mapping prerequisites][1] in the
    # *Amazon Web Services B2B Data Interchange User guide*.
    #
    #  </note>
    #
    # To generate a mapping, perform the following steps:
    #
    # 1.  Start with an X12 EDI document to use as the input.
    #
    # 2.  Call `TestMapping` using your EDI document.
    #
    # 3.  Use the output from the `TestMapping` operation as either input or
    #     output for your GenerateMapping call, along with your sample file.
    #
    #
    #
    # [1]: https://docs.aws.amazon.com/b2bi/latest/userguide/ai-assisted-mapping.html#ai-assist-prereq
    #
    # @option params [required, String] :input_file_content
    #   Provide the contents of a sample X12 EDI file, either in JSON or XML
    #   format, to use as a starting point for the mapping.
    #
    # @option params [required, String] :output_file_content
    #   Provide the contents of a sample X12 EDI file, either in JSON or XML
    #   format, to use as a target for the mapping.
    #
    # @option params [required, String] :mapping_type
    #   Specify the mapping type: either `JSONATA` or `XSLT.`
    #
    # @return [Types::GenerateMappingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GenerateMappingResponse#mapping_template #mapping_template} => String
    #   * {Types::GenerateMappingResponse#mapping_accuracy #mapping_accuracy} => Float
    #
    #
    # @example Example: Sample GenerateMapping call
    #
    #   resp = client.generate_mapping({
    #     input_file_content: "Sample input file content", 
    #     mapping_type: "JSONATA", 
    #     output_file_content: "Sample output file content", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     mapping_accuracy: 0.95, 
    #     mapping_template: "Sample mapping content", 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.generate_mapping({
    #     input_file_content: "GenerateMappingInputFileContent", # required
    #     output_file_content: "GenerateMappingOutputFileContent", # required
    #     mapping_type: "JSONATA", # required, accepts JSONATA, XSLT
    #   })
    #
    # @example Response structure
    #
    #   resp.mapping_template #=> String
    #   resp.mapping_accuracy #=> Float
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/GenerateMapping AWS API Documentation
    #
    # @overload generate_mapping(params = {})
    # @param [Hash] params ({})
    def generate_mapping(params = {}, options = {})
      req = build_request(:generate_mapping, params)
      req.send_request(options)
    end

    # Retrieves the details for the specified capability. A trading
    # capability contains the information required to transform incoming EDI
    # documents into JSON or XML outputs.
    #
    # @option params [required, String] :capability_id
    #   Specifies a system-assigned unique identifier for the capability.
    #
    # @return [Types::GetCapabilityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetCapabilityResponse#capability_id #capability_id} => String
    #   * {Types::GetCapabilityResponse#capability_arn #capability_arn} => String
    #   * {Types::GetCapabilityResponse#name #name} => String
    #   * {Types::GetCapabilityResponse#type #type} => String
    #   * {Types::GetCapabilityResponse#configuration #configuration} => Types::CapabilityConfiguration
    #   * {Types::GetCapabilityResponse#instructions_documents #instructions_documents} => Array&lt;Types::S3Location&gt;
    #   * {Types::GetCapabilityResponse#created_at #created_at} => Time
    #   * {Types::GetCapabilityResponse#modified_at #modified_at} => Time
    #
    #
    # @example Example: Sample GetCapabilty call
    #
    #   resp = client.get_capability({
    #     capability_id: "ca-963a8121e4fc4e348", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     name: "b2biexample", 
    #     type: "edi", 
    #     capability_arn: "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348", 
    #     capability_id: "ca-963a8121e4fc4e348", 
    #     configuration: {
    #       edi: {
    #         type: {
    #           x12_details: {
    #             version: "VERSION_4010", 
    #             transaction_set: "X12_110", 
    #           }, 
    #         }, 
    #         input_location: {
    #           key: "input/", 
    #           bucket_name: "test-bucket", 
    #         }, 
    #         output_location: {
    #           key: "output/", 
    #           bucket_name: "test-bucket", 
    #         }, 
    #         transformer_id: "tr-9a893cf536df4658b", 
    #       }, 
    #     }, 
    #     created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #     instructions_documents: [
    #       {
    #         key: "instructiondoc.txt", 
    #         bucket_name: "test-bucket", 
    #       }, 
    #     ], 
    #     modified_at: Time.parse("2023-11-02T21:51:05.504Z"), 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_capability({
    #     capability_id: "CapabilityId", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.capability_id #=> String
    #   resp.capability_arn #=> String
    #   resp.name #=> String
    #   resp.type #=> String, one of "edi"
    #   resp.configuration.edi.capability_direction #=> String, one of "INBOUND", "OUTBOUND"
    #   resp.configuration.edi.type.x12_details.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "X12_999", "X12_270_X279", "X12_271_X279", "X12_275_X210", "X12_275_X211", "X12_276_X212", "X12_277_X212", "X12_277_X214", "X12_277_X364", "X12_278_X217", "X12_820_X218", "X12_820_X306", "X12_824_X186", "X12_834_X220", "X12_834_X307", "X12_834_X318", "X12_835_X221", "X12_837_X222", "X12_837_X223", "X12_837_X224", "X12_837_X291", "X12_837_X292", "X12_837_X298", "X12_999_X231"
    #   resp.configuration.edi.type.x12_details.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
    #   resp.configuration.edi.input_location.bucket_name #=> String
    #   resp.configuration.edi.input_location.key #=> String
    #   resp.configuration.edi.output_location.bucket_name #=> String
    #   resp.configuration.edi.output_location.key #=> String
    #   resp.configuration.edi.transformer_id #=> String
    #   resp.instructions_documents #=> Array
    #   resp.instructions_documents[0].bucket_name #=> String
    #   resp.instructions_documents[0].key #=> String
    #   resp.created_at #=> Time
    #   resp.modified_at #=> Time
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/GetCapability AWS API Documentation
    #
    # @overload get_capability(params = {})
    # @param [Hash] params ({})
    def get_capability(params = {}, options = {})
      req = build_request(:get_capability, params)
      req.send_request(options)
    end

    # Retrieves the details for a partnership, based on the partner and
    # profile IDs specified. A partnership represents the connection between
    # you and your trading partner. It ties together a profile and one or
    # more trading capabilities.
    #
    # @option params [required, String] :partnership_id
    #   Specifies the unique, system-generated identifier for a partnership.
    #
    # @return [Types::GetPartnershipResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetPartnershipResponse#profile_id #profile_id} => String
    #   * {Types::GetPartnershipResponse#partnership_id #partnership_id} => String
    #   * {Types::GetPartnershipResponse#partnership_arn #partnership_arn} => String
    #   * {Types::GetPartnershipResponse#name #name} => String
    #   * {Types::GetPartnershipResponse#email #email} => String
    #   * {Types::GetPartnershipResponse#phone #phone} => String
    #   * {Types::GetPartnershipResponse#capabilities #capabilities} => Array&lt;String&gt;
    #   * {Types::GetPartnershipResponse#capability_options #capability_options} => Types::CapabilityOptions
    #   * {Types::GetPartnershipResponse#trading_partner_id #trading_partner_id} => String
    #   * {Types::GetPartnershipResponse#created_at #created_at} => Time
    #   * {Types::GetPartnershipResponse#modified_at #modified_at} => Time
    #
    #
    # @example Example: Sample GetPartnership call
    #
    #   resp = client.get_partnership({
    #     partnership_id: "ps-219fa02f5b4242af8", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     name: "b2bipartner", 
    #     capabilities: [
    #       "ca-963a8121e4fc4e348", 
    #     ], 
    #     created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #     email: "john@example.com", 
    #     modified_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #     partnership_arn: "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-219fa02f5b4242af8", 
    #     partnership_id: "ps-219fa02f5b4242af8", 
    #     phone: "5555555555", 
    #     profile_id: "p-60fbc37c87f04fce9", 
    #     trading_partner_id: "tp-2a17ca447f6f4a8a8", 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_partnership({
    #     partnership_id: "PartnershipId", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.profile_id #=> String
    #   resp.partnership_id #=> String
    #   resp.partnership_arn #=> String
    #   resp.name #=> String
    #   resp.email #=> String
    #   resp.phone #=> String
    #   resp.capabilities #=> Array
    #   resp.capabilities[0] #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.sender_id_qualifier #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.sender_id #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.receiver_id_qualifier #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.receiver_id #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.repetition_separator #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.acknowledgment_requested_code #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.usage_indicator_code #=> String
    #   resp.capability_options.outbound_edi.x12.common.functional_group_headers.application_sender_code #=> String
    #   resp.capability_options.outbound_edi.x12.common.functional_group_headers.application_receiver_code #=> String
    #   resp.capability_options.outbound_edi.x12.common.functional_group_headers.responsible_agency_code #=> String
    #   resp.capability_options.outbound_edi.x12.common.delimiters.component_separator #=> String
    #   resp.capability_options.outbound_edi.x12.common.delimiters.data_element_separator #=> String
    #   resp.capability_options.outbound_edi.x12.common.delimiters.segment_terminator #=> String
    #   resp.capability_options.outbound_edi.x12.common.validate_edi #=> Boolean
    #   resp.capability_options.outbound_edi.x12.common.control_numbers.starting_interchange_control_number #=> Integer
    #   resp.capability_options.outbound_edi.x12.common.control_numbers.starting_functional_group_control_number #=> Integer
    #   resp.capability_options.outbound_edi.x12.common.control_numbers.starting_transaction_set_control_number #=> Integer
    #   resp.capability_options.outbound_edi.x12.common.gs05_time_format #=> String, one of "HHMM", "HHMMSS", "HHMMSSDD"
    #   resp.capability_options.outbound_edi.x12.wrap_options.wrap_by #=> String, one of "SEGMENT", "ONE_LINE", "LINE_LENGTH"
    #   resp.capability_options.outbound_edi.x12.wrap_options.line_terminator #=> String, one of "CRLF", "LF", "CR"
    #   resp.capability_options.outbound_edi.x12.wrap_options.line_length #=> Integer
    #   resp.capability_options.inbound_edi.x12.acknowledgment_options.functional_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS", "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP"
    #   resp.capability_options.inbound_edi.x12.acknowledgment_options.technical_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS"
    #   resp.trading_partner_id #=> String
    #   resp.created_at #=> Time
    #   resp.modified_at #=> Time
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/GetPartnership AWS API Documentation
    #
    # @overload get_partnership(params = {})
    # @param [Hash] params ({})
    def get_partnership(params = {}, options = {})
      req = build_request(:get_partnership, params)
      req.send_request(options)
    end

    # Retrieves the details for the profile specified by the profile ID. A
    # profile is the mechanism used to create the concept of a private
    # network.
    #
    # @option params [required, String] :profile_id
    #   Specifies the unique, system-generated identifier for the profile.
    #
    # @return [Types::GetProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetProfileResponse#profile_id #profile_id} => String
    #   * {Types::GetProfileResponse#profile_arn #profile_arn} => String
    #   * {Types::GetProfileResponse#name #name} => String
    #   * {Types::GetProfileResponse#email #email} => String
    #   * {Types::GetProfileResponse#phone #phone} => String
    #   * {Types::GetProfileResponse#business_name #business_name} => String
    #   * {Types::GetProfileResponse#logging #logging} => String
    #   * {Types::GetProfileResponse#log_group_name #log_group_name} => String
    #   * {Types::GetProfileResponse#created_at #created_at} => Time
    #   * {Types::GetProfileResponse#modified_at #modified_at} => Time
    #
    #
    # @example Example: Sample GetProfile call
    #
    #   resp = client.get_profile({
    #     profile_id: "p-60fbc37c87f04fce9", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     name: "Shipping Profile", 
    #     business_name: "John's Trucking", 
    #     created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #     email: "john@example.com", 
    #     log_group_name: "b2bi/p-60fbc37c87f04fce9-Logs", 
    #     logging: "ENABLED", 
    #     phone: "5555555555", 
    #     profile_arn: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9", 
    #     profile_id: "p-60fbc37c87f04fce9", 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_profile({
    #     profile_id: "ProfileId", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.profile_id #=> String
    #   resp.profile_arn #=> String
    #   resp.name #=> String
    #   resp.email #=> String
    #   resp.phone #=> String
    #   resp.business_name #=> String
    #   resp.logging #=> String, one of "ENABLED", "DISABLED"
    #   resp.log_group_name #=> String
    #   resp.created_at #=> Time
    #   resp.modified_at #=> Time
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/GetProfile AWS API Documentation
    #
    # @overload get_profile(params = {})
    # @param [Hash] params ({})
    def get_profile(params = {}, options = {})
      req = build_request(:get_profile, params)
      req.send_request(options)
    end

    # Retrieves the details for the transformer specified by the transformer
    # ID. A transformer can take an EDI file as input and transform it into
    # a JSON-or XML-formatted document. Alternatively, a transformer can
    # take a JSON-or XML-formatted document as input and transform it into
    # an EDI file.
    #
    # @option params [required, String] :transformer_id
    #   Specifies the system-assigned unique identifier for the transformer.
    #
    # @return [Types::GetTransformerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetTransformerResponse#transformer_id #transformer_id} => String
    #   * {Types::GetTransformerResponse#transformer_arn #transformer_arn} => String
    #   * {Types::GetTransformerResponse#name #name} => String
    #   * {Types::GetTransformerResponse#status #status} => String
    #   * {Types::GetTransformerResponse#created_at #created_at} => Time
    #   * {Types::GetTransformerResponse#modified_at #modified_at} => Time
    #   * {Types::GetTransformerResponse#file_format #file_format} => String
    #   * {Types::GetTransformerResponse#mapping_template #mapping_template} => String
    #   * {Types::GetTransformerResponse#edi_type #edi_type} => Types::EdiType
    #   * {Types::GetTransformerResponse#sample_document #sample_document} => String
    #   * {Types::GetTransformerResponse#input_conversion #input_conversion} => Types::InputConversion
    #   * {Types::GetTransformerResponse#mapping #mapping} => Types::Mapping
    #   * {Types::GetTransformerResponse#output_conversion #output_conversion} => Types::OutputConversion
    #   * {Types::GetTransformerResponse#sample_documents #sample_documents} => Types::SampleDocuments
    #
    #
    # @example Example: Sample GetTransformer call
    #
    #   resp = client.get_transformer({
    #     transformer_id: "tr-974c129999f84d8c9", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     name: "transformX12", 
    #     created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #     input_conversion: {
    #       advanced_options: {
    #         x12: {
    #           split_options: {
    #             split_by: "NONE", 
    #           }, 
    #           validation_options: {
    #             validation_rules: [
    #               {
    #                 code_list_validation_rule: {
    #                   codes_to_add: [
    #                     "A", 
    #                     "B", 
    #                     "C", 
    #                   ], 
    #                   codes_to_remove: [
    #                     "X", 
    #                     "Y", 
    #                     "Z", 
    #                   ], 
    #                   element_id: "1234", 
    #                 }, 
    #               }, 
    #               {
    #                 element_requirement_validation_rule: {
    #                   element_position: "NM1-01", 
    #                   requirement: "MANDATORY", 
    #                 }, 
    #               }, 
    #               {
    #                 element_length_validation_rule: {
    #                   element_id: "5678", 
    #                   max_length: 10, 
    #                   min_length: 2, 
    #                 }, 
    #               }, 
    #             ], 
    #           }, 
    #         }, 
    #       }, 
    #       format_options: {
    #         x12: {
    #           version: "VERSION_4010", 
    #           transaction_set: "X12_110", 
    #         }, 
    #       }, 
    #       from_format: "X12", 
    #     }, 
    #     mapping: {
    #       template: "{}", 
    #       template_language: "JSONATA", 
    #     }, 
    #     sample_documents: {
    #       bucket_name: "test-bucket", 
    #       keys: [
    #         {
    #           input: "sampleDoc.txt", 
    #         }, 
    #       ], 
    #     }, 
    #     status: "inactive", 
    #     transformer_arn: "arn:aws:b2bi:us-west-2:123456789012:transformer/tr-974c129999f84d8c9", 
    #     transformer_id: "tr-974c129999f84d8c9", 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_transformer({
    #     transformer_id: "TransformerId", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.transformer_id #=> String
    #   resp.transformer_arn #=> String
    #   resp.name #=> String
    #   resp.status #=> String, one of "active", "inactive"
    #   resp.created_at #=> Time
    #   resp.modified_at #=> Time
    #   resp.file_format #=> String, one of "XML", "JSON", "NOT_USED"
    #   resp.mapping_template #=> String
    #   resp.edi_type.x12_details.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "X12_999", "X12_270_X279", "X12_271_X279", "X12_275_X210", "X12_275_X211", "X12_276_X212", "X12_277_X212", "X12_277_X214", "X12_277_X364", "X12_278_X217", "X12_820_X218", "X12_820_X306", "X12_824_X186", "X12_834_X220", "X12_834_X307", "X12_834_X318", "X12_835_X221", "X12_837_X222", "X12_837_X223", "X12_837_X224", "X12_837_X291", "X12_837_X292", "X12_837_X298", "X12_999_X231"
    #   resp.edi_type.x12_details.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
    #   resp.sample_document #=> String
    #   resp.input_conversion.from_format #=> String, one of "X12"
    #   resp.input_conversion.format_options.x12.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "X12_999", "X12_270_X279", "X12_271_X279", "X12_275_X210", "X12_275_X211", "X12_276_X212", "X12_277_X212", "X12_277_X214", "X12_277_X364", "X12_278_X217", "X12_820_X218", "X12_820_X306", "X12_824_X186", "X12_834_X220", "X12_834_X307", "X12_834_X318", "X12_835_X221", "X12_837_X222", "X12_837_X223", "X12_837_X224", "X12_837_X291", "X12_837_X292", "X12_837_X298", "X12_999_X231"
    #   resp.input_conversion.format_options.x12.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
    #   resp.input_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules #=> Array
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.element_id #=> String
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add #=> Array
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add[0] #=> String
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove #=> Array
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove[0] #=> String
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.element_id #=> String
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.max_length #=> Integer
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.min_length #=> Integer
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.element_position #=> String
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.requirement #=> String, one of "OPTIONAL", "MANDATORY"
    #   resp.mapping.template_language #=> String, one of "XSLT", "JSONATA"
    #   resp.mapping.template #=> String
    #   resp.output_conversion.to_format #=> String, one of "X12"
    #   resp.output_conversion.format_options.x12.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "X12_999", "X12_270_X279", "X12_271_X279", "X12_275_X210", "X12_275_X211", "X12_276_X212", "X12_277_X212", "X12_277_X214", "X12_277_X364", "X12_278_X217", "X12_820_X218", "X12_820_X306", "X12_824_X186", "X12_834_X220", "X12_834_X307", "X12_834_X318", "X12_835_X221", "X12_837_X222", "X12_837_X223", "X12_837_X224", "X12_837_X291", "X12_837_X292", "X12_837_X298", "X12_999_X231"
    #   resp.output_conversion.format_options.x12.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
    #   resp.output_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules #=> Array
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.element_id #=> String
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add #=> Array
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add[0] #=> String
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove #=> Array
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove[0] #=> String
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.element_id #=> String
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.max_length #=> Integer
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.min_length #=> Integer
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.element_position #=> String
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.requirement #=> String, one of "OPTIONAL", "MANDATORY"
    #   resp.sample_documents.bucket_name #=> String
    #   resp.sample_documents.keys #=> Array
    #   resp.sample_documents.keys[0].input #=> String
    #   resp.sample_documents.keys[0].output #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/GetTransformer AWS API Documentation
    #
    # @overload get_transformer(params = {})
    # @param [Hash] params ({})
    def get_transformer(params = {}, options = {})
      req = build_request(:get_transformer, params)
      req.send_request(options)
    end

    # Returns the details of the transformer run, based on the Transformer
    # job ID.
    #
    # <note markdown="1"> If 30 days have elapsed since your transformer job was started, the
    # system deletes it. So, if you run `GetTransformerJob` and supply a
    # `transformerId` and `transformerJobId` for a job that was started more
    # than 30 days previously, you receive a 404 response.
    #
    #  </note>
    #
    # @option params [required, String] :transformer_job_id
    #   Specifies the unique, system-generated identifier for a transformer
    #   run.
    #
    # @option params [required, String] :transformer_id
    #   Specifies the system-assigned unique identifier for the transformer.
    #
    # @return [Types::GetTransformerJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::GetTransformerJobResponse#status #status} => String
    #   * {Types::GetTransformerJobResponse#output_files #output_files} => Array&lt;Types::S3Location&gt;
    #   * {Types::GetTransformerJobResponse#message #message} => String
    #
    #
    # @example Example: Sample GetTransformerJob call
    #
    #   resp = client.get_transformer_job({
    #     transformer_id: "tr-974c129999f84d8c9", 
    #     transformer_job_id: "tj-vpYxfV7yQOqjMSYllEslLw", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     message: "Transformed, writing output", 
    #     output_files: [
    #       {
    #         key: "output/sample-214.edi.2023-11-01T10:44:03.353Z.json", 
    #         bucket_name: "gt-edi-test", 
    #       }, 
    #     ], 
    #     status: "succeeded", 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.get_transformer_job({
    #     transformer_job_id: "TransformerJobId", # required
    #     transformer_id: "TransformerId", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.status #=> String, one of "running", "succeeded", "failed"
    #   resp.output_files #=> Array
    #   resp.output_files[0].bucket_name #=> String
    #   resp.output_files[0].key #=> String
    #   resp.message #=> String
    #
    #
    # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
    #
    #   * transformer_job_succeeded
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/GetTransformerJob AWS API Documentation
    #
    # @overload get_transformer_job(params = {})
    # @param [Hash] params ({})
    def get_transformer_job(params = {}, options = {})
      req = build_request(:get_transformer_job, params)
      req.send_request(options)
    end

    # Lists the capabilities associated with your Amazon Web Services
    # account for your current or specified region. A trading capability
    # contains the information required to transform incoming EDI documents
    # into JSON or XML outputs.
    #
    # @option params [String] :next_token
    #   When additional results are obtained from the command, a `NextToken`
    #   parameter is returned in the output. You can then pass the `NextToken`
    #   parameter in a subsequent command to continue listing additional
    #   resources.
    #
    # @option params [Integer] :max_results
    #   Specifies the maximum number of capabilities to return.
    #
    # @return [Types::ListCapabilitiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListCapabilitiesResponse#capabilities #capabilities} => Array&lt;Types::CapabilitySummary&gt;
    #   * {Types::ListCapabilitiesResponse#next_token #next_token} => String
    #
    # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
    #
    #
    # @example Example: Sample ListCapabilities call
    #
    #   resp = client.list_capabilities({
    #     max_results: 50, 
    #     next_token: "foo", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     capabilities: [
    #       {
    #         name: "b2biexample", 
    #         type: "edi", 
    #         capability_id: "ca-963a8121e4fc4e348", 
    #         created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #         modified_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #       }, 
    #     ], 
    #     next_token: "foo", 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_capabilities({
    #     next_token: "PageToken",
    #     max_results: 1,
    #   })
    #
    # @example Response structure
    #
    #   resp.capabilities #=> Array
    #   resp.capabilities[0].capability_id #=> String
    #   resp.capabilities[0].name #=> String
    #   resp.capabilities[0].type #=> String, one of "edi"
    #   resp.capabilities[0].created_at #=> Time
    #   resp.capabilities[0].modified_at #=> Time
    #   resp.next_token #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/ListCapabilities AWS API Documentation
    #
    # @overload list_capabilities(params = {})
    # @param [Hash] params ({})
    def list_capabilities(params = {}, options = {})
      req = build_request(:list_capabilities, params)
      req.send_request(options)
    end

    # Lists the partnerships associated with your Amazon Web Services
    # account for your current or specified region. A partnership represents
    # the connection between you and your trading partner. It ties together
    # a profile and one or more trading capabilities.
    #
    # @option params [String] :profile_id
    #   Specifies the unique, system-generated identifier for the profile
    #   connected to this partnership.
    #
    # @option params [String] :next_token
    #   When additional results are obtained from the command, a `NextToken`
    #   parameter is returned in the output. You can then pass the `NextToken`
    #   parameter in a subsequent command to continue listing additional
    #   resources.
    #
    # @option params [Integer] :max_results
    #   Specifies the maximum number of capabilities to return.
    #
    # @return [Types::ListPartnershipsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListPartnershipsResponse#partnerships #partnerships} => Array&lt;Types::PartnershipSummary&gt;
    #   * {Types::ListPartnershipsResponse#next_token #next_token} => String
    #
    # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
    #
    #
    # @example Example: Sample ListPartnerships call
    #
    #   resp = client.list_partnerships({
    #     max_results: 50, 
    #     next_token: "foo", 
    #     profile_id: "p-60fbc37c87f04fce9", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     next_token: "string", 
    #     partnerships: [
    #       {
    #         name: "b2bipartner", 
    #         capabilities: [
    #           "ca-963a8121e4fc4e348", 
    #         ], 
    #         created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #         modified_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #         partnership_id: "ps-219fa02f5b4242af8", 
    #         profile_id: "p-60fbc37c87f04fce9", 
    #         trading_partner_id: "tp-2a17ca447f6f4a8a8", 
    #       }, 
    #     ], 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_partnerships({
    #     profile_id: "ProfileId",
    #     next_token: "PageToken",
    #     max_results: 1,
    #   })
    #
    # @example Response structure
    #
    #   resp.partnerships #=> Array
    #   resp.partnerships[0].profile_id #=> String
    #   resp.partnerships[0].partnership_id #=> String
    #   resp.partnerships[0].name #=> String
    #   resp.partnerships[0].capabilities #=> Array
    #   resp.partnerships[0].capabilities[0] #=> String
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.interchange_control_headers.sender_id_qualifier #=> String
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.interchange_control_headers.sender_id #=> String
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.interchange_control_headers.receiver_id_qualifier #=> String
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.interchange_control_headers.receiver_id #=> String
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.interchange_control_headers.repetition_separator #=> String
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.interchange_control_headers.acknowledgment_requested_code #=> String
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.interchange_control_headers.usage_indicator_code #=> String
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.functional_group_headers.application_sender_code #=> String
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.functional_group_headers.application_receiver_code #=> String
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.functional_group_headers.responsible_agency_code #=> String
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.delimiters.component_separator #=> String
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.delimiters.data_element_separator #=> String
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.delimiters.segment_terminator #=> String
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.validate_edi #=> Boolean
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.control_numbers.starting_interchange_control_number #=> Integer
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.control_numbers.starting_functional_group_control_number #=> Integer
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.control_numbers.starting_transaction_set_control_number #=> Integer
    #   resp.partnerships[0].capability_options.outbound_edi.x12.common.gs05_time_format #=> String, one of "HHMM", "HHMMSS", "HHMMSSDD"
    #   resp.partnerships[0].capability_options.outbound_edi.x12.wrap_options.wrap_by #=> String, one of "SEGMENT", "ONE_LINE", "LINE_LENGTH"
    #   resp.partnerships[0].capability_options.outbound_edi.x12.wrap_options.line_terminator #=> String, one of "CRLF", "LF", "CR"
    #   resp.partnerships[0].capability_options.outbound_edi.x12.wrap_options.line_length #=> Integer
    #   resp.partnerships[0].capability_options.inbound_edi.x12.acknowledgment_options.functional_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS", "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP"
    #   resp.partnerships[0].capability_options.inbound_edi.x12.acknowledgment_options.technical_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS"
    #   resp.partnerships[0].trading_partner_id #=> String
    #   resp.partnerships[0].created_at #=> Time
    #   resp.partnerships[0].modified_at #=> Time
    #   resp.next_token #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/ListPartnerships AWS API Documentation
    #
    # @overload list_partnerships(params = {})
    # @param [Hash] params ({})
    def list_partnerships(params = {}, options = {})
      req = build_request(:list_partnerships, params)
      req.send_request(options)
    end

    # Lists the profiles associated with your Amazon Web Services account
    # for your current or specified region. A profile is the mechanism used
    # to create the concept of a private network.
    #
    # @option params [String] :next_token
    #   When additional results are obtained from the command, a `NextToken`
    #   parameter is returned in the output. You can then pass the `NextToken`
    #   parameter in a subsequent command to continue listing additional
    #   resources.
    #
    # @option params [Integer] :max_results
    #   Specifies the maximum number of profiles to return.
    #
    # @return [Types::ListProfilesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListProfilesResponse#profiles #profiles} => Array&lt;Types::ProfileSummary&gt;
    #   * {Types::ListProfilesResponse#next_token #next_token} => String
    #
    # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
    #
    #
    # @example Example: Sample ListProfiles call
    #
    #   resp = client.list_profiles({
    #     max_results: 50, 
    #     next_token: "foo", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     next_token: "foo", 
    #     profiles: [
    #       {
    #         name: "Shipping Profile", 
    #         business_name: "John's Trucking", 
    #         created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #         log_group_name: "b2bi/p-60fbc37c87f04fce9-Logs", 
    #         logging: "ENABLED", 
    #         profile_id: "p-60fbc37c87f04fce9", 
    #       }, 
    #     ], 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_profiles({
    #     next_token: "PageToken",
    #     max_results: 1,
    #   })
    #
    # @example Response structure
    #
    #   resp.profiles #=> Array
    #   resp.profiles[0].profile_id #=> String
    #   resp.profiles[0].name #=> String
    #   resp.profiles[0].business_name #=> String
    #   resp.profiles[0].logging #=> String, one of "ENABLED", "DISABLED"
    #   resp.profiles[0].log_group_name #=> String
    #   resp.profiles[0].created_at #=> Time
    #   resp.profiles[0].modified_at #=> Time
    #   resp.next_token #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/ListProfiles AWS API Documentation
    #
    # @overload list_profiles(params = {})
    # @param [Hash] params ({})
    def list_profiles(params = {}, options = {})
      req = build_request(:list_profiles, params)
      req.send_request(options)
    end

    # Lists all of the tags associated with the Amazon Resource Name (ARN)
    # that you specify. The resource can be a capability, partnership,
    # profile, or transformer.
    #
    # @option params [required, String] :resource_arn
    #   Requests the tags associated with a particular Amazon Resource Name
    #   (ARN). An ARN is an identifier for a specific Amazon Web Services
    #   resource, such as a capability, partnership, profile, or transformer.
    #
    # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListTagsForResourceResponse#tags #tags} => Array&lt;Types::Tag&gt;
    #
    #
    # @example Example: Sample ListTagsForResources call
    #
    #   resp = client.list_tags_for_resource({
    #     resource_arn: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     tags: [
    #       {
    #         key: "sampleKey", 
    #         value: "SampleValue", 
    #       }, 
    #     ], 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_tags_for_resource({
    #     resource_arn: "AmazonResourceName", # required
    #   })
    #
    # @example Response structure
    #
    #   resp.tags #=> Array
    #   resp.tags[0].key #=> String
    #   resp.tags[0].value #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/ListTagsForResource AWS API Documentation
    #
    # @overload list_tags_for_resource(params = {})
    # @param [Hash] params ({})
    def list_tags_for_resource(params = {}, options = {})
      req = build_request(:list_tags_for_resource, params)
      req.send_request(options)
    end

    # Lists the available transformers. A transformer can take an EDI file
    # as input and transform it into a JSON-or XML-formatted document.
    # Alternatively, a transformer can take a JSON-or XML-formatted document
    # as input and transform it into an EDI file.
    #
    # @option params [String] :next_token
    #   When additional results are obtained from the command, a `NextToken`
    #   parameter is returned in the output. You can then pass the `NextToken`
    #   parameter in a subsequent command to continue listing additional
    #   resources.
    #
    # @option params [Integer] :max_results
    #   Specifies the number of items to return for the API response.
    #
    # @return [Types::ListTransformersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::ListTransformersResponse#transformers #transformers} => Array&lt;Types::TransformerSummary&gt;
    #   * {Types::ListTransformersResponse#next_token #next_token} => String
    #
    # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
    #
    #
    # @example Example: Sample ListTransformers call
    #
    #   resp = client.list_transformers({
    #     max_results: 50, 
    #     next_token: "foo", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     next_token: "foo", 
    #     transformers: [
    #       {
    #         name: "transformJSON", 
    #         created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #         edi_type: {
    #           x12_details: {
    #             version: "VERSION_4010", 
    #             transaction_set: "X12_110", 
    #           }, 
    #         }, 
    #         file_format: "JSON", 
    #         mapping_template: "$", 
    #         modified_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #         sample_document: "s3://test-bucket/sampleDoc.txt", 
    #         status: "inactive", 
    #         transformer_id: "tr-974c129999f84d8c9", 
    #       }, 
    #     ], 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.list_transformers({
    #     next_token: "PageToken",
    #     max_results: 1,
    #   })
    #
    # @example Response structure
    #
    #   resp.transformers #=> Array
    #   resp.transformers[0].transformer_id #=> String
    #   resp.transformers[0].name #=> String
    #   resp.transformers[0].status #=> String, one of "active", "inactive"
    #   resp.transformers[0].created_at #=> Time
    #   resp.transformers[0].modified_at #=> Time
    #   resp.transformers[0].file_format #=> String, one of "XML", "JSON", "NOT_USED"
    #   resp.transformers[0].mapping_template #=> String
    #   resp.transformers[0].edi_type.x12_details.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "X12_999", "X12_270_X279", "X12_271_X279", "X12_275_X210", "X12_275_X211", "X12_276_X212", "X12_277_X212", "X12_277_X214", "X12_277_X364", "X12_278_X217", "X12_820_X218", "X12_820_X306", "X12_824_X186", "X12_834_X220", "X12_834_X307", "X12_834_X318", "X12_835_X221", "X12_837_X222", "X12_837_X223", "X12_837_X224", "X12_837_X291", "X12_837_X292", "X12_837_X298", "X12_999_X231"
    #   resp.transformers[0].edi_type.x12_details.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
    #   resp.transformers[0].sample_document #=> String
    #   resp.transformers[0].input_conversion.from_format #=> String, one of "X12"
    #   resp.transformers[0].input_conversion.format_options.x12.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "X12_999", "X12_270_X279", "X12_271_X279", "X12_275_X210", "X12_275_X211", "X12_276_X212", "X12_277_X212", "X12_277_X214", "X12_277_X364", "X12_278_X217", "X12_820_X218", "X12_820_X306", "X12_824_X186", "X12_834_X220", "X12_834_X307", "X12_834_X318", "X12_835_X221", "X12_837_X222", "X12_837_X223", "X12_837_X224", "X12_837_X291", "X12_837_X292", "X12_837_X298", "X12_999_X231"
    #   resp.transformers[0].input_conversion.format_options.x12.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
    #   resp.transformers[0].input_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
    #   resp.transformers[0].input_conversion.advanced_options.x12.validation_options.validation_rules #=> Array
    #   resp.transformers[0].input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.element_id #=> String
    #   resp.transformers[0].input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add #=> Array
    #   resp.transformers[0].input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add[0] #=> String
    #   resp.transformers[0].input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove #=> Array
    #   resp.transformers[0].input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove[0] #=> String
    #   resp.transformers[0].input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.element_id #=> String
    #   resp.transformers[0].input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.max_length #=> Integer
    #   resp.transformers[0].input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.min_length #=> Integer
    #   resp.transformers[0].input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.element_position #=> String
    #   resp.transformers[0].input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.requirement #=> String, one of "OPTIONAL", "MANDATORY"
    #   resp.transformers[0].mapping.template_language #=> String, one of "XSLT", "JSONATA"
    #   resp.transformers[0].mapping.template #=> String
    #   resp.transformers[0].output_conversion.to_format #=> String, one of "X12"
    #   resp.transformers[0].output_conversion.format_options.x12.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "X12_999", "X12_270_X279", "X12_271_X279", "X12_275_X210", "X12_275_X211", "X12_276_X212", "X12_277_X212", "X12_277_X214", "X12_277_X364", "X12_278_X217", "X12_820_X218", "X12_820_X306", "X12_824_X186", "X12_834_X220", "X12_834_X307", "X12_834_X318", "X12_835_X221", "X12_837_X222", "X12_837_X223", "X12_837_X224", "X12_837_X291", "X12_837_X292", "X12_837_X298", "X12_999_X231"
    #   resp.transformers[0].output_conversion.format_options.x12.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
    #   resp.transformers[0].output_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
    #   resp.transformers[0].output_conversion.advanced_options.x12.validation_options.validation_rules #=> Array
    #   resp.transformers[0].output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.element_id #=> String
    #   resp.transformers[0].output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add #=> Array
    #   resp.transformers[0].output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add[0] #=> String
    #   resp.transformers[0].output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove #=> Array
    #   resp.transformers[0].output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove[0] #=> String
    #   resp.transformers[0].output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.element_id #=> String
    #   resp.transformers[0].output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.max_length #=> Integer
    #   resp.transformers[0].output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.min_length #=> Integer
    #   resp.transformers[0].output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.element_position #=> String
    #   resp.transformers[0].output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.requirement #=> String, one of "OPTIONAL", "MANDATORY"
    #   resp.transformers[0].sample_documents.bucket_name #=> String
    #   resp.transformers[0].sample_documents.keys #=> Array
    #   resp.transformers[0].sample_documents.keys[0].input #=> String
    #   resp.transformers[0].sample_documents.keys[0].output #=> String
    #   resp.next_token #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/ListTransformers AWS API Documentation
    #
    # @overload list_transformers(params = {})
    # @param [Hash] params ({})
    def list_transformers(params = {}, options = {})
      req = build_request(:list_transformers, params)
      req.send_request(options)
    end

    # Runs a job, using a transformer, to parse input EDI (electronic data
    # interchange) file into the output structures used by Amazon Web
    # Services B2B Data Interchange.
    #
    # If you only want to transform EDI (electronic data interchange)
    # documents, you don't need to create profiles, partnerships or
    # capabilities. Just create and configure a transformer, and then run
    # the `StartTransformerJob` API to process your files.
    #
    # <note markdown="1"> The system stores transformer jobs for 30 days. During that period,
    # you can run [GetTransformerJob][1] and supply its `transformerId` and
    # `transformerJobId` to return details of the job.
    #
    #  </note>
    #
    #
    #
    # [1]: https://docs.aws.amazon.com/b2bi/latest/APIReference/API_GetTransformerJob.html
    #
    # @option params [required, Types::S3Location] :input_file
    #   Specifies the location of the input file for the transformation. The
    #   location consists of an Amazon S3 bucket and prefix.
    #
    # @option params [required, Types::S3Location] :output_location
    #   Specifies the location of the output file for the transformation. The
    #   location consists of an Amazon S3 bucket and prefix.
    #
    # @option params [required, String] :transformer_id
    #   Specifies the system-assigned unique identifier for the transformer.
    #
    # @option params [String] :client_token
    #   Reserved for future use.
    #
    #   **A suitable default value is auto-generated.** You should normally
    #   not need to pass this option.**
    #
    # @return [Types::StartTransformerJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::StartTransformerJobResponse#transformer_job_id #transformer_job_id} => String
    #
    #
    # @example Example: Sample StartTransformerJob call
    #
    #   resp = client.start_transformer_job({
    #     client_token: "foo", 
    #     input_file: {
    #       key: "input/inputFile.txt", 
    #       bucket_name: "test-bucket", 
    #     }, 
    #     output_location: {
    #       key: "output/", 
    #       bucket_name: "test-bucket", 
    #     }, 
    #     transformer_id: "tr-974c129999f84d8c9", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     transformer_job_id: "tj-vpYxfV7yQOqjMSYllEslLw", 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.start_transformer_job({
    #     input_file: { # required
    #       bucket_name: "BucketName",
    #       key: "S3Key",
    #     },
    #     output_location: { # required
    #       bucket_name: "BucketName",
    #       key: "S3Key",
    #     },
    #     transformer_id: "TransformerId", # required
    #     client_token: "String",
    #   })
    #
    # @example Response structure
    #
    #   resp.transformer_job_id #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/StartTransformerJob AWS API Documentation
    #
    # @overload start_transformer_job(params = {})
    # @param [Hash] params ({})
    def start_transformer_job(params = {}, options = {})
      req = build_request(:start_transformer_job, params)
      req.send_request(options)
    end

    # Attaches a key-value pair to a resource, as identified by its Amazon
    # Resource Name (ARN). Resources are capability, partnership, profile,
    # transformers and other entities.
    #
    # There is no response returned from this call.
    #
    # @option params [required, String] :resource_arn
    #   Specifies an Amazon Resource Name (ARN) for a specific Amazon Web
    #   Services resource, such as a capability, partnership, profile, or
    #   transformer.
    #
    # @option params [required, Array<Types::Tag>] :tags
    #   Specifies the key-value pairs assigned to ARNs that you can use to
    #   group and search for resources by type. You can attach this metadata
    #   to resources (capabilities, partnerships, and so on) for any purpose.
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    #
    # @example Example: Sample TagResource call
    #
    #   resp = client.tag_resource({
    #     resource_arn: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9", 
    #     tags: [
    #       {
    #         key: "sampleKey", 
    #         value: "SampleValue", 
    #       }, 
    #     ], 
    #   })
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.tag_resource({
    #     resource_arn: "AmazonResourceName", # required
    #     tags: [ # required
    #       {
    #         key: "TagKey", # required
    #         value: "TagValue", # required
    #       },
    #     ],
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/TagResource AWS API Documentation
    #
    # @overload tag_resource(params = {})
    # @param [Hash] params ({})
    def tag_resource(params = {}, options = {})
      req = build_request(:tag_resource, params)
      req.send_request(options)
    end

    # This operation mimics the latter half of a typical Outbound EDI
    # request. It takes an input JSON/XML in the B2Bi shape as input,
    # converts it to an X12 EDI string, and return that string.
    #
    # @option params [required, Types::ConversionSource] :source
    #   Specify the source file for an outbound EDI request.
    #
    # @option params [required, Types::ConversionTarget] :target
    #   Specify the format (X12 is the only currently supported format), and
    #   other details for the conversion target.
    #
    # @return [Types::TestConversionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::TestConversionResponse#converted_file_content #converted_file_content} => String
    #   * {Types::TestConversionResponse#validation_messages #validation_messages} => Array&lt;String&gt;
    #
    #
    # @example Example: Sample TestConversion call
    #
    #   resp = client.test_conversion({
    #     source: {
    #       file_format: "JSON", 
    #       input_file: {
    #         file_content: "Sample file content", 
    #       }, 
    #     }, 
    #     target: {
    #       advanced_options: {
    #         x12: {
    #           validation_options: {
    #             validation_rules: [
    #               {
    #                 code_list_validation_rule: {
    #                   codes_to_add: [
    #                     "X", 
    #                     "Y", 
    #                     "Z", 
    #                   ], 
    #                   codes_to_remove: [
    #                     "A", 
    #                     "B", 
    #                     "C", 
    #                   ], 
    #                   element_id: "1280", 
    #                 }, 
    #               }, 
    #               {
    #                 element_requirement_validation_rule: {
    #                   element_position: "NM1-01", 
    #                   requirement: "OPTIONAL", 
    #                 }, 
    #               }, 
    #               {
    #                 element_length_validation_rule: {
    #                   element_id: "0803", 
    #                   max_length: 30, 
    #                   min_length: 5, 
    #                 }, 
    #               }, 
    #             ], 
    #           }, 
    #         }, 
    #       }, 
    #       file_format: "X12", 
    #       format_details: {
    #         x12: {
    #           version: "VERSION_4010", 
    #           transaction_set: "X12_110", 
    #         }, 
    #       }, 
    #     }, 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     converted_file_content: "Sample converted file content", 
    #     validation_messages: [
    #     ], 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.test_conversion({
    #     source: { # required
    #       file_format: "JSON", # required, accepts JSON, XML
    #       input_file: { # required
    #         file_content: "InputFileSourceFileContentString",
    #       },
    #     },
    #     target: { # required
    #       file_format: "X12", # required, accepts X12
    #       format_details: {
    #         x12: {
    #           transaction_set: "X12_100", # accepts X12_100, X12_101, X12_102, X12_103, X12_104, X12_105, X12_106, X12_107, X12_108, X12_109, X12_110, X12_111, X12_112, X12_113, X12_120, X12_121, X12_124, X12_125, X12_126, X12_127, X12_128, X12_129, X12_130, X12_131, X12_132, X12_133, X12_135, X12_138, X12_139, X12_140, X12_141, X12_142, X12_143, X12_144, X12_146, X12_147, X12_148, X12_149, X12_150, X12_151, X12_152, X12_153, X12_154, X12_155, X12_157, X12_158, X12_159, X12_160, X12_161, X12_163, X12_170, X12_175, X12_176, X12_179, X12_180, X12_185, X12_186, X12_187, X12_188, X12_189, X12_190, X12_191, X12_194, X12_195, X12_196, X12_197, X12_198, X12_199, X12_200, X12_201, X12_202, X12_203, X12_204, X12_205, X12_206, X12_210, X12_211, X12_212, X12_213, X12_214, X12_215, X12_216, X12_217, X12_218, X12_219, X12_220, X12_222, X12_223, X12_224, X12_225, X12_227, X12_228, X12_240, X12_242, X12_244, X12_245, X12_248, X12_249, X12_250, X12_251, X12_252, X12_255, X12_256, X12_259, X12_260, X12_261, X12_262, X12_263, X12_264, X12_265, X12_266, X12_267, X12_268, X12_269, X12_270, X12_271, X12_272, X12_273, X12_274, X12_275, X12_276, X12_277, X12_278, X12_280, X12_283, X12_284, X12_285, X12_286, X12_288, X12_290, X12_300, X12_301, X12_303, X12_304, X12_309, X12_310, X12_311, X12_312, X12_313, X12_315, X12_317, X12_319, X12_322, X12_323, X12_324, X12_325, X12_326, X12_350, X12_352, X12_353, X12_354, X12_355, X12_356, X12_357, X12_358, X12_361, X12_362, X12_404, X12_410, X12_412, X12_414, X12_417, X12_418, X12_419, X12_420, X12_421, X12_422, X12_423, X12_424, X12_425, X12_426, X12_429, X12_431, X12_432, X12_433, X12_434, X12_435, X12_436, X12_437, X12_440, X12_451, X12_452, X12_453, X12_455, X12_456, X12_460, X12_463, X12_466, X12_468, X12_470, X12_475, X12_485, X12_486, X12_490, X12_492, X12_494, X12_500, X12_501, X12_503, X12_504, X12_511, X12_517, X12_521, X12_527, X12_536, X12_540, X12_561, X12_567, X12_568, X12_601, X12_602, X12_620, X12_625, X12_650, X12_715, X12_753, X12_754, X12_805, X12_806, X12_810, X12_811, X12_812, X12_813, X12_814, X12_815, X12_816, X12_818, X12_819, X12_820, X12_821, X12_822, X12_823, X12_824, X12_826, X12_827, X12_828, X12_829, X12_830, X12_831, X12_832, X12_833, X12_834, X12_835, X12_836, X12_837, X12_838, X12_839, X12_840, X12_841, X12_842, X12_843, X12_844, X12_845, X12_846, X12_847, X12_848, X12_849, X12_850, X12_851, X12_852, X12_853, X12_854, X12_855, X12_856, X12_857, X12_858, X12_859, X12_860, X12_861, X12_862, X12_863, X12_864, X12_865, X12_866, X12_867, X12_868, X12_869, X12_870, X12_871, X12_872, X12_873, X12_874, X12_875, X12_876, X12_877, X12_878, X12_879, X12_880, X12_881, X12_882, X12_883, X12_884, X12_885, X12_886, X12_887, X12_888, X12_889, X12_891, X12_893, X12_894, X12_895, X12_896, X12_920, X12_924, X12_925, X12_926, X12_928, X12_940, X12_943, X12_944, X12_945, X12_947, X12_980, X12_990, X12_993, X12_996, X12_997, X12_998, X12_999, X12_270_X279, X12_271_X279, X12_275_X210, X12_275_X211, X12_276_X212, X12_277_X212, X12_277_X214, X12_277_X364, X12_278_X217, X12_820_X218, X12_820_X306, X12_824_X186, X12_834_X220, X12_834_X307, X12_834_X318, X12_835_X221, X12_837_X222, X12_837_X223, X12_837_X224, X12_837_X291, X12_837_X292, X12_837_X298, X12_999_X231
    #           version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
    #         },
    #       },
    #       output_sample_file: {
    #         file_location: {
    #           bucket_name: "BucketName",
    #           key: "S3Key",
    #         },
    #       },
    #       advanced_options: {
    #         x12: {
    #           split_options: {
    #             split_by: "NONE", # required, accepts NONE, TRANSACTION
    #           },
    #           validation_options: {
    #             validation_rules: [
    #               {
    #                 code_list_validation_rule: {
    #                   element_id: "ElementId", # required
    #                   codes_to_add: ["String"],
    #                   codes_to_remove: ["String"],
    #                 },
    #                 element_length_validation_rule: {
    #                   element_id: "ElementId", # required
    #                   max_length: 1, # required
    #                   min_length: 1, # required
    #                 },
    #                 element_requirement_validation_rule: {
    #                   element_position: "ElementPosition", # required
    #                   requirement: "OPTIONAL", # required, accepts OPTIONAL, MANDATORY
    #                 },
    #               },
    #             ],
    #           },
    #         },
    #       },
    #     },
    #   })
    #
    # @example Response structure
    #
    #   resp.converted_file_content #=> String
    #   resp.validation_messages #=> Array
    #   resp.validation_messages[0] #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/TestConversion AWS API Documentation
    #
    # @overload test_conversion(params = {})
    # @param [Hash] params ({})
    def test_conversion(params = {}, options = {})
      req = build_request(:test_conversion, params)
      req.send_request(options)
    end

    # Maps the input file according to the provided template file. The API
    # call downloads the file contents from the Amazon S3 location, and
    # passes the contents in as a string, to the `inputFileContent`
    # parameter.
    #
    # @option params [required, String] :input_file_content
    #   Specify the contents of the EDI (electronic data interchange) XML or
    #   JSON file that is used as input for the transform.
    #
    # @option params [required, String] :mapping_template
    #   Specifies the mapping template for the transformer. This template is
    #   used to map the parsed EDI file using JSONata or XSLT.
    #
    #   <note markdown="1"> This parameter is available for backwards compatibility. Use the
    #   [Mapping][1] data type instead.
    #
    #    </note>
    #
    #
    #
    #   [1]: https://docs.aws.amazon.com/b2bi/latest/APIReference/API_Mapping.html
    #
    # @option params [required, String] :file_format
    #   Specifies that the currently supported file formats for EDI
    #   transformations are `JSON` and `XML`.
    #
    # @return [Types::TestMappingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::TestMappingResponse#mapped_file_content #mapped_file_content} => String
    #
    #
    # @example Example: Sample TestMapping call
    #
    #   resp = client.test_mapping({
    #     file_format: "JSON", 
    #     input_file_content: "Sample file content", 
    #     mapping_template: "$", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     mapped_file_content: "Sample file content", 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.test_mapping({
    #     input_file_content: "TestMappingInputFileContent", # required
    #     mapping_template: "MappingTemplate", # required
    #     file_format: "XML", # required, accepts XML, JSON, NOT_USED
    #   })
    #
    # @example Response structure
    #
    #   resp.mapped_file_content #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/TestMapping AWS API Documentation
    #
    # @overload test_mapping(params = {})
    # @param [Hash] params ({})
    def test_mapping(params = {}, options = {})
      req = build_request(:test_mapping, params)
      req.send_request(options)
    end

    # Parses the input EDI (electronic data interchange) file. The input
    # file has a file size limit of 250 KB.
    #
    # @option params [required, Types::S3Location] :input_file
    #   Specifies an `S3Location` object, which contains the Amazon S3 bucket
    #   and prefix for the location of the input file.
    #
    # @option params [required, String] :file_format
    #   Specifies that the currently supported file formats for EDI
    #   transformations are `JSON` and `XML`.
    #
    # @option params [required, Types::EdiType] :edi_type
    #   Specifies the details for the EDI standard that is being used for the
    #   transformer. Currently, only X12 is supported. X12 is a set of
    #   standards and corresponding messages that define specific business
    #   documents.
    #
    # @option params [Types::AdvancedOptions] :advanced_options
    #   Specifies advanced options for parsing the input EDI file. These
    #   options allow for more granular control over the parsing process,
    #   including split options for X12 files.
    #
    # @return [Types::TestParsingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::TestParsingResponse#parsed_file_content #parsed_file_content} => String
    #   * {Types::TestParsingResponse#parsed_split_file_contents #parsed_split_file_contents} => Array&lt;String&gt;
    #   * {Types::TestParsingResponse#validation_messages #validation_messages} => Array&lt;String&gt;
    #
    #
    # @example Example: Sample TestParsing call
    #
    #   resp = client.test_parsing({
    #     edi_type: {
    #       x12_details: {
    #         version: "VERSION_4010", 
    #         transaction_set: "X12_110", 
    #       }, 
    #     }, 
    #     file_format: "JSON", 
    #     input_file: {
    #       key: "sampleFile.txt", 
    #       bucket_name: "test-bucket", 
    #     }, 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     parsed_file_content: "Sample parsed file content", 
    #   }
    #
    # @example Example: Sample TestParsing call without EDI Splitting
    #
    #   resp = client.test_parsing({
    #     advanced_options: {
    #       x12: {
    #         split_options: {
    #           split_by: "NONE", 
    #         }, 
    #       }, 
    #     }, 
    #     edi_type: {
    #       x12_details: {
    #         version: "VERSION_4010", 
    #         transaction_set: "X12_110", 
    #       }, 
    #     }, 
    #     file_format: "JSON", 
    #     input_file: {
    #       key: "sampleFile.txt", 
    #       bucket_name: "test-bucket", 
    #     }, 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     parsed_file_content: "Sample parsed file content", 
    #   }
    #
    # @example Example: Sample TestParsing call with EDI Splitting by Transaction
    #
    #   resp = client.test_parsing({
    #     advanced_options: {
    #       x12: {
    #         split_options: {
    #           split_by: "TRANSACTION", 
    #         }, 
    #       }, 
    #     }, 
    #     edi_type: {
    #       x12_details: {
    #         version: "VERSION_4010", 
    #         transaction_set: "X12_110", 
    #       }, 
    #     }, 
    #     file_format: "JSON", 
    #     input_file: {
    #       key: "sampleFile.txt", 
    #       bucket_name: "test-bucket", 
    #     }, 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     parsed_file_content: "", 
    #     parsed_split_file_contents: [
    #       "sample split parsed file content", 
    #       "sample split parsed file content", 
    #     ], 
    #   }
    #
    # @example Example: Sample TestParsing call with Validation Options
    #
    #   resp = client.test_parsing({
    #     advanced_options: {
    #       x12: {
    #         validation_options: {
    #           validation_rules: [
    #             {
    #               code_list_validation_rule: {
    #                 codes_to_add: [
    #                   "X", 
    #                   "Y", 
    #                   "Z", 
    #                 ], 
    #                 codes_to_remove: [
    #                   "A", 
    #                   "B", 
    #                   "C", 
    #                 ], 
    #                 element_id: "1280", 
    #               }, 
    #             }, 
    #             {
    #               element_requirement_validation_rule: {
    #                 element_position: "NM1-01", 
    #                 requirement: "OPTIONAL", 
    #               }, 
    #             }, 
    #             {
    #               element_length_validation_rule: {
    #                 element_id: "0803", 
    #                 max_length: 30, 
    #                 min_length: 5, 
    #               }, 
    #             }, 
    #           ], 
    #         }, 
    #       }, 
    #     }, 
    #     edi_type: {
    #       x12_details: {
    #         version: "VERSION_4010", 
    #         transaction_set: "X12_110", 
    #       }, 
    #     }, 
    #     file_format: "JSON", 
    #     input_file: {
    #       key: "sampleFile.txt", 
    #       bucket_name: "test-bucket", 
    #     }, 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     parsed_file_content: "", 
    #     parsed_split_file_contents: [
    #       "sample split parsed file content", 
    #       "sample split parsed file content", 
    #     ], 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.test_parsing({
    #     input_file: { # required
    #       bucket_name: "BucketName",
    #       key: "S3Key",
    #     },
    #     file_format: "XML", # required, accepts XML, JSON, NOT_USED
    #     edi_type: { # required
    #       x12_details: {
    #         transaction_set: "X12_100", # accepts X12_100, X12_101, X12_102, X12_103, X12_104, X12_105, X12_106, X12_107, X12_108, X12_109, X12_110, X12_111, X12_112, X12_113, X12_120, X12_121, X12_124, X12_125, X12_126, X12_127, X12_128, X12_129, X12_130, X12_131, X12_132, X12_133, X12_135, X12_138, X12_139, X12_140, X12_141, X12_142, X12_143, X12_144, X12_146, X12_147, X12_148, X12_149, X12_150, X12_151, X12_152, X12_153, X12_154, X12_155, X12_157, X12_158, X12_159, X12_160, X12_161, X12_163, X12_170, X12_175, X12_176, X12_179, X12_180, X12_185, X12_186, X12_187, X12_188, X12_189, X12_190, X12_191, X12_194, X12_195, X12_196, X12_197, X12_198, X12_199, X12_200, X12_201, X12_202, X12_203, X12_204, X12_205, X12_206, X12_210, X12_211, X12_212, X12_213, X12_214, X12_215, X12_216, X12_217, X12_218, X12_219, X12_220, X12_222, X12_223, X12_224, X12_225, X12_227, X12_228, X12_240, X12_242, X12_244, X12_245, X12_248, X12_249, X12_250, X12_251, X12_252, X12_255, X12_256, X12_259, X12_260, X12_261, X12_262, X12_263, X12_264, X12_265, X12_266, X12_267, X12_268, X12_269, X12_270, X12_271, X12_272, X12_273, X12_274, X12_275, X12_276, X12_277, X12_278, X12_280, X12_283, X12_284, X12_285, X12_286, X12_288, X12_290, X12_300, X12_301, X12_303, X12_304, X12_309, X12_310, X12_311, X12_312, X12_313, X12_315, X12_317, X12_319, X12_322, X12_323, X12_324, X12_325, X12_326, X12_350, X12_352, X12_353, X12_354, X12_355, X12_356, X12_357, X12_358, X12_361, X12_362, X12_404, X12_410, X12_412, X12_414, X12_417, X12_418, X12_419, X12_420, X12_421, X12_422, X12_423, X12_424, X12_425, X12_426, X12_429, X12_431, X12_432, X12_433, X12_434, X12_435, X12_436, X12_437, X12_440, X12_451, X12_452, X12_453, X12_455, X12_456, X12_460, X12_463, X12_466, X12_468, X12_470, X12_475, X12_485, X12_486, X12_490, X12_492, X12_494, X12_500, X12_501, X12_503, X12_504, X12_511, X12_517, X12_521, X12_527, X12_536, X12_540, X12_561, X12_567, X12_568, X12_601, X12_602, X12_620, X12_625, X12_650, X12_715, X12_753, X12_754, X12_805, X12_806, X12_810, X12_811, X12_812, X12_813, X12_814, X12_815, X12_816, X12_818, X12_819, X12_820, X12_821, X12_822, X12_823, X12_824, X12_826, X12_827, X12_828, X12_829, X12_830, X12_831, X12_832, X12_833, X12_834, X12_835, X12_836, X12_837, X12_838, X12_839, X12_840, X12_841, X12_842, X12_843, X12_844, X12_845, X12_846, X12_847, X12_848, X12_849, X12_850, X12_851, X12_852, X12_853, X12_854, X12_855, X12_856, X12_857, X12_858, X12_859, X12_860, X12_861, X12_862, X12_863, X12_864, X12_865, X12_866, X12_867, X12_868, X12_869, X12_870, X12_871, X12_872, X12_873, X12_874, X12_875, X12_876, X12_877, X12_878, X12_879, X12_880, X12_881, X12_882, X12_883, X12_884, X12_885, X12_886, X12_887, X12_888, X12_889, X12_891, X12_893, X12_894, X12_895, X12_896, X12_920, X12_924, X12_925, X12_926, X12_928, X12_940, X12_943, X12_944, X12_945, X12_947, X12_980, X12_990, X12_993, X12_996, X12_997, X12_998, X12_999, X12_270_X279, X12_271_X279, X12_275_X210, X12_275_X211, X12_276_X212, X12_277_X212, X12_277_X214, X12_277_X364, X12_278_X217, X12_820_X218, X12_820_X306, X12_824_X186, X12_834_X220, X12_834_X307, X12_834_X318, X12_835_X221, X12_837_X222, X12_837_X223, X12_837_X224, X12_837_X291, X12_837_X292, X12_837_X298, X12_999_X231
    #         version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
    #       },
    #     },
    #     advanced_options: {
    #       x12: {
    #         split_options: {
    #           split_by: "NONE", # required, accepts NONE, TRANSACTION
    #         },
    #         validation_options: {
    #           validation_rules: [
    #             {
    #               code_list_validation_rule: {
    #                 element_id: "ElementId", # required
    #                 codes_to_add: ["String"],
    #                 codes_to_remove: ["String"],
    #               },
    #               element_length_validation_rule: {
    #                 element_id: "ElementId", # required
    #                 max_length: 1, # required
    #                 min_length: 1, # required
    #               },
    #               element_requirement_validation_rule: {
    #                 element_position: "ElementPosition", # required
    #                 requirement: "OPTIONAL", # required, accepts OPTIONAL, MANDATORY
    #               },
    #             },
    #           ],
    #         },
    #       },
    #     },
    #   })
    #
    # @example Response structure
    #
    #   resp.parsed_file_content #=> String
    #   resp.parsed_split_file_contents #=> Array
    #   resp.parsed_split_file_contents[0] #=> String
    #   resp.validation_messages #=> Array
    #   resp.validation_messages[0] #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/TestParsing AWS API Documentation
    #
    # @overload test_parsing(params = {})
    # @param [Hash] params ({})
    def test_parsing(params = {}, options = {})
      req = build_request(:test_parsing, params)
      req.send_request(options)
    end

    # Detaches a key-value pair from the specified resource, as identified
    # by its Amazon Resource Name (ARN). Resources are capability,
    # partnership, profile, transformers and other entities.
    #
    # @option params [required, String] :resource_arn
    #   Specifies an Amazon Resource Name (ARN) for a specific Amazon Web
    #   Services resource, such as a capability, partnership, profile, or
    #   transformer.
    #
    # @option params [required, Array<String>] :tag_keys
    #   Specifies the key-value pairs assigned to ARNs that you can use to
    #   group and search for resources by type. You can attach this metadata
    #   to resources (capabilities, partnerships, and so on) for any purpose.
    #
    # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
    #
    #
    # @example Example: Sample UntagResource call
    #
    #   resp = client.untag_resource({
    #     resource_arn: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9", 
    #     tag_keys: [
    #       "sampleKey", 
    #     ], 
    #   })
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.untag_resource({
    #     resource_arn: "AmazonResourceName", # required
    #     tag_keys: ["TagKey"], # required
    #   })
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/UntagResource AWS API Documentation
    #
    # @overload untag_resource(params = {})
    # @param [Hash] params ({})
    def untag_resource(params = {}, options = {})
      req = build_request(:untag_resource, params)
      req.send_request(options)
    end

    # Updates some of the parameters for a capability, based on the
    # specified parameters. A trading capability contains the information
    # required to transform incoming EDI documents into JSON or XML outputs.
    #
    # @option params [required, String] :capability_id
    #   Specifies a system-assigned unique identifier for the capability.
    #
    # @option params [String] :name
    #   Specifies a new name for the capability, to replace the existing name.
    #
    # @option params [Types::CapabilityConfiguration] :configuration
    #   Specifies a structure that contains the details for a capability.
    #
    # @option params [Array<Types::S3Location>] :instructions_documents
    #   Specifies one or more locations in Amazon S3, each specifying an EDI
    #   document that can be used with this capability. Each item contains the
    #   name of the bucket and the key, to identify the document's location.
    #
    # @return [Types::UpdateCapabilityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::UpdateCapabilityResponse#capability_id #capability_id} => String
    #   * {Types::UpdateCapabilityResponse#capability_arn #capability_arn} => String
    #   * {Types::UpdateCapabilityResponse#name #name} => String
    #   * {Types::UpdateCapabilityResponse#type #type} => String
    #   * {Types::UpdateCapabilityResponse#configuration #configuration} => Types::CapabilityConfiguration
    #   * {Types::UpdateCapabilityResponse#instructions_documents #instructions_documents} => Array&lt;Types::S3Location&gt;
    #   * {Types::UpdateCapabilityResponse#created_at #created_at} => Time
    #   * {Types::UpdateCapabilityResponse#modified_at #modified_at} => Time
    #
    #
    # @example Example: Sample UpdateCapability call
    #
    #   resp = client.update_capability({
    #     name: "b2biexample", 
    #     capability_id: "ca-963a8121e4fc4e348", 
    #     configuration: {
    #       edi: {
    #         type: {
    #           x12_details: {
    #             version: "VERSION_4010", 
    #             transaction_set: "X12_110", 
    #           }, 
    #         }, 
    #         input_location: {
    #           key: "input/", 
    #           bucket_name: "test-bucket", 
    #         }, 
    #         output_location: {
    #           key: "output/", 
    #           bucket_name: "test-bucket", 
    #         }, 
    #         transformer_id: "tr-9a893cf536df4658b", 
    #       }, 
    #     }, 
    #     instructions_documents: [
    #       {
    #         key: "instructiondoc.txt", 
    #         bucket_name: "test-bucket", 
    #       }, 
    #     ], 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     name: "b2biexample", 
    #     type: "edi", 
    #     capability_arn: "arn:aws:b2bi:us-west-2:123456789012:capability/ca-963a8121e4fc4e348", 
    #     capability_id: "ca-963a8121e4fc4e348", 
    #     configuration: {
    #       edi: {
    #         type: {
    #           x12_details: {
    #             version: "VERSION_4010", 
    #             transaction_set: "X12_110", 
    #           }, 
    #         }, 
    #         input_location: {
    #           key: "input/", 
    #           bucket_name: "test-bucket", 
    #         }, 
    #         output_location: {
    #           key: "output/", 
    #           bucket_name: "test-bucket", 
    #         }, 
    #         transformer_id: "tr-9a893cf536df4658b", 
    #       }, 
    #     }, 
    #     created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #     instructions_documents: [
    #       {
    #         key: "instructiondoc.txt", 
    #         bucket_name: "test-bucket", 
    #       }, 
    #     ], 
    #     modified_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.update_capability({
    #     capability_id: "CapabilityId", # required
    #     name: "CapabilityName",
    #     configuration: {
    #       edi: {
    #         capability_direction: "INBOUND", # accepts INBOUND, OUTBOUND
    #         type: { # required
    #           x12_details: {
    #             transaction_set: "X12_100", # accepts X12_100, X12_101, X12_102, X12_103, X12_104, X12_105, X12_106, X12_107, X12_108, X12_109, X12_110, X12_111, X12_112, X12_113, X12_120, X12_121, X12_124, X12_125, X12_126, X12_127, X12_128, X12_129, X12_130, X12_131, X12_132, X12_133, X12_135, X12_138, X12_139, X12_140, X12_141, X12_142, X12_143, X12_144, X12_146, X12_147, X12_148, X12_149, X12_150, X12_151, X12_152, X12_153, X12_154, X12_155, X12_157, X12_158, X12_159, X12_160, X12_161, X12_163, X12_170, X12_175, X12_176, X12_179, X12_180, X12_185, X12_186, X12_187, X12_188, X12_189, X12_190, X12_191, X12_194, X12_195, X12_196, X12_197, X12_198, X12_199, X12_200, X12_201, X12_202, X12_203, X12_204, X12_205, X12_206, X12_210, X12_211, X12_212, X12_213, X12_214, X12_215, X12_216, X12_217, X12_218, X12_219, X12_220, X12_222, X12_223, X12_224, X12_225, X12_227, X12_228, X12_240, X12_242, X12_244, X12_245, X12_248, X12_249, X12_250, X12_251, X12_252, X12_255, X12_256, X12_259, X12_260, X12_261, X12_262, X12_263, X12_264, X12_265, X12_266, X12_267, X12_268, X12_269, X12_270, X12_271, X12_272, X12_273, X12_274, X12_275, X12_276, X12_277, X12_278, X12_280, X12_283, X12_284, X12_285, X12_286, X12_288, X12_290, X12_300, X12_301, X12_303, X12_304, X12_309, X12_310, X12_311, X12_312, X12_313, X12_315, X12_317, X12_319, X12_322, X12_323, X12_324, X12_325, X12_326, X12_350, X12_352, X12_353, X12_354, X12_355, X12_356, X12_357, X12_358, X12_361, X12_362, X12_404, X12_410, X12_412, X12_414, X12_417, X12_418, X12_419, X12_420, X12_421, X12_422, X12_423, X12_424, X12_425, X12_426, X12_429, X12_431, X12_432, X12_433, X12_434, X12_435, X12_436, X12_437, X12_440, X12_451, X12_452, X12_453, X12_455, X12_456, X12_460, X12_463, X12_466, X12_468, X12_470, X12_475, X12_485, X12_486, X12_490, X12_492, X12_494, X12_500, X12_501, X12_503, X12_504, X12_511, X12_517, X12_521, X12_527, X12_536, X12_540, X12_561, X12_567, X12_568, X12_601, X12_602, X12_620, X12_625, X12_650, X12_715, X12_753, X12_754, X12_805, X12_806, X12_810, X12_811, X12_812, X12_813, X12_814, X12_815, X12_816, X12_818, X12_819, X12_820, X12_821, X12_822, X12_823, X12_824, X12_826, X12_827, X12_828, X12_829, X12_830, X12_831, X12_832, X12_833, X12_834, X12_835, X12_836, X12_837, X12_838, X12_839, X12_840, X12_841, X12_842, X12_843, X12_844, X12_845, X12_846, X12_847, X12_848, X12_849, X12_850, X12_851, X12_852, X12_853, X12_854, X12_855, X12_856, X12_857, X12_858, X12_859, X12_860, X12_861, X12_862, X12_863, X12_864, X12_865, X12_866, X12_867, X12_868, X12_869, X12_870, X12_871, X12_872, X12_873, X12_874, X12_875, X12_876, X12_877, X12_878, X12_879, X12_880, X12_881, X12_882, X12_883, X12_884, X12_885, X12_886, X12_887, X12_888, X12_889, X12_891, X12_893, X12_894, X12_895, X12_896, X12_920, X12_924, X12_925, X12_926, X12_928, X12_940, X12_943, X12_944, X12_945, X12_947, X12_980, X12_990, X12_993, X12_996, X12_997, X12_998, X12_999, X12_270_X279, X12_271_X279, X12_275_X210, X12_275_X211, X12_276_X212, X12_277_X212, X12_277_X214, X12_277_X364, X12_278_X217, X12_820_X218, X12_820_X306, X12_824_X186, X12_834_X220, X12_834_X307, X12_834_X318, X12_835_X221, X12_837_X222, X12_837_X223, X12_837_X224, X12_837_X291, X12_837_X292, X12_837_X298, X12_999_X231
    #             version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
    #           },
    #         },
    #         input_location: { # required
    #           bucket_name: "BucketName",
    #           key: "S3Key",
    #         },
    #         output_location: { # required
    #           bucket_name: "BucketName",
    #           key: "S3Key",
    #         },
    #         transformer_id: "TransformerId", # required
    #       },
    #     },
    #     instructions_documents: [
    #       {
    #         bucket_name: "BucketName",
    #         key: "S3Key",
    #       },
    #     ],
    #   })
    #
    # @example Response structure
    #
    #   resp.capability_id #=> String
    #   resp.capability_arn #=> String
    #   resp.name #=> String
    #   resp.type #=> String, one of "edi"
    #   resp.configuration.edi.capability_direction #=> String, one of "INBOUND", "OUTBOUND"
    #   resp.configuration.edi.type.x12_details.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "X12_999", "X12_270_X279", "X12_271_X279", "X12_275_X210", "X12_275_X211", "X12_276_X212", "X12_277_X212", "X12_277_X214", "X12_277_X364", "X12_278_X217", "X12_820_X218", "X12_820_X306", "X12_824_X186", "X12_834_X220", "X12_834_X307", "X12_834_X318", "X12_835_X221", "X12_837_X222", "X12_837_X223", "X12_837_X224", "X12_837_X291", "X12_837_X292", "X12_837_X298", "X12_999_X231"
    #   resp.configuration.edi.type.x12_details.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
    #   resp.configuration.edi.input_location.bucket_name #=> String
    #   resp.configuration.edi.input_location.key #=> String
    #   resp.configuration.edi.output_location.bucket_name #=> String
    #   resp.configuration.edi.output_location.key #=> String
    #   resp.configuration.edi.transformer_id #=> String
    #   resp.instructions_documents #=> Array
    #   resp.instructions_documents[0].bucket_name #=> String
    #   resp.instructions_documents[0].key #=> String
    #   resp.created_at #=> Time
    #   resp.modified_at #=> Time
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/UpdateCapability AWS API Documentation
    #
    # @overload update_capability(params = {})
    # @param [Hash] params ({})
    def update_capability(params = {}, options = {})
      req = build_request(:update_capability, params)
      req.send_request(options)
    end

    # Updates some of the parameters for a partnership between a customer
    # and trading partner. A partnership represents the connection between
    # you and your trading partner. It ties together a profile and one or
    # more trading capabilities.
    #
    # @option params [required, String] :partnership_id
    #   Specifies the unique, system-generated identifier for a partnership.
    #
    # @option params [String] :name
    #   The name of the partnership, used to identify it.
    #
    # @option params [Array<String>] :capabilities
    #   List of the capabilities associated with this partnership.
    #
    # @option params [Types::CapabilityOptions] :capability_options
    #   To update, specify the structure that contains the details for the
    #   associated capabilities.
    #
    # @return [Types::UpdatePartnershipResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::UpdatePartnershipResponse#profile_id #profile_id} => String
    #   * {Types::UpdatePartnershipResponse#partnership_id #partnership_id} => String
    #   * {Types::UpdatePartnershipResponse#partnership_arn #partnership_arn} => String
    #   * {Types::UpdatePartnershipResponse#name #name} => String
    #   * {Types::UpdatePartnershipResponse#email #email} => String
    #   * {Types::UpdatePartnershipResponse#phone #phone} => String
    #   * {Types::UpdatePartnershipResponse#capabilities #capabilities} => Array&lt;String&gt;
    #   * {Types::UpdatePartnershipResponse#capability_options #capability_options} => Types::CapabilityOptions
    #   * {Types::UpdatePartnershipResponse#trading_partner_id #trading_partner_id} => String
    #   * {Types::UpdatePartnershipResponse#created_at #created_at} => Time
    #   * {Types::UpdatePartnershipResponse#modified_at #modified_at} => Time
    #
    #
    # @example Example: Sample UpdatePartnership call
    #
    #   resp = client.update_partnership({
    #     name: "b2bipartner", 
    #     capabilities: [
    #       "ca-963a8121e4fc4e348", 
    #     ], 
    #     partnership_id: "ps-219fa02f5b4242af8", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     name: "b2bipartner", 
    #     capabilities: [
    #       "ca-963a8121e4fc4e348", 
    #     ], 
    #     created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #     email: "john@example.com", 
    #     modified_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #     partnership_arn: "arn:aws:b2bi:us-west-2:123456789012:partnership/ps-60fbc37c87f04fce9", 
    #     partnership_id: "ps-219fa02f5b4242af8", 
    #     phone: "5555555555", 
    #     profile_id: "p-60fbc37c87f04fce9", 
    #     trading_partner_id: "tp-2a17ca447f6f4a8a8", 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.update_partnership({
    #     partnership_id: "PartnershipId", # required
    #     name: "PartnerName",
    #     capabilities: ["CapabilityId"],
    #     capability_options: {
    #       outbound_edi: {
    #         x12: {
    #           common: {
    #             interchange_control_headers: {
    #               sender_id_qualifier: "X12IdQualifier",
    #               sender_id: "X12SenderId",
    #               receiver_id_qualifier: "X12IdQualifier",
    #               receiver_id: "X12ReceiverId",
    #               repetition_separator: "X12RepetitionSeparator",
    #               acknowledgment_requested_code: "X12AcknowledgmentRequestedCode",
    #               usage_indicator_code: "X12UsageIndicatorCode",
    #             },
    #             functional_group_headers: {
    #               application_sender_code: "X12ApplicationSenderCode",
    #               application_receiver_code: "X12ApplicationReceiverCode",
    #               responsible_agency_code: "X12ResponsibleAgencyCode",
    #             },
    #             delimiters: {
    #               component_separator: "X12ComponentSeparator",
    #               data_element_separator: "X12DataElementSeparator",
    #               segment_terminator: "X12SegmentTerminator",
    #             },
    #             validate_edi: false,
    #             control_numbers: {
    #               starting_interchange_control_number: 1,
    #               starting_functional_group_control_number: 1,
    #               starting_transaction_set_control_number: 1,
    #             },
    #             gs05_time_format: "HHMM", # accepts HHMM, HHMMSS, HHMMSSDD
    #           },
    #           wrap_options: {
    #             wrap_by: "SEGMENT", # required, accepts SEGMENT, ONE_LINE, LINE_LENGTH
    #             line_terminator: "CRLF", # accepts CRLF, LF, CR
    #             line_length: 1,
    #           },
    #         },
    #       },
    #       inbound_edi: {
    #         x12: {
    #           acknowledgment_options: {
    #             functional_acknowledgment: "DO_NOT_GENERATE", # required, accepts DO_NOT_GENERATE, GENERATE_ALL_SEGMENTS, GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP
    #             technical_acknowledgment: "DO_NOT_GENERATE", # required, accepts DO_NOT_GENERATE, GENERATE_ALL_SEGMENTS
    #           },
    #         },
    #       },
    #     },
    #   })
    #
    # @example Response structure
    #
    #   resp.profile_id #=> String
    #   resp.partnership_id #=> String
    #   resp.partnership_arn #=> String
    #   resp.name #=> String
    #   resp.email #=> String
    #   resp.phone #=> String
    #   resp.capabilities #=> Array
    #   resp.capabilities[0] #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.sender_id_qualifier #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.sender_id #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.receiver_id_qualifier #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.receiver_id #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.repetition_separator #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.acknowledgment_requested_code #=> String
    #   resp.capability_options.outbound_edi.x12.common.interchange_control_headers.usage_indicator_code #=> String
    #   resp.capability_options.outbound_edi.x12.common.functional_group_headers.application_sender_code #=> String
    #   resp.capability_options.outbound_edi.x12.common.functional_group_headers.application_receiver_code #=> String
    #   resp.capability_options.outbound_edi.x12.common.functional_group_headers.responsible_agency_code #=> String
    #   resp.capability_options.outbound_edi.x12.common.delimiters.component_separator #=> String
    #   resp.capability_options.outbound_edi.x12.common.delimiters.data_element_separator #=> String
    #   resp.capability_options.outbound_edi.x12.common.delimiters.segment_terminator #=> String
    #   resp.capability_options.outbound_edi.x12.common.validate_edi #=> Boolean
    #   resp.capability_options.outbound_edi.x12.common.control_numbers.starting_interchange_control_number #=> Integer
    #   resp.capability_options.outbound_edi.x12.common.control_numbers.starting_functional_group_control_number #=> Integer
    #   resp.capability_options.outbound_edi.x12.common.control_numbers.starting_transaction_set_control_number #=> Integer
    #   resp.capability_options.outbound_edi.x12.common.gs05_time_format #=> String, one of "HHMM", "HHMMSS", "HHMMSSDD"
    #   resp.capability_options.outbound_edi.x12.wrap_options.wrap_by #=> String, one of "SEGMENT", "ONE_LINE", "LINE_LENGTH"
    #   resp.capability_options.outbound_edi.x12.wrap_options.line_terminator #=> String, one of "CRLF", "LF", "CR"
    #   resp.capability_options.outbound_edi.x12.wrap_options.line_length #=> Integer
    #   resp.capability_options.inbound_edi.x12.acknowledgment_options.functional_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS", "GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP"
    #   resp.capability_options.inbound_edi.x12.acknowledgment_options.technical_acknowledgment #=> String, one of "DO_NOT_GENERATE", "GENERATE_ALL_SEGMENTS"
    #   resp.trading_partner_id #=> String
    #   resp.created_at #=> Time
    #   resp.modified_at #=> Time
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/UpdatePartnership AWS API Documentation
    #
    # @overload update_partnership(params = {})
    # @param [Hash] params ({})
    def update_partnership(params = {}, options = {})
      req = build_request(:update_partnership, params)
      req.send_request(options)
    end

    # Updates the specified parameters for a profile. A profile is the
    # mechanism used to create the concept of a private network.
    #
    # @option params [required, String] :profile_id
    #   Specifies the unique, system-generated identifier for the profile.
    #
    # @option params [String] :name
    #   The name of the profile, used to identify it.
    #
    # @option params [String] :email
    #   Specifies the email address associated with this customer profile.
    #
    # @option params [String] :phone
    #   Specifies the phone number associated with the profile.
    #
    # @option params [String] :business_name
    #   Specifies the name for the business associated with this profile.
    #
    # @return [Types::UpdateProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::UpdateProfileResponse#profile_id #profile_id} => String
    #   * {Types::UpdateProfileResponse#profile_arn #profile_arn} => String
    #   * {Types::UpdateProfileResponse#name #name} => String
    #   * {Types::UpdateProfileResponse#email #email} => String
    #   * {Types::UpdateProfileResponse#phone #phone} => String
    #   * {Types::UpdateProfileResponse#business_name #business_name} => String
    #   * {Types::UpdateProfileResponse#logging #logging} => String
    #   * {Types::UpdateProfileResponse#log_group_name #log_group_name} => String
    #   * {Types::UpdateProfileResponse#created_at #created_at} => Time
    #   * {Types::UpdateProfileResponse#modified_at #modified_at} => Time
    #
    #
    # @example Example: Sample UpdateProfile call
    #
    #   resp = client.update_profile({
    #     name: "Shipping Profile", 
    #     business_name: "John's Shipping", 
    #     email: "john@example.com", 
    #     phone: "5555555555", 
    #     profile_id: "p-60fbc37c87f04fce9", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     name: "Shipping Profile", 
    #     business_name: "John's Trucking", 
    #     created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #     email: "john@example.com", 
    #     log_group_name: "b2bi/p-60fbc37c87f04fce9-Logs", 
    #     logging: "ENABLED", 
    #     modified_at: Time.parse("2023-11-02T21:51:05.504Z"), 
    #     phone: "5555555555", 
    #     profile_arn: "arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9", 
    #     profile_id: "p-60fbc37c87f04fce9", 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.update_profile({
    #     profile_id: "ProfileId", # required
    #     name: "ProfileName",
    #     email: "Email",
    #     phone: "Phone",
    #     business_name: "BusinessName",
    #   })
    #
    # @example Response structure
    #
    #   resp.profile_id #=> String
    #   resp.profile_arn #=> String
    #   resp.name #=> String
    #   resp.email #=> String
    #   resp.phone #=> String
    #   resp.business_name #=> String
    #   resp.logging #=> String, one of "ENABLED", "DISABLED"
    #   resp.log_group_name #=> String
    #   resp.created_at #=> Time
    #   resp.modified_at #=> Time
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/UpdateProfile AWS API Documentation
    #
    # @overload update_profile(params = {})
    # @param [Hash] params ({})
    def update_profile(params = {}, options = {})
      req = build_request(:update_profile, params)
      req.send_request(options)
    end

    # Updates the specified parameters for a transformer. A transformer can
    # take an EDI file as input and transform it into a JSON-or
    # XML-formatted document. Alternatively, a transformer can take a
    # JSON-or XML-formatted document as input and transform it into an EDI
    # file.
    #
    # @option params [required, String] :transformer_id
    #   Specifies the system-assigned unique identifier for the transformer.
    #
    # @option params [String] :name
    #   Specify a new name for the transformer, if you want to update it.
    #
    # @option params [String] :status
    #   Specifies the transformer's status. You can update the state of the
    #   transformer from `inactive` to `active`.
    #
    # @option params [String] :file_format
    #   Specifies that the currently supported file formats for EDI
    #   transformations are `JSON` and `XML`.
    #
    # @option params [String] :mapping_template
    #   Specifies the mapping template for the transformer. This template is
    #   used to map the parsed EDI file using JSONata or XSLT.
    #
    #   <note markdown="1"> This parameter is available for backwards compatibility. Use the
    #   [Mapping][1] data type instead.
    #
    #    </note>
    #
    #
    #
    #   [1]: https://docs.aws.amazon.com/b2bi/latest/APIReference/API_Mapping.html
    #
    # @option params [Types::EdiType] :edi_type
    #   Specifies the details for the EDI standard that is being used for the
    #   transformer. Currently, only X12 is supported. X12 is a set of
    #   standards and corresponding messages that define specific business
    #   documents.
    #
    # @option params [String] :sample_document
    #   Specifies a sample EDI document that is used by a transformer as a
    #   guide for processing the EDI data.
    #
    # @option params [Types::InputConversion] :input_conversion
    #   To update, specify the `InputConversion` object, which contains the
    #   format options for the inbound transformation.
    #
    # @option params [Types::Mapping] :mapping
    #   Specify the structure that contains the mapping template and its
    #   language (either XSLT or JSONATA).
    #
    # @option params [Types::OutputConversion] :output_conversion
    #   To update, specify the `OutputConversion` object, which contains the
    #   format options for the outbound transformation.
    #
    # @option params [Types::SampleDocuments] :sample_documents
    #   Specify a structure that contains the Amazon S3 bucket and an array of
    #   the corresponding keys used to identify the location for your sample
    #   documents.
    #
    # @return [Types::UpdateTransformerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
    #
    #   * {Types::UpdateTransformerResponse#transformer_id #transformer_id} => String
    #   * {Types::UpdateTransformerResponse#transformer_arn #transformer_arn} => String
    #   * {Types::UpdateTransformerResponse#name #name} => String
    #   * {Types::UpdateTransformerResponse#status #status} => String
    #   * {Types::UpdateTransformerResponse#created_at #created_at} => Time
    #   * {Types::UpdateTransformerResponse#modified_at #modified_at} => Time
    #   * {Types::UpdateTransformerResponse#file_format #file_format} => String
    #   * {Types::UpdateTransformerResponse#mapping_template #mapping_template} => String
    #   * {Types::UpdateTransformerResponse#edi_type #edi_type} => Types::EdiType
    #   * {Types::UpdateTransformerResponse#sample_document #sample_document} => String
    #   * {Types::UpdateTransformerResponse#input_conversion #input_conversion} => Types::InputConversion
    #   * {Types::UpdateTransformerResponse#mapping #mapping} => Types::Mapping
    #   * {Types::UpdateTransformerResponse#output_conversion #output_conversion} => Types::OutputConversion
    #   * {Types::UpdateTransformerResponse#sample_documents #sample_documents} => Types::SampleDocuments
    #
    #
    # @example Example: Sample UpdateTransformer call
    #
    #   resp = client.update_transformer({
    #     name: "transformX12", 
    #     input_conversion: {
    #       advanced_options: {
    #         x12: {
    #           split_options: {
    #             split_by: "NONE", 
    #           }, 
    #           validation_options: {
    #             validation_rules: [
    #               {
    #                 code_list_validation_rule: {
    #                   codes_to_add: [
    #                     "A", 
    #                     "B", 
    #                     "C", 
    #                   ], 
    #                   codes_to_remove: [
    #                     "X", 
    #                     "Y", 
    #                     "Z", 
    #                   ], 
    #                   element_id: "1234", 
    #                 }, 
    #               }, 
    #               {
    #                 element_requirement_validation_rule: {
    #                   element_position: "NM1-01", 
    #                   requirement: "MANDATORY", 
    #                 }, 
    #               }, 
    #               {
    #                 element_length_validation_rule: {
    #                   element_id: "5678", 
    #                   max_length: 10, 
    #                   min_length: 2, 
    #                 }, 
    #               }, 
    #             ], 
    #           }, 
    #         }, 
    #       }, 
    #       format_options: {
    #         x12: {
    #           version: "VERSION_4010", 
    #           transaction_set: "X12_110", 
    #         }, 
    #       }, 
    #       from_format: "X12", 
    #     }, 
    #     mapping: {
    #       template: "{}", 
    #       template_language: "JSONATA", 
    #     }, 
    #     sample_documents: {
    #       bucket_name: "test-bucket", 
    #       keys: [
    #         {
    #           input: "sampleDoc.txt", 
    #         }, 
    #       ], 
    #     }, 
    #     status: "inactive", 
    #     transformer_id: "tr-974c129999f84d8c9", 
    #   })
    #
    #   resp.to_h outputs the following:
    #   {
    #     name: "transformX12", 
    #     created_at: Time.parse("2023-11-01T21:51:05.504Z"), 
    #     input_conversion: {
    #       advanced_options: {
    #         x12: {
    #           split_options: {
    #             split_by: "NONE", 
    #           }, 
    #           validation_options: {
    #             validation_rules: [
    #               {
    #                 code_list_validation_rule: {
    #                   codes_to_add: [
    #                     "A", 
    #                     "B", 
    #                     "C", 
    #                   ], 
    #                   codes_to_remove: [
    #                     "X", 
    #                     "Y", 
    #                     "Z", 
    #                   ], 
    #                   element_id: "1234", 
    #                 }, 
    #               }, 
    #               {
    #                 element_requirement_validation_rule: {
    #                   element_position: "NM1-01", 
    #                   requirement: "MANDATORY", 
    #                 }, 
    #               }, 
    #               {
    #                 element_length_validation_rule: {
    #                   element_id: "5678", 
    #                   max_length: 10, 
    #                   min_length: 2, 
    #                 }, 
    #               }, 
    #             ], 
    #           }, 
    #         }, 
    #       }, 
    #       format_options: {
    #         x12: {
    #           version: "VERSION_4010", 
    #           transaction_set: "X12_110", 
    #         }, 
    #       }, 
    #       from_format: "X12", 
    #     }, 
    #     mapping: {
    #       template: "{}", 
    #       template_language: "JSONATA", 
    #     }, 
    #     modified_at: Time.parse("2023-11-02T22:31:05.504Z"), 
    #     sample_documents: {
    #       bucket_name: "test-bucket", 
    #       keys: [
    #         {
    #           input: "sampleDoc.txt", 
    #         }, 
    #       ], 
    #     }, 
    #     status: "inactive", 
    #     transformer_arn: "arn:aws:b2bi:us-west-2:123456789012:transformer/tr-974c129999f84d8c9", 
    #     transformer_id: "tr-974c129999f84d8c9", 
    #   }
    #
    # @example Request syntax with placeholder values
    #
    #   resp = client.update_transformer({
    #     transformer_id: "TransformerId", # required
    #     name: "TransformerName",
    #     status: "active", # accepts active, inactive
    #     file_format: "XML", # accepts XML, JSON, NOT_USED
    #     mapping_template: "MappingTemplate",
    #     edi_type: {
    #       x12_details: {
    #         transaction_set: "X12_100", # accepts X12_100, X12_101, X12_102, X12_103, X12_104, X12_105, X12_106, X12_107, X12_108, X12_109, X12_110, X12_111, X12_112, X12_113, X12_120, X12_121, X12_124, X12_125, X12_126, X12_127, X12_128, X12_129, X12_130, X12_131, X12_132, X12_133, X12_135, X12_138, X12_139, X12_140, X12_141, X12_142, X12_143, X12_144, X12_146, X12_147, X12_148, X12_149, X12_150, X12_151, X12_152, X12_153, X12_154, X12_155, X12_157, X12_158, X12_159, X12_160, X12_161, X12_163, X12_170, X12_175, X12_176, X12_179, X12_180, X12_185, X12_186, X12_187, X12_188, X12_189, X12_190, X12_191, X12_194, X12_195, X12_196, X12_197, X12_198, X12_199, X12_200, X12_201, X12_202, X12_203, X12_204, X12_205, X12_206, X12_210, X12_211, X12_212, X12_213, X12_214, X12_215, X12_216, X12_217, X12_218, X12_219, X12_220, X12_222, X12_223, X12_224, X12_225, X12_227, X12_228, X12_240, X12_242, X12_244, X12_245, X12_248, X12_249, X12_250, X12_251, X12_252, X12_255, X12_256, X12_259, X12_260, X12_261, X12_262, X12_263, X12_264, X12_265, X12_266, X12_267, X12_268, X12_269, X12_270, X12_271, X12_272, X12_273, X12_274, X12_275, X12_276, X12_277, X12_278, X12_280, X12_283, X12_284, X12_285, X12_286, X12_288, X12_290, X12_300, X12_301, X12_303, X12_304, X12_309, X12_310, X12_311, X12_312, X12_313, X12_315, X12_317, X12_319, X12_322, X12_323, X12_324, X12_325, X12_326, X12_350, X12_352, X12_353, X12_354, X12_355, X12_356, X12_357, X12_358, X12_361, X12_362, X12_404, X12_410, X12_412, X12_414, X12_417, X12_418, X12_419, X12_420, X12_421, X12_422, X12_423, X12_424, X12_425, X12_426, X12_429, X12_431, X12_432, X12_433, X12_434, X12_435, X12_436, X12_437, X12_440, X12_451, X12_452, X12_453, X12_455, X12_456, X12_460, X12_463, X12_466, X12_468, X12_470, X12_475, X12_485, X12_486, X12_490, X12_492, X12_494, X12_500, X12_501, X12_503, X12_504, X12_511, X12_517, X12_521, X12_527, X12_536, X12_540, X12_561, X12_567, X12_568, X12_601, X12_602, X12_620, X12_625, X12_650, X12_715, X12_753, X12_754, X12_805, X12_806, X12_810, X12_811, X12_812, X12_813, X12_814, X12_815, X12_816, X12_818, X12_819, X12_820, X12_821, X12_822, X12_823, X12_824, X12_826, X12_827, X12_828, X12_829, X12_830, X12_831, X12_832, X12_833, X12_834, X12_835, X12_836, X12_837, X12_838, X12_839, X12_840, X12_841, X12_842, X12_843, X12_844, X12_845, X12_846, X12_847, X12_848, X12_849, X12_850, X12_851, X12_852, X12_853, X12_854, X12_855, X12_856, X12_857, X12_858, X12_859, X12_860, X12_861, X12_862, X12_863, X12_864, X12_865, X12_866, X12_867, X12_868, X12_869, X12_870, X12_871, X12_872, X12_873, X12_874, X12_875, X12_876, X12_877, X12_878, X12_879, X12_880, X12_881, X12_882, X12_883, X12_884, X12_885, X12_886, X12_887, X12_888, X12_889, X12_891, X12_893, X12_894, X12_895, X12_896, X12_920, X12_924, X12_925, X12_926, X12_928, X12_940, X12_943, X12_944, X12_945, X12_947, X12_980, X12_990, X12_993, X12_996, X12_997, X12_998, X12_999, X12_270_X279, X12_271_X279, X12_275_X210, X12_275_X211, X12_276_X212, X12_277_X212, X12_277_X214, X12_277_X364, X12_278_X217, X12_820_X218, X12_820_X306, X12_824_X186, X12_834_X220, X12_834_X307, X12_834_X318, X12_835_X221, X12_837_X222, X12_837_X223, X12_837_X224, X12_837_X291, X12_837_X292, X12_837_X298, X12_999_X231
    #         version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
    #       },
    #     },
    #     sample_document: "FileLocation",
    #     input_conversion: {
    #       from_format: "X12", # required, accepts X12
    #       format_options: {
    #         x12: {
    #           transaction_set: "X12_100", # accepts X12_100, X12_101, X12_102, X12_103, X12_104, X12_105, X12_106, X12_107, X12_108, X12_109, X12_110, X12_111, X12_112, X12_113, X12_120, X12_121, X12_124, X12_125, X12_126, X12_127, X12_128, X12_129, X12_130, X12_131, X12_132, X12_133, X12_135, X12_138, X12_139, X12_140, X12_141, X12_142, X12_143, X12_144, X12_146, X12_147, X12_148, X12_149, X12_150, X12_151, X12_152, X12_153, X12_154, X12_155, X12_157, X12_158, X12_159, X12_160, X12_161, X12_163, X12_170, X12_175, X12_176, X12_179, X12_180, X12_185, X12_186, X12_187, X12_188, X12_189, X12_190, X12_191, X12_194, X12_195, X12_196, X12_197, X12_198, X12_199, X12_200, X12_201, X12_202, X12_203, X12_204, X12_205, X12_206, X12_210, X12_211, X12_212, X12_213, X12_214, X12_215, X12_216, X12_217, X12_218, X12_219, X12_220, X12_222, X12_223, X12_224, X12_225, X12_227, X12_228, X12_240, X12_242, X12_244, X12_245, X12_248, X12_249, X12_250, X12_251, X12_252, X12_255, X12_256, X12_259, X12_260, X12_261, X12_262, X12_263, X12_264, X12_265, X12_266, X12_267, X12_268, X12_269, X12_270, X12_271, X12_272, X12_273, X12_274, X12_275, X12_276, X12_277, X12_278, X12_280, X12_283, X12_284, X12_285, X12_286, X12_288, X12_290, X12_300, X12_301, X12_303, X12_304, X12_309, X12_310, X12_311, X12_312, X12_313, X12_315, X12_317, X12_319, X12_322, X12_323, X12_324, X12_325, X12_326, X12_350, X12_352, X12_353, X12_354, X12_355, X12_356, X12_357, X12_358, X12_361, X12_362, X12_404, X12_410, X12_412, X12_414, X12_417, X12_418, X12_419, X12_420, X12_421, X12_422, X12_423, X12_424, X12_425, X12_426, X12_429, X12_431, X12_432, X12_433, X12_434, X12_435, X12_436, X12_437, X12_440, X12_451, X12_452, X12_453, X12_455, X12_456, X12_460, X12_463, X12_466, X12_468, X12_470, X12_475, X12_485, X12_486, X12_490, X12_492, X12_494, X12_500, X12_501, X12_503, X12_504, X12_511, X12_517, X12_521, X12_527, X12_536, X12_540, X12_561, X12_567, X12_568, X12_601, X12_602, X12_620, X12_625, X12_650, X12_715, X12_753, X12_754, X12_805, X12_806, X12_810, X12_811, X12_812, X12_813, X12_814, X12_815, X12_816, X12_818, X12_819, X12_820, X12_821, X12_822, X12_823, X12_824, X12_826, X12_827, X12_828, X12_829, X12_830, X12_831, X12_832, X12_833, X12_834, X12_835, X12_836, X12_837, X12_838, X12_839, X12_840, X12_841, X12_842, X12_843, X12_844, X12_845, X12_846, X12_847, X12_848, X12_849, X12_850, X12_851, X12_852, X12_853, X12_854, X12_855, X12_856, X12_857, X12_858, X12_859, X12_860, X12_861, X12_862, X12_863, X12_864, X12_865, X12_866, X12_867, X12_868, X12_869, X12_870, X12_871, X12_872, X12_873, X12_874, X12_875, X12_876, X12_877, X12_878, X12_879, X12_880, X12_881, X12_882, X12_883, X12_884, X12_885, X12_886, X12_887, X12_888, X12_889, X12_891, X12_893, X12_894, X12_895, X12_896, X12_920, X12_924, X12_925, X12_926, X12_928, X12_940, X12_943, X12_944, X12_945, X12_947, X12_980, X12_990, X12_993, X12_996, X12_997, X12_998, X12_999, X12_270_X279, X12_271_X279, X12_275_X210, X12_275_X211, X12_276_X212, X12_277_X212, X12_277_X214, X12_277_X364, X12_278_X217, X12_820_X218, X12_820_X306, X12_824_X186, X12_834_X220, X12_834_X307, X12_834_X318, X12_835_X221, X12_837_X222, X12_837_X223, X12_837_X224, X12_837_X291, X12_837_X292, X12_837_X298, X12_999_X231
    #           version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
    #         },
    #       },
    #       advanced_options: {
    #         x12: {
    #           split_options: {
    #             split_by: "NONE", # required, accepts NONE, TRANSACTION
    #           },
    #           validation_options: {
    #             validation_rules: [
    #               {
    #                 code_list_validation_rule: {
    #                   element_id: "ElementId", # required
    #                   codes_to_add: ["String"],
    #                   codes_to_remove: ["String"],
    #                 },
    #                 element_length_validation_rule: {
    #                   element_id: "ElementId", # required
    #                   max_length: 1, # required
    #                   min_length: 1, # required
    #                 },
    #                 element_requirement_validation_rule: {
    #                   element_position: "ElementPosition", # required
    #                   requirement: "OPTIONAL", # required, accepts OPTIONAL, MANDATORY
    #                 },
    #               },
    #             ],
    #           },
    #         },
    #       },
    #     },
    #     mapping: {
    #       template_language: "XSLT", # required, accepts XSLT, JSONATA
    #       template: "MappingTemplate",
    #     },
    #     output_conversion: {
    #       to_format: "X12", # required, accepts X12
    #       format_options: {
    #         x12: {
    #           transaction_set: "X12_100", # accepts X12_100, X12_101, X12_102, X12_103, X12_104, X12_105, X12_106, X12_107, X12_108, X12_109, X12_110, X12_111, X12_112, X12_113, X12_120, X12_121, X12_124, X12_125, X12_126, X12_127, X12_128, X12_129, X12_130, X12_131, X12_132, X12_133, X12_135, X12_138, X12_139, X12_140, X12_141, X12_142, X12_143, X12_144, X12_146, X12_147, X12_148, X12_149, X12_150, X12_151, X12_152, X12_153, X12_154, X12_155, X12_157, X12_158, X12_159, X12_160, X12_161, X12_163, X12_170, X12_175, X12_176, X12_179, X12_180, X12_185, X12_186, X12_187, X12_188, X12_189, X12_190, X12_191, X12_194, X12_195, X12_196, X12_197, X12_198, X12_199, X12_200, X12_201, X12_202, X12_203, X12_204, X12_205, X12_206, X12_210, X12_211, X12_212, X12_213, X12_214, X12_215, X12_216, X12_217, X12_218, X12_219, X12_220, X12_222, X12_223, X12_224, X12_225, X12_227, X12_228, X12_240, X12_242, X12_244, X12_245, X12_248, X12_249, X12_250, X12_251, X12_252, X12_255, X12_256, X12_259, X12_260, X12_261, X12_262, X12_263, X12_264, X12_265, X12_266, X12_267, X12_268, X12_269, X12_270, X12_271, X12_272, X12_273, X12_274, X12_275, X12_276, X12_277, X12_278, X12_280, X12_283, X12_284, X12_285, X12_286, X12_288, X12_290, X12_300, X12_301, X12_303, X12_304, X12_309, X12_310, X12_311, X12_312, X12_313, X12_315, X12_317, X12_319, X12_322, X12_323, X12_324, X12_325, X12_326, X12_350, X12_352, X12_353, X12_354, X12_355, X12_356, X12_357, X12_358, X12_361, X12_362, X12_404, X12_410, X12_412, X12_414, X12_417, X12_418, X12_419, X12_420, X12_421, X12_422, X12_423, X12_424, X12_425, X12_426, X12_429, X12_431, X12_432, X12_433, X12_434, X12_435, X12_436, X12_437, X12_440, X12_451, X12_452, X12_453, X12_455, X12_456, X12_460, X12_463, X12_466, X12_468, X12_470, X12_475, X12_485, X12_486, X12_490, X12_492, X12_494, X12_500, X12_501, X12_503, X12_504, X12_511, X12_517, X12_521, X12_527, X12_536, X12_540, X12_561, X12_567, X12_568, X12_601, X12_602, X12_620, X12_625, X12_650, X12_715, X12_753, X12_754, X12_805, X12_806, X12_810, X12_811, X12_812, X12_813, X12_814, X12_815, X12_816, X12_818, X12_819, X12_820, X12_821, X12_822, X12_823, X12_824, X12_826, X12_827, X12_828, X12_829, X12_830, X12_831, X12_832, X12_833, X12_834, X12_835, X12_836, X12_837, X12_838, X12_839, X12_840, X12_841, X12_842, X12_843, X12_844, X12_845, X12_846, X12_847, X12_848, X12_849, X12_850, X12_851, X12_852, X12_853, X12_854, X12_855, X12_856, X12_857, X12_858, X12_859, X12_860, X12_861, X12_862, X12_863, X12_864, X12_865, X12_866, X12_867, X12_868, X12_869, X12_870, X12_871, X12_872, X12_873, X12_874, X12_875, X12_876, X12_877, X12_878, X12_879, X12_880, X12_881, X12_882, X12_883, X12_884, X12_885, X12_886, X12_887, X12_888, X12_889, X12_891, X12_893, X12_894, X12_895, X12_896, X12_920, X12_924, X12_925, X12_926, X12_928, X12_940, X12_943, X12_944, X12_945, X12_947, X12_980, X12_990, X12_993, X12_996, X12_997, X12_998, X12_999, X12_270_X279, X12_271_X279, X12_275_X210, X12_275_X211, X12_276_X212, X12_277_X212, X12_277_X214, X12_277_X364, X12_278_X217, X12_820_X218, X12_820_X306, X12_824_X186, X12_834_X220, X12_834_X307, X12_834_X318, X12_835_X221, X12_837_X222, X12_837_X223, X12_837_X224, X12_837_X291, X12_837_X292, X12_837_X298, X12_999_X231
    #           version: "VERSION_4010", # accepts VERSION_4010, VERSION_4030, VERSION_4050, VERSION_4060, VERSION_5010, VERSION_5010_HIPAA
    #         },
    #       },
    #       advanced_options: {
    #         x12: {
    #           split_options: {
    #             split_by: "NONE", # required, accepts NONE, TRANSACTION
    #           },
    #           validation_options: {
    #             validation_rules: [
    #               {
    #                 code_list_validation_rule: {
    #                   element_id: "ElementId", # required
    #                   codes_to_add: ["String"],
    #                   codes_to_remove: ["String"],
    #                 },
    #                 element_length_validation_rule: {
    #                   element_id: "ElementId", # required
    #                   max_length: 1, # required
    #                   min_length: 1, # required
    #                 },
    #                 element_requirement_validation_rule: {
    #                   element_position: "ElementPosition", # required
    #                   requirement: "OPTIONAL", # required, accepts OPTIONAL, MANDATORY
    #                 },
    #               },
    #             ],
    #           },
    #         },
    #       },
    #     },
    #     sample_documents: {
    #       bucket_name: "BucketName", # required
    #       keys: [ # required
    #         {
    #           input: "S3Key",
    #           output: "S3Key",
    #         },
    #       ],
    #     },
    #   })
    #
    # @example Response structure
    #
    #   resp.transformer_id #=> String
    #   resp.transformer_arn #=> String
    #   resp.name #=> String
    #   resp.status #=> String, one of "active", "inactive"
    #   resp.created_at #=> Time
    #   resp.modified_at #=> Time
    #   resp.file_format #=> String, one of "XML", "JSON", "NOT_USED"
    #   resp.mapping_template #=> String
    #   resp.edi_type.x12_details.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "X12_999", "X12_270_X279", "X12_271_X279", "X12_275_X210", "X12_275_X211", "X12_276_X212", "X12_277_X212", "X12_277_X214", "X12_277_X364", "X12_278_X217", "X12_820_X218", "X12_820_X306", "X12_824_X186", "X12_834_X220", "X12_834_X307", "X12_834_X318", "X12_835_X221", "X12_837_X222", "X12_837_X223", "X12_837_X224", "X12_837_X291", "X12_837_X292", "X12_837_X298", "X12_999_X231"
    #   resp.edi_type.x12_details.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
    #   resp.sample_document #=> String
    #   resp.input_conversion.from_format #=> String, one of "X12"
    #   resp.input_conversion.format_options.x12.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "X12_999", "X12_270_X279", "X12_271_X279", "X12_275_X210", "X12_275_X211", "X12_276_X212", "X12_277_X212", "X12_277_X214", "X12_277_X364", "X12_278_X217", "X12_820_X218", "X12_820_X306", "X12_824_X186", "X12_834_X220", "X12_834_X307", "X12_834_X318", "X12_835_X221", "X12_837_X222", "X12_837_X223", "X12_837_X224", "X12_837_X291", "X12_837_X292", "X12_837_X298", "X12_999_X231"
    #   resp.input_conversion.format_options.x12.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
    #   resp.input_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules #=> Array
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.element_id #=> String
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add #=> Array
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add[0] #=> String
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove #=> Array
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove[0] #=> String
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.element_id #=> String
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.max_length #=> Integer
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.min_length #=> Integer
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.element_position #=> String
    #   resp.input_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.requirement #=> String, one of "OPTIONAL", "MANDATORY"
    #   resp.mapping.template_language #=> String, one of "XSLT", "JSONATA"
    #   resp.mapping.template #=> String
    #   resp.output_conversion.to_format #=> String, one of "X12"
    #   resp.output_conversion.format_options.x12.transaction_set #=> String, one of "X12_100", "X12_101", "X12_102", "X12_103", "X12_104", "X12_105", "X12_106", "X12_107", "X12_108", "X12_109", "X12_110", "X12_111", "X12_112", "X12_113", "X12_120", "X12_121", "X12_124", "X12_125", "X12_126", "X12_127", "X12_128", "X12_129", "X12_130", "X12_131", "X12_132", "X12_133", "X12_135", "X12_138", "X12_139", "X12_140", "X12_141", "X12_142", "X12_143", "X12_144", "X12_146", "X12_147", "X12_148", "X12_149", "X12_150", "X12_151", "X12_152", "X12_153", "X12_154", "X12_155", "X12_157", "X12_158", "X12_159", "X12_160", "X12_161", "X12_163", "X12_170", "X12_175", "X12_176", "X12_179", "X12_180", "X12_185", "X12_186", "X12_187", "X12_188", "X12_189", "X12_190", "X12_191", "X12_194", "X12_195", "X12_196", "X12_197", "X12_198", "X12_199", "X12_200", "X12_201", "X12_202", "X12_203", "X12_204", "X12_205", "X12_206", "X12_210", "X12_211", "X12_212", "X12_213", "X12_214", "X12_215", "X12_216", "X12_217", "X12_218", "X12_219", "X12_220", "X12_222", "X12_223", "X12_224", "X12_225", "X12_227", "X12_228", "X12_240", "X12_242", "X12_244", "X12_245", "X12_248", "X12_249", "X12_250", "X12_251", "X12_252", "X12_255", "X12_256", "X12_259", "X12_260", "X12_261", "X12_262", "X12_263", "X12_264", "X12_265", "X12_266", "X12_267", "X12_268", "X12_269", "X12_270", "X12_271", "X12_272", "X12_273", "X12_274", "X12_275", "X12_276", "X12_277", "X12_278", "X12_280", "X12_283", "X12_284", "X12_285", "X12_286", "X12_288", "X12_290", "X12_300", "X12_301", "X12_303", "X12_304", "X12_309", "X12_310", "X12_311", "X12_312", "X12_313", "X12_315", "X12_317", "X12_319", "X12_322", "X12_323", "X12_324", "X12_325", "X12_326", "X12_350", "X12_352", "X12_353", "X12_354", "X12_355", "X12_356", "X12_357", "X12_358", "X12_361", "X12_362", "X12_404", "X12_410", "X12_412", "X12_414", "X12_417", "X12_418", "X12_419", "X12_420", "X12_421", "X12_422", "X12_423", "X12_424", "X12_425", "X12_426", "X12_429", "X12_431", "X12_432", "X12_433", "X12_434", "X12_435", "X12_436", "X12_437", "X12_440", "X12_451", "X12_452", "X12_453", "X12_455", "X12_456", "X12_460", "X12_463", "X12_466", "X12_468", "X12_470", "X12_475", "X12_485", "X12_486", "X12_490", "X12_492", "X12_494", "X12_500", "X12_501", "X12_503", "X12_504", "X12_511", "X12_517", "X12_521", "X12_527", "X12_536", "X12_540", "X12_561", "X12_567", "X12_568", "X12_601", "X12_602", "X12_620", "X12_625", "X12_650", "X12_715", "X12_753", "X12_754", "X12_805", "X12_806", "X12_810", "X12_811", "X12_812", "X12_813", "X12_814", "X12_815", "X12_816", "X12_818", "X12_819", "X12_820", "X12_821", "X12_822", "X12_823", "X12_824", "X12_826", "X12_827", "X12_828", "X12_829", "X12_830", "X12_831", "X12_832", "X12_833", "X12_834", "X12_835", "X12_836", "X12_837", "X12_838", "X12_839", "X12_840", "X12_841", "X12_842", "X12_843", "X12_844", "X12_845", "X12_846", "X12_847", "X12_848", "X12_849", "X12_850", "X12_851", "X12_852", "X12_853", "X12_854", "X12_855", "X12_856", "X12_857", "X12_858", "X12_859", "X12_860", "X12_861", "X12_862", "X12_863", "X12_864", "X12_865", "X12_866", "X12_867", "X12_868", "X12_869", "X12_870", "X12_871", "X12_872", "X12_873", "X12_874", "X12_875", "X12_876", "X12_877", "X12_878", "X12_879", "X12_880", "X12_881", "X12_882", "X12_883", "X12_884", "X12_885", "X12_886", "X12_887", "X12_888", "X12_889", "X12_891", "X12_893", "X12_894", "X12_895", "X12_896", "X12_920", "X12_924", "X12_925", "X12_926", "X12_928", "X12_940", "X12_943", "X12_944", "X12_945", "X12_947", "X12_980", "X12_990", "X12_993", "X12_996", "X12_997", "X12_998", "X12_999", "X12_270_X279", "X12_271_X279", "X12_275_X210", "X12_275_X211", "X12_276_X212", "X12_277_X212", "X12_277_X214", "X12_277_X364", "X12_278_X217", "X12_820_X218", "X12_820_X306", "X12_824_X186", "X12_834_X220", "X12_834_X307", "X12_834_X318", "X12_835_X221", "X12_837_X222", "X12_837_X223", "X12_837_X224", "X12_837_X291", "X12_837_X292", "X12_837_X298", "X12_999_X231"
    #   resp.output_conversion.format_options.x12.version #=> String, one of "VERSION_4010", "VERSION_4030", "VERSION_4050", "VERSION_4060", "VERSION_5010", "VERSION_5010_HIPAA"
    #   resp.output_conversion.advanced_options.x12.split_options.split_by #=> String, one of "NONE", "TRANSACTION"
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules #=> Array
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.element_id #=> String
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add #=> Array
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_add[0] #=> String
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove #=> Array
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].code_list_validation_rule.codes_to_remove[0] #=> String
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.element_id #=> String
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.max_length #=> Integer
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_length_validation_rule.min_length #=> Integer
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.element_position #=> String
    #   resp.output_conversion.advanced_options.x12.validation_options.validation_rules[0].element_requirement_validation_rule.requirement #=> String, one of "OPTIONAL", "MANDATORY"
    #   resp.sample_documents.bucket_name #=> String
    #   resp.sample_documents.keys #=> Array
    #   resp.sample_documents.keys[0].input #=> String
    #   resp.sample_documents.keys[0].output #=> String
    #
    # @see http://docs.aws.amazon.com/goto/WebAPI/b2bi-2022-06-23/UpdateTransformer AWS API Documentation
    #
    # @overload update_transformer(params = {})
    # @param [Hash] params ({})
    def update_transformer(params = {}, options = {})
      req = build_request(:update_transformer, params)
      req.send_request(options)
    end

    # @!endgroup

    # @param params ({})
    # @api private
    def build_request(operation_name, params = {})
      handlers = @handlers.for(operation_name)
      tracer = config.telemetry_provider.tracer_provider.tracer(
        Aws::Telemetry.module_to_tracer_name('Aws::B2bi')
      )
      context = Seahorse::Client::RequestContext.new(
        operation_name: operation_name,
        operation: config.api.operation(operation_name),
        client: self,
        params: params,
        config: config,
        tracer: tracer
      )
      context[:gem_name] = 'aws-sdk-b2bi'
      context[:gem_version] = '1.38.0'
      Seahorse::Client::Request.new(handlers, context)
    end

    # Polls an API operation until a resource enters a desired state.
    #
    # ## Basic Usage
    #
    # A waiter will call an API operation until:
    #
    # * It is successful
    # * It enters a terminal state
    # * It makes the maximum number of attempts
    #
    # In between attempts, the waiter will sleep.
    #
    #     # polls in a loop, sleeping between attempts
    #     client.wait_until(waiter_name, params)
    #
    # ## Configuration
    #
    # You can configure the maximum number of polling attempts, and the
    # delay (in seconds) between each polling attempt. You can pass
    # configuration as the final arguments hash.
    #
    #     # poll for ~25 seconds
    #     client.wait_until(waiter_name, params, {
    #       max_attempts: 5,
    #       delay: 5,
    #     })
    #
    # ## Callbacks
    #
    # You can be notified before each polling attempt and before each
    # delay. If you throw `:success` or `:failure` from these callbacks,
    # it will terminate the waiter.
    #
    #     started_at = Time.now
    #     client.wait_until(waiter_name, params, {
    #
    #       # disable max attempts
    #       max_attempts: nil,
    #
    #       # poll for 1 hour, instead of a number of attempts
    #       before_wait: -> (attempts, response) do
    #         throw :failure if Time.now - started_at > 3600
    #       end
    #     })
    #
    # ## Handling Errors
    #
    # When a waiter is unsuccessful, it will raise an error.
    # All of the failure errors extend from
    # {Aws::Waiters::Errors::WaiterFailed}.
    #
    #     begin
    #       client.wait_until(...)
    #     rescue Aws::Waiters::Errors::WaiterFailed
    #       # resource did not enter the desired state in time
    #     end
    #
    # ## Valid Waiters
    #
    # The following table lists the valid waiter names, the operations they call,
    # and the default `:delay` and `:max_attempts` values.
    #
    # | waiter_name               | params                       | :delay   | :max_attempts |
    # | ------------------------- | ---------------------------- | -------- | ------------- |
    # | transformer_job_succeeded | {Client#get_transformer_job} | 10       | 12            |
    #
    # @raise [Errors::FailureStateError] Raised when the waiter terminates
    #   because the waiter has entered a state that it will not transition
    #   out of, preventing success.
    #
    # @raise [Errors::TooManyAttemptsError] Raised when the configured
    #   maximum number of attempts have been made, and the waiter is not
    #   yet successful.
    #
    # @raise [Errors::UnexpectedError] Raised when an error is encounted
    #   while polling for a resource that is not expected.
    #
    # @raise [Errors::NoSuchWaiterError] Raised when you request to wait
    #   for an unknown state.
    #
    # @return [Boolean] Returns `true` if the waiter was successful.
    # @param [Symbol] waiter_name
    # @param [Hash] params ({})
    # @param [Hash] options ({})
    # @option options [Integer] :max_attempts
    # @option options [Integer] :delay
    # @option options [Proc] :before_attempt
    # @option options [Proc] :before_wait
    def wait_until(waiter_name, params = {}, options = {})
      w = waiter(waiter_name, options)
      yield(w.waiter) if block_given? # deprecated
      w.wait(params)
    end

    # @api private
    # @deprecated
    def waiter_names
      waiters.keys
    end

    private

    # @param [Symbol] waiter_name
    # @param [Hash] options ({})
    def waiter(waiter_name, options = {})
      waiter_class = waiters[waiter_name]
      if waiter_class
        waiter_class.new(options.merge(client: self))
      else
        raise Aws::Waiters::Errors::NoSuchWaiterError.new(waiter_name, waiters.keys)
      end
    end

    def waiters
      {
        transformer_job_succeeded: Waiters::TransformerJobSucceeded
      }
    end

    class << self

      # @api private
      attr_reader :identifier

      # @api private
      def errors_module
        Errors
      end

    end
  end
end
