aws-sdk-mq 1.8.0 → 1.9.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: e89aa061837df1a7ad00d07af8db1b91272b11bf
4
- data.tar.gz: cac7d0771a5ca4fd0cbaa7c720ad4b59ec3c16d5
3
+ metadata.gz: 2d39da2909d0ac01234a998063a64b32b21213cc
4
+ data.tar.gz: aed7a25ae44673420711af8d460618ff1d7c59df
5
5
  SHA512:
6
- metadata.gz: 16f3e2e0149ee4de2fe4559b6f69ef94b94cc6b633b50f12dd0866e08837bc3ab43e93e1ad19e30071461c530cf75af8fb5f9fd7614c28d7ca3025c554ba0c76
7
- data.tar.gz: c452a4d44c9b30758f6706f546221aac2d19c90cb51c59f576c00afcd8ce9357a405327e55f8d196ece227f7d56b037c219db0888a7443d8069e9252167ad66c
6
+ metadata.gz: 2320ae7e03f3d9d86db984032b391d6c01ee6a4598a854578b30dd09db95f63b32c0781d8036ed84dd59c7d93cbdda32c4912d2856b0c83ea1f9555ffd51efcb
7
+ data.tar.gz: 2795b7525e90fa8b15ebc8e02a7a96ccb5404a2a1190f8484d68c58147fc53fcb62b17a978bd7071ce0d291886ae645f70e21d4e956898de7ed522461e947dc1
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-mq/customizations'
42
42
  # @service
43
43
  module Aws::MQ
44
44
 
45
- GEM_VERSION = '1.8.0'
45
+ GEM_VERSION = '1.9.0'
46
46
 
47
47
  end
@@ -243,6 +243,8 @@ module Aws::MQ
243
243
  #
244
244
  # @option params [Array<String>] :subnet_ids
245
245
  #
246
+ # @option params [Hash<String,String>] :tags
247
+ #
246
248
  # @option params [Array<Types::User>] :users
247
249
  #
248
250
  # @return [Types::CreateBrokerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -276,6 +278,9 @@ module Aws::MQ
276
278
  # publicly_accessible: false,
277
279
  # security_groups: ["__string"],
278
280
  # subnet_ids: ["__string"],
281
+ # tags: {
282
+ # "__string" => "__string",
283
+ # },
279
284
  # users: [
280
285
  # {
281
286
  # console_access: false,
@@ -312,6 +317,8 @@ module Aws::MQ
312
317
  #
313
318
  # @option params [String] :name
314
319
  #
320
+ # @option params [Hash<String,String>] :tags
321
+ #
315
322
  # @return [Types::CreateConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
316
323
  #
317
324
  # * {Types::CreateConfigurationResponse#arn #arn} => String
@@ -326,6 +333,9 @@ module Aws::MQ
326
333
  # engine_type: "ACTIVEMQ", # accepts ACTIVEMQ
327
334
  # engine_version: "__string",
328
335
  # name: "__string",
336
+ # tags: {
337
+ # "__string" => "__string",
338
+ # },
329
339
  # })
330
340
  #
331
341
  # @example Response structure
@@ -347,6 +357,32 @@ module Aws::MQ
347
357
  req.send_request(options)
348
358
  end
349
359
 
360
+ # Add a tag to a resource.
361
+ #
362
+ # @option params [required, String] :resource_arn
363
+ #
364
+ # @option params [Hash<String,String>] :tags
365
+ #
366
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
367
+ #
368
+ # @example Request syntax with placeholder values
369
+ #
370
+ # resp = client.create_tags({
371
+ # resource_arn: "__string", # required
372
+ # tags: {
373
+ # "__string" => "__string",
374
+ # },
375
+ # })
376
+ #
377
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateTags AWS API Documentation
378
+ #
379
+ # @overload create_tags(params = {})
380
+ # @param [Hash] params ({})
381
+ def create_tags(params = {}, options = {})
382
+ req = build_request(:create_tags, params)
383
+ req.send_request(options)
384
+ end
385
+
350
386
  # Creates an ActiveMQ user.
351
387
  #
352
388
  # @option params [required, String] :broker_id
@@ -407,6 +443,30 @@ module Aws::MQ
407
443
  req.send_request(options)
408
444
  end
409
445
 
446
+ # Remove a tag from a resource.
447
+ #
448
+ # @option params [required, String] :resource_arn
449
+ #
450
+ # @option params [required, Array<String>] :tag_keys
451
+ #
452
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
453
+ #
454
+ # @example Request syntax with placeholder values
455
+ #
456
+ # resp = client.delete_tags({
457
+ # resource_arn: "__string", # required
458
+ # tag_keys: ["__string"], # required
459
+ # })
460
+ #
461
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteTags AWS API Documentation
462
+ #
463
+ # @overload delete_tags(params = {})
464
+ # @param [Hash] params ({})
465
+ def delete_tags(params = {}, options = {})
466
+ req = build_request(:delete_tags, params)
467
+ req.send_request(options)
468
+ end
469
+
410
470
  # Deletes an ActiveMQ user.
411
471
  #
412
472
  # @option params [required, String] :broker_id
@@ -455,6 +515,7 @@ module Aws::MQ
455
515
  # * {Types::DescribeBrokerResponse#publicly_accessible #publicly_accessible} => Boolean
456
516
  # * {Types::DescribeBrokerResponse#security_groups #security_groups} => Array&lt;String&gt;
457
517
  # * {Types::DescribeBrokerResponse#subnet_ids #subnet_ids} => Array&lt;String&gt;
518
+ # * {Types::DescribeBrokerResponse#tags #tags} => Hash&lt;String,String&gt;
458
519
  # * {Types::DescribeBrokerResponse#users #users} => Array&lt;Types::UserSummary&gt;
459
520
  #
460
521
  # @example Request syntax with placeholder values
@@ -502,6 +563,8 @@ module Aws::MQ
502
563
  # resp.security_groups[0] #=> String
503
564
  # resp.subnet_ids #=> Array
504
565
  # resp.subnet_ids[0] #=> String
566
+ # resp.tags #=> Hash
567
+ # resp.tags["__string"] #=> String
505
568
  # resp.users #=> Array
506
569
  # resp.users[0].pending_change #=> String, one of "CREATE", "UPDATE", "DELETE"
507
570
  # resp.users[0].username #=> String
@@ -529,6 +592,7 @@ module Aws::MQ
529
592
  # * {Types::DescribeConfigurationResponse#id #id} => String
530
593
  # * {Types::DescribeConfigurationResponse#latest_revision #latest_revision} => Types::ConfigurationRevision
531
594
  # * {Types::DescribeConfigurationResponse#name #name} => String
595
+ # * {Types::DescribeConfigurationResponse#tags #tags} => Hash&lt;String,String&gt;
532
596
  #
533
597
  # @example Request syntax with placeholder values
534
598
  #
@@ -548,6 +612,8 @@ module Aws::MQ
548
612
  # resp.latest_revision.description #=> String
549
613
  # resp.latest_revision.revision #=> Integer
550
614
  # resp.name #=> String
615
+ # resp.tags #=> Hash
616
+ # resp.tags["__string"] #=> String
551
617
  #
552
618
  # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfiguration AWS API Documentation
553
619
  #
@@ -750,6 +816,8 @@ module Aws::MQ
750
816
  # resp.configurations[0].latest_revision.description #=> String
751
817
  # resp.configurations[0].latest_revision.revision #=> Integer
752
818
  # resp.configurations[0].name #=> String
819
+ # resp.configurations[0].tags #=> Hash
820
+ # resp.configurations[0].tags["__string"] #=> String
753
821
  # resp.max_results #=> Integer
754
822
  # resp.next_token #=> String
755
823
  #
@@ -762,6 +830,34 @@ module Aws::MQ
762
830
  req.send_request(options)
763
831
  end
764
832
 
833
+ # Lists tags for a resource.
834
+ #
835
+ # @option params [required, String] :resource_arn
836
+ #
837
+ # @return [Types::ListTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
838
+ #
839
+ # * {Types::ListTagsResponse#tags #tags} => Hash&lt;String,String&gt;
840
+ #
841
+ # @example Request syntax with placeholder values
842
+ #
843
+ # resp = client.list_tags({
844
+ # resource_arn: "__string", # required
845
+ # })
846
+ #
847
+ # @example Response structure
848
+ #
849
+ # resp.tags #=> Hash
850
+ # resp.tags["__string"] #=> String
851
+ #
852
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListTags AWS API Documentation
853
+ #
854
+ # @overload list_tags(params = {})
855
+ # @param [Hash] params ({})
856
+ def list_tags(params = {}, options = {})
857
+ req = build_request(:list_tags, params)
858
+ req.send_request(options)
859
+ end
860
+
765
861
  # Returns a list of all ActiveMQ users.
766
862
  #
767
863
  # @option params [required, String] :broker_id
@@ -976,7 +1072,7 @@ module Aws::MQ
976
1072
  params: params,
977
1073
  config: config)
978
1074
  context[:gem_name] = 'aws-sdk-mq'
979
- context[:gem_version] = '1.8.0'
1075
+ context[:gem_version] = '1.9.0'
980
1076
  Seahorse::Client::Request.new(handlers, context)
981
1077
  end
982
1078
 
@@ -29,6 +29,7 @@ module Aws::MQ
29
29
  CreateConfigurationOutput = Shapes::StructureShape.new(name: 'CreateConfigurationOutput')
30
30
  CreateConfigurationRequest = Shapes::StructureShape.new(name: 'CreateConfigurationRequest')
31
31
  CreateConfigurationResponse = Shapes::StructureShape.new(name: 'CreateConfigurationResponse')
32
+ CreateTagsRequest = Shapes::StructureShape.new(name: 'CreateTagsRequest')
32
33
  CreateUserInput = Shapes::StructureShape.new(name: 'CreateUserInput')
33
34
  CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
34
35
  CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
@@ -36,6 +37,7 @@ module Aws::MQ
36
37
  DeleteBrokerOutput = Shapes::StructureShape.new(name: 'DeleteBrokerOutput')
37
38
  DeleteBrokerRequest = Shapes::StructureShape.new(name: 'DeleteBrokerRequest')
38
39
  DeleteBrokerResponse = Shapes::StructureShape.new(name: 'DeleteBrokerResponse')
40
+ DeleteTagsRequest = Shapes::StructureShape.new(name: 'DeleteTagsRequest')
39
41
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
40
42
  DeleteUserResponse = Shapes::StructureShape.new(name: 'DeleteUserResponse')
41
43
  DeploymentMode = Shapes::StringShape.new(name: 'DeploymentMode')
@@ -63,6 +65,8 @@ module Aws::MQ
63
65
  ListConfigurationsOutput = Shapes::StructureShape.new(name: 'ListConfigurationsOutput')
64
66
  ListConfigurationsRequest = Shapes::StructureShape.new(name: 'ListConfigurationsRequest')
65
67
  ListConfigurationsResponse = Shapes::StructureShape.new(name: 'ListConfigurationsResponse')
68
+ ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
69
+ ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
66
70
  ListUsersOutput = Shapes::StructureShape.new(name: 'ListUsersOutput')
67
71
  ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
68
72
  ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
@@ -75,6 +79,7 @@ module Aws::MQ
75
79
  RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
76
80
  SanitizationWarning = Shapes::StructureShape.new(name: 'SanitizationWarning')
77
81
  SanitizationWarningReason = Shapes::StringShape.new(name: 'SanitizationWarningReason')
82
+ Tags = Shapes::StructureShape.new(name: 'Tags')
78
83
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
79
84
  UpdateBrokerInput = Shapes::StructureShape.new(name: 'UpdateBrokerInput')
80
85
  UpdateBrokerOutput = Shapes::StructureShape.new(name: 'UpdateBrokerOutput')
@@ -105,6 +110,7 @@ module Aws::MQ
105
110
  __listOfUserSummary = Shapes::ListShape.new(name: '__listOfUserSummary')
106
111
  __listOf__string = Shapes::ListShape.new(name: '__listOf__string')
107
112
  __long = Shapes::IntegerShape.new(name: '__long')
113
+ __mapOf__string = Shapes::MapShape.new(name: '__mapOf__string')
108
114
  __string = Shapes::StringShape.new(name: '__string')
109
115
  __timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
110
116
  __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
@@ -131,6 +137,7 @@ module Aws::MQ
131
137
  Configuration.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
132
138
  Configuration.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
133
139
  Configuration.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
140
+ Configuration.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
134
141
  Configuration.struct_class = Types::Configuration
135
142
 
136
143
  ConfigurationId.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
@@ -160,6 +167,7 @@ module Aws::MQ
160
167
  CreateBrokerInput.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: __boolean, location_name: "publiclyAccessible"))
161
168
  CreateBrokerInput.add_member(:security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroups"))
162
169
  CreateBrokerInput.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "subnetIds"))
170
+ CreateBrokerInput.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
163
171
  CreateBrokerInput.add_member(:users, Shapes::ShapeRef.new(shape: __listOfUser, location_name: "users"))
164
172
  CreateBrokerInput.struct_class = Types::CreateBrokerInput
165
173
 
@@ -180,6 +188,7 @@ module Aws::MQ
180
188
  CreateBrokerRequest.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: __boolean, location_name: "publiclyAccessible"))
181
189
  CreateBrokerRequest.add_member(:security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroups"))
182
190
  CreateBrokerRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "subnetIds"))
191
+ CreateBrokerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
183
192
  CreateBrokerRequest.add_member(:users, Shapes::ShapeRef.new(shape: __listOfUser, location_name: "users"))
184
193
  CreateBrokerRequest.struct_class = Types::CreateBrokerRequest
185
194
 
@@ -190,6 +199,7 @@ module Aws::MQ
190
199
  CreateConfigurationInput.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
191
200
  CreateConfigurationInput.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
192
201
  CreateConfigurationInput.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
202
+ CreateConfigurationInput.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
193
203
  CreateConfigurationInput.struct_class = Types::CreateConfigurationInput
194
204
 
195
205
  CreateConfigurationOutput.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
@@ -202,6 +212,7 @@ module Aws::MQ
202
212
  CreateConfigurationRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
203
213
  CreateConfigurationRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
204
214
  CreateConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
215
+ CreateConfigurationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
205
216
  CreateConfigurationRequest.struct_class = Types::CreateConfigurationRequest
206
217
 
207
218
  CreateConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
@@ -211,6 +222,10 @@ module Aws::MQ
211
222
  CreateConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
212
223
  CreateConfigurationResponse.struct_class = Types::CreateConfigurationResponse
213
224
 
225
+ CreateTagsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
226
+ CreateTagsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
227
+ CreateTagsRequest.struct_class = Types::CreateTagsRequest
228
+
214
229
  CreateUserInput.add_member(:console_access, Shapes::ShapeRef.new(shape: __boolean, location_name: "consoleAccess"))
215
230
  CreateUserInput.add_member(:groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "groups"))
216
231
  CreateUserInput.add_member(:password, Shapes::ShapeRef.new(shape: __string, location_name: "password"))
@@ -234,6 +249,10 @@ module Aws::MQ
234
249
  DeleteBrokerResponse.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
235
250
  DeleteBrokerResponse.struct_class = Types::DeleteBrokerResponse
236
251
 
252
+ DeleteTagsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
253
+ DeleteTagsRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
254
+ DeleteTagsRequest.struct_class = Types::DeleteTagsRequest
255
+
237
256
  DeleteUserRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id"))
238
257
  DeleteUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "username"))
239
258
  DeleteUserRequest.struct_class = Types::DeleteUserRequest
@@ -258,6 +277,7 @@ module Aws::MQ
258
277
  DescribeBrokerOutput.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: __boolean, location_name: "publiclyAccessible"))
259
278
  DescribeBrokerOutput.add_member(:security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroups"))
260
279
  DescribeBrokerOutput.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "subnetIds"))
280
+ DescribeBrokerOutput.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
261
281
  DescribeBrokerOutput.add_member(:users, Shapes::ShapeRef.new(shape: __listOfUserSummary, location_name: "users"))
262
282
  DescribeBrokerOutput.struct_class = Types::DescribeBrokerOutput
263
283
 
@@ -282,6 +302,7 @@ module Aws::MQ
282
302
  DescribeBrokerResponse.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: __boolean, location_name: "publiclyAccessible"))
283
303
  DescribeBrokerResponse.add_member(:security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroups"))
284
304
  DescribeBrokerResponse.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "subnetIds"))
305
+ DescribeBrokerResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
285
306
  DescribeBrokerResponse.add_member(:users, Shapes::ShapeRef.new(shape: __listOfUserSummary, location_name: "users"))
286
307
  DescribeBrokerResponse.struct_class = Types::DescribeBrokerResponse
287
308
 
@@ -296,6 +317,7 @@ module Aws::MQ
296
317
  DescribeConfigurationResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
297
318
  DescribeConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
298
319
  DescribeConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
320
+ DescribeConfigurationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
299
321
  DescribeConfigurationResponse.struct_class = Types::DescribeConfigurationResponse
300
322
 
301
323
  DescribeConfigurationRevisionOutput.add_member(:configuration_id, Shapes::ShapeRef.new(shape: __string, location_name: "configurationId"))
@@ -379,6 +401,12 @@ module Aws::MQ
379
401
  ListConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
380
402
  ListConfigurationsResponse.struct_class = Types::ListConfigurationsResponse
381
403
 
404
+ ListTagsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
405
+ ListTagsRequest.struct_class = Types::ListTagsRequest
406
+
407
+ ListTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
408
+ ListTagsResponse.struct_class = Types::ListTagsResponse
409
+
382
410
  ListUsersOutput.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
383
411
  ListUsersOutput.add_member(:max_results, Shapes::ShapeRef.new(shape: __integerMin5Max100, location_name: "maxResults"))
384
412
  ListUsersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
@@ -421,6 +449,9 @@ module Aws::MQ
421
449
  SanitizationWarning.add_member(:reason, Shapes::ShapeRef.new(shape: SanitizationWarningReason, location_name: "reason"))
422
450
  SanitizationWarning.struct_class = Types::SanitizationWarning
423
451
 
452
+ Tags.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
453
+ Tags.struct_class = Types::Tags
454
+
424
455
  UpdateBrokerInput.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: __boolean, location_name: "autoMinorVersionUpgrade"))
425
456
  UpdateBrokerInput.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configuration"))
426
457
  UpdateBrokerInput.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
@@ -525,6 +556,9 @@ module Aws::MQ
525
556
 
526
557
  __listOf__string.member = Shapes::ShapeRef.new(shape: __string)
527
558
 
559
+ __mapOf__string.key = Shapes::ShapeRef.new(shape: __string)
560
+ __mapOf__string.value = Shapes::ShapeRef.new(shape: __string)
561
+
528
562
 
529
563
  # @api private
530
564
  API = Seahorse::Model::Api.new.tap do |api|
@@ -568,6 +602,18 @@ module Aws::MQ
568
602
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
569
603
  end)
570
604
 
605
+ api.add_operation(:create_tags, Seahorse::Model::Operation.new.tap do |o|
606
+ o.name = "CreateTags"
607
+ o.http_method = "POST"
608
+ o.http_request_uri = "/v1/tags/{resource-arn}"
609
+ o.input = Shapes::ShapeRef.new(shape: CreateTagsRequest)
610
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
611
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
612
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
613
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
614
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
615
+ end)
616
+
571
617
  api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
572
618
  o.name = "CreateUser"
573
619
  o.http_method = "POST"
@@ -593,6 +639,18 @@ module Aws::MQ
593
639
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
594
640
  end)
595
641
 
642
+ api.add_operation(:delete_tags, Seahorse::Model::Operation.new.tap do |o|
643
+ o.name = "DeleteTags"
644
+ o.http_method = "DELETE"
645
+ o.http_request_uri = "/v1/tags/{resource-arn}"
646
+ o.input = Shapes::ShapeRef.new(shape: DeleteTagsRequest)
647
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
648
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
649
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
650
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
651
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
652
+ end)
653
+
596
654
  api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
597
655
  o.name = "DeleteUser"
598
656
  o.http_method = "DELETE"
@@ -687,6 +745,18 @@ module Aws::MQ
687
745
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
688
746
  end)
689
747
 
748
+ api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
749
+ o.name = "ListTags"
750
+ o.http_method = "GET"
751
+ o.http_request_uri = "/v1/tags/{resource-arn}"
752
+ o.input = Shapes::ShapeRef.new(shape: ListTagsRequest)
753
+ o.output = Shapes::ShapeRef.new(shape: ListTagsResponse)
754
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
755
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
756
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
757
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
758
+ end)
759
+
690
760
  api.add_operation(:list_users, Seahorse::Model::Operation.new.tap do |o|
691
761
  o.name = "ListUsers"
692
762
  o.http_method = "GET"
@@ -98,7 +98,9 @@ module Aws::MQ
98
98
  # @return [String]
99
99
  #
100
100
  # @!attribute [rw] engine_version
101
- # Required. The version of the broker engine.
101
+ # Required. The version of the broker engine. For a list of supported
102
+ # engine versions, see
103
+ # https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html
102
104
  # @return [String]
103
105
  #
104
106
  # @!attribute [rw] id
@@ -116,6 +118,10 @@ module Aws::MQ
116
118
  # . \_ ~). This value must be 1-150 characters long.
117
119
  # @return [String]
118
120
  #
121
+ # @!attribute [rw] tags
122
+ # The list of all tags associated with this configuration.
123
+ # @return [Hash<String,String>]
124
+ #
119
125
  # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/Configuration AWS API Documentation
120
126
  #
121
127
  class Configuration < Struct.new(
@@ -126,7 +132,8 @@ module Aws::MQ
126
132
  :engine_version,
127
133
  :id,
128
134
  :latest_revision,
129
- :name)
135
+ :name,
136
+ :tags)
130
137
  include Aws::Structure
131
138
  end
132
139
 
@@ -239,8 +246,9 @@ module Aws::MQ
239
246
  # @return [String]
240
247
  #
241
248
  # @!attribute [rw] engine_version
242
- # Required. The version of the broker engine. Note: Currently, Amazon
243
- # MQ supports only 5.15.6 and 5.15.0.
249
+ # Required. The version of the broker engine. For a list of supported
250
+ # engine versions, see
251
+ # https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html
244
252
  # @return [String]
245
253
  #
246
254
  # @!attribute [rw] host_instance_type
@@ -273,6 +281,10 @@ module Aws::MQ
273
281
  # two subnets.
274
282
  # @return [Array<String>]
275
283
  #
284
+ # @!attribute [rw] tags
285
+ # Create tags when creating the broker.
286
+ # @return [Hash<String,String>]
287
+ #
276
288
  # @!attribute [rw] users
277
289
  # Required. The list of ActiveMQ users (persons or applications) who
278
290
  # can access queues and topics. This value can contain only
@@ -296,6 +308,7 @@ module Aws::MQ
296
308
  :publicly_accessible,
297
309
  :security_groups,
298
310
  :subnet_ids,
311
+ :tags,
299
312
  :users)
300
313
  include Aws::Structure
301
314
  end
@@ -345,6 +358,9 @@ module Aws::MQ
345
358
  # publicly_accessible: false,
346
359
  # security_groups: ["__string"],
347
360
  # subnet_ids: ["__string"],
361
+ # tags: {
362
+ # "__string" => "__string",
363
+ # },
348
364
  # users: [
349
365
  # {
350
366
  # console_access: false,
@@ -404,6 +420,9 @@ module Aws::MQ
404
420
  # @!attribute [rw] subnet_ids
405
421
  # @return [Array<String>]
406
422
  #
423
+ # @!attribute [rw] tags
424
+ # @return [Hash<String,String>]
425
+ #
407
426
  # @!attribute [rw] users
408
427
  # @return [Array<Types::User>]
409
428
  #
@@ -423,6 +442,7 @@ module Aws::MQ
423
442
  :publicly_accessible,
424
443
  :security_groups,
425
444
  :subnet_ids,
445
+ :tags,
426
446
  :users)
427
447
  include Aws::Structure
428
448
  end
@@ -451,8 +471,9 @@ module Aws::MQ
451
471
  # @return [String]
452
472
  #
453
473
  # @!attribute [rw] engine_version
454
- # Required. The version of the broker engine. Note: Currently, Amazon
455
- # MQ supports only 5.15.6 and 5.15.0.
474
+ # Required. The version of the broker engine. For a list of supported
475
+ # engine versions, see
476
+ # https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html
456
477
  # @return [String]
457
478
  #
458
479
  # @!attribute [rw] name
@@ -461,12 +482,17 @@ module Aws::MQ
461
482
  # . \_ ~). This value must be 1-150 characters long.
462
483
  # @return [String]
463
484
  #
485
+ # @!attribute [rw] tags
486
+ # Create tags when creating the configuration.
487
+ # @return [Hash<String,String>]
488
+ #
464
489
  # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateConfigurationInput AWS API Documentation
465
490
  #
466
491
  class CreateConfigurationInput < Struct.new(
467
492
  :engine_type,
468
493
  :engine_version,
469
- :name)
494
+ :name,
495
+ :tags)
470
496
  include Aws::Structure
471
497
  end
472
498
 
@@ -513,6 +539,9 @@ module Aws::MQ
513
539
  # engine_type: "ACTIVEMQ", # accepts ACTIVEMQ
514
540
  # engine_version: "__string",
515
541
  # name: "__string",
542
+ # tags: {
543
+ # "__string" => "__string",
544
+ # },
516
545
  # }
517
546
  #
518
547
  # @!attribute [rw] engine_type
@@ -526,12 +555,16 @@ module Aws::MQ
526
555
  # @!attribute [rw] name
527
556
  # @return [String]
528
557
  #
558
+ # @!attribute [rw] tags
559
+ # @return [Hash<String,String>]
560
+ #
529
561
  # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateConfigurationRequest AWS API Documentation
530
562
  #
531
563
  class CreateConfigurationRequest < Struct.new(
532
564
  :engine_type,
533
565
  :engine_version,
534
- :name)
566
+ :name,
567
+ :tags)
535
568
  include Aws::Structure
536
569
  end
537
570
 
@@ -562,6 +595,30 @@ module Aws::MQ
562
595
  include Aws::Structure
563
596
  end
564
597
 
598
+ # @note When making an API call, you may pass CreateTagsRequest
599
+ # data as a hash:
600
+ #
601
+ # {
602
+ # resource_arn: "__string", # required
603
+ # tags: {
604
+ # "__string" => "__string",
605
+ # },
606
+ # }
607
+ #
608
+ # @!attribute [rw] resource_arn
609
+ # @return [String]
610
+ #
611
+ # @!attribute [rw] tags
612
+ # @return [Hash<String,String>]
613
+ #
614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/CreateTagsRequest AWS API Documentation
615
+ #
616
+ class CreateTagsRequest < Struct.new(
617
+ :resource_arn,
618
+ :tags)
619
+ include Aws::Structure
620
+ end
621
+
565
622
  # Creates a new ActiveMQ user.
566
623
  #
567
624
  # @!attribute [rw] console_access
@@ -672,6 +729,28 @@ module Aws::MQ
672
729
  include Aws::Structure
673
730
  end
674
731
 
732
+ # @note When making an API call, you may pass DeleteTagsRequest
733
+ # data as a hash:
734
+ #
735
+ # {
736
+ # resource_arn: "__string", # required
737
+ # tag_keys: ["__string"], # required
738
+ # }
739
+ #
740
+ # @!attribute [rw] resource_arn
741
+ # @return [String]
742
+ #
743
+ # @!attribute [rw] tag_keys
744
+ # @return [Array<String>]
745
+ #
746
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DeleteTagsRequest AWS API Documentation
747
+ #
748
+ class DeleteTagsRequest < Struct.new(
749
+ :resource_arn,
750
+ :tag_keys)
751
+ include Aws::Structure
752
+ end
753
+
675
754
  # @note When making an API call, you may pass DeleteUserRequest
676
755
  # data as a hash:
677
756
  #
@@ -698,8 +777,9 @@ module Aws::MQ
698
777
  #
699
778
  class DeleteUserResponse < Aws::EmptyStructure; end
700
779
 
701
- # The version of the broker engine. Note: Currently, Amazon MQ supports
702
- # only 5.15.6 and 5.15.0.
780
+ # The version of the broker engine. For a list of supported engine
781
+ # versions, see
782
+ # https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html
703
783
  #
704
784
  # @!attribute [rw] auto_minor_version_upgrade
705
785
  # Required. Enables automatic upgrades to new minor versions for
@@ -749,8 +829,9 @@ module Aws::MQ
749
829
  # @return [String]
750
830
  #
751
831
  # @!attribute [rw] engine_version
752
- # The version of the broker engine. Note: Currently, Amazon MQ
753
- # supports only 5.15.6 and 5.15.0.
832
+ # The version of the broker engine. For a list of supported engine
833
+ # versions, see
834
+ # https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html
754
835
  # @return [String]
755
836
  #
756
837
  # @!attribute [rw] host_instance_type
@@ -767,7 +848,9 @@ module Aws::MQ
767
848
  # @return [Types::WeeklyStartTime]
768
849
  #
769
850
  # @!attribute [rw] pending_engine_version
770
- # The version of the broker engine to upgrade to.
851
+ # The version of the broker engine to upgrade to. For a list of
852
+ # supported engine versions, see
853
+ # https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html
771
854
  # @return [String]
772
855
  #
773
856
  # @!attribute [rw] publicly_accessible
@@ -788,6 +871,10 @@ module Aws::MQ
788
871
  # two subnets.
789
872
  # @return [Array<String>]
790
873
  #
874
+ # @!attribute [rw] tags
875
+ # The list of all tags associated with this broker.
876
+ # @return [Hash<String,String>]
877
+ #
791
878
  # @!attribute [rw] users
792
879
  # The list of all ActiveMQ usernames for the specified broker.
793
880
  # @return [Array<Types::UserSummary>]
@@ -813,6 +900,7 @@ module Aws::MQ
813
900
  :publicly_accessible,
814
901
  :security_groups,
815
902
  :subnet_ids,
903
+ :tags,
816
904
  :users)
817
905
  include Aws::Structure
818
906
  end
@@ -897,6 +985,9 @@ module Aws::MQ
897
985
  # @!attribute [rw] subnet_ids
898
986
  # @return [Array<String>]
899
987
  #
988
+ # @!attribute [rw] tags
989
+ # @return [Hash<String,String>]
990
+ #
900
991
  # @!attribute [rw] users
901
992
  # @return [Array<Types::UserSummary>]
902
993
  #
@@ -921,6 +1012,7 @@ module Aws::MQ
921
1012
  :publicly_accessible,
922
1013
  :security_groups,
923
1014
  :subnet_ids,
1015
+ :tags,
924
1016
  :users)
925
1017
  include Aws::Structure
926
1018
  end
@@ -969,6 +1061,9 @@ module Aws::MQ
969
1061
  # @!attribute [rw] name
970
1062
  # @return [String]
971
1063
  #
1064
+ # @!attribute [rw] tags
1065
+ # @return [Hash<String,String>]
1066
+ #
972
1067
  # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeConfigurationResponse AWS API Documentation
973
1068
  #
974
1069
  class DescribeConfigurationResponse < Struct.new(
@@ -979,7 +1074,8 @@ module Aws::MQ
979
1074
  :engine_version,
980
1075
  :id,
981
1076
  :latest_revision,
982
- :name)
1077
+ :name,
1078
+ :tags)
983
1079
  include Aws::Structure
984
1080
  end
985
1081
 
@@ -1364,6 +1460,33 @@ module Aws::MQ
1364
1460
  include Aws::Structure
1365
1461
  end
1366
1462
 
1463
+ # @note When making an API call, you may pass ListTagsRequest
1464
+ # data as a hash:
1465
+ #
1466
+ # {
1467
+ # resource_arn: "__string", # required
1468
+ # }
1469
+ #
1470
+ # @!attribute [rw] resource_arn
1471
+ # @return [String]
1472
+ #
1473
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListTagsRequest AWS API Documentation
1474
+ #
1475
+ class ListTagsRequest < Struct.new(
1476
+ :resource_arn)
1477
+ include Aws::Structure
1478
+ end
1479
+
1480
+ # @!attribute [rw] tags
1481
+ # @return [Hash<String,String>]
1482
+ #
1483
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ListTagsResponse AWS API Documentation
1484
+ #
1485
+ class ListTagsResponse < Struct.new(
1486
+ :tags)
1487
+ include Aws::Structure
1488
+ end
1489
+
1367
1490
  # Returns a list of all ActiveMQ users.
1368
1491
  #
1369
1492
  # @!attribute [rw] broker_id
@@ -1577,6 +1700,19 @@ module Aws::MQ
1577
1700
  include Aws::Structure
1578
1701
  end
1579
1702
 
1703
+ # A map of the key-value pairs for the resource tag.
1704
+ #
1705
+ # @!attribute [rw] tags
1706
+ # The key-value pair for the resource tag.
1707
+ # @return [Hash<String,String>]
1708
+ #
1709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/Tags AWS API Documentation
1710
+ #
1711
+ class Tags < Struct.new(
1712
+ :tags)
1713
+ include Aws::Structure
1714
+ end
1715
+
1580
1716
  # Updates the broker using the specified properties.
1581
1717
  #
1582
1718
  # @!attribute [rw] auto_minor_version_upgrade
@@ -1591,8 +1727,9 @@ module Aws::MQ
1591
1727
  # @return [Types::ConfigurationId]
1592
1728
  #
1593
1729
  # @!attribute [rw] engine_version
1594
- # The version of the broker engine. Note: Currently, Amazon MQ
1595
- # supports only 5.15.6 and 5.15.0.
1730
+ # The version of the broker engine. For a list of supported engine
1731
+ # versions, see
1732
+ # https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html
1596
1733
  # @return [String]
1597
1734
  #
1598
1735
  # @!attribute [rw] logs
@@ -1625,7 +1762,9 @@ module Aws::MQ
1625
1762
  # @return [Types::ConfigurationId]
1626
1763
  #
1627
1764
  # @!attribute [rw] engine_version
1628
- # The version of the broker engine to upgrade to.
1765
+ # The version of the broker engine to upgrade to. For a list of
1766
+ # supported engine versions, see
1767
+ # https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html
1629
1768
  # @return [String]
1630
1769
  #
1631
1770
  # @!attribute [rw] logs
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.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: 2018-11-20 00:00:00.000000000 Z
11
+ date: 2018-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core