aws-sdk-licensemanager 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6d3358dd91e7db126136fd1cc50f4986a8f1221
4
- data.tar.gz: 664b913301f3496a7a2e0df7f3f52212dbcc6efc
3
+ metadata.gz: 1b4dec132089e07bf7ef9e460bb5e5a0aeddc1fc
4
+ data.tar.gz: 3687ba01616767b1b4083be5a895964672e3c16e
5
5
  SHA512:
6
- metadata.gz: c6278d9cab6d31bd0c1d8cdf4cd8cbd8ea18debc711f6d161b86da001645b391d145767c85578db45fdd4664fe909118da87cf42dd512dd85233248be46a4516
7
- data.tar.gz: 571212bfd50acea93909368d7d8c7a95e2ce144b56219270c4090c8cebbca7a4cd004457a8aa7be1ed55de96eeeda520058e20b6316deea3c626efc2336dd268
6
+ metadata.gz: 4a8c6c4ded0e5dd20d6652f8fa7ae2edd285920b996901a6f89b69f55cb9580ee89980a60068bbb6ca4f4bb77655b26f196b681357cd8a8c9323db5404367dc6
7
+ data.tar.gz: 1bd9689eb753ca8ace294e0418fb42f45614f1b90df34a9e4fafb3cd4d8a8f53a20c0c8e8ebf0ac4d318e0473cb7794cc78f044b762195957b8ae168f5b7d75f
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-licensemanager/customizations'
42
42
  # @service
43
43
  module Aws::LicenseManager
44
44
 
45
- GEM_VERSION = '1.5.0'
45
+ GEM_VERSION = '1.6.0'
46
46
 
47
47
  end
@@ -940,7 +940,7 @@ module Aws::LicenseManager
940
940
  params: params,
941
941
  config: config)
942
942
  context[:gem_name] = 'aws-sdk-licensemanager'
943
- context[:gem_version] = '1.5.0'
943
+ context[:gem_version] = '1.6.0'
944
944
  Seahorse::Client::Request.new(handlers, context)
945
945
  end
946
946
 
@@ -89,6 +89,12 @@ module Aws::LicenseManager
89
89
  UpdateServiceSettingsRequest = Shapes::StructureShape.new(name: 'UpdateServiceSettingsRequest')
90
90
  UpdateServiceSettingsResponse = Shapes::StructureShape.new(name: 'UpdateServiceSettingsResponse')
91
91
 
92
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
93
+ AccessDeniedException.struct_class = Types::AccessDeniedException
94
+
95
+ AuthorizationException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
96
+ AuthorizationException.struct_class = Types::AuthorizationException
97
+
92
98
  ConsumedLicenseSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
93
99
  ConsumedLicenseSummary.add_member(:consumed_licenses, Shapes::ShapeRef.new(shape: BoxLong, location_name: "ConsumedLicenses"))
94
100
  ConsumedLicenseSummary.struct_class = Types::ConsumedLicenseSummary
@@ -112,10 +118,16 @@ module Aws::LicenseManager
112
118
 
113
119
  DeleteLicenseConfigurationResponse.struct_class = Types::DeleteLicenseConfigurationResponse
114
120
 
121
+ FailedDependencyException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
122
+ FailedDependencyException.struct_class = Types::FailedDependencyException
123
+
115
124
  Filter.add_member(:name, Shapes::ShapeRef.new(shape: FilterName, location_name: "Name"))
116
125
  Filter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, location_name: "Values"))
117
126
  Filter.struct_class = Types::Filter
118
127
 
128
+ FilterLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
129
+ FilterLimitExceededException.struct_class = Types::FilterLimitExceededException
130
+
119
131
  FilterValues.member = Shapes::ShapeRef.new(shape: FilterValue)
120
132
 
121
133
  Filters.member = Shapes::ShapeRef.new(shape: Filter)
@@ -147,6 +159,12 @@ module Aws::LicenseManager
147
159
  GetServiceSettingsResponse.add_member(:enable_cross_accounts_discovery, Shapes::ShapeRef.new(shape: BoxBoolean, location_name: "EnableCrossAccountsDiscovery"))
148
160
  GetServiceSettingsResponse.struct_class = Types::GetServiceSettingsResponse
149
161
 
162
+ InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
163
+ InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
164
+
165
+ InvalidResourceStateException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
166
+ InvalidResourceStateException.struct_class = Types::InvalidResourceStateException
167
+
150
168
  InventoryFilter.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
151
169
  InventoryFilter.add_member(:condition, Shapes::ShapeRef.new(shape: InventoryFilterCondition, required: true, location_name: "Condition"))
152
170
  InventoryFilter.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
@@ -194,6 +212,9 @@ module Aws::LicenseManager
194
212
 
195
213
  LicenseSpecifications.member = Shapes::ShapeRef.new(shape: LicenseSpecification)
196
214
 
215
+ LicenseUsageException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
216
+ LicenseUsageException.struct_class = Types::LicenseUsageException
217
+
197
218
  ListAssociationsForLicenseConfigurationRequest.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LicenseConfigurationArn"))
198
219
  ListAssociationsForLicenseConfigurationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxInteger, location_name: "MaxResults"))
199
220
  ListAssociationsForLicenseConfigurationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
@@ -256,6 +277,9 @@ module Aws::LicenseManager
256
277
  OrganizationConfiguration.add_member(:enable_integration, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "EnableIntegration"))
257
278
  OrganizationConfiguration.struct_class = Types::OrganizationConfiguration
258
279
 
280
+ RateLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
281
+ RateLimitExceededException.struct_class = Types::RateLimitExceededException
282
+
259
283
  ResourceInventory.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "ResourceId"))
260
284
  ResourceInventory.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
261
285
  ResourceInventory.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
@@ -266,6 +290,12 @@ module Aws::LicenseManager
266
290
 
267
291
  ResourceInventoryList.member = Shapes::ShapeRef.new(shape: ResourceInventory)
268
292
 
293
+ ResourceLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
294
+ ResourceLimitExceededException.struct_class = Types::ResourceLimitExceededException
295
+
296
+ ServerInternalException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
297
+ ServerInternalException.struct_class = Types::ServerInternalException
298
+
269
299
  StringList.member = Shapes::ShapeRef.new(shape: String)
270
300
 
271
301
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "Key"))
@@ -10,5 +10,165 @@ module Aws::LicenseManager
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class AccessDeniedException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::LicenseManager::Types::AccessDeniedException] data
18
+ def initialize(context, message, data = Aws::EmptyStructure.new)
19
+ super(context, message, data)
20
+ end
21
+
22
+ # @return [String]
23
+ def message
24
+ @message || @data[:message]
25
+ end
26
+
27
+ end
28
+
29
+ class AuthorizationException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::LicenseManager::Types::AuthorizationException] data
34
+ def initialize(context, message, data = Aws::EmptyStructure.new)
35
+ super(context, message, data)
36
+ end
37
+
38
+ # @return [String]
39
+ def message
40
+ @message || @data[:message]
41
+ end
42
+
43
+ end
44
+
45
+ class FailedDependencyException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::LicenseManager::Types::FailedDependencyException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class FilterLimitExceededException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::LicenseManager::Types::FilterLimitExceededException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class InvalidParameterValueException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::LicenseManager::Types::InvalidParameterValueException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class InvalidResourceStateException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::LicenseManager::Types::InvalidResourceStateException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
109
+ class LicenseUsageException < ServiceError
110
+
111
+ # @param [Seahorse::Client::RequestContext] context
112
+ # @param [String] message
113
+ # @param [Aws::LicenseManager::Types::LicenseUsageException] data
114
+ def initialize(context, message, data = Aws::EmptyStructure.new)
115
+ super(context, message, data)
116
+ end
117
+
118
+ # @return [String]
119
+ def message
120
+ @message || @data[:message]
121
+ end
122
+
123
+ end
124
+
125
+ class RateLimitExceededException < ServiceError
126
+
127
+ # @param [Seahorse::Client::RequestContext] context
128
+ # @param [String] message
129
+ # @param [Aws::LicenseManager::Types::RateLimitExceededException] data
130
+ def initialize(context, message, data = Aws::EmptyStructure.new)
131
+ super(context, message, data)
132
+ end
133
+
134
+ # @return [String]
135
+ def message
136
+ @message || @data[:message]
137
+ end
138
+
139
+ end
140
+
141
+ class ResourceLimitExceededException < ServiceError
142
+
143
+ # @param [Seahorse::Client::RequestContext] context
144
+ # @param [String] message
145
+ # @param [Aws::LicenseManager::Types::ResourceLimitExceededException] data
146
+ def initialize(context, message, data = Aws::EmptyStructure.new)
147
+ super(context, message, data)
148
+ end
149
+
150
+ # @return [String]
151
+ def message
152
+ @message || @data[:message]
153
+ end
154
+
155
+ end
156
+
157
+ class ServerInternalException < ServiceError
158
+
159
+ # @param [Seahorse::Client::RequestContext] context
160
+ # @param [String] message
161
+ # @param [Aws::LicenseManager::Types::ServerInternalException] data
162
+ def initialize(context, message, data = Aws::EmptyStructure.new)
163
+ super(context, message, data)
164
+ end
165
+
166
+ # @return [String]
167
+ def message
168
+ @message || @data[:message]
169
+ end
170
+
171
+ end
172
+
13
173
  end
14
174
  end
@@ -8,6 +8,31 @@
8
8
  module Aws::LicenseManager
9
9
  module Types
10
10
 
11
+ # Access to resource denied.
12
+ #
13
+ # @!attribute [rw] message
14
+ # @return [String]
15
+ #
16
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/AccessDeniedException AWS API Documentation
17
+ #
18
+ class AccessDeniedException < Struct.new(
19
+ :message)
20
+ include Aws::Structure
21
+ end
22
+
23
+ # The AWS user account does not have permission to perform the action.
24
+ # Check the IAM policy associated with this account.
25
+ #
26
+ # @!attribute [rw] message
27
+ # @return [String]
28
+ #
29
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/AuthorizationException AWS API Documentation
30
+ #
31
+ class AuthorizationException < Struct.new(
32
+ :message)
33
+ include Aws::Structure
34
+ end
35
+
11
36
  # Details about license consumption.
12
37
  #
13
38
  # @!attribute [rw] resource_type
@@ -124,6 +149,18 @@ module Aws::LicenseManager
124
149
  #
125
150
  class DeleteLicenseConfigurationResponse < Aws::EmptyStructure; end
126
151
 
152
+ # A dependency required to run the API is missing.
153
+ #
154
+ # @!attribute [rw] message
155
+ # @return [String]
156
+ #
157
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/FailedDependencyException AWS API Documentation
158
+ #
159
+ class FailedDependencyException < Struct.new(
160
+ :message)
161
+ include Aws::Structure
162
+ end
163
+
127
164
  # A filter name and value pair that is used to return a more specific
128
165
  # list of results from a describe operation. Filters can be used to
129
166
  # match a set of resources by specific criteria, such as tags,
@@ -154,6 +191,18 @@ module Aws::LicenseManager
154
191
  include Aws::Structure
155
192
  end
156
193
 
194
+ # The request uses too many filters or too many filter values.
195
+ #
196
+ # @!attribute [rw] message
197
+ # @return [String]
198
+ #
199
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/FilterLimitExceededException AWS API Documentation
200
+ #
201
+ class FilterLimitExceededException < Struct.new(
202
+ :message)
203
+ include Aws::Structure
204
+ end
205
+
157
206
  # @note When making an API call, you may pass GetLicenseConfigurationRequest
158
207
  # data as a hash:
159
208
  #
@@ -283,6 +332,34 @@ module Aws::LicenseManager
283
332
  include Aws::Structure
284
333
  end
285
334
 
335
+ # One or more parameter values are not valid.
336
+ #
337
+ # @!attribute [rw] message
338
+ # @return [String]
339
+ #
340
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/InvalidParameterValueException AWS API Documentation
341
+ #
342
+ class InvalidParameterValueException < Struct.new(
343
+ :message)
344
+ include Aws::Structure
345
+ end
346
+
347
+ # License Manager cannot allocate a license to a resource because of its
348
+ # state.
349
+ #
350
+ # For example, you cannot allocate a license to an instance in the
351
+ # process of shutting down.
352
+ #
353
+ # @!attribute [rw] message
354
+ # @return [String]
355
+ #
356
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/InvalidResourceStateException AWS API Documentation
357
+ #
358
+ class InvalidResourceStateException < Struct.new(
359
+ :message)
360
+ include Aws::Structure
361
+ end
362
+
286
363
  # An inventory filter object.
287
364
  #
288
365
  # @note When making an API call, you may pass InventoryFilter
@@ -485,6 +562,19 @@ module Aws::LicenseManager
485
562
  include Aws::Structure
486
563
  end
487
564
 
565
+ # You do not have enough licenses available to support a new resource
566
+ # launch.
567
+ #
568
+ # @!attribute [rw] message
569
+ # @return [String]
570
+ #
571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseUsageException AWS API Documentation
572
+ #
573
+ class LicenseUsageException < Struct.new(
574
+ :message)
575
+ include Aws::Structure
576
+ end
577
+
488
578
  # @note When making an API call, you may pass ListAssociationsForLicenseConfigurationRequest
489
579
  # data as a hash:
490
580
  #
@@ -824,6 +914,18 @@ module Aws::LicenseManager
824
914
  include Aws::Structure
825
915
  end
826
916
 
917
+ # Too many requests have been submitted. Try again after a brief wait.
918
+ #
919
+ # @!attribute [rw] message
920
+ # @return [String]
921
+ #
922
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/RateLimitExceededException AWS API Documentation
923
+ #
924
+ class RateLimitExceededException < Struct.new(
925
+ :message)
926
+ include Aws::Structure
927
+ end
928
+
827
929
  # A set of attributes that describe a resource.
828
930
  #
829
931
  # @!attribute [rw] resource_id
@@ -862,6 +964,30 @@ module Aws::LicenseManager
862
964
  include Aws::Structure
863
965
  end
864
966
 
967
+ # Your resource limits have been exceeded.
968
+ #
969
+ # @!attribute [rw] message
970
+ # @return [String]
971
+ #
972
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ResourceLimitExceededException AWS API Documentation
973
+ #
974
+ class ResourceLimitExceededException < Struct.new(
975
+ :message)
976
+ include Aws::Structure
977
+ end
978
+
979
+ # The server experienced an internal error. Try again.
980
+ #
981
+ # @!attribute [rw] message
982
+ # @return [String]
983
+ #
984
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ServerInternalException AWS API Documentation
985
+ #
986
+ class ServerInternalException < Struct.new(
987
+ :message)
988
+ include Aws::Structure
989
+ end
990
+
865
991
  # Tag for a resource in a key-value format.
866
992
  #
867
993
  # @note When making an API call, you may pass Tag
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-licensemanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.52.1
22
+ version: 3.53.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement