aws-sdk-licensemanager 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/aws-sdk-licensemanager.rb +47 -0
- data/lib/aws-sdk-licensemanager/client.rb +920 -0
- data/lib/aws-sdk-licensemanager/client_api.rb +539 -0
- data/lib/aws-sdk-licensemanager/customizations.rb +0 -0
- data/lib/aws-sdk-licensemanager/errors.rb +14 -0
- data/lib/aws-sdk-licensemanager/resource.rb +23 -0
- data/lib/aws-sdk-licensemanager/types.rb +1097 -0
- metadata +88 -0
File without changes
|
@@ -0,0 +1,14 @@
|
|
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/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::LicenseManager
|
9
|
+
module Errors
|
10
|
+
|
11
|
+
extend Aws::Errors::DynamicErrors
|
12
|
+
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,23 @@
|
|
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/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::LicenseManager
|
9
|
+
class Resource
|
10
|
+
|
11
|
+
# @param options ({})
|
12
|
+
# @option options [Client] :client
|
13
|
+
def initialize(options = {})
|
14
|
+
@client = options[:client] || Client.new(options)
|
15
|
+
end
|
16
|
+
|
17
|
+
# @return [Client]
|
18
|
+
def client
|
19
|
+
@client
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,1097 @@
|
|
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/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::LicenseManager
|
9
|
+
module Types
|
10
|
+
|
11
|
+
# Details about license consumption.
|
12
|
+
#
|
13
|
+
# @!attribute [rw] resource_type
|
14
|
+
# Resource type of the resource consuming a license (instance, host,
|
15
|
+
# or AMI).
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute [rw] consumed_licenses
|
19
|
+
# Number of licenses consumed by a resource.
|
20
|
+
# @return [Integer]
|
21
|
+
#
|
22
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ConsumedLicenseSummary AWS API Documentation
|
23
|
+
#
|
24
|
+
class ConsumedLicenseSummary < Struct.new(
|
25
|
+
:resource_type,
|
26
|
+
:consumed_licenses)
|
27
|
+
include Aws::Structure
|
28
|
+
end
|
29
|
+
|
30
|
+
# @note When making an API call, you may pass CreateLicenseConfigurationRequest
|
31
|
+
# data as a hash:
|
32
|
+
#
|
33
|
+
# {
|
34
|
+
# name: "String", # required
|
35
|
+
# description: "String",
|
36
|
+
# license_counting_type: "vCPU", # required, accepts vCPU, Instance, Core, Socket
|
37
|
+
# license_count: 1,
|
38
|
+
# license_count_hard_limit: false,
|
39
|
+
# license_rules: ["String"],
|
40
|
+
# tags: [
|
41
|
+
# {
|
42
|
+
# key: "String",
|
43
|
+
# value: "String",
|
44
|
+
# },
|
45
|
+
# ],
|
46
|
+
# }
|
47
|
+
#
|
48
|
+
# @!attribute [rw] name
|
49
|
+
# Name of the license configuration.
|
50
|
+
# @return [String]
|
51
|
+
#
|
52
|
+
# @!attribute [rw] description
|
53
|
+
# Human-friendly description of the license configuration.
|
54
|
+
# @return [String]
|
55
|
+
#
|
56
|
+
# @!attribute [rw] license_counting_type
|
57
|
+
# Dimension to use to track the license inventory.
|
58
|
+
# @return [String]
|
59
|
+
#
|
60
|
+
# @!attribute [rw] license_count
|
61
|
+
# Number of licenses managed by the license configuration.
|
62
|
+
# @return [Integer]
|
63
|
+
#
|
64
|
+
# @!attribute [rw] license_count_hard_limit
|
65
|
+
# Flag indicating whether hard or soft license enforcement is used.
|
66
|
+
# Exceeding a hard limit results in the blocked deployment of new
|
67
|
+
# instances.
|
68
|
+
# @return [Boolean]
|
69
|
+
#
|
70
|
+
# @!attribute [rw] license_rules
|
71
|
+
# Array of configured License Manager rules.
|
72
|
+
# @return [Array<String>]
|
73
|
+
#
|
74
|
+
# @!attribute [rw] tags
|
75
|
+
# The tags to apply to the resources during launch. You can only tag
|
76
|
+
# instances and volumes on launch. The specified tags are applied to
|
77
|
+
# all instances or volumes that are created during launch. To tag a
|
78
|
+
# resource after it has been created, see CreateTags .
|
79
|
+
# @return [Array<Types::Tag>]
|
80
|
+
#
|
81
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConfigurationRequest AWS API Documentation
|
82
|
+
#
|
83
|
+
class CreateLicenseConfigurationRequest < Struct.new(
|
84
|
+
:name,
|
85
|
+
:description,
|
86
|
+
:license_counting_type,
|
87
|
+
:license_count,
|
88
|
+
:license_count_hard_limit,
|
89
|
+
:license_rules,
|
90
|
+
:tags)
|
91
|
+
include Aws::Structure
|
92
|
+
end
|
93
|
+
|
94
|
+
# @!attribute [rw] license_configuration_arn
|
95
|
+
# ARN of the license configuration object after its creation.
|
96
|
+
# @return [String]
|
97
|
+
#
|
98
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConfigurationResponse AWS API Documentation
|
99
|
+
#
|
100
|
+
class CreateLicenseConfigurationResponse < Struct.new(
|
101
|
+
:license_configuration_arn)
|
102
|
+
include Aws::Structure
|
103
|
+
end
|
104
|
+
|
105
|
+
# @note When making an API call, you may pass DeleteLicenseConfigurationRequest
|
106
|
+
# data as a hash:
|
107
|
+
#
|
108
|
+
# {
|
109
|
+
# license_configuration_arn: "String", # required
|
110
|
+
# }
|
111
|
+
#
|
112
|
+
# @!attribute [rw] license_configuration_arn
|
113
|
+
# Unique ID of the configuration object to delete.
|
114
|
+
# @return [String]
|
115
|
+
#
|
116
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseConfigurationRequest AWS API Documentation
|
117
|
+
#
|
118
|
+
class DeleteLicenseConfigurationRequest < Struct.new(
|
119
|
+
:license_configuration_arn)
|
120
|
+
include Aws::Structure
|
121
|
+
end
|
122
|
+
|
123
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseConfigurationResponse AWS API Documentation
|
124
|
+
#
|
125
|
+
class DeleteLicenseConfigurationResponse < Aws::EmptyStructure; end
|
126
|
+
|
127
|
+
# A filter name and value pair that is used to return a more specific
|
128
|
+
# list of results from a describe operation. Filters can be used to
|
129
|
+
# match a set of resources by specific criteria, such as tags,
|
130
|
+
# attributes, or IDs. The filters supported by a `Describe` operation
|
131
|
+
# are documented with the `Describe` operation.
|
132
|
+
#
|
133
|
+
# @note When making an API call, you may pass Filter
|
134
|
+
# data as a hash:
|
135
|
+
#
|
136
|
+
# {
|
137
|
+
# name: "FilterName",
|
138
|
+
# values: ["FilterValue"],
|
139
|
+
# }
|
140
|
+
#
|
141
|
+
# @!attribute [rw] name
|
142
|
+
# Name of the filter. Filter names are case-sensitive.
|
143
|
+
# @return [String]
|
144
|
+
#
|
145
|
+
# @!attribute [rw] values
|
146
|
+
# One or more filter values. Filter values are case-sensitive.
|
147
|
+
# @return [Array<String>]
|
148
|
+
#
|
149
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Filter AWS API Documentation
|
150
|
+
#
|
151
|
+
class Filter < Struct.new(
|
152
|
+
:name,
|
153
|
+
:values)
|
154
|
+
include Aws::Structure
|
155
|
+
end
|
156
|
+
|
157
|
+
# @note When making an API call, you may pass GetLicenseConfigurationRequest
|
158
|
+
# data as a hash:
|
159
|
+
#
|
160
|
+
# {
|
161
|
+
# license_configuration_arn: "String", # required
|
162
|
+
# }
|
163
|
+
#
|
164
|
+
# @!attribute [rw] license_configuration_arn
|
165
|
+
# ARN of the license configuration being requested.
|
166
|
+
# @return [String]
|
167
|
+
#
|
168
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConfigurationRequest AWS API Documentation
|
169
|
+
#
|
170
|
+
class GetLicenseConfigurationRequest < Struct.new(
|
171
|
+
:license_configuration_arn)
|
172
|
+
include Aws::Structure
|
173
|
+
end
|
174
|
+
|
175
|
+
# @!attribute [rw] license_configuration_id
|
176
|
+
# Unique ID for the license configuration.
|
177
|
+
# @return [String]
|
178
|
+
#
|
179
|
+
# @!attribute [rw] license_configuration_arn
|
180
|
+
# ARN of the license configuration requested.
|
181
|
+
# @return [String]
|
182
|
+
#
|
183
|
+
# @!attribute [rw] name
|
184
|
+
# Name of the license configuration.
|
185
|
+
# @return [String]
|
186
|
+
#
|
187
|
+
# @!attribute [rw] description
|
188
|
+
# Description of the license configuration.
|
189
|
+
# @return [String]
|
190
|
+
#
|
191
|
+
# @!attribute [rw] license_counting_type
|
192
|
+
# Dimension on which the licenses are counted (for example, instances,
|
193
|
+
# cores, sockets, or VCPUs).
|
194
|
+
# @return [String]
|
195
|
+
#
|
196
|
+
# @!attribute [rw] license_rules
|
197
|
+
# List of flexible text strings designating license rules.
|
198
|
+
# @return [Array<String>]
|
199
|
+
#
|
200
|
+
# @!attribute [rw] license_count
|
201
|
+
# Number of available licenses.
|
202
|
+
# @return [Integer]
|
203
|
+
#
|
204
|
+
# @!attribute [rw] license_count_hard_limit
|
205
|
+
# Sets the number of available licenses as a hard limit.
|
206
|
+
# @return [Boolean]
|
207
|
+
#
|
208
|
+
# @!attribute [rw] consumed_licenses
|
209
|
+
# Number of licenses assigned to resources.
|
210
|
+
# @return [Integer]
|
211
|
+
#
|
212
|
+
# @!attribute [rw] status
|
213
|
+
# License configuration status (active, etc.).
|
214
|
+
# @return [String]
|
215
|
+
#
|
216
|
+
# @!attribute [rw] owner_account_id
|
217
|
+
# Owner account ID for the license configuration.
|
218
|
+
# @return [String]
|
219
|
+
#
|
220
|
+
# @!attribute [rw] consumed_license_summary_list
|
221
|
+
# List of summaries for consumed licenses used by various resources.
|
222
|
+
# @return [Array<Types::ConsumedLicenseSummary>]
|
223
|
+
#
|
224
|
+
# @!attribute [rw] managed_resource_summary_list
|
225
|
+
# List of summaries of managed resources.
|
226
|
+
# @return [Array<Types::ManagedResourceSummary>]
|
227
|
+
#
|
228
|
+
# @!attribute [rw] tags
|
229
|
+
# List of tags attached to the license configuration.
|
230
|
+
# @return [Array<Types::Tag>]
|
231
|
+
#
|
232
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConfigurationResponse AWS API Documentation
|
233
|
+
#
|
234
|
+
class GetLicenseConfigurationResponse < Struct.new(
|
235
|
+
:license_configuration_id,
|
236
|
+
:license_configuration_arn,
|
237
|
+
:name,
|
238
|
+
:description,
|
239
|
+
:license_counting_type,
|
240
|
+
:license_rules,
|
241
|
+
:license_count,
|
242
|
+
:license_count_hard_limit,
|
243
|
+
:consumed_licenses,
|
244
|
+
:status,
|
245
|
+
:owner_account_id,
|
246
|
+
:consumed_license_summary_list,
|
247
|
+
:managed_resource_summary_list,
|
248
|
+
:tags)
|
249
|
+
include Aws::Structure
|
250
|
+
end
|
251
|
+
|
252
|
+
# @api private
|
253
|
+
#
|
254
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetServiceSettingsRequest AWS API Documentation
|
255
|
+
#
|
256
|
+
class GetServiceSettingsRequest < Aws::EmptyStructure; end
|
257
|
+
|
258
|
+
# @!attribute [rw] s3_bucket_arn
|
259
|
+
# Regional S3 bucket path for storing reports, license trail event
|
260
|
+
# data, discovery data, etc.
|
261
|
+
# @return [String]
|
262
|
+
#
|
263
|
+
# @!attribute [rw] sns_topic_arn
|
264
|
+
# SNS topic configured to receive notifications from License Manager.
|
265
|
+
# @return [String]
|
266
|
+
#
|
267
|
+
# @!attribute [rw] organization_configuration
|
268
|
+
# Indicates whether AWS Organizations has been integrated with License
|
269
|
+
# Manager for cross-account discovery.
|
270
|
+
# @return [Types::OrganizationConfiguration]
|
271
|
+
#
|
272
|
+
# @!attribute [rw] enable_cross_accounts_discovery
|
273
|
+
# Indicates whether cross-account discovery has been enabled.
|
274
|
+
# @return [Boolean]
|
275
|
+
#
|
276
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetServiceSettingsResponse AWS API Documentation
|
277
|
+
#
|
278
|
+
class GetServiceSettingsResponse < Struct.new(
|
279
|
+
:s3_bucket_arn,
|
280
|
+
:sns_topic_arn,
|
281
|
+
:organization_configuration,
|
282
|
+
:enable_cross_accounts_discovery)
|
283
|
+
include Aws::Structure
|
284
|
+
end
|
285
|
+
|
286
|
+
# An inventory filter object.
|
287
|
+
#
|
288
|
+
# @note When making an API call, you may pass InventoryFilter
|
289
|
+
# data as a hash:
|
290
|
+
#
|
291
|
+
# {
|
292
|
+
# name: "String", # required
|
293
|
+
# condition: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, BEGINS_WITH, CONTAINS
|
294
|
+
# value: "String",
|
295
|
+
# }
|
296
|
+
#
|
297
|
+
# @!attribute [rw] name
|
298
|
+
# The name of the filter.
|
299
|
+
# @return [String]
|
300
|
+
#
|
301
|
+
# @!attribute [rw] condition
|
302
|
+
# The condition of the filter.
|
303
|
+
# @return [String]
|
304
|
+
#
|
305
|
+
# @!attribute [rw] value
|
306
|
+
# Value of the filter.
|
307
|
+
# @return [String]
|
308
|
+
#
|
309
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/InventoryFilter AWS API Documentation
|
310
|
+
#
|
311
|
+
class InventoryFilter < Struct.new(
|
312
|
+
:name,
|
313
|
+
:condition,
|
314
|
+
:value)
|
315
|
+
include Aws::Structure
|
316
|
+
end
|
317
|
+
|
318
|
+
# A license configuration is an abstraction of a customer license
|
319
|
+
# agreement that can be consumed and enforced by License Manager.
|
320
|
+
# Components include specifications for the license type (licensing by
|
321
|
+
# instance, socket, CPU, or VCPU), tenancy (shared tenancy, Amazon EC2
|
322
|
+
# Dedicated Instance, Amazon EC2 Dedicated Host, or any of these), host
|
323
|
+
# affinity (how long a VM must be associated with a host), the number of
|
324
|
+
# licenses purchased and used.
|
325
|
+
#
|
326
|
+
# @!attribute [rw] license_configuration_id
|
327
|
+
# Unique ID of the `LicenseConfiguration` object.
|
328
|
+
# @return [String]
|
329
|
+
#
|
330
|
+
# @!attribute [rw] license_configuration_arn
|
331
|
+
# ARN of the `LicenseConfiguration` object.
|
332
|
+
# @return [String]
|
333
|
+
#
|
334
|
+
# @!attribute [rw] name
|
335
|
+
# Name of the license configuration.
|
336
|
+
# @return [String]
|
337
|
+
#
|
338
|
+
# @!attribute [rw] description
|
339
|
+
# Description of the license configuration.
|
340
|
+
# @return [String]
|
341
|
+
#
|
342
|
+
# @!attribute [rw] license_counting_type
|
343
|
+
# Dimension to use to track license inventory.
|
344
|
+
# @return [String]
|
345
|
+
#
|
346
|
+
# @!attribute [rw] license_rules
|
347
|
+
# Array of configured License Manager rules.
|
348
|
+
# @return [Array<String>]
|
349
|
+
#
|
350
|
+
# @!attribute [rw] license_count
|
351
|
+
# Number of licenses managed by the license configuration.
|
352
|
+
# @return [Integer]
|
353
|
+
#
|
354
|
+
# @!attribute [rw] license_count_hard_limit
|
355
|
+
# Sets the number of available licenses as a hard limit.
|
356
|
+
# @return [Boolean]
|
357
|
+
#
|
358
|
+
# @!attribute [rw] consumed_licenses
|
359
|
+
# Number of licenses consumed.
|
360
|
+
# @return [Integer]
|
361
|
+
#
|
362
|
+
# @!attribute [rw] status
|
363
|
+
# Status of the license configuration.
|
364
|
+
# @return [String]
|
365
|
+
#
|
366
|
+
# @!attribute [rw] owner_account_id
|
367
|
+
# Account ID of the license configuration's owner.
|
368
|
+
# @return [String]
|
369
|
+
#
|
370
|
+
# @!attribute [rw] consumed_license_summary_list
|
371
|
+
# List of summaries for licenses consumed by various resources.
|
372
|
+
# @return [Array<Types::ConsumedLicenseSummary>]
|
373
|
+
#
|
374
|
+
# @!attribute [rw] managed_resource_summary_list
|
375
|
+
# List of summaries for managed resources.
|
376
|
+
# @return [Array<Types::ManagedResourceSummary>]
|
377
|
+
#
|
378
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseConfiguration AWS API Documentation
|
379
|
+
#
|
380
|
+
class LicenseConfiguration < Struct.new(
|
381
|
+
:license_configuration_id,
|
382
|
+
:license_configuration_arn,
|
383
|
+
:name,
|
384
|
+
:description,
|
385
|
+
:license_counting_type,
|
386
|
+
:license_rules,
|
387
|
+
:license_count,
|
388
|
+
:license_count_hard_limit,
|
389
|
+
:consumed_licenses,
|
390
|
+
:status,
|
391
|
+
:owner_account_id,
|
392
|
+
:consumed_license_summary_list,
|
393
|
+
:managed_resource_summary_list)
|
394
|
+
include Aws::Structure
|
395
|
+
end
|
396
|
+
|
397
|
+
# Describes a server resource that is associated with a license
|
398
|
+
# configuration.
|
399
|
+
#
|
400
|
+
# @!attribute [rw] resource_arn
|
401
|
+
# ARN of the resource associated with the license configuration.
|
402
|
+
# @return [String]
|
403
|
+
#
|
404
|
+
# @!attribute [rw] resource_type
|
405
|
+
# Type of server resource.
|
406
|
+
# @return [String]
|
407
|
+
#
|
408
|
+
# @!attribute [rw] resource_owner_id
|
409
|
+
# ID of the AWS account that owns the resource consuming licenses.
|
410
|
+
# @return [String]
|
411
|
+
#
|
412
|
+
# @!attribute [rw] association_time
|
413
|
+
# Time when the license configuration was associated with the
|
414
|
+
# resource.
|
415
|
+
# @return [Time]
|
416
|
+
#
|
417
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseConfigurationAssociation AWS API Documentation
|
418
|
+
#
|
419
|
+
class LicenseConfigurationAssociation < Struct.new(
|
420
|
+
:resource_arn,
|
421
|
+
:resource_type,
|
422
|
+
:resource_owner_id,
|
423
|
+
:association_time)
|
424
|
+
include Aws::Structure
|
425
|
+
end
|
426
|
+
|
427
|
+
# Contains details of the usage of each resource from the license pool.
|
428
|
+
#
|
429
|
+
# @!attribute [rw] resource_arn
|
430
|
+
# ARN of the resource associated with a license configuration.
|
431
|
+
# @return [String]
|
432
|
+
#
|
433
|
+
# @!attribute [rw] resource_type
|
434
|
+
# Type of resource associated with athe license configuration.
|
435
|
+
# @return [String]
|
436
|
+
#
|
437
|
+
# @!attribute [rw] resource_status
|
438
|
+
# Status of a resource associated with the license configuration.
|
439
|
+
# @return [String]
|
440
|
+
#
|
441
|
+
# @!attribute [rw] resource_owner_id
|
442
|
+
# ID of the account that owns a resource that is associated with the
|
443
|
+
# license configuration.
|
444
|
+
# @return [String]
|
445
|
+
#
|
446
|
+
# @!attribute [rw] association_time
|
447
|
+
# Time when the license configuration was initially associated with a
|
448
|
+
# resource.
|
449
|
+
# @return [Time]
|
450
|
+
#
|
451
|
+
# @!attribute [rw] consumed_licenses
|
452
|
+
# Number of licenses consumed out of the total provisioned in the
|
453
|
+
# license configuration.
|
454
|
+
# @return [Integer]
|
455
|
+
#
|
456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseConfigurationUsage AWS API Documentation
|
457
|
+
#
|
458
|
+
class LicenseConfigurationUsage < Struct.new(
|
459
|
+
:resource_arn,
|
460
|
+
:resource_type,
|
461
|
+
:resource_status,
|
462
|
+
:resource_owner_id,
|
463
|
+
:association_time,
|
464
|
+
:consumed_licenses)
|
465
|
+
include Aws::Structure
|
466
|
+
end
|
467
|
+
|
468
|
+
# Object used for associating a license configuration with a resource.
|
469
|
+
#
|
470
|
+
# @note When making an API call, you may pass LicenseSpecification
|
471
|
+
# data as a hash:
|
472
|
+
#
|
473
|
+
# {
|
474
|
+
# license_configuration_arn: "String", # required
|
475
|
+
# }
|
476
|
+
#
|
477
|
+
# @!attribute [rw] license_configuration_arn
|
478
|
+
# ARN of the `LicenseConfiguration` object.
|
479
|
+
# @return [String]
|
480
|
+
#
|
481
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseSpecification AWS API Documentation
|
482
|
+
#
|
483
|
+
class LicenseSpecification < Struct.new(
|
484
|
+
:license_configuration_arn)
|
485
|
+
include Aws::Structure
|
486
|
+
end
|
487
|
+
|
488
|
+
# @note When making an API call, you may pass ListAssociationsForLicenseConfigurationRequest
|
489
|
+
# data as a hash:
|
490
|
+
#
|
491
|
+
# {
|
492
|
+
# license_configuration_arn: "String", # required
|
493
|
+
# max_results: 1,
|
494
|
+
# next_token: "String",
|
495
|
+
# }
|
496
|
+
#
|
497
|
+
# @!attribute [rw] license_configuration_arn
|
498
|
+
# ARN of a `LicenseConfiguration` object.
|
499
|
+
# @return [String]
|
500
|
+
#
|
501
|
+
# @!attribute [rw] max_results
|
502
|
+
# Maximum number of results to return in a single call. To retrieve
|
503
|
+
# the remaining results, make another call with the returned
|
504
|
+
# `NextToken` value.
|
505
|
+
# @return [Integer]
|
506
|
+
#
|
507
|
+
# @!attribute [rw] next_token
|
508
|
+
# Token for the next set of results.
|
509
|
+
# @return [String]
|
510
|
+
#
|
511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListAssociationsForLicenseConfigurationRequest AWS API Documentation
|
512
|
+
#
|
513
|
+
class ListAssociationsForLicenseConfigurationRequest < Struct.new(
|
514
|
+
:license_configuration_arn,
|
515
|
+
:max_results,
|
516
|
+
:next_token)
|
517
|
+
include Aws::Structure
|
518
|
+
end
|
519
|
+
|
520
|
+
# @!attribute [rw] license_configuration_associations
|
521
|
+
# Lists association objects for the license configuration, each
|
522
|
+
# containing the association time, number of consumed licenses,
|
523
|
+
# resource ARN, resource ID, account ID that owns the resource,
|
524
|
+
# resource size, and resource type.
|
525
|
+
# @return [Array<Types::LicenseConfigurationAssociation>]
|
526
|
+
#
|
527
|
+
# @!attribute [rw] next_token
|
528
|
+
# Token for the next set of results.
|
529
|
+
# @return [String]
|
530
|
+
#
|
531
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListAssociationsForLicenseConfigurationResponse AWS API Documentation
|
532
|
+
#
|
533
|
+
class ListAssociationsForLicenseConfigurationResponse < Struct.new(
|
534
|
+
:license_configuration_associations,
|
535
|
+
:next_token)
|
536
|
+
include Aws::Structure
|
537
|
+
end
|
538
|
+
|
539
|
+
# @note When making an API call, you may pass ListLicenseConfigurationsRequest
|
540
|
+
# data as a hash:
|
541
|
+
#
|
542
|
+
# {
|
543
|
+
# license_configuration_arns: ["String"],
|
544
|
+
# max_results: 1,
|
545
|
+
# next_token: "String",
|
546
|
+
# filters: [
|
547
|
+
# {
|
548
|
+
# name: "FilterName",
|
549
|
+
# values: ["FilterValue"],
|
550
|
+
# },
|
551
|
+
# ],
|
552
|
+
# }
|
553
|
+
#
|
554
|
+
# @!attribute [rw] license_configuration_arns
|
555
|
+
# An array of ARNs for the calling account’s license configurations.
|
556
|
+
# @return [Array<String>]
|
557
|
+
#
|
558
|
+
# @!attribute [rw] max_results
|
559
|
+
# Maximum number of results to return in a single call. To retrieve
|
560
|
+
# the remaining results, make another call with the returned
|
561
|
+
# `NextToken` value.
|
562
|
+
# @return [Integer]
|
563
|
+
#
|
564
|
+
# @!attribute [rw] next_token
|
565
|
+
# Token for the next set of results.
|
566
|
+
# @return [String]
|
567
|
+
#
|
568
|
+
# @!attribute [rw] filters
|
569
|
+
# One or more filters.
|
570
|
+
# @return [Array<Types::Filter>]
|
571
|
+
#
|
572
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConfigurationsRequest AWS API Documentation
|
573
|
+
#
|
574
|
+
class ListLicenseConfigurationsRequest < Struct.new(
|
575
|
+
:license_configuration_arns,
|
576
|
+
:max_results,
|
577
|
+
:next_token,
|
578
|
+
:filters)
|
579
|
+
include Aws::Structure
|
580
|
+
end
|
581
|
+
|
582
|
+
# @!attribute [rw] license_configurations
|
583
|
+
# Array of license configuration objects.
|
584
|
+
# @return [Array<Types::LicenseConfiguration>]
|
585
|
+
#
|
586
|
+
# @!attribute [rw] next_token
|
587
|
+
# Token for the next set of results.
|
588
|
+
# @return [String]
|
589
|
+
#
|
590
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConfigurationsResponse AWS API Documentation
|
591
|
+
#
|
592
|
+
class ListLicenseConfigurationsResponse < Struct.new(
|
593
|
+
:license_configurations,
|
594
|
+
:next_token)
|
595
|
+
include Aws::Structure
|
596
|
+
end
|
597
|
+
|
598
|
+
# @note When making an API call, you may pass ListLicenseSpecificationsForResourceRequest
|
599
|
+
# data as a hash:
|
600
|
+
#
|
601
|
+
# {
|
602
|
+
# resource_arn: "String", # required
|
603
|
+
# max_results: 1,
|
604
|
+
# next_token: "String",
|
605
|
+
# }
|
606
|
+
#
|
607
|
+
# @!attribute [rw] resource_arn
|
608
|
+
# ARN of an AMI or Amazon EC2 instance that has an associated license
|
609
|
+
# configuration.
|
610
|
+
# @return [String]
|
611
|
+
#
|
612
|
+
# @!attribute [rw] max_results
|
613
|
+
# Maximum number of results to return in a single call. To retrieve
|
614
|
+
# the remaining results, make another call with the returned
|
615
|
+
# `NextToken` value.
|
616
|
+
# @return [Integer]
|
617
|
+
#
|
618
|
+
# @!attribute [rw] next_token
|
619
|
+
# Token for the next set of results.
|
620
|
+
# @return [String]
|
621
|
+
#
|
622
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseSpecificationsForResourceRequest AWS API Documentation
|
623
|
+
#
|
624
|
+
class ListLicenseSpecificationsForResourceRequest < Struct.new(
|
625
|
+
:resource_arn,
|
626
|
+
:max_results,
|
627
|
+
:next_token)
|
628
|
+
include Aws::Structure
|
629
|
+
end
|
630
|
+
|
631
|
+
# @!attribute [rw] license_specifications
|
632
|
+
# License configurations associated with a resource.
|
633
|
+
# @return [Array<Types::LicenseSpecification>]
|
634
|
+
#
|
635
|
+
# @!attribute [rw] next_token
|
636
|
+
# Token for the next set of results.
|
637
|
+
# @return [String]
|
638
|
+
#
|
639
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseSpecificationsForResourceResponse AWS API Documentation
|
640
|
+
#
|
641
|
+
class ListLicenseSpecificationsForResourceResponse < Struct.new(
|
642
|
+
:license_specifications,
|
643
|
+
:next_token)
|
644
|
+
include Aws::Structure
|
645
|
+
end
|
646
|
+
|
647
|
+
# @note When making an API call, you may pass ListResourceInventoryRequest
|
648
|
+
# data as a hash:
|
649
|
+
#
|
650
|
+
# {
|
651
|
+
# max_results: 1,
|
652
|
+
# next_token: "String",
|
653
|
+
# filters: [
|
654
|
+
# {
|
655
|
+
# name: "String", # required
|
656
|
+
# condition: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, BEGINS_WITH, CONTAINS
|
657
|
+
# value: "String",
|
658
|
+
# },
|
659
|
+
# ],
|
660
|
+
# }
|
661
|
+
#
|
662
|
+
# @!attribute [rw] max_results
|
663
|
+
# Maximum number of results to return in a single call. To retrieve
|
664
|
+
# the remaining results, make another call with the returned
|
665
|
+
# `NextToken` value.
|
666
|
+
# @return [Integer]
|
667
|
+
#
|
668
|
+
# @!attribute [rw] next_token
|
669
|
+
# Token for the next set of results.
|
670
|
+
# @return [String]
|
671
|
+
#
|
672
|
+
# @!attribute [rw] filters
|
673
|
+
# One or more filters.
|
674
|
+
# @return [Array<Types::InventoryFilter>]
|
675
|
+
#
|
676
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListResourceInventoryRequest AWS API Documentation
|
677
|
+
#
|
678
|
+
class ListResourceInventoryRequest < Struct.new(
|
679
|
+
:max_results,
|
680
|
+
:next_token,
|
681
|
+
:filters)
|
682
|
+
include Aws::Structure
|
683
|
+
end
|
684
|
+
|
685
|
+
# @!attribute [rw] resource_inventory_list
|
686
|
+
# The detailed list of resources.
|
687
|
+
# @return [Array<Types::ResourceInventory>]
|
688
|
+
#
|
689
|
+
# @!attribute [rw] next_token
|
690
|
+
# Token for the next set of results.
|
691
|
+
# @return [String]
|
692
|
+
#
|
693
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListResourceInventoryResponse AWS API Documentation
|
694
|
+
#
|
695
|
+
class ListResourceInventoryResponse < Struct.new(
|
696
|
+
:resource_inventory_list,
|
697
|
+
:next_token)
|
698
|
+
include Aws::Structure
|
699
|
+
end
|
700
|
+
|
701
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
702
|
+
# data as a hash:
|
703
|
+
#
|
704
|
+
# {
|
705
|
+
# resource_arn: "String", # required
|
706
|
+
# }
|
707
|
+
#
|
708
|
+
# @!attribute [rw] resource_arn
|
709
|
+
# ARN for the resource.
|
710
|
+
# @return [String]
|
711
|
+
#
|
712
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListTagsForResourceRequest AWS API Documentation
|
713
|
+
#
|
714
|
+
class ListTagsForResourceRequest < Struct.new(
|
715
|
+
:resource_arn)
|
716
|
+
include Aws::Structure
|
717
|
+
end
|
718
|
+
|
719
|
+
# @!attribute [rw] tags
|
720
|
+
# List of tags attached to the resource.
|
721
|
+
# @return [Array<Types::Tag>]
|
722
|
+
#
|
723
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListTagsForResourceResponse AWS API Documentation
|
724
|
+
#
|
725
|
+
class ListTagsForResourceResponse < Struct.new(
|
726
|
+
:tags)
|
727
|
+
include Aws::Structure
|
728
|
+
end
|
729
|
+
|
730
|
+
# @note When making an API call, you may pass ListUsageForLicenseConfigurationRequest
|
731
|
+
# data as a hash:
|
732
|
+
#
|
733
|
+
# {
|
734
|
+
# license_configuration_arn: "String", # required
|
735
|
+
# max_results: 1,
|
736
|
+
# next_token: "String",
|
737
|
+
# filters: [
|
738
|
+
# {
|
739
|
+
# name: "FilterName",
|
740
|
+
# values: ["FilterValue"],
|
741
|
+
# },
|
742
|
+
# ],
|
743
|
+
# }
|
744
|
+
#
|
745
|
+
# @!attribute [rw] license_configuration_arn
|
746
|
+
# ARN of the targeted `LicenseConfiguration` object.
|
747
|
+
# @return [String]
|
748
|
+
#
|
749
|
+
# @!attribute [rw] max_results
|
750
|
+
# Maximum number of results to return in a single call. To retrieve
|
751
|
+
# the remaining results, make another call with the returned
|
752
|
+
# `NextToken` value.
|
753
|
+
# @return [Integer]
|
754
|
+
#
|
755
|
+
# @!attribute [rw] next_token
|
756
|
+
# Token for the next set of results.
|
757
|
+
# @return [String]
|
758
|
+
#
|
759
|
+
# @!attribute [rw] filters
|
760
|
+
# List of filters to apply.
|
761
|
+
# @return [Array<Types::Filter>]
|
762
|
+
#
|
763
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListUsageForLicenseConfigurationRequest AWS API Documentation
|
764
|
+
#
|
765
|
+
class ListUsageForLicenseConfigurationRequest < Struct.new(
|
766
|
+
:license_configuration_arn,
|
767
|
+
:max_results,
|
768
|
+
:next_token,
|
769
|
+
:filters)
|
770
|
+
include Aws::Structure
|
771
|
+
end
|
772
|
+
|
773
|
+
# @!attribute [rw] license_configuration_usage_list
|
774
|
+
# An array of `LicenseConfigurationUsage` objects.
|
775
|
+
# @return [Array<Types::LicenseConfigurationUsage>]
|
776
|
+
#
|
777
|
+
# @!attribute [rw] next_token
|
778
|
+
# Token for the next set of results.
|
779
|
+
# @return [String]
|
780
|
+
#
|
781
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListUsageForLicenseConfigurationResponse AWS API Documentation
|
782
|
+
#
|
783
|
+
class ListUsageForLicenseConfigurationResponse < Struct.new(
|
784
|
+
:license_configuration_usage_list,
|
785
|
+
:next_token)
|
786
|
+
include Aws::Structure
|
787
|
+
end
|
788
|
+
|
789
|
+
# Summary for a resource.
|
790
|
+
#
|
791
|
+
# @!attribute [rw] resource_type
|
792
|
+
# Type of resource associated with a license (instance, host, or AMI).
|
793
|
+
# @return [String]
|
794
|
+
#
|
795
|
+
# @!attribute [rw] association_count
|
796
|
+
# Number of resources associated with licenses.
|
797
|
+
# @return [Integer]
|
798
|
+
#
|
799
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ManagedResourceSummary AWS API Documentation
|
800
|
+
#
|
801
|
+
class ManagedResourceSummary < Struct.new(
|
802
|
+
:resource_type,
|
803
|
+
:association_count)
|
804
|
+
include Aws::Structure
|
805
|
+
end
|
806
|
+
|
807
|
+
# Object containing configuration information for AWS Organizations.
|
808
|
+
#
|
809
|
+
# @note When making an API call, you may pass OrganizationConfiguration
|
810
|
+
# data as a hash:
|
811
|
+
#
|
812
|
+
# {
|
813
|
+
# enable_integration: false, # required
|
814
|
+
# }
|
815
|
+
#
|
816
|
+
# @!attribute [rw] enable_integration
|
817
|
+
# Flag to activate AWS Organization integration.
|
818
|
+
# @return [Boolean]
|
819
|
+
#
|
820
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/OrganizationConfiguration AWS API Documentation
|
821
|
+
#
|
822
|
+
class OrganizationConfiguration < Struct.new(
|
823
|
+
:enable_integration)
|
824
|
+
include Aws::Structure
|
825
|
+
end
|
826
|
+
|
827
|
+
# A set of attributes that describe a resource.
|
828
|
+
#
|
829
|
+
# @!attribute [rw] resource_id
|
830
|
+
# Unique ID of the resource.
|
831
|
+
# @return [String]
|
832
|
+
#
|
833
|
+
# @!attribute [rw] resource_type
|
834
|
+
# The type of resource.
|
835
|
+
# @return [String]
|
836
|
+
#
|
837
|
+
# @!attribute [rw] resource_arn
|
838
|
+
# The ARN of the resource.
|
839
|
+
# @return [String]
|
840
|
+
#
|
841
|
+
# @!attribute [rw] platform
|
842
|
+
# The platform of the resource.
|
843
|
+
# @return [String]
|
844
|
+
#
|
845
|
+
# @!attribute [rw] platform_version
|
846
|
+
# Platform version of the resource in the inventory.
|
847
|
+
# @return [String]
|
848
|
+
#
|
849
|
+
# @!attribute [rw] resource_owning_account_id
|
850
|
+
# Unique ID of the account that owns the resource.
|
851
|
+
# @return [String]
|
852
|
+
#
|
853
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ResourceInventory AWS API Documentation
|
854
|
+
#
|
855
|
+
class ResourceInventory < Struct.new(
|
856
|
+
:resource_id,
|
857
|
+
:resource_type,
|
858
|
+
:resource_arn,
|
859
|
+
:platform,
|
860
|
+
:platform_version,
|
861
|
+
:resource_owning_account_id)
|
862
|
+
include Aws::Structure
|
863
|
+
end
|
864
|
+
|
865
|
+
# Tag for a resource in a key-value format.
|
866
|
+
#
|
867
|
+
# @note When making an API call, you may pass Tag
|
868
|
+
# data as a hash:
|
869
|
+
#
|
870
|
+
# {
|
871
|
+
# key: "String",
|
872
|
+
# value: "String",
|
873
|
+
# }
|
874
|
+
#
|
875
|
+
# @!attribute [rw] key
|
876
|
+
# Key for the resource tag.
|
877
|
+
# @return [String]
|
878
|
+
#
|
879
|
+
# @!attribute [rw] value
|
880
|
+
# Value for the resource tag.
|
881
|
+
# @return [String]
|
882
|
+
#
|
883
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Tag AWS API Documentation
|
884
|
+
#
|
885
|
+
class Tag < Struct.new(
|
886
|
+
:key,
|
887
|
+
:value)
|
888
|
+
include Aws::Structure
|
889
|
+
end
|
890
|
+
|
891
|
+
# @note When making an API call, you may pass TagResourceRequest
|
892
|
+
# data as a hash:
|
893
|
+
#
|
894
|
+
# {
|
895
|
+
# resource_arn: "String", # required
|
896
|
+
# tags: [ # required
|
897
|
+
# {
|
898
|
+
# key: "String",
|
899
|
+
# value: "String",
|
900
|
+
# },
|
901
|
+
# ],
|
902
|
+
# }
|
903
|
+
#
|
904
|
+
# @!attribute [rw] resource_arn
|
905
|
+
# Resource of the ARN to be tagged.
|
906
|
+
# @return [String]
|
907
|
+
#
|
908
|
+
# @!attribute [rw] tags
|
909
|
+
# Names of the tags to attach to the resource.
|
910
|
+
# @return [Array<Types::Tag>]
|
911
|
+
#
|
912
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/TagResourceRequest AWS API Documentation
|
913
|
+
#
|
914
|
+
class TagResourceRequest < Struct.new(
|
915
|
+
:resource_arn,
|
916
|
+
:tags)
|
917
|
+
include Aws::Structure
|
918
|
+
end
|
919
|
+
|
920
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/TagResourceResponse AWS API Documentation
|
921
|
+
#
|
922
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
923
|
+
|
924
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
925
|
+
# data as a hash:
|
926
|
+
#
|
927
|
+
# {
|
928
|
+
# resource_arn: "String", # required
|
929
|
+
# tag_keys: ["String"], # required
|
930
|
+
# }
|
931
|
+
#
|
932
|
+
# @!attribute [rw] resource_arn
|
933
|
+
# ARN of the resource.
|
934
|
+
# @return [String]
|
935
|
+
#
|
936
|
+
# @!attribute [rw] tag_keys
|
937
|
+
# List keys identifying tags to remove.
|
938
|
+
# @return [Array<String>]
|
939
|
+
#
|
940
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UntagResourceRequest AWS API Documentation
|
941
|
+
#
|
942
|
+
class UntagResourceRequest < Struct.new(
|
943
|
+
:resource_arn,
|
944
|
+
:tag_keys)
|
945
|
+
include Aws::Structure
|
946
|
+
end
|
947
|
+
|
948
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UntagResourceResponse AWS API Documentation
|
949
|
+
#
|
950
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
951
|
+
|
952
|
+
# @note When making an API call, you may pass UpdateLicenseConfigurationRequest
|
953
|
+
# data as a hash:
|
954
|
+
#
|
955
|
+
# {
|
956
|
+
# license_configuration_arn: "String", # required
|
957
|
+
# license_configuration_status: "AVAILABLE", # accepts AVAILABLE, DISABLED
|
958
|
+
# license_rules: ["String"],
|
959
|
+
# license_count: 1,
|
960
|
+
# license_count_hard_limit: false,
|
961
|
+
# name: "String",
|
962
|
+
# description: "String",
|
963
|
+
# }
|
964
|
+
#
|
965
|
+
# @!attribute [rw] license_configuration_arn
|
966
|
+
# ARN for a license configuration.
|
967
|
+
# @return [String]
|
968
|
+
#
|
969
|
+
# @!attribute [rw] license_configuration_status
|
970
|
+
# New status of the license configuration (`ACTIVE` or `INACTIVE`).
|
971
|
+
# @return [String]
|
972
|
+
#
|
973
|
+
# @!attribute [rw] license_rules
|
974
|
+
# List of flexible text strings designating license rules.
|
975
|
+
# @return [Array<String>]
|
976
|
+
#
|
977
|
+
# @!attribute [rw] license_count
|
978
|
+
# New number of licenses managed by the license configuration.
|
979
|
+
# @return [Integer]
|
980
|
+
#
|
981
|
+
# @!attribute [rw] license_count_hard_limit
|
982
|
+
# Sets the number of available licenses as a hard limit.
|
983
|
+
# @return [Boolean]
|
984
|
+
#
|
985
|
+
# @!attribute [rw] name
|
986
|
+
# New name of the license configuration.
|
987
|
+
# @return [String]
|
988
|
+
#
|
989
|
+
# @!attribute [rw] description
|
990
|
+
# New human-friendly description of the license configuration.
|
991
|
+
# @return [String]
|
992
|
+
#
|
993
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseConfigurationRequest AWS API Documentation
|
994
|
+
#
|
995
|
+
class UpdateLicenseConfigurationRequest < Struct.new(
|
996
|
+
:license_configuration_arn,
|
997
|
+
:license_configuration_status,
|
998
|
+
:license_rules,
|
999
|
+
:license_count,
|
1000
|
+
:license_count_hard_limit,
|
1001
|
+
:name,
|
1002
|
+
:description)
|
1003
|
+
include Aws::Structure
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseConfigurationResponse AWS API Documentation
|
1007
|
+
#
|
1008
|
+
class UpdateLicenseConfigurationResponse < Aws::EmptyStructure; end
|
1009
|
+
|
1010
|
+
# @note When making an API call, you may pass UpdateLicenseSpecificationsForResourceRequest
|
1011
|
+
# data as a hash:
|
1012
|
+
#
|
1013
|
+
# {
|
1014
|
+
# resource_arn: "String", # required
|
1015
|
+
# add_license_specifications: [
|
1016
|
+
# {
|
1017
|
+
# license_configuration_arn: "String", # required
|
1018
|
+
# },
|
1019
|
+
# ],
|
1020
|
+
# remove_license_specifications: [
|
1021
|
+
# {
|
1022
|
+
# license_configuration_arn: "String", # required
|
1023
|
+
# },
|
1024
|
+
# ],
|
1025
|
+
# }
|
1026
|
+
#
|
1027
|
+
# @!attribute [rw] resource_arn
|
1028
|
+
# ARN for an AWS server resource.
|
1029
|
+
# @return [String]
|
1030
|
+
#
|
1031
|
+
# @!attribute [rw] add_license_specifications
|
1032
|
+
# License configuration ARNs to be added to a resource.
|
1033
|
+
# @return [Array<Types::LicenseSpecification>]
|
1034
|
+
#
|
1035
|
+
# @!attribute [rw] remove_license_specifications
|
1036
|
+
# License configuration ARNs to be removed from a resource.
|
1037
|
+
# @return [Array<Types::LicenseSpecification>]
|
1038
|
+
#
|
1039
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseSpecificationsForResourceRequest AWS API Documentation
|
1040
|
+
#
|
1041
|
+
class UpdateLicenseSpecificationsForResourceRequest < Struct.new(
|
1042
|
+
:resource_arn,
|
1043
|
+
:add_license_specifications,
|
1044
|
+
:remove_license_specifications)
|
1045
|
+
include Aws::Structure
|
1046
|
+
end
|
1047
|
+
|
1048
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseSpecificationsForResourceResponse AWS API Documentation
|
1049
|
+
#
|
1050
|
+
class UpdateLicenseSpecificationsForResourceResponse < Aws::EmptyStructure; end
|
1051
|
+
|
1052
|
+
# @note When making an API call, you may pass UpdateServiceSettingsRequest
|
1053
|
+
# data as a hash:
|
1054
|
+
#
|
1055
|
+
# {
|
1056
|
+
# s3_bucket_arn: "String",
|
1057
|
+
# sns_topic_arn: "String",
|
1058
|
+
# organization_configuration: {
|
1059
|
+
# enable_integration: false, # required
|
1060
|
+
# },
|
1061
|
+
# enable_cross_accounts_discovery: false,
|
1062
|
+
# }
|
1063
|
+
#
|
1064
|
+
# @!attribute [rw] s3_bucket_arn
|
1065
|
+
# ARN of the Amazon S3 bucket where License Manager information is
|
1066
|
+
# stored.
|
1067
|
+
# @return [String]
|
1068
|
+
#
|
1069
|
+
# @!attribute [rw] sns_topic_arn
|
1070
|
+
# ARN of the Amazon SNS topic used for License Manager alerts.
|
1071
|
+
# @return [String]
|
1072
|
+
#
|
1073
|
+
# @!attribute [rw] organization_configuration
|
1074
|
+
# Integrates AWS Organizations with License Manager for cross-account
|
1075
|
+
# discovery.
|
1076
|
+
# @return [Types::OrganizationConfiguration]
|
1077
|
+
#
|
1078
|
+
# @!attribute [rw] enable_cross_accounts_discovery
|
1079
|
+
# Activates cross-account discovery.
|
1080
|
+
# @return [Boolean]
|
1081
|
+
#
|
1082
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateServiceSettingsRequest AWS API Documentation
|
1083
|
+
#
|
1084
|
+
class UpdateServiceSettingsRequest < Struct.new(
|
1085
|
+
:s3_bucket_arn,
|
1086
|
+
:sns_topic_arn,
|
1087
|
+
:organization_configuration,
|
1088
|
+
:enable_cross_accounts_discovery)
|
1089
|
+
include Aws::Structure
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateServiceSettingsResponse AWS API Documentation
|
1093
|
+
#
|
1094
|
+
class UpdateServiceSettingsResponse < Aws::EmptyStructure; end
|
1095
|
+
|
1096
|
+
end
|
1097
|
+
end
|