aws-sdk-licensemanager 1.10.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-licensemanager.rb +1 -1
- data/lib/aws-sdk-licensemanager/client.rb +241 -97
- data/lib/aws-sdk-licensemanager/client_api.rb +74 -0
- data/lib/aws-sdk-licensemanager/types.rb +430 -126
- metadata +2 -2
@@ -13,6 +13,7 @@ module Aws::LicenseManager
|
|
13
13
|
|
14
14
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
15
15
|
AuthorizationException = Shapes::StructureShape.new(name: 'AuthorizationException')
|
16
|
+
AutomatedDiscoveryInformation = Shapes::StructureShape.new(name: 'AutomatedDiscoveryInformation')
|
16
17
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
17
18
|
BoxBoolean = Shapes::BooleanShape.new(name: 'BoxBoolean')
|
18
19
|
BoxInteger = Shapes::IntegerShape.new(name: 'BoxInteger')
|
@@ -48,11 +49,15 @@ module Aws::LicenseManager
|
|
48
49
|
LicenseConfigurationUsageList = Shapes::ListShape.new(name: 'LicenseConfigurationUsageList')
|
49
50
|
LicenseConfigurations = Shapes::ListShape.new(name: 'LicenseConfigurations')
|
50
51
|
LicenseCountingType = Shapes::StringShape.new(name: 'LicenseCountingType')
|
52
|
+
LicenseOperationFailure = Shapes::StructureShape.new(name: 'LicenseOperationFailure')
|
53
|
+
LicenseOperationFailureList = Shapes::ListShape.new(name: 'LicenseOperationFailureList')
|
51
54
|
LicenseSpecification = Shapes::StructureShape.new(name: 'LicenseSpecification')
|
52
55
|
LicenseSpecifications = Shapes::ListShape.new(name: 'LicenseSpecifications')
|
53
56
|
LicenseUsageException = Shapes::StructureShape.new(name: 'LicenseUsageException')
|
54
57
|
ListAssociationsForLicenseConfigurationRequest = Shapes::StructureShape.new(name: 'ListAssociationsForLicenseConfigurationRequest')
|
55
58
|
ListAssociationsForLicenseConfigurationResponse = Shapes::StructureShape.new(name: 'ListAssociationsForLicenseConfigurationResponse')
|
59
|
+
ListFailuresForLicenseConfigurationOperationsRequest = Shapes::StructureShape.new(name: 'ListFailuresForLicenseConfigurationOperationsRequest')
|
60
|
+
ListFailuresForLicenseConfigurationOperationsResponse = Shapes::StructureShape.new(name: 'ListFailuresForLicenseConfigurationOperationsResponse')
|
56
61
|
ListLicenseConfigurationsRequest = Shapes::StructureShape.new(name: 'ListLicenseConfigurationsRequest')
|
57
62
|
ListLicenseConfigurationsResponse = Shapes::StructureShape.new(name: 'ListLicenseConfigurationsResponse')
|
58
63
|
ListLicenseSpecificationsForResourceRequest = Shapes::StructureShape.new(name: 'ListLicenseSpecificationsForResourceRequest')
|
@@ -66,7 +71,13 @@ module Aws::LicenseManager
|
|
66
71
|
ManagedResourceSummary = Shapes::StructureShape.new(name: 'ManagedResourceSummary')
|
67
72
|
ManagedResourceSummaryList = Shapes::ListShape.new(name: 'ManagedResourceSummaryList')
|
68
73
|
Message = Shapes::StringShape.new(name: 'Message')
|
74
|
+
Metadata = Shapes::StructureShape.new(name: 'Metadata')
|
75
|
+
MetadataList = Shapes::ListShape.new(name: 'MetadataList')
|
69
76
|
OrganizationConfiguration = Shapes::StructureShape.new(name: 'OrganizationConfiguration')
|
77
|
+
ProductInformation = Shapes::StructureShape.new(name: 'ProductInformation')
|
78
|
+
ProductInformationFilter = Shapes::StructureShape.new(name: 'ProductInformationFilter')
|
79
|
+
ProductInformationFilterList = Shapes::ListShape.new(name: 'ProductInformationFilterList')
|
80
|
+
ProductInformationList = Shapes::ListShape.new(name: 'ProductInformationList')
|
70
81
|
RateLimitExceededException = Shapes::StructureShape.new(name: 'RateLimitExceededException')
|
71
82
|
ResourceInventory = Shapes::StructureShape.new(name: 'ResourceInventory')
|
72
83
|
ResourceInventoryList = Shapes::ListShape.new(name: 'ResourceInventoryList')
|
@@ -95,6 +106,9 @@ module Aws::LicenseManager
|
|
95
106
|
AuthorizationException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
96
107
|
AuthorizationException.struct_class = Types::AuthorizationException
|
97
108
|
|
109
|
+
AutomatedDiscoveryInformation.add_member(:last_run_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastRunTime"))
|
110
|
+
AutomatedDiscoveryInformation.struct_class = Types::AutomatedDiscoveryInformation
|
111
|
+
|
98
112
|
ConsumedLicenseSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
99
113
|
ConsumedLicenseSummary.add_member(:consumed_licenses, Shapes::ShapeRef.new(shape: BoxLong, location_name: "ConsumedLicenses"))
|
100
114
|
ConsumedLicenseSummary.struct_class = Types::ConsumedLicenseSummary
|
@@ -108,6 +122,7 @@ module Aws::LicenseManager
|
|
108
122
|
CreateLicenseConfigurationRequest.add_member(:license_count_hard_limit, Shapes::ShapeRef.new(shape: BoxBoolean, location_name: "LicenseCountHardLimit"))
|
109
123
|
CreateLicenseConfigurationRequest.add_member(:license_rules, Shapes::ShapeRef.new(shape: StringList, location_name: "LicenseRules"))
|
110
124
|
CreateLicenseConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
125
|
+
CreateLicenseConfigurationRequest.add_member(:product_information_list, Shapes::ShapeRef.new(shape: ProductInformationList, location_name: "ProductInformationList"))
|
111
126
|
CreateLicenseConfigurationRequest.struct_class = Types::CreateLicenseConfigurationRequest
|
112
127
|
|
113
128
|
CreateLicenseConfigurationResponse.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, location_name: "LicenseConfigurationArn"))
|
@@ -149,6 +164,8 @@ module Aws::LicenseManager
|
|
149
164
|
GetLicenseConfigurationResponse.add_member(:consumed_license_summary_list, Shapes::ShapeRef.new(shape: ConsumedLicenseSummaryList, location_name: "ConsumedLicenseSummaryList"))
|
150
165
|
GetLicenseConfigurationResponse.add_member(:managed_resource_summary_list, Shapes::ShapeRef.new(shape: ManagedResourceSummaryList, location_name: "ManagedResourceSummaryList"))
|
151
166
|
GetLicenseConfigurationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
167
|
+
GetLicenseConfigurationResponse.add_member(:product_information_list, Shapes::ShapeRef.new(shape: ProductInformationList, location_name: "ProductInformationList"))
|
168
|
+
GetLicenseConfigurationResponse.add_member(:automated_discovery_information, Shapes::ShapeRef.new(shape: AutomatedDiscoveryInformation, location_name: "AutomatedDiscoveryInformation"))
|
152
169
|
GetLicenseConfigurationResponse.struct_class = Types::GetLicenseConfigurationResponse
|
153
170
|
|
154
171
|
GetServiceSettingsRequest.struct_class = Types::GetServiceSettingsRequest
|
@@ -157,6 +174,7 @@ module Aws::LicenseManager
|
|
157
174
|
GetServiceSettingsResponse.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: String, location_name: "SnsTopicArn"))
|
158
175
|
GetServiceSettingsResponse.add_member(:organization_configuration, Shapes::ShapeRef.new(shape: OrganizationConfiguration, location_name: "OrganizationConfiguration"))
|
159
176
|
GetServiceSettingsResponse.add_member(:enable_cross_accounts_discovery, Shapes::ShapeRef.new(shape: BoxBoolean, location_name: "EnableCrossAccountsDiscovery"))
|
177
|
+
GetServiceSettingsResponse.add_member(:license_manager_resource_share_arn, Shapes::ShapeRef.new(shape: String, location_name: "LicenseManagerResourceShareArn"))
|
160
178
|
GetServiceSettingsResponse.struct_class = Types::GetServiceSettingsResponse
|
161
179
|
|
162
180
|
InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
@@ -185,6 +203,8 @@ module Aws::LicenseManager
|
|
185
203
|
LicenseConfiguration.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: String, location_name: "OwnerAccountId"))
|
186
204
|
LicenseConfiguration.add_member(:consumed_license_summary_list, Shapes::ShapeRef.new(shape: ConsumedLicenseSummaryList, location_name: "ConsumedLicenseSummaryList"))
|
187
205
|
LicenseConfiguration.add_member(:managed_resource_summary_list, Shapes::ShapeRef.new(shape: ManagedResourceSummaryList, location_name: "ManagedResourceSummaryList"))
|
206
|
+
LicenseConfiguration.add_member(:product_information_list, Shapes::ShapeRef.new(shape: ProductInformationList, location_name: "ProductInformationList"))
|
207
|
+
LicenseConfiguration.add_member(:automated_discovery_information, Shapes::ShapeRef.new(shape: AutomatedDiscoveryInformation, location_name: "AutomatedDiscoveryInformation"))
|
188
208
|
LicenseConfiguration.struct_class = Types::LicenseConfiguration
|
189
209
|
|
190
210
|
LicenseConfigurationAssociation.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
|
@@ -207,6 +227,18 @@ module Aws::LicenseManager
|
|
207
227
|
|
208
228
|
LicenseConfigurations.member = Shapes::ShapeRef.new(shape: LicenseConfiguration)
|
209
229
|
|
230
|
+
LicenseOperationFailure.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
|
231
|
+
LicenseOperationFailure.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
232
|
+
LicenseOperationFailure.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
|
233
|
+
LicenseOperationFailure.add_member(:failure_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "FailureTime"))
|
234
|
+
LicenseOperationFailure.add_member(:operation_name, Shapes::ShapeRef.new(shape: String, location_name: "OperationName"))
|
235
|
+
LicenseOperationFailure.add_member(:resource_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceOwnerId"))
|
236
|
+
LicenseOperationFailure.add_member(:operation_requested_by, Shapes::ShapeRef.new(shape: String, location_name: "OperationRequestedBy"))
|
237
|
+
LicenseOperationFailure.add_member(:metadata_list, Shapes::ShapeRef.new(shape: MetadataList, location_name: "MetadataList"))
|
238
|
+
LicenseOperationFailure.struct_class = Types::LicenseOperationFailure
|
239
|
+
|
240
|
+
LicenseOperationFailureList.member = Shapes::ShapeRef.new(shape: LicenseOperationFailure)
|
241
|
+
|
210
242
|
LicenseSpecification.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LicenseConfigurationArn"))
|
211
243
|
LicenseSpecification.struct_class = Types::LicenseSpecification
|
212
244
|
|
@@ -224,6 +256,15 @@ module Aws::LicenseManager
|
|
224
256
|
ListAssociationsForLicenseConfigurationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
225
257
|
ListAssociationsForLicenseConfigurationResponse.struct_class = Types::ListAssociationsForLicenseConfigurationResponse
|
226
258
|
|
259
|
+
ListFailuresForLicenseConfigurationOperationsRequest.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LicenseConfigurationArn"))
|
260
|
+
ListFailuresForLicenseConfigurationOperationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxInteger, location_name: "MaxResults"))
|
261
|
+
ListFailuresForLicenseConfigurationOperationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
262
|
+
ListFailuresForLicenseConfigurationOperationsRequest.struct_class = Types::ListFailuresForLicenseConfigurationOperationsRequest
|
263
|
+
|
264
|
+
ListFailuresForLicenseConfigurationOperationsResponse.add_member(:license_operation_failure_list, Shapes::ShapeRef.new(shape: LicenseOperationFailureList, location_name: "LicenseOperationFailureList"))
|
265
|
+
ListFailuresForLicenseConfigurationOperationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
266
|
+
ListFailuresForLicenseConfigurationOperationsResponse.struct_class = Types::ListFailuresForLicenseConfigurationOperationsResponse
|
267
|
+
|
227
268
|
ListLicenseConfigurationsRequest.add_member(:license_configuration_arns, Shapes::ShapeRef.new(shape: StringList, location_name: "LicenseConfigurationArns"))
|
228
269
|
ListLicenseConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxInteger, location_name: "MaxResults"))
|
229
270
|
ListLicenseConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
@@ -274,9 +315,28 @@ module Aws::LicenseManager
|
|
274
315
|
|
275
316
|
ManagedResourceSummaryList.member = Shapes::ShapeRef.new(shape: ManagedResourceSummary)
|
276
317
|
|
318
|
+
Metadata.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
319
|
+
Metadata.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
|
320
|
+
Metadata.struct_class = Types::Metadata
|
321
|
+
|
322
|
+
MetadataList.member = Shapes::ShapeRef.new(shape: Metadata)
|
323
|
+
|
277
324
|
OrganizationConfiguration.add_member(:enable_integration, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "EnableIntegration"))
|
278
325
|
OrganizationConfiguration.struct_class = Types::OrganizationConfiguration
|
279
326
|
|
327
|
+
ProductInformation.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceType"))
|
328
|
+
ProductInformation.add_member(:product_information_filter_list, Shapes::ShapeRef.new(shape: ProductInformationFilterList, required: true, location_name: "ProductInformationFilterList"))
|
329
|
+
ProductInformation.struct_class = Types::ProductInformation
|
330
|
+
|
331
|
+
ProductInformationFilter.add_member(:product_information_filter_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ProductInformationFilterName"))
|
332
|
+
ProductInformationFilter.add_member(:product_information_filter_value, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "ProductInformationFilterValue"))
|
333
|
+
ProductInformationFilter.add_member(:product_information_filter_comparator, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ProductInformationFilterComparator"))
|
334
|
+
ProductInformationFilter.struct_class = Types::ProductInformationFilter
|
335
|
+
|
336
|
+
ProductInformationFilterList.member = Shapes::ShapeRef.new(shape: ProductInformationFilter)
|
337
|
+
|
338
|
+
ProductInformationList.member = Shapes::ShapeRef.new(shape: ProductInformation)
|
339
|
+
|
280
340
|
RateLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
281
341
|
RateLimitExceededException.struct_class = Types::RateLimitExceededException
|
282
342
|
|
@@ -325,6 +385,7 @@ module Aws::LicenseManager
|
|
325
385
|
UpdateLicenseConfigurationRequest.add_member(:license_count_hard_limit, Shapes::ShapeRef.new(shape: BoxBoolean, location_name: "LicenseCountHardLimit"))
|
326
386
|
UpdateLicenseConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
|
327
387
|
UpdateLicenseConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
|
388
|
+
UpdateLicenseConfigurationRequest.add_member(:product_information_list, Shapes::ShapeRef.new(shape: ProductInformationList, location_name: "ProductInformationList"))
|
328
389
|
UpdateLicenseConfigurationRequest.struct_class = Types::UpdateLicenseConfigurationRequest
|
329
390
|
|
330
391
|
UpdateLicenseConfigurationResponse.struct_class = Types::UpdateLicenseConfigurationResponse
|
@@ -428,6 +489,19 @@ module Aws::LicenseManager
|
|
428
489
|
o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
|
429
490
|
end)
|
430
491
|
|
492
|
+
api.add_operation(:list_failures_for_license_configuration_operations, Seahorse::Model::Operation.new.tap do |o|
|
493
|
+
o.name = "ListFailuresForLicenseConfigurationOperations"
|
494
|
+
o.http_method = "POST"
|
495
|
+
o.http_request_uri = "/"
|
496
|
+
o.input = Shapes::ShapeRef.new(shape: ListFailuresForLicenseConfigurationOperationsRequest)
|
497
|
+
o.output = Shapes::ShapeRef.new(shape: ListFailuresForLicenseConfigurationOperationsResponse)
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
499
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
500
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
502
|
+
o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
|
503
|
+
end)
|
504
|
+
|
431
505
|
api.add_operation(:list_license_configurations, Seahorse::Model::Operation.new.tap do |o|
|
432
506
|
o.name = "ListLicenseConfigurations"
|
433
507
|
o.http_method = "POST"
|
@@ -33,15 +33,27 @@ module Aws::LicenseManager
|
|
33
33
|
include Aws::Structure
|
34
34
|
end
|
35
35
|
|
36
|
+
# Describes automated discovery.
|
37
|
+
#
|
38
|
+
# @!attribute [rw] last_run_time
|
39
|
+
# Time that automated discovery last ran.
|
40
|
+
# @return [Time]
|
41
|
+
#
|
42
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/AutomatedDiscoveryInformation AWS API Documentation
|
43
|
+
#
|
44
|
+
class AutomatedDiscoveryInformation < Struct.new(
|
45
|
+
:last_run_time)
|
46
|
+
include Aws::Structure
|
47
|
+
end
|
48
|
+
|
36
49
|
# Details about license consumption.
|
37
50
|
#
|
38
51
|
# @!attribute [rw] resource_type
|
39
|
-
# Resource type of the resource consuming a license
|
40
|
-
# or AMI).
|
52
|
+
# Resource type of the resource consuming a license.
|
41
53
|
# @return [String]
|
42
54
|
#
|
43
55
|
# @!attribute [rw] consumed_licenses
|
44
|
-
# Number of licenses consumed by
|
56
|
+
# Number of licenses consumed by the resource.
|
45
57
|
# @return [Integer]
|
46
58
|
#
|
47
59
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ConsumedLicenseSummary AWS API Documentation
|
@@ -68,6 +80,18 @@ module Aws::LicenseManager
|
|
68
80
|
# value: "String",
|
69
81
|
# },
|
70
82
|
# ],
|
83
|
+
# product_information_list: [
|
84
|
+
# {
|
85
|
+
# resource_type: "String", # required
|
86
|
+
# product_information_filter_list: [ # required
|
87
|
+
# {
|
88
|
+
# product_information_filter_name: "String", # required
|
89
|
+
# product_information_filter_value: ["String"], # required
|
90
|
+
# product_information_filter_comparator: "String", # required
|
91
|
+
# },
|
92
|
+
# ],
|
93
|
+
# },
|
94
|
+
# ],
|
71
95
|
# }
|
72
96
|
#
|
73
97
|
# @!attribute [rw] name
|
@@ -75,11 +99,11 @@ module Aws::LicenseManager
|
|
75
99
|
# @return [String]
|
76
100
|
#
|
77
101
|
# @!attribute [rw] description
|
78
|
-
#
|
102
|
+
# Description of the license configuration.
|
79
103
|
# @return [String]
|
80
104
|
#
|
81
105
|
# @!attribute [rw] license_counting_type
|
82
|
-
# Dimension
|
106
|
+
# Dimension used to track the license inventory.
|
83
107
|
# @return [String]
|
84
108
|
#
|
85
109
|
# @!attribute [rw] license_count
|
@@ -87,22 +111,37 @@ module Aws::LicenseManager
|
|
87
111
|
# @return [Integer]
|
88
112
|
#
|
89
113
|
# @!attribute [rw] license_count_hard_limit
|
90
|
-
#
|
91
|
-
# Exceeding a hard limit
|
92
|
-
# instances.
|
114
|
+
# Indicates whether hard or soft license enforcement is used.
|
115
|
+
# Exceeding a hard limit blocks the launch of new instances.
|
93
116
|
# @return [Boolean]
|
94
117
|
#
|
95
118
|
# @!attribute [rw] license_rules
|
96
|
-
#
|
119
|
+
# License rules. The syntax is #name=value (for example,
|
120
|
+
# #allowedTenancy=EC2-DedicatedHost). Available rules vary by
|
121
|
+
# dimension.
|
122
|
+
#
|
123
|
+
# * `Cores` dimension: `allowedTenancy` \| `maximumCores` \|
|
124
|
+
# `minimumCores`
|
125
|
+
#
|
126
|
+
# * `Instances` dimension: `allowedTenancy` \| `maximumCores` \|
|
127
|
+
# `minimumCores` \| `maximumSockets` \| `minimumSockets` \|
|
128
|
+
# `maximumVcpus` \| `minimumVcpus`
|
129
|
+
#
|
130
|
+
# * `Sockets` dimension: `allowedTenancy` \| `maximumSockets` \|
|
131
|
+
# `minimumSockets`
|
132
|
+
#
|
133
|
+
# * `vCPUs` dimension: `allowedTenancy` \| `honorVcpuOptimization` \|
|
134
|
+
# `maximumVcpus` \| `minimumVcpus`
|
97
135
|
# @return [Array<String>]
|
98
136
|
#
|
99
137
|
# @!attribute [rw] tags
|
100
|
-
#
|
101
|
-
# instances and volumes on launch. The specified tags are applied to
|
102
|
-
# all instances or volumes that are created during launch. To tag a
|
103
|
-
# resource after it has been created, see CreateTags .
|
138
|
+
# Tags to add to the license configuration.
|
104
139
|
# @return [Array<Types::Tag>]
|
105
140
|
#
|
141
|
+
# @!attribute [rw] product_information_list
|
142
|
+
# Product information.
|
143
|
+
# @return [Array<Types::ProductInformation>]
|
144
|
+
#
|
106
145
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConfigurationRequest AWS API Documentation
|
107
146
|
#
|
108
147
|
class CreateLicenseConfigurationRequest < Struct.new(
|
@@ -112,12 +151,13 @@ module Aws::LicenseManager
|
|
112
151
|
:license_count,
|
113
152
|
:license_count_hard_limit,
|
114
153
|
:license_rules,
|
115
|
-
:tags
|
154
|
+
:tags,
|
155
|
+
:product_information_list)
|
116
156
|
include Aws::Structure
|
117
157
|
end
|
118
158
|
|
119
159
|
# @!attribute [rw] license_configuration_arn
|
120
|
-
# ARN of the license configuration
|
160
|
+
# Amazon Resource Name (ARN) of the license configuration.
|
121
161
|
# @return [String]
|
122
162
|
#
|
123
163
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConfigurationResponse AWS API Documentation
|
@@ -135,7 +175,7 @@ module Aws::LicenseManager
|
|
135
175
|
# }
|
136
176
|
#
|
137
177
|
# @!attribute [rw] license_configuration_arn
|
138
|
-
#
|
178
|
+
# ID of the license configuration.
|
139
179
|
# @return [String]
|
140
180
|
#
|
141
181
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseConfigurationRequest AWS API Documentation
|
@@ -161,11 +201,9 @@ module Aws::LicenseManager
|
|
161
201
|
include Aws::Structure
|
162
202
|
end
|
163
203
|
|
164
|
-
# A filter name and value pair that is used to return
|
165
|
-
#
|
166
|
-
#
|
167
|
-
# attributes, or IDs. The filters supported by a `Describe` operation
|
168
|
-
# are documented with the `Describe` operation.
|
204
|
+
# A filter name and value pair that is used to return more specific
|
205
|
+
# results from a describe operation. Filters can be used to match a set
|
206
|
+
# of resources by specific criteria, such as tags, attributes, or IDs.
|
169
207
|
#
|
170
208
|
# @note When making an API call, you may pass Filter
|
171
209
|
# data as a hash:
|
@@ -180,7 +218,7 @@ module Aws::LicenseManager
|
|
180
218
|
# @return [String]
|
181
219
|
#
|
182
220
|
# @!attribute [rw] values
|
183
|
-
#
|
221
|
+
# Filter values. Filter values are case-sensitive.
|
184
222
|
# @return [Array<String>]
|
185
223
|
#
|
186
224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Filter AWS API Documentation
|
@@ -211,7 +249,7 @@ module Aws::LicenseManager
|
|
211
249
|
# }
|
212
250
|
#
|
213
251
|
# @!attribute [rw] license_configuration_arn
|
214
|
-
# ARN of the license configuration
|
252
|
+
# Amazon Resource Name (ARN) of the license configuration.
|
215
253
|
# @return [String]
|
216
254
|
#
|
217
255
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConfigurationRequest AWS API Documentation
|
@@ -226,7 +264,7 @@ module Aws::LicenseManager
|
|
226
264
|
# @return [String]
|
227
265
|
#
|
228
266
|
# @!attribute [rw] license_configuration_arn
|
229
|
-
# ARN of the license configuration
|
267
|
+
# Amazon Resource Name (ARN) of the license configuration.
|
230
268
|
# @return [String]
|
231
269
|
#
|
232
270
|
# @!attribute [rw] name
|
@@ -238,12 +276,11 @@ module Aws::LicenseManager
|
|
238
276
|
# @return [String]
|
239
277
|
#
|
240
278
|
# @!attribute [rw] license_counting_type
|
241
|
-
# Dimension on which the licenses are counted
|
242
|
-
# cores, sockets, or VCPUs).
|
279
|
+
# Dimension on which the licenses are counted.
|
243
280
|
# @return [String]
|
244
281
|
#
|
245
282
|
# @!attribute [rw] license_rules
|
246
|
-
#
|
283
|
+
# License rules.
|
247
284
|
# @return [Array<String>]
|
248
285
|
#
|
249
286
|
# @!attribute [rw] license_count
|
@@ -259,25 +296,33 @@ module Aws::LicenseManager
|
|
259
296
|
# @return [Integer]
|
260
297
|
#
|
261
298
|
# @!attribute [rw] status
|
262
|
-
# License configuration status
|
299
|
+
# License configuration status.
|
263
300
|
# @return [String]
|
264
301
|
#
|
265
302
|
# @!attribute [rw] owner_account_id
|
266
|
-
#
|
303
|
+
# Account ID of the owner of the license configuration.
|
267
304
|
# @return [String]
|
268
305
|
#
|
269
306
|
# @!attribute [rw] consumed_license_summary_list
|
270
|
-
#
|
307
|
+
# Summaries of the licenses consumed by resources.
|
271
308
|
# @return [Array<Types::ConsumedLicenseSummary>]
|
272
309
|
#
|
273
310
|
# @!attribute [rw] managed_resource_summary_list
|
274
|
-
#
|
311
|
+
# Summaries of the managed resources.
|
275
312
|
# @return [Array<Types::ManagedResourceSummary>]
|
276
313
|
#
|
277
314
|
# @!attribute [rw] tags
|
278
|
-
#
|
315
|
+
# Tags for the license configuration.
|
279
316
|
# @return [Array<Types::Tag>]
|
280
317
|
#
|
318
|
+
# @!attribute [rw] product_information_list
|
319
|
+
# Product information.
|
320
|
+
# @return [Array<Types::ProductInformation>]
|
321
|
+
#
|
322
|
+
# @!attribute [rw] automated_discovery_information
|
323
|
+
# Automated discovery information.
|
324
|
+
# @return [Types::AutomatedDiscoveryInformation]
|
325
|
+
#
|
281
326
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConfigurationResponse AWS API Documentation
|
282
327
|
#
|
283
328
|
class GetLicenseConfigurationResponse < Struct.new(
|
@@ -294,7 +339,9 @@ module Aws::LicenseManager
|
|
294
339
|
:owner_account_id,
|
295
340
|
:consumed_license_summary_list,
|
296
341
|
:managed_resource_summary_list,
|
297
|
-
:tags
|
342
|
+
:tags,
|
343
|
+
:product_information_list,
|
344
|
+
:automated_discovery_information)
|
298
345
|
include Aws::Structure
|
299
346
|
end
|
300
347
|
|
@@ -306,7 +353,7 @@ module Aws::LicenseManager
|
|
306
353
|
|
307
354
|
# @!attribute [rw] s3_bucket_arn
|
308
355
|
# Regional S3 bucket path for storing reports, license trail event
|
309
|
-
# data, discovery data,
|
356
|
+
# data, discovery data, and so on.
|
310
357
|
# @return [String]
|
311
358
|
#
|
312
359
|
# @!attribute [rw] sns_topic_arn
|
@@ -322,13 +369,20 @@ module Aws::LicenseManager
|
|
322
369
|
# Indicates whether cross-account discovery has been enabled.
|
323
370
|
# @return [Boolean]
|
324
371
|
#
|
372
|
+
# @!attribute [rw] license_manager_resource_share_arn
|
373
|
+
# Amazon Resource Name (ARN) of the AWS resource share. The License
|
374
|
+
# Manager master account will provide member accounts with access to
|
375
|
+
# this share.
|
376
|
+
# @return [String]
|
377
|
+
#
|
325
378
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetServiceSettingsResponse AWS API Documentation
|
326
379
|
#
|
327
380
|
class GetServiceSettingsResponse < Struct.new(
|
328
381
|
:s3_bucket_arn,
|
329
382
|
:sns_topic_arn,
|
330
383
|
:organization_configuration,
|
331
|
-
:enable_cross_accounts_discovery
|
384
|
+
:enable_cross_accounts_discovery,
|
385
|
+
:license_manager_resource_share_arn)
|
332
386
|
include Aws::Structure
|
333
387
|
end
|
334
388
|
|
@@ -360,7 +414,7 @@ module Aws::LicenseManager
|
|
360
414
|
include Aws::Structure
|
361
415
|
end
|
362
416
|
|
363
|
-
# An inventory filter
|
417
|
+
# An inventory filter.
|
364
418
|
#
|
365
419
|
# @note When making an API call, you may pass InventoryFilter
|
366
420
|
# data as a hash:
|
@@ -372,11 +426,11 @@ module Aws::LicenseManager
|
|
372
426
|
# }
|
373
427
|
#
|
374
428
|
# @!attribute [rw] name
|
375
|
-
#
|
429
|
+
# Name of the filter.
|
376
430
|
# @return [String]
|
377
431
|
#
|
378
432
|
# @!attribute [rw] condition
|
379
|
-
#
|
433
|
+
# Condition of the filter.
|
380
434
|
# @return [String]
|
381
435
|
#
|
382
436
|
# @!attribute [rw] value
|
@@ -395,17 +449,17 @@ module Aws::LicenseManager
|
|
395
449
|
# A license configuration is an abstraction of a customer license
|
396
450
|
# agreement that can be consumed and enforced by License Manager.
|
397
451
|
# Components include specifications for the license type (licensing by
|
398
|
-
# instance, socket, CPU, or
|
399
|
-
# Dedicated Instance,
|
400
|
-
#
|
452
|
+
# instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy,
|
453
|
+
# Dedicated Instance, Dedicated Host, or all of these), host affinity
|
454
|
+
# (how long a VM must be associated with a host), and the number of
|
401
455
|
# licenses purchased and used.
|
402
456
|
#
|
403
457
|
# @!attribute [rw] license_configuration_id
|
404
|
-
# Unique ID of the
|
458
|
+
# Unique ID of the license configuration.
|
405
459
|
# @return [String]
|
406
460
|
#
|
407
461
|
# @!attribute [rw] license_configuration_arn
|
408
|
-
# ARN of the
|
462
|
+
# Amazon Resource Name (ARN) of the license configuration.
|
409
463
|
# @return [String]
|
410
464
|
#
|
411
465
|
# @!attribute [rw] name
|
@@ -417,11 +471,11 @@ module Aws::LicenseManager
|
|
417
471
|
# @return [String]
|
418
472
|
#
|
419
473
|
# @!attribute [rw] license_counting_type
|
420
|
-
# Dimension to use to track license inventory.
|
474
|
+
# Dimension to use to track the license inventory.
|
421
475
|
# @return [String]
|
422
476
|
#
|
423
477
|
# @!attribute [rw] license_rules
|
424
|
-
#
|
478
|
+
# License rules.
|
425
479
|
# @return [Array<String>]
|
426
480
|
#
|
427
481
|
# @!attribute [rw] license_count
|
@@ -429,7 +483,7 @@ module Aws::LicenseManager
|
|
429
483
|
# @return [Integer]
|
430
484
|
#
|
431
485
|
# @!attribute [rw] license_count_hard_limit
|
432
|
-
#
|
486
|
+
# Number of available licenses as a hard limit.
|
433
487
|
# @return [Boolean]
|
434
488
|
#
|
435
489
|
# @!attribute [rw] consumed_licenses
|
@@ -445,13 +499,21 @@ module Aws::LicenseManager
|
|
445
499
|
# @return [String]
|
446
500
|
#
|
447
501
|
# @!attribute [rw] consumed_license_summary_list
|
448
|
-
#
|
502
|
+
# Summaries for licenses consumed by various resources.
|
449
503
|
# @return [Array<Types::ConsumedLicenseSummary>]
|
450
504
|
#
|
451
505
|
# @!attribute [rw] managed_resource_summary_list
|
452
|
-
#
|
506
|
+
# Summaries for managed resources.
|
453
507
|
# @return [Array<Types::ManagedResourceSummary>]
|
454
508
|
#
|
509
|
+
# @!attribute [rw] product_information_list
|
510
|
+
# Product information.
|
511
|
+
# @return [Array<Types::ProductInformation>]
|
512
|
+
#
|
513
|
+
# @!attribute [rw] automated_discovery_information
|
514
|
+
# Automated discovery information.
|
515
|
+
# @return [Types::AutomatedDiscoveryInformation]
|
516
|
+
#
|
455
517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseConfiguration AWS API Documentation
|
456
518
|
#
|
457
519
|
class LicenseConfiguration < Struct.new(
|
@@ -467,15 +529,16 @@ module Aws::LicenseManager
|
|
467
529
|
:status,
|
468
530
|
:owner_account_id,
|
469
531
|
:consumed_license_summary_list,
|
470
|
-
:managed_resource_summary_list
|
532
|
+
:managed_resource_summary_list,
|
533
|
+
:product_information_list,
|
534
|
+
:automated_discovery_information)
|
471
535
|
include Aws::Structure
|
472
536
|
end
|
473
537
|
|
474
|
-
# Describes
|
475
|
-
# configuration.
|
538
|
+
# Describes an association with a license configuration.
|
476
539
|
#
|
477
540
|
# @!attribute [rw] resource_arn
|
478
|
-
# ARN of the resource
|
541
|
+
# Amazon Resource Name (ARN) of the resource.
|
479
542
|
# @return [String]
|
480
543
|
#
|
481
544
|
# @!attribute [rw] resource_type
|
@@ -501,33 +564,32 @@ module Aws::LicenseManager
|
|
501
564
|
include Aws::Structure
|
502
565
|
end
|
503
566
|
|
504
|
-
#
|
567
|
+
# Details about the usage of a resource associated with a license
|
568
|
+
# configuration.
|
505
569
|
#
|
506
570
|
# @!attribute [rw] resource_arn
|
507
|
-
# ARN of the resource
|
571
|
+
# Amazon Resource Name (ARN) of the resource.
|
508
572
|
# @return [String]
|
509
573
|
#
|
510
574
|
# @!attribute [rw] resource_type
|
511
|
-
# Type of resource
|
575
|
+
# Type of resource.
|
512
576
|
# @return [String]
|
513
577
|
#
|
514
578
|
# @!attribute [rw] resource_status
|
515
|
-
# Status of
|
579
|
+
# Status of the resource.
|
516
580
|
# @return [String]
|
517
581
|
#
|
518
582
|
# @!attribute [rw] resource_owner_id
|
519
|
-
# ID of the account that owns
|
520
|
-
# license configuration.
|
583
|
+
# ID of the account that owns the resource.
|
521
584
|
# @return [String]
|
522
585
|
#
|
523
586
|
# @!attribute [rw] association_time
|
524
|
-
# Time when the license configuration was initially associated with
|
525
|
-
# resource.
|
587
|
+
# Time when the license configuration was initially associated with
|
588
|
+
# the resource.
|
526
589
|
# @return [Time]
|
527
590
|
#
|
528
591
|
# @!attribute [rw] consumed_licenses
|
529
|
-
# Number of licenses consumed
|
530
|
-
# license configuration.
|
592
|
+
# Number of licenses consumed by the resource.
|
531
593
|
# @return [Integer]
|
532
594
|
#
|
533
595
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseConfigurationUsage AWS API Documentation
|
@@ -542,7 +604,55 @@ module Aws::LicenseManager
|
|
542
604
|
include Aws::Structure
|
543
605
|
end
|
544
606
|
|
545
|
-
#
|
607
|
+
# Describes the failure of a license operation.
|
608
|
+
#
|
609
|
+
# @!attribute [rw] resource_arn
|
610
|
+
# Amazon Resource Name (ARN) of the resource.
|
611
|
+
# @return [String]
|
612
|
+
#
|
613
|
+
# @!attribute [rw] resource_type
|
614
|
+
# Resource type.
|
615
|
+
# @return [String]
|
616
|
+
#
|
617
|
+
# @!attribute [rw] error_message
|
618
|
+
# Error message.
|
619
|
+
# @return [String]
|
620
|
+
#
|
621
|
+
# @!attribute [rw] failure_time
|
622
|
+
# Failure time.
|
623
|
+
# @return [Time]
|
624
|
+
#
|
625
|
+
# @!attribute [rw] operation_name
|
626
|
+
# Name of the operation.
|
627
|
+
# @return [String]
|
628
|
+
#
|
629
|
+
# @!attribute [rw] resource_owner_id
|
630
|
+
# ID of the AWS account that owns the resource.
|
631
|
+
# @return [String]
|
632
|
+
#
|
633
|
+
# @!attribute [rw] operation_requested_by
|
634
|
+
# The requester is "License Manager Automated Discovery".
|
635
|
+
# @return [String]
|
636
|
+
#
|
637
|
+
# @!attribute [rw] metadata_list
|
638
|
+
# Reserved.
|
639
|
+
# @return [Array<Types::Metadata>]
|
640
|
+
#
|
641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseOperationFailure AWS API Documentation
|
642
|
+
#
|
643
|
+
class LicenseOperationFailure < Struct.new(
|
644
|
+
:resource_arn,
|
645
|
+
:resource_type,
|
646
|
+
:error_message,
|
647
|
+
:failure_time,
|
648
|
+
:operation_name,
|
649
|
+
:resource_owner_id,
|
650
|
+
:operation_requested_by,
|
651
|
+
:metadata_list)
|
652
|
+
include Aws::Structure
|
653
|
+
end
|
654
|
+
|
655
|
+
# Details for associating a license configuration with a resource.
|
546
656
|
#
|
547
657
|
# @note When making an API call, you may pass LicenseSpecification
|
548
658
|
# data as a hash:
|
@@ -552,7 +662,7 @@ module Aws::LicenseManager
|
|
552
662
|
# }
|
553
663
|
#
|
554
664
|
# @!attribute [rw] license_configuration_arn
|
555
|
-
# ARN of the
|
665
|
+
# Amazon Resource Name (ARN) of the license configuration.
|
556
666
|
# @return [String]
|
557
667
|
#
|
558
668
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseSpecification AWS API Documentation
|
@@ -585,13 +695,11 @@ module Aws::LicenseManager
|
|
585
695
|
# }
|
586
696
|
#
|
587
697
|
# @!attribute [rw] license_configuration_arn
|
588
|
-
# ARN of a
|
698
|
+
# Amazon Resource Name (ARN) of a license configuration.
|
589
699
|
# @return [String]
|
590
700
|
#
|
591
701
|
# @!attribute [rw] max_results
|
592
|
-
# Maximum number of results to return in a single call.
|
593
|
-
# the remaining results, make another call with the returned
|
594
|
-
# `NextToken` value.
|
702
|
+
# Maximum number of results to return in a single call.
|
595
703
|
# @return [Integer]
|
596
704
|
#
|
597
705
|
# @!attribute [rw] next_token
|
@@ -608,10 +716,7 @@ module Aws::LicenseManager
|
|
608
716
|
end
|
609
717
|
|
610
718
|
# @!attribute [rw] license_configuration_associations
|
611
|
-
#
|
612
|
-
# containing the association time, number of consumed licenses,
|
613
|
-
# resource ARN, resource ID, account ID that owns the resource,
|
614
|
-
# resource size, and resource type.
|
719
|
+
# Information about the associations for the license configuration.
|
615
720
|
# @return [Array<Types::LicenseConfigurationAssociation>]
|
616
721
|
#
|
617
722
|
# @!attribute [rw] next_token
|
@@ -626,6 +731,52 @@ module Aws::LicenseManager
|
|
626
731
|
include Aws::Structure
|
627
732
|
end
|
628
733
|
|
734
|
+
# @note When making an API call, you may pass ListFailuresForLicenseConfigurationOperationsRequest
|
735
|
+
# data as a hash:
|
736
|
+
#
|
737
|
+
# {
|
738
|
+
# license_configuration_arn: "String", # required
|
739
|
+
# max_results: 1,
|
740
|
+
# next_token: "String",
|
741
|
+
# }
|
742
|
+
#
|
743
|
+
# @!attribute [rw] license_configuration_arn
|
744
|
+
# Amazon Resource Name of the license configuration.
|
745
|
+
# @return [String]
|
746
|
+
#
|
747
|
+
# @!attribute [rw] max_results
|
748
|
+
# Maximum number of results to return in a single call.
|
749
|
+
# @return [Integer]
|
750
|
+
#
|
751
|
+
# @!attribute [rw] next_token
|
752
|
+
# Token for the next set of results.
|
753
|
+
# @return [String]
|
754
|
+
#
|
755
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListFailuresForLicenseConfigurationOperationsRequest AWS API Documentation
|
756
|
+
#
|
757
|
+
class ListFailuresForLicenseConfigurationOperationsRequest < Struct.new(
|
758
|
+
:license_configuration_arn,
|
759
|
+
:max_results,
|
760
|
+
:next_token)
|
761
|
+
include Aws::Structure
|
762
|
+
end
|
763
|
+
|
764
|
+
# @!attribute [rw] license_operation_failure_list
|
765
|
+
# License configuration operations that failed.
|
766
|
+
# @return [Array<Types::LicenseOperationFailure>]
|
767
|
+
#
|
768
|
+
# @!attribute [rw] next_token
|
769
|
+
# Token for the next set of results.
|
770
|
+
# @return [String]
|
771
|
+
#
|
772
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListFailuresForLicenseConfigurationOperationsResponse AWS API Documentation
|
773
|
+
#
|
774
|
+
class ListFailuresForLicenseConfigurationOperationsResponse < Struct.new(
|
775
|
+
:license_operation_failure_list,
|
776
|
+
:next_token)
|
777
|
+
include Aws::Structure
|
778
|
+
end
|
779
|
+
|
629
780
|
# @note When making an API call, you may pass ListLicenseConfigurationsRequest
|
630
781
|
# data as a hash:
|
631
782
|
#
|
@@ -642,13 +793,11 @@ module Aws::LicenseManager
|
|
642
793
|
# }
|
643
794
|
#
|
644
795
|
# @!attribute [rw] license_configuration_arns
|
645
|
-
#
|
796
|
+
# Amazon Resource Names (ARN) of the license configurations.
|
646
797
|
# @return [Array<String>]
|
647
798
|
#
|
648
799
|
# @!attribute [rw] max_results
|
649
|
-
# Maximum number of results to return in a single call.
|
650
|
-
# the remaining results, make another call with the returned
|
651
|
-
# `NextToken` value.
|
800
|
+
# Maximum number of results to return in a single call.
|
652
801
|
# @return [Integer]
|
653
802
|
#
|
654
803
|
# @!attribute [rw] next_token
|
@@ -656,7 +805,19 @@ module Aws::LicenseManager
|
|
656
805
|
# @return [String]
|
657
806
|
#
|
658
807
|
# @!attribute [rw] filters
|
659
|
-
#
|
808
|
+
# Filters to scope the results. The following filters and logical
|
809
|
+
# operators are supported:
|
810
|
+
#
|
811
|
+
# * `licenseCountingType` - The dimension on which licenses are
|
812
|
+
# counted (vCPU). Logical operators are `EQUALS` \| `NOT_EQUALS`.
|
813
|
+
#
|
814
|
+
# * `enforceLicenseCount` - A Boolean value that indicates whether
|
815
|
+
# hard license enforcement is used. Logical operators are `EQUALS`
|
816
|
+
# \| `NOT_EQUALS`.
|
817
|
+
#
|
818
|
+
# * `usagelimitExceeded` - A Boolean value that indicates whether the
|
819
|
+
# available licenses have been exceeded. Logical operators are
|
820
|
+
# `EQUALS` \| `NOT_EQUALS`.
|
660
821
|
# @return [Array<Types::Filter>]
|
661
822
|
#
|
662
823
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConfigurationsRequest AWS API Documentation
|
@@ -670,7 +831,7 @@ module Aws::LicenseManager
|
|
670
831
|
end
|
671
832
|
|
672
833
|
# @!attribute [rw] license_configurations
|
673
|
-
#
|
834
|
+
# Information about the license configurations.
|
674
835
|
# @return [Array<Types::LicenseConfiguration>]
|
675
836
|
#
|
676
837
|
# @!attribute [rw] next_token
|
@@ -695,14 +856,12 @@ module Aws::LicenseManager
|
|
695
856
|
# }
|
696
857
|
#
|
697
858
|
# @!attribute [rw] resource_arn
|
698
|
-
#
|
699
|
-
# configuration.
|
859
|
+
# Amazon Resource Name (ARN) of a resource that has an associated
|
860
|
+
# license configuration.
|
700
861
|
# @return [String]
|
701
862
|
#
|
702
863
|
# @!attribute [rw] max_results
|
703
|
-
# Maximum number of results to return in a single call.
|
704
|
-
# the remaining results, make another call with the returned
|
705
|
-
# `NextToken` value.
|
864
|
+
# Maximum number of results to return in a single call.
|
706
865
|
# @return [Integer]
|
707
866
|
#
|
708
867
|
# @!attribute [rw] next_token
|
@@ -750,9 +909,7 @@ module Aws::LicenseManager
|
|
750
909
|
# }
|
751
910
|
#
|
752
911
|
# @!attribute [rw] max_results
|
753
|
-
# Maximum number of results to return in a single call.
|
754
|
-
# the remaining results, make another call with the returned
|
755
|
-
# `NextToken` value.
|
912
|
+
# Maximum number of results to return in a single call.
|
756
913
|
# @return [Integer]
|
757
914
|
#
|
758
915
|
# @!attribute [rw] next_token
|
@@ -760,7 +917,25 @@ module Aws::LicenseManager
|
|
760
917
|
# @return [String]
|
761
918
|
#
|
762
919
|
# @!attribute [rw] filters
|
763
|
-
#
|
920
|
+
# Filters to scope the results. The following filters and logical
|
921
|
+
# operators are supported:
|
922
|
+
#
|
923
|
+
# * `account_id` - The ID of the AWS account that owns the resource.
|
924
|
+
# Logical operators are `EQUALS` \| `NOT_EQUALS`.
|
925
|
+
#
|
926
|
+
# * `application_name` - The name of the application. Logical
|
927
|
+
# operators are `EQUALS` \| `BEGINS_WITH`.
|
928
|
+
#
|
929
|
+
# * `license_included` - The type of license included. Logical
|
930
|
+
# operators are `EQUALS` \| `NOT_EQUALS`. Possible values are
|
931
|
+
# `sql-server-enterprise` \| `sql-server-standard` \|
|
932
|
+
# `sql-server-web` \| `windows-server-datacenter`.
|
933
|
+
#
|
934
|
+
# * `platform` - The platform of the resource. Logical operators are
|
935
|
+
# `EQUALS` \| `BEGINS_WITH`.
|
936
|
+
#
|
937
|
+
# * `resource_id` - The ID of the resource. Logical operators are
|
938
|
+
# `EQUALS` \| `NOT_EQUALS`.
|
764
939
|
# @return [Array<Types::InventoryFilter>]
|
765
940
|
#
|
766
941
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListResourceInventoryRequest AWS API Documentation
|
@@ -773,7 +948,7 @@ module Aws::LicenseManager
|
|
773
948
|
end
|
774
949
|
|
775
950
|
# @!attribute [rw] resource_inventory_list
|
776
|
-
#
|
951
|
+
# Information about the resources.
|
777
952
|
# @return [Array<Types::ResourceInventory>]
|
778
953
|
#
|
779
954
|
# @!attribute [rw] next_token
|
@@ -796,7 +971,7 @@ module Aws::LicenseManager
|
|
796
971
|
# }
|
797
972
|
#
|
798
973
|
# @!attribute [rw] resource_arn
|
799
|
-
# ARN
|
974
|
+
# Amazon Resource Name (ARN) of the license configuration.
|
800
975
|
# @return [String]
|
801
976
|
#
|
802
977
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListTagsForResourceRequest AWS API Documentation
|
@@ -807,7 +982,7 @@ module Aws::LicenseManager
|
|
807
982
|
end
|
808
983
|
|
809
984
|
# @!attribute [rw] tags
|
810
|
-
#
|
985
|
+
# Information about the tags.
|
811
986
|
# @return [Array<Types::Tag>]
|
812
987
|
#
|
813
988
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListTagsForResourceResponse AWS API Documentation
|
@@ -833,13 +1008,11 @@ module Aws::LicenseManager
|
|
833
1008
|
# }
|
834
1009
|
#
|
835
1010
|
# @!attribute [rw] license_configuration_arn
|
836
|
-
# ARN of the
|
1011
|
+
# Amazon Resource Name (ARN) of the license configuration.
|
837
1012
|
# @return [String]
|
838
1013
|
#
|
839
1014
|
# @!attribute [rw] max_results
|
840
|
-
# Maximum number of results to return in a single call.
|
841
|
-
# the remaining results, make another call with the returned
|
842
|
-
# `NextToken` value.
|
1015
|
+
# Maximum number of results to return in a single call.
|
843
1016
|
# @return [Integer]
|
844
1017
|
#
|
845
1018
|
# @!attribute [rw] next_token
|
@@ -847,7 +1020,18 @@ module Aws::LicenseManager
|
|
847
1020
|
# @return [String]
|
848
1021
|
#
|
849
1022
|
# @!attribute [rw] filters
|
850
|
-
#
|
1023
|
+
# Filters to scope the results. The following filters and logical
|
1024
|
+
# operators are supported:
|
1025
|
+
#
|
1026
|
+
# * `resourceArn` - The ARN of the license configuration resource.
|
1027
|
+
# Logical operators are `EQUALS` \| `NOT_EQUALS`.
|
1028
|
+
#
|
1029
|
+
# * `resourceType` - The resource type (EC2\_INSTANCE \| EC2\_HOST \|
|
1030
|
+
# EC2\_AMI \| SYSTEMS\_MANAGER\_MANAGED\_INSTANCE). Logical
|
1031
|
+
# operators are `EQUALS` \| `NOT_EQUALS`.
|
1032
|
+
#
|
1033
|
+
# * `resourceAccount` - The ID of the account that owns the resource.
|
1034
|
+
# Logical operators are `EQUALS` \| `NOT_EQUALS`.
|
851
1035
|
# @return [Array<Types::Filter>]
|
852
1036
|
#
|
853
1037
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListUsageForLicenseConfigurationRequest AWS API Documentation
|
@@ -861,7 +1045,7 @@ module Aws::LicenseManager
|
|
861
1045
|
end
|
862
1046
|
|
863
1047
|
# @!attribute [rw] license_configuration_usage_list
|
864
|
-
#
|
1048
|
+
# Information about the license configurations.
|
865
1049
|
# @return [Array<Types::LicenseConfigurationUsage>]
|
866
1050
|
#
|
867
1051
|
# @!attribute [rw] next_token
|
@@ -876,10 +1060,10 @@ module Aws::LicenseManager
|
|
876
1060
|
include Aws::Structure
|
877
1061
|
end
|
878
1062
|
|
879
|
-
# Summary
|
1063
|
+
# Summary information about a managed resource.
|
880
1064
|
#
|
881
1065
|
# @!attribute [rw] resource_type
|
882
|
-
# Type of resource associated with a license
|
1066
|
+
# Type of resource associated with a license.
|
883
1067
|
# @return [String]
|
884
1068
|
#
|
885
1069
|
# @!attribute [rw] association_count
|
@@ -894,7 +1078,25 @@ module Aws::LicenseManager
|
|
894
1078
|
include Aws::Structure
|
895
1079
|
end
|
896
1080
|
|
897
|
-
#
|
1081
|
+
# Reserved.
|
1082
|
+
#
|
1083
|
+
# @!attribute [rw] name
|
1084
|
+
# Reserved.
|
1085
|
+
# @return [String]
|
1086
|
+
#
|
1087
|
+
# @!attribute [rw] value
|
1088
|
+
# Reserved.
|
1089
|
+
# @return [String]
|
1090
|
+
#
|
1091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Metadata AWS API Documentation
|
1092
|
+
#
|
1093
|
+
class Metadata < Struct.new(
|
1094
|
+
:name,
|
1095
|
+
:value)
|
1096
|
+
include Aws::Structure
|
1097
|
+
end
|
1098
|
+
|
1099
|
+
# Configuration information for AWS Organizations.
|
898
1100
|
#
|
899
1101
|
# @note When making an API call, you may pass OrganizationConfiguration
|
900
1102
|
# data as a hash:
|
@@ -904,7 +1106,7 @@ module Aws::LicenseManager
|
|
904
1106
|
# }
|
905
1107
|
#
|
906
1108
|
# @!attribute [rw] enable_integration
|
907
|
-
#
|
1109
|
+
# Enables AWS Organization integration.
|
908
1110
|
# @return [Boolean]
|
909
1111
|
#
|
910
1112
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/OrganizationConfiguration AWS API Documentation
|
@@ -914,6 +1116,90 @@ module Aws::LicenseManager
|
|
914
1116
|
include Aws::Structure
|
915
1117
|
end
|
916
1118
|
|
1119
|
+
# Describes product information for a license configuration.
|
1120
|
+
#
|
1121
|
+
# @note When making an API call, you may pass ProductInformation
|
1122
|
+
# data as a hash:
|
1123
|
+
#
|
1124
|
+
# {
|
1125
|
+
# resource_type: "String", # required
|
1126
|
+
# product_information_filter_list: [ # required
|
1127
|
+
# {
|
1128
|
+
# product_information_filter_name: "String", # required
|
1129
|
+
# product_information_filter_value: ["String"], # required
|
1130
|
+
# product_information_filter_comparator: "String", # required
|
1131
|
+
# },
|
1132
|
+
# ],
|
1133
|
+
# }
|
1134
|
+
#
|
1135
|
+
# @!attribute [rw] resource_type
|
1136
|
+
# Resource type. The value is `SSM_MANAGED`.
|
1137
|
+
# @return [String]
|
1138
|
+
#
|
1139
|
+
# @!attribute [rw] product_information_filter_list
|
1140
|
+
# Product information filters. The following filters and logical
|
1141
|
+
# operators are supported:
|
1142
|
+
#
|
1143
|
+
# * `Application Name` - The name of the application. Logical operator
|
1144
|
+
# is `EQUALS`.
|
1145
|
+
#
|
1146
|
+
# * `Application Publisher` - The publisher of the application.
|
1147
|
+
# Logical operator is `EQUALS`.
|
1148
|
+
#
|
1149
|
+
# * `Application Version` - The version of the application. Logical
|
1150
|
+
# operator is `EQUALS`.
|
1151
|
+
#
|
1152
|
+
# * `Platform Name` - The name of the platform. Logical operator is
|
1153
|
+
# `EQUALS`.
|
1154
|
+
#
|
1155
|
+
# * `Platform Type` - The platform type. Logical operator is `EQUALS`.
|
1156
|
+
#
|
1157
|
+
# * `License Included` - The type of license included. Logical
|
1158
|
+
# operators are `EQUALS` and `NOT_EQUALS`. Possible values are
|
1159
|
+
# `sql-server-enterprise` \| `sql-server-standard` \|
|
1160
|
+
# `sql-server-web` \| `windows-server-datacenter`.
|
1161
|
+
# @return [Array<Types::ProductInformationFilter>]
|
1162
|
+
#
|
1163
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ProductInformation AWS API Documentation
|
1164
|
+
#
|
1165
|
+
class ProductInformation < Struct.new(
|
1166
|
+
:resource_type,
|
1167
|
+
:product_information_filter_list)
|
1168
|
+
include Aws::Structure
|
1169
|
+
end
|
1170
|
+
|
1171
|
+
# Describes product information filters.
|
1172
|
+
#
|
1173
|
+
# @note When making an API call, you may pass ProductInformationFilter
|
1174
|
+
# data as a hash:
|
1175
|
+
#
|
1176
|
+
# {
|
1177
|
+
# product_information_filter_name: "String", # required
|
1178
|
+
# product_information_filter_value: ["String"], # required
|
1179
|
+
# product_information_filter_comparator: "String", # required
|
1180
|
+
# }
|
1181
|
+
#
|
1182
|
+
# @!attribute [rw] product_information_filter_name
|
1183
|
+
# Filter name.
|
1184
|
+
# @return [String]
|
1185
|
+
#
|
1186
|
+
# @!attribute [rw] product_information_filter_value
|
1187
|
+
# Filter value.
|
1188
|
+
# @return [Array<String>]
|
1189
|
+
#
|
1190
|
+
# @!attribute [rw] product_information_filter_comparator
|
1191
|
+
# Logical operator.
|
1192
|
+
# @return [String]
|
1193
|
+
#
|
1194
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ProductInformationFilter AWS API Documentation
|
1195
|
+
#
|
1196
|
+
class ProductInformationFilter < Struct.new(
|
1197
|
+
:product_information_filter_name,
|
1198
|
+
:product_information_filter_value,
|
1199
|
+
:product_information_filter_comparator)
|
1200
|
+
include Aws::Structure
|
1201
|
+
end
|
1202
|
+
|
917
1203
|
# Too many requests have been submitted. Try again after a brief wait.
|
918
1204
|
#
|
919
1205
|
# @!attribute [rw] message
|
@@ -926,22 +1212,22 @@ module Aws::LicenseManager
|
|
926
1212
|
include Aws::Structure
|
927
1213
|
end
|
928
1214
|
|
929
|
-
#
|
1215
|
+
# Details about a resource.
|
930
1216
|
#
|
931
1217
|
# @!attribute [rw] resource_id
|
932
|
-
#
|
1218
|
+
# ID of the resource.
|
933
1219
|
# @return [String]
|
934
1220
|
#
|
935
1221
|
# @!attribute [rw] resource_type
|
936
|
-
#
|
1222
|
+
# Type of resource.
|
937
1223
|
# @return [String]
|
938
1224
|
#
|
939
1225
|
# @!attribute [rw] resource_arn
|
940
|
-
#
|
1226
|
+
# Amazon Resource Name (ARN) of the resource.
|
941
1227
|
# @return [String]
|
942
1228
|
#
|
943
1229
|
# @!attribute [rw] platform
|
944
|
-
#
|
1230
|
+
# Platform of the resource.
|
945
1231
|
# @return [String]
|
946
1232
|
#
|
947
1233
|
# @!attribute [rw] platform_version
|
@@ -949,7 +1235,7 @@ module Aws::LicenseManager
|
|
949
1235
|
# @return [String]
|
950
1236
|
#
|
951
1237
|
# @!attribute [rw] resource_owning_account_id
|
952
|
-
#
|
1238
|
+
# ID of the account that owns the resource.
|
953
1239
|
# @return [String]
|
954
1240
|
#
|
955
1241
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ResourceInventory AWS API Documentation
|
@@ -988,7 +1274,7 @@ module Aws::LicenseManager
|
|
988
1274
|
include Aws::Structure
|
989
1275
|
end
|
990
1276
|
|
991
|
-
#
|
1277
|
+
# Details about a tag for a license configuration.
|
992
1278
|
#
|
993
1279
|
# @note When making an API call, you may pass Tag
|
994
1280
|
# data as a hash:
|
@@ -999,11 +1285,11 @@ module Aws::LicenseManager
|
|
999
1285
|
# }
|
1000
1286
|
#
|
1001
1287
|
# @!attribute [rw] key
|
1002
|
-
#
|
1288
|
+
# Tag key.
|
1003
1289
|
# @return [String]
|
1004
1290
|
#
|
1005
1291
|
# @!attribute [rw] value
|
1006
|
-
#
|
1292
|
+
# Tag value.
|
1007
1293
|
# @return [String]
|
1008
1294
|
#
|
1009
1295
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Tag AWS API Documentation
|
@@ -1028,11 +1314,11 @@ module Aws::LicenseManager
|
|
1028
1314
|
# }
|
1029
1315
|
#
|
1030
1316
|
# @!attribute [rw] resource_arn
|
1031
|
-
# Resource of the
|
1317
|
+
# Amazon Resource Name (ARN) of the license configuration.
|
1032
1318
|
# @return [String]
|
1033
1319
|
#
|
1034
1320
|
# @!attribute [rw] tags
|
1035
|
-
#
|
1321
|
+
# One or more tags.
|
1036
1322
|
# @return [Array<Types::Tag>]
|
1037
1323
|
#
|
1038
1324
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/TagResourceRequest AWS API Documentation
|
@@ -1056,11 +1342,11 @@ module Aws::LicenseManager
|
|
1056
1342
|
# }
|
1057
1343
|
#
|
1058
1344
|
# @!attribute [rw] resource_arn
|
1059
|
-
# ARN of the
|
1345
|
+
# Amazon Resource Name (ARN) of the license configuration.
|
1060
1346
|
# @return [String]
|
1061
1347
|
#
|
1062
1348
|
# @!attribute [rw] tag_keys
|
1063
|
-
#
|
1349
|
+
# Keys identifying the tags to remove.
|
1064
1350
|
# @return [Array<String>]
|
1065
1351
|
#
|
1066
1352
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UntagResourceRequest AWS API Documentation
|
@@ -1086,18 +1372,30 @@ module Aws::LicenseManager
|
|
1086
1372
|
# license_count_hard_limit: false,
|
1087
1373
|
# name: "String",
|
1088
1374
|
# description: "String",
|
1375
|
+
# product_information_list: [
|
1376
|
+
# {
|
1377
|
+
# resource_type: "String", # required
|
1378
|
+
# product_information_filter_list: [ # required
|
1379
|
+
# {
|
1380
|
+
# product_information_filter_name: "String", # required
|
1381
|
+
# product_information_filter_value: ["String"], # required
|
1382
|
+
# product_information_filter_comparator: "String", # required
|
1383
|
+
# },
|
1384
|
+
# ],
|
1385
|
+
# },
|
1386
|
+
# ],
|
1089
1387
|
# }
|
1090
1388
|
#
|
1091
1389
|
# @!attribute [rw] license_configuration_arn
|
1092
|
-
# ARN
|
1390
|
+
# Amazon Resource Name (ARN) of the license configuration.
|
1093
1391
|
# @return [String]
|
1094
1392
|
#
|
1095
1393
|
# @!attribute [rw] license_configuration_status
|
1096
|
-
# New status of the license configuration
|
1394
|
+
# New status of the license configuration.
|
1097
1395
|
# @return [String]
|
1098
1396
|
#
|
1099
1397
|
# @!attribute [rw] license_rules
|
1100
|
-
#
|
1398
|
+
# New license rules.
|
1101
1399
|
# @return [Array<String>]
|
1102
1400
|
#
|
1103
1401
|
# @!attribute [rw] license_count
|
@@ -1105,7 +1403,7 @@ module Aws::LicenseManager
|
|
1105
1403
|
# @return [Integer]
|
1106
1404
|
#
|
1107
1405
|
# @!attribute [rw] license_count_hard_limit
|
1108
|
-
#
|
1406
|
+
# New hard limit of the number of available licenses.
|
1109
1407
|
# @return [Boolean]
|
1110
1408
|
#
|
1111
1409
|
# @!attribute [rw] name
|
@@ -1113,9 +1411,13 @@ module Aws::LicenseManager
|
|
1113
1411
|
# @return [String]
|
1114
1412
|
#
|
1115
1413
|
# @!attribute [rw] description
|
1116
|
-
# New
|
1414
|
+
# New description of the license configuration.
|
1117
1415
|
# @return [String]
|
1118
1416
|
#
|
1417
|
+
# @!attribute [rw] product_information_list
|
1418
|
+
# New product information.
|
1419
|
+
# @return [Array<Types::ProductInformation>]
|
1420
|
+
#
|
1119
1421
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseConfigurationRequest AWS API Documentation
|
1120
1422
|
#
|
1121
1423
|
class UpdateLicenseConfigurationRequest < Struct.new(
|
@@ -1125,7 +1427,8 @@ module Aws::LicenseManager
|
|
1125
1427
|
:license_count,
|
1126
1428
|
:license_count_hard_limit,
|
1127
1429
|
:name,
|
1128
|
-
:description
|
1430
|
+
:description,
|
1431
|
+
:product_information_list)
|
1129
1432
|
include Aws::Structure
|
1130
1433
|
end
|
1131
1434
|
|
@@ -1151,15 +1454,15 @@ module Aws::LicenseManager
|
|
1151
1454
|
# }
|
1152
1455
|
#
|
1153
1456
|
# @!attribute [rw] resource_arn
|
1154
|
-
# ARN
|
1457
|
+
# Amazon Resource Name (ARN) of the AWS resource.
|
1155
1458
|
# @return [String]
|
1156
1459
|
#
|
1157
1460
|
# @!attribute [rw] add_license_specifications
|
1158
|
-
#
|
1461
|
+
# ARNs of the license configurations to add.
|
1159
1462
|
# @return [Array<Types::LicenseSpecification>]
|
1160
1463
|
#
|
1161
1464
|
# @!attribute [rw] remove_license_specifications
|
1162
|
-
#
|
1465
|
+
# ARNs of the license configurations to remove.
|
1163
1466
|
# @return [Array<Types::LicenseSpecification>]
|
1164
1467
|
#
|
1165
1468
|
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseSpecificationsForResourceRequest AWS API Documentation
|
@@ -1188,16 +1491,17 @@ module Aws::LicenseManager
|
|
1188
1491
|
# }
|
1189
1492
|
#
|
1190
1493
|
# @!attribute [rw] s3_bucket_arn
|
1191
|
-
# ARN of the Amazon S3 bucket where License
|
1192
|
-
# stored.
|
1494
|
+
# Amazon Resource Name (ARN) of the Amazon S3 bucket where the License
|
1495
|
+
# Manager information is stored.
|
1193
1496
|
# @return [String]
|
1194
1497
|
#
|
1195
1498
|
# @!attribute [rw] sns_topic_arn
|
1196
|
-
# ARN of the Amazon SNS topic used for License
|
1499
|
+
# Amazon Resource Name (ARN) of the Amazon SNS topic used for License
|
1500
|
+
# Manager alerts.
|
1197
1501
|
# @return [String]
|
1198
1502
|
#
|
1199
1503
|
# @!attribute [rw] organization_configuration
|
1200
|
-
#
|
1504
|
+
# Enables integration with AWS Organizations for cross-account
|
1201
1505
|
# discovery.
|
1202
1506
|
# @return [Types::OrganizationConfiguration]
|
1203
1507
|
#
|