aws-sdk-partnercentralbenefits 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.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-partnercentralbenefits/client.rb +1511 -0
- data/lib/aws-sdk-partnercentralbenefits/client_api.rb +888 -0
- data/lib/aws-sdk-partnercentralbenefits/customizations.rb +0 -0
- data/lib/aws-sdk-partnercentralbenefits/endpoint_parameters.rb +59 -0
- data/lib/aws-sdk-partnercentralbenefits/endpoint_provider.rb +32 -0
- data/lib/aws-sdk-partnercentralbenefits/endpoints.rb +20 -0
- data/lib/aws-sdk-partnercentralbenefits/errors.rb +179 -0
- data/lib/aws-sdk-partnercentralbenefits/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-partnercentralbenefits/resource.rb +26 -0
- data/lib/aws-sdk-partnercentralbenefits/types.rb +1766 -0
- data/lib/aws-sdk-partnercentralbenefits/waiters.rb +15 -0
- data/lib/aws-sdk-partnercentralbenefits.rb +62 -0
- data/sig/client.rbs +409 -0
- data/sig/errors.rbs +42 -0
- data/sig/resource.rbs +86 -0
- data/sig/types.rbs +488 -0
- data/sig/waiters.rbs +13 -0
- metadata +97 -0
|
@@ -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::PartnerCentralBenefits
|
|
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(:partnercentralbenefits)
|
|
15
|
+
|
|
16
|
+
# This module provides support for Partner Central Benefits API. This module is available in the
|
|
17
|
+
# `aws-sdk-partnercentralbenefits` 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_benefits = Aws::PartnerCentralBenefits::Client.new
|
|
26
|
+
# resp = partner_central_benefits.amend_benefit_application(params)
|
|
27
|
+
#
|
|
28
|
+
# See {Client} for more information.
|
|
29
|
+
#
|
|
30
|
+
# # Errors
|
|
31
|
+
#
|
|
32
|
+
# Errors returned from Partner Central Benefits API are defined in the
|
|
33
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
|
34
|
+
#
|
|
35
|
+
# begin
|
|
36
|
+
# # do stuff
|
|
37
|
+
# rescue Aws::PartnerCentralBenefits::Errors::ServiceError
|
|
38
|
+
# # rescues all Partner Central Benefits API API errors
|
|
39
|
+
# end
|
|
40
|
+
#
|
|
41
|
+
# See {Errors} for more information.
|
|
42
|
+
#
|
|
43
|
+
# @!group service
|
|
44
|
+
module Aws::PartnerCentralBenefits
|
|
45
|
+
autoload :Types, 'aws-sdk-partnercentralbenefits/types'
|
|
46
|
+
autoload :ClientApi, 'aws-sdk-partnercentralbenefits/client_api'
|
|
47
|
+
module Plugins
|
|
48
|
+
autoload :Endpoints, 'aws-sdk-partnercentralbenefits/plugins/endpoints.rb'
|
|
49
|
+
end
|
|
50
|
+
autoload :Client, 'aws-sdk-partnercentralbenefits/client'
|
|
51
|
+
autoload :Errors, 'aws-sdk-partnercentralbenefits/errors'
|
|
52
|
+
autoload :Waiters, 'aws-sdk-partnercentralbenefits/waiters'
|
|
53
|
+
autoload :Resource, 'aws-sdk-partnercentralbenefits/resource'
|
|
54
|
+
autoload :EndpointParameters, 'aws-sdk-partnercentralbenefits/endpoint_parameters'
|
|
55
|
+
autoload :EndpointProvider, 'aws-sdk-partnercentralbenefits/endpoint_provider'
|
|
56
|
+
autoload :Endpoints, 'aws-sdk-partnercentralbenefits/endpoints'
|
|
57
|
+
|
|
58
|
+
GEM_VERSION = '1.0.0'
|
|
59
|
+
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
require_relative 'aws-sdk-partnercentralbenefits/customizations'
|
data/sig/client.rbs
ADDED
|
@@ -0,0 +1,409 @@
|
|
|
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 PartnerCentralBenefits
|
|
10
|
+
class Client < ::Seahorse::Client::Base
|
|
11
|
+
include ::Aws::ClientStubs
|
|
12
|
+
|
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/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 _AmendBenefitApplicationResponseSuccess
|
|
83
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AmendBenefitApplicationOutput]
|
|
84
|
+
end
|
|
85
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#amend_benefit_application-instance_method
|
|
86
|
+
def amend_benefit_application: (
|
|
87
|
+
catalog: ::String,
|
|
88
|
+
client_token: ::String,
|
|
89
|
+
revision: ::String,
|
|
90
|
+
identifier: ::String,
|
|
91
|
+
amendment_reason: ::String,
|
|
92
|
+
amendments: Array[
|
|
93
|
+
{
|
|
94
|
+
field_path: ::String,
|
|
95
|
+
new_value: ::String
|
|
96
|
+
},
|
|
97
|
+
]
|
|
98
|
+
) -> _AmendBenefitApplicationResponseSuccess
|
|
99
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AmendBenefitApplicationResponseSuccess
|
|
100
|
+
|
|
101
|
+
interface _AssociateBenefitApplicationResourceResponseSuccess
|
|
102
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateBenefitApplicationResourceOutput]
|
|
103
|
+
def id: () -> ::String
|
|
104
|
+
def arn: () -> ::String
|
|
105
|
+
def revision: () -> ::String
|
|
106
|
+
end
|
|
107
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#associate_benefit_application_resource-instance_method
|
|
108
|
+
def associate_benefit_application_resource: (
|
|
109
|
+
catalog: ::String,
|
|
110
|
+
benefit_application_identifier: ::String,
|
|
111
|
+
resource_arn: ::String
|
|
112
|
+
) -> _AssociateBenefitApplicationResourceResponseSuccess
|
|
113
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateBenefitApplicationResourceResponseSuccess
|
|
114
|
+
|
|
115
|
+
interface _CancelBenefitApplicationResponseSuccess
|
|
116
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CancelBenefitApplicationOutput]
|
|
117
|
+
end
|
|
118
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#cancel_benefit_application-instance_method
|
|
119
|
+
def cancel_benefit_application: (
|
|
120
|
+
catalog: ::String,
|
|
121
|
+
client_token: ::String,
|
|
122
|
+
identifier: ::String,
|
|
123
|
+
?reason: ::String
|
|
124
|
+
) -> _CancelBenefitApplicationResponseSuccess
|
|
125
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelBenefitApplicationResponseSuccess
|
|
126
|
+
|
|
127
|
+
interface _CreateBenefitApplicationResponseSuccess
|
|
128
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateBenefitApplicationOutput]
|
|
129
|
+
def id: () -> ::String
|
|
130
|
+
def arn: () -> ::String
|
|
131
|
+
def revision: () -> ::String
|
|
132
|
+
end
|
|
133
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#create_benefit_application-instance_method
|
|
134
|
+
def create_benefit_application: (
|
|
135
|
+
catalog: ::String,
|
|
136
|
+
client_token: ::String,
|
|
137
|
+
?name: ::String,
|
|
138
|
+
?description: ::String,
|
|
139
|
+
benefit_identifier: ::String,
|
|
140
|
+
?fulfillment_types: Array[("CREDITS" | "CASH" | "ACCESS")],
|
|
141
|
+
?benefit_application_details: {
|
|
142
|
+
},
|
|
143
|
+
?tags: Array[
|
|
144
|
+
{
|
|
145
|
+
key: ::String,
|
|
146
|
+
value: ::String
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
?associated_resources: Array[::String],
|
|
150
|
+
?partner_contacts: Array[
|
|
151
|
+
{
|
|
152
|
+
email: ::String?,
|
|
153
|
+
first_name: ::String?,
|
|
154
|
+
last_name: ::String?,
|
|
155
|
+
business_title: ::String?,
|
|
156
|
+
phone: ::String?
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
?file_details: Array[
|
|
160
|
+
{
|
|
161
|
+
file_uri: ::String,
|
|
162
|
+
business_use_case: ::String?
|
|
163
|
+
},
|
|
164
|
+
]
|
|
165
|
+
) -> _CreateBenefitApplicationResponseSuccess
|
|
166
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBenefitApplicationResponseSuccess
|
|
167
|
+
|
|
168
|
+
interface _DisassociateBenefitApplicationResourceResponseSuccess
|
|
169
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateBenefitApplicationResourceOutput]
|
|
170
|
+
def id: () -> ::String
|
|
171
|
+
def arn: () -> ::String
|
|
172
|
+
def revision: () -> ::String
|
|
173
|
+
end
|
|
174
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#disassociate_benefit_application_resource-instance_method
|
|
175
|
+
def disassociate_benefit_application_resource: (
|
|
176
|
+
catalog: ::String,
|
|
177
|
+
benefit_application_identifier: ::String,
|
|
178
|
+
resource_arn: ::String
|
|
179
|
+
) -> _DisassociateBenefitApplicationResourceResponseSuccess
|
|
180
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateBenefitApplicationResourceResponseSuccess
|
|
181
|
+
|
|
182
|
+
interface _GetBenefitResponseSuccess
|
|
183
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBenefitOutput]
|
|
184
|
+
def id: () -> ::String
|
|
185
|
+
def catalog: () -> ::String
|
|
186
|
+
def arn: () -> ::String
|
|
187
|
+
def name: () -> ::String
|
|
188
|
+
def description: () -> ::String
|
|
189
|
+
def programs: () -> ::Array[::String]
|
|
190
|
+
def fulfillment_types: () -> ::Array[("CREDITS" | "CASH" | "ACCESS")]
|
|
191
|
+
def benefit_request_schema: () -> untyped
|
|
192
|
+
def status: () -> ("ACTIVE" | "INACTIVE")
|
|
193
|
+
end
|
|
194
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#get_benefit-instance_method
|
|
195
|
+
def get_benefit: (
|
|
196
|
+
catalog: ::String,
|
|
197
|
+
identifier: ::String
|
|
198
|
+
) -> _GetBenefitResponseSuccess
|
|
199
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBenefitResponseSuccess
|
|
200
|
+
|
|
201
|
+
interface _GetBenefitAllocationResponseSuccess
|
|
202
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBenefitAllocationOutput]
|
|
203
|
+
def id: () -> ::String
|
|
204
|
+
def catalog: () -> ::String
|
|
205
|
+
def arn: () -> ::String
|
|
206
|
+
def name: () -> ::String
|
|
207
|
+
def description: () -> ::String
|
|
208
|
+
def status: () -> ("ACTIVE" | "INACTIVE" | "FULFILLED")
|
|
209
|
+
def status_reason: () -> ::String
|
|
210
|
+
def benefit_application_id: () -> ::String
|
|
211
|
+
def benefit_id: () -> ::String
|
|
212
|
+
def fulfillment_type: () -> ("CREDITS" | "CASH" | "ACCESS")
|
|
213
|
+
def applicable_benefit_ids: () -> ::Array[::String]
|
|
214
|
+
def fulfillment_detail: () -> Types::FulfillmentDetails
|
|
215
|
+
def created_at: () -> ::Time
|
|
216
|
+
def updated_at: () -> ::Time
|
|
217
|
+
def starts_at: () -> ::Time
|
|
218
|
+
def expires_at: () -> ::Time
|
|
219
|
+
end
|
|
220
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#get_benefit_allocation-instance_method
|
|
221
|
+
def get_benefit_allocation: (
|
|
222
|
+
catalog: ::String,
|
|
223
|
+
identifier: ::String
|
|
224
|
+
) -> _GetBenefitAllocationResponseSuccess
|
|
225
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBenefitAllocationResponseSuccess
|
|
226
|
+
|
|
227
|
+
interface _GetBenefitApplicationResponseSuccess
|
|
228
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBenefitApplicationOutput]
|
|
229
|
+
def id: () -> ::String
|
|
230
|
+
def arn: () -> ::String
|
|
231
|
+
def catalog: () -> ::String
|
|
232
|
+
def benefit_id: () -> ::String
|
|
233
|
+
def name: () -> ::String
|
|
234
|
+
def description: () -> ::String
|
|
235
|
+
def fulfillment_types: () -> ::Array[("CREDITS" | "CASH" | "ACCESS")]
|
|
236
|
+
def benefit_application_details: () -> untyped
|
|
237
|
+
def programs: () -> ::Array[::String]
|
|
238
|
+
def status: () -> ("PENDING_SUBMISSION" | "IN_REVIEW" | "ACTION_REQUIRED" | "APPROVED" | "REJECTED" | "CANCELED")
|
|
239
|
+
def stage: () -> ::String
|
|
240
|
+
def status_reason: () -> ::String
|
|
241
|
+
def status_reason_code: () -> ::String
|
|
242
|
+
def status_reason_codes: () -> ::Array[::String]
|
|
243
|
+
def created_at: () -> ::Time
|
|
244
|
+
def updated_at: () -> ::Time
|
|
245
|
+
def revision: () -> ::String
|
|
246
|
+
def associated_resources: () -> ::Array[::String]
|
|
247
|
+
def partner_contacts: () -> ::Array[Types::Contact]
|
|
248
|
+
def file_details: () -> ::Array[Types::FileDetail]
|
|
249
|
+
end
|
|
250
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#get_benefit_application-instance_method
|
|
251
|
+
def get_benefit_application: (
|
|
252
|
+
catalog: ::String,
|
|
253
|
+
identifier: ::String
|
|
254
|
+
) -> _GetBenefitApplicationResponseSuccess
|
|
255
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBenefitApplicationResponseSuccess
|
|
256
|
+
|
|
257
|
+
interface _ListBenefitAllocationsResponseSuccess
|
|
258
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBenefitAllocationsOutput]
|
|
259
|
+
def benefit_allocation_summaries: () -> ::Array[Types::BenefitAllocationSummary]
|
|
260
|
+
def next_token: () -> ::String
|
|
261
|
+
end
|
|
262
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#list_benefit_allocations-instance_method
|
|
263
|
+
def list_benefit_allocations: (
|
|
264
|
+
catalog: ::String,
|
|
265
|
+
?fulfillment_types: Array[("CREDITS" | "CASH" | "ACCESS")],
|
|
266
|
+
?benefit_identifiers: Array[::String],
|
|
267
|
+
?benefit_application_identifiers: Array[::String],
|
|
268
|
+
?status: Array[("ACTIVE" | "INACTIVE" | "FULFILLED")],
|
|
269
|
+
?max_results: ::Integer,
|
|
270
|
+
?next_token: ::String
|
|
271
|
+
) -> _ListBenefitAllocationsResponseSuccess
|
|
272
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBenefitAllocationsResponseSuccess
|
|
273
|
+
|
|
274
|
+
interface _ListBenefitApplicationsResponseSuccess
|
|
275
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBenefitApplicationsOutput]
|
|
276
|
+
def benefit_application_summaries: () -> ::Array[Types::BenefitApplicationSummary]
|
|
277
|
+
def next_token: () -> ::String
|
|
278
|
+
end
|
|
279
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#list_benefit_applications-instance_method
|
|
280
|
+
def list_benefit_applications: (
|
|
281
|
+
catalog: ::String,
|
|
282
|
+
?programs: Array[::String],
|
|
283
|
+
?fulfillment_types: Array[("CREDITS" | "CASH" | "ACCESS")],
|
|
284
|
+
?benefit_identifiers: Array[::String],
|
|
285
|
+
?status: Array[("PENDING_SUBMISSION" | "IN_REVIEW" | "ACTION_REQUIRED" | "APPROVED" | "REJECTED" | "CANCELED")],
|
|
286
|
+
?stages: Array[::String],
|
|
287
|
+
?associated_resources: Array[
|
|
288
|
+
{
|
|
289
|
+
resource_type: ("OPPORTUNITY" | "BENEFIT_ALLOCATION")?,
|
|
290
|
+
resource_identifier: ::String?,
|
|
291
|
+
resource_arn: ::String?
|
|
292
|
+
},
|
|
293
|
+
],
|
|
294
|
+
?associated_resource_arns: Array[::String],
|
|
295
|
+
?max_results: ::Integer,
|
|
296
|
+
?next_token: ::String
|
|
297
|
+
) -> _ListBenefitApplicationsResponseSuccess
|
|
298
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBenefitApplicationsResponseSuccess
|
|
299
|
+
|
|
300
|
+
interface _ListBenefitsResponseSuccess
|
|
301
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBenefitsOutput]
|
|
302
|
+
def benefit_summaries: () -> ::Array[Types::BenefitSummary]
|
|
303
|
+
def next_token: () -> ::String
|
|
304
|
+
end
|
|
305
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#list_benefits-instance_method
|
|
306
|
+
def list_benefits: (
|
|
307
|
+
catalog: ::String,
|
|
308
|
+
?programs: Array[::String],
|
|
309
|
+
?fulfillment_types: Array[("CREDITS" | "CASH" | "ACCESS")],
|
|
310
|
+
?status: Array[("ACTIVE" | "INACTIVE")],
|
|
311
|
+
?max_results: ::Integer,
|
|
312
|
+
?next_token: ::String
|
|
313
|
+
) -> _ListBenefitsResponseSuccess
|
|
314
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBenefitsResponseSuccess
|
|
315
|
+
|
|
316
|
+
interface _ListTagsForResourceResponseSuccess
|
|
317
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
|
318
|
+
def tags: () -> ::Array[Types::Tag]
|
|
319
|
+
end
|
|
320
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#list_tags_for_resource-instance_method
|
|
321
|
+
def list_tags_for_resource: (
|
|
322
|
+
resource_arn: ::String
|
|
323
|
+
) -> _ListTagsForResourceResponseSuccess
|
|
324
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
|
325
|
+
|
|
326
|
+
interface _RecallBenefitApplicationResponseSuccess
|
|
327
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RecallBenefitApplicationOutput]
|
|
328
|
+
end
|
|
329
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#recall_benefit_application-instance_method
|
|
330
|
+
def recall_benefit_application: (
|
|
331
|
+
catalog: ::String,
|
|
332
|
+
?client_token: ::String,
|
|
333
|
+
identifier: ::String,
|
|
334
|
+
reason: ::String
|
|
335
|
+
) -> _RecallBenefitApplicationResponseSuccess
|
|
336
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RecallBenefitApplicationResponseSuccess
|
|
337
|
+
|
|
338
|
+
interface _SubmitBenefitApplicationResponseSuccess
|
|
339
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::SubmitBenefitApplicationOutput]
|
|
340
|
+
end
|
|
341
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#submit_benefit_application-instance_method
|
|
342
|
+
def submit_benefit_application: (
|
|
343
|
+
catalog: ::String,
|
|
344
|
+
identifier: ::String
|
|
345
|
+
) -> _SubmitBenefitApplicationResponseSuccess
|
|
346
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SubmitBenefitApplicationResponseSuccess
|
|
347
|
+
|
|
348
|
+
interface _TagResourceResponseSuccess
|
|
349
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
|
350
|
+
end
|
|
351
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#tag_resource-instance_method
|
|
352
|
+
def tag_resource: (
|
|
353
|
+
resource_arn: ::String,
|
|
354
|
+
tags: Array[
|
|
355
|
+
{
|
|
356
|
+
key: ::String,
|
|
357
|
+
value: ::String
|
|
358
|
+
},
|
|
359
|
+
]
|
|
360
|
+
) -> _TagResourceResponseSuccess
|
|
361
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
|
362
|
+
|
|
363
|
+
interface _UntagResourceResponseSuccess
|
|
364
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
|
365
|
+
end
|
|
366
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#untag_resource-instance_method
|
|
367
|
+
def untag_resource: (
|
|
368
|
+
resource_arn: ::String,
|
|
369
|
+
tag_keys: Array[::String]
|
|
370
|
+
) -> _UntagResourceResponseSuccess
|
|
371
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
|
372
|
+
|
|
373
|
+
interface _UpdateBenefitApplicationResponseSuccess
|
|
374
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateBenefitApplicationOutput]
|
|
375
|
+
def id: () -> ::String
|
|
376
|
+
def arn: () -> ::String
|
|
377
|
+
def revision: () -> ::String
|
|
378
|
+
end
|
|
379
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Client.html#update_benefit_application-instance_method
|
|
380
|
+
def update_benefit_application: (
|
|
381
|
+
catalog: ::String,
|
|
382
|
+
client_token: ::String,
|
|
383
|
+
?name: ::String,
|
|
384
|
+
?description: ::String,
|
|
385
|
+
identifier: ::String,
|
|
386
|
+
revision: ::String,
|
|
387
|
+
?benefit_application_details: {
|
|
388
|
+
},
|
|
389
|
+
?partner_contacts: Array[
|
|
390
|
+
{
|
|
391
|
+
email: ::String?,
|
|
392
|
+
first_name: ::String?,
|
|
393
|
+
last_name: ::String?,
|
|
394
|
+
business_title: ::String?,
|
|
395
|
+
phone: ::String?
|
|
396
|
+
},
|
|
397
|
+
],
|
|
398
|
+
?file_details: Array[
|
|
399
|
+
{
|
|
400
|
+
file_uri: ::String,
|
|
401
|
+
business_use_case: ::String?
|
|
402
|
+
},
|
|
403
|
+
]
|
|
404
|
+
) -> _UpdateBenefitApplicationResponseSuccess
|
|
405
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBenefitApplicationResponseSuccess
|
|
406
|
+
end
|
|
407
|
+
end
|
|
408
|
+
end
|
|
409
|
+
|
data/sig/errors.rbs
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
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 PartnerCentralBenefits
|
|
10
|
+
module Errors
|
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
|
15
|
+
def message: () -> ::String
|
|
16
|
+
end
|
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
|
18
|
+
def message: () -> ::String
|
|
19
|
+
end
|
|
20
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
|
21
|
+
def message: () -> ::String
|
|
22
|
+
end
|
|
23
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
|
24
|
+
def message: () -> ::String
|
|
25
|
+
end
|
|
26
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
|
27
|
+
def message: () -> ::String
|
|
28
|
+
def resource_id: () -> ::String
|
|
29
|
+
def resource_type: () -> ::String
|
|
30
|
+
def quota_code: () -> ::String
|
|
31
|
+
end
|
|
32
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
|
33
|
+
def message: () -> ::String
|
|
34
|
+
end
|
|
35
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
|
36
|
+
def message: () -> ::String
|
|
37
|
+
def reason: () -> ::String
|
|
38
|
+
def field_list: () -> ::String
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
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 PartnerCentralBenefits
|
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/Resource.html
|
|
11
|
+
class Resource
|
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PartnerCentralBenefits/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
|