aws-sdk-mq 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e5a13c9fad92ea06dd6c8b4852d4fcd865864e8
4
- data.tar.gz: d8b5c73c58fddd2ede79cb34c51bbc091c5ece23
3
+ metadata.gz: ade162cb956617336e1d9b6baeb80f1dbc0da789
4
+ data.tar.gz: c327c34085b878a68bf05235a74cb2d068bbfccc
5
5
  SHA512:
6
- metadata.gz: 9852750dcf79dba4f461778b346c5bd321bafce6ed1e409ed19e704313552e7c9d37bd2628e03722a4258da9c2d6d9f707a279796c9056bf530338a89a220b63
7
- data.tar.gz: eb2b5407b4f16e55b57b305570eeadc39ccc8c89715dd35ce2ac42b61126b6ad54de8e30d70a6bb151d334d055ed3ce97258feabe0172b618f65a6939d9f75ba
6
+ metadata.gz: 7b6cbf23579123bb7771e48984dbb6f90c703a5152c63d7af4de1d9b8a15a4c9c4786ae6d83f3ccbea877773a095b970a74373a62ef908f48d2265284bbff3a1
7
+ data.tar.gz: 2254eab51a47640a4e0169ee4985aa76faa8f1d77f7b8a83cf78784d5c988730969e941941aef72cf9eb58913a5be2b217ef19dbc19a6e6dbc90d6070d313d48
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-mq/customizations'
42
42
  # @service
43
43
  module Aws::MQ
44
44
 
45
- GEM_VERSION = '1.12.0'
45
+ GEM_VERSION = '1.13.0'
46
46
 
47
47
  end
@@ -199,6 +199,49 @@ module Aws::MQ
199
199
  # When `true`, request parameters are validated before
200
200
  # sending the request.
201
201
  #
202
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
203
+ # requests through. Formatted like 'http://proxy.com:123'.
204
+ #
205
+ # @option options [Float] :http_open_timeout (15) The number of
206
+ # seconds to wait when opening a HTTP session before rasing a
207
+ # `Timeout::Error`.
208
+ #
209
+ # @option options [Integer] :http_read_timeout (60) The default
210
+ # number of seconds to wait for response data. This value can
211
+ # safely be set
212
+ # per-request on the session yeidled by {#session_for}.
213
+ #
214
+ # @option options [Float] :http_idle_timeout (5) The number of
215
+ # seconds a connection is allowed to sit idble before it is
216
+ # considered stale. Stale connections are closed and removed
217
+ # from the pool before making a request.
218
+ #
219
+ # @option options [Float] :http_continue_timeout (1) The number of
220
+ # seconds to wait for a 100-continue response before sending the
221
+ # request body. This option has no effect unless the request has
222
+ # "Expect" header set to "100-continue". Defaults to `nil` which
223
+ # disables this behaviour. This value can safely be set per
224
+ # request on the session yeidled by {#session_for}.
225
+ #
226
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
227
+ # HTTP debug output will be sent to the `:logger`.
228
+ #
229
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
230
+ # SSL peer certificates are verified when establishing a
231
+ # connection.
232
+ #
233
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
234
+ # certificate authority bundle file that should be used when
235
+ # verifying peer certificates. If you do not pass
236
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
237
+ # will be used if available.
238
+ #
239
+ # @option options [String] :ssl_ca_directory Full path of the
240
+ # directory that contains the unbundled SSL certificate
241
+ # authority files for verifying peer certificates. If you do
242
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
243
+ # system default will be used if available.
244
+ #
202
245
  def initialize(*args)
203
246
  super
204
247
  end
@@ -443,7 +486,7 @@ module Aws::MQ
443
486
  req.send_request(options)
444
487
  end
445
488
 
446
- # Remove a tag from a resource.
489
+ # Removes a tag from a resource.
447
490
  #
448
491
  # @option params [required, String] :resource_arn
449
492
  #
@@ -578,6 +621,92 @@ module Aws::MQ
578
621
  req.send_request(options)
579
622
  end
580
623
 
624
+ # Describe available engine types and versions.
625
+ #
626
+ # @option params [String] :engine_type
627
+ #
628
+ # @option params [Integer] :max_results
629
+ #
630
+ # @option params [String] :next_token
631
+ #
632
+ # @return [Types::DescribeBrokerEngineTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
633
+ #
634
+ # * {Types::DescribeBrokerEngineTypesResponse#broker_engine_types #broker_engine_types} => Array<Types::BrokerEngineType>
635
+ # * {Types::DescribeBrokerEngineTypesResponse#max_results #max_results} => Integer
636
+ # * {Types::DescribeBrokerEngineTypesResponse#next_token #next_token} => String
637
+ #
638
+ # @example Request syntax with placeholder values
639
+ #
640
+ # resp = client.describe_broker_engine_types({
641
+ # engine_type: "__string",
642
+ # max_results: 1,
643
+ # next_token: "__string",
644
+ # })
645
+ #
646
+ # @example Response structure
647
+ #
648
+ # resp.broker_engine_types #=> Array
649
+ # resp.broker_engine_types[0].engine_type #=> String, one of "ACTIVEMQ"
650
+ # resp.broker_engine_types[0].engine_versions #=> Array
651
+ # resp.broker_engine_types[0].engine_versions[0].name #=> String
652
+ # resp.max_results #=> Integer
653
+ # resp.next_token #=> String
654
+ #
655
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerEngineTypes AWS API Documentation
656
+ #
657
+ # @overload describe_broker_engine_types(params = {})
658
+ # @param [Hash] params ({})
659
+ def describe_broker_engine_types(params = {}, options = {})
660
+ req = build_request(:describe_broker_engine_types, params)
661
+ req.send_request(options)
662
+ end
663
+
664
+ # Describe available broker instance options.
665
+ #
666
+ # @option params [String] :engine_type
667
+ #
668
+ # @option params [String] :host_instance_type
669
+ #
670
+ # @option params [Integer] :max_results
671
+ #
672
+ # @option params [String] :next_token
673
+ #
674
+ # @return [Types::DescribeBrokerInstanceOptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
675
+ #
676
+ # * {Types::DescribeBrokerInstanceOptionsResponse#broker_instance_options #broker_instance_options} => Array<Types::BrokerInstanceOption>
677
+ # * {Types::DescribeBrokerInstanceOptionsResponse#max_results #max_results} => Integer
678
+ # * {Types::DescribeBrokerInstanceOptionsResponse#next_token #next_token} => String
679
+ #
680
+ # @example Request syntax with placeholder values
681
+ #
682
+ # resp = client.describe_broker_instance_options({
683
+ # engine_type: "__string",
684
+ # host_instance_type: "__string",
685
+ # max_results: 1,
686
+ # next_token: "__string",
687
+ # })
688
+ #
689
+ # @example Response structure
690
+ #
691
+ # resp.broker_instance_options #=> Array
692
+ # resp.broker_instance_options[0].availability_zones #=> Array
693
+ # resp.broker_instance_options[0].availability_zones[0].name #=> String
694
+ # resp.broker_instance_options[0].engine_type #=> String, one of "ACTIVEMQ"
695
+ # resp.broker_instance_options[0].host_instance_type #=> String
696
+ # resp.broker_instance_options[0].supported_engine_versions #=> Array
697
+ # resp.broker_instance_options[0].supported_engine_versions[0] #=> String
698
+ # resp.max_results #=> Integer
699
+ # resp.next_token #=> String
700
+ #
701
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerInstanceOptions AWS API Documentation
702
+ #
703
+ # @overload describe_broker_instance_options(params = {})
704
+ # @param [Hash] params ({})
705
+ def describe_broker_instance_options(params = {}, options = {})
706
+ req = build_request(:describe_broker_instance_options, params)
707
+ req.send_request(options)
708
+ end
709
+
581
710
  # Returns information about the specified configuration.
582
711
  #
583
712
  # @option params [required, String] :configuration_id
@@ -1072,7 +1201,7 @@ module Aws::MQ
1072
1201
  params: params,
1073
1202
  config: config)
1074
1203
  context[:gem_name] = 'aws-sdk-mq'
1075
- context[:gem_version] = '1.12.0'
1204
+ context[:gem_version] = '1.13.0'
1076
1205
  Seahorse::Client::Request.new(handlers, context)
1077
1206
  end
1078
1207
 
@@ -11,8 +11,13 @@ module Aws::MQ
11
11
 
12
12
  include Seahorse::Model
13
13
 
14
+ AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone')
14
15
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
16
+ BrokerEngineType = Shapes::StructureShape.new(name: 'BrokerEngineType')
17
+ BrokerEngineTypeOutput = Shapes::StructureShape.new(name: 'BrokerEngineTypeOutput')
15
18
  BrokerInstance = Shapes::StructureShape.new(name: 'BrokerInstance')
19
+ BrokerInstanceOption = Shapes::StructureShape.new(name: 'BrokerInstanceOption')
20
+ BrokerInstanceOptionsOutput = Shapes::StructureShape.new(name: 'BrokerInstanceOptionsOutput')
16
21
  BrokerState = Shapes::StringShape.new(name: 'BrokerState')
17
22
  BrokerSummary = Shapes::StructureShape.new(name: 'BrokerSummary')
18
23
  ChangeType = Shapes::StringShape.new(name: 'ChangeType')
@@ -41,6 +46,10 @@ module Aws::MQ
41
46
  DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
42
47
  DeleteUserResponse = Shapes::StructureShape.new(name: 'DeleteUserResponse')
43
48
  DeploymentMode = Shapes::StringShape.new(name: 'DeploymentMode')
49
+ DescribeBrokerEngineTypesRequest = Shapes::StructureShape.new(name: 'DescribeBrokerEngineTypesRequest')
50
+ DescribeBrokerEngineTypesResponse = Shapes::StructureShape.new(name: 'DescribeBrokerEngineTypesResponse')
51
+ DescribeBrokerInstanceOptionsRequest = Shapes::StructureShape.new(name: 'DescribeBrokerInstanceOptionsRequest')
52
+ DescribeBrokerInstanceOptionsResponse = Shapes::StructureShape.new(name: 'DescribeBrokerInstanceOptionsResponse')
44
53
  DescribeBrokerOutput = Shapes::StructureShape.new(name: 'DescribeBrokerOutput')
45
54
  DescribeBrokerRequest = Shapes::StructureShape.new(name: 'DescribeBrokerRequest')
46
55
  DescribeBrokerResponse = Shapes::StructureShape.new(name: 'DescribeBrokerResponse')
@@ -53,6 +62,7 @@ module Aws::MQ
53
62
  DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
54
63
  DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
55
64
  EngineType = Shapes::StringShape.new(name: 'EngineType')
65
+ EngineVersion = Shapes::StructureShape.new(name: 'EngineVersion')
56
66
  Error = Shapes::StructureShape.new(name: 'Error')
57
67
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
58
68
  InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
@@ -100,11 +110,15 @@ module Aws::MQ
100
110
  __double = Shapes::FloatShape.new(name: '__double')
101
111
  __integer = Shapes::IntegerShape.new(name: '__integer')
102
112
  __integerMin5Max100 = Shapes::IntegerShape.new(name: '__integerMin5Max100')
113
+ __listOfAvailabilityZone = Shapes::ListShape.new(name: '__listOfAvailabilityZone')
114
+ __listOfBrokerEngineType = Shapes::ListShape.new(name: '__listOfBrokerEngineType')
103
115
  __listOfBrokerInstance = Shapes::ListShape.new(name: '__listOfBrokerInstance')
116
+ __listOfBrokerInstanceOption = Shapes::ListShape.new(name: '__listOfBrokerInstanceOption')
104
117
  __listOfBrokerSummary = Shapes::ListShape.new(name: '__listOfBrokerSummary')
105
118
  __listOfConfiguration = Shapes::ListShape.new(name: '__listOfConfiguration')
106
119
  __listOfConfigurationId = Shapes::ListShape.new(name: '__listOfConfigurationId')
107
120
  __listOfConfigurationRevision = Shapes::ListShape.new(name: '__listOfConfigurationRevision')
121
+ __listOfEngineVersion = Shapes::ListShape.new(name: '__listOfEngineVersion')
108
122
  __listOfSanitizationWarning = Shapes::ListShape.new(name: '__listOfSanitizationWarning')
109
123
  __listOfUser = Shapes::ListShape.new(name: '__listOfUser')
110
124
  __listOfUserSummary = Shapes::ListShape.new(name: '__listOfUserSummary')
@@ -115,11 +129,34 @@ module Aws::MQ
115
129
  __timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
116
130
  __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
117
131
 
132
+ AvailabilityZone.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
133
+ AvailabilityZone.struct_class = Types::AvailabilityZone
134
+
135
+ BrokerEngineType.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
136
+ BrokerEngineType.add_member(:engine_versions, Shapes::ShapeRef.new(shape: __listOfEngineVersion, location_name: "engineVersions"))
137
+ BrokerEngineType.struct_class = Types::BrokerEngineType
138
+
139
+ BrokerEngineTypeOutput.add_member(:broker_engine_types, Shapes::ShapeRef.new(shape: __listOfBrokerEngineType, location_name: "brokerEngineTypes"))
140
+ BrokerEngineTypeOutput.add_member(:max_results, Shapes::ShapeRef.new(shape: __integerMin5Max100, location_name: "maxResults"))
141
+ BrokerEngineTypeOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
142
+ BrokerEngineTypeOutput.struct_class = Types::BrokerEngineTypeOutput
143
+
118
144
  BrokerInstance.add_member(:console_url, Shapes::ShapeRef.new(shape: __string, location_name: "consoleURL"))
119
145
  BrokerInstance.add_member(:endpoints, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "endpoints"))
120
146
  BrokerInstance.add_member(:ip_address, Shapes::ShapeRef.new(shape: __string, location_name: "ipAddress"))
121
147
  BrokerInstance.struct_class = Types::BrokerInstance
122
148
 
149
+ BrokerInstanceOption.add_member(:availability_zones, Shapes::ShapeRef.new(shape: __listOfAvailabilityZone, location_name: "availabilityZones"))
150
+ BrokerInstanceOption.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
151
+ BrokerInstanceOption.add_member(:host_instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "hostInstanceType"))
152
+ BrokerInstanceOption.add_member(:supported_engine_versions, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "supportedEngineVersions"))
153
+ BrokerInstanceOption.struct_class = Types::BrokerInstanceOption
154
+
155
+ BrokerInstanceOptionsOutput.add_member(:broker_instance_options, Shapes::ShapeRef.new(shape: __listOfBrokerInstanceOption, location_name: "brokerInstanceOptions"))
156
+ BrokerInstanceOptionsOutput.add_member(:max_results, Shapes::ShapeRef.new(shape: __integerMin5Max100, location_name: "maxResults"))
157
+ BrokerInstanceOptionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
158
+ BrokerInstanceOptionsOutput.struct_class = Types::BrokerInstanceOptionsOutput
159
+
123
160
  BrokerSummary.add_member(:broker_arn, Shapes::ShapeRef.new(shape: __string, location_name: "brokerArn"))
124
161
  BrokerSummary.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
125
162
  BrokerSummary.add_member(:broker_name, Shapes::ShapeRef.new(shape: __string, location_name: "brokerName"))
@@ -259,6 +296,27 @@ module Aws::MQ
259
296
 
260
297
  DeleteUserResponse.struct_class = Types::DeleteUserResponse
261
298
 
299
+ DescribeBrokerEngineTypesRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "engineType"))
300
+ DescribeBrokerEngineTypesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
301
+ DescribeBrokerEngineTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
302
+ DescribeBrokerEngineTypesRequest.struct_class = Types::DescribeBrokerEngineTypesRequest
303
+
304
+ DescribeBrokerEngineTypesResponse.add_member(:broker_engine_types, Shapes::ShapeRef.new(shape: __listOfBrokerEngineType, location_name: "brokerEngineTypes"))
305
+ DescribeBrokerEngineTypesResponse.add_member(:max_results, Shapes::ShapeRef.new(shape: __integerMin5Max100, location_name: "maxResults"))
306
+ DescribeBrokerEngineTypesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
307
+ DescribeBrokerEngineTypesResponse.struct_class = Types::DescribeBrokerEngineTypesResponse
308
+
309
+ DescribeBrokerInstanceOptionsRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "engineType"))
310
+ DescribeBrokerInstanceOptionsRequest.add_member(:host_instance_type, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "hostInstanceType"))
311
+ DescribeBrokerInstanceOptionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
312
+ DescribeBrokerInstanceOptionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
313
+ DescribeBrokerInstanceOptionsRequest.struct_class = Types::DescribeBrokerInstanceOptionsRequest
314
+
315
+ DescribeBrokerInstanceOptionsResponse.add_member(:broker_instance_options, Shapes::ShapeRef.new(shape: __listOfBrokerInstanceOption, location_name: "brokerInstanceOptions"))
316
+ DescribeBrokerInstanceOptionsResponse.add_member(:max_results, Shapes::ShapeRef.new(shape: __integerMin5Max100, location_name: "maxResults"))
317
+ DescribeBrokerInstanceOptionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
318
+ DescribeBrokerInstanceOptionsResponse.struct_class = Types::DescribeBrokerInstanceOptionsResponse
319
+
262
320
  DescribeBrokerOutput.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: __boolean, location_name: "autoMinorVersionUpgrade"))
263
321
  DescribeBrokerOutput.add_member(:broker_arn, Shapes::ShapeRef.new(shape: __string, location_name: "brokerArn"))
264
322
  DescribeBrokerOutput.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
@@ -354,6 +412,9 @@ module Aws::MQ
354
412
  DescribeUserResponse.add_member(:username, Shapes::ShapeRef.new(shape: __string, location_name: "username"))
355
413
  DescribeUserResponse.struct_class = Types::DescribeUserResponse
356
414
 
415
+ EngineVersion.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
416
+ EngineVersion.struct_class = Types::EngineVersion
417
+
357
418
  Error.add_member(:error_attribute, Shapes::ShapeRef.new(shape: __string, location_name: "errorAttribute"))
358
419
  Error.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
359
420
  Error.struct_class = Types::Error
@@ -538,8 +599,14 @@ module Aws::MQ
538
599
  WeeklyStartTime.add_member(:time_zone, Shapes::ShapeRef.new(shape: __string, location_name: "timeZone"))
539
600
  WeeklyStartTime.struct_class = Types::WeeklyStartTime
540
601
 
602
+ __listOfAvailabilityZone.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
603
+
604
+ __listOfBrokerEngineType.member = Shapes::ShapeRef.new(shape: BrokerEngineType)
605
+
541
606
  __listOfBrokerInstance.member = Shapes::ShapeRef.new(shape: BrokerInstance)
542
607
 
608
+ __listOfBrokerInstanceOption.member = Shapes::ShapeRef.new(shape: BrokerInstanceOption)
609
+
543
610
  __listOfBrokerSummary.member = Shapes::ShapeRef.new(shape: BrokerSummary)
544
611
 
545
612
  __listOfConfiguration.member = Shapes::ShapeRef.new(shape: Configuration)
@@ -548,6 +615,8 @@ module Aws::MQ
548
615
 
549
616
  __listOfConfigurationRevision.member = Shapes::ShapeRef.new(shape: ConfigurationRevision)
550
617
 
618
+ __listOfEngineVersion.member = Shapes::ShapeRef.new(shape: EngineVersion)
619
+
551
620
  __listOfSanitizationWarning.member = Shapes::ShapeRef.new(shape: SanitizationWarning)
552
621
 
553
622
  __listOfUser.member = Shapes::ShapeRef.new(shape: User)
@@ -675,6 +744,28 @@ module Aws::MQ
675
744
  o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
676
745
  end)
677
746
 
747
+ api.add_operation(:describe_broker_engine_types, Seahorse::Model::Operation.new.tap do |o|
748
+ o.name = "DescribeBrokerEngineTypes"
749
+ o.http_method = "GET"
750
+ o.http_request_uri = "/v1/broker-engine-types"
751
+ o.input = Shapes::ShapeRef.new(shape: DescribeBrokerEngineTypesRequest)
752
+ o.output = Shapes::ShapeRef.new(shape: DescribeBrokerEngineTypesResponse)
753
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
754
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
755
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
756
+ end)
757
+
758
+ api.add_operation(:describe_broker_instance_options, Seahorse::Model::Operation.new.tap do |o|
759
+ o.name = "DescribeBrokerInstanceOptions"
760
+ o.http_method = "GET"
761
+ o.http_request_uri = "/v1/broker-instance-options"
762
+ o.input = Shapes::ShapeRef.new(shape: DescribeBrokerInstanceOptionsRequest)
763
+ o.output = Shapes::ShapeRef.new(shape: DescribeBrokerInstanceOptionsResponse)
764
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
765
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
766
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
767
+ end)
768
+
678
769
  api.add_operation(:describe_configuration, Seahorse::Model::Operation.new.tap do |o|
679
770
  o.name = "DescribeConfiguration"
680
771
  o.http_method = "GET"
@@ -8,6 +8,63 @@
8
8
  module Aws::MQ
9
9
  module Types
10
10
 
11
+ # Name of the availability zone.
12
+ #
13
+ # @!attribute [rw] name
14
+ # Id for the availability zone.
15
+ # @return [String]
16
+ #
17
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/AvailabilityZone AWS API Documentation
18
+ #
19
+ class AvailabilityZone < Struct.new(
20
+ :name)
21
+ include Aws::Structure
22
+ end
23
+
24
+ # Types of broker engines.
25
+ #
26
+ # @!attribute [rw] engine_type
27
+ # The type of broker engine.
28
+ # @return [String]
29
+ #
30
+ # @!attribute [rw] engine_versions
31
+ # The list of engine versions.
32
+ # @return [Array<Types::EngineVersion>]
33
+ #
34
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/BrokerEngineType AWS API Documentation
35
+ #
36
+ class BrokerEngineType < Struct.new(
37
+ :engine_type,
38
+ :engine_versions)
39
+ include Aws::Structure
40
+ end
41
+
42
+ # Returns a list of broker engine type.
43
+ #
44
+ # @!attribute [rw] broker_engine_types
45
+ # List of available engine types and versions.
46
+ # @return [Array<Types::BrokerEngineType>]
47
+ #
48
+ # @!attribute [rw] max_results
49
+ # Required. The maximum number of engine types that can be returned
50
+ # per page (20 by default). This value must be an integer from 5 to
51
+ # 100.
52
+ # @return [Integer]
53
+ #
54
+ # @!attribute [rw] next_token
55
+ # The token that specifies the next page of results Amazon MQ should
56
+ # return. To request the first page, leave nextToken empty.
57
+ # @return [String]
58
+ #
59
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/BrokerEngineTypeOutput AWS API Documentation
60
+ #
61
+ class BrokerEngineTypeOutput < Struct.new(
62
+ :broker_engine_types,
63
+ :max_results,
64
+ :next_token)
65
+ include Aws::Structure
66
+ end
67
+
11
68
  # Returns information about all brokers.
12
69
  #
13
70
  # @!attribute [rw] console_url
@@ -32,6 +89,60 @@ module Aws::MQ
32
89
  include Aws::Structure
33
90
  end
34
91
 
92
+ # Option for host instance type.
93
+ #
94
+ # @!attribute [rw] availability_zones
95
+ # The list of available az.
96
+ # @return [Array<Types::AvailabilityZone>]
97
+ #
98
+ # @!attribute [rw] engine_type
99
+ # The type of broker engine.
100
+ # @return [String]
101
+ #
102
+ # @!attribute [rw] host_instance_type
103
+ # The type of broker instance.
104
+ # @return [String]
105
+ #
106
+ # @!attribute [rw] supported_engine_versions
107
+ # The list of supported engine versions.
108
+ # @return [Array<String>]
109
+ #
110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/BrokerInstanceOption AWS API Documentation
111
+ #
112
+ class BrokerInstanceOption < Struct.new(
113
+ :availability_zones,
114
+ :engine_type,
115
+ :host_instance_type,
116
+ :supported_engine_versions)
117
+ include Aws::Structure
118
+ end
119
+
120
+ # Returns a list of broker instance options.
121
+ #
122
+ # @!attribute [rw] broker_instance_options
123
+ # List of available broker instance options.
124
+ # @return [Array<Types::BrokerInstanceOption>]
125
+ #
126
+ # @!attribute [rw] max_results
127
+ # Required. The maximum number of instance options that can be
128
+ # returned per page (20 by default). This value must be an integer
129
+ # from 5 to 100.
130
+ # @return [Integer]
131
+ #
132
+ # @!attribute [rw] next_token
133
+ # The token that specifies the next page of results Amazon MQ should
134
+ # return. To request the first page, leave nextToken empty.
135
+ # @return [String]
136
+ #
137
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/BrokerInstanceOptionsOutput AWS API Documentation
138
+ #
139
+ class BrokerInstanceOptionsOutput < Struct.new(
140
+ :broker_instance_options,
141
+ :max_results,
142
+ :next_token)
143
+ include Aws::Structure
144
+ end
145
+
35
146
  # The Amazon Resource Name (ARN) of the broker.
36
147
  #
37
148
  # @!attribute [rw] broker_arn
@@ -777,6 +888,101 @@ module Aws::MQ
777
888
  #
778
889
  class DeleteUserResponse < Aws::EmptyStructure; end
779
890
 
891
+ # @note When making an API call, you may pass DescribeBrokerEngineTypesRequest
892
+ # data as a hash:
893
+ #
894
+ # {
895
+ # engine_type: "__string",
896
+ # max_results: 1,
897
+ # next_token: "__string",
898
+ # }
899
+ #
900
+ # @!attribute [rw] engine_type
901
+ # @return [String]
902
+ #
903
+ # @!attribute [rw] max_results
904
+ # @return [Integer]
905
+ #
906
+ # @!attribute [rw] next_token
907
+ # @return [String]
908
+ #
909
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerEngineTypesRequest AWS API Documentation
910
+ #
911
+ class DescribeBrokerEngineTypesRequest < Struct.new(
912
+ :engine_type,
913
+ :max_results,
914
+ :next_token)
915
+ include Aws::Structure
916
+ end
917
+
918
+ # @!attribute [rw] broker_engine_types
919
+ # @return [Array<Types::BrokerEngineType>]
920
+ #
921
+ # @!attribute [rw] max_results
922
+ # @return [Integer]
923
+ #
924
+ # @!attribute [rw] next_token
925
+ # @return [String]
926
+ #
927
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerEngineTypesResponse AWS API Documentation
928
+ #
929
+ class DescribeBrokerEngineTypesResponse < Struct.new(
930
+ :broker_engine_types,
931
+ :max_results,
932
+ :next_token)
933
+ include Aws::Structure
934
+ end
935
+
936
+ # @note When making an API call, you may pass DescribeBrokerInstanceOptionsRequest
937
+ # data as a hash:
938
+ #
939
+ # {
940
+ # engine_type: "__string",
941
+ # host_instance_type: "__string",
942
+ # max_results: 1,
943
+ # next_token: "__string",
944
+ # }
945
+ #
946
+ # @!attribute [rw] engine_type
947
+ # @return [String]
948
+ #
949
+ # @!attribute [rw] host_instance_type
950
+ # @return [String]
951
+ #
952
+ # @!attribute [rw] max_results
953
+ # @return [Integer]
954
+ #
955
+ # @!attribute [rw] next_token
956
+ # @return [String]
957
+ #
958
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerInstanceOptionsRequest AWS API Documentation
959
+ #
960
+ class DescribeBrokerInstanceOptionsRequest < Struct.new(
961
+ :engine_type,
962
+ :host_instance_type,
963
+ :max_results,
964
+ :next_token)
965
+ include Aws::Structure
966
+ end
967
+
968
+ # @!attribute [rw] broker_instance_options
969
+ # @return [Array<Types::BrokerInstanceOption>]
970
+ #
971
+ # @!attribute [rw] max_results
972
+ # @return [Integer]
973
+ #
974
+ # @!attribute [rw] next_token
975
+ # @return [String]
976
+ #
977
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeBrokerInstanceOptionsResponse AWS API Documentation
978
+ #
979
+ class DescribeBrokerInstanceOptionsResponse < Struct.new(
980
+ :broker_instance_options,
981
+ :max_results,
982
+ :next_token)
983
+ include Aws::Structure
984
+ end
985
+
780
986
  # The version of the broker engine. For a list of supported engine
781
987
  # versions, see
782
988
  # https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/broker-engine.html
@@ -1242,6 +1448,19 @@ module Aws::MQ
1242
1448
  include Aws::Structure
1243
1449
  end
1244
1450
 
1451
+ # Id of the engine version.
1452
+ #
1453
+ # @!attribute [rw] name
1454
+ # Id for the version.
1455
+ # @return [String]
1456
+ #
1457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/EngineVersion AWS API Documentation
1458
+ #
1459
+ class EngineVersion < Struct.new(
1460
+ :name)
1461
+ include Aws::Structure
1462
+ end
1463
+
1245
1464
  # Returns information about an error.
1246
1465
  #
1247
1466
  # @!attribute [rw] error_attribute
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.12.0
4
+ version: 1.13.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-03-21 00:00:00.000000000 Z
11
+ date: 2019-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core