aws-sdk-mq 1.15.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-mq.rb +1 -1
- data/lib/aws-sdk-mq/client.rb +1 -1
- data/lib/aws-sdk-mq/client_api.rb +24 -0
- data/lib/aws-sdk-mq/errors.rb +126 -0
- data/lib/aws-sdk-mq/types.rb +96 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 848ebd4700f1581c9c9dcefe918db032da95d1e2
|
4
|
+
data.tar.gz: 8ca71d036ffc0bd77dc8abdd7d2dad3c201eec5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 757d80dd22205d8d9c1352b9a74d76949a27097f3a22851bc70407fcc5f99083f77adad0d0d61827912f2797f7c50cf4ae47ef0ee9b502a2ebadb45b449bb1c2
|
7
|
+
data.tar.gz: 9e6ee9e7c286d0d04a78b184208aff9a6449abd4f7db336276b2242cf361cde3cf930c0c1e6166bd22f0983898ac00a7e183cede6bbe4ecb6734f4a17152f90e
|
data/lib/aws-sdk-mq.rb
CHANGED
data/lib/aws-sdk-mq/client.rb
CHANGED
@@ -132,6 +132,10 @@ module Aws::MQ
|
|
132
132
|
AvailabilityZone.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
133
133
|
AvailabilityZone.struct_class = Types::AvailabilityZone
|
134
134
|
|
135
|
+
BadRequestException.add_member(:error_attribute, Shapes::ShapeRef.new(shape: __string, location_name: "errorAttribute"))
|
136
|
+
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
137
|
+
BadRequestException.struct_class = Types::BadRequestException
|
138
|
+
|
135
139
|
BrokerEngineType.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
|
136
140
|
BrokerEngineType.add_member(:engine_versions, Shapes::ShapeRef.new(shape: __listOfEngineVersion, location_name: "engineVersions"))
|
137
141
|
BrokerEngineType.struct_class = Types::BrokerEngineType
|
@@ -191,6 +195,10 @@ module Aws::MQ
|
|
191
195
|
Configurations.add_member(:pending, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "pending"))
|
192
196
|
Configurations.struct_class = Types::Configurations
|
193
197
|
|
198
|
+
ConflictException.add_member(:error_attribute, Shapes::ShapeRef.new(shape: __string, location_name: "errorAttribute"))
|
199
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
200
|
+
ConflictException.struct_class = Types::ConflictException
|
201
|
+
|
194
202
|
CreateBrokerInput.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: __boolean, location_name: "autoMinorVersionUpgrade"))
|
195
203
|
CreateBrokerInput.add_member(:broker_name, Shapes::ShapeRef.new(shape: __string, location_name: "brokerName"))
|
196
204
|
CreateBrokerInput.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configuration"))
|
@@ -419,6 +427,14 @@ module Aws::MQ
|
|
419
427
|
Error.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
420
428
|
Error.struct_class = Types::Error
|
421
429
|
|
430
|
+
ForbiddenException.add_member(:error_attribute, Shapes::ShapeRef.new(shape: __string, location_name: "errorAttribute"))
|
431
|
+
ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
432
|
+
ForbiddenException.struct_class = Types::ForbiddenException
|
433
|
+
|
434
|
+
InternalServerErrorException.add_member(:error_attribute, Shapes::ShapeRef.new(shape: __string, location_name: "errorAttribute"))
|
435
|
+
InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
436
|
+
InternalServerErrorException.struct_class = Types::InternalServerErrorException
|
437
|
+
|
422
438
|
ListBrokersOutput.add_member(:broker_summaries, Shapes::ShapeRef.new(shape: __listOfBrokerSummary, location_name: "brokerSummaries"))
|
423
439
|
ListBrokersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
424
440
|
ListBrokersOutput.struct_class = Types::ListBrokersOutput
|
@@ -496,6 +512,10 @@ module Aws::MQ
|
|
496
512
|
LogsSummary.add_member(:pending, Shapes::ShapeRef.new(shape: PendingLogs, location_name: "pending"))
|
497
513
|
LogsSummary.struct_class = Types::LogsSummary
|
498
514
|
|
515
|
+
NotFoundException.add_member(:error_attribute, Shapes::ShapeRef.new(shape: __string, location_name: "errorAttribute"))
|
516
|
+
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
517
|
+
NotFoundException.struct_class = Types::NotFoundException
|
518
|
+
|
499
519
|
PendingLogs.add_member(:audit, Shapes::ShapeRef.new(shape: __boolean, location_name: "audit"))
|
500
520
|
PendingLogs.add_member(:general, Shapes::ShapeRef.new(shape: __boolean, location_name: "general"))
|
501
521
|
PendingLogs.struct_class = Types::PendingLogs
|
@@ -513,6 +533,10 @@ module Aws::MQ
|
|
513
533
|
Tags.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
514
534
|
Tags.struct_class = Types::Tags
|
515
535
|
|
536
|
+
UnauthorizedException.add_member(:error_attribute, Shapes::ShapeRef.new(shape: __string, location_name: "errorAttribute"))
|
537
|
+
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
538
|
+
UnauthorizedException.struct_class = Types::UnauthorizedException
|
539
|
+
|
516
540
|
UpdateBrokerInput.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: __boolean, location_name: "autoMinorVersionUpgrade"))
|
517
541
|
UpdateBrokerInput.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configuration"))
|
518
542
|
UpdateBrokerInput.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
|
data/lib/aws-sdk-mq/errors.rb
CHANGED
@@ -10,5 +10,131 @@ module Aws::MQ
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class BadRequestException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::MQ::Types::BadRequestException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def error_attribute
|
24
|
+
@data[:error_attribute]
|
25
|
+
end
|
26
|
+
|
27
|
+
# @return [String]
|
28
|
+
def message
|
29
|
+
@message || @data[:message]
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
33
|
+
|
34
|
+
class ConflictException < ServiceError
|
35
|
+
|
36
|
+
# @param [Seahorse::Client::RequestContext] context
|
37
|
+
# @param [String] message
|
38
|
+
# @param [Aws::MQ::Types::ConflictException] data
|
39
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
40
|
+
super(context, message, data)
|
41
|
+
end
|
42
|
+
|
43
|
+
# @return [String]
|
44
|
+
def error_attribute
|
45
|
+
@data[:error_attribute]
|
46
|
+
end
|
47
|
+
|
48
|
+
# @return [String]
|
49
|
+
def message
|
50
|
+
@message || @data[:message]
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
54
|
+
|
55
|
+
class ForbiddenException < ServiceError
|
56
|
+
|
57
|
+
# @param [Seahorse::Client::RequestContext] context
|
58
|
+
# @param [String] message
|
59
|
+
# @param [Aws::MQ::Types::ForbiddenException] data
|
60
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
61
|
+
super(context, message, data)
|
62
|
+
end
|
63
|
+
|
64
|
+
# @return [String]
|
65
|
+
def error_attribute
|
66
|
+
@data[:error_attribute]
|
67
|
+
end
|
68
|
+
|
69
|
+
# @return [String]
|
70
|
+
def message
|
71
|
+
@message || @data[:message]
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
75
|
+
|
76
|
+
class InternalServerErrorException < ServiceError
|
77
|
+
|
78
|
+
# @param [Seahorse::Client::RequestContext] context
|
79
|
+
# @param [String] message
|
80
|
+
# @param [Aws::MQ::Types::InternalServerErrorException] data
|
81
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
82
|
+
super(context, message, data)
|
83
|
+
end
|
84
|
+
|
85
|
+
# @return [String]
|
86
|
+
def error_attribute
|
87
|
+
@data[:error_attribute]
|
88
|
+
end
|
89
|
+
|
90
|
+
# @return [String]
|
91
|
+
def message
|
92
|
+
@message || @data[:message]
|
93
|
+
end
|
94
|
+
|
95
|
+
end
|
96
|
+
|
97
|
+
class NotFoundException < ServiceError
|
98
|
+
|
99
|
+
# @param [Seahorse::Client::RequestContext] context
|
100
|
+
# @param [String] message
|
101
|
+
# @param [Aws::MQ::Types::NotFoundException] data
|
102
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
103
|
+
super(context, message, data)
|
104
|
+
end
|
105
|
+
|
106
|
+
# @return [String]
|
107
|
+
def error_attribute
|
108
|
+
@data[:error_attribute]
|
109
|
+
end
|
110
|
+
|
111
|
+
# @return [String]
|
112
|
+
def message
|
113
|
+
@message || @data[:message]
|
114
|
+
end
|
115
|
+
|
116
|
+
end
|
117
|
+
|
118
|
+
class UnauthorizedException < ServiceError
|
119
|
+
|
120
|
+
# @param [Seahorse::Client::RequestContext] context
|
121
|
+
# @param [String] message
|
122
|
+
# @param [Aws::MQ::Types::UnauthorizedException] data
|
123
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
124
|
+
super(context, message, data)
|
125
|
+
end
|
126
|
+
|
127
|
+
# @return [String]
|
128
|
+
def error_attribute
|
129
|
+
@data[:error_attribute]
|
130
|
+
end
|
131
|
+
|
132
|
+
# @return [String]
|
133
|
+
def message
|
134
|
+
@message || @data[:message]
|
135
|
+
end
|
136
|
+
|
137
|
+
end
|
138
|
+
|
13
139
|
end
|
14
140
|
end
|
data/lib/aws-sdk-mq/types.rb
CHANGED
@@ -21,6 +21,22 @@ module Aws::MQ
|
|
21
21
|
include Aws::Structure
|
22
22
|
end
|
23
23
|
|
24
|
+
# Returns information about an error.
|
25
|
+
#
|
26
|
+
# @!attribute [rw] error_attribute
|
27
|
+
# @return [String]
|
28
|
+
#
|
29
|
+
# @!attribute [rw] message
|
30
|
+
# @return [String]
|
31
|
+
#
|
32
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/BadRequestException AWS API Documentation
|
33
|
+
#
|
34
|
+
class BadRequestException < Struct.new(
|
35
|
+
:error_attribute,
|
36
|
+
:message)
|
37
|
+
include Aws::Structure
|
38
|
+
end
|
39
|
+
|
24
40
|
# Types of broker engines.
|
25
41
|
#
|
26
42
|
# @!attribute [rw] engine_type
|
@@ -321,6 +337,22 @@ module Aws::MQ
|
|
321
337
|
include Aws::Structure
|
322
338
|
end
|
323
339
|
|
340
|
+
# Returns information about an error.
|
341
|
+
#
|
342
|
+
# @!attribute [rw] error_attribute
|
343
|
+
# @return [String]
|
344
|
+
#
|
345
|
+
# @!attribute [rw] message
|
346
|
+
# @return [String]
|
347
|
+
#
|
348
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ConflictException AWS API Documentation
|
349
|
+
#
|
350
|
+
class ConflictException < Struct.new(
|
351
|
+
:error_attribute,
|
352
|
+
:message)
|
353
|
+
include Aws::Structure
|
354
|
+
end
|
355
|
+
|
324
356
|
# Required. The time period during which Amazon MQ applies pending
|
325
357
|
# updates or patches to the broker.
|
326
358
|
#
|
@@ -1479,6 +1511,38 @@ module Aws::MQ
|
|
1479
1511
|
include Aws::Structure
|
1480
1512
|
end
|
1481
1513
|
|
1514
|
+
# Returns information about an error.
|
1515
|
+
#
|
1516
|
+
# @!attribute [rw] error_attribute
|
1517
|
+
# @return [String]
|
1518
|
+
#
|
1519
|
+
# @!attribute [rw] message
|
1520
|
+
# @return [String]
|
1521
|
+
#
|
1522
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ForbiddenException AWS API Documentation
|
1523
|
+
#
|
1524
|
+
class ForbiddenException < Struct.new(
|
1525
|
+
:error_attribute,
|
1526
|
+
:message)
|
1527
|
+
include Aws::Structure
|
1528
|
+
end
|
1529
|
+
|
1530
|
+
# Returns information about an error.
|
1531
|
+
#
|
1532
|
+
# @!attribute [rw] error_attribute
|
1533
|
+
# @return [String]
|
1534
|
+
#
|
1535
|
+
# @!attribute [rw] message
|
1536
|
+
# @return [String]
|
1537
|
+
#
|
1538
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/InternalServerErrorException AWS API Documentation
|
1539
|
+
#
|
1540
|
+
class InternalServerErrorException < Struct.new(
|
1541
|
+
:error_attribute,
|
1542
|
+
:message)
|
1543
|
+
include Aws::Structure
|
1544
|
+
end
|
1545
|
+
|
1482
1546
|
# A list of information about all brokers.
|
1483
1547
|
#
|
1484
1548
|
# @!attribute [rw] broker_summaries
|
@@ -1853,6 +1917,22 @@ module Aws::MQ
|
|
1853
1917
|
include Aws::Structure
|
1854
1918
|
end
|
1855
1919
|
|
1920
|
+
# Returns information about an error.
|
1921
|
+
#
|
1922
|
+
# @!attribute [rw] error_attribute
|
1923
|
+
# @return [String]
|
1924
|
+
#
|
1925
|
+
# @!attribute [rw] message
|
1926
|
+
# @return [String]
|
1927
|
+
#
|
1928
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/NotFoundException AWS API Documentation
|
1929
|
+
#
|
1930
|
+
class NotFoundException < Struct.new(
|
1931
|
+
:error_attribute,
|
1932
|
+
:message)
|
1933
|
+
include Aws::Structure
|
1934
|
+
end
|
1935
|
+
|
1856
1936
|
# The list of information about logs to be enabled for the specified
|
1857
1937
|
# broker.
|
1858
1938
|
#
|
@@ -1932,6 +2012,22 @@ module Aws::MQ
|
|
1932
2012
|
include Aws::Structure
|
1933
2013
|
end
|
1934
2014
|
|
2015
|
+
# Returns information about an error.
|
2016
|
+
#
|
2017
|
+
# @!attribute [rw] error_attribute
|
2018
|
+
# @return [String]
|
2019
|
+
#
|
2020
|
+
# @!attribute [rw] message
|
2021
|
+
# @return [String]
|
2022
|
+
#
|
2023
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UnauthorizedException AWS API Documentation
|
2024
|
+
#
|
2025
|
+
class UnauthorizedException < Struct.new(
|
2026
|
+
:error_attribute,
|
2027
|
+
:message)
|
2028
|
+
include Aws::Structure
|
2029
|
+
end
|
2030
|
+
|
1935
2031
|
# Updates the broker using the specified properties.
|
1936
2032
|
#
|
1937
2033
|
# @!attribute [rw] auto_minor_version_upgrade
|
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.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.53.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|