aws-sdk-mq 1.97.0 → 1.98.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-mq/client.rb +53 -1
- data/lib/aws-sdk-mq/client_api.rb +74 -0
- data/lib/aws-sdk-mq/errors.rb +30 -0
- data/lib/aws-sdk-mq/types.rb +191 -7
- data/lib/aws-sdk-mq.rb +1 -1
- data/sig/client.rbs +15 -0
- data/sig/errors.rbs +6 -0
- data/sig/types.rbs +53 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 895f577e756807cbfd920d690f892914510931d9585a2153f5b4b77f546b0a23
|
|
4
|
+
data.tar.gz: 1c52aea085a260a0d28bf503f93b75b70823ca84455be44c9dde79cdbc4485cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f45194f4c7938cbec5b9397b6da2b8014b0d39f5cc00028d141451facfda2823c3be33c2b47db4016c5fe0675fcb3d5ac7f521306f47a8fa36e82d2a39baf379
|
|
7
|
+
data.tar.gz: 8fe7bbb479e95bc86400ab9cc7a3ae58298506f0495dbbcdf51c2eca7a947fb4769f93b8e3f049d8ce1044bbf7fd370c45fa14b00263156e7ec858cf6a1a48a9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.98.0 (2026-06-17)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds private networking support for Amazon MQ for RabbitMQ. You can now associate AWS RAM resource shares with your broker and retrieve shared resource details using the new DescribeSharedResources API.
|
|
8
|
+
|
|
4
9
|
1.97.0 (2026-06-04)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.98.0
|
data/lib/aws-sdk-mq/client.rb
CHANGED
|
@@ -1206,6 +1206,52 @@ module Aws::MQ
|
|
|
1206
1206
|
req.send_request(options)
|
|
1207
1207
|
end
|
|
1208
1208
|
|
|
1209
|
+
# Returns the resources shared to a broker.
|
|
1210
|
+
#
|
|
1211
|
+
# @option params [required, String] :broker_id
|
|
1212
|
+
#
|
|
1213
|
+
# @option params [Integer] :max_results
|
|
1214
|
+
#
|
|
1215
|
+
# @option params [String] :next_token
|
|
1216
|
+
#
|
|
1217
|
+
# @return [Types::DescribeSharedResourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1218
|
+
#
|
|
1219
|
+
# * {Types::DescribeSharedResourcesResponse#next_token #next_token} => String
|
|
1220
|
+
# * {Types::DescribeSharedResourcesResponse#shared_resources #shared_resources} => Array<Types::SharedResource>
|
|
1221
|
+
#
|
|
1222
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
1223
|
+
#
|
|
1224
|
+
# @example Request syntax with placeholder values
|
|
1225
|
+
#
|
|
1226
|
+
# resp = client.describe_shared_resources({
|
|
1227
|
+
# broker_id: "__string", # required
|
|
1228
|
+
# max_results: 1,
|
|
1229
|
+
# next_token: "__string",
|
|
1230
|
+
# })
|
|
1231
|
+
#
|
|
1232
|
+
# @example Response structure
|
|
1233
|
+
#
|
|
1234
|
+
# resp.next_token #=> String
|
|
1235
|
+
# resp.shared_resources #=> Array
|
|
1236
|
+
# resp.shared_resources[0].dns_names #=> Array
|
|
1237
|
+
# resp.shared_resources[0].dns_names[0] #=> String
|
|
1238
|
+
# resp.shared_resources[0].error.code #=> String, one of "QUOTA_EXCEEDED", "SHARE_NOT_FOUND", "INVITE_FAILED", "SETUP_INCOMPLETE", "INTERNAL_ERROR", "AZ_MISMATCH", "RESOURCE_CONFIGURATION_NOT_FOUND"
|
|
1239
|
+
# resp.shared_resources[0].error.message #=> String
|
|
1240
|
+
# resp.shared_resources[0].resource_arn #=> String
|
|
1241
|
+
# resp.shared_resources[0].resource_share_arns #=> Array
|
|
1242
|
+
# resp.shared_resources[0].resource_share_arns[0] #=> String
|
|
1243
|
+
# resp.shared_resources[0].status #=> String, one of "AVAILABLE", "SETUP_IN_PROGRESS", "DELETION_IN_PROGRESS", "PENDING_CREATE", "PENDING_DELETE", "ERROR"
|
|
1244
|
+
# resp.shared_resources[0].type #=> String, one of "RESOURCE_SHARE", "RESOURCE"
|
|
1245
|
+
#
|
|
1246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeSharedResources AWS API Documentation
|
|
1247
|
+
#
|
|
1248
|
+
# @overload describe_shared_resources(params = {})
|
|
1249
|
+
# @param [Hash] params ({})
|
|
1250
|
+
def describe_shared_resources(params = {}, options = {})
|
|
1251
|
+
req = build_request(:describe_shared_resources, params)
|
|
1252
|
+
req.send_request(options)
|
|
1253
|
+
end
|
|
1254
|
+
|
|
1209
1255
|
# Returns information about an ActiveMQ user.
|
|
1210
1256
|
#
|
|
1211
1257
|
# @option params [required, String] :broker_id
|
|
@@ -1533,6 +1579,8 @@ module Aws::MQ
|
|
|
1533
1579
|
# The scheduled time period relative to UTC during which Amazon MQ
|
|
1534
1580
|
# begins to apply pending updates or patches to the broker.
|
|
1535
1581
|
#
|
|
1582
|
+
# @option params [Array<String>] :resource_share_arns
|
|
1583
|
+
#
|
|
1536
1584
|
# @option params [Array<String>] :security_groups
|
|
1537
1585
|
#
|
|
1538
1586
|
# @option params [String] :data_replication_mode
|
|
@@ -1549,6 +1597,7 @@ module Aws::MQ
|
|
|
1549
1597
|
# * {Types::UpdateBrokerResponse#ldap_server_metadata #ldap_server_metadata} => Types::LdapServerMetadataOutput
|
|
1550
1598
|
# * {Types::UpdateBrokerResponse#logs #logs} => Types::Logs
|
|
1551
1599
|
# * {Types::UpdateBrokerResponse#maintenance_window_start_time #maintenance_window_start_time} => Types::WeeklyStartTime
|
|
1600
|
+
# * {Types::UpdateBrokerResponse#resource_share_arns #resource_share_arns} => Array<String>
|
|
1552
1601
|
# * {Types::UpdateBrokerResponse#security_groups #security_groups} => Array<String>
|
|
1553
1602
|
# * {Types::UpdateBrokerResponse#data_replication_metadata #data_replication_metadata} => Types::DataReplicationMetadataOutput
|
|
1554
1603
|
# * {Types::UpdateBrokerResponse#data_replication_mode #data_replication_mode} => String
|
|
@@ -1589,6 +1638,7 @@ module Aws::MQ
|
|
|
1589
1638
|
# time_of_day: "__string", # required
|
|
1590
1639
|
# time_zone: "__string",
|
|
1591
1640
|
# },
|
|
1641
|
+
# resource_share_arns: ["__string"],
|
|
1592
1642
|
# security_groups: ["__string"],
|
|
1593
1643
|
# data_replication_mode: "NONE", # accepts NONE, CRDR
|
|
1594
1644
|
# })
|
|
@@ -1618,6 +1668,8 @@ module Aws::MQ
|
|
|
1618
1668
|
# resp.maintenance_window_start_time.day_of_week #=> String, one of "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"
|
|
1619
1669
|
# resp.maintenance_window_start_time.time_of_day #=> String
|
|
1620
1670
|
# resp.maintenance_window_start_time.time_zone #=> String
|
|
1671
|
+
# resp.resource_share_arns #=> Array
|
|
1672
|
+
# resp.resource_share_arns[0] #=> String
|
|
1621
1673
|
# resp.security_groups #=> Array
|
|
1622
1674
|
# resp.security_groups[0] #=> String
|
|
1623
1675
|
# resp.data_replication_metadata.data_replication_counterpart.broker_id #=> String
|
|
@@ -1740,7 +1792,7 @@ module Aws::MQ
|
|
|
1740
1792
|
tracer: tracer
|
|
1741
1793
|
)
|
|
1742
1794
|
context[:gem_name] = 'aws-sdk-mq'
|
|
1743
|
-
context[:gem_version] = '1.
|
|
1795
|
+
context[:gem_version] = '1.98.0'
|
|
1744
1796
|
Seahorse::Client::Request.new(handlers, context)
|
|
1745
1797
|
end
|
|
1746
1798
|
|
|
@@ -70,6 +70,9 @@ module Aws::MQ
|
|
|
70
70
|
DescribeConfigurationRevisionOutput = Shapes::StructureShape.new(name: 'DescribeConfigurationRevisionOutput')
|
|
71
71
|
DescribeConfigurationRevisionRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationRevisionRequest')
|
|
72
72
|
DescribeConfigurationRevisionResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationRevisionResponse')
|
|
73
|
+
DescribeSharedResourcesOutput = Shapes::StructureShape.new(name: 'DescribeSharedResourcesOutput')
|
|
74
|
+
DescribeSharedResourcesRequest = Shapes::StructureShape.new(name: 'DescribeSharedResourcesRequest')
|
|
75
|
+
DescribeSharedResourcesResponse = Shapes::StructureShape.new(name: 'DescribeSharedResourcesResponse')
|
|
73
76
|
DescribeUserOutput = Shapes::StructureShape.new(name: 'DescribeUserOutput')
|
|
74
77
|
DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
|
|
75
78
|
DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
|
|
@@ -107,8 +110,14 @@ module Aws::MQ
|
|
|
107
110
|
PromoteResponse = Shapes::StructureShape.new(name: 'PromoteResponse')
|
|
108
111
|
RebootBrokerRequest = Shapes::StructureShape.new(name: 'RebootBrokerRequest')
|
|
109
112
|
RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
|
|
113
|
+
ResourceShareError = Shapes::StructureShape.new(name: 'ResourceShareError')
|
|
110
114
|
SanitizationWarning = Shapes::StructureShape.new(name: 'SanitizationWarning')
|
|
111
115
|
SanitizationWarningReason = Shapes::StringShape.new(name: 'SanitizationWarningReason')
|
|
116
|
+
SharedResource = Shapes::StructureShape.new(name: 'SharedResource')
|
|
117
|
+
SharedResourceError = Shapes::StructureShape.new(name: 'SharedResourceError')
|
|
118
|
+
SharedResourceErrorCode = Shapes::StringShape.new(name: 'SharedResourceErrorCode')
|
|
119
|
+
SharedResourceStatus = Shapes::StringShape.new(name: 'SharedResourceStatus')
|
|
120
|
+
SharedResourceType = Shapes::StringShape.new(name: 'SharedResourceType')
|
|
112
121
|
Tags = Shapes::StructureShape.new(name: 'Tags')
|
|
113
122
|
UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
|
|
114
123
|
UpdateBrokerInput = Shapes::StructureShape.new(name: 'UpdateBrokerInput')
|
|
@@ -141,7 +150,9 @@ module Aws::MQ
|
|
|
141
150
|
__listOfConfigurationRevision = Shapes::ListShape.new(name: '__listOfConfigurationRevision')
|
|
142
151
|
__listOfDeploymentMode = Shapes::ListShape.new(name: '__listOfDeploymentMode')
|
|
143
152
|
__listOfEngineVersion = Shapes::ListShape.new(name: '__listOfEngineVersion')
|
|
153
|
+
__listOfResourceShareError = Shapes::ListShape.new(name: '__listOfResourceShareError')
|
|
144
154
|
__listOfSanitizationWarning = Shapes::ListShape.new(name: '__listOfSanitizationWarning')
|
|
155
|
+
__listOfSharedResource = Shapes::ListShape.new(name: '__listOfSharedResource')
|
|
145
156
|
__listOfUser = Shapes::ListShape.new(name: '__listOfUser')
|
|
146
157
|
__listOfUserSummary = Shapes::ListShape.new(name: '__listOfUserSummary')
|
|
147
158
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
|
@@ -160,6 +171,7 @@ module Aws::MQ
|
|
|
160
171
|
|
|
161
172
|
BadRequestException.add_member(:error_attribute, Shapes::ShapeRef.new(shape: __string, location_name: "errorAttribute"))
|
|
162
173
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
|
174
|
+
BadRequestException.add_member(:resource_share_errors, Shapes::ShapeRef.new(shape: __listOfResourceShareError, location_name: "resourceShareErrors"))
|
|
163
175
|
BadRequestException.struct_class = Types::BadRequestException
|
|
164
176
|
|
|
165
177
|
BrokerEngineType.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
|
|
@@ -227,6 +239,7 @@ module Aws::MQ
|
|
|
227
239
|
|
|
228
240
|
ConflictException.add_member(:error_attribute, Shapes::ShapeRef.new(shape: __string, location_name: "errorAttribute"))
|
|
229
241
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
|
242
|
+
ConflictException.add_member(:resource_share_errors, Shapes::ShapeRef.new(shape: __listOfResourceShareError, location_name: "resourceShareErrors"))
|
|
230
243
|
ConflictException.struct_class = Types::ConflictException
|
|
231
244
|
|
|
232
245
|
CreateBrokerInput.add_member(:authentication_strategy, Shapes::ShapeRef.new(shape: AuthenticationStrategy, location_name: "authenticationStrategy"))
|
|
@@ -495,6 +508,19 @@ module Aws::MQ
|
|
|
495
508
|
DescribeConfigurationRevisionResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
|
496
509
|
DescribeConfigurationRevisionResponse.struct_class = Types::DescribeConfigurationRevisionResponse
|
|
497
510
|
|
|
511
|
+
DescribeSharedResourcesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
|
512
|
+
DescribeSharedResourcesOutput.add_member(:shared_resources, Shapes::ShapeRef.new(shape: __listOfSharedResource, location_name: "sharedResources"))
|
|
513
|
+
DescribeSharedResourcesOutput.struct_class = Types::DescribeSharedResourcesOutput
|
|
514
|
+
|
|
515
|
+
DescribeSharedResourcesRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id"))
|
|
516
|
+
DescribeSharedResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
|
517
|
+
DescribeSharedResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
|
518
|
+
DescribeSharedResourcesRequest.struct_class = Types::DescribeSharedResourcesRequest
|
|
519
|
+
|
|
520
|
+
DescribeSharedResourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
|
521
|
+
DescribeSharedResourcesResponse.add_member(:shared_resources, Shapes::ShapeRef.new(shape: __listOfSharedResource, location_name: "sharedResources"))
|
|
522
|
+
DescribeSharedResourcesResponse.struct_class = Types::DescribeSharedResourcesResponse
|
|
523
|
+
|
|
498
524
|
DescribeUserOutput.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "brokerId"))
|
|
499
525
|
DescribeUserOutput.add_member(:console_access, Shapes::ShapeRef.new(shape: __boolean, location_name: "consoleAccess"))
|
|
500
526
|
DescribeUserOutput.add_member(:groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "groups"))
|
|
@@ -524,14 +550,17 @@ module Aws::MQ
|
|
|
524
550
|
|
|
525
551
|
Error.add_member(:error_attribute, Shapes::ShapeRef.new(shape: __string, location_name: "errorAttribute"))
|
|
526
552
|
Error.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
|
553
|
+
Error.add_member(:resource_share_errors, Shapes::ShapeRef.new(shape: __listOfResourceShareError, location_name: "resourceShareErrors"))
|
|
527
554
|
Error.struct_class = Types::Error
|
|
528
555
|
|
|
529
556
|
ForbiddenException.add_member(:error_attribute, Shapes::ShapeRef.new(shape: __string, location_name: "errorAttribute"))
|
|
530
557
|
ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
|
558
|
+
ForbiddenException.add_member(:resource_share_errors, Shapes::ShapeRef.new(shape: __listOfResourceShareError, location_name: "resourceShareErrors"))
|
|
531
559
|
ForbiddenException.struct_class = Types::ForbiddenException
|
|
532
560
|
|
|
533
561
|
InternalServerErrorException.add_member(:error_attribute, Shapes::ShapeRef.new(shape: __string, location_name: "errorAttribute"))
|
|
534
562
|
InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
|
563
|
+
InternalServerErrorException.add_member(:resource_share_errors, Shapes::ShapeRef.new(shape: __listOfResourceShareError, location_name: "resourceShareErrors"))
|
|
535
564
|
InternalServerErrorException.struct_class = Types::InternalServerErrorException
|
|
536
565
|
|
|
537
566
|
LdapServerMetadataInput.add_member(:hosts, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "hosts"))
|
|
@@ -638,6 +667,7 @@ module Aws::MQ
|
|
|
638
667
|
|
|
639
668
|
NotFoundException.add_member(:error_attribute, Shapes::ShapeRef.new(shape: __string, location_name: "errorAttribute"))
|
|
640
669
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
|
670
|
+
NotFoundException.add_member(:resource_share_errors, Shapes::ShapeRef.new(shape: __listOfResourceShareError, location_name: "resourceShareErrors"))
|
|
641
671
|
NotFoundException.struct_class = Types::NotFoundException
|
|
642
672
|
|
|
643
673
|
PendingLogs.add_member(:audit, Shapes::ShapeRef.new(shape: __boolean, location_name: "audit"))
|
|
@@ -662,16 +692,34 @@ module Aws::MQ
|
|
|
662
692
|
|
|
663
693
|
RebootBrokerResponse.struct_class = Types::RebootBrokerResponse
|
|
664
694
|
|
|
695
|
+
ResourceShareError.add_member(:error_code, Shapes::ShapeRef.new(shape: __string, location_name: "errorCode"))
|
|
696
|
+
ResourceShareError.add_member(:resource_share_arn, Shapes::ShapeRef.new(shape: __string, location_name: "resourceShareArn"))
|
|
697
|
+
ResourceShareError.add_member(:status, Shapes::ShapeRef.new(shape: __string, location_name: "status"))
|
|
698
|
+
ResourceShareError.struct_class = Types::ResourceShareError
|
|
699
|
+
|
|
665
700
|
SanitizationWarning.add_member(:attribute_name, Shapes::ShapeRef.new(shape: __string, location_name: "attributeName"))
|
|
666
701
|
SanitizationWarning.add_member(:element_name, Shapes::ShapeRef.new(shape: __string, location_name: "elementName"))
|
|
667
702
|
SanitizationWarning.add_member(:reason, Shapes::ShapeRef.new(shape: SanitizationWarningReason, required: true, location_name: "reason"))
|
|
668
703
|
SanitizationWarning.struct_class = Types::SanitizationWarning
|
|
669
704
|
|
|
705
|
+
SharedResource.add_member(:dns_names, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "dnsNames"))
|
|
706
|
+
SharedResource.add_member(:error, Shapes::ShapeRef.new(shape: SharedResourceError, location_name: "error"))
|
|
707
|
+
SharedResource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "resourceArn"))
|
|
708
|
+
SharedResource.add_member(:resource_share_arns, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "resourceShareArns"))
|
|
709
|
+
SharedResource.add_member(:status, Shapes::ShapeRef.new(shape: SharedResourceStatus, required: true, location_name: "status"))
|
|
710
|
+
SharedResource.add_member(:type, Shapes::ShapeRef.new(shape: SharedResourceType, required: true, location_name: "type"))
|
|
711
|
+
SharedResource.struct_class = Types::SharedResource
|
|
712
|
+
|
|
713
|
+
SharedResourceError.add_member(:code, Shapes::ShapeRef.new(shape: SharedResourceErrorCode, required: true, location_name: "code"))
|
|
714
|
+
SharedResourceError.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
|
|
715
|
+
SharedResourceError.struct_class = Types::SharedResourceError
|
|
716
|
+
|
|
670
717
|
Tags.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__string, location_name: "tags"))
|
|
671
718
|
Tags.struct_class = Types::Tags
|
|
672
719
|
|
|
673
720
|
UnauthorizedException.add_member(:error_attribute, Shapes::ShapeRef.new(shape: __string, location_name: "errorAttribute"))
|
|
674
721
|
UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
|
722
|
+
UnauthorizedException.add_member(:resource_share_errors, Shapes::ShapeRef.new(shape: __listOfResourceShareError, location_name: "resourceShareErrors"))
|
|
675
723
|
UnauthorizedException.struct_class = Types::UnauthorizedException
|
|
676
724
|
|
|
677
725
|
UpdateBrokerInput.add_member(:authentication_strategy, Shapes::ShapeRef.new(shape: AuthenticationStrategy, location_name: "authenticationStrategy"))
|
|
@@ -683,6 +731,7 @@ module Aws::MQ
|
|
|
683
731
|
UpdateBrokerInput.add_member(:ldap_server_metadata, Shapes::ShapeRef.new(shape: LdapServerMetadataInput, location_name: "ldapServerMetadata"))
|
|
684
732
|
UpdateBrokerInput.add_member(:logs, Shapes::ShapeRef.new(shape: Logs, location_name: "logs"))
|
|
685
733
|
UpdateBrokerInput.add_member(:maintenance_window_start_time, Shapes::ShapeRef.new(shape: WeeklyStartTime, location_name: "maintenanceWindowStartTime"))
|
|
734
|
+
UpdateBrokerInput.add_member(:resource_share_arns, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "resourceShareArns"))
|
|
686
735
|
UpdateBrokerInput.add_member(:security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroups"))
|
|
687
736
|
UpdateBrokerInput.struct_class = Types::UpdateBrokerInput
|
|
688
737
|
|
|
@@ -699,6 +748,7 @@ module Aws::MQ
|
|
|
699
748
|
UpdateBrokerOutput.add_member(:maintenance_window_start_time, Shapes::ShapeRef.new(shape: WeeklyStartTime, location_name: "maintenanceWindowStartTime"))
|
|
700
749
|
UpdateBrokerOutput.add_member(:pending_data_replication_metadata, Shapes::ShapeRef.new(shape: DataReplicationMetadataOutput, location_name: "pendingDataReplicationMetadata"))
|
|
701
750
|
UpdateBrokerOutput.add_member(:pending_data_replication_mode, Shapes::ShapeRef.new(shape: DataReplicationMode, location_name: "pendingDataReplicationMode"))
|
|
751
|
+
UpdateBrokerOutput.add_member(:resource_share_arns, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "resourceShareArns"))
|
|
702
752
|
UpdateBrokerOutput.add_member(:security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroups"))
|
|
703
753
|
UpdateBrokerOutput.struct_class = Types::UpdateBrokerOutput
|
|
704
754
|
|
|
@@ -711,6 +761,7 @@ module Aws::MQ
|
|
|
711
761
|
UpdateBrokerRequest.add_member(:ldap_server_metadata, Shapes::ShapeRef.new(shape: LdapServerMetadataInput, location_name: "ldapServerMetadata"))
|
|
712
762
|
UpdateBrokerRequest.add_member(:logs, Shapes::ShapeRef.new(shape: Logs, location_name: "logs"))
|
|
713
763
|
UpdateBrokerRequest.add_member(:maintenance_window_start_time, Shapes::ShapeRef.new(shape: WeeklyStartTime, location_name: "maintenanceWindowStartTime"))
|
|
764
|
+
UpdateBrokerRequest.add_member(:resource_share_arns, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "resourceShareArns"))
|
|
714
765
|
UpdateBrokerRequest.add_member(:security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroups"))
|
|
715
766
|
UpdateBrokerRequest.add_member(:data_replication_mode, Shapes::ShapeRef.new(shape: DataReplicationMode, location_name: "dataReplicationMode"))
|
|
716
767
|
UpdateBrokerRequest.struct_class = Types::UpdateBrokerRequest
|
|
@@ -724,6 +775,7 @@ module Aws::MQ
|
|
|
724
775
|
UpdateBrokerResponse.add_member(:ldap_server_metadata, Shapes::ShapeRef.new(shape: LdapServerMetadataOutput, location_name: "ldapServerMetadata"))
|
|
725
776
|
UpdateBrokerResponse.add_member(:logs, Shapes::ShapeRef.new(shape: Logs, location_name: "logs"))
|
|
726
777
|
UpdateBrokerResponse.add_member(:maintenance_window_start_time, Shapes::ShapeRef.new(shape: WeeklyStartTime, location_name: "maintenanceWindowStartTime"))
|
|
778
|
+
UpdateBrokerResponse.add_member(:resource_share_arns, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "resourceShareArns"))
|
|
727
779
|
UpdateBrokerResponse.add_member(:security_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "securityGroups"))
|
|
728
780
|
UpdateBrokerResponse.add_member(:data_replication_metadata, Shapes::ShapeRef.new(shape: DataReplicationMetadataOutput, location_name: "dataReplicationMetadata"))
|
|
729
781
|
UpdateBrokerResponse.add_member(:data_replication_mode, Shapes::ShapeRef.new(shape: DataReplicationMode, location_name: "dataReplicationMode"))
|
|
@@ -815,8 +867,12 @@ module Aws::MQ
|
|
|
815
867
|
|
|
816
868
|
__listOfEngineVersion.member = Shapes::ShapeRef.new(shape: EngineVersion)
|
|
817
869
|
|
|
870
|
+
__listOfResourceShareError.member = Shapes::ShapeRef.new(shape: ResourceShareError)
|
|
871
|
+
|
|
818
872
|
__listOfSanitizationWarning.member = Shapes::ShapeRef.new(shape: SanitizationWarning)
|
|
819
873
|
|
|
874
|
+
__listOfSharedResource.member = Shapes::ShapeRef.new(shape: SharedResource)
|
|
875
|
+
|
|
820
876
|
__listOfUser.member = Shapes::ShapeRef.new(shape: User)
|
|
821
877
|
|
|
822
878
|
__listOfUserSummary.member = Shapes::ShapeRef.new(shape: UserSummary)
|
|
@@ -1002,6 +1058,24 @@ module Aws::MQ
|
|
|
1002
1058
|
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
1003
1059
|
end)
|
|
1004
1060
|
|
|
1061
|
+
api.add_operation(:describe_shared_resources, Seahorse::Model::Operation.new.tap do |o|
|
|
1062
|
+
o.name = "DescribeSharedResources"
|
|
1063
|
+
o.http_method = "GET"
|
|
1064
|
+
o.http_request_uri = "/v1/brokers/{broker-id}/shared-resources"
|
|
1065
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeSharedResourcesRequest)
|
|
1066
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeSharedResourcesResponse)
|
|
1067
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
1068
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
1069
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
|
|
1070
|
+
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
|
|
1071
|
+
o[:pager] = Aws::Pager.new(
|
|
1072
|
+
limit_key: "max_results",
|
|
1073
|
+
tokens: {
|
|
1074
|
+
"next_token" => "next_token"
|
|
1075
|
+
}
|
|
1076
|
+
)
|
|
1077
|
+
end)
|
|
1078
|
+
|
|
1005
1079
|
api.add_operation(:describe_user, Seahorse::Model::Operation.new.tap do |o|
|
|
1006
1080
|
o.name = "DescribeUser"
|
|
1007
1081
|
o.http_method = "GET"
|
data/lib/aws-sdk-mq/errors.rb
CHANGED
|
@@ -58,6 +58,11 @@ module Aws::MQ
|
|
|
58
58
|
def message
|
|
59
59
|
@message || @data[:message]
|
|
60
60
|
end
|
|
61
|
+
|
|
62
|
+
# @return [String]
|
|
63
|
+
def resource_share_errors
|
|
64
|
+
@data[:resource_share_errors]
|
|
65
|
+
end
|
|
61
66
|
end
|
|
62
67
|
|
|
63
68
|
class ConflictException < ServiceError
|
|
@@ -78,6 +83,11 @@ module Aws::MQ
|
|
|
78
83
|
def message
|
|
79
84
|
@message || @data[:message]
|
|
80
85
|
end
|
|
86
|
+
|
|
87
|
+
# @return [String]
|
|
88
|
+
def resource_share_errors
|
|
89
|
+
@data[:resource_share_errors]
|
|
90
|
+
end
|
|
81
91
|
end
|
|
82
92
|
|
|
83
93
|
class ForbiddenException < ServiceError
|
|
@@ -98,6 +108,11 @@ module Aws::MQ
|
|
|
98
108
|
def message
|
|
99
109
|
@message || @data[:message]
|
|
100
110
|
end
|
|
111
|
+
|
|
112
|
+
# @return [String]
|
|
113
|
+
def resource_share_errors
|
|
114
|
+
@data[:resource_share_errors]
|
|
115
|
+
end
|
|
101
116
|
end
|
|
102
117
|
|
|
103
118
|
class InternalServerErrorException < ServiceError
|
|
@@ -118,6 +133,11 @@ module Aws::MQ
|
|
|
118
133
|
def message
|
|
119
134
|
@message || @data[:message]
|
|
120
135
|
end
|
|
136
|
+
|
|
137
|
+
# @return [String]
|
|
138
|
+
def resource_share_errors
|
|
139
|
+
@data[:resource_share_errors]
|
|
140
|
+
end
|
|
121
141
|
end
|
|
122
142
|
|
|
123
143
|
class NotFoundException < ServiceError
|
|
@@ -138,6 +158,11 @@ module Aws::MQ
|
|
|
138
158
|
def message
|
|
139
159
|
@message || @data[:message]
|
|
140
160
|
end
|
|
161
|
+
|
|
162
|
+
# @return [String]
|
|
163
|
+
def resource_share_errors
|
|
164
|
+
@data[:resource_share_errors]
|
|
165
|
+
end
|
|
141
166
|
end
|
|
142
167
|
|
|
143
168
|
class UnauthorizedException < ServiceError
|
|
@@ -158,6 +183,11 @@ module Aws::MQ
|
|
|
158
183
|
def message
|
|
159
184
|
@message || @data[:message]
|
|
160
185
|
end
|
|
186
|
+
|
|
187
|
+
# @return [String]
|
|
188
|
+
def resource_share_errors
|
|
189
|
+
@data[:resource_share_errors]
|
|
190
|
+
end
|
|
161
191
|
end
|
|
162
192
|
|
|
163
193
|
end
|
data/lib/aws-sdk-mq/types.rb
CHANGED
|
@@ -52,11 +52,15 @@ module Aws::MQ
|
|
|
52
52
|
# @!attribute [rw] message
|
|
53
53
|
# @return [String]
|
|
54
54
|
#
|
|
55
|
+
# @!attribute [rw] resource_share_errors
|
|
56
|
+
# @return [Array<Types::ResourceShareError>]
|
|
57
|
+
#
|
|
55
58
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/BadRequestException AWS API Documentation
|
|
56
59
|
#
|
|
57
60
|
class BadRequestException < Struct.new(
|
|
58
61
|
:error_attribute,
|
|
59
|
-
:message
|
|
62
|
+
:message,
|
|
63
|
+
:resource_share_errors)
|
|
60
64
|
SENSITIVE = []
|
|
61
65
|
include Aws::Structure
|
|
62
66
|
end
|
|
@@ -398,11 +402,15 @@ module Aws::MQ
|
|
|
398
402
|
# @!attribute [rw] message
|
|
399
403
|
# @return [String]
|
|
400
404
|
#
|
|
405
|
+
# @!attribute [rw] resource_share_errors
|
|
406
|
+
# @return [Array<Types::ResourceShareError>]
|
|
407
|
+
#
|
|
401
408
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ConflictException AWS API Documentation
|
|
402
409
|
#
|
|
403
410
|
class ConflictException < Struct.new(
|
|
404
411
|
:error_attribute,
|
|
405
|
-
:message
|
|
412
|
+
:message,
|
|
413
|
+
:resource_share_errors)
|
|
406
414
|
SENSITIVE = []
|
|
407
415
|
include Aws::Structure
|
|
408
416
|
end
|
|
@@ -1732,6 +1740,60 @@ module Aws::MQ
|
|
|
1732
1740
|
include Aws::Structure
|
|
1733
1741
|
end
|
|
1734
1742
|
|
|
1743
|
+
# Returns the networking resources shared to the broker.
|
|
1744
|
+
#
|
|
1745
|
+
# @!attribute [rw] next_token
|
|
1746
|
+
# The token that specifies the next page of results Amazon MQ should
|
|
1747
|
+
# return. To request the first page, leave nextToken empty.
|
|
1748
|
+
# @return [String]
|
|
1749
|
+
#
|
|
1750
|
+
# @!attribute [rw] shared_resources
|
|
1751
|
+
# A list of resources shared to the broker.
|
|
1752
|
+
# @return [Array<Types::SharedResource>]
|
|
1753
|
+
#
|
|
1754
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeSharedResourcesOutput AWS API Documentation
|
|
1755
|
+
#
|
|
1756
|
+
class DescribeSharedResourcesOutput < Struct.new(
|
|
1757
|
+
:next_token,
|
|
1758
|
+
:shared_resources)
|
|
1759
|
+
SENSITIVE = []
|
|
1760
|
+
include Aws::Structure
|
|
1761
|
+
end
|
|
1762
|
+
|
|
1763
|
+
# @!attribute [rw] broker_id
|
|
1764
|
+
# @return [String]
|
|
1765
|
+
#
|
|
1766
|
+
# @!attribute [rw] max_results
|
|
1767
|
+
# @return [Integer]
|
|
1768
|
+
#
|
|
1769
|
+
# @!attribute [rw] next_token
|
|
1770
|
+
# @return [String]
|
|
1771
|
+
#
|
|
1772
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeSharedResourcesRequest AWS API Documentation
|
|
1773
|
+
#
|
|
1774
|
+
class DescribeSharedResourcesRequest < Struct.new(
|
|
1775
|
+
:broker_id,
|
|
1776
|
+
:max_results,
|
|
1777
|
+
:next_token)
|
|
1778
|
+
SENSITIVE = []
|
|
1779
|
+
include Aws::Structure
|
|
1780
|
+
end
|
|
1781
|
+
|
|
1782
|
+
# @!attribute [rw] next_token
|
|
1783
|
+
# @return [String]
|
|
1784
|
+
#
|
|
1785
|
+
# @!attribute [rw] shared_resources
|
|
1786
|
+
# @return [Array<Types::SharedResource>]
|
|
1787
|
+
#
|
|
1788
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/DescribeSharedResourcesResponse AWS API Documentation
|
|
1789
|
+
#
|
|
1790
|
+
class DescribeSharedResourcesResponse < Struct.new(
|
|
1791
|
+
:next_token,
|
|
1792
|
+
:shared_resources)
|
|
1793
|
+
SENSITIVE = []
|
|
1794
|
+
include Aws::Structure
|
|
1795
|
+
end
|
|
1796
|
+
|
|
1735
1797
|
# Returns information about an ActiveMQ user.
|
|
1736
1798
|
#
|
|
1737
1799
|
# @!attribute [rw] broker_id
|
|
@@ -1872,11 +1934,16 @@ module Aws::MQ
|
|
|
1872
1934
|
# The explanation of the error.
|
|
1873
1935
|
# @return [String]
|
|
1874
1936
|
#
|
|
1937
|
+
# @!attribute [rw] resource_share_errors
|
|
1938
|
+
# The list of resource share errors.
|
|
1939
|
+
# @return [Array<Types::ResourceShareError>]
|
|
1940
|
+
#
|
|
1875
1941
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/Error AWS API Documentation
|
|
1876
1942
|
#
|
|
1877
1943
|
class Error < Struct.new(
|
|
1878
1944
|
:error_attribute,
|
|
1879
|
-
:message
|
|
1945
|
+
:message,
|
|
1946
|
+
:resource_share_errors)
|
|
1880
1947
|
SENSITIVE = []
|
|
1881
1948
|
include Aws::Structure
|
|
1882
1949
|
end
|
|
@@ -1889,11 +1956,15 @@ module Aws::MQ
|
|
|
1889
1956
|
# @!attribute [rw] message
|
|
1890
1957
|
# @return [String]
|
|
1891
1958
|
#
|
|
1959
|
+
# @!attribute [rw] resource_share_errors
|
|
1960
|
+
# @return [Array<Types::ResourceShareError>]
|
|
1961
|
+
#
|
|
1892
1962
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ForbiddenException AWS API Documentation
|
|
1893
1963
|
#
|
|
1894
1964
|
class ForbiddenException < Struct.new(
|
|
1895
1965
|
:error_attribute,
|
|
1896
|
-
:message
|
|
1966
|
+
:message,
|
|
1967
|
+
:resource_share_errors)
|
|
1897
1968
|
SENSITIVE = []
|
|
1898
1969
|
include Aws::Structure
|
|
1899
1970
|
end
|
|
@@ -1906,11 +1977,15 @@ module Aws::MQ
|
|
|
1906
1977
|
# @!attribute [rw] message
|
|
1907
1978
|
# @return [String]
|
|
1908
1979
|
#
|
|
1980
|
+
# @!attribute [rw] resource_share_errors
|
|
1981
|
+
# @return [Array<Types::ResourceShareError>]
|
|
1982
|
+
#
|
|
1909
1983
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/InternalServerErrorException AWS API Documentation
|
|
1910
1984
|
#
|
|
1911
1985
|
class InternalServerErrorException < Struct.new(
|
|
1912
1986
|
:error_attribute,
|
|
1913
|
-
:message
|
|
1987
|
+
:message,
|
|
1988
|
+
:resource_share_errors)
|
|
1914
1989
|
SENSITIVE = []
|
|
1915
1990
|
include Aws::Structure
|
|
1916
1991
|
end
|
|
@@ -2450,11 +2525,15 @@ module Aws::MQ
|
|
|
2450
2525
|
# @!attribute [rw] message
|
|
2451
2526
|
# @return [String]
|
|
2452
2527
|
#
|
|
2528
|
+
# @!attribute [rw] resource_share_errors
|
|
2529
|
+
# @return [Array<Types::ResourceShareError>]
|
|
2530
|
+
#
|
|
2453
2531
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/NotFoundException AWS API Documentation
|
|
2454
2532
|
#
|
|
2455
2533
|
class NotFoundException < Struct.new(
|
|
2456
2534
|
:error_attribute,
|
|
2457
|
-
:message
|
|
2535
|
+
:message,
|
|
2536
|
+
:resource_share_errors)
|
|
2458
2537
|
SENSITIVE = []
|
|
2459
2538
|
include Aws::Structure
|
|
2460
2539
|
end
|
|
@@ -2551,6 +2630,30 @@ module Aws::MQ
|
|
|
2551
2630
|
#
|
|
2552
2631
|
class RebootBrokerResponse < Aws::EmptyStructure; end
|
|
2553
2632
|
|
|
2633
|
+
# Returns info about the resource share error after updating the broker.
|
|
2634
|
+
#
|
|
2635
|
+
# @!attribute [rw] error_code
|
|
2636
|
+
# The error code of the resource share.
|
|
2637
|
+
# @return [String]
|
|
2638
|
+
#
|
|
2639
|
+
# @!attribute [rw] resource_share_arn
|
|
2640
|
+
# The ARN of the resource share.
|
|
2641
|
+
# @return [String]
|
|
2642
|
+
#
|
|
2643
|
+
# @!attribute [rw] status
|
|
2644
|
+
# The status of the resource share.
|
|
2645
|
+
# @return [String]
|
|
2646
|
+
#
|
|
2647
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/ResourceShareError AWS API Documentation
|
|
2648
|
+
#
|
|
2649
|
+
class ResourceShareError < Struct.new(
|
|
2650
|
+
:error_code,
|
|
2651
|
+
:resource_share_arn,
|
|
2652
|
+
:status)
|
|
2653
|
+
SENSITIVE = []
|
|
2654
|
+
include Aws::Structure
|
|
2655
|
+
end
|
|
2656
|
+
|
|
2554
2657
|
# Returns information about the configuration element or attribute that
|
|
2555
2658
|
# was sanitized in the configuration.
|
|
2556
2659
|
#
|
|
@@ -2577,6 +2680,65 @@ module Aws::MQ
|
|
|
2577
2680
|
include Aws::Structure
|
|
2578
2681
|
end
|
|
2579
2682
|
|
|
2683
|
+
# Represents a resource that is shared with the broker, including its
|
|
2684
|
+
# type, ARN, and current status.
|
|
2685
|
+
#
|
|
2686
|
+
# @!attribute [rw] dns_names
|
|
2687
|
+
# The DNS names accessible by the broker.
|
|
2688
|
+
# @return [Array<String>]
|
|
2689
|
+
#
|
|
2690
|
+
# @!attribute [rw] error
|
|
2691
|
+
# Information on the error encountered by the resource.
|
|
2692
|
+
# @return [Types::SharedResourceError]
|
|
2693
|
+
#
|
|
2694
|
+
# @!attribute [rw] resource_arn
|
|
2695
|
+
# The ARN of the shared resource.
|
|
2696
|
+
# @return [String]
|
|
2697
|
+
#
|
|
2698
|
+
# @!attribute [rw] resource_share_arns
|
|
2699
|
+
# The resource share ARNs to which the resource belongs.
|
|
2700
|
+
# @return [Array<String>]
|
|
2701
|
+
#
|
|
2702
|
+
# @!attribute [rw] status
|
|
2703
|
+
# The status of the shared resource.
|
|
2704
|
+
# @return [String]
|
|
2705
|
+
#
|
|
2706
|
+
# @!attribute [rw] type
|
|
2707
|
+
# The type of shared resource.
|
|
2708
|
+
# @return [String]
|
|
2709
|
+
#
|
|
2710
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/SharedResource AWS API Documentation
|
|
2711
|
+
#
|
|
2712
|
+
class SharedResource < Struct.new(
|
|
2713
|
+
:dns_names,
|
|
2714
|
+
:error,
|
|
2715
|
+
:resource_arn,
|
|
2716
|
+
:resource_share_arns,
|
|
2717
|
+
:status,
|
|
2718
|
+
:type)
|
|
2719
|
+
SENSITIVE = []
|
|
2720
|
+
include Aws::Structure
|
|
2721
|
+
end
|
|
2722
|
+
|
|
2723
|
+
# Information on the error encountered by the resource.
|
|
2724
|
+
#
|
|
2725
|
+
# @!attribute [rw] code
|
|
2726
|
+
# The error code associated with the error.
|
|
2727
|
+
# @return [String]
|
|
2728
|
+
#
|
|
2729
|
+
# @!attribute [rw] message
|
|
2730
|
+
# The error message.
|
|
2731
|
+
# @return [String]
|
|
2732
|
+
#
|
|
2733
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/SharedResourceError AWS API Documentation
|
|
2734
|
+
#
|
|
2735
|
+
class SharedResourceError < Struct.new(
|
|
2736
|
+
:code,
|
|
2737
|
+
:message)
|
|
2738
|
+
SENSITIVE = []
|
|
2739
|
+
include Aws::Structure
|
|
2740
|
+
end
|
|
2741
|
+
|
|
2580
2742
|
# A map of the key-value pairs for the resource tag.
|
|
2581
2743
|
#
|
|
2582
2744
|
# @!attribute [rw] tags
|
|
@@ -2599,11 +2761,15 @@ module Aws::MQ
|
|
|
2599
2761
|
# @!attribute [rw] message
|
|
2600
2762
|
# @return [String]
|
|
2601
2763
|
#
|
|
2764
|
+
# @!attribute [rw] resource_share_errors
|
|
2765
|
+
# @return [Array<Types::ResourceShareError>]
|
|
2766
|
+
#
|
|
2602
2767
|
# @see http://docs.aws.amazon.com/goto/WebAPI/mq-2017-11-27/UnauthorizedException AWS API Documentation
|
|
2603
2768
|
#
|
|
2604
2769
|
class UnauthorizedException < Struct.new(
|
|
2605
2770
|
:error_attribute,
|
|
2606
|
-
:message
|
|
2771
|
+
:message,
|
|
2772
|
+
:resource_share_errors)
|
|
2607
2773
|
SENSITIVE = []
|
|
2608
2774
|
include Aws::Structure
|
|
2609
2775
|
end
|
|
@@ -2675,6 +2841,10 @@ module Aws::MQ
|
|
|
2675
2841
|
# The parameters that determine the WeeklyStartTime.
|
|
2676
2842
|
# @return [Types::WeeklyStartTime]
|
|
2677
2843
|
#
|
|
2844
|
+
# @!attribute [rw] resource_share_arns
|
|
2845
|
+
# The list of resource shares to update on the broker.
|
|
2846
|
+
# @return [Array<String>]
|
|
2847
|
+
#
|
|
2678
2848
|
# @!attribute [rw] security_groups
|
|
2679
2849
|
# The list of security groups (1 minimum, 5 maximum) that authorizes
|
|
2680
2850
|
# connections to brokers.
|
|
@@ -2692,6 +2862,7 @@ module Aws::MQ
|
|
|
2692
2862
|
:ldap_server_metadata,
|
|
2693
2863
|
:logs,
|
|
2694
2864
|
:maintenance_window_start_time,
|
|
2865
|
+
:resource_share_arns,
|
|
2695
2866
|
:security_groups)
|
|
2696
2867
|
SENSITIVE = []
|
|
2697
2868
|
include Aws::Structure
|
|
@@ -2773,6 +2944,10 @@ module Aws::MQ
|
|
|
2773
2944
|
# pair after reboot.
|
|
2774
2945
|
# @return [String]
|
|
2775
2946
|
#
|
|
2947
|
+
# @!attribute [rw] resource_share_arns
|
|
2948
|
+
# The pending broker's target list of resource shares.
|
|
2949
|
+
# @return [Array<String>]
|
|
2950
|
+
#
|
|
2776
2951
|
# @!attribute [rw] security_groups
|
|
2777
2952
|
# The list of security groups (1 minimum, 5 maximum) that authorizes
|
|
2778
2953
|
# connections to brokers.
|
|
@@ -2794,6 +2969,7 @@ module Aws::MQ
|
|
|
2794
2969
|
:maintenance_window_start_time,
|
|
2795
2970
|
:pending_data_replication_metadata,
|
|
2796
2971
|
:pending_data_replication_mode,
|
|
2972
|
+
:resource_share_arns,
|
|
2797
2973
|
:security_groups)
|
|
2798
2974
|
SENSITIVE = []
|
|
2799
2975
|
include Aws::Structure
|
|
@@ -2837,6 +3013,9 @@ module Aws::MQ
|
|
|
2837
3013
|
# begins to apply pending updates or patches to the broker.
|
|
2838
3014
|
# @return [Types::WeeklyStartTime]
|
|
2839
3015
|
#
|
|
3016
|
+
# @!attribute [rw] resource_share_arns
|
|
3017
|
+
# @return [Array<String>]
|
|
3018
|
+
#
|
|
2840
3019
|
# @!attribute [rw] security_groups
|
|
2841
3020
|
# @return [Array<String>]
|
|
2842
3021
|
#
|
|
@@ -2856,6 +3035,7 @@ module Aws::MQ
|
|
|
2856
3035
|
:ldap_server_metadata,
|
|
2857
3036
|
:logs,
|
|
2858
3037
|
:maintenance_window_start_time,
|
|
3038
|
+
:resource_share_arns,
|
|
2859
3039
|
:security_groups,
|
|
2860
3040
|
:data_replication_mode)
|
|
2861
3041
|
SENSITIVE = []
|
|
@@ -2898,6 +3078,9 @@ module Aws::MQ
|
|
|
2898
3078
|
# begins to apply pending updates or patches to the broker.
|
|
2899
3079
|
# @return [Types::WeeklyStartTime]
|
|
2900
3080
|
#
|
|
3081
|
+
# @!attribute [rw] resource_share_arns
|
|
3082
|
+
# @return [Array<String>]
|
|
3083
|
+
#
|
|
2901
3084
|
# @!attribute [rw] security_groups
|
|
2902
3085
|
# @return [Array<String>]
|
|
2903
3086
|
#
|
|
@@ -2933,6 +3116,7 @@ module Aws::MQ
|
|
|
2933
3116
|
:ldap_server_metadata,
|
|
2934
3117
|
:logs,
|
|
2935
3118
|
:maintenance_window_start_time,
|
|
3119
|
+
:resource_share_arns,
|
|
2936
3120
|
:security_groups,
|
|
2937
3121
|
:data_replication_metadata,
|
|
2938
3122
|
:data_replication_mode,
|
data/lib/aws-sdk-mq.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -311,6 +311,19 @@ module Aws
|
|
|
311
311
|
) -> _DescribeConfigurationRevisionResponseSuccess
|
|
312
312
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeConfigurationRevisionResponseSuccess
|
|
313
313
|
|
|
314
|
+
interface _DescribeSharedResourcesResponseSuccess
|
|
315
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSharedResourcesResponse]
|
|
316
|
+
def next_token: () -> ::String
|
|
317
|
+
def shared_resources: () -> ::Array[Types::SharedResource]
|
|
318
|
+
end
|
|
319
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MQ/Client.html#describe_shared_resources-instance_method
|
|
320
|
+
def describe_shared_resources: (
|
|
321
|
+
broker_id: ::String,
|
|
322
|
+
?max_results: ::Integer,
|
|
323
|
+
?next_token: ::String
|
|
324
|
+
) -> _DescribeSharedResourcesResponseSuccess
|
|
325
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSharedResourcesResponseSuccess
|
|
326
|
+
|
|
314
327
|
interface _DescribeUserResponseSuccess
|
|
315
328
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeUserResponse]
|
|
316
329
|
def broker_id: () -> ::String
|
|
@@ -423,6 +436,7 @@ module Aws
|
|
|
423
436
|
def ldap_server_metadata: () -> Types::LdapServerMetadataOutput
|
|
424
437
|
def logs: () -> Types::Logs
|
|
425
438
|
def maintenance_window_start_time: () -> Types::WeeklyStartTime
|
|
439
|
+
def resource_share_arns: () -> ::Array[::String]
|
|
426
440
|
def security_groups: () -> ::Array[::String]
|
|
427
441
|
def data_replication_metadata: () -> Types::DataReplicationMetadataOutput
|
|
428
442
|
def data_replication_mode: () -> ("NONE" | "CRDR")
|
|
@@ -450,6 +464,7 @@ module Aws
|
|
|
450
464
|
time_of_day: ::String,
|
|
451
465
|
time_zone: ::String?
|
|
452
466
|
},
|
|
467
|
+
?resource_share_arns: Array[::String],
|
|
453
468
|
?security_groups: Array[::String],
|
|
454
469
|
?data_replication_mode: ("NONE" | "CRDR")
|
|
455
470
|
) -> _UpdateBrokerResponseSuccess
|
data/sig/errors.rbs
CHANGED
|
@@ -14,26 +14,32 @@ module Aws
|
|
|
14
14
|
class BadRequestException < ::Aws::Errors::ServiceError
|
|
15
15
|
def error_attribute: () -> ::String
|
|
16
16
|
def message: () -> ::String
|
|
17
|
+
def resource_share_errors: () -> ::String
|
|
17
18
|
end
|
|
18
19
|
class ConflictException < ::Aws::Errors::ServiceError
|
|
19
20
|
def error_attribute: () -> ::String
|
|
20
21
|
def message: () -> ::String
|
|
22
|
+
def resource_share_errors: () -> ::String
|
|
21
23
|
end
|
|
22
24
|
class ForbiddenException < ::Aws::Errors::ServiceError
|
|
23
25
|
def error_attribute: () -> ::String
|
|
24
26
|
def message: () -> ::String
|
|
27
|
+
def resource_share_errors: () -> ::String
|
|
25
28
|
end
|
|
26
29
|
class InternalServerErrorException < ::Aws::Errors::ServiceError
|
|
27
30
|
def error_attribute: () -> ::String
|
|
28
31
|
def message: () -> ::String
|
|
32
|
+
def resource_share_errors: () -> ::String
|
|
29
33
|
end
|
|
30
34
|
class NotFoundException < ::Aws::Errors::ServiceError
|
|
31
35
|
def error_attribute: () -> ::String
|
|
32
36
|
def message: () -> ::String
|
|
37
|
+
def resource_share_errors: () -> ::String
|
|
33
38
|
end
|
|
34
39
|
class UnauthorizedException < ::Aws::Errors::ServiceError
|
|
35
40
|
def error_attribute: () -> ::String
|
|
36
41
|
def message: () -> ::String
|
|
42
|
+
def resource_share_errors: () -> ::String
|
|
37
43
|
end
|
|
38
44
|
end
|
|
39
45
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -22,6 +22,7 @@ module Aws::MQ
|
|
|
22
22
|
class BadRequestException
|
|
23
23
|
attr_accessor error_attribute: ::String
|
|
24
24
|
attr_accessor message: ::String
|
|
25
|
+
attr_accessor resource_share_errors: ::Array[Types::ResourceShareError]
|
|
25
26
|
SENSITIVE: []
|
|
26
27
|
end
|
|
27
28
|
|
|
@@ -111,6 +112,7 @@ module Aws::MQ
|
|
|
111
112
|
class ConflictException
|
|
112
113
|
attr_accessor error_attribute: ::String
|
|
113
114
|
attr_accessor message: ::String
|
|
115
|
+
attr_accessor resource_share_errors: ::Array[Types::ResourceShareError]
|
|
114
116
|
SENSITIVE: []
|
|
115
117
|
end
|
|
116
118
|
|
|
@@ -448,6 +450,25 @@ module Aws::MQ
|
|
|
448
450
|
SENSITIVE: []
|
|
449
451
|
end
|
|
450
452
|
|
|
453
|
+
class DescribeSharedResourcesOutput
|
|
454
|
+
attr_accessor next_token: ::String
|
|
455
|
+
attr_accessor shared_resources: ::Array[Types::SharedResource]
|
|
456
|
+
SENSITIVE: []
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
class DescribeSharedResourcesRequest
|
|
460
|
+
attr_accessor broker_id: ::String
|
|
461
|
+
attr_accessor max_results: ::Integer
|
|
462
|
+
attr_accessor next_token: ::String
|
|
463
|
+
SENSITIVE: []
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
class DescribeSharedResourcesResponse
|
|
467
|
+
attr_accessor next_token: ::String
|
|
468
|
+
attr_accessor shared_resources: ::Array[Types::SharedResource]
|
|
469
|
+
SENSITIVE: []
|
|
470
|
+
end
|
|
471
|
+
|
|
451
472
|
class DescribeUserOutput
|
|
452
473
|
attr_accessor broker_id: ::String
|
|
453
474
|
attr_accessor console_access: bool
|
|
@@ -488,18 +509,21 @@ module Aws::MQ
|
|
|
488
509
|
class Error
|
|
489
510
|
attr_accessor error_attribute: ::String
|
|
490
511
|
attr_accessor message: ::String
|
|
512
|
+
attr_accessor resource_share_errors: ::Array[Types::ResourceShareError]
|
|
491
513
|
SENSITIVE: []
|
|
492
514
|
end
|
|
493
515
|
|
|
494
516
|
class ForbiddenException
|
|
495
517
|
attr_accessor error_attribute: ::String
|
|
496
518
|
attr_accessor message: ::String
|
|
519
|
+
attr_accessor resource_share_errors: ::Array[Types::ResourceShareError]
|
|
497
520
|
SENSITIVE: []
|
|
498
521
|
end
|
|
499
522
|
|
|
500
523
|
class InternalServerErrorException
|
|
501
524
|
attr_accessor error_attribute: ::String
|
|
502
525
|
attr_accessor message: ::String
|
|
526
|
+
attr_accessor resource_share_errors: ::Array[Types::ResourceShareError]
|
|
503
527
|
SENSITIVE: []
|
|
504
528
|
end
|
|
505
529
|
|
|
@@ -644,6 +668,7 @@ module Aws::MQ
|
|
|
644
668
|
class NotFoundException
|
|
645
669
|
attr_accessor error_attribute: ::String
|
|
646
670
|
attr_accessor message: ::String
|
|
671
|
+
attr_accessor resource_share_errors: ::Array[Types::ResourceShareError]
|
|
647
672
|
SENSITIVE: []
|
|
648
673
|
end
|
|
649
674
|
|
|
@@ -682,6 +707,13 @@ module Aws::MQ
|
|
|
682
707
|
class RebootBrokerResponse < Aws::EmptyStructure
|
|
683
708
|
end
|
|
684
709
|
|
|
710
|
+
class ResourceShareError
|
|
711
|
+
attr_accessor error_code: ::String
|
|
712
|
+
attr_accessor resource_share_arn: ::String
|
|
713
|
+
attr_accessor status: ::String
|
|
714
|
+
SENSITIVE: []
|
|
715
|
+
end
|
|
716
|
+
|
|
685
717
|
class SanitizationWarning
|
|
686
718
|
attr_accessor attribute_name: ::String
|
|
687
719
|
attr_accessor element_name: ::String
|
|
@@ -689,6 +721,22 @@ module Aws::MQ
|
|
|
689
721
|
SENSITIVE: []
|
|
690
722
|
end
|
|
691
723
|
|
|
724
|
+
class SharedResource
|
|
725
|
+
attr_accessor dns_names: ::Array[::String]
|
|
726
|
+
attr_accessor error: Types::SharedResourceError
|
|
727
|
+
attr_accessor resource_arn: ::String
|
|
728
|
+
attr_accessor resource_share_arns: ::Array[::String]
|
|
729
|
+
attr_accessor status: ("AVAILABLE" | "SETUP_IN_PROGRESS" | "DELETION_IN_PROGRESS" | "PENDING_CREATE" | "PENDING_DELETE" | "ERROR")
|
|
730
|
+
attr_accessor type: ("RESOURCE_SHARE" | "RESOURCE")
|
|
731
|
+
SENSITIVE: []
|
|
732
|
+
end
|
|
733
|
+
|
|
734
|
+
class SharedResourceError
|
|
735
|
+
attr_accessor code: ("QUOTA_EXCEEDED" | "SHARE_NOT_FOUND" | "INVITE_FAILED" | "SETUP_INCOMPLETE" | "INTERNAL_ERROR" | "AZ_MISMATCH" | "RESOURCE_CONFIGURATION_NOT_FOUND")
|
|
736
|
+
attr_accessor message: ::String
|
|
737
|
+
SENSITIVE: []
|
|
738
|
+
end
|
|
739
|
+
|
|
692
740
|
class Tags
|
|
693
741
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
694
742
|
SENSITIVE: []
|
|
@@ -697,6 +745,7 @@ module Aws::MQ
|
|
|
697
745
|
class UnauthorizedException
|
|
698
746
|
attr_accessor error_attribute: ::String
|
|
699
747
|
attr_accessor message: ::String
|
|
748
|
+
attr_accessor resource_share_errors: ::Array[Types::ResourceShareError]
|
|
700
749
|
SENSITIVE: []
|
|
701
750
|
end
|
|
702
751
|
|
|
@@ -710,6 +759,7 @@ module Aws::MQ
|
|
|
710
759
|
attr_accessor ldap_server_metadata: Types::LdapServerMetadataInput
|
|
711
760
|
attr_accessor logs: Types::Logs
|
|
712
761
|
attr_accessor maintenance_window_start_time: Types::WeeklyStartTime
|
|
762
|
+
attr_accessor resource_share_arns: ::Array[::String]
|
|
713
763
|
attr_accessor security_groups: ::Array[::String]
|
|
714
764
|
SENSITIVE: []
|
|
715
765
|
end
|
|
@@ -728,6 +778,7 @@ module Aws::MQ
|
|
|
728
778
|
attr_accessor maintenance_window_start_time: Types::WeeklyStartTime
|
|
729
779
|
attr_accessor pending_data_replication_metadata: Types::DataReplicationMetadataOutput
|
|
730
780
|
attr_accessor pending_data_replication_mode: ("NONE" | "CRDR")
|
|
781
|
+
attr_accessor resource_share_arns: ::Array[::String]
|
|
731
782
|
attr_accessor security_groups: ::Array[::String]
|
|
732
783
|
SENSITIVE: []
|
|
733
784
|
end
|
|
@@ -742,6 +793,7 @@ module Aws::MQ
|
|
|
742
793
|
attr_accessor ldap_server_metadata: Types::LdapServerMetadataInput
|
|
743
794
|
attr_accessor logs: Types::Logs
|
|
744
795
|
attr_accessor maintenance_window_start_time: Types::WeeklyStartTime
|
|
796
|
+
attr_accessor resource_share_arns: ::Array[::String]
|
|
745
797
|
attr_accessor security_groups: ::Array[::String]
|
|
746
798
|
attr_accessor data_replication_mode: ("NONE" | "CRDR")
|
|
747
799
|
SENSITIVE: []
|
|
@@ -757,6 +809,7 @@ module Aws::MQ
|
|
|
757
809
|
attr_accessor ldap_server_metadata: Types::LdapServerMetadataOutput
|
|
758
810
|
attr_accessor logs: Types::Logs
|
|
759
811
|
attr_accessor maintenance_window_start_time: Types::WeeklyStartTime
|
|
812
|
+
attr_accessor resource_share_arns: ::Array[::String]
|
|
760
813
|
attr_accessor security_groups: ::Array[::String]
|
|
761
814
|
attr_accessor data_replication_metadata: Types::DataReplicationMetadataOutput
|
|
762
815
|
attr_accessor data_replication_mode: ("NONE" | "CRDR")
|