aws-sdk-licensemanager 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,539 @@
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
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
15
+ AuthorizationException = Shapes::StructureShape.new(name: 'AuthorizationException')
16
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
17
+ BoxBoolean = Shapes::BooleanShape.new(name: 'BoxBoolean')
18
+ BoxInteger = Shapes::IntegerShape.new(name: 'BoxInteger')
19
+ BoxLong = Shapes::IntegerShape.new(name: 'BoxLong')
20
+ ConsumedLicenseSummary = Shapes::StructureShape.new(name: 'ConsumedLicenseSummary')
21
+ ConsumedLicenseSummaryList = Shapes::ListShape.new(name: 'ConsumedLicenseSummaryList')
22
+ CreateLicenseConfigurationRequest = Shapes::StructureShape.new(name: 'CreateLicenseConfigurationRequest')
23
+ CreateLicenseConfigurationResponse = Shapes::StructureShape.new(name: 'CreateLicenseConfigurationResponse')
24
+ DateTime = Shapes::TimestampShape.new(name: 'DateTime')
25
+ DeleteLicenseConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteLicenseConfigurationRequest')
26
+ DeleteLicenseConfigurationResponse = Shapes::StructureShape.new(name: 'DeleteLicenseConfigurationResponse')
27
+ FailedDependencyException = Shapes::StructureShape.new(name: 'FailedDependencyException')
28
+ Filter = Shapes::StructureShape.new(name: 'Filter')
29
+ FilterLimitExceededException = Shapes::StructureShape.new(name: 'FilterLimitExceededException')
30
+ FilterName = Shapes::StringShape.new(name: 'FilterName')
31
+ FilterValue = Shapes::StringShape.new(name: 'FilterValue')
32
+ FilterValues = Shapes::ListShape.new(name: 'FilterValues')
33
+ Filters = Shapes::ListShape.new(name: 'Filters')
34
+ GetLicenseConfigurationRequest = Shapes::StructureShape.new(name: 'GetLicenseConfigurationRequest')
35
+ GetLicenseConfigurationResponse = Shapes::StructureShape.new(name: 'GetLicenseConfigurationResponse')
36
+ GetServiceSettingsRequest = Shapes::StructureShape.new(name: 'GetServiceSettingsRequest')
37
+ GetServiceSettingsResponse = Shapes::StructureShape.new(name: 'GetServiceSettingsResponse')
38
+ InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
39
+ InvalidResourceStateException = Shapes::StructureShape.new(name: 'InvalidResourceStateException')
40
+ InventoryFilter = Shapes::StructureShape.new(name: 'InventoryFilter')
41
+ InventoryFilterCondition = Shapes::StringShape.new(name: 'InventoryFilterCondition')
42
+ InventoryFilterList = Shapes::ListShape.new(name: 'InventoryFilterList')
43
+ LicenseConfiguration = Shapes::StructureShape.new(name: 'LicenseConfiguration')
44
+ LicenseConfigurationAssociation = Shapes::StructureShape.new(name: 'LicenseConfigurationAssociation')
45
+ LicenseConfigurationAssociations = Shapes::ListShape.new(name: 'LicenseConfigurationAssociations')
46
+ LicenseConfigurationStatus = Shapes::StringShape.new(name: 'LicenseConfigurationStatus')
47
+ LicenseConfigurationUsage = Shapes::StructureShape.new(name: 'LicenseConfigurationUsage')
48
+ LicenseConfigurationUsageList = Shapes::ListShape.new(name: 'LicenseConfigurationUsageList')
49
+ LicenseConfigurations = Shapes::ListShape.new(name: 'LicenseConfigurations')
50
+ LicenseCountingType = Shapes::StringShape.new(name: 'LicenseCountingType')
51
+ LicenseSpecification = Shapes::StructureShape.new(name: 'LicenseSpecification')
52
+ LicenseSpecifications = Shapes::ListShape.new(name: 'LicenseSpecifications')
53
+ LicenseUsageException = Shapes::StructureShape.new(name: 'LicenseUsageException')
54
+ ListAssociationsForLicenseConfigurationRequest = Shapes::StructureShape.new(name: 'ListAssociationsForLicenseConfigurationRequest')
55
+ ListAssociationsForLicenseConfigurationResponse = Shapes::StructureShape.new(name: 'ListAssociationsForLicenseConfigurationResponse')
56
+ ListLicenseConfigurationsRequest = Shapes::StructureShape.new(name: 'ListLicenseConfigurationsRequest')
57
+ ListLicenseConfigurationsResponse = Shapes::StructureShape.new(name: 'ListLicenseConfigurationsResponse')
58
+ ListLicenseSpecificationsForResourceRequest = Shapes::StructureShape.new(name: 'ListLicenseSpecificationsForResourceRequest')
59
+ ListLicenseSpecificationsForResourceResponse = Shapes::StructureShape.new(name: 'ListLicenseSpecificationsForResourceResponse')
60
+ ListResourceInventoryRequest = Shapes::StructureShape.new(name: 'ListResourceInventoryRequest')
61
+ ListResourceInventoryResponse = Shapes::StructureShape.new(name: 'ListResourceInventoryResponse')
62
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
63
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
64
+ ListUsageForLicenseConfigurationRequest = Shapes::StructureShape.new(name: 'ListUsageForLicenseConfigurationRequest')
65
+ ListUsageForLicenseConfigurationResponse = Shapes::StructureShape.new(name: 'ListUsageForLicenseConfigurationResponse')
66
+ ManagedResourceSummary = Shapes::StructureShape.new(name: 'ManagedResourceSummary')
67
+ ManagedResourceSummaryList = Shapes::ListShape.new(name: 'ManagedResourceSummaryList')
68
+ Message = Shapes::StringShape.new(name: 'Message')
69
+ OrganizationConfiguration = Shapes::StructureShape.new(name: 'OrganizationConfiguration')
70
+ RateLimitExceededException = Shapes::StructureShape.new(name: 'RateLimitExceededException')
71
+ ResourceInventory = Shapes::StructureShape.new(name: 'ResourceInventory')
72
+ ResourceInventoryList = Shapes::ListShape.new(name: 'ResourceInventoryList')
73
+ ResourceLimitExceededException = Shapes::StructureShape.new(name: 'ResourceLimitExceededException')
74
+ ResourceType = Shapes::StringShape.new(name: 'ResourceType')
75
+ ServerInternalException = Shapes::StructureShape.new(name: 'ServerInternalException')
76
+ String = Shapes::StringShape.new(name: 'String')
77
+ StringList = Shapes::ListShape.new(name: 'StringList')
78
+ Tag = Shapes::StructureShape.new(name: 'Tag')
79
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
80
+ TagList = Shapes::ListShape.new(name: 'TagList')
81
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
82
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
83
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
84
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
85
+ UpdateLicenseConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateLicenseConfigurationRequest')
86
+ UpdateLicenseConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateLicenseConfigurationResponse')
87
+ UpdateLicenseSpecificationsForResourceRequest = Shapes::StructureShape.new(name: 'UpdateLicenseSpecificationsForResourceRequest')
88
+ UpdateLicenseSpecificationsForResourceResponse = Shapes::StructureShape.new(name: 'UpdateLicenseSpecificationsForResourceResponse')
89
+ UpdateServiceSettingsRequest = Shapes::StructureShape.new(name: 'UpdateServiceSettingsRequest')
90
+ UpdateServiceSettingsResponse = Shapes::StructureShape.new(name: 'UpdateServiceSettingsResponse')
91
+
92
+ ConsumedLicenseSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
93
+ ConsumedLicenseSummary.add_member(:consumed_licenses, Shapes::ShapeRef.new(shape: BoxLong, location_name: "ConsumedLicenses"))
94
+ ConsumedLicenseSummary.struct_class = Types::ConsumedLicenseSummary
95
+
96
+ ConsumedLicenseSummaryList.member = Shapes::ShapeRef.new(shape: ConsumedLicenseSummary)
97
+
98
+ CreateLicenseConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
99
+ CreateLicenseConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
100
+ CreateLicenseConfigurationRequest.add_member(:license_counting_type, Shapes::ShapeRef.new(shape: LicenseCountingType, required: true, location_name: "LicenseCountingType"))
101
+ CreateLicenseConfigurationRequest.add_member(:license_count, Shapes::ShapeRef.new(shape: BoxLong, location_name: "LicenseCount"))
102
+ CreateLicenseConfigurationRequest.add_member(:license_count_hard_limit, Shapes::ShapeRef.new(shape: BoxBoolean, location_name: "LicenseCountHardLimit"))
103
+ CreateLicenseConfigurationRequest.add_member(:license_rules, Shapes::ShapeRef.new(shape: StringList, location_name: "LicenseRules"))
104
+ CreateLicenseConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
105
+ CreateLicenseConfigurationRequest.struct_class = Types::CreateLicenseConfigurationRequest
106
+
107
+ CreateLicenseConfigurationResponse.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, location_name: "LicenseConfigurationArn"))
108
+ CreateLicenseConfigurationResponse.struct_class = Types::CreateLicenseConfigurationResponse
109
+
110
+ DeleteLicenseConfigurationRequest.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LicenseConfigurationArn"))
111
+ DeleteLicenseConfigurationRequest.struct_class = Types::DeleteLicenseConfigurationRequest
112
+
113
+ DeleteLicenseConfigurationResponse.struct_class = Types::DeleteLicenseConfigurationResponse
114
+
115
+ Filter.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, location_name: "Name"))
116
+ Filter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, location_name: "Values"))
117
+ Filter.struct_class = Types::Filter
118
+
119
+ FilterValues.member = Shapes::ShapeRef.new(shape: FilterValue)
120
+
121
+ Filters.member = Shapes::ShapeRef.new(shape: Filter)
122
+
123
+ GetLicenseConfigurationRequest.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LicenseConfigurationArn"))
124
+ GetLicenseConfigurationRequest.struct_class = Types::GetLicenseConfigurationRequest
125
+
126
+ GetLicenseConfigurationResponse.add_member(:license_configuration_id, Shapes::ShapeRef.new(shape: String, location_name: "LicenseConfigurationId"))
127
+ GetLicenseConfigurationResponse.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, location_name: "LicenseConfigurationArn"))
128
+ GetLicenseConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
129
+ GetLicenseConfigurationResponse.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
130
+ GetLicenseConfigurationResponse.add_member(:license_counting_type, Shapes::ShapeRef.new(shape: LicenseCountingType, location_name: "LicenseCountingType"))
131
+ GetLicenseConfigurationResponse.add_member(:license_rules, Shapes::ShapeRef.new(shape: StringList, location_name: "LicenseRules"))
132
+ GetLicenseConfigurationResponse.add_member(:license_count, Shapes::ShapeRef.new(shape: BoxLong, location_name: "LicenseCount"))
133
+ GetLicenseConfigurationResponse.add_member(:license_count_hard_limit, Shapes::ShapeRef.new(shape: BoxBoolean, location_name: "LicenseCountHardLimit"))
134
+ GetLicenseConfigurationResponse.add_member(:consumed_licenses, Shapes::ShapeRef.new(shape: BoxLong, location_name: "ConsumedLicenses"))
135
+ GetLicenseConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
136
+ GetLicenseConfigurationResponse.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: String, location_name: "OwnerAccountId"))
137
+ GetLicenseConfigurationResponse.add_member(:consumed_license_summary_list, Shapes::ShapeRef.new(shape: ConsumedLicenseSummaryList, location_name: "ConsumedLicenseSummaryList"))
138
+ GetLicenseConfigurationResponse.add_member(:managed_resource_summary_list, Shapes::ShapeRef.new(shape: ManagedResourceSummaryList, location_name: "ManagedResourceSummaryList"))
139
+ GetLicenseConfigurationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
140
+ GetLicenseConfigurationResponse.struct_class = Types::GetLicenseConfigurationResponse
141
+
142
+ GetServiceSettingsRequest.struct_class = Types::GetServiceSettingsRequest
143
+
144
+ GetServiceSettingsResponse.add_member(:s3_bucket_arn, Shapes::ShapeRef.new(shape: String, location_name: "S3BucketArn"))
145
+ GetServiceSettingsResponse.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: String, location_name: "SnsTopicArn"))
146
+ GetServiceSettingsResponse.add_member(:organization_configuration, Shapes::ShapeRef.new(shape: OrganizationConfiguration, location_name: "OrganizationConfiguration"))
147
+ GetServiceSettingsResponse.add_member(:enable_cross_accounts_discovery, Shapes::ShapeRef.new(shape: BoxBoolean, location_name: "EnableCrossAccountsDiscovery"))
148
+ GetServiceSettingsResponse.struct_class = Types::GetServiceSettingsResponse
149
+
150
+ InventoryFilter.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
151
+ InventoryFilter.add_member(:condition, Shapes::ShapeRef.new(shape: InventoryFilterCondition, required: true, location_name: "Condition"))
152
+ InventoryFilter.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
153
+ InventoryFilter.struct_class = Types::InventoryFilter
154
+
155
+ InventoryFilterList.member = Shapes::ShapeRef.new(shape: InventoryFilter)
156
+
157
+ LicenseConfiguration.add_member(:license_configuration_id, Shapes::ShapeRef.new(shape: String, location_name: "LicenseConfigurationId"))
158
+ LicenseConfiguration.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, location_name: "LicenseConfigurationArn"))
159
+ LicenseConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
160
+ LicenseConfiguration.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
161
+ LicenseConfiguration.add_member(:license_counting_type, Shapes::ShapeRef.new(shape: LicenseCountingType, location_name: "LicenseCountingType"))
162
+ LicenseConfiguration.add_member(:license_rules, Shapes::ShapeRef.new(shape: StringList, location_name: "LicenseRules"))
163
+ LicenseConfiguration.add_member(:license_count, Shapes::ShapeRef.new(shape: BoxLong, location_name: "LicenseCount"))
164
+ LicenseConfiguration.add_member(:license_count_hard_limit, Shapes::ShapeRef.new(shape: BoxBoolean, location_name: "LicenseCountHardLimit"))
165
+ LicenseConfiguration.add_member(:consumed_licenses, Shapes::ShapeRef.new(shape: BoxLong, location_name: "ConsumedLicenses"))
166
+ LicenseConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "Status"))
167
+ LicenseConfiguration.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: String, location_name: "OwnerAccountId"))
168
+ LicenseConfiguration.add_member(:consumed_license_summary_list, Shapes::ShapeRef.new(shape: ConsumedLicenseSummaryList, location_name: "ConsumedLicenseSummaryList"))
169
+ LicenseConfiguration.add_member(:managed_resource_summary_list, Shapes::ShapeRef.new(shape: ManagedResourceSummaryList, location_name: "ManagedResourceSummaryList"))
170
+ LicenseConfiguration.struct_class = Types::LicenseConfiguration
171
+
172
+ LicenseConfigurationAssociation.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
173
+ LicenseConfigurationAssociation.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
174
+ LicenseConfigurationAssociation.add_member(:resource_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceOwnerId"))
175
+ LicenseConfigurationAssociation.add_member(:association_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "AssociationTime"))
176
+ LicenseConfigurationAssociation.struct_class = Types::LicenseConfigurationAssociation
177
+
178
+ LicenseConfigurationAssociations.member = Shapes::ShapeRef.new(shape: LicenseConfigurationAssociation)
179
+
180
+ LicenseConfigurationUsage.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
181
+ LicenseConfigurationUsage.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
182
+ LicenseConfigurationUsage.add_member(:resource_status, Shapes::ShapeRef.new(shape: String, location_name: "ResourceStatus"))
183
+ LicenseConfigurationUsage.add_member(:resource_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceOwnerId"))
184
+ LicenseConfigurationUsage.add_member(:association_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "AssociationTime"))
185
+ LicenseConfigurationUsage.add_member(:consumed_licenses, Shapes::ShapeRef.new(shape: BoxLong, location_name: "ConsumedLicenses"))
186
+ LicenseConfigurationUsage.struct_class = Types::LicenseConfigurationUsage
187
+
188
+ LicenseConfigurationUsageList.member = Shapes::ShapeRef.new(shape: LicenseConfigurationUsage)
189
+
190
+ LicenseConfigurations.member = Shapes::ShapeRef.new(shape: LicenseConfiguration)
191
+
192
+ LicenseSpecification.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LicenseConfigurationArn"))
193
+ LicenseSpecification.struct_class = Types::LicenseSpecification
194
+
195
+ LicenseSpecifications.member = Shapes::ShapeRef.new(shape: LicenseSpecification)
196
+
197
+ ListAssociationsForLicenseConfigurationRequest.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LicenseConfigurationArn"))
198
+ ListAssociationsForLicenseConfigurationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxInteger, location_name: "MaxResults"))
199
+ ListAssociationsForLicenseConfigurationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
200
+ ListAssociationsForLicenseConfigurationRequest.struct_class = Types::ListAssociationsForLicenseConfigurationRequest
201
+
202
+ ListAssociationsForLicenseConfigurationResponse.add_member(:license_configuration_associations, Shapes::ShapeRef.new(shape: LicenseConfigurationAssociations, location_name: "LicenseConfigurationAssociations"))
203
+ ListAssociationsForLicenseConfigurationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
204
+ ListAssociationsForLicenseConfigurationResponse.struct_class = Types::ListAssociationsForLicenseConfigurationResponse
205
+
206
+ ListLicenseConfigurationsRequest.add_member(:license_configuration_arns, Shapes::ShapeRef.new(shape: StringList, location_name: "LicenseConfigurationArns"))
207
+ ListLicenseConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxInteger, location_name: "MaxResults"))
208
+ ListLicenseConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
209
+ ListLicenseConfigurationsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
210
+ ListLicenseConfigurationsRequest.struct_class = Types::ListLicenseConfigurationsRequest
211
+
212
+ ListLicenseConfigurationsResponse.add_member(:license_configurations, Shapes::ShapeRef.new(shape: LicenseConfigurations, location_name: "LicenseConfigurations"))
213
+ ListLicenseConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
214
+ ListLicenseConfigurationsResponse.struct_class = Types::ListLicenseConfigurationsResponse
215
+
216
+ ListLicenseSpecificationsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
217
+ ListLicenseSpecificationsForResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxInteger, location_name: "MaxResults"))
218
+ ListLicenseSpecificationsForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
219
+ ListLicenseSpecificationsForResourceRequest.struct_class = Types::ListLicenseSpecificationsForResourceRequest
220
+
221
+ ListLicenseSpecificationsForResourceResponse.add_member(:license_specifications, Shapes::ShapeRef.new(shape: LicenseSpecifications, location_name: "LicenseSpecifications"))
222
+ ListLicenseSpecificationsForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
223
+ ListLicenseSpecificationsForResourceResponse.struct_class = Types::ListLicenseSpecificationsForResourceResponse
224
+
225
+ ListResourceInventoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxInteger, location_name: "MaxResults"))
226
+ ListResourceInventoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
227
+ ListResourceInventoryRequest.add_member(:filters, Shapes::ShapeRef.new(shape: InventoryFilterList, location_name: "Filters"))
228
+ ListResourceInventoryRequest.struct_class = Types::ListResourceInventoryRequest
229
+
230
+ ListResourceInventoryResponse.add_member(:resource_inventory_list, Shapes::ShapeRef.new(shape: ResourceInventoryList, location_name: "ResourceInventoryList"))
231
+ ListResourceInventoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
232
+ ListResourceInventoryResponse.struct_class = Types::ListResourceInventoryResponse
233
+
234
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
235
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
236
+
237
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
238
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
239
+
240
+ ListUsageForLicenseConfigurationRequest.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LicenseConfigurationArn"))
241
+ ListUsageForLicenseConfigurationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxInteger, location_name: "MaxResults"))
242
+ ListUsageForLicenseConfigurationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
243
+ ListUsageForLicenseConfigurationRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
244
+ ListUsageForLicenseConfigurationRequest.struct_class = Types::ListUsageForLicenseConfigurationRequest
245
+
246
+ ListUsageForLicenseConfigurationResponse.add_member(:license_configuration_usage_list, Shapes::ShapeRef.new(shape: LicenseConfigurationUsageList, location_name: "LicenseConfigurationUsageList"))
247
+ ListUsageForLicenseConfigurationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
248
+ ListUsageForLicenseConfigurationResponse.struct_class = Types::ListUsageForLicenseConfigurationResponse
249
+
250
+ ManagedResourceSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
251
+ ManagedResourceSummary.add_member(:association_count, Shapes::ShapeRef.new(shape: BoxLong, location_name: "AssociationCount"))
252
+ ManagedResourceSummary.struct_class = Types::ManagedResourceSummary
253
+
254
+ ManagedResourceSummaryList.member = Shapes::ShapeRef.new(shape: ManagedResourceSummary)
255
+
256
+ OrganizationConfiguration.add_member(:enable_integration, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "EnableIntegration"))
257
+ OrganizationConfiguration.struct_class = Types::OrganizationConfiguration
258
+
259
+ ResourceInventory.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
260
+ ResourceInventory.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
261
+ ResourceInventory.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
262
+ ResourceInventory.add_member(:platform, Shapes::ShapeRef.new(shape: String, location_name: "Platform"))
263
+ ResourceInventory.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "PlatformVersion"))
264
+ ResourceInventory.add_member(:resource_owning_account_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceOwningAccountId"))
265
+ ResourceInventory.struct_class = Types::ResourceInventory
266
+
267
+ ResourceInventoryList.member = Shapes::ShapeRef.new(shape: ResourceInventory)
268
+
269
+ StringList.member = Shapes::ShapeRef.new(shape: String)
270
+
271
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "Key"))
272
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
273
+ Tag.struct_class = Types::Tag
274
+
275
+ TagKeyList.member = Shapes::ShapeRef.new(shape: String)
276
+
277
+ TagList.member = Shapes::ShapeRef.new(shape: Tag)
278
+
279
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
280
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
281
+ TagResourceRequest.struct_class = Types::TagResourceRequest
282
+
283
+ TagResourceResponse.struct_class = Types::TagResourceResponse
284
+
285
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
286
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
287
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
288
+
289
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
290
+
291
+ UpdateLicenseConfigurationRequest.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LicenseConfigurationArn"))
292
+ UpdateLicenseConfigurationRequest.add_member(:license_configuration_status, Shapes::ShapeRef.new(shape: LicenseConfigurationStatus, location_name: "LicenseConfigurationStatus"))
293
+ UpdateLicenseConfigurationRequest.add_member(:license_rules, Shapes::ShapeRef.new(shape: StringList, location_name: "LicenseRules"))
294
+ UpdateLicenseConfigurationRequest.add_member(:license_count, Shapes::ShapeRef.new(shape: BoxLong, location_name: "LicenseCount"))
295
+ UpdateLicenseConfigurationRequest.add_member(:license_count_hard_limit, Shapes::ShapeRef.new(shape: BoxBoolean, location_name: "LicenseCountHardLimit"))
296
+ UpdateLicenseConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
297
+ UpdateLicenseConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
298
+ UpdateLicenseConfigurationRequest.struct_class = Types::UpdateLicenseConfigurationRequest
299
+
300
+ UpdateLicenseConfigurationResponse.struct_class = Types::UpdateLicenseConfigurationResponse
301
+
302
+ UpdateLicenseSpecificationsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
303
+ UpdateLicenseSpecificationsForResourceRequest.add_member(:add_license_specifications, Shapes::ShapeRef.new(shape: LicenseSpecifications, location_name: "AddLicenseSpecifications"))
304
+ UpdateLicenseSpecificationsForResourceRequest.add_member(:remove_license_specifications, Shapes::ShapeRef.new(shape: LicenseSpecifications, location_name: "RemoveLicenseSpecifications"))
305
+ UpdateLicenseSpecificationsForResourceRequest.struct_class = Types::UpdateLicenseSpecificationsForResourceRequest
306
+
307
+ UpdateLicenseSpecificationsForResourceResponse.struct_class = Types::UpdateLicenseSpecificationsForResourceResponse
308
+
309
+ UpdateServiceSettingsRequest.add_member(:s3_bucket_arn, Shapes::ShapeRef.new(shape: String, location_name: "S3BucketArn"))
310
+ UpdateServiceSettingsRequest.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: String, location_name: "SnsTopicArn"))
311
+ UpdateServiceSettingsRequest.add_member(:organization_configuration, Shapes::ShapeRef.new(shape: OrganizationConfiguration, location_name: "OrganizationConfiguration"))
312
+ UpdateServiceSettingsRequest.add_member(:enable_cross_accounts_discovery, Shapes::ShapeRef.new(shape: BoxBoolean, location_name: "EnableCrossAccountsDiscovery"))
313
+ UpdateServiceSettingsRequest.struct_class = Types::UpdateServiceSettingsRequest
314
+
315
+ UpdateServiceSettingsResponse.struct_class = Types::UpdateServiceSettingsResponse
316
+
317
+
318
+ # @api private
319
+ API = Seahorse::Model::Api.new.tap do |api|
320
+
321
+ api.version = "2018-08-01"
322
+
323
+ api.metadata = {
324
+ "apiVersion" => "2018-08-01",
325
+ "endpointPrefix" => "license-manager",
326
+ "jsonVersion" => "1.1",
327
+ "protocol" => "json",
328
+ "serviceFullName" => "AWS License Manager",
329
+ "serviceId" => "License Manager",
330
+ "signatureVersion" => "v4",
331
+ "targetPrefix" => "AWSLicenseManager",
332
+ "uid" => "license-manager-2018-08-01",
333
+ }
334
+
335
+ api.add_operation(:create_license_configuration, Seahorse::Model::Operation.new.tap do |o|
336
+ o.name = "CreateLicenseConfiguration"
337
+ o.http_method = "POST"
338
+ o.http_request_uri = "/"
339
+ o.input = Shapes::ShapeRef.new(shape: CreateLicenseConfigurationRequest)
340
+ o.output = Shapes::ShapeRef.new(shape: CreateLicenseConfigurationResponse)
341
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
342
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
343
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
344
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
345
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
346
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
347
+ end)
348
+
349
+ api.add_operation(:delete_license_configuration, Seahorse::Model::Operation.new.tap do |o|
350
+ o.name = "DeleteLicenseConfiguration"
351
+ o.http_method = "POST"
352
+ o.http_request_uri = "/"
353
+ o.input = Shapes::ShapeRef.new(shape: DeleteLicenseConfigurationRequest)
354
+ o.output = Shapes::ShapeRef.new(shape: DeleteLicenseConfigurationResponse)
355
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
356
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
357
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
358
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
359
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
360
+ end)
361
+
362
+ api.add_operation(:get_license_configuration, Seahorse::Model::Operation.new.tap do |o|
363
+ o.name = "GetLicenseConfiguration"
364
+ o.http_method = "POST"
365
+ o.http_request_uri = "/"
366
+ o.input = Shapes::ShapeRef.new(shape: GetLicenseConfigurationRequest)
367
+ o.output = Shapes::ShapeRef.new(shape: GetLicenseConfigurationResponse)
368
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
369
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
370
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
371
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
372
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
373
+ end)
374
+
375
+ api.add_operation(:get_service_settings, Seahorse::Model::Operation.new.tap do |o|
376
+ o.name = "GetServiceSettings"
377
+ o.http_method = "POST"
378
+ o.http_request_uri = "/"
379
+ o.input = Shapes::ShapeRef.new(shape: GetServiceSettingsRequest)
380
+ o.output = Shapes::ShapeRef.new(shape: GetServiceSettingsResponse)
381
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
382
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
383
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
384
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
385
+ end)
386
+
387
+ api.add_operation(:list_associations_for_license_configuration, Seahorse::Model::Operation.new.tap do |o|
388
+ o.name = "ListAssociationsForLicenseConfiguration"
389
+ o.http_method = "POST"
390
+ o.http_request_uri = "/"
391
+ o.input = Shapes::ShapeRef.new(shape: ListAssociationsForLicenseConfigurationRequest)
392
+ o.output = Shapes::ShapeRef.new(shape: ListAssociationsForLicenseConfigurationResponse)
393
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
394
+ o.errors << Shapes::ShapeRef.new(shape: FilterLimitExceededException)
395
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
396
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
397
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
398
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
399
+ end)
400
+
401
+ api.add_operation(:list_license_configurations, Seahorse::Model::Operation.new.tap do |o|
402
+ o.name = "ListLicenseConfigurations"
403
+ o.http_method = "POST"
404
+ o.http_request_uri = "/"
405
+ o.input = Shapes::ShapeRef.new(shape: ListLicenseConfigurationsRequest)
406
+ o.output = Shapes::ShapeRef.new(shape: ListLicenseConfigurationsResponse)
407
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
408
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
409
+ o.errors << Shapes::ShapeRef.new(shape: FilterLimitExceededException)
410
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
411
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
412
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
413
+ end)
414
+
415
+ api.add_operation(:list_license_specifications_for_resource, Seahorse::Model::Operation.new.tap do |o|
416
+ o.name = "ListLicenseSpecificationsForResource"
417
+ o.http_method = "POST"
418
+ o.http_request_uri = "/"
419
+ o.input = Shapes::ShapeRef.new(shape: ListLicenseSpecificationsForResourceRequest)
420
+ o.output = Shapes::ShapeRef.new(shape: ListLicenseSpecificationsForResourceResponse)
421
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
422
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
423
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
424
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
425
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
426
+ end)
427
+
428
+ api.add_operation(:list_resource_inventory, Seahorse::Model::Operation.new.tap do |o|
429
+ o.name = "ListResourceInventory"
430
+ o.http_method = "POST"
431
+ o.http_request_uri = "/"
432
+ o.input = Shapes::ShapeRef.new(shape: ListResourceInventoryRequest)
433
+ o.output = Shapes::ShapeRef.new(shape: ListResourceInventoryResponse)
434
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
435
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
436
+ o.errors << Shapes::ShapeRef.new(shape: FilterLimitExceededException)
437
+ o.errors << Shapes::ShapeRef.new(shape: FailedDependencyException)
438
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
439
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
440
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
441
+ end)
442
+
443
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
444
+ o.name = "ListTagsForResource"
445
+ o.http_method = "POST"
446
+ o.http_request_uri = "/"
447
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
448
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
449
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
450
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
451
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
452
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
453
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
454
+ end)
455
+
456
+ api.add_operation(:list_usage_for_license_configuration, Seahorse::Model::Operation.new.tap do |o|
457
+ o.name = "ListUsageForLicenseConfiguration"
458
+ o.http_method = "POST"
459
+ o.http_request_uri = "/"
460
+ o.input = Shapes::ShapeRef.new(shape: ListUsageForLicenseConfigurationRequest)
461
+ o.output = Shapes::ShapeRef.new(shape: ListUsageForLicenseConfigurationResponse)
462
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
463
+ o.errors << Shapes::ShapeRef.new(shape: FilterLimitExceededException)
464
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
465
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
466
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
467
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
468
+ end)
469
+
470
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
471
+ o.name = "TagResource"
472
+ o.http_method = "POST"
473
+ o.http_request_uri = "/"
474
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
475
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
476
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
477
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
478
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
479
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
480
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
481
+ end)
482
+
483
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
484
+ o.name = "UntagResource"
485
+ o.http_method = "POST"
486
+ o.http_request_uri = "/"
487
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
488
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
489
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
490
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
491
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
492
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
493
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
494
+ end)
495
+
496
+ api.add_operation(:update_license_configuration, Seahorse::Model::Operation.new.tap do |o|
497
+ o.name = "UpdateLicenseConfiguration"
498
+ o.http_method = "POST"
499
+ o.http_request_uri = "/"
500
+ o.input = Shapes::ShapeRef.new(shape: UpdateLicenseConfigurationRequest)
501
+ o.output = Shapes::ShapeRef.new(shape: UpdateLicenseConfigurationResponse)
502
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
503
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
504
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
505
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
506
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
507
+ end)
508
+
509
+ api.add_operation(:update_license_specifications_for_resource, Seahorse::Model::Operation.new.tap do |o|
510
+ o.name = "UpdateLicenseSpecificationsForResource"
511
+ o.http_method = "POST"
512
+ o.http_request_uri = "/"
513
+ o.input = Shapes::ShapeRef.new(shape: UpdateLicenseSpecificationsForResourceRequest)
514
+ o.output = Shapes::ShapeRef.new(shape: UpdateLicenseSpecificationsForResourceResponse)
515
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
516
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
517
+ o.errors << Shapes::ShapeRef.new(shape: LicenseUsageException)
518
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
519
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
520
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
521
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
522
+ end)
523
+
524
+ api.add_operation(:update_service_settings, Seahorse::Model::Operation.new.tap do |o|
525
+ o.name = "UpdateServiceSettings"
526
+ o.http_method = "POST"
527
+ o.http_request_uri = "/"
528
+ o.input = Shapes::ShapeRef.new(shape: UpdateServiceSettingsRequest)
529
+ o.output = Shapes::ShapeRef.new(shape: UpdateServiceSettingsResponse)
530
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
531
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
532
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
533
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
534
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
535
+ end)
536
+ end
537
+
538
+ end
539
+ end