aws-sdk-licensemanager 1.53.0 → 1.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-licensemanager/client.rb +70 -46
- data/lib/aws-sdk-licensemanager/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-licensemanager.rb +1 -1
- data/sig/client.rbs +977 -0
- data/sig/errors.rbs +69 -0
- data/sig/resource.rbs +80 -0
- data/sig/types.rbs +1106 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,977 @@
|
|
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 LicenseManager
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?simple_json: bool,
|
52
|
+
?stub_responses: untyped,
|
53
|
+
?token_provider: untyped,
|
54
|
+
?use_dualstack_endpoint: bool,
|
55
|
+
?use_fips_endpoint: bool,
|
56
|
+
?validate_params: bool,
|
57
|
+
?endpoint_provider: untyped,
|
58
|
+
?http_proxy: String,
|
59
|
+
?http_open_timeout: (Float | Integer),
|
60
|
+
?http_read_timeout: (Float | Integer),
|
61
|
+
?http_idle_timeout: (Float | Integer),
|
62
|
+
?http_continue_timeout: (Float | Integer),
|
63
|
+
?ssl_timeout: (Float | Integer | nil),
|
64
|
+
?http_wire_trace: bool,
|
65
|
+
?ssl_verify_peer: bool,
|
66
|
+
?ssl_ca_bundle: String,
|
67
|
+
?ssl_ca_directory: String,
|
68
|
+
?ssl_ca_store: String,
|
69
|
+
?on_chunk_received: Proc,
|
70
|
+
?on_chunk_sent: Proc,
|
71
|
+
?raise_response_errors: bool
|
72
|
+
) -> instance
|
73
|
+
| (?Hash[Symbol, untyped]) -> instance
|
74
|
+
|
75
|
+
|
76
|
+
interface _AcceptGrantResponseSuccess
|
77
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AcceptGrantResponse]
|
78
|
+
def grant_arn: () -> ::String
|
79
|
+
def status: () -> ("PENDING_WORKFLOW" | "PENDING_ACCEPT" | "REJECTED" | "ACTIVE" | "FAILED_WORKFLOW" | "DELETED" | "PENDING_DELETE" | "DISABLED" | "WORKFLOW_COMPLETED")
|
80
|
+
def version: () -> ::String
|
81
|
+
end
|
82
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#accept_grant-instance_method
|
83
|
+
def accept_grant: (
|
84
|
+
grant_arn: ::String
|
85
|
+
) -> _AcceptGrantResponseSuccess
|
86
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AcceptGrantResponseSuccess
|
87
|
+
|
88
|
+
interface _CheckInLicenseResponseSuccess
|
89
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CheckInLicenseResponse]
|
90
|
+
end
|
91
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#check_in_license-instance_method
|
92
|
+
def check_in_license: (
|
93
|
+
license_consumption_token: ::String,
|
94
|
+
?beneficiary: ::String
|
95
|
+
) -> _CheckInLicenseResponseSuccess
|
96
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CheckInLicenseResponseSuccess
|
97
|
+
|
98
|
+
interface _CheckoutBorrowLicenseResponseSuccess
|
99
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CheckoutBorrowLicenseResponse]
|
100
|
+
def license_arn: () -> ::String
|
101
|
+
def license_consumption_token: () -> ::String
|
102
|
+
def entitlements_allowed: () -> ::Array[Types::EntitlementData]
|
103
|
+
def node_id: () -> ::String
|
104
|
+
def signed_token: () -> ::String
|
105
|
+
def issued_at: () -> ::String
|
106
|
+
def expiration: () -> ::String
|
107
|
+
def checkout_metadata: () -> ::Array[Types::Metadata]
|
108
|
+
end
|
109
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#checkout_borrow_license-instance_method
|
110
|
+
def checkout_borrow_license: (
|
111
|
+
license_arn: ::String,
|
112
|
+
entitlements: Array[
|
113
|
+
{
|
114
|
+
name: ::String,
|
115
|
+
value: ::String?,
|
116
|
+
unit: ("Count" | "None" | "Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second")
|
117
|
+
},
|
118
|
+
],
|
119
|
+
digital_signature_method: ("JWT_PS384"),
|
120
|
+
?node_id: ::String,
|
121
|
+
?checkout_metadata: Array[
|
122
|
+
{
|
123
|
+
name: ::String?,
|
124
|
+
value: ::String?
|
125
|
+
},
|
126
|
+
],
|
127
|
+
client_token: ::String
|
128
|
+
) -> _CheckoutBorrowLicenseResponseSuccess
|
129
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CheckoutBorrowLicenseResponseSuccess
|
130
|
+
|
131
|
+
interface _CheckoutLicenseResponseSuccess
|
132
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CheckoutLicenseResponse]
|
133
|
+
def checkout_type: () -> ("PROVISIONAL" | "PERPETUAL")
|
134
|
+
def license_consumption_token: () -> ::String
|
135
|
+
def entitlements_allowed: () -> ::Array[Types::EntitlementData]
|
136
|
+
def signed_token: () -> ::String
|
137
|
+
def node_id: () -> ::String
|
138
|
+
def issued_at: () -> ::String
|
139
|
+
def expiration: () -> ::String
|
140
|
+
def license_arn: () -> ::String
|
141
|
+
end
|
142
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#checkout_license-instance_method
|
143
|
+
def checkout_license: (
|
144
|
+
product_sku: ::String,
|
145
|
+
checkout_type: ("PROVISIONAL" | "PERPETUAL"),
|
146
|
+
key_fingerprint: ::String,
|
147
|
+
entitlements: Array[
|
148
|
+
{
|
149
|
+
name: ::String,
|
150
|
+
value: ::String?,
|
151
|
+
unit: ("Count" | "None" | "Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second")
|
152
|
+
},
|
153
|
+
],
|
154
|
+
client_token: ::String,
|
155
|
+
?beneficiary: ::String,
|
156
|
+
?node_id: ::String
|
157
|
+
) -> _CheckoutLicenseResponseSuccess
|
158
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CheckoutLicenseResponseSuccess
|
159
|
+
|
160
|
+
interface _CreateGrantResponseSuccess
|
161
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateGrantResponse]
|
162
|
+
def grant_arn: () -> ::String
|
163
|
+
def status: () -> ("PENDING_WORKFLOW" | "PENDING_ACCEPT" | "REJECTED" | "ACTIVE" | "FAILED_WORKFLOW" | "DELETED" | "PENDING_DELETE" | "DISABLED" | "WORKFLOW_COMPLETED")
|
164
|
+
def version: () -> ::String
|
165
|
+
end
|
166
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#create_grant-instance_method
|
167
|
+
def create_grant: (
|
168
|
+
client_token: ::String,
|
169
|
+
grant_name: ::String,
|
170
|
+
license_arn: ::String,
|
171
|
+
principals: Array[::String],
|
172
|
+
home_region: ::String,
|
173
|
+
allowed_operations: Array[("CreateGrant" | "CheckoutLicense" | "CheckoutBorrowLicense" | "CheckInLicense" | "ExtendConsumptionLicense" | "ListPurchasedLicenses" | "CreateToken")]
|
174
|
+
) -> _CreateGrantResponseSuccess
|
175
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGrantResponseSuccess
|
176
|
+
|
177
|
+
interface _CreateGrantVersionResponseSuccess
|
178
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateGrantVersionResponse]
|
179
|
+
def grant_arn: () -> ::String
|
180
|
+
def status: () -> ("PENDING_WORKFLOW" | "PENDING_ACCEPT" | "REJECTED" | "ACTIVE" | "FAILED_WORKFLOW" | "DELETED" | "PENDING_DELETE" | "DISABLED" | "WORKFLOW_COMPLETED")
|
181
|
+
def version: () -> ::String
|
182
|
+
end
|
183
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#create_grant_version-instance_method
|
184
|
+
def create_grant_version: (
|
185
|
+
client_token: ::String,
|
186
|
+
grant_arn: ::String,
|
187
|
+
?grant_name: ::String,
|
188
|
+
?allowed_operations: Array[("CreateGrant" | "CheckoutLicense" | "CheckoutBorrowLicense" | "CheckInLicense" | "ExtendConsumptionLicense" | "ListPurchasedLicenses" | "CreateToken")],
|
189
|
+
?status: ("PENDING_WORKFLOW" | "PENDING_ACCEPT" | "REJECTED" | "ACTIVE" | "FAILED_WORKFLOW" | "DELETED" | "PENDING_DELETE" | "DISABLED" | "WORKFLOW_COMPLETED"),
|
190
|
+
?status_reason: ::String,
|
191
|
+
?source_version: ::String,
|
192
|
+
?options: {
|
193
|
+
activation_override_behavior: ("DISTRIBUTED_GRANTS_ONLY" | "ALL_GRANTS_PERMITTED_BY_ISSUER")?
|
194
|
+
}
|
195
|
+
) -> _CreateGrantVersionResponseSuccess
|
196
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGrantVersionResponseSuccess
|
197
|
+
|
198
|
+
interface _CreateLicenseResponseSuccess
|
199
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateLicenseResponse]
|
200
|
+
def license_arn: () -> ::String
|
201
|
+
def status: () -> ("AVAILABLE" | "PENDING_AVAILABLE" | "DEACTIVATED" | "SUSPENDED" | "EXPIRED" | "PENDING_DELETE" | "DELETED")
|
202
|
+
def version: () -> ::String
|
203
|
+
end
|
204
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#create_license-instance_method
|
205
|
+
def create_license: (
|
206
|
+
license_name: ::String,
|
207
|
+
product_name: ::String,
|
208
|
+
product_sku: ::String,
|
209
|
+
issuer: {
|
210
|
+
name: ::String,
|
211
|
+
sign_key: ::String?
|
212
|
+
},
|
213
|
+
home_region: ::String,
|
214
|
+
validity: {
|
215
|
+
begin: ::String,
|
216
|
+
end: ::String?
|
217
|
+
},
|
218
|
+
entitlements: Array[
|
219
|
+
{
|
220
|
+
name: ::String,
|
221
|
+
value: ::String?,
|
222
|
+
max_count: ::Integer?,
|
223
|
+
overage: bool?,
|
224
|
+
unit: ("Count" | "None" | "Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second"),
|
225
|
+
allow_check_in: bool?
|
226
|
+
},
|
227
|
+
],
|
228
|
+
beneficiary: ::String,
|
229
|
+
consumption_configuration: {
|
230
|
+
renew_type: ("None" | "Weekly" | "Monthly")?,
|
231
|
+
provisional_configuration: {
|
232
|
+
max_time_to_live_in_minutes: ::Integer
|
233
|
+
}?,
|
234
|
+
borrow_configuration: {
|
235
|
+
allow_early_check_in: bool,
|
236
|
+
max_time_to_live_in_minutes: ::Integer
|
237
|
+
}?
|
238
|
+
},
|
239
|
+
?license_metadata: Array[
|
240
|
+
{
|
241
|
+
name: ::String?,
|
242
|
+
value: ::String?
|
243
|
+
},
|
244
|
+
],
|
245
|
+
client_token: ::String
|
246
|
+
) -> _CreateLicenseResponseSuccess
|
247
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLicenseResponseSuccess
|
248
|
+
|
249
|
+
interface _CreateLicenseConfigurationResponseSuccess
|
250
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateLicenseConfigurationResponse]
|
251
|
+
def license_configuration_arn: () -> ::String
|
252
|
+
end
|
253
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#create_license_configuration-instance_method
|
254
|
+
def create_license_configuration: (
|
255
|
+
name: ::String,
|
256
|
+
?description: ::String,
|
257
|
+
license_counting_type: ("vCPU" | "Instance" | "Core" | "Socket"),
|
258
|
+
?license_count: ::Integer,
|
259
|
+
?license_count_hard_limit: bool,
|
260
|
+
?license_rules: Array[::String],
|
261
|
+
?tags: Array[
|
262
|
+
{
|
263
|
+
key: ::String?,
|
264
|
+
value: ::String?
|
265
|
+
},
|
266
|
+
],
|
267
|
+
?disassociate_when_not_found: bool,
|
268
|
+
?product_information_list: Array[
|
269
|
+
{
|
270
|
+
resource_type: ::String,
|
271
|
+
product_information_filter_list: Array[
|
272
|
+
{
|
273
|
+
product_information_filter_name: ::String,
|
274
|
+
product_information_filter_value: Array[::String]?,
|
275
|
+
product_information_filter_comparator: ::String
|
276
|
+
},
|
277
|
+
]
|
278
|
+
},
|
279
|
+
]
|
280
|
+
) -> _CreateLicenseConfigurationResponseSuccess
|
281
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLicenseConfigurationResponseSuccess
|
282
|
+
|
283
|
+
interface _CreateLicenseConversionTaskForResourceResponseSuccess
|
284
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateLicenseConversionTaskForResourceResponse]
|
285
|
+
def license_conversion_task_id: () -> ::String
|
286
|
+
end
|
287
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#create_license_conversion_task_for_resource-instance_method
|
288
|
+
def create_license_conversion_task_for_resource: (
|
289
|
+
resource_arn: ::String,
|
290
|
+
source_license_context: {
|
291
|
+
usage_operation: ::String?
|
292
|
+
},
|
293
|
+
destination_license_context: {
|
294
|
+
usage_operation: ::String?
|
295
|
+
}
|
296
|
+
) -> _CreateLicenseConversionTaskForResourceResponseSuccess
|
297
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLicenseConversionTaskForResourceResponseSuccess
|
298
|
+
|
299
|
+
interface _CreateLicenseManagerReportGeneratorResponseSuccess
|
300
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateLicenseManagerReportGeneratorResponse]
|
301
|
+
def license_manager_report_generator_arn: () -> ::String
|
302
|
+
end
|
303
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#create_license_manager_report_generator-instance_method
|
304
|
+
def create_license_manager_report_generator: (
|
305
|
+
report_generator_name: ::String,
|
306
|
+
type: Array[("LicenseConfigurationSummaryReport" | "LicenseConfigurationUsageReport")],
|
307
|
+
report_context: {
|
308
|
+
license_configuration_arns: Array[::String]
|
309
|
+
},
|
310
|
+
report_frequency: {
|
311
|
+
value: ::Integer?,
|
312
|
+
period: ("DAY" | "WEEK" | "MONTH")?
|
313
|
+
},
|
314
|
+
client_token: ::String,
|
315
|
+
?description: ::String,
|
316
|
+
?tags: Array[
|
317
|
+
{
|
318
|
+
key: ::String?,
|
319
|
+
value: ::String?
|
320
|
+
},
|
321
|
+
]
|
322
|
+
) -> _CreateLicenseManagerReportGeneratorResponseSuccess
|
323
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLicenseManagerReportGeneratorResponseSuccess
|
324
|
+
|
325
|
+
interface _CreateLicenseVersionResponseSuccess
|
326
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateLicenseVersionResponse]
|
327
|
+
def license_arn: () -> ::String
|
328
|
+
def version: () -> ::String
|
329
|
+
def status: () -> ("AVAILABLE" | "PENDING_AVAILABLE" | "DEACTIVATED" | "SUSPENDED" | "EXPIRED" | "PENDING_DELETE" | "DELETED")
|
330
|
+
end
|
331
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#create_license_version-instance_method
|
332
|
+
def create_license_version: (
|
333
|
+
license_arn: ::String,
|
334
|
+
license_name: ::String,
|
335
|
+
product_name: ::String,
|
336
|
+
issuer: {
|
337
|
+
name: ::String,
|
338
|
+
sign_key: ::String?
|
339
|
+
},
|
340
|
+
home_region: ::String,
|
341
|
+
validity: {
|
342
|
+
begin: ::String,
|
343
|
+
end: ::String?
|
344
|
+
},
|
345
|
+
?license_metadata: Array[
|
346
|
+
{
|
347
|
+
name: ::String?,
|
348
|
+
value: ::String?
|
349
|
+
},
|
350
|
+
],
|
351
|
+
entitlements: Array[
|
352
|
+
{
|
353
|
+
name: ::String,
|
354
|
+
value: ::String?,
|
355
|
+
max_count: ::Integer?,
|
356
|
+
overage: bool?,
|
357
|
+
unit: ("Count" | "None" | "Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second"),
|
358
|
+
allow_check_in: bool?
|
359
|
+
},
|
360
|
+
],
|
361
|
+
consumption_configuration: {
|
362
|
+
renew_type: ("None" | "Weekly" | "Monthly")?,
|
363
|
+
provisional_configuration: {
|
364
|
+
max_time_to_live_in_minutes: ::Integer
|
365
|
+
}?,
|
366
|
+
borrow_configuration: {
|
367
|
+
allow_early_check_in: bool,
|
368
|
+
max_time_to_live_in_minutes: ::Integer
|
369
|
+
}?
|
370
|
+
},
|
371
|
+
status: ("AVAILABLE" | "PENDING_AVAILABLE" | "DEACTIVATED" | "SUSPENDED" | "EXPIRED" | "PENDING_DELETE" | "DELETED"),
|
372
|
+
client_token: ::String,
|
373
|
+
?source_version: ::String
|
374
|
+
) -> _CreateLicenseVersionResponseSuccess
|
375
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLicenseVersionResponseSuccess
|
376
|
+
|
377
|
+
interface _CreateTokenResponseSuccess
|
378
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTokenResponse]
|
379
|
+
def token_id: () -> ::String
|
380
|
+
def token_type: () -> ("REFRESH_TOKEN")
|
381
|
+
def token: () -> ::String
|
382
|
+
end
|
383
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#create_token-instance_method
|
384
|
+
def create_token: (
|
385
|
+
license_arn: ::String,
|
386
|
+
?role_arns: Array[::String],
|
387
|
+
?expiration_in_days: ::Integer,
|
388
|
+
?token_properties: Array[::String],
|
389
|
+
client_token: ::String
|
390
|
+
) -> _CreateTokenResponseSuccess
|
391
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTokenResponseSuccess
|
392
|
+
|
393
|
+
interface _DeleteGrantResponseSuccess
|
394
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGrantResponse]
|
395
|
+
def grant_arn: () -> ::String
|
396
|
+
def status: () -> ("PENDING_WORKFLOW" | "PENDING_ACCEPT" | "REJECTED" | "ACTIVE" | "FAILED_WORKFLOW" | "DELETED" | "PENDING_DELETE" | "DISABLED" | "WORKFLOW_COMPLETED")
|
397
|
+
def version: () -> ::String
|
398
|
+
end
|
399
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#delete_grant-instance_method
|
400
|
+
def delete_grant: (
|
401
|
+
grant_arn: ::String,
|
402
|
+
?status_reason: ::String,
|
403
|
+
version: ::String
|
404
|
+
) -> _DeleteGrantResponseSuccess
|
405
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGrantResponseSuccess
|
406
|
+
|
407
|
+
interface _DeleteLicenseResponseSuccess
|
408
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLicenseResponse]
|
409
|
+
def status: () -> ("PENDING_DELETE" | "DELETED")
|
410
|
+
def deletion_date: () -> ::String
|
411
|
+
end
|
412
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#delete_license-instance_method
|
413
|
+
def delete_license: (
|
414
|
+
license_arn: ::String,
|
415
|
+
source_version: ::String
|
416
|
+
) -> _DeleteLicenseResponseSuccess
|
417
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLicenseResponseSuccess
|
418
|
+
|
419
|
+
interface _DeleteLicenseConfigurationResponseSuccess
|
420
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLicenseConfigurationResponse]
|
421
|
+
end
|
422
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#delete_license_configuration-instance_method
|
423
|
+
def delete_license_configuration: (
|
424
|
+
license_configuration_arn: ::String
|
425
|
+
) -> _DeleteLicenseConfigurationResponseSuccess
|
426
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLicenseConfigurationResponseSuccess
|
427
|
+
|
428
|
+
interface _DeleteLicenseManagerReportGeneratorResponseSuccess
|
429
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLicenseManagerReportGeneratorResponse]
|
430
|
+
end
|
431
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#delete_license_manager_report_generator-instance_method
|
432
|
+
def delete_license_manager_report_generator: (
|
433
|
+
license_manager_report_generator_arn: ::String
|
434
|
+
) -> _DeleteLicenseManagerReportGeneratorResponseSuccess
|
435
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLicenseManagerReportGeneratorResponseSuccess
|
436
|
+
|
437
|
+
interface _DeleteTokenResponseSuccess
|
438
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTokenResponse]
|
439
|
+
end
|
440
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#delete_token-instance_method
|
441
|
+
def delete_token: (
|
442
|
+
token_id: ::String
|
443
|
+
) -> _DeleteTokenResponseSuccess
|
444
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTokenResponseSuccess
|
445
|
+
|
446
|
+
interface _ExtendLicenseConsumptionResponseSuccess
|
447
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ExtendLicenseConsumptionResponse]
|
448
|
+
def license_consumption_token: () -> ::String
|
449
|
+
def expiration: () -> ::String
|
450
|
+
end
|
451
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#extend_license_consumption-instance_method
|
452
|
+
def extend_license_consumption: (
|
453
|
+
license_consumption_token: ::String,
|
454
|
+
?dry_run: bool
|
455
|
+
) -> _ExtendLicenseConsumptionResponseSuccess
|
456
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExtendLicenseConsumptionResponseSuccess
|
457
|
+
|
458
|
+
interface _GetAccessTokenResponseSuccess
|
459
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAccessTokenResponse]
|
460
|
+
def access_token: () -> ::String
|
461
|
+
end
|
462
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#get_access_token-instance_method
|
463
|
+
def get_access_token: (
|
464
|
+
token: ::String,
|
465
|
+
?token_properties: Array[::String]
|
466
|
+
) -> _GetAccessTokenResponseSuccess
|
467
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccessTokenResponseSuccess
|
468
|
+
|
469
|
+
interface _GetGrantResponseSuccess
|
470
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetGrantResponse]
|
471
|
+
def grant: () -> Types::Grant
|
472
|
+
end
|
473
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#get_grant-instance_method
|
474
|
+
def get_grant: (
|
475
|
+
grant_arn: ::String,
|
476
|
+
?version: ::String
|
477
|
+
) -> _GetGrantResponseSuccess
|
478
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGrantResponseSuccess
|
479
|
+
|
480
|
+
interface _GetLicenseResponseSuccess
|
481
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLicenseResponse]
|
482
|
+
def license: () -> Types::License
|
483
|
+
end
|
484
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#get_license-instance_method
|
485
|
+
def get_license: (
|
486
|
+
license_arn: ::String,
|
487
|
+
?version: ::String
|
488
|
+
) -> _GetLicenseResponseSuccess
|
489
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLicenseResponseSuccess
|
490
|
+
|
491
|
+
interface _GetLicenseConfigurationResponseSuccess
|
492
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLicenseConfigurationResponse]
|
493
|
+
def license_configuration_id: () -> ::String
|
494
|
+
def license_configuration_arn: () -> ::String
|
495
|
+
def name: () -> ::String
|
496
|
+
def description: () -> ::String
|
497
|
+
def license_counting_type: () -> ("vCPU" | "Instance" | "Core" | "Socket")
|
498
|
+
def license_rules: () -> ::Array[::String]
|
499
|
+
def license_count: () -> ::Integer
|
500
|
+
def license_count_hard_limit: () -> bool
|
501
|
+
def consumed_licenses: () -> ::Integer
|
502
|
+
def status: () -> ::String
|
503
|
+
def owner_account_id: () -> ::String
|
504
|
+
def consumed_license_summary_list: () -> ::Array[Types::ConsumedLicenseSummary]
|
505
|
+
def managed_resource_summary_list: () -> ::Array[Types::ManagedResourceSummary]
|
506
|
+
def tags: () -> ::Array[Types::Tag]
|
507
|
+
def product_information_list: () -> ::Array[Types::ProductInformation]
|
508
|
+
def automated_discovery_information: () -> Types::AutomatedDiscoveryInformation
|
509
|
+
def disassociate_when_not_found: () -> bool
|
510
|
+
end
|
511
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#get_license_configuration-instance_method
|
512
|
+
def get_license_configuration: (
|
513
|
+
license_configuration_arn: ::String
|
514
|
+
) -> _GetLicenseConfigurationResponseSuccess
|
515
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLicenseConfigurationResponseSuccess
|
516
|
+
|
517
|
+
interface _GetLicenseConversionTaskResponseSuccess
|
518
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLicenseConversionTaskResponse]
|
519
|
+
def license_conversion_task_id: () -> ::String
|
520
|
+
def resource_arn: () -> ::String
|
521
|
+
def source_license_context: () -> Types::LicenseConversionContext
|
522
|
+
def destination_license_context: () -> Types::LicenseConversionContext
|
523
|
+
def status_message: () -> ::String
|
524
|
+
def status: () -> ("IN_PROGRESS" | "SUCCEEDED" | "FAILED")
|
525
|
+
def start_time: () -> ::Time
|
526
|
+
def license_conversion_time: () -> ::Time
|
527
|
+
def end_time: () -> ::Time
|
528
|
+
end
|
529
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#get_license_conversion_task-instance_method
|
530
|
+
def get_license_conversion_task: (
|
531
|
+
license_conversion_task_id: ::String
|
532
|
+
) -> _GetLicenseConversionTaskResponseSuccess
|
533
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLicenseConversionTaskResponseSuccess
|
534
|
+
|
535
|
+
interface _GetLicenseManagerReportGeneratorResponseSuccess
|
536
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLicenseManagerReportGeneratorResponse]
|
537
|
+
def report_generator: () -> Types::ReportGenerator
|
538
|
+
end
|
539
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#get_license_manager_report_generator-instance_method
|
540
|
+
def get_license_manager_report_generator: (
|
541
|
+
license_manager_report_generator_arn: ::String
|
542
|
+
) -> _GetLicenseManagerReportGeneratorResponseSuccess
|
543
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLicenseManagerReportGeneratorResponseSuccess
|
544
|
+
|
545
|
+
interface _GetLicenseUsageResponseSuccess
|
546
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetLicenseUsageResponse]
|
547
|
+
def license_usage: () -> Types::LicenseUsage
|
548
|
+
end
|
549
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#get_license_usage-instance_method
|
550
|
+
def get_license_usage: (
|
551
|
+
license_arn: ::String
|
552
|
+
) -> _GetLicenseUsageResponseSuccess
|
553
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLicenseUsageResponseSuccess
|
554
|
+
|
555
|
+
interface _GetServiceSettingsResponseSuccess
|
556
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetServiceSettingsResponse]
|
557
|
+
def s3_bucket_arn: () -> ::String
|
558
|
+
def sns_topic_arn: () -> ::String
|
559
|
+
def organization_configuration: () -> Types::OrganizationConfiguration
|
560
|
+
def enable_cross_accounts_discovery: () -> bool
|
561
|
+
def license_manager_resource_share_arn: () -> ::String
|
562
|
+
end
|
563
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#get_service_settings-instance_method
|
564
|
+
def get_service_settings: (
|
565
|
+
) -> _GetServiceSettingsResponseSuccess
|
566
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetServiceSettingsResponseSuccess
|
567
|
+
|
568
|
+
interface _ListAssociationsForLicenseConfigurationResponseSuccess
|
569
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListAssociationsForLicenseConfigurationResponse]
|
570
|
+
def license_configuration_associations: () -> ::Array[Types::LicenseConfigurationAssociation]
|
571
|
+
def next_token: () -> ::String
|
572
|
+
end
|
573
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_associations_for_license_configuration-instance_method
|
574
|
+
def list_associations_for_license_configuration: (
|
575
|
+
license_configuration_arn: ::String,
|
576
|
+
?max_results: ::Integer,
|
577
|
+
?next_token: ::String
|
578
|
+
) -> _ListAssociationsForLicenseConfigurationResponseSuccess
|
579
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssociationsForLicenseConfigurationResponseSuccess
|
580
|
+
|
581
|
+
interface _ListDistributedGrantsResponseSuccess
|
582
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributedGrantsResponse]
|
583
|
+
def grants: () -> ::Array[Types::Grant]
|
584
|
+
def next_token: () -> ::String
|
585
|
+
end
|
586
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_distributed_grants-instance_method
|
587
|
+
def list_distributed_grants: (
|
588
|
+
?grant_arns: Array[::String],
|
589
|
+
?filters: Array[
|
590
|
+
{
|
591
|
+
name: ::String?,
|
592
|
+
values: Array[::String]?
|
593
|
+
},
|
594
|
+
],
|
595
|
+
?next_token: ::String,
|
596
|
+
?max_results: ::Integer
|
597
|
+
) -> _ListDistributedGrantsResponseSuccess
|
598
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributedGrantsResponseSuccess
|
599
|
+
|
600
|
+
interface _ListFailuresForLicenseConfigurationOperationsResponseSuccess
|
601
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListFailuresForLicenseConfigurationOperationsResponse]
|
602
|
+
def license_operation_failure_list: () -> ::Array[Types::LicenseOperationFailure]
|
603
|
+
def next_token: () -> ::String
|
604
|
+
end
|
605
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_failures_for_license_configuration_operations-instance_method
|
606
|
+
def list_failures_for_license_configuration_operations: (
|
607
|
+
license_configuration_arn: ::String,
|
608
|
+
?max_results: ::Integer,
|
609
|
+
?next_token: ::String
|
610
|
+
) -> _ListFailuresForLicenseConfigurationOperationsResponseSuccess
|
611
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFailuresForLicenseConfigurationOperationsResponseSuccess
|
612
|
+
|
613
|
+
interface _ListLicenseConfigurationsResponseSuccess
|
614
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListLicenseConfigurationsResponse]
|
615
|
+
def license_configurations: () -> ::Array[Types::LicenseConfiguration]
|
616
|
+
def next_token: () -> ::String
|
617
|
+
end
|
618
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_license_configurations-instance_method
|
619
|
+
def list_license_configurations: (
|
620
|
+
?license_configuration_arns: Array[::String],
|
621
|
+
?max_results: ::Integer,
|
622
|
+
?next_token: ::String,
|
623
|
+
?filters: Array[
|
624
|
+
{
|
625
|
+
name: ::String?,
|
626
|
+
values: Array[::String]?
|
627
|
+
},
|
628
|
+
]
|
629
|
+
) -> _ListLicenseConfigurationsResponseSuccess
|
630
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLicenseConfigurationsResponseSuccess
|
631
|
+
|
632
|
+
interface _ListLicenseConversionTasksResponseSuccess
|
633
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListLicenseConversionTasksResponse]
|
634
|
+
def license_conversion_tasks: () -> ::Array[Types::LicenseConversionTask]
|
635
|
+
def next_token: () -> ::String
|
636
|
+
end
|
637
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_license_conversion_tasks-instance_method
|
638
|
+
def list_license_conversion_tasks: (
|
639
|
+
?next_token: ::String,
|
640
|
+
?max_results: ::Integer,
|
641
|
+
?filters: Array[
|
642
|
+
{
|
643
|
+
name: ::String?,
|
644
|
+
values: Array[::String]?
|
645
|
+
},
|
646
|
+
]
|
647
|
+
) -> _ListLicenseConversionTasksResponseSuccess
|
648
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLicenseConversionTasksResponseSuccess
|
649
|
+
|
650
|
+
interface _ListLicenseManagerReportGeneratorsResponseSuccess
|
651
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListLicenseManagerReportGeneratorsResponse]
|
652
|
+
def report_generators: () -> ::Array[Types::ReportGenerator]
|
653
|
+
def next_token: () -> ::String
|
654
|
+
end
|
655
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_license_manager_report_generators-instance_method
|
656
|
+
def list_license_manager_report_generators: (
|
657
|
+
?filters: Array[
|
658
|
+
{
|
659
|
+
name: ::String?,
|
660
|
+
values: Array[::String]?
|
661
|
+
},
|
662
|
+
],
|
663
|
+
?next_token: ::String,
|
664
|
+
?max_results: ::Integer
|
665
|
+
) -> _ListLicenseManagerReportGeneratorsResponseSuccess
|
666
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLicenseManagerReportGeneratorsResponseSuccess
|
667
|
+
|
668
|
+
interface _ListLicenseSpecificationsForResourceResponseSuccess
|
669
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListLicenseSpecificationsForResourceResponse]
|
670
|
+
def license_specifications: () -> ::Array[Types::LicenseSpecification]
|
671
|
+
def next_token: () -> ::String
|
672
|
+
end
|
673
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_license_specifications_for_resource-instance_method
|
674
|
+
def list_license_specifications_for_resource: (
|
675
|
+
resource_arn: ::String,
|
676
|
+
?max_results: ::Integer,
|
677
|
+
?next_token: ::String
|
678
|
+
) -> _ListLicenseSpecificationsForResourceResponseSuccess
|
679
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLicenseSpecificationsForResourceResponseSuccess
|
680
|
+
|
681
|
+
interface _ListLicenseVersionsResponseSuccess
|
682
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListLicenseVersionsResponse]
|
683
|
+
def licenses: () -> ::Array[Types::License]
|
684
|
+
def next_token: () -> ::String
|
685
|
+
end
|
686
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_license_versions-instance_method
|
687
|
+
def list_license_versions: (
|
688
|
+
license_arn: ::String,
|
689
|
+
?next_token: ::String,
|
690
|
+
?max_results: ::Integer
|
691
|
+
) -> _ListLicenseVersionsResponseSuccess
|
692
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLicenseVersionsResponseSuccess
|
693
|
+
|
694
|
+
interface _ListLicensesResponseSuccess
|
695
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListLicensesResponse]
|
696
|
+
def licenses: () -> ::Array[Types::License]
|
697
|
+
def next_token: () -> ::String
|
698
|
+
end
|
699
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_licenses-instance_method
|
700
|
+
def list_licenses: (
|
701
|
+
?license_arns: Array[::String],
|
702
|
+
?filters: Array[
|
703
|
+
{
|
704
|
+
name: ::String?,
|
705
|
+
values: Array[::String]?
|
706
|
+
},
|
707
|
+
],
|
708
|
+
?next_token: ::String,
|
709
|
+
?max_results: ::Integer
|
710
|
+
) -> _ListLicensesResponseSuccess
|
711
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLicensesResponseSuccess
|
712
|
+
|
713
|
+
interface _ListReceivedGrantsResponseSuccess
|
714
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListReceivedGrantsResponse]
|
715
|
+
def grants: () -> ::Array[Types::Grant]
|
716
|
+
def next_token: () -> ::String
|
717
|
+
end
|
718
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_received_grants-instance_method
|
719
|
+
def list_received_grants: (
|
720
|
+
?grant_arns: Array[::String],
|
721
|
+
?filters: Array[
|
722
|
+
{
|
723
|
+
name: ::String?,
|
724
|
+
values: Array[::String]?
|
725
|
+
},
|
726
|
+
],
|
727
|
+
?next_token: ::String,
|
728
|
+
?max_results: ::Integer
|
729
|
+
) -> _ListReceivedGrantsResponseSuccess
|
730
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReceivedGrantsResponseSuccess
|
731
|
+
|
732
|
+
interface _ListReceivedGrantsForOrganizationResponseSuccess
|
733
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListReceivedGrantsForOrganizationResponse]
|
734
|
+
def grants: () -> ::Array[Types::Grant]
|
735
|
+
def next_token: () -> ::String
|
736
|
+
end
|
737
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_received_grants_for_organization-instance_method
|
738
|
+
def list_received_grants_for_organization: (
|
739
|
+
license_arn: ::String,
|
740
|
+
?filters: Array[
|
741
|
+
{
|
742
|
+
name: ::String?,
|
743
|
+
values: Array[::String]?
|
744
|
+
},
|
745
|
+
],
|
746
|
+
?next_token: ::String,
|
747
|
+
?max_results: ::Integer
|
748
|
+
) -> _ListReceivedGrantsForOrganizationResponseSuccess
|
749
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReceivedGrantsForOrganizationResponseSuccess
|
750
|
+
|
751
|
+
interface _ListReceivedLicensesResponseSuccess
|
752
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListReceivedLicensesResponse]
|
753
|
+
def licenses: () -> ::Array[Types::GrantedLicense]
|
754
|
+
def next_token: () -> ::String
|
755
|
+
end
|
756
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_received_licenses-instance_method
|
757
|
+
def list_received_licenses: (
|
758
|
+
?license_arns: Array[::String],
|
759
|
+
?filters: Array[
|
760
|
+
{
|
761
|
+
name: ::String?,
|
762
|
+
values: Array[::String]?
|
763
|
+
},
|
764
|
+
],
|
765
|
+
?next_token: ::String,
|
766
|
+
?max_results: ::Integer
|
767
|
+
) -> _ListReceivedLicensesResponseSuccess
|
768
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReceivedLicensesResponseSuccess
|
769
|
+
|
770
|
+
interface _ListReceivedLicensesForOrganizationResponseSuccess
|
771
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListReceivedLicensesForOrganizationResponse]
|
772
|
+
def licenses: () -> ::Array[Types::GrantedLicense]
|
773
|
+
def next_token: () -> ::String
|
774
|
+
end
|
775
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_received_licenses_for_organization-instance_method
|
776
|
+
def list_received_licenses_for_organization: (
|
777
|
+
?filters: Array[
|
778
|
+
{
|
779
|
+
name: ::String?,
|
780
|
+
values: Array[::String]?
|
781
|
+
},
|
782
|
+
],
|
783
|
+
?next_token: ::String,
|
784
|
+
?max_results: ::Integer
|
785
|
+
) -> _ListReceivedLicensesForOrganizationResponseSuccess
|
786
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReceivedLicensesForOrganizationResponseSuccess
|
787
|
+
|
788
|
+
interface _ListResourceInventoryResponseSuccess
|
789
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceInventoryResponse]
|
790
|
+
def resource_inventory_list: () -> ::Array[Types::ResourceInventory]
|
791
|
+
def next_token: () -> ::String
|
792
|
+
end
|
793
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_resource_inventory-instance_method
|
794
|
+
def list_resource_inventory: (
|
795
|
+
?max_results: ::Integer,
|
796
|
+
?next_token: ::String,
|
797
|
+
?filters: Array[
|
798
|
+
{
|
799
|
+
name: ::String,
|
800
|
+
condition: ("EQUALS" | "NOT_EQUALS" | "BEGINS_WITH" | "CONTAINS"),
|
801
|
+
value: ::String?
|
802
|
+
},
|
803
|
+
]
|
804
|
+
) -> _ListResourceInventoryResponseSuccess
|
805
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceInventoryResponseSuccess
|
806
|
+
|
807
|
+
interface _ListTagsForResourceResponseSuccess
|
808
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
809
|
+
def tags: () -> ::Array[Types::Tag]
|
810
|
+
end
|
811
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_tags_for_resource-instance_method
|
812
|
+
def list_tags_for_resource: (
|
813
|
+
resource_arn: ::String
|
814
|
+
) -> _ListTagsForResourceResponseSuccess
|
815
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
816
|
+
|
817
|
+
interface _ListTokensResponseSuccess
|
818
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTokensResponse]
|
819
|
+
def tokens: () -> ::Array[Types::TokenData]
|
820
|
+
def next_token: () -> ::String
|
821
|
+
end
|
822
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_tokens-instance_method
|
823
|
+
def list_tokens: (
|
824
|
+
?token_ids: Array[::String],
|
825
|
+
?filters: Array[
|
826
|
+
{
|
827
|
+
name: ::String?,
|
828
|
+
values: Array[::String]?
|
829
|
+
},
|
830
|
+
],
|
831
|
+
?next_token: ::String,
|
832
|
+
?max_results: ::Integer
|
833
|
+
) -> _ListTokensResponseSuccess
|
834
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTokensResponseSuccess
|
835
|
+
|
836
|
+
interface _ListUsageForLicenseConfigurationResponseSuccess
|
837
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListUsageForLicenseConfigurationResponse]
|
838
|
+
def license_configuration_usage_list: () -> ::Array[Types::LicenseConfigurationUsage]
|
839
|
+
def next_token: () -> ::String
|
840
|
+
end
|
841
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#list_usage_for_license_configuration-instance_method
|
842
|
+
def list_usage_for_license_configuration: (
|
843
|
+
license_configuration_arn: ::String,
|
844
|
+
?max_results: ::Integer,
|
845
|
+
?next_token: ::String,
|
846
|
+
?filters: Array[
|
847
|
+
{
|
848
|
+
name: ::String?,
|
849
|
+
values: Array[::String]?
|
850
|
+
},
|
851
|
+
]
|
852
|
+
) -> _ListUsageForLicenseConfigurationResponseSuccess
|
853
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListUsageForLicenseConfigurationResponseSuccess
|
854
|
+
|
855
|
+
interface _RejectGrantResponseSuccess
|
856
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::RejectGrantResponse]
|
857
|
+
def grant_arn: () -> ::String
|
858
|
+
def status: () -> ("PENDING_WORKFLOW" | "PENDING_ACCEPT" | "REJECTED" | "ACTIVE" | "FAILED_WORKFLOW" | "DELETED" | "PENDING_DELETE" | "DISABLED" | "WORKFLOW_COMPLETED")
|
859
|
+
def version: () -> ::String
|
860
|
+
end
|
861
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#reject_grant-instance_method
|
862
|
+
def reject_grant: (
|
863
|
+
grant_arn: ::String
|
864
|
+
) -> _RejectGrantResponseSuccess
|
865
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RejectGrantResponseSuccess
|
866
|
+
|
867
|
+
interface _TagResourceResponseSuccess
|
868
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
869
|
+
end
|
870
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#tag_resource-instance_method
|
871
|
+
def tag_resource: (
|
872
|
+
resource_arn: ::String,
|
873
|
+
tags: Array[
|
874
|
+
{
|
875
|
+
key: ::String?,
|
876
|
+
value: ::String?
|
877
|
+
},
|
878
|
+
]
|
879
|
+
) -> _TagResourceResponseSuccess
|
880
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
881
|
+
|
882
|
+
interface _UntagResourceResponseSuccess
|
883
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
884
|
+
end
|
885
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#untag_resource-instance_method
|
886
|
+
def untag_resource: (
|
887
|
+
resource_arn: ::String,
|
888
|
+
tag_keys: Array[::String]
|
889
|
+
) -> _UntagResourceResponseSuccess
|
890
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
891
|
+
|
892
|
+
interface _UpdateLicenseConfigurationResponseSuccess
|
893
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLicenseConfigurationResponse]
|
894
|
+
end
|
895
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#update_license_configuration-instance_method
|
896
|
+
def update_license_configuration: (
|
897
|
+
license_configuration_arn: ::String,
|
898
|
+
?license_configuration_status: ("AVAILABLE" | "DISABLED"),
|
899
|
+
?license_rules: Array[::String],
|
900
|
+
?license_count: ::Integer,
|
901
|
+
?license_count_hard_limit: bool,
|
902
|
+
?name: ::String,
|
903
|
+
?description: ::String,
|
904
|
+
?product_information_list: Array[
|
905
|
+
{
|
906
|
+
resource_type: ::String,
|
907
|
+
product_information_filter_list: Array[
|
908
|
+
{
|
909
|
+
product_information_filter_name: ::String,
|
910
|
+
product_information_filter_value: Array[::String]?,
|
911
|
+
product_information_filter_comparator: ::String
|
912
|
+
},
|
913
|
+
]
|
914
|
+
},
|
915
|
+
],
|
916
|
+
?disassociate_when_not_found: bool
|
917
|
+
) -> _UpdateLicenseConfigurationResponseSuccess
|
918
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLicenseConfigurationResponseSuccess
|
919
|
+
|
920
|
+
interface _UpdateLicenseManagerReportGeneratorResponseSuccess
|
921
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLicenseManagerReportGeneratorResponse]
|
922
|
+
end
|
923
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#update_license_manager_report_generator-instance_method
|
924
|
+
def update_license_manager_report_generator: (
|
925
|
+
license_manager_report_generator_arn: ::String,
|
926
|
+
report_generator_name: ::String,
|
927
|
+
type: Array[("LicenseConfigurationSummaryReport" | "LicenseConfigurationUsageReport")],
|
928
|
+
report_context: {
|
929
|
+
license_configuration_arns: Array[::String]
|
930
|
+
},
|
931
|
+
report_frequency: {
|
932
|
+
value: ::Integer?,
|
933
|
+
period: ("DAY" | "WEEK" | "MONTH")?
|
934
|
+
},
|
935
|
+
client_token: ::String,
|
936
|
+
?description: ::String
|
937
|
+
) -> _UpdateLicenseManagerReportGeneratorResponseSuccess
|
938
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLicenseManagerReportGeneratorResponseSuccess
|
939
|
+
|
940
|
+
interface _UpdateLicenseSpecificationsForResourceResponseSuccess
|
941
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLicenseSpecificationsForResourceResponse]
|
942
|
+
end
|
943
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#update_license_specifications_for_resource-instance_method
|
944
|
+
def update_license_specifications_for_resource: (
|
945
|
+
resource_arn: ::String,
|
946
|
+
?add_license_specifications: Array[
|
947
|
+
{
|
948
|
+
license_configuration_arn: ::String,
|
949
|
+
ami_association_scope: ::String?
|
950
|
+
},
|
951
|
+
],
|
952
|
+
?remove_license_specifications: Array[
|
953
|
+
{
|
954
|
+
license_configuration_arn: ::String,
|
955
|
+
ami_association_scope: ::String?
|
956
|
+
},
|
957
|
+
]
|
958
|
+
) -> _UpdateLicenseSpecificationsForResourceResponseSuccess
|
959
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLicenseSpecificationsForResourceResponseSuccess
|
960
|
+
|
961
|
+
interface _UpdateServiceSettingsResponseSuccess
|
962
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateServiceSettingsResponse]
|
963
|
+
end
|
964
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LicenseManager/Client.html#update_service_settings-instance_method
|
965
|
+
def update_service_settings: (
|
966
|
+
?s3_bucket_arn: ::String,
|
967
|
+
?sns_topic_arn: ::String,
|
968
|
+
?organization_configuration: {
|
969
|
+
enable_integration: bool
|
970
|
+
},
|
971
|
+
?enable_cross_accounts_discovery: bool
|
972
|
+
) -> _UpdateServiceSettingsResponseSuccess
|
973
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateServiceSettingsResponseSuccess
|
974
|
+
end
|
975
|
+
end
|
976
|
+
end
|
977
|
+
|