aws-sdk-partnercentralaccount 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2048 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'seahorse/client/plugins/content_length'
11
+ require 'aws-sdk-core/plugins/credentials_configuration'
12
+ require 'aws-sdk-core/plugins/logging'
13
+ require 'aws-sdk-core/plugins/param_converter'
14
+ require 'aws-sdk-core/plugins/param_validator'
15
+ require 'aws-sdk-core/plugins/user_agent'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors'
17
+ require 'aws-sdk-core/plugins/retry_errors'
18
+ require 'aws-sdk-core/plugins/global_configuration'
19
+ require 'aws-sdk-core/plugins/regional_endpoint'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern'
22
+ require 'aws-sdk-core/plugins/response_paging'
23
+ require 'aws-sdk-core/plugins/stub_responses'
24
+ require 'aws-sdk-core/plugins/idempotency_token'
25
+ require 'aws-sdk-core/plugins/invocation_id'
26
+ require 'aws-sdk-core/plugins/jsonvalue_converter'
27
+ require 'aws-sdk-core/plugins/client_metrics_plugin'
28
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin'
29
+ require 'aws-sdk-core/plugins/transfer_encoding'
30
+ require 'aws-sdk-core/plugins/http_checksum'
31
+ require 'aws-sdk-core/plugins/checksum_algorithm'
32
+ require 'aws-sdk-core/plugins/request_compression'
33
+ require 'aws-sdk-core/plugins/defaults_mode'
34
+ require 'aws-sdk-core/plugins/recursion_detection'
35
+ require 'aws-sdk-core/plugins/telemetry'
36
+ require 'aws-sdk-core/plugins/sign'
37
+ require 'aws-sdk-core/plugins/protocols/json_rpc'
38
+
39
+ module Aws::PartnerCentralAccount
40
+ # An API client for PartnerCentralAccount. To construct a client, you need to configure a `:region` and `:credentials`.
41
+ #
42
+ # client = Aws::PartnerCentralAccount::Client.new(
43
+ # region: region_name,
44
+ # credentials: credentials,
45
+ # # ...
46
+ # )
47
+ #
48
+ # For details on configuring region and credentials see
49
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
50
+ #
51
+ # See {#initialize} for a full list of supported configuration options.
52
+ class Client < Seahorse::Client::Base
53
+
54
+ include Aws::ClientStubs
55
+
56
+ @identifier = :partnercentralaccount
57
+
58
+ set_api(ClientApi::API)
59
+
60
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
61
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
62
+ add_plugin(Aws::Plugins::Logging)
63
+ add_plugin(Aws::Plugins::ParamConverter)
64
+ add_plugin(Aws::Plugins::ParamValidator)
65
+ add_plugin(Aws::Plugins::UserAgent)
66
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
67
+ add_plugin(Aws::Plugins::RetryErrors)
68
+ add_plugin(Aws::Plugins::GlobalConfiguration)
69
+ add_plugin(Aws::Plugins::RegionalEndpoint)
70
+ add_plugin(Aws::Plugins::EndpointDiscovery)
71
+ add_plugin(Aws::Plugins::EndpointPattern)
72
+ add_plugin(Aws::Plugins::ResponsePaging)
73
+ add_plugin(Aws::Plugins::StubResponses)
74
+ add_plugin(Aws::Plugins::IdempotencyToken)
75
+ add_plugin(Aws::Plugins::InvocationId)
76
+ add_plugin(Aws::Plugins::JsonvalueConverter)
77
+ add_plugin(Aws::Plugins::ClientMetricsPlugin)
78
+ add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
79
+ add_plugin(Aws::Plugins::TransferEncoding)
80
+ add_plugin(Aws::Plugins::HttpChecksum)
81
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
82
+ add_plugin(Aws::Plugins::RequestCompression)
83
+ add_plugin(Aws::Plugins::DefaultsMode)
84
+ add_plugin(Aws::Plugins::RecursionDetection)
85
+ add_plugin(Aws::Plugins::Telemetry)
86
+ add_plugin(Aws::Plugins::Sign)
87
+ add_plugin(Aws::Plugins::Protocols::JsonRpc)
88
+ add_plugin(Aws::PartnerCentralAccount::Plugins::Endpoints)
89
+
90
+ # @overload initialize(options)
91
+ # @param [Hash] options
92
+ #
93
+ # @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
94
+ # A list of plugins to apply to the client. Each plugin is either a
95
+ # class name or an instance of a plugin class.
96
+ #
97
+ # @option options [required, Aws::CredentialProvider] :credentials
98
+ # Your AWS credentials used for authentication. This can be any class that includes and implements
99
+ # `Aws::CredentialProvider`, or instance of any one of the following classes:
100
+ #
101
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
102
+ # credentials.
103
+ #
104
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
105
+ # shared file, such as `~/.aws/config`.
106
+ #
107
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ #
109
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
110
+ # assume a role after providing credentials via the web.
111
+ #
112
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
113
+ # access token generated from `aws login`.
114
+ #
115
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
116
+ # process that outputs to stdout.
117
+ #
118
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
119
+ # from an EC2 IMDS on an EC2 instance.
120
+ #
121
+ # * `Aws::ECSCredentials` - Used for loading credentials from
122
+ # instances running in ECS.
123
+ #
124
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
125
+ # from the Cognito Identity service.
126
+ #
127
+ # When `:credentials` are not configured directly, the following locations will be searched for credentials:
128
+ #
129
+ # * `Aws.config[:credentials]`
130
+ #
131
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
132
+ # `:account_id` options.
133
+ #
134
+ # * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
135
+ # `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
136
+ #
137
+ # * `~/.aws/credentials`
138
+ #
139
+ # * `~/.aws/config`
140
+ #
141
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts are very aggressive.
142
+ # Construct and pass an instance of `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
143
+ # enable retries and extended timeouts. Instance profile credential fetching can be disabled by
144
+ # setting `ENV['AWS_EC2_METADATA_DISABLED']` to `true`.
145
+ #
146
+ # @option options [required, String] :region
147
+ # The AWS region to connect to. The configured `:region` is
148
+ # used to determine the service `:endpoint`. When not passed,
149
+ # a default `:region` is searched for in the following locations:
150
+ #
151
+ # * `Aws.config[:region]`
152
+ # * `ENV['AWS_REGION']`
153
+ # * `ENV['AMAZON_REGION']`
154
+ # * `ENV['AWS_DEFAULT_REGION']`
155
+ # * `~/.aws/credentials`
156
+ # * `~/.aws/config`
157
+ #
158
+ # @option options [String] :access_key_id
159
+ #
160
+ # @option options [String] :account_id
161
+ #
162
+ # @option options [Boolean] :active_endpoint_cache (false)
163
+ # When set to `true`, a thread polling for endpoints will be running in
164
+ # the background every 60 secs (default). Defaults to `false`.
165
+ #
166
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
167
+ # Used only in `adaptive` retry mode. When true, the request will sleep
168
+ # until there is sufficent client side capacity to retry the request.
169
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
170
+ # not retry instead of sleeping.
171
+ #
172
+ # @option options [Array<String>] :auth_scheme_preference
173
+ # A list of preferred authentication schemes to use when making a request. Supported values are:
174
+ # `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
175
+ # shared config as `auth_scheme_preference`, the value should be a comma-separated list.
176
+ #
177
+ # @option options [Boolean] :client_side_monitoring (false)
178
+ # When `true`, client-side metrics will be collected for all API requests from
179
+ # this client.
180
+ #
181
+ # @option options [String] :client_side_monitoring_client_id ("")
182
+ # Allows you to provide an identifier for this client which will be attached to
183
+ # all generated client side metrics. Defaults to an empty string.
184
+ #
185
+ # @option options [String] :client_side_monitoring_host ("127.0.0.1")
186
+ # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
187
+ # side monitoring agent is running on, where client metrics will be published via UDP.
188
+ #
189
+ # @option options [Integer] :client_side_monitoring_port (31000)
190
+ # Required for publishing client metrics. The port that the client side monitoring
191
+ # agent is running on, where client metrics will be published via UDP.
192
+ #
193
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
194
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
195
+ # will use the Client Side Monitoring Agent Publisher.
196
+ #
197
+ # @option options [Boolean] :convert_params (true)
198
+ # When `true`, an attempt is made to coerce request parameters into
199
+ # the required types.
200
+ #
201
+ # @option options [Boolean] :correct_clock_skew (true)
202
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
203
+ # a clock skew correction and retry requests with skewed client clocks.
204
+ #
205
+ # @option options [String] :defaults_mode ("legacy")
206
+ # See {Aws::DefaultsModeConfiguration} for a list of the
207
+ # accepted modes and the configuration defaults that are included.
208
+ #
209
+ # @option options [Boolean] :disable_host_prefix_injection (false)
210
+ # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
211
+ #
212
+ # @option options [Boolean] :disable_request_compression (false)
213
+ # When set to 'true' the request body will not be compressed
214
+ # for supported operations.
215
+ #
216
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
217
+ # Normally you should not configure the `:endpoint` option
218
+ # directly. This is normally constructed from the `:region`
219
+ # option. Configuring `:endpoint` is normally reserved for
220
+ # connecting to test or custom endpoints. The endpoint should
221
+ # be a URI formatted like:
222
+ #
223
+ # 'http://example.com'
224
+ # 'https://example.com'
225
+ # 'http://example.com:123'
226
+ #
227
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
228
+ # Used for the maximum size limit of the LRU cache storing endpoints data
229
+ # for endpoint discovery enabled operations. Defaults to 1000.
230
+ #
231
+ # @option options [Integer] :endpoint_cache_max_threads (10)
232
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
233
+ #
234
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
235
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
236
+ # Use this option to config the time interval in seconds for making
237
+ # requests fetching endpoints information. Defaults to 60 sec.
238
+ #
239
+ # @option options [Boolean] :endpoint_discovery (false)
240
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
241
+ #
242
+ # @option options [Boolean] :ignore_configured_endpoint_urls
243
+ # Setting to true disables use of endpoint URLs provided via environment
244
+ # variables and the shared configuration file.
245
+ #
246
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
247
+ # The log formatter.
248
+ #
249
+ # @option options [Symbol] :log_level (:info)
250
+ # The log level to send messages to the `:logger` at.
251
+ #
252
+ # @option options [Logger] :logger
253
+ # The Logger instance to send log messages to. If this option
254
+ # is not set, logging will be disabled.
255
+ #
256
+ # @option options [Integer] :max_attempts (3)
257
+ # An integer representing the maximum number attempts that will be made for
258
+ # a single request, including the initial attempt. For example,
259
+ # setting this value to 5 will result in a request being retried up to
260
+ # 4 times. Used in `standard` and `adaptive` retry modes.
261
+ #
262
+ # @option options [String] :profile ("default")
263
+ # Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
264
+ # When not specified, 'default' is used.
265
+ #
266
+ # @option options [String] :request_checksum_calculation ("when_supported")
267
+ # Determines when a checksum will be calculated for request payloads. Values are:
268
+ #
269
+ # * `when_supported` - (default) When set, a checksum will be
270
+ # calculated for all request payloads of operations modeled with the
271
+ # `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
272
+ # `requestAlgorithmMember` is modeled.
273
+ # * `when_required` - When set, a checksum will only be calculated for
274
+ # request payloads of operations modeled with the `httpChecksum` trait where
275
+ # `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
276
+ # is modeled and supplied.
277
+ #
278
+ # @option options [Integer] :request_min_compression_size_bytes (10240)
279
+ # The minimum size in bytes that triggers compression for request
280
+ # bodies. The value must be non-negative integer value between 0
281
+ # and 10485780 bytes inclusive.
282
+ #
283
+ # @option options [String] :response_checksum_validation ("when_supported")
284
+ # Determines when checksum validation will be performed on response payloads. Values are:
285
+ #
286
+ # * `when_supported` - (default) When set, checksum validation is performed on all
287
+ # response payloads of operations modeled with the `httpChecksum` trait where
288
+ # `responseAlgorithms` is modeled, except when no modeled checksum algorithms
289
+ # are supported.
290
+ # * `when_required` - When set, checksum validation is not performed on
291
+ # response payloads of operations unless the checksum algorithm is supported and
292
+ # the `requestValidationModeMember` member is set to `ENABLED`.
293
+ #
294
+ # @option options [Proc] :retry_backoff
295
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
296
+ # This option is only used in the `legacy` retry mode.
297
+ #
298
+ # @option options [Float] :retry_base_delay (0.3)
299
+ # The base delay in seconds used by the default backoff function. This option
300
+ # is only used in the `legacy` retry mode.
301
+ #
302
+ # @option options [Symbol] :retry_jitter (:none)
303
+ # A delay randomiser function used by the default backoff function.
304
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
305
+ # otherwise a Proc that takes and returns a number. This option is only used
306
+ # in the `legacy` retry mode.
307
+ #
308
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
309
+ #
310
+ # @option options [Integer] :retry_limit (3)
311
+ # The maximum number of times to retry failed requests. Only
312
+ # ~ 500 level server errors and certain ~ 400 level client errors
313
+ # are retried. Generally, these are throttling errors, data
314
+ # checksum errors, networking errors, timeout errors, auth errors,
315
+ # endpoint discovery, and errors from expired credentials.
316
+ # This option is only used in the `legacy` retry mode.
317
+ #
318
+ # @option options [Integer] :retry_max_delay (0)
319
+ # The maximum number of seconds to delay between retries (0 for no limit)
320
+ # used by the default backoff function. This option is only used in the
321
+ # `legacy` retry mode.
322
+ #
323
+ # @option options [String] :retry_mode ("legacy")
324
+ # Specifies which retry algorithm to use. Values are:
325
+ #
326
+ # * `legacy` - The pre-existing retry behavior. This is default value if
327
+ # no retry mode is provided.
328
+ #
329
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
330
+ # This includes support for retry quotas, which limit the number of
331
+ # unsuccessful retries a client can make.
332
+ #
333
+ # * `adaptive` - An experimental retry mode that includes all the
334
+ # functionality of `standard` mode along with automatic client side
335
+ # throttling. This is a provisional mode that may change behavior
336
+ # in the future.
337
+ #
338
+ # @option options [String] :sdk_ua_app_id
339
+ # A unique and opaque application ID that is appended to the
340
+ # User-Agent header as app/sdk_ua_app_id. It should have a
341
+ # maximum length of 50. This variable is sourced from environment
342
+ # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
343
+ #
344
+ # @option options [String] :secret_access_key
345
+ #
346
+ # @option options [String] :session_token
347
+ #
348
+ # @option options [Array] :sigv4a_signing_region_set
349
+ # A list of regions that should be signed with SigV4a signing. When
350
+ # not passed, a default `:sigv4a_signing_region_set` is searched for
351
+ # in the following locations:
352
+ #
353
+ # * `Aws.config[:sigv4a_signing_region_set]`
354
+ # * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
355
+ # * `~/.aws/config`
356
+ #
357
+ # @option options [Boolean] :simple_json (false)
358
+ # Disables request parameter conversion, validation, and formatting.
359
+ # Also disables response data type conversions. The request parameters
360
+ # hash must be formatted exactly as the API expects.This option is useful
361
+ # when you want to ensure the highest level of performance by avoiding
362
+ # overhead of walking request parameters and response data structures.
363
+ #
364
+ # @option options [Boolean] :stub_responses (false)
365
+ # Causes the client to return stubbed responses. By default
366
+ # fake responses are generated and returned. You can specify
367
+ # the response data to return or errors to raise by calling
368
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
369
+ #
370
+ # ** Please note ** When response stubbing is enabled, no HTTP
371
+ # requests are made, and retries are disabled.
372
+ #
373
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
374
+ # Allows you to provide a telemetry provider, which is used to
375
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
376
+ # will not record or emit any telemetry data. The SDK supports the
377
+ # following telemetry providers:
378
+ #
379
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
380
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
381
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
382
+ #
383
+ # @option options [Aws::TokenProvider] :token_provider
384
+ # Your Bearer token used for authentication. This can be any class that includes and implements
385
+ # `Aws::TokenProvider`, or instance of any one of the following classes:
386
+ #
387
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
388
+ # tokens.
389
+ #
390
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
391
+ # access token generated from `aws login`.
392
+ #
393
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
394
+ # will be used to search for tokens configured for your profile in shared configuration files.
395
+ #
396
+ # @option options [Boolean] :use_dualstack_endpoint
397
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
398
+ # will be used if available.
399
+ #
400
+ # @option options [Boolean] :use_fips_endpoint
401
+ # When set to `true`, fips compatible endpoints will be used if available.
402
+ # When a `fips` region is used, the region is normalized and this config
403
+ # is set to `true`.
404
+ #
405
+ # @option options [Boolean] :validate_params (true)
406
+ # When `true`, request parameters are validated before
407
+ # sending the request.
408
+ #
409
+ # @option options [Aws::PartnerCentralAccount::EndpointProvider] :endpoint_provider
410
+ # The endpoint provider used to resolve endpoints. Any object that responds to
411
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
412
+ # `Aws::PartnerCentralAccount::EndpointParameters`.
413
+ #
414
+ # @option options [Float] :http_continue_timeout (1)
415
+ # The number of seconds to wait for a 100-continue response before sending the
416
+ # request body. This option has no effect unless the request has "Expect"
417
+ # header set to "100-continue". Defaults to `nil` which disables this
418
+ # behaviour. This value can safely be set per request on the session.
419
+ #
420
+ # @option options [Float] :http_idle_timeout (5)
421
+ # The number of seconds a connection is allowed to sit idle before it
422
+ # is considered stale. Stale connections are closed and removed from the
423
+ # pool before making a request.
424
+ #
425
+ # @option options [Float] :http_open_timeout (15)
426
+ # The default number of seconds to wait for response data.
427
+ # This value can safely be set per-request on the session.
428
+ #
429
+ # @option options [URI::HTTP,String] :http_proxy
430
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
431
+ #
432
+ # @option options [Float] :http_read_timeout (60)
433
+ # The default number of seconds to wait for response data.
434
+ # This value can safely be set per-request on the session.
435
+ #
436
+ # @option options [Boolean] :http_wire_trace (false)
437
+ # When `true`, HTTP debug output will be sent to the `:logger`.
438
+ #
439
+ # @option options [Proc] :on_chunk_received
440
+ # When a Proc object is provided, it will be used as callback when each chunk
441
+ # of the response body is received. It provides three arguments: the chunk,
442
+ # the number of bytes received, and the total number of
443
+ # bytes in the response (or nil if the server did not send a `content-length`).
444
+ #
445
+ # @option options [Proc] :on_chunk_sent
446
+ # When a Proc object is provided, it will be used as callback when each chunk
447
+ # of the request body is sent. It provides three arguments: the chunk,
448
+ # the number of bytes read from the body, and the total number of
449
+ # bytes in the body.
450
+ #
451
+ # @option options [Boolean] :raise_response_errors (true)
452
+ # When `true`, response errors are raised.
453
+ #
454
+ # @option options [String] :ssl_ca_bundle
455
+ # Full path to the SSL certificate authority bundle file that should be used when
456
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
457
+ # `:ssl_ca_directory` the the system default will be used if available.
458
+ #
459
+ # @option options [String] :ssl_ca_directory
460
+ # Full path of the directory that contains the unbundled SSL certificate
461
+ # authority files for verifying peer certificates. If you do
462
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
463
+ # default will be used if available.
464
+ #
465
+ # @option options [String] :ssl_ca_store
466
+ # Sets the X509::Store to verify peer certificate.
467
+ #
468
+ # @option options [OpenSSL::X509::Certificate] :ssl_cert
469
+ # Sets a client certificate when creating http connections.
470
+ #
471
+ # @option options [OpenSSL::PKey] :ssl_key
472
+ # Sets a client key when creating http connections.
473
+ #
474
+ # @option options [Float] :ssl_timeout
475
+ # Sets the SSL timeout in seconds
476
+ #
477
+ # @option options [Boolean] :ssl_verify_peer (true)
478
+ # When `true`, SSL peer certificates are verified when establishing a connection.
479
+ #
480
+ def initialize(*args)
481
+ super
482
+ end
483
+
484
+ # @!group API Operations
485
+
486
+ # Accepts a connection invitation from another partner, establishing a
487
+ # formal partnership connection between the two parties.
488
+ #
489
+ # @option params [required, String] :catalog
490
+ # The catalog identifier where the connection invitation exists.
491
+ #
492
+ # @option params [required, String] :identifier
493
+ # The unique identifier of the connection invitation to accept.
494
+ #
495
+ # @option params [required, String] :client_token
496
+ # A unique, case-sensitive identifier that you provide to ensure the
497
+ # idempotency of the request.
498
+ #
499
+ # **A suitable default value is auto-generated.** You should normally
500
+ # not need to pass this option.**
501
+ #
502
+ # @return [Types::AcceptConnectionInvitationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
503
+ #
504
+ # * {Types::AcceptConnectionInvitationResponse#connection #connection} => Types::Connection
505
+ #
506
+ # @example Request syntax with placeholder values
507
+ #
508
+ # resp = client.accept_connection_invitation({
509
+ # catalog: "Catalog", # required
510
+ # identifier: "ConnectionInvitationId", # required
511
+ # client_token: "ClientToken", # required
512
+ # })
513
+ #
514
+ # @example Response structure
515
+ #
516
+ # resp.connection.catalog #=> String
517
+ # resp.connection.id #=> String
518
+ # resp.connection.arn #=> String
519
+ # resp.connection.other_participant_account_id #=> String
520
+ # resp.connection.updated_at #=> Time
521
+ # resp.connection.connection_types #=> Hash
522
+ # resp.connection.connection_types["ConnectionType"].created_at #=> Time
523
+ # resp.connection.connection_types["ConnectionType"].inviter_email #=> String
524
+ # resp.connection.connection_types["ConnectionType"].inviter_name #=> String
525
+ # resp.connection.connection_types["ConnectionType"].status #=> String, one of "ACTIVE", "CANCELED"
526
+ # resp.connection.connection_types["ConnectionType"].canceled_at #=> Time
527
+ # resp.connection.connection_types["ConnectionType"].canceled_by #=> String
528
+ # resp.connection.connection_types["ConnectionType"].other_participant.partner_profile.id #=> String
529
+ # resp.connection.connection_types["ConnectionType"].other_participant.partner_profile.name #=> String
530
+ # resp.connection.connection_types["ConnectionType"].other_participant.seller_profile.id #=> String
531
+ # resp.connection.connection_types["ConnectionType"].other_participant.seller_profile.name #=> String
532
+ # resp.connection.connection_types["ConnectionType"].other_participant.account.name #=> String
533
+ #
534
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/AcceptConnectionInvitation AWS API Documentation
535
+ #
536
+ # @overload accept_connection_invitation(params = {})
537
+ # @param [Hash] params ({})
538
+ def accept_connection_invitation(params = {}, options = {})
539
+ req = build_request(:accept_connection_invitation, params)
540
+ req.send_request(options)
541
+ end
542
+
543
+ # Associates an email domain with AWS training and certification for the
544
+ # partner account, enabling automatic verification of employee
545
+ # certifications.
546
+ #
547
+ # @option params [required, String] :catalog
548
+ # The catalog identifier for the partner account.
549
+ #
550
+ # @option params [required, String] :identifier
551
+ # The unique identifier of the partner account.
552
+ #
553
+ # @option params [String] :client_token
554
+ # A unique, case-sensitive identifier that you provide to ensure the
555
+ # idempotency of the request.
556
+ #
557
+ # **A suitable default value is auto-generated.** You should normally
558
+ # not need to pass this option.**
559
+ #
560
+ # @option params [required, String] :email
561
+ # The email address used to verify domain ownership for AWS training and
562
+ # certification association.
563
+ #
564
+ # @option params [required, String] :email_verification_code
565
+ # The verification code sent to the email address to confirm domain
566
+ # ownership.
567
+ #
568
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
569
+ #
570
+ # @example Request syntax with placeholder values
571
+ #
572
+ # resp = client.associate_aws_training_certification_email_domain({
573
+ # catalog: "Catalog", # required
574
+ # identifier: "PartnerIdentifier", # required
575
+ # client_token: "ClientToken",
576
+ # email: "Email", # required
577
+ # email_verification_code: "EmailVerificationCode", # required
578
+ # })
579
+ #
580
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/AssociateAwsTrainingCertificationEmailDomain AWS API Documentation
581
+ #
582
+ # @overload associate_aws_training_certification_email_domain(params = {})
583
+ # @param [Hash] params ({})
584
+ def associate_aws_training_certification_email_domain(params = {}, options = {})
585
+ req = build_request(:associate_aws_training_certification_email_domain, params)
586
+ req.send_request(options)
587
+ end
588
+
589
+ # Cancels an existing connection between partners, terminating the
590
+ # partnership relationship.
591
+ #
592
+ # @option params [required, String] :catalog
593
+ # The catalog identifier where the connection exists.
594
+ #
595
+ # @option params [required, String] :identifier
596
+ # The unique identifier of the connection to cancel.
597
+ #
598
+ # @option params [required, String] :connection_type
599
+ # The type of connection to cancel (e.g., reseller, distributor,
600
+ # technology partner).
601
+ #
602
+ # @option params [required, String] :reason
603
+ # The reason for canceling the connection, providing context for the
604
+ # termination.
605
+ #
606
+ # @option params [required, String] :client_token
607
+ # A unique, case-sensitive identifier that you provide to ensure the
608
+ # idempotency of the request.
609
+ #
610
+ # **A suitable default value is auto-generated.** You should normally
611
+ # not need to pass this option.**
612
+ #
613
+ # @return [Types::CancelConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
614
+ #
615
+ # * {Types::CancelConnectionResponse#catalog #catalog} => String
616
+ # * {Types::CancelConnectionResponse#id #id} => String
617
+ # * {Types::CancelConnectionResponse#arn #arn} => String
618
+ # * {Types::CancelConnectionResponse#other_participant_account_id #other_participant_account_id} => String
619
+ # * {Types::CancelConnectionResponse#updated_at #updated_at} => Time
620
+ # * {Types::CancelConnectionResponse#connection_types #connection_types} => Hash&lt;String,Types::ConnectionTypeDetail&gt;
621
+ #
622
+ # @example Request syntax with placeholder values
623
+ #
624
+ # resp = client.cancel_connection({
625
+ # catalog: "Catalog", # required
626
+ # identifier: "ConnectionId", # required
627
+ # connection_type: "OPPORTUNITY_COLLABORATION", # required, accepts OPPORTUNITY_COLLABORATION, SUBSIDIARY
628
+ # reason: "CancelConnectionRequestReasonString", # required
629
+ # client_token: "ClientToken", # required
630
+ # })
631
+ #
632
+ # @example Response structure
633
+ #
634
+ # resp.catalog #=> String
635
+ # resp.id #=> String
636
+ # resp.arn #=> String
637
+ # resp.other_participant_account_id #=> String
638
+ # resp.updated_at #=> Time
639
+ # resp.connection_types #=> Hash
640
+ # resp.connection_types["ConnectionType"].created_at #=> Time
641
+ # resp.connection_types["ConnectionType"].inviter_email #=> String
642
+ # resp.connection_types["ConnectionType"].inviter_name #=> String
643
+ # resp.connection_types["ConnectionType"].status #=> String, one of "ACTIVE", "CANCELED"
644
+ # resp.connection_types["ConnectionType"].canceled_at #=> Time
645
+ # resp.connection_types["ConnectionType"].canceled_by #=> String
646
+ # resp.connection_types["ConnectionType"].other_participant.partner_profile.id #=> String
647
+ # resp.connection_types["ConnectionType"].other_participant.partner_profile.name #=> String
648
+ # resp.connection_types["ConnectionType"].other_participant.seller_profile.id #=> String
649
+ # resp.connection_types["ConnectionType"].other_participant.seller_profile.name #=> String
650
+ # resp.connection_types["ConnectionType"].other_participant.account.name #=> String
651
+ #
652
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/CancelConnection AWS API Documentation
653
+ #
654
+ # @overload cancel_connection(params = {})
655
+ # @param [Hash] params ({})
656
+ def cancel_connection(params = {}, options = {})
657
+ req = build_request(:cancel_connection, params)
658
+ req.send_request(options)
659
+ end
660
+
661
+ # Cancels a pending connection invitation before it has been accepted or
662
+ # rejected.
663
+ #
664
+ # @option params [required, String] :catalog
665
+ # The catalog identifier where the connection invitation exists.
666
+ #
667
+ # @option params [required, String] :identifier
668
+ # The unique identifier of the connection invitation to cancel.
669
+ #
670
+ # @option params [required, String] :client_token
671
+ # A unique, case-sensitive identifier that you provide to ensure the
672
+ # idempotency of the request.
673
+ #
674
+ # **A suitable default value is auto-generated.** You should normally
675
+ # not need to pass this option.**
676
+ #
677
+ # @return [Types::CancelConnectionInvitationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
678
+ #
679
+ # * {Types::CancelConnectionInvitationResponse#catalog #catalog} => String
680
+ # * {Types::CancelConnectionInvitationResponse#id #id} => String
681
+ # * {Types::CancelConnectionInvitationResponse#arn #arn} => String
682
+ # * {Types::CancelConnectionInvitationResponse#connection_id #connection_id} => String
683
+ # * {Types::CancelConnectionInvitationResponse#connection_type #connection_type} => String
684
+ # * {Types::CancelConnectionInvitationResponse#created_at #created_at} => Time
685
+ # * {Types::CancelConnectionInvitationResponse#updated_at #updated_at} => Time
686
+ # * {Types::CancelConnectionInvitationResponse#expires_at #expires_at} => Time
687
+ # * {Types::CancelConnectionInvitationResponse#other_participant_identifier #other_participant_identifier} => String
688
+ # * {Types::CancelConnectionInvitationResponse#participant_type #participant_type} => String
689
+ # * {Types::CancelConnectionInvitationResponse#status #status} => String
690
+ # * {Types::CancelConnectionInvitationResponse#invitation_message #invitation_message} => String
691
+ # * {Types::CancelConnectionInvitationResponse#inviter_email #inviter_email} => String
692
+ # * {Types::CancelConnectionInvitationResponse#inviter_name #inviter_name} => String
693
+ #
694
+ # @example Request syntax with placeholder values
695
+ #
696
+ # resp = client.cancel_connection_invitation({
697
+ # catalog: "Catalog", # required
698
+ # identifier: "ConnectionInvitationId", # required
699
+ # client_token: "ClientToken", # required
700
+ # })
701
+ #
702
+ # @example Response structure
703
+ #
704
+ # resp.catalog #=> String
705
+ # resp.id #=> String
706
+ # resp.arn #=> String
707
+ # resp.connection_id #=> String
708
+ # resp.connection_type #=> String, one of "OPPORTUNITY_COLLABORATION", "SUBSIDIARY"
709
+ # resp.created_at #=> Time
710
+ # resp.updated_at #=> Time
711
+ # resp.expires_at #=> Time
712
+ # resp.other_participant_identifier #=> String
713
+ # resp.participant_type #=> String, one of "SENDER", "RECEIVER"
714
+ # resp.status #=> String, one of "PENDING", "ACCEPTED", "REJECTED", "CANCELED", "EXPIRED"
715
+ # resp.invitation_message #=> String
716
+ # resp.inviter_email #=> String
717
+ # resp.inviter_name #=> String
718
+ #
719
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/CancelConnectionInvitation AWS API Documentation
720
+ #
721
+ # @overload cancel_connection_invitation(params = {})
722
+ # @param [Hash] params ({})
723
+ def cancel_connection_invitation(params = {}, options = {})
724
+ req = build_request(:cancel_connection_invitation, params)
725
+ req.send_request(options)
726
+ end
727
+
728
+ # Cancels an in-progress profile update task, stopping any pending
729
+ # changes to the partner profile.
730
+ #
731
+ # @option params [required, String] :catalog
732
+ # The catalog identifier for the partner account.
733
+ #
734
+ # @option params [required, String] :identifier
735
+ # The unique identifier of the partner account.
736
+ #
737
+ # @option params [String] :client_token
738
+ # A unique, case-sensitive identifier that you provide to ensure the
739
+ # idempotency of the request.
740
+ #
741
+ # **A suitable default value is auto-generated.** You should normally
742
+ # not need to pass this option.**
743
+ #
744
+ # @option params [required, String] :task_id
745
+ # The unique identifier of the profile update task to cancel.
746
+ #
747
+ # @return [Types::CancelProfileUpdateTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
748
+ #
749
+ # * {Types::CancelProfileUpdateTaskResponse#catalog #catalog} => String
750
+ # * {Types::CancelProfileUpdateTaskResponse#arn #arn} => String
751
+ # * {Types::CancelProfileUpdateTaskResponse#id #id} => String
752
+ # * {Types::CancelProfileUpdateTaskResponse#task_id #task_id} => String
753
+ # * {Types::CancelProfileUpdateTaskResponse#task_details #task_details} => Types::TaskDetails
754
+ # * {Types::CancelProfileUpdateTaskResponse#started_at #started_at} => Time
755
+ # * {Types::CancelProfileUpdateTaskResponse#status #status} => String
756
+ # * {Types::CancelProfileUpdateTaskResponse#ended_at #ended_at} => Time
757
+ # * {Types::CancelProfileUpdateTaskResponse#error_detail_list #error_detail_list} => Array&lt;Types::ErrorDetail&gt;
758
+ #
759
+ # @example Request syntax with placeholder values
760
+ #
761
+ # resp = client.cancel_profile_update_task({
762
+ # catalog: "Catalog", # required
763
+ # identifier: "PartnerIdentifier", # required
764
+ # client_token: "ClientToken",
765
+ # task_id: "ProfileTaskId", # required
766
+ # })
767
+ #
768
+ # @example Response structure
769
+ #
770
+ # resp.catalog #=> String
771
+ # resp.arn #=> String
772
+ # resp.id #=> String
773
+ # resp.task_id #=> String
774
+ # resp.task_details.display_name #=> String
775
+ # resp.task_details.description #=> String
776
+ # resp.task_details.website_url #=> String
777
+ # resp.task_details.logo_url #=> String
778
+ # resp.task_details.primary_solution_type #=> String, one of "SOFTWARE_PRODUCTS", "CONSULTING_SERVICES", "PROFESSIONAL_SERVICES", "MANAGED_SERVICES", "HARDWARE_PRODUCTS", "COMMUNICATION_SERVICES", "VALUE_ADDED_RESALE_AWS_SERVICES", "TRAINING_SERVICES"
779
+ # resp.task_details.industry_segments #=> Array
780
+ # resp.task_details.industry_segments[0] #=> String, one of "AGRICULTURE_MINING", "BIOTECHNOLOGY", "BUSINESS_CONSUMER_SERVICES", "BUSINESS_SERV", "COMMUNICATIONS", "COMPUTER_HARDWARE", "COMPUTERS_ELECTRONICS", "COMPUTER_SOFTWARE", "CONSUMER_GOODS", "CONSUMER_RELATED", "EDUCATION", "ENERGY_UTILITIES", "FINANCIAL_SERVICES", "GAMING", "GOVERNMENT", "GOVERNMENT_EDUCATION_PUBLIC_SERVICES", "HEALTHCARE", "HEALTHCARE_PHARMACEUTICALS_BIOTECH", "INDUSTRIAL_ENERGY", "INTERNET_SPECIFIC", "LIFE_SCIENCES", "MANUFACTURING", "MEDIA_ENTERTAINMENT_LEISURE", "MEDIA_ENTERTAINMENT", "MEDICAL_HEALTH", "NON_PROFIT_ORGANIZATION", "OTHER", "PROFESSIONAL_SERVICES", "REAL_ESTATE_CONSTRUCTION", "RETAIL", "RETAIL_WHOLESALE_DISTRIBUTION", "SEMICONDUCTOR_ELECTR", "SOFTWARE_INTERNET", "TELECOMMUNICATIONS", "TRANSPORTATION_LOGISTICS", "TRAVEL_HOSPITALITY", "WHOLESALE_DISTRIBUTION"
781
+ # resp.task_details.translation_source_locale #=> String
782
+ # resp.task_details.localized_contents #=> Array
783
+ # resp.task_details.localized_contents[0].display_name #=> String
784
+ # resp.task_details.localized_contents[0].description #=> String
785
+ # resp.task_details.localized_contents[0].website_url #=> String
786
+ # resp.task_details.localized_contents[0].logo_url #=> String
787
+ # resp.task_details.localized_contents[0].locale #=> String
788
+ # resp.started_at #=> Time
789
+ # resp.status #=> String, one of "IN_PROGRESS", "CANCELED", "SUCCEEDED", "FAILED"
790
+ # resp.ended_at #=> Time
791
+ # resp.error_detail_list #=> Array
792
+ # resp.error_detail_list[0].locale #=> String
793
+ # resp.error_detail_list[0].message #=> String
794
+ # resp.error_detail_list[0].reason #=> String, one of "INVALID_CONTENT", "DUPLICATE_PROFILE", "INVALID_LOGO", "INVALID_LOGO_URL", "INVALID_LOGO_FILE", "INVALID_LOGO_SIZE", "INVALID_WEBSITE_URL"
795
+ #
796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/CancelProfileUpdateTask AWS API Documentation
797
+ #
798
+ # @overload cancel_profile_update_task(params = {})
799
+ # @param [Hash] params ({})
800
+ def cancel_profile_update_task(params = {}, options = {})
801
+ req = build_request(:cancel_profile_update_task, params)
802
+ req.send_request(options)
803
+ end
804
+
805
+ # Creates a new connection invitation to establish a partnership with
806
+ # another organization.
807
+ #
808
+ # @option params [required, String] :catalog
809
+ # The catalog identifier where the connection invitation will be
810
+ # created.
811
+ #
812
+ # @option params [required, String] :client_token
813
+ # A unique, case-sensitive identifier that you provide to ensure the
814
+ # idempotency of the request.
815
+ #
816
+ # **A suitable default value is auto-generated.** You should normally
817
+ # not need to pass this option.**
818
+ #
819
+ # @option params [required, String] :connection_type
820
+ # The type of connection being requested (e.g., reseller, distributor,
821
+ # technology partner).
822
+ #
823
+ # @option params [required, String] :email
824
+ # The email address of the person to send the connection invitation to.
825
+ #
826
+ # @option params [required, String] :message
827
+ # A custom message to include with the connection invitation.
828
+ #
829
+ # @option params [required, String] :name
830
+ # The name of the person sending the connection invitation.
831
+ #
832
+ # @option params [required, String] :receiver_identifier
833
+ # The identifier of the organization or partner to invite for
834
+ # connection.
835
+ #
836
+ # @return [Types::CreateConnectionInvitationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
837
+ #
838
+ # * {Types::CreateConnectionInvitationResponse#catalog #catalog} => String
839
+ # * {Types::CreateConnectionInvitationResponse#id #id} => String
840
+ # * {Types::CreateConnectionInvitationResponse#arn #arn} => String
841
+ # * {Types::CreateConnectionInvitationResponse#connection_id #connection_id} => String
842
+ # * {Types::CreateConnectionInvitationResponse#connection_type #connection_type} => String
843
+ # * {Types::CreateConnectionInvitationResponse#created_at #created_at} => Time
844
+ # * {Types::CreateConnectionInvitationResponse#updated_at #updated_at} => Time
845
+ # * {Types::CreateConnectionInvitationResponse#expires_at #expires_at} => Time
846
+ # * {Types::CreateConnectionInvitationResponse#other_participant_identifier #other_participant_identifier} => String
847
+ # * {Types::CreateConnectionInvitationResponse#participant_type #participant_type} => String
848
+ # * {Types::CreateConnectionInvitationResponse#status #status} => String
849
+ # * {Types::CreateConnectionInvitationResponse#invitation_message #invitation_message} => String
850
+ # * {Types::CreateConnectionInvitationResponse#inviter_email #inviter_email} => String
851
+ # * {Types::CreateConnectionInvitationResponse#inviter_name #inviter_name} => String
852
+ #
853
+ # @example Request syntax with placeholder values
854
+ #
855
+ # resp = client.create_connection_invitation({
856
+ # catalog: "Catalog", # required
857
+ # client_token: "ClientToken", # required
858
+ # connection_type: "OPPORTUNITY_COLLABORATION", # required, accepts OPPORTUNITY_COLLABORATION, SUBSIDIARY
859
+ # email: "Email", # required
860
+ # message: "CreateConnectionInvitationRequestMessageString", # required
861
+ # name: "SensitiveUnicodeString", # required
862
+ # receiver_identifier: "ParticipantIdentifier", # required
863
+ # })
864
+ #
865
+ # @example Response structure
866
+ #
867
+ # resp.catalog #=> String
868
+ # resp.id #=> String
869
+ # resp.arn #=> String
870
+ # resp.connection_id #=> String
871
+ # resp.connection_type #=> String, one of "OPPORTUNITY_COLLABORATION", "SUBSIDIARY"
872
+ # resp.created_at #=> Time
873
+ # resp.updated_at #=> Time
874
+ # resp.expires_at #=> Time
875
+ # resp.other_participant_identifier #=> String
876
+ # resp.participant_type #=> String, one of "SENDER", "RECEIVER"
877
+ # resp.status #=> String, one of "PENDING", "ACCEPTED", "REJECTED", "CANCELED", "EXPIRED"
878
+ # resp.invitation_message #=> String
879
+ # resp.inviter_email #=> String
880
+ # resp.inviter_name #=> String
881
+ #
882
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/CreateConnectionInvitation AWS API Documentation
883
+ #
884
+ # @overload create_connection_invitation(params = {})
885
+ # @param [Hash] params ({})
886
+ def create_connection_invitation(params = {}, options = {})
887
+ req = build_request(:create_connection_invitation, params)
888
+ req.send_request(options)
889
+ end
890
+
891
+ # Creates a new partner account in the AWS Partner Network with the
892
+ # specified details and configuration.
893
+ #
894
+ # @option params [required, String] :catalog
895
+ # The catalog identifier where the partner account will be created.
896
+ #
897
+ # @option params [String] :client_token
898
+ # A unique, case-sensitive identifier that you provide to ensure the
899
+ # idempotency of the request.
900
+ #
901
+ # **A suitable default value is auto-generated.** You should normally
902
+ # not need to pass this option.**
903
+ #
904
+ # @option params [required, String] :legal_name
905
+ # The legal name of the organization becoming a partner.
906
+ #
907
+ # @option params [required, String] :primary_solution_type
908
+ # The primary type of solution or service the partner provides (e.g.,
909
+ # consulting, software, managed services).
910
+ #
911
+ # @option params [required, Types::AllianceLeadContact] :alliance_lead_contact
912
+ # The primary contact person for alliance and partnership matters.
913
+ #
914
+ # @option params [required, String] :email_verification_code
915
+ # The verification code sent to the alliance lead contact's email to
916
+ # confirm account creation.
917
+ #
918
+ # @option params [Array<Types::Tag>] :tags
919
+ # A list of tags to associate with the partner account for organization
920
+ # and billing purposes.
921
+ #
922
+ # @return [Types::CreatePartnerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
923
+ #
924
+ # * {Types::CreatePartnerResponse#catalog #catalog} => String
925
+ # * {Types::CreatePartnerResponse#arn #arn} => String
926
+ # * {Types::CreatePartnerResponse#id #id} => String
927
+ # * {Types::CreatePartnerResponse#legal_name #legal_name} => String
928
+ # * {Types::CreatePartnerResponse#created_at #created_at} => Time
929
+ # * {Types::CreatePartnerResponse#profile #profile} => Types::PartnerProfile
930
+ # * {Types::CreatePartnerResponse#aws_training_certification_email_domains #aws_training_certification_email_domains} => Array&lt;Types::PartnerDomain&gt;
931
+ # * {Types::CreatePartnerResponse#alliance_lead_contact #alliance_lead_contact} => Types::AllianceLeadContact
932
+ #
933
+ # @example Request syntax with placeholder values
934
+ #
935
+ # resp = client.create_partner({
936
+ # catalog: "Catalog", # required
937
+ # client_token: "ClientToken",
938
+ # legal_name: "SensitiveUnicodeString", # required
939
+ # primary_solution_type: "SOFTWARE_PRODUCTS", # required, accepts SOFTWARE_PRODUCTS, CONSULTING_SERVICES, PROFESSIONAL_SERVICES, MANAGED_SERVICES, HARDWARE_PRODUCTS, COMMUNICATION_SERVICES, VALUE_ADDED_RESALE_AWS_SERVICES, TRAINING_SERVICES
940
+ # alliance_lead_contact: { # required
941
+ # first_name: "SensitiveUnicodeString", # required
942
+ # last_name: "SensitiveUnicodeString", # required
943
+ # email: "Email", # required
944
+ # business_title: "SensitiveUnicodeString", # required
945
+ # },
946
+ # email_verification_code: "EmailVerificationCode", # required
947
+ # tags: [
948
+ # {
949
+ # key: "TagKey", # required
950
+ # value: "TagValue", # required
951
+ # },
952
+ # ],
953
+ # })
954
+ #
955
+ # @example Response structure
956
+ #
957
+ # resp.catalog #=> String
958
+ # resp.arn #=> String
959
+ # resp.id #=> String
960
+ # resp.legal_name #=> String
961
+ # resp.created_at #=> Time
962
+ # resp.profile.display_name #=> String
963
+ # resp.profile.description #=> String
964
+ # resp.profile.website_url #=> String
965
+ # resp.profile.logo_url #=> String
966
+ # resp.profile.primary_solution_type #=> String, one of "SOFTWARE_PRODUCTS", "CONSULTING_SERVICES", "PROFESSIONAL_SERVICES", "MANAGED_SERVICES", "HARDWARE_PRODUCTS", "COMMUNICATION_SERVICES", "VALUE_ADDED_RESALE_AWS_SERVICES", "TRAINING_SERVICES"
967
+ # resp.profile.industry_segments #=> Array
968
+ # resp.profile.industry_segments[0] #=> String, one of "AGRICULTURE_MINING", "BIOTECHNOLOGY", "BUSINESS_CONSUMER_SERVICES", "BUSINESS_SERV", "COMMUNICATIONS", "COMPUTER_HARDWARE", "COMPUTERS_ELECTRONICS", "COMPUTER_SOFTWARE", "CONSUMER_GOODS", "CONSUMER_RELATED", "EDUCATION", "ENERGY_UTILITIES", "FINANCIAL_SERVICES", "GAMING", "GOVERNMENT", "GOVERNMENT_EDUCATION_PUBLIC_SERVICES", "HEALTHCARE", "HEALTHCARE_PHARMACEUTICALS_BIOTECH", "INDUSTRIAL_ENERGY", "INTERNET_SPECIFIC", "LIFE_SCIENCES", "MANUFACTURING", "MEDIA_ENTERTAINMENT_LEISURE", "MEDIA_ENTERTAINMENT", "MEDICAL_HEALTH", "NON_PROFIT_ORGANIZATION", "OTHER", "PROFESSIONAL_SERVICES", "REAL_ESTATE_CONSTRUCTION", "RETAIL", "RETAIL_WHOLESALE_DISTRIBUTION", "SEMICONDUCTOR_ELECTR", "SOFTWARE_INTERNET", "TELECOMMUNICATIONS", "TRANSPORTATION_LOGISTICS", "TRAVEL_HOSPITALITY", "WHOLESALE_DISTRIBUTION"
969
+ # resp.profile.translation_source_locale #=> String
970
+ # resp.profile.localized_contents #=> Array
971
+ # resp.profile.localized_contents[0].display_name #=> String
972
+ # resp.profile.localized_contents[0].description #=> String
973
+ # resp.profile.localized_contents[0].website_url #=> String
974
+ # resp.profile.localized_contents[0].logo_url #=> String
975
+ # resp.profile.localized_contents[0].locale #=> String
976
+ # resp.profile.profile_id #=> String
977
+ # resp.aws_training_certification_email_domains #=> Array
978
+ # resp.aws_training_certification_email_domains[0].domain_name #=> String
979
+ # resp.aws_training_certification_email_domains[0].registered_at #=> Time
980
+ # resp.alliance_lead_contact.first_name #=> String
981
+ # resp.alliance_lead_contact.last_name #=> String
982
+ # resp.alliance_lead_contact.email #=> String
983
+ # resp.alliance_lead_contact.business_title #=> String
984
+ #
985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/CreatePartner AWS API Documentation
986
+ #
987
+ # @overload create_partner(params = {})
988
+ # @param [Hash] params ({})
989
+ def create_partner(params = {}, options = {})
990
+ req = build_request(:create_partner, params)
991
+ req.send_request(options)
992
+ end
993
+
994
+ # Removes the association between an email domain and AWS training and
995
+ # certification for the partner account.
996
+ #
997
+ # @option params [required, String] :catalog
998
+ # The catalog identifier for the partner account.
999
+ #
1000
+ # @option params [required, String] :identifier
1001
+ # The unique identifier of the partner account.
1002
+ #
1003
+ # @option params [String] :client_token
1004
+ # A unique, case-sensitive identifier that you provide to ensure the
1005
+ # idempotency of the request.
1006
+ #
1007
+ # **A suitable default value is auto-generated.** You should normally
1008
+ # not need to pass this option.**
1009
+ #
1010
+ # @option params [required, String] :domain_name
1011
+ # The domain name to disassociate from AWS training and certification.
1012
+ #
1013
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1014
+ #
1015
+ # @example Request syntax with placeholder values
1016
+ #
1017
+ # resp = client.disassociate_aws_training_certification_email_domain({
1018
+ # catalog: "Catalog", # required
1019
+ # identifier: "PartnerIdentifier", # required
1020
+ # client_token: "ClientToken",
1021
+ # domain_name: "DomainName", # required
1022
+ # })
1023
+ #
1024
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/DisassociateAwsTrainingCertificationEmailDomain AWS API Documentation
1025
+ #
1026
+ # @overload disassociate_aws_training_certification_email_domain(params = {})
1027
+ # @param [Hash] params ({})
1028
+ def disassociate_aws_training_certification_email_domain(params = {}, options = {})
1029
+ req = build_request(:disassociate_aws_training_certification_email_domain, params)
1030
+ req.send_request(options)
1031
+ end
1032
+
1033
+ # Retrieves the alliance lead contact information for a partner account.
1034
+ #
1035
+ # @option params [required, String] :catalog
1036
+ # The catalog identifier for the partner account.
1037
+ #
1038
+ # @option params [required, String] :identifier
1039
+ # The unique identifier of the partner account.
1040
+ #
1041
+ # @return [Types::GetAllianceLeadContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1042
+ #
1043
+ # * {Types::GetAllianceLeadContactResponse#catalog #catalog} => String
1044
+ # * {Types::GetAllianceLeadContactResponse#arn #arn} => String
1045
+ # * {Types::GetAllianceLeadContactResponse#id #id} => String
1046
+ # * {Types::GetAllianceLeadContactResponse#alliance_lead_contact #alliance_lead_contact} => Types::AllianceLeadContact
1047
+ #
1048
+ # @example Request syntax with placeholder values
1049
+ #
1050
+ # resp = client.get_alliance_lead_contact({
1051
+ # catalog: "Catalog", # required
1052
+ # identifier: "PartnerIdentifier", # required
1053
+ # })
1054
+ #
1055
+ # @example Response structure
1056
+ #
1057
+ # resp.catalog #=> String
1058
+ # resp.arn #=> String
1059
+ # resp.id #=> String
1060
+ # resp.alliance_lead_contact.first_name #=> String
1061
+ # resp.alliance_lead_contact.last_name #=> String
1062
+ # resp.alliance_lead_contact.email #=> String
1063
+ # resp.alliance_lead_contact.business_title #=> String
1064
+ #
1065
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/GetAllianceLeadContact AWS API Documentation
1066
+ #
1067
+ # @overload get_alliance_lead_contact(params = {})
1068
+ # @param [Hash] params ({})
1069
+ def get_alliance_lead_contact(params = {}, options = {})
1070
+ req = build_request(:get_alliance_lead_contact, params)
1071
+ req.send_request(options)
1072
+ end
1073
+
1074
+ # Retrieves detailed information about a specific connection between
1075
+ # partners.
1076
+ #
1077
+ # @option params [required, String] :catalog
1078
+ # The catalog identifier where the connection exists.
1079
+ #
1080
+ # @option params [required, String] :identifier
1081
+ # The unique identifier of the connection to retrieve.
1082
+ #
1083
+ # @return [Types::GetConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1084
+ #
1085
+ # * {Types::GetConnectionResponse#catalog #catalog} => String
1086
+ # * {Types::GetConnectionResponse#id #id} => String
1087
+ # * {Types::GetConnectionResponse#arn #arn} => String
1088
+ # * {Types::GetConnectionResponse#other_participant_account_id #other_participant_account_id} => String
1089
+ # * {Types::GetConnectionResponse#updated_at #updated_at} => Time
1090
+ # * {Types::GetConnectionResponse#connection_types #connection_types} => Hash&lt;String,Types::ConnectionTypeDetail&gt;
1091
+ #
1092
+ # @example Request syntax with placeholder values
1093
+ #
1094
+ # resp = client.get_connection({
1095
+ # catalog: "Catalog", # required
1096
+ # identifier: "ConnectionId", # required
1097
+ # })
1098
+ #
1099
+ # @example Response structure
1100
+ #
1101
+ # resp.catalog #=> String
1102
+ # resp.id #=> String
1103
+ # resp.arn #=> String
1104
+ # resp.other_participant_account_id #=> String
1105
+ # resp.updated_at #=> Time
1106
+ # resp.connection_types #=> Hash
1107
+ # resp.connection_types["ConnectionType"].created_at #=> Time
1108
+ # resp.connection_types["ConnectionType"].inviter_email #=> String
1109
+ # resp.connection_types["ConnectionType"].inviter_name #=> String
1110
+ # resp.connection_types["ConnectionType"].status #=> String, one of "ACTIVE", "CANCELED"
1111
+ # resp.connection_types["ConnectionType"].canceled_at #=> Time
1112
+ # resp.connection_types["ConnectionType"].canceled_by #=> String
1113
+ # resp.connection_types["ConnectionType"].other_participant.partner_profile.id #=> String
1114
+ # resp.connection_types["ConnectionType"].other_participant.partner_profile.name #=> String
1115
+ # resp.connection_types["ConnectionType"].other_participant.seller_profile.id #=> String
1116
+ # resp.connection_types["ConnectionType"].other_participant.seller_profile.name #=> String
1117
+ # resp.connection_types["ConnectionType"].other_participant.account.name #=> String
1118
+ #
1119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/GetConnection AWS API Documentation
1120
+ #
1121
+ # @overload get_connection(params = {})
1122
+ # @param [Hash] params ({})
1123
+ def get_connection(params = {}, options = {})
1124
+ req = build_request(:get_connection, params)
1125
+ req.send_request(options)
1126
+ end
1127
+
1128
+ # Retrieves detailed information about a specific connection invitation.
1129
+ #
1130
+ # @option params [required, String] :catalog
1131
+ # The catalog identifier where the connection invitation exists.
1132
+ #
1133
+ # @option params [required, String] :identifier
1134
+ # The unique identifier of the connection invitation to retrieve.
1135
+ #
1136
+ # @return [Types::GetConnectionInvitationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1137
+ #
1138
+ # * {Types::GetConnectionInvitationResponse#catalog #catalog} => String
1139
+ # * {Types::GetConnectionInvitationResponse#id #id} => String
1140
+ # * {Types::GetConnectionInvitationResponse#arn #arn} => String
1141
+ # * {Types::GetConnectionInvitationResponse#connection_id #connection_id} => String
1142
+ # * {Types::GetConnectionInvitationResponse#connection_type #connection_type} => String
1143
+ # * {Types::GetConnectionInvitationResponse#created_at #created_at} => Time
1144
+ # * {Types::GetConnectionInvitationResponse#updated_at #updated_at} => Time
1145
+ # * {Types::GetConnectionInvitationResponse#expires_at #expires_at} => Time
1146
+ # * {Types::GetConnectionInvitationResponse#other_participant_identifier #other_participant_identifier} => String
1147
+ # * {Types::GetConnectionInvitationResponse#participant_type #participant_type} => String
1148
+ # * {Types::GetConnectionInvitationResponse#status #status} => String
1149
+ # * {Types::GetConnectionInvitationResponse#invitation_message #invitation_message} => String
1150
+ # * {Types::GetConnectionInvitationResponse#inviter_email #inviter_email} => String
1151
+ # * {Types::GetConnectionInvitationResponse#inviter_name #inviter_name} => String
1152
+ #
1153
+ # @example Request syntax with placeholder values
1154
+ #
1155
+ # resp = client.get_connection_invitation({
1156
+ # catalog: "Catalog", # required
1157
+ # identifier: "ConnectionInvitationId", # required
1158
+ # })
1159
+ #
1160
+ # @example Response structure
1161
+ #
1162
+ # resp.catalog #=> String
1163
+ # resp.id #=> String
1164
+ # resp.arn #=> String
1165
+ # resp.connection_id #=> String
1166
+ # resp.connection_type #=> String, one of "OPPORTUNITY_COLLABORATION", "SUBSIDIARY"
1167
+ # resp.created_at #=> Time
1168
+ # resp.updated_at #=> Time
1169
+ # resp.expires_at #=> Time
1170
+ # resp.other_participant_identifier #=> String
1171
+ # resp.participant_type #=> String, one of "SENDER", "RECEIVER"
1172
+ # resp.status #=> String, one of "PENDING", "ACCEPTED", "REJECTED", "CANCELED", "EXPIRED"
1173
+ # resp.invitation_message #=> String
1174
+ # resp.inviter_email #=> String
1175
+ # resp.inviter_name #=> String
1176
+ #
1177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/GetConnectionInvitation AWS API Documentation
1178
+ #
1179
+ # @overload get_connection_invitation(params = {})
1180
+ # @param [Hash] params ({})
1181
+ def get_connection_invitation(params = {}, options = {})
1182
+ req = build_request(:get_connection_invitation, params)
1183
+ req.send_request(options)
1184
+ end
1185
+
1186
+ # Retrieves the connection preferences for a partner account, including
1187
+ # access settings and exclusions.
1188
+ #
1189
+ # @option params [required, String] :catalog
1190
+ # The catalog identifier for the partner account.
1191
+ #
1192
+ # @return [Types::GetConnectionPreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1193
+ #
1194
+ # * {Types::GetConnectionPreferencesResponse#catalog #catalog} => String
1195
+ # * {Types::GetConnectionPreferencesResponse#arn #arn} => String
1196
+ # * {Types::GetConnectionPreferencesResponse#access_type #access_type} => String
1197
+ # * {Types::GetConnectionPreferencesResponse#excluded_participant_ids #excluded_participant_ids} => Array&lt;String&gt;
1198
+ # * {Types::GetConnectionPreferencesResponse#updated_at #updated_at} => Time
1199
+ # * {Types::GetConnectionPreferencesResponse#revision #revision} => Integer
1200
+ #
1201
+ # @example Request syntax with placeholder values
1202
+ #
1203
+ # resp = client.get_connection_preferences({
1204
+ # catalog: "Catalog", # required
1205
+ # })
1206
+ #
1207
+ # @example Response structure
1208
+ #
1209
+ # resp.catalog #=> String
1210
+ # resp.arn #=> String
1211
+ # resp.access_type #=> String, one of "ALLOW_ALL", "DENY_ALL", "ALLOW_BY_DEFAULT_DENY_SOME"
1212
+ # resp.excluded_participant_ids #=> Array
1213
+ # resp.excluded_participant_ids[0] #=> String
1214
+ # resp.updated_at #=> Time
1215
+ # resp.revision #=> Integer
1216
+ #
1217
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/GetConnectionPreferences AWS API Documentation
1218
+ #
1219
+ # @overload get_connection_preferences(params = {})
1220
+ # @param [Hash] params ({})
1221
+ def get_connection_preferences(params = {}, options = {})
1222
+ req = build_request(:get_connection_preferences, params)
1223
+ req.send_request(options)
1224
+ end
1225
+
1226
+ # Retrieves detailed information about a specific partner account.
1227
+ #
1228
+ # @option params [required, String] :catalog
1229
+ # The catalog identifier for the partner account.
1230
+ #
1231
+ # @option params [required, String] :identifier
1232
+ # The unique identifier of the partner account to retrieve.
1233
+ #
1234
+ # @return [Types::GetPartnerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1235
+ #
1236
+ # * {Types::GetPartnerResponse#catalog #catalog} => String
1237
+ # * {Types::GetPartnerResponse#arn #arn} => String
1238
+ # * {Types::GetPartnerResponse#id #id} => String
1239
+ # * {Types::GetPartnerResponse#legal_name #legal_name} => String
1240
+ # * {Types::GetPartnerResponse#created_at #created_at} => Time
1241
+ # * {Types::GetPartnerResponse#profile #profile} => Types::PartnerProfile
1242
+ # * {Types::GetPartnerResponse#aws_training_certification_email_domains #aws_training_certification_email_domains} => Array&lt;Types::PartnerDomain&gt;
1243
+ #
1244
+ # @example Request syntax with placeholder values
1245
+ #
1246
+ # resp = client.get_partner({
1247
+ # catalog: "Catalog", # required
1248
+ # identifier: "PartnerIdentifier", # required
1249
+ # })
1250
+ #
1251
+ # @example Response structure
1252
+ #
1253
+ # resp.catalog #=> String
1254
+ # resp.arn #=> String
1255
+ # resp.id #=> String
1256
+ # resp.legal_name #=> String
1257
+ # resp.created_at #=> Time
1258
+ # resp.profile.display_name #=> String
1259
+ # resp.profile.description #=> String
1260
+ # resp.profile.website_url #=> String
1261
+ # resp.profile.logo_url #=> String
1262
+ # resp.profile.primary_solution_type #=> String, one of "SOFTWARE_PRODUCTS", "CONSULTING_SERVICES", "PROFESSIONAL_SERVICES", "MANAGED_SERVICES", "HARDWARE_PRODUCTS", "COMMUNICATION_SERVICES", "VALUE_ADDED_RESALE_AWS_SERVICES", "TRAINING_SERVICES"
1263
+ # resp.profile.industry_segments #=> Array
1264
+ # resp.profile.industry_segments[0] #=> String, one of "AGRICULTURE_MINING", "BIOTECHNOLOGY", "BUSINESS_CONSUMER_SERVICES", "BUSINESS_SERV", "COMMUNICATIONS", "COMPUTER_HARDWARE", "COMPUTERS_ELECTRONICS", "COMPUTER_SOFTWARE", "CONSUMER_GOODS", "CONSUMER_RELATED", "EDUCATION", "ENERGY_UTILITIES", "FINANCIAL_SERVICES", "GAMING", "GOVERNMENT", "GOVERNMENT_EDUCATION_PUBLIC_SERVICES", "HEALTHCARE", "HEALTHCARE_PHARMACEUTICALS_BIOTECH", "INDUSTRIAL_ENERGY", "INTERNET_SPECIFIC", "LIFE_SCIENCES", "MANUFACTURING", "MEDIA_ENTERTAINMENT_LEISURE", "MEDIA_ENTERTAINMENT", "MEDICAL_HEALTH", "NON_PROFIT_ORGANIZATION", "OTHER", "PROFESSIONAL_SERVICES", "REAL_ESTATE_CONSTRUCTION", "RETAIL", "RETAIL_WHOLESALE_DISTRIBUTION", "SEMICONDUCTOR_ELECTR", "SOFTWARE_INTERNET", "TELECOMMUNICATIONS", "TRANSPORTATION_LOGISTICS", "TRAVEL_HOSPITALITY", "WHOLESALE_DISTRIBUTION"
1265
+ # resp.profile.translation_source_locale #=> String
1266
+ # resp.profile.localized_contents #=> Array
1267
+ # resp.profile.localized_contents[0].display_name #=> String
1268
+ # resp.profile.localized_contents[0].description #=> String
1269
+ # resp.profile.localized_contents[0].website_url #=> String
1270
+ # resp.profile.localized_contents[0].logo_url #=> String
1271
+ # resp.profile.localized_contents[0].locale #=> String
1272
+ # resp.profile.profile_id #=> String
1273
+ # resp.aws_training_certification_email_domains #=> Array
1274
+ # resp.aws_training_certification_email_domains[0].domain_name #=> String
1275
+ # resp.aws_training_certification_email_domains[0].registered_at #=> Time
1276
+ #
1277
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/GetPartner AWS API Documentation
1278
+ #
1279
+ # @overload get_partner(params = {})
1280
+ # @param [Hash] params ({})
1281
+ def get_partner(params = {}, options = {})
1282
+ req = build_request(:get_partner, params)
1283
+ req.send_request(options)
1284
+ end
1285
+
1286
+ # Retrieves information about a specific profile update task.
1287
+ #
1288
+ # @option params [required, String] :catalog
1289
+ # The catalog identifier for the partner account.
1290
+ #
1291
+ # @option params [required, String] :identifier
1292
+ # The unique identifier of the partner account.
1293
+ #
1294
+ # @return [Types::GetProfileUpdateTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1295
+ #
1296
+ # * {Types::GetProfileUpdateTaskResponse#catalog #catalog} => String
1297
+ # * {Types::GetProfileUpdateTaskResponse#arn #arn} => String
1298
+ # * {Types::GetProfileUpdateTaskResponse#id #id} => String
1299
+ # * {Types::GetProfileUpdateTaskResponse#task_id #task_id} => String
1300
+ # * {Types::GetProfileUpdateTaskResponse#task_details #task_details} => Types::TaskDetails
1301
+ # * {Types::GetProfileUpdateTaskResponse#started_at #started_at} => Time
1302
+ # * {Types::GetProfileUpdateTaskResponse#status #status} => String
1303
+ # * {Types::GetProfileUpdateTaskResponse#ended_at #ended_at} => Time
1304
+ # * {Types::GetProfileUpdateTaskResponse#error_detail_list #error_detail_list} => Array&lt;Types::ErrorDetail&gt;
1305
+ #
1306
+ # @example Request syntax with placeholder values
1307
+ #
1308
+ # resp = client.get_profile_update_task({
1309
+ # catalog: "Catalog", # required
1310
+ # identifier: "PartnerIdentifier", # required
1311
+ # })
1312
+ #
1313
+ # @example Response structure
1314
+ #
1315
+ # resp.catalog #=> String
1316
+ # resp.arn #=> String
1317
+ # resp.id #=> String
1318
+ # resp.task_id #=> String
1319
+ # resp.task_details.display_name #=> String
1320
+ # resp.task_details.description #=> String
1321
+ # resp.task_details.website_url #=> String
1322
+ # resp.task_details.logo_url #=> String
1323
+ # resp.task_details.primary_solution_type #=> String, one of "SOFTWARE_PRODUCTS", "CONSULTING_SERVICES", "PROFESSIONAL_SERVICES", "MANAGED_SERVICES", "HARDWARE_PRODUCTS", "COMMUNICATION_SERVICES", "VALUE_ADDED_RESALE_AWS_SERVICES", "TRAINING_SERVICES"
1324
+ # resp.task_details.industry_segments #=> Array
1325
+ # resp.task_details.industry_segments[0] #=> String, one of "AGRICULTURE_MINING", "BIOTECHNOLOGY", "BUSINESS_CONSUMER_SERVICES", "BUSINESS_SERV", "COMMUNICATIONS", "COMPUTER_HARDWARE", "COMPUTERS_ELECTRONICS", "COMPUTER_SOFTWARE", "CONSUMER_GOODS", "CONSUMER_RELATED", "EDUCATION", "ENERGY_UTILITIES", "FINANCIAL_SERVICES", "GAMING", "GOVERNMENT", "GOVERNMENT_EDUCATION_PUBLIC_SERVICES", "HEALTHCARE", "HEALTHCARE_PHARMACEUTICALS_BIOTECH", "INDUSTRIAL_ENERGY", "INTERNET_SPECIFIC", "LIFE_SCIENCES", "MANUFACTURING", "MEDIA_ENTERTAINMENT_LEISURE", "MEDIA_ENTERTAINMENT", "MEDICAL_HEALTH", "NON_PROFIT_ORGANIZATION", "OTHER", "PROFESSIONAL_SERVICES", "REAL_ESTATE_CONSTRUCTION", "RETAIL", "RETAIL_WHOLESALE_DISTRIBUTION", "SEMICONDUCTOR_ELECTR", "SOFTWARE_INTERNET", "TELECOMMUNICATIONS", "TRANSPORTATION_LOGISTICS", "TRAVEL_HOSPITALITY", "WHOLESALE_DISTRIBUTION"
1326
+ # resp.task_details.translation_source_locale #=> String
1327
+ # resp.task_details.localized_contents #=> Array
1328
+ # resp.task_details.localized_contents[0].display_name #=> String
1329
+ # resp.task_details.localized_contents[0].description #=> String
1330
+ # resp.task_details.localized_contents[0].website_url #=> String
1331
+ # resp.task_details.localized_contents[0].logo_url #=> String
1332
+ # resp.task_details.localized_contents[0].locale #=> String
1333
+ # resp.started_at #=> Time
1334
+ # resp.status #=> String, one of "IN_PROGRESS", "CANCELED", "SUCCEEDED", "FAILED"
1335
+ # resp.ended_at #=> Time
1336
+ # resp.error_detail_list #=> Array
1337
+ # resp.error_detail_list[0].locale #=> String
1338
+ # resp.error_detail_list[0].message #=> String
1339
+ # resp.error_detail_list[0].reason #=> String, one of "INVALID_CONTENT", "DUPLICATE_PROFILE", "INVALID_LOGO", "INVALID_LOGO_URL", "INVALID_LOGO_FILE", "INVALID_LOGO_SIZE", "INVALID_WEBSITE_URL"
1340
+ #
1341
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/GetProfileUpdateTask AWS API Documentation
1342
+ #
1343
+ # @overload get_profile_update_task(params = {})
1344
+ # @param [Hash] params ({})
1345
+ def get_profile_update_task(params = {}, options = {})
1346
+ req = build_request(:get_profile_update_task, params)
1347
+ req.send_request(options)
1348
+ end
1349
+
1350
+ # Retrieves the visibility settings for a partner profile, determining
1351
+ # who can see the profile information.
1352
+ #
1353
+ # @option params [required, String] :catalog
1354
+ # The catalog identifier for the partner account.
1355
+ #
1356
+ # @option params [required, String] :identifier
1357
+ # The unique identifier of the partner account.
1358
+ #
1359
+ # @return [Types::GetProfileVisibilityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1360
+ #
1361
+ # * {Types::GetProfileVisibilityResponse#catalog #catalog} => String
1362
+ # * {Types::GetProfileVisibilityResponse#arn #arn} => String
1363
+ # * {Types::GetProfileVisibilityResponse#id #id} => String
1364
+ # * {Types::GetProfileVisibilityResponse#visibility #visibility} => String
1365
+ # * {Types::GetProfileVisibilityResponse#profile_id #profile_id} => String
1366
+ #
1367
+ # @example Request syntax with placeholder values
1368
+ #
1369
+ # resp = client.get_profile_visibility({
1370
+ # catalog: "Catalog", # required
1371
+ # identifier: "PartnerIdentifier", # required
1372
+ # })
1373
+ #
1374
+ # @example Response structure
1375
+ #
1376
+ # resp.catalog #=> String
1377
+ # resp.arn #=> String
1378
+ # resp.id #=> String
1379
+ # resp.visibility #=> String, one of "PRIVATE", "PUBLIC"
1380
+ # resp.profile_id #=> String
1381
+ #
1382
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/GetProfileVisibility AWS API Documentation
1383
+ #
1384
+ # @overload get_profile_visibility(params = {})
1385
+ # @param [Hash] params ({})
1386
+ def get_profile_visibility(params = {}, options = {})
1387
+ req = build_request(:get_profile_visibility, params)
1388
+ req.send_request(options)
1389
+ end
1390
+
1391
+ # Lists connection invitations for the partner account, with optional
1392
+ # filtering by status, type, and other criteria.
1393
+ #
1394
+ # @option params [required, String] :catalog
1395
+ # The catalog identifier for the partner account.
1396
+ #
1397
+ # @option params [String] :next_token
1398
+ # The token for retrieving the next page of results in paginated
1399
+ # responses.
1400
+ #
1401
+ # @option params [String] :connection_type
1402
+ # Filter results by connection type (e.g., reseller, distributor,
1403
+ # technology partner).
1404
+ #
1405
+ # @option params [Integer] :max_results
1406
+ # The maximum number of connection invitations to return in a single
1407
+ # response.
1408
+ #
1409
+ # @option params [Array<String>] :other_participant_identifiers
1410
+ # Filter results by specific participant identifiers.
1411
+ #
1412
+ # @option params [String] :participant_type
1413
+ # Filter results by participant type (inviter or invitee).
1414
+ #
1415
+ # @option params [String] :status
1416
+ # Filter results by invitation status (pending, accepted, rejected,
1417
+ # canceled, expired).
1418
+ #
1419
+ # @return [Types::ListConnectionInvitationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1420
+ #
1421
+ # * {Types::ListConnectionInvitationsResponse#connection_invitation_summaries #connection_invitation_summaries} => Array&lt;Types::ConnectionInvitationSummary&gt;
1422
+ # * {Types::ListConnectionInvitationsResponse#next_token #next_token} => String
1423
+ #
1424
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1425
+ #
1426
+ # @example Request syntax with placeholder values
1427
+ #
1428
+ # resp = client.list_connection_invitations({
1429
+ # catalog: "Catalog", # required
1430
+ # next_token: "NextToken",
1431
+ # connection_type: "OPPORTUNITY_COLLABORATION", # accepts OPPORTUNITY_COLLABORATION, SUBSIDIARY
1432
+ # max_results: 1,
1433
+ # other_participant_identifiers: ["ParticipantIdentifier"],
1434
+ # participant_type: "SENDER", # accepts SENDER, RECEIVER
1435
+ # status: "PENDING", # accepts PENDING, ACCEPTED, REJECTED, CANCELED, EXPIRED
1436
+ # })
1437
+ #
1438
+ # @example Response structure
1439
+ #
1440
+ # resp.connection_invitation_summaries #=> Array
1441
+ # resp.connection_invitation_summaries[0].catalog #=> String
1442
+ # resp.connection_invitation_summaries[0].id #=> String
1443
+ # resp.connection_invitation_summaries[0].arn #=> String
1444
+ # resp.connection_invitation_summaries[0].connection_id #=> String
1445
+ # resp.connection_invitation_summaries[0].connection_type #=> String, one of "OPPORTUNITY_COLLABORATION", "SUBSIDIARY"
1446
+ # resp.connection_invitation_summaries[0].created_at #=> Time
1447
+ # resp.connection_invitation_summaries[0].updated_at #=> Time
1448
+ # resp.connection_invitation_summaries[0].expires_at #=> Time
1449
+ # resp.connection_invitation_summaries[0].other_participant_identifier #=> String
1450
+ # resp.connection_invitation_summaries[0].participant_type #=> String, one of "SENDER", "RECEIVER"
1451
+ # resp.connection_invitation_summaries[0].status #=> String, one of "PENDING", "ACCEPTED", "REJECTED", "CANCELED", "EXPIRED"
1452
+ # resp.next_token #=> String
1453
+ #
1454
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/ListConnectionInvitations AWS API Documentation
1455
+ #
1456
+ # @overload list_connection_invitations(params = {})
1457
+ # @param [Hash] params ({})
1458
+ def list_connection_invitations(params = {}, options = {})
1459
+ req = build_request(:list_connection_invitations, params)
1460
+ req.send_request(options)
1461
+ end
1462
+
1463
+ # Lists active connections for the partner account, with optional
1464
+ # filtering by connection type and participant.
1465
+ #
1466
+ # @option params [required, String] :catalog
1467
+ # The catalog identifier for the partner account.
1468
+ #
1469
+ # @option params [String] :next_token
1470
+ # The token for retrieving the next page of results in paginated
1471
+ # responses.
1472
+ #
1473
+ # @option params [String] :connection_type
1474
+ # Filter results by connection type (e.g., reseller, distributor,
1475
+ # technology partner).
1476
+ #
1477
+ # @option params [Integer] :max_results
1478
+ # The maximum number of connections to return in a single response.
1479
+ #
1480
+ # @option params [Array<String>] :other_participant_identifiers
1481
+ # Filter results by specific participant identifiers.
1482
+ #
1483
+ # @return [Types::ListConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1484
+ #
1485
+ # * {Types::ListConnectionsResponse#connection_summaries #connection_summaries} => Array&lt;Types::ConnectionSummary&gt;
1486
+ # * {Types::ListConnectionsResponse#next_token #next_token} => String
1487
+ #
1488
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1489
+ #
1490
+ # @example Request syntax with placeholder values
1491
+ #
1492
+ # resp = client.list_connections({
1493
+ # catalog: "Catalog", # required
1494
+ # next_token: "NextToken",
1495
+ # connection_type: "ConnectionTypeFilter",
1496
+ # max_results: 1,
1497
+ # other_participant_identifiers: ["ParticipantIdentifier"],
1498
+ # })
1499
+ #
1500
+ # @example Response structure
1501
+ #
1502
+ # resp.connection_summaries #=> Array
1503
+ # resp.connection_summaries[0].catalog #=> String
1504
+ # resp.connection_summaries[0].id #=> String
1505
+ # resp.connection_summaries[0].arn #=> String
1506
+ # resp.connection_summaries[0].other_participant_account_id #=> String
1507
+ # resp.connection_summaries[0].updated_at #=> Time
1508
+ # resp.connection_summaries[0].connection_types #=> Hash
1509
+ # resp.connection_summaries[0].connection_types["ConnectionType"].status #=> String, one of "ACTIVE", "CANCELED"
1510
+ # resp.connection_summaries[0].connection_types["ConnectionType"].other_participant.partner_profile.id #=> String
1511
+ # resp.connection_summaries[0].connection_types["ConnectionType"].other_participant.partner_profile.name #=> String
1512
+ # resp.connection_summaries[0].connection_types["ConnectionType"].other_participant.seller_profile.id #=> String
1513
+ # resp.connection_summaries[0].connection_types["ConnectionType"].other_participant.seller_profile.name #=> String
1514
+ # resp.connection_summaries[0].connection_types["ConnectionType"].other_participant.account.name #=> String
1515
+ # resp.next_token #=> String
1516
+ #
1517
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/ListConnections AWS API Documentation
1518
+ #
1519
+ # @overload list_connections(params = {})
1520
+ # @param [Hash] params ({})
1521
+ def list_connections(params = {}, options = {})
1522
+ req = build_request(:list_connections, params)
1523
+ req.send_request(options)
1524
+ end
1525
+
1526
+ # Lists partner accounts in the catalog, providing a summary view of all
1527
+ # partners.
1528
+ #
1529
+ # @option params [required, String] :catalog
1530
+ # The catalog identifier to list partners from.
1531
+ #
1532
+ # @option params [String] :next_token
1533
+ # The token for retrieving the next page of results in paginated
1534
+ # responses.
1535
+ #
1536
+ # @return [Types::ListPartnersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1537
+ #
1538
+ # * {Types::ListPartnersResponse#partner_summary_list #partner_summary_list} => Array&lt;Types::PartnerSummary&gt;
1539
+ # * {Types::ListPartnersResponse#next_token #next_token} => String
1540
+ #
1541
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1542
+ #
1543
+ # @example Request syntax with placeholder values
1544
+ #
1545
+ # resp = client.list_partners({
1546
+ # catalog: "Catalog", # required
1547
+ # next_token: "NextToken",
1548
+ # })
1549
+ #
1550
+ # @example Response structure
1551
+ #
1552
+ # resp.partner_summary_list #=> Array
1553
+ # resp.partner_summary_list[0].catalog #=> String
1554
+ # resp.partner_summary_list[0].arn #=> String
1555
+ # resp.partner_summary_list[0].id #=> String
1556
+ # resp.partner_summary_list[0].legal_name #=> String
1557
+ # resp.partner_summary_list[0].created_at #=> Time
1558
+ # resp.next_token #=> String
1559
+ #
1560
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/ListPartners AWS API Documentation
1561
+ #
1562
+ # @overload list_partners(params = {})
1563
+ # @param [Hash] params ({})
1564
+ def list_partners(params = {}, options = {})
1565
+ req = build_request(:list_partners, params)
1566
+ req.send_request(options)
1567
+ end
1568
+
1569
+ # Lists all tags associated with a specific AWS Partner Central Account
1570
+ # resource.
1571
+ #
1572
+ # @option params [required, String] :resource_arn
1573
+ # The Amazon Resource Name (ARN) of the resource to list tags for.
1574
+ #
1575
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1576
+ #
1577
+ # * {Types::ListTagsForResourceResponse#resource_arn #resource_arn} => String
1578
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Array&lt;Types::Tag&gt;
1579
+ #
1580
+ # @example Request syntax with placeholder values
1581
+ #
1582
+ # resp = client.list_tags_for_resource({
1583
+ # resource_arn: "TaggableResourceArn", # required
1584
+ # })
1585
+ #
1586
+ # @example Response structure
1587
+ #
1588
+ # resp.resource_arn #=> String
1589
+ # resp.tags #=> Array
1590
+ # resp.tags[0].key #=> String
1591
+ # resp.tags[0].value #=> String
1592
+ #
1593
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/ListTagsForResource AWS API Documentation
1594
+ #
1595
+ # @overload list_tags_for_resource(params = {})
1596
+ # @param [Hash] params ({})
1597
+ def list_tags_for_resource(params = {}, options = {})
1598
+ req = build_request(:list_tags_for_resource, params)
1599
+ req.send_request(options)
1600
+ end
1601
+
1602
+ # Creates or updates the alliance lead contact information for a partner
1603
+ # account.
1604
+ #
1605
+ # @option params [required, String] :catalog
1606
+ # The catalog identifier for the partner account.
1607
+ #
1608
+ # @option params [required, String] :identifier
1609
+ # The unique identifier of the partner account.
1610
+ #
1611
+ # @option params [required, Types::AllianceLeadContact] :alliance_lead_contact
1612
+ # The alliance lead contact information to set for the partner account.
1613
+ #
1614
+ # @option params [String] :email_verification_code
1615
+ # The verification code sent to the alliance lead contact's email to
1616
+ # confirm the update.
1617
+ #
1618
+ # @return [Types::PutAllianceLeadContactResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1619
+ #
1620
+ # * {Types::PutAllianceLeadContactResponse#catalog #catalog} => String
1621
+ # * {Types::PutAllianceLeadContactResponse#arn #arn} => String
1622
+ # * {Types::PutAllianceLeadContactResponse#id #id} => String
1623
+ # * {Types::PutAllianceLeadContactResponse#alliance_lead_contact #alliance_lead_contact} => Types::AllianceLeadContact
1624
+ #
1625
+ # @example Request syntax with placeholder values
1626
+ #
1627
+ # resp = client.put_alliance_lead_contact({
1628
+ # catalog: "Catalog", # required
1629
+ # identifier: "PartnerIdentifier", # required
1630
+ # alliance_lead_contact: { # required
1631
+ # first_name: "SensitiveUnicodeString", # required
1632
+ # last_name: "SensitiveUnicodeString", # required
1633
+ # email: "Email", # required
1634
+ # business_title: "SensitiveUnicodeString", # required
1635
+ # },
1636
+ # email_verification_code: "EmailVerificationCode",
1637
+ # })
1638
+ #
1639
+ # @example Response structure
1640
+ #
1641
+ # resp.catalog #=> String
1642
+ # resp.arn #=> String
1643
+ # resp.id #=> String
1644
+ # resp.alliance_lead_contact.first_name #=> String
1645
+ # resp.alliance_lead_contact.last_name #=> String
1646
+ # resp.alliance_lead_contact.email #=> String
1647
+ # resp.alliance_lead_contact.business_title #=> String
1648
+ #
1649
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/PutAllianceLeadContact AWS API Documentation
1650
+ #
1651
+ # @overload put_alliance_lead_contact(params = {})
1652
+ # @param [Hash] params ({})
1653
+ def put_alliance_lead_contact(params = {}, options = {})
1654
+ req = build_request(:put_alliance_lead_contact, params)
1655
+ req.send_request(options)
1656
+ end
1657
+
1658
+ # Sets the visibility level for a partner profile, controlling who can
1659
+ # view the profile information.
1660
+ #
1661
+ # @option params [required, String] :catalog
1662
+ # The catalog identifier for the partner account.
1663
+ #
1664
+ # @option params [required, String] :identifier
1665
+ # The unique identifier of the partner account.
1666
+ #
1667
+ # @option params [required, String] :visibility
1668
+ # The visibility setting to apply to the partner profile.
1669
+ #
1670
+ # @return [Types::PutProfileVisibilityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1671
+ #
1672
+ # * {Types::PutProfileVisibilityResponse#catalog #catalog} => String
1673
+ # * {Types::PutProfileVisibilityResponse#arn #arn} => String
1674
+ # * {Types::PutProfileVisibilityResponse#id #id} => String
1675
+ # * {Types::PutProfileVisibilityResponse#visibility #visibility} => String
1676
+ # * {Types::PutProfileVisibilityResponse#profile_id #profile_id} => String
1677
+ #
1678
+ # @example Request syntax with placeholder values
1679
+ #
1680
+ # resp = client.put_profile_visibility({
1681
+ # catalog: "Catalog", # required
1682
+ # identifier: "PartnerIdentifier", # required
1683
+ # visibility: "PRIVATE", # required, accepts PRIVATE, PUBLIC
1684
+ # })
1685
+ #
1686
+ # @example Response structure
1687
+ #
1688
+ # resp.catalog #=> String
1689
+ # resp.arn #=> String
1690
+ # resp.id #=> String
1691
+ # resp.visibility #=> String, one of "PRIVATE", "PUBLIC"
1692
+ # resp.profile_id #=> String
1693
+ #
1694
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/PutProfileVisibility AWS API Documentation
1695
+ #
1696
+ # @overload put_profile_visibility(params = {})
1697
+ # @param [Hash] params ({})
1698
+ def put_profile_visibility(params = {}, options = {})
1699
+ req = build_request(:put_profile_visibility, params)
1700
+ req.send_request(options)
1701
+ end
1702
+
1703
+ # Rejects a connection invitation from another partner, declining the
1704
+ # partnership request.
1705
+ #
1706
+ # @option params [required, String] :catalog
1707
+ # The catalog identifier where the connection invitation exists.
1708
+ #
1709
+ # @option params [required, String] :identifier
1710
+ # The unique identifier of the connection invitation to reject.
1711
+ #
1712
+ # @option params [required, String] :client_token
1713
+ # A unique, case-sensitive identifier that you provide to ensure the
1714
+ # idempotency of the request.
1715
+ #
1716
+ # **A suitable default value is auto-generated.** You should normally
1717
+ # not need to pass this option.**
1718
+ #
1719
+ # @option params [String] :reason
1720
+ # The reason for rejecting the connection invitation.
1721
+ #
1722
+ # @return [Types::RejectConnectionInvitationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1723
+ #
1724
+ # * {Types::RejectConnectionInvitationResponse#catalog #catalog} => String
1725
+ # * {Types::RejectConnectionInvitationResponse#id #id} => String
1726
+ # * {Types::RejectConnectionInvitationResponse#arn #arn} => String
1727
+ # * {Types::RejectConnectionInvitationResponse#connection_id #connection_id} => String
1728
+ # * {Types::RejectConnectionInvitationResponse#connection_type #connection_type} => String
1729
+ # * {Types::RejectConnectionInvitationResponse#created_at #created_at} => Time
1730
+ # * {Types::RejectConnectionInvitationResponse#updated_at #updated_at} => Time
1731
+ # * {Types::RejectConnectionInvitationResponse#expires_at #expires_at} => Time
1732
+ # * {Types::RejectConnectionInvitationResponse#other_participant_identifier #other_participant_identifier} => String
1733
+ # * {Types::RejectConnectionInvitationResponse#participant_type #participant_type} => String
1734
+ # * {Types::RejectConnectionInvitationResponse#status #status} => String
1735
+ # * {Types::RejectConnectionInvitationResponse#invitation_message #invitation_message} => String
1736
+ # * {Types::RejectConnectionInvitationResponse#inviter_email #inviter_email} => String
1737
+ # * {Types::RejectConnectionInvitationResponse#inviter_name #inviter_name} => String
1738
+ #
1739
+ # @example Request syntax with placeholder values
1740
+ #
1741
+ # resp = client.reject_connection_invitation({
1742
+ # catalog: "Catalog", # required
1743
+ # identifier: "ConnectionInvitationId", # required
1744
+ # client_token: "ClientToken", # required
1745
+ # reason: "RejectConnectionInvitationRequestReasonString",
1746
+ # })
1747
+ #
1748
+ # @example Response structure
1749
+ #
1750
+ # resp.catalog #=> String
1751
+ # resp.id #=> String
1752
+ # resp.arn #=> String
1753
+ # resp.connection_id #=> String
1754
+ # resp.connection_type #=> String, one of "OPPORTUNITY_COLLABORATION", "SUBSIDIARY"
1755
+ # resp.created_at #=> Time
1756
+ # resp.updated_at #=> Time
1757
+ # resp.expires_at #=> Time
1758
+ # resp.other_participant_identifier #=> String
1759
+ # resp.participant_type #=> String, one of "SENDER", "RECEIVER"
1760
+ # resp.status #=> String, one of "PENDING", "ACCEPTED", "REJECTED", "CANCELED", "EXPIRED"
1761
+ # resp.invitation_message #=> String
1762
+ # resp.inviter_email #=> String
1763
+ # resp.inviter_name #=> String
1764
+ #
1765
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/RejectConnectionInvitation AWS API Documentation
1766
+ #
1767
+ # @overload reject_connection_invitation(params = {})
1768
+ # @param [Hash] params ({})
1769
+ def reject_connection_invitation(params = {}, options = {})
1770
+ req = build_request(:reject_connection_invitation, params)
1771
+ req.send_request(options)
1772
+ end
1773
+
1774
+ # Sends an email verification code to the specified email address for
1775
+ # account verification purposes.
1776
+ #
1777
+ # @option params [required, String] :catalog
1778
+ # The catalog identifier for the partner account.
1779
+ #
1780
+ # @option params [required, String] :email
1781
+ # The email address to send the verification code to.
1782
+ #
1783
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1784
+ #
1785
+ # @example Request syntax with placeholder values
1786
+ #
1787
+ # resp = client.send_email_verification_code({
1788
+ # catalog: "Catalog", # required
1789
+ # email: "Email", # required
1790
+ # })
1791
+ #
1792
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/SendEmailVerificationCode AWS API Documentation
1793
+ #
1794
+ # @overload send_email_verification_code(params = {})
1795
+ # @param [Hash] params ({})
1796
+ def send_email_verification_code(params = {}, options = {})
1797
+ req = build_request(:send_email_verification_code, params)
1798
+ req.send_request(options)
1799
+ end
1800
+
1801
+ # Initiates a profile update task to modify partner profile information
1802
+ # asynchronously.
1803
+ #
1804
+ # @option params [required, String] :catalog
1805
+ # The catalog identifier for the partner account.
1806
+ #
1807
+ # @option params [required, String] :identifier
1808
+ # The unique identifier of the partner account.
1809
+ #
1810
+ # @option params [String] :client_token
1811
+ # A unique, case-sensitive identifier that you provide to ensure the
1812
+ # idempotency of the request.
1813
+ #
1814
+ # **A suitable default value is auto-generated.** You should normally
1815
+ # not need to pass this option.**
1816
+ #
1817
+ # @option params [required, Types::TaskDetails] :task_details
1818
+ # The details of the profile updates to be performed.
1819
+ #
1820
+ # @return [Types::StartProfileUpdateTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1821
+ #
1822
+ # * {Types::StartProfileUpdateTaskResponse#catalog #catalog} => String
1823
+ # * {Types::StartProfileUpdateTaskResponse#arn #arn} => String
1824
+ # * {Types::StartProfileUpdateTaskResponse#id #id} => String
1825
+ # * {Types::StartProfileUpdateTaskResponse#task_id #task_id} => String
1826
+ # * {Types::StartProfileUpdateTaskResponse#task_details #task_details} => Types::TaskDetails
1827
+ # * {Types::StartProfileUpdateTaskResponse#started_at #started_at} => Time
1828
+ # * {Types::StartProfileUpdateTaskResponse#status #status} => String
1829
+ # * {Types::StartProfileUpdateTaskResponse#ended_at #ended_at} => Time
1830
+ # * {Types::StartProfileUpdateTaskResponse#error_detail_list #error_detail_list} => Array&lt;Types::ErrorDetail&gt;
1831
+ #
1832
+ # @example Request syntax with placeholder values
1833
+ #
1834
+ # resp = client.start_profile_update_task({
1835
+ # catalog: "Catalog", # required
1836
+ # identifier: "PartnerIdentifier", # required
1837
+ # client_token: "ClientToken",
1838
+ # task_details: { # required
1839
+ # display_name: "UnicodeString", # required
1840
+ # description: "TaskDetailsDescriptionString", # required
1841
+ # website_url: "Url", # required
1842
+ # logo_url: "Url", # required
1843
+ # primary_solution_type: "SOFTWARE_PRODUCTS", # required, accepts SOFTWARE_PRODUCTS, CONSULTING_SERVICES, PROFESSIONAL_SERVICES, MANAGED_SERVICES, HARDWARE_PRODUCTS, COMMUNICATION_SERVICES, VALUE_ADDED_RESALE_AWS_SERVICES, TRAINING_SERVICES
1844
+ # industry_segments: ["AGRICULTURE_MINING"], # required, accepts AGRICULTURE_MINING, BIOTECHNOLOGY, BUSINESS_CONSUMER_SERVICES, BUSINESS_SERV, COMMUNICATIONS, COMPUTER_HARDWARE, COMPUTERS_ELECTRONICS, COMPUTER_SOFTWARE, CONSUMER_GOODS, CONSUMER_RELATED, EDUCATION, ENERGY_UTILITIES, FINANCIAL_SERVICES, GAMING, GOVERNMENT, GOVERNMENT_EDUCATION_PUBLIC_SERVICES, HEALTHCARE, HEALTHCARE_PHARMACEUTICALS_BIOTECH, INDUSTRIAL_ENERGY, INTERNET_SPECIFIC, LIFE_SCIENCES, MANUFACTURING, MEDIA_ENTERTAINMENT_LEISURE, MEDIA_ENTERTAINMENT, MEDICAL_HEALTH, NON_PROFIT_ORGANIZATION, OTHER, PROFESSIONAL_SERVICES, REAL_ESTATE_CONSTRUCTION, RETAIL, RETAIL_WHOLESALE_DISTRIBUTION, SEMICONDUCTOR_ELECTR, SOFTWARE_INTERNET, TELECOMMUNICATIONS, TRANSPORTATION_LOGISTICS, TRAVEL_HOSPITALITY, WHOLESALE_DISTRIBUTION
1845
+ # translation_source_locale: "Locale", # required
1846
+ # localized_contents: [
1847
+ # {
1848
+ # display_name: "UnicodeString", # required
1849
+ # description: "LocalizedContentDescriptionString", # required
1850
+ # website_url: "Url", # required
1851
+ # logo_url: "Url", # required
1852
+ # locale: "Locale", # required
1853
+ # },
1854
+ # ],
1855
+ # },
1856
+ # })
1857
+ #
1858
+ # @example Response structure
1859
+ #
1860
+ # resp.catalog #=> String
1861
+ # resp.arn #=> String
1862
+ # resp.id #=> String
1863
+ # resp.task_id #=> String
1864
+ # resp.task_details.display_name #=> String
1865
+ # resp.task_details.description #=> String
1866
+ # resp.task_details.website_url #=> String
1867
+ # resp.task_details.logo_url #=> String
1868
+ # resp.task_details.primary_solution_type #=> String, one of "SOFTWARE_PRODUCTS", "CONSULTING_SERVICES", "PROFESSIONAL_SERVICES", "MANAGED_SERVICES", "HARDWARE_PRODUCTS", "COMMUNICATION_SERVICES", "VALUE_ADDED_RESALE_AWS_SERVICES", "TRAINING_SERVICES"
1869
+ # resp.task_details.industry_segments #=> Array
1870
+ # resp.task_details.industry_segments[0] #=> String, one of "AGRICULTURE_MINING", "BIOTECHNOLOGY", "BUSINESS_CONSUMER_SERVICES", "BUSINESS_SERV", "COMMUNICATIONS", "COMPUTER_HARDWARE", "COMPUTERS_ELECTRONICS", "COMPUTER_SOFTWARE", "CONSUMER_GOODS", "CONSUMER_RELATED", "EDUCATION", "ENERGY_UTILITIES", "FINANCIAL_SERVICES", "GAMING", "GOVERNMENT", "GOVERNMENT_EDUCATION_PUBLIC_SERVICES", "HEALTHCARE", "HEALTHCARE_PHARMACEUTICALS_BIOTECH", "INDUSTRIAL_ENERGY", "INTERNET_SPECIFIC", "LIFE_SCIENCES", "MANUFACTURING", "MEDIA_ENTERTAINMENT_LEISURE", "MEDIA_ENTERTAINMENT", "MEDICAL_HEALTH", "NON_PROFIT_ORGANIZATION", "OTHER", "PROFESSIONAL_SERVICES", "REAL_ESTATE_CONSTRUCTION", "RETAIL", "RETAIL_WHOLESALE_DISTRIBUTION", "SEMICONDUCTOR_ELECTR", "SOFTWARE_INTERNET", "TELECOMMUNICATIONS", "TRANSPORTATION_LOGISTICS", "TRAVEL_HOSPITALITY", "WHOLESALE_DISTRIBUTION"
1871
+ # resp.task_details.translation_source_locale #=> String
1872
+ # resp.task_details.localized_contents #=> Array
1873
+ # resp.task_details.localized_contents[0].display_name #=> String
1874
+ # resp.task_details.localized_contents[0].description #=> String
1875
+ # resp.task_details.localized_contents[0].website_url #=> String
1876
+ # resp.task_details.localized_contents[0].logo_url #=> String
1877
+ # resp.task_details.localized_contents[0].locale #=> String
1878
+ # resp.started_at #=> Time
1879
+ # resp.status #=> String, one of "IN_PROGRESS", "CANCELED", "SUCCEEDED", "FAILED"
1880
+ # resp.ended_at #=> Time
1881
+ # resp.error_detail_list #=> Array
1882
+ # resp.error_detail_list[0].locale #=> String
1883
+ # resp.error_detail_list[0].message #=> String
1884
+ # resp.error_detail_list[0].reason #=> String, one of "INVALID_CONTENT", "DUPLICATE_PROFILE", "INVALID_LOGO", "INVALID_LOGO_URL", "INVALID_LOGO_FILE", "INVALID_LOGO_SIZE", "INVALID_WEBSITE_URL"
1885
+ #
1886
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/StartProfileUpdateTask AWS API Documentation
1887
+ #
1888
+ # @overload start_profile_update_task(params = {})
1889
+ # @param [Hash] params ({})
1890
+ def start_profile_update_task(params = {}, options = {})
1891
+ req = build_request(:start_profile_update_task, params)
1892
+ req.send_request(options)
1893
+ end
1894
+
1895
+ # Adds or updates tags for a specified AWS Partner Central Account
1896
+ # resource.
1897
+ #
1898
+ # @option params [required, String] :resource_arn
1899
+ # The Amazon Resource Name (ARN) of the resource to tag.
1900
+ #
1901
+ # @option params [required, Array<Types::Tag>] :tags
1902
+ # A list of tags to add or update for the specified resource.
1903
+ #
1904
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1905
+ #
1906
+ # @example Request syntax with placeholder values
1907
+ #
1908
+ # resp = client.tag_resource({
1909
+ # resource_arn: "TaggableResourceArn", # required
1910
+ # tags: [ # required
1911
+ # {
1912
+ # key: "TagKey", # required
1913
+ # value: "TagValue", # required
1914
+ # },
1915
+ # ],
1916
+ # })
1917
+ #
1918
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/TagResource AWS API Documentation
1919
+ #
1920
+ # @overload tag_resource(params = {})
1921
+ # @param [Hash] params ({})
1922
+ def tag_resource(params = {}, options = {})
1923
+ req = build_request(:tag_resource, params)
1924
+ req.send_request(options)
1925
+ end
1926
+
1927
+ # Removes specified tags from an AWS Partner Central Account resource.
1928
+ #
1929
+ # @option params [required, String] :resource_arn
1930
+ # The Amazon Resource Name (ARN) of the resource to remove tags from.
1931
+ #
1932
+ # @option params [required, Array<String>] :tag_keys
1933
+ # A list of tag keys to remove from the specified resource.
1934
+ #
1935
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1936
+ #
1937
+ # @example Request syntax with placeholder values
1938
+ #
1939
+ # resp = client.untag_resource({
1940
+ # resource_arn: "TaggableResourceArn", # required
1941
+ # tag_keys: ["TagKey"], # required
1942
+ # })
1943
+ #
1944
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/UntagResource AWS API Documentation
1945
+ #
1946
+ # @overload untag_resource(params = {})
1947
+ # @param [Hash] params ({})
1948
+ def untag_resource(params = {}, options = {})
1949
+ req = build_request(:untag_resource, params)
1950
+ req.send_request(options)
1951
+ end
1952
+
1953
+ # Updates the connection preferences for a partner account, modifying
1954
+ # access settings and exclusions.
1955
+ #
1956
+ # @option params [required, String] :catalog
1957
+ # The catalog identifier for the partner account.
1958
+ #
1959
+ # @option params [required, Integer] :revision
1960
+ # The revision number of the connection preferences for optimistic
1961
+ # locking.
1962
+ #
1963
+ # @option params [required, String] :access_type
1964
+ # The access type setting for connections (e.g., open, restricted,
1965
+ # invitation-only).
1966
+ #
1967
+ # @option params [Array<String>] :excluded_participant_identifiers
1968
+ # The updated list of participant identifiers to exclude from
1969
+ # connections.
1970
+ #
1971
+ # @return [Types::UpdateConnectionPreferencesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1972
+ #
1973
+ # * {Types::UpdateConnectionPreferencesResponse#catalog #catalog} => String
1974
+ # * {Types::UpdateConnectionPreferencesResponse#arn #arn} => String
1975
+ # * {Types::UpdateConnectionPreferencesResponse#access_type #access_type} => String
1976
+ # * {Types::UpdateConnectionPreferencesResponse#excluded_participant_ids #excluded_participant_ids} => Array&lt;String&gt;
1977
+ # * {Types::UpdateConnectionPreferencesResponse#updated_at #updated_at} => Time
1978
+ # * {Types::UpdateConnectionPreferencesResponse#revision #revision} => Integer
1979
+ #
1980
+ # @example Request syntax with placeholder values
1981
+ #
1982
+ # resp = client.update_connection_preferences({
1983
+ # catalog: "Catalog", # required
1984
+ # revision: 1, # required
1985
+ # access_type: "ALLOW_ALL", # required, accepts ALLOW_ALL, DENY_ALL, ALLOW_BY_DEFAULT_DENY_SOME
1986
+ # excluded_participant_identifiers: ["ParticipantIdentifier"],
1987
+ # })
1988
+ #
1989
+ # @example Response structure
1990
+ #
1991
+ # resp.catalog #=> String
1992
+ # resp.arn #=> String
1993
+ # resp.access_type #=> String, one of "ALLOW_ALL", "DENY_ALL", "ALLOW_BY_DEFAULT_DENY_SOME"
1994
+ # resp.excluded_participant_ids #=> Array
1995
+ # resp.excluded_participant_ids[0] #=> String
1996
+ # resp.updated_at #=> Time
1997
+ # resp.revision #=> Integer
1998
+ #
1999
+ # @see http://docs.aws.amazon.com/goto/WebAPI/partnercentral-account-2025-04-04/UpdateConnectionPreferences AWS API Documentation
2000
+ #
2001
+ # @overload update_connection_preferences(params = {})
2002
+ # @param [Hash] params ({})
2003
+ def update_connection_preferences(params = {}, options = {})
2004
+ req = build_request(:update_connection_preferences, params)
2005
+ req.send_request(options)
2006
+ end
2007
+
2008
+ # @!endgroup
2009
+
2010
+ # @param params ({})
2011
+ # @api private
2012
+ def build_request(operation_name, params = {})
2013
+ handlers = @handlers.for(operation_name)
2014
+ tracer = config.telemetry_provider.tracer_provider.tracer(
2015
+ Aws::Telemetry.module_to_tracer_name('Aws::PartnerCentralAccount')
2016
+ )
2017
+ context = Seahorse::Client::RequestContext.new(
2018
+ operation_name: operation_name,
2019
+ operation: config.api.operation(operation_name),
2020
+ client: self,
2021
+ params: params,
2022
+ config: config,
2023
+ tracer: tracer
2024
+ )
2025
+ context[:gem_name] = 'aws-sdk-partnercentralaccount'
2026
+ context[:gem_version] = '1.0.0'
2027
+ Seahorse::Client::Request.new(handlers, context)
2028
+ end
2029
+
2030
+ # @api private
2031
+ # @deprecated
2032
+ def waiter_names
2033
+ []
2034
+ end
2035
+
2036
+ class << self
2037
+
2038
+ # @api private
2039
+ attr_reader :identifier
2040
+
2041
+ # @api private
2042
+ def errors_module
2043
+ Errors
2044
+ end
2045
+
2046
+ end
2047
+ end
2048
+ end