aws-sdk-mq 1.47.0 → 1.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-mq/client.rb +20 -3
- data/lib/aws-sdk-mq/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-mq/endpoint_provider.rb +51 -0
- data/lib/aws-sdk-mq/endpoints.rb +323 -0
- data/lib/aws-sdk-mq/plugins/endpoints.rb +112 -0
- data/lib/aws-sdk-mq/types.rb +0 -332
- data/lib/aws-sdk-mq.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc0e2f45314f1346150b6f207c0b83306bdfc3a6e78c1fc167d8020277c3280d
|
4
|
+
data.tar.gz: 2a0d1785c7ab849bdb8ae6cc19ebfd4c6bb56a443998aa09481571e09a0fc0ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58485246e8b85534fdacb550d7a58fa146f43b19e68e0bc6593b20eecf22da1f284e6afa015c2ab5fabe96beff8448188b8cb2ea4642d4ad6f92cb7ca41fddf0
|
7
|
+
data.tar.gz: '049eb4dbcb67855a90c914dc032774c1fad71820d93fbb00beddb531bb77d610ad790b7c0be2a82dcff70048c5709a7ef923b8c8291ec79c3a7d26995f2784c9'
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.49.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
11
|
+
1.48.0 (2022-10-25)
|
12
|
+
------------------
|
13
|
+
|
14
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
15
|
+
|
4
16
|
1.47.0 (2022-04-25)
|
5
17
|
------------------
|
6
18
|
|
@@ -245,4 +257,4 @@ Unreleased Changes
|
|
245
257
|
1.0.0 (2017-11-29)
|
246
258
|
------------------
|
247
259
|
|
248
|
-
* Feature - Initial release of `aws-sdk-mq`.
|
260
|
+
* Feature - Initial release of `aws-sdk-mq`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.49.0
|
data/lib/aws-sdk-mq/client.rb
CHANGED
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:mq)
|
@@ -79,8 +79,9 @@ module Aws::MQ
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
84
|
+
add_plugin(Aws::MQ::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -287,6 +288,19 @@ module Aws::MQ
|
|
287
288
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
288
289
|
# requests are made, and retries are disabled.
|
289
290
|
#
|
291
|
+
# @option options [Aws::TokenProvider] :token_provider
|
292
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
293
|
+
# following classes:
|
294
|
+
#
|
295
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
296
|
+
# tokens.
|
297
|
+
#
|
298
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
299
|
+
# access token generated from `aws login`.
|
300
|
+
#
|
301
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
302
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
303
|
+
#
|
290
304
|
# @option options [Boolean] :use_dualstack_endpoint
|
291
305
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
306
|
# will be used if available.
|
@@ -300,6 +314,9 @@ module Aws::MQ
|
|
300
314
|
# When `true`, request parameters are validated before
|
301
315
|
# sending the request.
|
302
316
|
#
|
317
|
+
# @option options [Aws::MQ::EndpointProvider] :endpoint_provider
|
318
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::MQ::EndpointParameters`
|
319
|
+
#
|
303
320
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
304
321
|
# requests through. Formatted like 'http://proxy.com:123'.
|
305
322
|
#
|
@@ -1510,7 +1527,7 @@ module Aws::MQ
|
|
1510
1527
|
params: params,
|
1511
1528
|
config: config)
|
1512
1529
|
context[:gem_name] = 'aws-sdk-mq'
|
1513
|
-
context[:gem_version] = '1.
|
1530
|
+
context[:gem_version] = '1.49.0'
|
1514
1531
|
Seahorse::Client::Request.new(handlers, context)
|
1515
1532
|
end
|
1516
1533
|
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::MQ
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
+
if self[:use_dual_stack].nil?
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
+
end
|
58
|
+
self[:use_fips] = options[:use_fips]
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
+
if self[:use_fips].nil?
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
+
end
|
63
|
+
self[:endpoint] = options[:endpoint]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::MQ
|
11
|
+
class EndpointProvider
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://mq-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://mq-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
+
end
|
37
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
38
|
+
end
|
39
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://mq.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
42
|
+
end
|
43
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
44
|
+
end
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://mq.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
|
+
end
|
47
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
48
|
+
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,323 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::MQ
|
12
|
+
module Endpoints
|
13
|
+
|
14
|
+
class CreateBroker
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::MQ::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
class CreateConfiguration
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::MQ::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class CreateTags
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::MQ::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class CreateUser
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::MQ::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class DeleteBroker
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::MQ::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
class DeleteTags
|
85
|
+
def self.build(context)
|
86
|
+
unless context.config.regional_endpoint
|
87
|
+
endpoint = context.config.endpoint.to_s
|
88
|
+
end
|
89
|
+
Aws::MQ::EndpointParameters.new(
|
90
|
+
region: context.config.region,
|
91
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
92
|
+
use_fips: context.config.use_fips_endpoint,
|
93
|
+
endpoint: endpoint,
|
94
|
+
)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
class DeleteUser
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::MQ::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class DescribeBroker
|
113
|
+
def self.build(context)
|
114
|
+
unless context.config.regional_endpoint
|
115
|
+
endpoint = context.config.endpoint.to_s
|
116
|
+
end
|
117
|
+
Aws::MQ::EndpointParameters.new(
|
118
|
+
region: context.config.region,
|
119
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
120
|
+
use_fips: context.config.use_fips_endpoint,
|
121
|
+
endpoint: endpoint,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class DescribeBrokerEngineTypes
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::MQ::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class DescribeBrokerInstanceOptions
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::MQ::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class DescribeConfiguration
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::MQ::EndpointParameters.new(
|
160
|
+
region: context.config.region,
|
161
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
162
|
+
use_fips: context.config.use_fips_endpoint,
|
163
|
+
endpoint: endpoint,
|
164
|
+
)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
class DescribeConfigurationRevision
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::MQ::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
class DescribeUser
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::MQ::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class ListBrokers
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::MQ::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
class ListConfigurationRevisions
|
211
|
+
def self.build(context)
|
212
|
+
unless context.config.regional_endpoint
|
213
|
+
endpoint = context.config.endpoint.to_s
|
214
|
+
end
|
215
|
+
Aws::MQ::EndpointParameters.new(
|
216
|
+
region: context.config.region,
|
217
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
218
|
+
use_fips: context.config.use_fips_endpoint,
|
219
|
+
endpoint: endpoint,
|
220
|
+
)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class ListConfigurations
|
225
|
+
def self.build(context)
|
226
|
+
unless context.config.regional_endpoint
|
227
|
+
endpoint = context.config.endpoint.to_s
|
228
|
+
end
|
229
|
+
Aws::MQ::EndpointParameters.new(
|
230
|
+
region: context.config.region,
|
231
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
232
|
+
use_fips: context.config.use_fips_endpoint,
|
233
|
+
endpoint: endpoint,
|
234
|
+
)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class ListTags
|
239
|
+
def self.build(context)
|
240
|
+
unless context.config.regional_endpoint
|
241
|
+
endpoint = context.config.endpoint.to_s
|
242
|
+
end
|
243
|
+
Aws::MQ::EndpointParameters.new(
|
244
|
+
region: context.config.region,
|
245
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
246
|
+
use_fips: context.config.use_fips_endpoint,
|
247
|
+
endpoint: endpoint,
|
248
|
+
)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
class ListUsers
|
253
|
+
def self.build(context)
|
254
|
+
unless context.config.regional_endpoint
|
255
|
+
endpoint = context.config.endpoint.to_s
|
256
|
+
end
|
257
|
+
Aws::MQ::EndpointParameters.new(
|
258
|
+
region: context.config.region,
|
259
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
260
|
+
use_fips: context.config.use_fips_endpoint,
|
261
|
+
endpoint: endpoint,
|
262
|
+
)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
class RebootBroker
|
267
|
+
def self.build(context)
|
268
|
+
unless context.config.regional_endpoint
|
269
|
+
endpoint = context.config.endpoint.to_s
|
270
|
+
end
|
271
|
+
Aws::MQ::EndpointParameters.new(
|
272
|
+
region: context.config.region,
|
273
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
274
|
+
use_fips: context.config.use_fips_endpoint,
|
275
|
+
endpoint: endpoint,
|
276
|
+
)
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class UpdateBroker
|
281
|
+
def self.build(context)
|
282
|
+
unless context.config.regional_endpoint
|
283
|
+
endpoint = context.config.endpoint.to_s
|
284
|
+
end
|
285
|
+
Aws::MQ::EndpointParameters.new(
|
286
|
+
region: context.config.region,
|
287
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
288
|
+
use_fips: context.config.use_fips_endpoint,
|
289
|
+
endpoint: endpoint,
|
290
|
+
)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
class UpdateConfiguration
|
295
|
+
def self.build(context)
|
296
|
+
unless context.config.regional_endpoint
|
297
|
+
endpoint = context.config.endpoint.to_s
|
298
|
+
end
|
299
|
+
Aws::MQ::EndpointParameters.new(
|
300
|
+
region: context.config.region,
|
301
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
302
|
+
use_fips: context.config.use_fips_endpoint,
|
303
|
+
endpoint: endpoint,
|
304
|
+
)
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
class UpdateUser
|
309
|
+
def self.build(context)
|
310
|
+
unless context.config.regional_endpoint
|
311
|
+
endpoint = context.config.endpoint.to_s
|
312
|
+
end
|
313
|
+
Aws::MQ::EndpointParameters.new(
|
314
|
+
region: context.config.region,
|
315
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
316
|
+
use_fips: context.config.use_fips_endpoint,
|
317
|
+
endpoint: endpoint,
|
318
|
+
)
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
end
|
323
|
+
end
|
@@ -0,0 +1,112 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::MQ
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::MQ::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::MQ::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::MQ::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :create_broker
|
60
|
+
Aws::MQ::Endpoints::CreateBroker.build(context)
|
61
|
+
when :create_configuration
|
62
|
+
Aws::MQ::Endpoints::CreateConfiguration.build(context)
|
63
|
+
when :create_tags
|
64
|
+
Aws::MQ::Endpoints::CreateTags.build(context)
|
65
|
+
when :create_user
|
66
|
+
Aws::MQ::Endpoints::CreateUser.build(context)
|
67
|
+
when :delete_broker
|
68
|
+
Aws::MQ::Endpoints::DeleteBroker.build(context)
|
69
|
+
when :delete_tags
|
70
|
+
Aws::MQ::Endpoints::DeleteTags.build(context)
|
71
|
+
when :delete_user
|
72
|
+
Aws::MQ::Endpoints::DeleteUser.build(context)
|
73
|
+
when :describe_broker
|
74
|
+
Aws::MQ::Endpoints::DescribeBroker.build(context)
|
75
|
+
when :describe_broker_engine_types
|
76
|
+
Aws::MQ::Endpoints::DescribeBrokerEngineTypes.build(context)
|
77
|
+
when :describe_broker_instance_options
|
78
|
+
Aws::MQ::Endpoints::DescribeBrokerInstanceOptions.build(context)
|
79
|
+
when :describe_configuration
|
80
|
+
Aws::MQ::Endpoints::DescribeConfiguration.build(context)
|
81
|
+
when :describe_configuration_revision
|
82
|
+
Aws::MQ::Endpoints::DescribeConfigurationRevision.build(context)
|
83
|
+
when :describe_user
|
84
|
+
Aws::MQ::Endpoints::DescribeUser.build(context)
|
85
|
+
when :list_brokers
|
86
|
+
Aws::MQ::Endpoints::ListBrokers.build(context)
|
87
|
+
when :list_configuration_revisions
|
88
|
+
Aws::MQ::Endpoints::ListConfigurationRevisions.build(context)
|
89
|
+
when :list_configurations
|
90
|
+
Aws::MQ::Endpoints::ListConfigurations.build(context)
|
91
|
+
when :list_tags
|
92
|
+
Aws::MQ::Endpoints::ListTags.build(context)
|
93
|
+
when :list_users
|
94
|
+
Aws::MQ::Endpoints::ListUsers.build(context)
|
95
|
+
when :reboot_broker
|
96
|
+
Aws::MQ::Endpoints::RebootBroker.build(context)
|
97
|
+
when :update_broker
|
98
|
+
Aws::MQ::Endpoints::UpdateBroker.build(context)
|
99
|
+
when :update_configuration
|
100
|
+
Aws::MQ::Endpoints::UpdateConfiguration.build(context)
|
101
|
+
when :update_user
|
102
|
+
Aws::MQ::Endpoints::UpdateUser.build(context)
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
def add_handlers(handlers, _config)
|
108
|
+
handlers.add(Handler, step: :build, priority: 75)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
data/lib/aws-sdk-mq/types.rb
CHANGED
@@ -333,14 +333,6 @@ module Aws::MQ
|
|
333
333
|
#
|
334
334
|
# Does not apply to RabbitMQ brokers.
|
335
335
|
#
|
336
|
-
# @note When making an API call, you may pass ConfigurationId
|
337
|
-
# data as a hash:
|
338
|
-
#
|
339
|
-
# {
|
340
|
-
# id: "__string", # required
|
341
|
-
# revision: 1,
|
342
|
-
# }
|
343
|
-
#
|
344
336
|
# @!attribute [rw] id
|
345
337
|
# Required. The unique ID that Amazon MQ generates for the
|
346
338
|
# configuration.
|
@@ -604,65 +596,6 @@ module Aws::MQ
|
|
604
596
|
include Aws::Structure
|
605
597
|
end
|
606
598
|
|
607
|
-
# @note When making an API call, you may pass CreateBrokerRequest
|
608
|
-
# data as a hash:
|
609
|
-
#
|
610
|
-
# {
|
611
|
-
# authentication_strategy: "SIMPLE", # accepts SIMPLE, LDAP
|
612
|
-
# auto_minor_version_upgrade: false, # required
|
613
|
-
# broker_name: "__string", # required
|
614
|
-
# configuration: {
|
615
|
-
# id: "__string", # required
|
616
|
-
# revision: 1,
|
617
|
-
# },
|
618
|
-
# creator_request_id: "__string",
|
619
|
-
# deployment_mode: "SINGLE_INSTANCE", # required, accepts SINGLE_INSTANCE, ACTIVE_STANDBY_MULTI_AZ, CLUSTER_MULTI_AZ
|
620
|
-
# encryption_options: {
|
621
|
-
# kms_key_id: "__string",
|
622
|
-
# use_aws_owned_key: false, # required
|
623
|
-
# },
|
624
|
-
# engine_type: "ACTIVEMQ", # required, accepts ACTIVEMQ, RABBITMQ
|
625
|
-
# engine_version: "__string", # required
|
626
|
-
# host_instance_type: "__string", # required
|
627
|
-
# ldap_server_metadata: {
|
628
|
-
# hosts: ["__string"], # required
|
629
|
-
# role_base: "__string", # required
|
630
|
-
# role_name: "__string",
|
631
|
-
# role_search_matching: "__string", # required
|
632
|
-
# role_search_subtree: false,
|
633
|
-
# service_account_password: "__string", # required
|
634
|
-
# service_account_username: "__string", # required
|
635
|
-
# user_base: "__string", # required
|
636
|
-
# user_role_name: "__string",
|
637
|
-
# user_search_matching: "__string", # required
|
638
|
-
# user_search_subtree: false,
|
639
|
-
# },
|
640
|
-
# logs: {
|
641
|
-
# audit: false,
|
642
|
-
# general: false,
|
643
|
-
# },
|
644
|
-
# maintenance_window_start_time: {
|
645
|
-
# day_of_week: "MONDAY", # required, accepts MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
|
646
|
-
# time_of_day: "__string", # required
|
647
|
-
# time_zone: "__string",
|
648
|
-
# },
|
649
|
-
# publicly_accessible: false, # required
|
650
|
-
# security_groups: ["__string"],
|
651
|
-
# storage_type: "EBS", # accepts EBS, EFS
|
652
|
-
# subnet_ids: ["__string"],
|
653
|
-
# tags: {
|
654
|
-
# "__string" => "__string",
|
655
|
-
# },
|
656
|
-
# users: [ # required
|
657
|
-
# {
|
658
|
-
# console_access: false,
|
659
|
-
# groups: ["__string"],
|
660
|
-
# password: "__string", # required
|
661
|
-
# username: "__string", # required
|
662
|
-
# },
|
663
|
-
# ],
|
664
|
-
# }
|
665
|
-
#
|
666
599
|
# @!attribute [rw] authentication_strategy
|
667
600
|
# Optional. The authentication strategy used to secure the broker. The
|
668
601
|
# default is SIMPLE.
|
@@ -872,19 +805,6 @@ module Aws::MQ
|
|
872
805
|
include Aws::Structure
|
873
806
|
end
|
874
807
|
|
875
|
-
# @note When making an API call, you may pass CreateConfigurationRequest
|
876
|
-
# data as a hash:
|
877
|
-
#
|
878
|
-
# {
|
879
|
-
# authentication_strategy: "SIMPLE", # accepts SIMPLE, LDAP
|
880
|
-
# engine_type: "ACTIVEMQ", # required, accepts ACTIVEMQ, RABBITMQ
|
881
|
-
# engine_version: "__string", # required
|
882
|
-
# name: "__string", # required
|
883
|
-
# tags: {
|
884
|
-
# "__string" => "__string",
|
885
|
-
# },
|
886
|
-
# }
|
887
|
-
#
|
888
808
|
# @!attribute [rw] authentication_strategy
|
889
809
|
# Optional. The authentication strategy used to secure the broker. The
|
890
810
|
# default is SIMPLE.
|
@@ -949,16 +869,6 @@ module Aws::MQ
|
|
949
869
|
include Aws::Structure
|
950
870
|
end
|
951
871
|
|
952
|
-
# @note When making an API call, you may pass CreateTagsRequest
|
953
|
-
# data as a hash:
|
954
|
-
#
|
955
|
-
# {
|
956
|
-
# resource_arn: "__string", # required
|
957
|
-
# tags: {
|
958
|
-
# "__string" => "__string",
|
959
|
-
# },
|
960
|
-
# }
|
961
|
-
#
|
962
872
|
# @!attribute [rw] resource_arn
|
963
873
|
# @return [String]
|
964
874
|
#
|
@@ -1003,17 +913,6 @@ module Aws::MQ
|
|
1003
913
|
include Aws::Structure
|
1004
914
|
end
|
1005
915
|
|
1006
|
-
# @note When making an API call, you may pass CreateUserRequest
|
1007
|
-
# data as a hash:
|
1008
|
-
#
|
1009
|
-
# {
|
1010
|
-
# broker_id: "__string", # required
|
1011
|
-
# console_access: false,
|
1012
|
-
# groups: ["__string"],
|
1013
|
-
# password: "__string", # required
|
1014
|
-
# username: "__string", # required
|
1015
|
-
# }
|
1016
|
-
#
|
1017
916
|
# @!attribute [rw] broker_id
|
1018
917
|
# @return [String]
|
1019
918
|
#
|
@@ -1059,13 +958,6 @@ module Aws::MQ
|
|
1059
958
|
include Aws::Structure
|
1060
959
|
end
|
1061
960
|
|
1062
|
-
# @note When making an API call, you may pass DeleteBrokerRequest
|
1063
|
-
# data as a hash:
|
1064
|
-
#
|
1065
|
-
# {
|
1066
|
-
# broker_id: "__string", # required
|
1067
|
-
# }
|
1068
|
-
#
|
1069
961
|
# @!attribute [rw] broker_id
|
1070
962
|
# @return [String]
|
1071
963
|
#
|
@@ -1088,14 +980,6 @@ module Aws::MQ
|
|
1088
980
|
include Aws::Structure
|
1089
981
|
end
|
1090
982
|
|
1091
|
-
# @note When making an API call, you may pass DeleteTagsRequest
|
1092
|
-
# data as a hash:
|
1093
|
-
#
|
1094
|
-
# {
|
1095
|
-
# resource_arn: "__string", # required
|
1096
|
-
# tag_keys: ["__string"], # required
|
1097
|
-
# }
|
1098
|
-
#
|
1099
983
|
# @!attribute [rw] resource_arn
|
1100
984
|
# @return [String]
|
1101
985
|
#
|
@@ -1111,14 +995,6 @@ module Aws::MQ
|
|
1111
995
|
include Aws::Structure
|
1112
996
|
end
|
1113
997
|
|
1114
|
-
# @note When making an API call, you may pass DeleteUserRequest
|
1115
|
-
# data as a hash:
|
1116
|
-
#
|
1117
|
-
# {
|
1118
|
-
# broker_id: "__string", # required
|
1119
|
-
# username: "__string", # required
|
1120
|
-
# }
|
1121
|
-
#
|
1122
998
|
# @!attribute [rw] broker_id
|
1123
999
|
# @return [String]
|
1124
1000
|
#
|
@@ -1138,15 +1014,6 @@ module Aws::MQ
|
|
1138
1014
|
#
|
1139
1015
|
class DeleteUserResponse < Aws::EmptyStructure; end
|
1140
1016
|
|
1141
|
-
# @note When making an API call, you may pass DescribeBrokerEngineTypesRequest
|
1142
|
-
# data as a hash:
|
1143
|
-
#
|
1144
|
-
# {
|
1145
|
-
# engine_type: "__string",
|
1146
|
-
# max_results: 1,
|
1147
|
-
# next_token: "__string",
|
1148
|
-
# }
|
1149
|
-
#
|
1150
1017
|
# @!attribute [rw] engine_type
|
1151
1018
|
# @return [String]
|
1152
1019
|
#
|
@@ -1185,17 +1052,6 @@ module Aws::MQ
|
|
1185
1052
|
include Aws::Structure
|
1186
1053
|
end
|
1187
1054
|
|
1188
|
-
# @note When making an API call, you may pass DescribeBrokerInstanceOptionsRequest
|
1189
|
-
# data as a hash:
|
1190
|
-
#
|
1191
|
-
# {
|
1192
|
-
# engine_type: "__string",
|
1193
|
-
# host_instance_type: "__string",
|
1194
|
-
# max_results: 1,
|
1195
|
-
# next_token: "__string",
|
1196
|
-
# storage_type: "__string",
|
1197
|
-
# }
|
1198
|
-
#
|
1199
1055
|
# @!attribute [rw] engine_type
|
1200
1056
|
# @return [String]
|
1201
1057
|
#
|
@@ -1428,13 +1284,6 @@ module Aws::MQ
|
|
1428
1284
|
include Aws::Structure
|
1429
1285
|
end
|
1430
1286
|
|
1431
|
-
# @note When making an API call, you may pass DescribeBrokerRequest
|
1432
|
-
# data as a hash:
|
1433
|
-
#
|
1434
|
-
# {
|
1435
|
-
# broker_id: "__string", # required
|
1436
|
-
# }
|
1437
|
-
#
|
1438
1287
|
# @!attribute [rw] broker_id
|
1439
1288
|
# @return [String]
|
1440
1289
|
#
|
@@ -1591,13 +1440,6 @@ module Aws::MQ
|
|
1591
1440
|
include Aws::Structure
|
1592
1441
|
end
|
1593
1442
|
|
1594
|
-
# @note When making an API call, you may pass DescribeConfigurationRequest
|
1595
|
-
# data as a hash:
|
1596
|
-
#
|
1597
|
-
# {
|
1598
|
-
# configuration_id: "__string", # required
|
1599
|
-
# }
|
1600
|
-
#
|
1601
1443
|
# @!attribute [rw] configuration_id
|
1602
1444
|
# @return [String]
|
1603
1445
|
#
|
@@ -1691,14 +1533,6 @@ module Aws::MQ
|
|
1691
1533
|
include Aws::Structure
|
1692
1534
|
end
|
1693
1535
|
|
1694
|
-
# @note When making an API call, you may pass DescribeConfigurationRevisionRequest
|
1695
|
-
# data as a hash:
|
1696
|
-
#
|
1697
|
-
# {
|
1698
|
-
# configuration_id: "__string", # required
|
1699
|
-
# configuration_revision: "__string", # required
|
1700
|
-
# }
|
1701
|
-
#
|
1702
1536
|
# @!attribute [rw] configuration_id
|
1703
1537
|
# @return [String]
|
1704
1538
|
#
|
@@ -1777,14 +1611,6 @@ module Aws::MQ
|
|
1777
1611
|
include Aws::Structure
|
1778
1612
|
end
|
1779
1613
|
|
1780
|
-
# @note When making an API call, you may pass DescribeUserRequest
|
1781
|
-
# data as a hash:
|
1782
|
-
#
|
1783
|
-
# {
|
1784
|
-
# broker_id: "__string", # required
|
1785
|
-
# username: "__string", # required
|
1786
|
-
# }
|
1787
|
-
#
|
1788
1614
|
# @!attribute [rw] broker_id
|
1789
1615
|
# @return [String]
|
1790
1616
|
#
|
@@ -1833,14 +1659,6 @@ module Aws::MQ
|
|
1833
1659
|
#
|
1834
1660
|
# Encryption options for the broker.
|
1835
1661
|
#
|
1836
|
-
# @note When making an API call, you may pass EncryptionOptions
|
1837
|
-
# data as a hash:
|
1838
|
-
#
|
1839
|
-
# {
|
1840
|
-
# kms_key_id: "__string",
|
1841
|
-
# use_aws_owned_key: false, # required
|
1842
|
-
# }
|
1843
|
-
#
|
1844
1662
|
# @!attribute [rw] kms_key_id
|
1845
1663
|
# The customer master key (CMK) to use for the AWS Key Management
|
1846
1664
|
# Service (KMS). This key is used to encrypt your data at rest. If not
|
@@ -1934,23 +1752,6 @@ module Aws::MQ
|
|
1934
1752
|
#
|
1935
1753
|
# Does not apply to RabbitMQ brokers.
|
1936
1754
|
#
|
1937
|
-
# @note When making an API call, you may pass LdapServerMetadataInput
|
1938
|
-
# data as a hash:
|
1939
|
-
#
|
1940
|
-
# {
|
1941
|
-
# hosts: ["__string"], # required
|
1942
|
-
# role_base: "__string", # required
|
1943
|
-
# role_name: "__string",
|
1944
|
-
# role_search_matching: "__string", # required
|
1945
|
-
# role_search_subtree: false,
|
1946
|
-
# service_account_password: "__string", # required
|
1947
|
-
# service_account_username: "__string", # required
|
1948
|
-
# user_base: "__string", # required
|
1949
|
-
# user_role_name: "__string",
|
1950
|
-
# user_search_matching: "__string", # required
|
1951
|
-
# user_search_subtree: false,
|
1952
|
-
# }
|
1953
|
-
#
|
1954
1755
|
# @!attribute [rw] hosts
|
1955
1756
|
# Specifies the location of the LDAP server such as AWS Directory
|
1956
1757
|
# Service for Microsoft Active Directory . Optional failover server.
|
@@ -2149,14 +1950,6 @@ module Aws::MQ
|
|
2149
1950
|
include Aws::Structure
|
2150
1951
|
end
|
2151
1952
|
|
2152
|
-
# @note When making an API call, you may pass ListBrokersRequest
|
2153
|
-
# data as a hash:
|
2154
|
-
#
|
2155
|
-
# {
|
2156
|
-
# max_results: 1,
|
2157
|
-
# next_token: "__string",
|
2158
|
-
# }
|
2159
|
-
#
|
2160
1953
|
# @!attribute [rw] max_results
|
2161
1954
|
# @return [Integer]
|
2162
1955
|
#
|
@@ -2219,15 +2012,6 @@ module Aws::MQ
|
|
2219
2012
|
include Aws::Structure
|
2220
2013
|
end
|
2221
2014
|
|
2222
|
-
# @note When making an API call, you may pass ListConfigurationRevisionsRequest
|
2223
|
-
# data as a hash:
|
2224
|
-
#
|
2225
|
-
# {
|
2226
|
-
# configuration_id: "__string", # required
|
2227
|
-
# max_results: 1,
|
2228
|
-
# next_token: "__string",
|
2229
|
-
# }
|
2230
|
-
#
|
2231
2015
|
# @!attribute [rw] configuration_id
|
2232
2016
|
# @return [String]
|
2233
2017
|
#
|
@@ -2296,14 +2080,6 @@ module Aws::MQ
|
|
2296
2080
|
include Aws::Structure
|
2297
2081
|
end
|
2298
2082
|
|
2299
|
-
# @note When making an API call, you may pass ListConfigurationsRequest
|
2300
|
-
# data as a hash:
|
2301
|
-
#
|
2302
|
-
# {
|
2303
|
-
# max_results: 1,
|
2304
|
-
# next_token: "__string",
|
2305
|
-
# }
|
2306
|
-
#
|
2307
2083
|
# @!attribute [rw] max_results
|
2308
2084
|
# @return [Integer]
|
2309
2085
|
#
|
@@ -2338,13 +2114,6 @@ module Aws::MQ
|
|
2338
2114
|
include Aws::Structure
|
2339
2115
|
end
|
2340
2116
|
|
2341
|
-
# @note When making an API call, you may pass ListTagsRequest
|
2342
|
-
# data as a hash:
|
2343
|
-
#
|
2344
|
-
# {
|
2345
|
-
# resource_arn: "__string", # required
|
2346
|
-
# }
|
2347
|
-
#
|
2348
2117
|
# @!attribute [rw] resource_arn
|
2349
2118
|
# @return [String]
|
2350
2119
|
#
|
@@ -2400,15 +2169,6 @@ module Aws::MQ
|
|
2400
2169
|
include Aws::Structure
|
2401
2170
|
end
|
2402
2171
|
|
2403
|
-
# @note When making an API call, you may pass ListUsersRequest
|
2404
|
-
# data as a hash:
|
2405
|
-
#
|
2406
|
-
# {
|
2407
|
-
# broker_id: "__string", # required
|
2408
|
-
# max_results: 1,
|
2409
|
-
# next_token: "__string",
|
2410
|
-
# }
|
2411
|
-
#
|
2412
2172
|
# @!attribute [rw] broker_id
|
2413
2173
|
# @return [String]
|
2414
2174
|
#
|
@@ -2454,14 +2214,6 @@ module Aws::MQ
|
|
2454
2214
|
# The list of information about logs to be enabled for the specified
|
2455
2215
|
# broker.
|
2456
2216
|
#
|
2457
|
-
# @note When making an API call, you may pass Logs
|
2458
|
-
# data as a hash:
|
2459
|
-
#
|
2460
|
-
# {
|
2461
|
-
# audit: false,
|
2462
|
-
# general: false,
|
2463
|
-
# }
|
2464
|
-
#
|
2465
2217
|
# @!attribute [rw] audit
|
2466
2218
|
# Enables audit logging. Every user management action made using JMX
|
2467
2219
|
# or the ActiveMQ Web Console is logged. Does not apply to RabbitMQ
|
@@ -2558,13 +2310,6 @@ module Aws::MQ
|
|
2558
2310
|
include Aws::Structure
|
2559
2311
|
end
|
2560
2312
|
|
2561
|
-
# @note When making an API call, you may pass RebootBrokerRequest
|
2562
|
-
# data as a hash:
|
2563
|
-
#
|
2564
|
-
# {
|
2565
|
-
# broker_id: "__string", # required
|
2566
|
-
# }
|
2567
|
-
#
|
2568
2313
|
# @!attribute [rw] broker_id
|
2569
2314
|
# @return [String]
|
2570
2315
|
#
|
@@ -2784,44 +2529,6 @@ module Aws::MQ
|
|
2784
2529
|
include Aws::Structure
|
2785
2530
|
end
|
2786
2531
|
|
2787
|
-
# @note When making an API call, you may pass UpdateBrokerRequest
|
2788
|
-
# data as a hash:
|
2789
|
-
#
|
2790
|
-
# {
|
2791
|
-
# authentication_strategy: "SIMPLE", # accepts SIMPLE, LDAP
|
2792
|
-
# auto_minor_version_upgrade: false,
|
2793
|
-
# broker_id: "__string", # required
|
2794
|
-
# configuration: {
|
2795
|
-
# id: "__string", # required
|
2796
|
-
# revision: 1,
|
2797
|
-
# },
|
2798
|
-
# engine_version: "__string",
|
2799
|
-
# host_instance_type: "__string",
|
2800
|
-
# ldap_server_metadata: {
|
2801
|
-
# hosts: ["__string"], # required
|
2802
|
-
# role_base: "__string", # required
|
2803
|
-
# role_name: "__string",
|
2804
|
-
# role_search_matching: "__string", # required
|
2805
|
-
# role_search_subtree: false,
|
2806
|
-
# service_account_password: "__string", # required
|
2807
|
-
# service_account_username: "__string", # required
|
2808
|
-
# user_base: "__string", # required
|
2809
|
-
# user_role_name: "__string",
|
2810
|
-
# user_search_matching: "__string", # required
|
2811
|
-
# user_search_subtree: false,
|
2812
|
-
# },
|
2813
|
-
# logs: {
|
2814
|
-
# audit: false,
|
2815
|
-
# general: false,
|
2816
|
-
# },
|
2817
|
-
# maintenance_window_start_time: {
|
2818
|
-
# day_of_week: "MONDAY", # required, accepts MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
|
2819
|
-
# time_of_day: "__string", # required
|
2820
|
-
# time_zone: "__string",
|
2821
|
-
# },
|
2822
|
-
# security_groups: ["__string"],
|
2823
|
-
# }
|
2824
|
-
#
|
2825
2532
|
# @!attribute [rw] authentication_strategy
|
2826
2533
|
# Optional. The authentication strategy used to secure the broker. The
|
2827
2534
|
# default is SIMPLE.
|
@@ -3002,15 +2709,6 @@ module Aws::MQ
|
|
3002
2709
|
include Aws::Structure
|
3003
2710
|
end
|
3004
2711
|
|
3005
|
-
# @note When making an API call, you may pass UpdateConfigurationRequest
|
3006
|
-
# data as a hash:
|
3007
|
-
#
|
3008
|
-
# {
|
3009
|
-
# configuration_id: "__string", # required
|
3010
|
-
# data: "__string", # required
|
3011
|
-
# description: "__string",
|
3012
|
-
# }
|
3013
|
-
#
|
3014
2712
|
# @!attribute [rw] configuration_id
|
3015
2713
|
# @return [String]
|
3016
2714
|
#
|
@@ -3092,17 +2790,6 @@ module Aws::MQ
|
|
3092
2790
|
include Aws::Structure
|
3093
2791
|
end
|
3094
2792
|
|
3095
|
-
# @note When making an API call, you may pass UpdateUserRequest
|
3096
|
-
# data as a hash:
|
3097
|
-
#
|
3098
|
-
# {
|
3099
|
-
# broker_id: "__string", # required
|
3100
|
-
# console_access: false,
|
3101
|
-
# groups: ["__string"],
|
3102
|
-
# password: "__string",
|
3103
|
-
# username: "__string", # required
|
3104
|
-
# }
|
3105
|
-
#
|
3106
2793
|
# @!attribute [rw] broker_id
|
3107
2794
|
# @return [String]
|
3108
2795
|
#
|
@@ -3140,16 +2827,6 @@ module Aws::MQ
|
|
3140
2827
|
# RabbitMQ API calls directly to brokers or via the RabbitMQ web
|
3141
2828
|
# console.
|
3142
2829
|
#
|
3143
|
-
# @note When making an API call, you may pass User
|
3144
|
-
# data as a hash:
|
3145
|
-
#
|
3146
|
-
# {
|
3147
|
-
# console_access: false,
|
3148
|
-
# groups: ["__string"],
|
3149
|
-
# password: "__string", # required
|
3150
|
-
# username: "__string", # required
|
3151
|
-
# }
|
3152
|
-
#
|
3153
2830
|
# @!attribute [rw] console_access
|
3154
2831
|
# Enables access to the ActiveMQ Web Console for the ActiveMQ user.
|
3155
2832
|
# Does not apply to RabbitMQ brokers.
|
@@ -3249,15 +2926,6 @@ module Aws::MQ
|
|
3249
2926
|
# The scheduled time period relative to UTC during which Amazon MQ
|
3250
2927
|
# begins to apply pending updates or patches to the broker.
|
3251
2928
|
#
|
3252
|
-
# @note When making an API call, you may pass WeeklyStartTime
|
3253
|
-
# data as a hash:
|
3254
|
-
#
|
3255
|
-
# {
|
3256
|
-
# day_of_week: "MONDAY", # required, accepts MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY
|
3257
|
-
# time_of_day: "__string", # required
|
3258
|
-
# time_zone: "__string",
|
3259
|
-
# }
|
3260
|
-
#
|
3261
2929
|
# @!attribute [rw] day_of_week
|
3262
2930
|
# Required. The day of the week.
|
3263
2931
|
# @return [String]
|
data/lib/aws-sdk-mq.rb
CHANGED
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-mq/types'
|
15
15
|
require_relative 'aws-sdk-mq/client_api'
|
16
|
+
require_relative 'aws-sdk-mq/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-mq/client'
|
17
18
|
require_relative 'aws-sdk-mq/errors'
|
18
19
|
require_relative 'aws-sdk-mq/resource'
|
20
|
+
require_relative 'aws-sdk-mq/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-mq/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-mq/endpoints'
|
19
23
|
require_relative 'aws-sdk-mq/customizations'
|
20
24
|
|
21
25
|
# This module provides support for AmazonMQ. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-mq/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::MQ
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.49.0'
|
52
56
|
|
53
57
|
end
|
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.
|
4
|
+
version: 1.49.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:
|
11
|
+
date: 2023-01-18 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.
|
22
|
+
version: 3.165.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.
|
32
|
+
version: 3.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-mq/client.rb
|
60
60
|
- lib/aws-sdk-mq/client_api.rb
|
61
61
|
- lib/aws-sdk-mq/customizations.rb
|
62
|
+
- lib/aws-sdk-mq/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-mq/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-mq/endpoints.rb
|
62
65
|
- lib/aws-sdk-mq/errors.rb
|
66
|
+
- lib/aws-sdk-mq/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-mq/resource.rb
|
64
68
|
- lib/aws-sdk-mq/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|