aws-sdk-partnercentralchannel 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,15 @@
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 'aws-sdk-core/waiters'
11
+
12
+ module Aws::PartnerCentralChannel
13
+ module Waiters
14
+ end
15
+ end
@@ -0,0 +1,62 @@
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
+
11
+ require 'aws-sdk-core'
12
+ require 'aws-sigv4'
13
+
14
+ Aws::Plugins::GlobalConfiguration.add_identifier(:partnercentralchannel)
15
+
16
+ # This module provides support for Partner Central Channel API. This module is available in the
17
+ # `aws-sdk-partnercentralchannel` gem.
18
+ #
19
+ # # Client
20
+ #
21
+ # The {Client} class provides one method for each API operation. Operation
22
+ # methods each accept a hash of request parameters and return a response
23
+ # structure.
24
+ #
25
+ # partner_central_channel = Aws::PartnerCentralChannel::Client.new
26
+ # resp = partner_central_channel.accept_channel_handshake(params)
27
+ #
28
+ # See {Client} for more information.
29
+ #
30
+ # # Errors
31
+ #
32
+ # Errors returned from Partner Central Channel API are defined in the
33
+ # {Errors} module and all extend {Errors::ServiceError}.
34
+ #
35
+ # begin
36
+ # # do stuff
37
+ # rescue Aws::PartnerCentralChannel::Errors::ServiceError
38
+ # # rescues all Partner Central Channel API API errors
39
+ # end
40
+ #
41
+ # See {Errors} for more information.
42
+ #
43
+ # @!group service
44
+ module Aws::PartnerCentralChannel
45
+ autoload :Types, 'aws-sdk-partnercentralchannel/types'
46
+ autoload :ClientApi, 'aws-sdk-partnercentralchannel/client_api'
47
+ module Plugins
48
+ autoload :Endpoints, 'aws-sdk-partnercentralchannel/plugins/endpoints.rb'
49
+ end
50
+ autoload :Client, 'aws-sdk-partnercentralchannel/client'
51
+ autoload :Errors, 'aws-sdk-partnercentralchannel/errors'
52
+ autoload :Waiters, 'aws-sdk-partnercentralchannel/waiters'
53
+ autoload :Resource, 'aws-sdk-partnercentralchannel/resource'
54
+ autoload :EndpointParameters, 'aws-sdk-partnercentralchannel/endpoint_parameters'
55
+ autoload :EndpointProvider, 'aws-sdk-partnercentralchannel/endpoint_provider'
56
+ autoload :Endpoints, 'aws-sdk-partnercentralchannel/endpoints'
57
+
58
+ GEM_VERSION = '1.0.0'
59
+
60
+ end
61
+
62
+ require_relative 'aws-sdk-partnercentralchannel/customizations'
data/sig/client.rbs ADDED
@@ -0,0 +1,403 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PartnerCentralChannel
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?simple_json: bool,
57
+ ?stub_responses: untyped,
58
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
59
+ ?token_provider: untyped,
60
+ ?use_dualstack_endpoint: bool,
61
+ ?use_fips_endpoint: bool,
62
+ ?validate_params: bool,
63
+ ?endpoint_provider: untyped,
64
+ ?http_proxy: String,
65
+ ?http_open_timeout: (Float | Integer),
66
+ ?http_read_timeout: (Float | Integer),
67
+ ?http_idle_timeout: (Float | Integer),
68
+ ?http_continue_timeout: (Float | Integer),
69
+ ?ssl_timeout: (Float | Integer | nil),
70
+ ?http_wire_trace: bool,
71
+ ?ssl_verify_peer: bool,
72
+ ?ssl_ca_bundle: String,
73
+ ?ssl_ca_directory: String,
74
+ ?ssl_ca_store: String,
75
+ ?on_chunk_received: Proc,
76
+ ?on_chunk_sent: Proc,
77
+ ?raise_response_errors: bool
78
+ ) -> instance
79
+ | (?Hash[Symbol, untyped]) -> instance
80
+
81
+
82
+ interface _AcceptChannelHandshakeResponseSuccess
83
+ include ::Seahorse::Client::_ResponseSuccess[Types::AcceptChannelHandshakeResponse]
84
+ def channel_handshake_detail: () -> Types::AcceptChannelHandshakeDetail
85
+ end
86
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#accept_channel_handshake-instance_method
87
+ def accept_channel_handshake: (
88
+ catalog: ::String,
89
+ identifier: ::String
90
+ ) -> _AcceptChannelHandshakeResponseSuccess
91
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AcceptChannelHandshakeResponseSuccess
92
+
93
+ interface _CancelChannelHandshakeResponseSuccess
94
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelChannelHandshakeResponse]
95
+ def channel_handshake_detail: () -> Types::CancelChannelHandshakeDetail
96
+ end
97
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#cancel_channel_handshake-instance_method
98
+ def cancel_channel_handshake: (
99
+ catalog: ::String,
100
+ identifier: ::String
101
+ ) -> _CancelChannelHandshakeResponseSuccess
102
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelChannelHandshakeResponseSuccess
103
+
104
+ interface _CreateChannelHandshakeResponseSuccess
105
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateChannelHandshakeResponse]
106
+ def channel_handshake_detail: () -> Types::CreateChannelHandshakeDetail
107
+ end
108
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#create_channel_handshake-instance_method
109
+ def create_channel_handshake: (
110
+ handshake_type: ("START_SERVICE_PERIOD" | "REVOKE_SERVICE_PERIOD" | "PROGRAM_MANAGEMENT_ACCOUNT"),
111
+ catalog: ::String,
112
+ associated_resource_identifier: ::String,
113
+ ?payload: {
114
+ start_service_period_payload: {
115
+ program_management_account_identifier: ::String,
116
+ note: ::String?,
117
+ service_period_type: ("MINIMUM_NOTICE_PERIOD" | "FIXED_COMMITMENT_PERIOD"),
118
+ minimum_notice_days: ::String?,
119
+ end_date: ::Time?
120
+ }?,
121
+ revoke_service_period_payload: {
122
+ program_management_account_identifier: ::String,
123
+ note: ::String?
124
+ }?
125
+ },
126
+ ?client_token: ::String,
127
+ ?tags: Array[
128
+ {
129
+ key: ::String,
130
+ value: ::String
131
+ },
132
+ ]
133
+ ) -> _CreateChannelHandshakeResponseSuccess
134
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelHandshakeResponseSuccess
135
+
136
+ interface _CreateProgramManagementAccountResponseSuccess
137
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateProgramManagementAccountResponse]
138
+ def program_management_account_detail: () -> Types::CreateProgramManagementAccountDetail
139
+ end
140
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#create_program_management_account-instance_method
141
+ def create_program_management_account: (
142
+ catalog: ::String,
143
+ program: ("SOLUTION_PROVIDER" | "DISTRIBUTION" | "DISTRIBUTION_SELLER"),
144
+ display_name: ::String,
145
+ account_id: ::String,
146
+ ?client_token: ::String,
147
+ ?tags: Array[
148
+ {
149
+ key: ::String,
150
+ value: ::String
151
+ },
152
+ ]
153
+ ) -> _CreateProgramManagementAccountResponseSuccess
154
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProgramManagementAccountResponseSuccess
155
+
156
+ interface _CreateRelationshipResponseSuccess
157
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRelationshipResponse]
158
+ def relationship_detail: () -> Types::CreateRelationshipDetail
159
+ end
160
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#create_relationship-instance_method
161
+ def create_relationship: (
162
+ catalog: ::String,
163
+ association_type: ("DOWNSTREAM_SELLER" | "END_CUSTOMER" | "INTERNAL"),
164
+ program_management_account_identifier: ::String,
165
+ associated_account_id: ::String,
166
+ display_name: ::String,
167
+ ?resale_account_model: ("DISTRIBUTOR" | "END_CUSTOMER" | "SOLUTION_PROVIDER"),
168
+ sector: ("COMMERCIAL" | "GOVERNMENT" | "GOVERNMENT_EXCEPTION"),
169
+ ?client_token: ::String,
170
+ ?tags: Array[
171
+ {
172
+ key: ::String,
173
+ value: ::String
174
+ },
175
+ ],
176
+ ?requested_support_plan: {
177
+ resold_business: {
178
+ coverage: ("ENTIRE_ORGANIZATION" | "MANAGEMENT_ACCOUNT_ONLY")
179
+ }?,
180
+ resold_enterprise: {
181
+ coverage: ("ENTIRE_ORGANIZATION" | "MANAGEMENT_ACCOUNT_ONLY"),
182
+ tam_location: ::String,
183
+ charge_account_id: ::String?
184
+ }?,
185
+ partner_led_support: {
186
+ coverage: ("ENTIRE_ORGANIZATION" | "MANAGEMENT_ACCOUNT_ONLY"),
187
+ provider: ("DISTRIBUTOR" | "DISTRIBUTION_SELLER")?,
188
+ tam_location: ::String
189
+ }?
190
+ }
191
+ ) -> _CreateRelationshipResponseSuccess
192
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRelationshipResponseSuccess
193
+
194
+ interface _DeleteProgramManagementAccountResponseSuccess
195
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteProgramManagementAccountResponse]
196
+ end
197
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#delete_program_management_account-instance_method
198
+ def delete_program_management_account: (
199
+ catalog: ::String,
200
+ identifier: ::String,
201
+ ?client_token: ::String
202
+ ) -> _DeleteProgramManagementAccountResponseSuccess
203
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProgramManagementAccountResponseSuccess
204
+
205
+ interface _DeleteRelationshipResponseSuccess
206
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRelationshipResponse]
207
+ end
208
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#delete_relationship-instance_method
209
+ def delete_relationship: (
210
+ catalog: ::String,
211
+ identifier: ::String,
212
+ program_management_account_identifier: ::String,
213
+ ?client_token: ::String
214
+ ) -> _DeleteRelationshipResponseSuccess
215
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRelationshipResponseSuccess
216
+
217
+ interface _GetRelationshipResponseSuccess
218
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRelationshipResponse]
219
+ def relationship_detail: () -> Types::RelationshipDetail
220
+ end
221
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#get_relationship-instance_method
222
+ def get_relationship: (
223
+ catalog: ::String,
224
+ program_management_account_identifier: ::String,
225
+ identifier: ::String
226
+ ) -> _GetRelationshipResponseSuccess
227
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRelationshipResponseSuccess
228
+
229
+ interface _ListChannelHandshakesResponseSuccess
230
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListChannelHandshakesResponse]
231
+ def items: () -> ::Array[Types::ChannelHandshakeSummary]
232
+ def next_token: () -> ::String
233
+ end
234
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#list_channel_handshakes-instance_method
235
+ def list_channel_handshakes: (
236
+ handshake_type: ("START_SERVICE_PERIOD" | "REVOKE_SERVICE_PERIOD" | "PROGRAM_MANAGEMENT_ACCOUNT"),
237
+ catalog: ::String,
238
+ participant_type: ("SENDER" | "RECEIVER"),
239
+ ?max_results: ::Integer,
240
+ ?statuses: Array[("PENDING" | "ACCEPTED" | "REJECTED" | "CANCELED" | "EXPIRED")],
241
+ ?associated_resource_identifiers: Array[::String],
242
+ ?handshake_type_filters: {
243
+ start_service_period_type_filters: {
244
+ service_period_types: Array[("MINIMUM_NOTICE_PERIOD" | "FIXED_COMMITMENT_PERIOD")]?
245
+ }?,
246
+ revoke_service_period_type_filters: {
247
+ service_period_types: Array[("MINIMUM_NOTICE_PERIOD" | "FIXED_COMMITMENT_PERIOD")]?
248
+ }?,
249
+ program_management_account_type_filters: {
250
+ programs: Array[("SOLUTION_PROVIDER" | "DISTRIBUTION" | "DISTRIBUTION_SELLER")]?
251
+ }?
252
+ },
253
+ ?handshake_type_sort: {
254
+ start_service_period_type_sort: {
255
+ sort_order: ("Ascending" | "Descending"),
256
+ sort_by: ("UpdatedAt")
257
+ }?,
258
+ revoke_service_period_type_sort: {
259
+ sort_order: ("Ascending" | "Descending"),
260
+ sort_by: ("UpdatedAt")
261
+ }?,
262
+ program_management_account_type_sort: {
263
+ sort_order: ("Ascending" | "Descending"),
264
+ sort_by: ("UpdatedAt")
265
+ }?
266
+ },
267
+ ?next_token: ::String
268
+ ) -> _ListChannelHandshakesResponseSuccess
269
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChannelHandshakesResponseSuccess
270
+
271
+ interface _ListProgramManagementAccountsResponseSuccess
272
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProgramManagementAccountsResponse]
273
+ def items: () -> ::Array[Types::ProgramManagementAccountSummary]
274
+ def next_token: () -> ::String
275
+ end
276
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#list_program_management_accounts-instance_method
277
+ def list_program_management_accounts: (
278
+ catalog: ::String,
279
+ ?max_results: ::Integer,
280
+ ?display_names: Array[::String],
281
+ ?programs: Array[("SOLUTION_PROVIDER" | "DISTRIBUTION" | "DISTRIBUTION_SELLER")],
282
+ ?account_ids: Array[::String],
283
+ ?statuses: Array[("PENDING" | "ACTIVE" | "INACTIVE")],
284
+ ?sort: {
285
+ sort_order: ("Ascending" | "Descending"),
286
+ sort_by: ("UpdatedAt")
287
+ },
288
+ ?next_token: ::String
289
+ ) -> _ListProgramManagementAccountsResponseSuccess
290
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProgramManagementAccountsResponseSuccess
291
+
292
+ interface _ListRelationshipsResponseSuccess
293
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListRelationshipsResponse]
294
+ def items: () -> ::Array[Types::RelationshipSummary]
295
+ def next_token: () -> ::String
296
+ end
297
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#list_relationships-instance_method
298
+ def list_relationships: (
299
+ catalog: ::String,
300
+ ?max_results: ::Integer,
301
+ ?associated_account_ids: Array[::String],
302
+ ?association_types: Array[("DOWNSTREAM_SELLER" | "END_CUSTOMER" | "INTERNAL")],
303
+ ?display_names: Array[::String],
304
+ ?program_management_account_identifiers: Array[::String],
305
+ ?sort: {
306
+ sort_order: ("Ascending" | "Descending"),
307
+ sort_by: ("UpdatedAt")
308
+ },
309
+ ?next_token: ::String
310
+ ) -> _ListRelationshipsResponseSuccess
311
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRelationshipsResponseSuccess
312
+
313
+ interface _ListTagsForResourceResponseSuccess
314
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
315
+ def tags: () -> ::Array[Types::Tag]
316
+ end
317
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#list_tags_for_resource-instance_method
318
+ def list_tags_for_resource: (
319
+ resource_arn: ::String
320
+ ) -> _ListTagsForResourceResponseSuccess
321
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
322
+
323
+ interface _RejectChannelHandshakeResponseSuccess
324
+ include ::Seahorse::Client::_ResponseSuccess[Types::RejectChannelHandshakeResponse]
325
+ def channel_handshake_detail: () -> Types::RejectChannelHandshakeDetail
326
+ end
327
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#reject_channel_handshake-instance_method
328
+ def reject_channel_handshake: (
329
+ catalog: ::String,
330
+ identifier: ::String
331
+ ) -> _RejectChannelHandshakeResponseSuccess
332
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RejectChannelHandshakeResponseSuccess
333
+
334
+ interface _TagResourceResponseSuccess
335
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
336
+ end
337
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#tag_resource-instance_method
338
+ def tag_resource: (
339
+ resource_arn: ::String,
340
+ tags: Array[
341
+ {
342
+ key: ::String,
343
+ value: ::String
344
+ },
345
+ ]
346
+ ) -> _TagResourceResponseSuccess
347
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
348
+
349
+ interface _UntagResourceResponseSuccess
350
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
351
+ end
352
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#untag_resource-instance_method
353
+ def untag_resource: (
354
+ resource_arn: ::String,
355
+ tag_keys: Array[::String]
356
+ ) -> _UntagResourceResponseSuccess
357
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
358
+
359
+ interface _UpdateProgramManagementAccountResponseSuccess
360
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProgramManagementAccountResponse]
361
+ def program_management_account_detail: () -> Types::UpdateProgramManagementAccountDetail
362
+ end
363
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#update_program_management_account-instance_method
364
+ def update_program_management_account: (
365
+ catalog: ::String,
366
+ identifier: ::String,
367
+ ?revision: ::String,
368
+ ?display_name: ::String
369
+ ) -> _UpdateProgramManagementAccountResponseSuccess
370
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProgramManagementAccountResponseSuccess
371
+
372
+ interface _UpdateRelationshipResponseSuccess
373
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRelationshipResponse]
374
+ def relationship_detail: () -> Types::UpdateRelationshipDetail
375
+ end
376
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Client.html#update_relationship-instance_method
377
+ def update_relationship: (
378
+ catalog: ::String,
379
+ identifier: ::String,
380
+ program_management_account_identifier: ::String,
381
+ ?revision: ::String,
382
+ ?display_name: ::String,
383
+ ?requested_support_plan: {
384
+ resold_business: {
385
+ coverage: ("ENTIRE_ORGANIZATION" | "MANAGEMENT_ACCOUNT_ONLY")
386
+ }?,
387
+ resold_enterprise: {
388
+ coverage: ("ENTIRE_ORGANIZATION" | "MANAGEMENT_ACCOUNT_ONLY"),
389
+ tam_location: ::String,
390
+ charge_account_id: ::String?
391
+ }?,
392
+ partner_led_support: {
393
+ coverage: ("ENTIRE_ORGANIZATION" | "MANAGEMENT_ACCOUNT_ONLY"),
394
+ provider: ("DISTRIBUTOR" | "DISTRIBUTION_SELLER")?,
395
+ tam_location: ::String
396
+ }?
397
+ }
398
+ ) -> _UpdateRelationshipResponseSuccess
399
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRelationshipResponseSuccess
400
+ end
401
+ end
402
+ end
403
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,49 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PartnerCentralChannel
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ def reason: () -> ::String
17
+ end
18
+ class ConflictException < ::Aws::Errors::ServiceError
19
+ def message: () -> ::String
20
+ def resource_id: () -> ::String
21
+ def resource_type: () -> ::String
22
+ end
23
+ class InternalServerException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ def resource_id: () -> ::String
29
+ def resource_type: () -> ::String
30
+ end
31
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
32
+ def message: () -> ::String
33
+ def resource_id: () -> ::String
34
+ def resource_type: () -> ::String
35
+ def quota_code: () -> ::String
36
+ end
37
+ class ThrottlingException < ::Aws::Errors::ServiceError
38
+ def message: () -> ::String
39
+ def service_code: () -> ::String
40
+ def quota_code: () -> ::String
41
+ end
42
+ class ValidationException < ::Aws::Errors::ServiceError
43
+ def message: () -> ::String
44
+ def reason: () -> ::String
45
+ def field_list: () -> ::String
46
+ end
47
+ end
48
+ end
49
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,86 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module PartnerCentralChannel
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralChannel/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?simple_json: bool,
57
+ ?stub_responses: untyped,
58
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
59
+ ?token_provider: untyped,
60
+ ?use_dualstack_endpoint: bool,
61
+ ?use_fips_endpoint: bool,
62
+ ?validate_params: bool,
63
+ ?endpoint_provider: untyped,
64
+ ?http_proxy: String,
65
+ ?http_open_timeout: (Float | Integer),
66
+ ?http_read_timeout: (Float | Integer),
67
+ ?http_idle_timeout: (Float | Integer),
68
+ ?http_continue_timeout: (Float | Integer),
69
+ ?ssl_timeout: (Float | Integer | nil),
70
+ ?http_wire_trace: bool,
71
+ ?ssl_verify_peer: bool,
72
+ ?ssl_ca_bundle: String,
73
+ ?ssl_ca_directory: String,
74
+ ?ssl_ca_store: String,
75
+ ?on_chunk_received: Proc,
76
+ ?on_chunk_sent: Proc,
77
+ ?raise_response_errors: bool
78
+ ) -> void
79
+ | (?Hash[Symbol, untyped]) -> void
80
+
81
+ def client: () -> Client
82
+
83
+
84
+ end
85
+ end
86
+ end