aws-sdk-mq 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,699 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::MQ
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
15
+ BrokerInstance = Shapes::StructureShape.new(name: 'BrokerInstance')
16
+ BrokerState = Shapes::StringShape.new(name: 'BrokerState')
17
+ BrokerSummary = Shapes::StructureShape.new(name: 'BrokerSummary')
18
+ ChangeType = Shapes::StringShape.new(name: 'ChangeType')
19
+ Configuration = Shapes::StructureShape.new(name: 'Configuration')
20
+ ConfigurationId = Shapes::StructureShape.new(name: 'ConfigurationId')
21
+ ConfigurationRevision = Shapes::StructureShape.new(name: 'ConfigurationRevision')
22
+ Configurations = Shapes::StructureShape.new(name: 'Configurations')
23
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
24
+ CreateBrokerInput = Shapes::StructureShape.new(name: 'CreateBrokerInput')
25
+ CreateBrokerOutput = Shapes::StructureShape.new(name: 'CreateBrokerOutput')
26
+ CreateBrokerRequest = Shapes::StructureShape.new(name: 'CreateBrokerRequest')
27
+ CreateBrokerResponse = Shapes::StructureShape.new(name: 'CreateBrokerResponse')
28
+ CreateConfigurationInput = Shapes::StructureShape.new(name: 'CreateConfigurationInput')
29
+ CreateConfigurationOutput = Shapes::StructureShape.new(name: 'CreateConfigurationOutput')
30
+ CreateConfigurationRequest = Shapes::StructureShape.new(name: 'CreateConfigurationRequest')
31
+ CreateConfigurationResponse = Shapes::StructureShape.new(name: 'CreateConfigurationResponse')
32
+ CreateUserInput = Shapes::StructureShape.new(name: 'CreateUserInput')
33
+ CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
34
+ CreateUserResponse = Shapes::StructureShape.new(name: 'CreateUserResponse')
35
+ DayOfWeek = Shapes::StringShape.new(name: 'DayOfWeek')
36
+ DeleteBrokerOutput = Shapes::StructureShape.new(name: 'DeleteBrokerOutput')
37
+ DeleteBrokerRequest = Shapes::StructureShape.new(name: 'DeleteBrokerRequest')
38
+ DeleteBrokerResponse = Shapes::StructureShape.new(name: 'DeleteBrokerResponse')
39
+ DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
40
+ DeleteUserResponse = Shapes::StructureShape.new(name: 'DeleteUserResponse')
41
+ DeploymentMode = Shapes::StringShape.new(name: 'DeploymentMode')
42
+ DescribeBrokerOutput = Shapes::StructureShape.new(name: 'DescribeBrokerOutput')
43
+ DescribeBrokerRequest = Shapes::StructureShape.new(name: 'DescribeBrokerRequest')
44
+ DescribeBrokerResponse = Shapes::StructureShape.new(name: 'DescribeBrokerResponse')
45
+ DescribeConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationRequest')
46
+ DescribeConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationResponse')
47
+ DescribeConfigurationRevisionOutput = Shapes::StructureShape.new(name: 'DescribeConfigurationRevisionOutput')
48
+ DescribeConfigurationRevisionRequest = Shapes::StructureShape.new(name: 'DescribeConfigurationRevisionRequest')
49
+ DescribeConfigurationRevisionResponse = Shapes::StructureShape.new(name: 'DescribeConfigurationRevisionResponse')
50
+ DescribeUserOutput = Shapes::StructureShape.new(name: 'DescribeUserOutput')
51
+ DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
52
+ DescribeUserResponse = Shapes::StructureShape.new(name: 'DescribeUserResponse')
53
+ EngineType = Shapes::StringShape.new(name: 'EngineType')
54
+ Error = Shapes::StructureShape.new(name: 'Error')
55
+ ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
56
+ InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
57
+ ListBrokersOutput = Shapes::StructureShape.new(name: 'ListBrokersOutput')
58
+ ListBrokersRequest = Shapes::StructureShape.new(name: 'ListBrokersRequest')
59
+ ListBrokersResponse = Shapes::StructureShape.new(name: 'ListBrokersResponse')
60
+ ListConfigurationRevisionsOutput = Shapes::StructureShape.new(name: 'ListConfigurationRevisionsOutput')
61
+ ListConfigurationRevisionsRequest = Shapes::StructureShape.new(name: 'ListConfigurationRevisionsRequest')
62
+ ListConfigurationRevisionsResponse = Shapes::StructureShape.new(name: 'ListConfigurationRevisionsResponse')
63
+ ListConfigurationsOutput = Shapes::StructureShape.new(name: 'ListConfigurationsOutput')
64
+ ListConfigurationsRequest = Shapes::StructureShape.new(name: 'ListConfigurationsRequest')
65
+ ListConfigurationsResponse = Shapes::StructureShape.new(name: 'ListConfigurationsResponse')
66
+ ListOfBrokerInstance = Shapes::ListShape.new(name: 'ListOfBrokerInstance')
67
+ ListOfBrokerSummary = Shapes::ListShape.new(name: 'ListOfBrokerSummary')
68
+ ListOfConfiguration = Shapes::ListShape.new(name: 'ListOfConfiguration')
69
+ ListOfConfigurationId = Shapes::ListShape.new(name: 'ListOfConfigurationId')
70
+ ListOfConfigurationRevision = Shapes::ListShape.new(name: 'ListOfConfigurationRevision')
71
+ ListOfSanitizationWarning = Shapes::ListShape.new(name: 'ListOfSanitizationWarning')
72
+ ListOfUser = Shapes::ListShape.new(name: 'ListOfUser')
73
+ ListOfUserSummary = Shapes::ListShape.new(name: 'ListOfUserSummary')
74
+ ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
75
+ ListUsersOutput = Shapes::StructureShape.new(name: 'ListUsersOutput')
76
+ ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
77
+ ListUsersResponse = Shapes::StructureShape.new(name: 'ListUsersResponse')
78
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
79
+ NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
80
+ RebootBrokerRequest = Shapes::StructureShape.new(name: 'RebootBrokerRequest')
81
+ RebootBrokerResponse = Shapes::StructureShape.new(name: 'RebootBrokerResponse')
82
+ SanitizationWarning = Shapes::StructureShape.new(name: 'SanitizationWarning')
83
+ SanitizationWarningReason = Shapes::StringShape.new(name: 'SanitizationWarningReason')
84
+ UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
85
+ UpdateBrokerInput = Shapes::StructureShape.new(name: 'UpdateBrokerInput')
86
+ UpdateBrokerOutput = Shapes::StructureShape.new(name: 'UpdateBrokerOutput')
87
+ UpdateBrokerRequest = Shapes::StructureShape.new(name: 'UpdateBrokerRequest')
88
+ UpdateBrokerResponse = Shapes::StructureShape.new(name: 'UpdateBrokerResponse')
89
+ UpdateConfigurationInput = Shapes::StructureShape.new(name: 'UpdateConfigurationInput')
90
+ UpdateConfigurationOutput = Shapes::StructureShape.new(name: 'UpdateConfigurationOutput')
91
+ UpdateConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateConfigurationRequest')
92
+ UpdateConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateConfigurationResponse')
93
+ UpdateUserInput = Shapes::StructureShape.new(name: 'UpdateUserInput')
94
+ UpdateUserRequest = Shapes::StructureShape.new(name: 'UpdateUserRequest')
95
+ UpdateUserResponse = Shapes::StructureShape.new(name: 'UpdateUserResponse')
96
+ User = Shapes::StructureShape.new(name: 'User')
97
+ UserPendingChanges = Shapes::StructureShape.new(name: 'UserPendingChanges')
98
+ UserSummary = Shapes::StructureShape.new(name: 'UserSummary')
99
+ WeeklyStartTime = Shapes::StructureShape.new(name: 'WeeklyStartTime')
100
+ __boolean = Shapes::BooleanShape.new(name: '__boolean')
101
+ __double = Shapes::FloatShape.new(name: '__double')
102
+ __integer = Shapes::IntegerShape.new(name: '__integer')
103
+ __string = Shapes::StringShape.new(name: '__string')
104
+ __timestamp = Shapes::TimestampShape.new(name: '__timestamp')
105
+
106
+ BrokerInstance.add_member(:console_url, Shapes::ShapeRef.new(shape: __string, location_name: "consoleURL"))
107
+ BrokerInstance.add_member(:endpoints, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "endpoints"))
108
+ BrokerInstance.struct_class = Types::BrokerInstance
109
+
110
+ BrokerSummary.add_member(:broker_arn, Shapes::ShapeRef.new(shape: __string, location_name: "brokerArn"))
111
+ BrokerSummary.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
112
+ BrokerSummary.add_member(:broker_name, Shapes::ShapeRef.new(shape: __string, location_name: "brokerName"))
113
+ BrokerSummary.add_member(:broker_state, Shapes::ShapeRef.new(shape: BrokerState, location_name: "brokerState"))
114
+ BrokerSummary.add_member(:deployment_mode, Shapes::ShapeRef.new(shape: DeploymentMode, location_name: "deploymentMode"))
115
+ BrokerSummary.add_member(:host_instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "hostInstanceType"))
116
+ BrokerSummary.struct_class = Types::BrokerSummary
117
+
118
+ Configuration.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
119
+ Configuration.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
120
+ Configuration.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
121
+ Configuration.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
122
+ Configuration.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
123
+ Configuration.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
124
+ Configuration.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
125
+ Configuration.struct_class = Types::Configuration
126
+
127
+ ConfigurationId.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
128
+ ConfigurationId.add_member(:revision, Shapes::ShapeRef.new(shape: __integer, location_name: "revision"))
129
+ ConfigurationId.struct_class = Types::ConfigurationId
130
+
131
+ ConfigurationRevision.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
132
+ ConfigurationRevision.add_member(:revision, Shapes::ShapeRef.new(shape: __integer, location_name: "revision"))
133
+ ConfigurationRevision.struct_class = Types::ConfigurationRevision
134
+
135
+ Configurations.add_member(:current, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "current"))
136
+ Configurations.add_member(:history, Shapes::ShapeRef.new(shape: ListOfConfigurationId, location_name: "history"))
137
+ Configurations.add_member(:pending, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "pending"))
138
+ Configurations.struct_class = Types::Configurations
139
+
140
+ CreateBrokerInput.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: __boolean, location_name: "autoMinorVersionUpgrade"))
141
+ CreateBrokerInput.add_member(:broker_name, Shapes::ShapeRef.new(shape: __string, location_name: "brokerName"))
142
+ CreateBrokerInput.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configuration"))
143
+ CreateBrokerInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: __string, location_name: "creatorRequestId", metadata: {"idempotencyToken"=>true}))
144
+ CreateBrokerInput.add_member(:deployment_mode, Shapes::ShapeRef.new(shape: DeploymentMode, location_name: "deploymentMode"))
145
+ CreateBrokerInput.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
146
+ CreateBrokerInput.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
147
+ CreateBrokerInput.add_member(:host_instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "hostInstanceType"))
148
+ CreateBrokerInput.add_member(:maintenance_window_start_time, Shapes::ShapeRef.new(shape: WeeklyStartTime, location_name: "maintenanceWindowStartTime"))
149
+ CreateBrokerInput.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: __boolean, location_name: "publiclyAccessible"))
150
+ CreateBrokerInput.add_member(:security_groups, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "securityGroups"))
151
+ CreateBrokerInput.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "subnetIds"))
152
+ CreateBrokerInput.add_member(:users, Shapes::ShapeRef.new(shape: ListOfUser, location_name: "users"))
153
+ CreateBrokerInput.struct_class = Types::CreateBrokerInput
154
+
155
+ CreateBrokerOutput.add_member(:broker_arn, Shapes::ShapeRef.new(shape: __string, location_name: "brokerArn"))
156
+ CreateBrokerOutput.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
157
+ CreateBrokerOutput.struct_class = Types::CreateBrokerOutput
158
+
159
+ CreateBrokerRequest.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: __boolean, location_name: "autoMinorVersionUpgrade"))
160
+ CreateBrokerRequest.add_member(:broker_name, Shapes::ShapeRef.new(shape: __string, location_name: "brokerName"))
161
+ CreateBrokerRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configuration"))
162
+ CreateBrokerRequest.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: __string, location_name: "creatorRequestId", metadata: {"idempotencyToken"=>true}))
163
+ CreateBrokerRequest.add_member(:deployment_mode, Shapes::ShapeRef.new(shape: DeploymentMode, location_name: "deploymentMode"))
164
+ CreateBrokerRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
165
+ CreateBrokerRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
166
+ CreateBrokerRequest.add_member(:host_instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "hostInstanceType"))
167
+ CreateBrokerRequest.add_member(:maintenance_window_start_time, Shapes::ShapeRef.new(shape: WeeklyStartTime, location_name: "maintenanceWindowStartTime"))
168
+ CreateBrokerRequest.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: __boolean, location_name: "publiclyAccessible"))
169
+ CreateBrokerRequest.add_member(:security_groups, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "securityGroups"))
170
+ CreateBrokerRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "subnetIds"))
171
+ CreateBrokerRequest.add_member(:users, Shapes::ShapeRef.new(shape: ListOfUser, location_name: "users"))
172
+ CreateBrokerRequest.struct_class = Types::CreateBrokerRequest
173
+
174
+ CreateBrokerResponse.add_member(:broker_arn, Shapes::ShapeRef.new(shape: __string, location_name: "brokerArn"))
175
+ CreateBrokerResponse.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
176
+ CreateBrokerResponse.struct_class = Types::CreateBrokerResponse
177
+
178
+ CreateConfigurationInput.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
179
+ CreateConfigurationInput.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
180
+ CreateConfigurationInput.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
181
+ CreateConfigurationInput.struct_class = Types::CreateConfigurationInput
182
+
183
+ CreateConfigurationOutput.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
184
+ CreateConfigurationOutput.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
185
+ CreateConfigurationOutput.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
186
+ CreateConfigurationOutput.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
187
+ CreateConfigurationOutput.struct_class = Types::CreateConfigurationOutput
188
+
189
+ CreateConfigurationRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
190
+ CreateConfigurationRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
191
+ CreateConfigurationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
192
+ CreateConfigurationRequest.struct_class = Types::CreateConfigurationRequest
193
+
194
+ CreateConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
195
+ CreateConfigurationResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
196
+ CreateConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
197
+ CreateConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
198
+ CreateConfigurationResponse.struct_class = Types::CreateConfigurationResponse
199
+
200
+ CreateUserInput.add_member(:console_access, Shapes::ShapeRef.new(shape: __boolean, location_name: "consoleAccess"))
201
+ CreateUserInput.add_member(:groups, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "groups"))
202
+ CreateUserInput.add_member(:password, Shapes::ShapeRef.new(shape: __string, location_name: "password"))
203
+ CreateUserInput.struct_class = Types::CreateUserInput
204
+
205
+ CreateUserRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id"))
206
+ CreateUserRequest.add_member(:console_access, Shapes::ShapeRef.new(shape: __boolean, location_name: "consoleAccess"))
207
+ CreateUserRequest.add_member(:groups, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "groups"))
208
+ CreateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: __string, location_name: "password"))
209
+ CreateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "username"))
210
+ CreateUserRequest.struct_class = Types::CreateUserRequest
211
+
212
+ CreateUserResponse.struct_class = Types::CreateUserResponse
213
+
214
+ DeleteBrokerOutput.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
215
+ DeleteBrokerOutput.struct_class = Types::DeleteBrokerOutput
216
+
217
+ DeleteBrokerRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id"))
218
+ DeleteBrokerRequest.struct_class = Types::DeleteBrokerRequest
219
+
220
+ DeleteBrokerResponse.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
221
+ DeleteBrokerResponse.struct_class = Types::DeleteBrokerResponse
222
+
223
+ DeleteUserRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id"))
224
+ DeleteUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "username"))
225
+ DeleteUserRequest.struct_class = Types::DeleteUserRequest
226
+
227
+ DeleteUserResponse.struct_class = Types::DeleteUserResponse
228
+
229
+ DescribeBrokerOutput.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: __boolean, location_name: "autoMinorVersionUpgrade"))
230
+ DescribeBrokerOutput.add_member(:broker_arn, Shapes::ShapeRef.new(shape: __string, location_name: "brokerArn"))
231
+ DescribeBrokerOutput.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
232
+ DescribeBrokerOutput.add_member(:broker_instances, Shapes::ShapeRef.new(shape: ListOfBrokerInstance, location_name: "brokerInstances"))
233
+ DescribeBrokerOutput.add_member(:broker_name, Shapes::ShapeRef.new(shape: __string, location_name: "brokerName"))
234
+ DescribeBrokerOutput.add_member(:broker_state, Shapes::ShapeRef.new(shape: BrokerState, location_name: "brokerState"))
235
+ DescribeBrokerOutput.add_member(:configurations, Shapes::ShapeRef.new(shape: Configurations, location_name: "configurations"))
236
+ DescribeBrokerOutput.add_member(:deployment_mode, Shapes::ShapeRef.new(shape: DeploymentMode, location_name: "deploymentMode"))
237
+ DescribeBrokerOutput.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
238
+ DescribeBrokerOutput.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
239
+ DescribeBrokerOutput.add_member(:host_instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "hostInstanceType"))
240
+ DescribeBrokerOutput.add_member(:maintenance_window_start_time, Shapes::ShapeRef.new(shape: WeeklyStartTime, location_name: "maintenanceWindowStartTime"))
241
+ DescribeBrokerOutput.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: __boolean, location_name: "publiclyAccessible"))
242
+ DescribeBrokerOutput.add_member(:security_groups, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "securityGroups"))
243
+ DescribeBrokerOutput.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "subnetIds"))
244
+ DescribeBrokerOutput.add_member(:users, Shapes::ShapeRef.new(shape: ListOfUserSummary, location_name: "users"))
245
+ DescribeBrokerOutput.struct_class = Types::DescribeBrokerOutput
246
+
247
+ DescribeBrokerRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id"))
248
+ DescribeBrokerRequest.struct_class = Types::DescribeBrokerRequest
249
+
250
+ DescribeBrokerResponse.add_member(:auto_minor_version_upgrade, Shapes::ShapeRef.new(shape: __boolean, location_name: "autoMinorVersionUpgrade"))
251
+ DescribeBrokerResponse.add_member(:broker_arn, Shapes::ShapeRef.new(shape: __string, location_name: "brokerArn"))
252
+ DescribeBrokerResponse.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
253
+ DescribeBrokerResponse.add_member(:broker_instances, Shapes::ShapeRef.new(shape: ListOfBrokerInstance, location_name: "brokerInstances"))
254
+ DescribeBrokerResponse.add_member(:broker_name, Shapes::ShapeRef.new(shape: __string, location_name: "brokerName"))
255
+ DescribeBrokerResponse.add_member(:broker_state, Shapes::ShapeRef.new(shape: BrokerState, location_name: "brokerState"))
256
+ DescribeBrokerResponse.add_member(:configurations, Shapes::ShapeRef.new(shape: Configurations, location_name: "configurations"))
257
+ DescribeBrokerResponse.add_member(:deployment_mode, Shapes::ShapeRef.new(shape: DeploymentMode, location_name: "deploymentMode"))
258
+ DescribeBrokerResponse.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
259
+ DescribeBrokerResponse.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
260
+ DescribeBrokerResponse.add_member(:host_instance_type, Shapes::ShapeRef.new(shape: __string, location_name: "hostInstanceType"))
261
+ DescribeBrokerResponse.add_member(:maintenance_window_start_time, Shapes::ShapeRef.new(shape: WeeklyStartTime, location_name: "maintenanceWindowStartTime"))
262
+ DescribeBrokerResponse.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: __boolean, location_name: "publiclyAccessible"))
263
+ DescribeBrokerResponse.add_member(:security_groups, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "securityGroups"))
264
+ DescribeBrokerResponse.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "subnetIds"))
265
+ DescribeBrokerResponse.add_member(:users, Shapes::ShapeRef.new(shape: ListOfUserSummary, location_name: "users"))
266
+ DescribeBrokerResponse.struct_class = Types::DescribeBrokerResponse
267
+
268
+ DescribeConfigurationRequest.add_member(:configuration_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "configuration-id"))
269
+ DescribeConfigurationRequest.struct_class = Types::DescribeConfigurationRequest
270
+
271
+ DescribeConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
272
+ DescribeConfigurationResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
273
+ DescribeConfigurationResponse.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "engineType"))
274
+ DescribeConfigurationResponse.add_member(:engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "engineVersion"))
275
+ DescribeConfigurationResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
276
+ DescribeConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
277
+ DescribeConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
278
+ DescribeConfigurationResponse.struct_class = Types::DescribeConfigurationResponse
279
+
280
+ DescribeConfigurationRevisionOutput.add_member(:configuration_id, Shapes::ShapeRef.new(shape: __string, location_name: "configurationId"))
281
+ DescribeConfigurationRevisionOutput.add_member(:data, Shapes::ShapeRef.new(shape: __string, location_name: "data"))
282
+ DescribeConfigurationRevisionOutput.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
283
+ DescribeConfigurationRevisionOutput.struct_class = Types::DescribeConfigurationRevisionOutput
284
+
285
+ DescribeConfigurationRevisionRequest.add_member(:configuration_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "configuration-id"))
286
+ DescribeConfigurationRevisionRequest.add_member(:configuration_revision, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "configuration-revision"))
287
+ DescribeConfigurationRevisionRequest.struct_class = Types::DescribeConfigurationRevisionRequest
288
+
289
+ DescribeConfigurationRevisionResponse.add_member(:configuration_id, Shapes::ShapeRef.new(shape: __string, location_name: "configurationId"))
290
+ DescribeConfigurationRevisionResponse.add_member(:data, Shapes::ShapeRef.new(shape: __string, location_name: "data"))
291
+ DescribeConfigurationRevisionResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
292
+ DescribeConfigurationRevisionResponse.struct_class = Types::DescribeConfigurationRevisionResponse
293
+
294
+ DescribeUserOutput.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
295
+ DescribeUserOutput.add_member(:console_access, Shapes::ShapeRef.new(shape: __boolean, location_name: "consoleAccess"))
296
+ DescribeUserOutput.add_member(:groups, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "groups"))
297
+ DescribeUserOutput.add_member(:pending, Shapes::ShapeRef.new(shape: UserPendingChanges, location_name: "pending"))
298
+ DescribeUserOutput.add_member(:username, Shapes::ShapeRef.new(shape: __string, location_name: "username"))
299
+ DescribeUserOutput.struct_class = Types::DescribeUserOutput
300
+
301
+ DescribeUserRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id"))
302
+ DescribeUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "username"))
303
+ DescribeUserRequest.struct_class = Types::DescribeUserRequest
304
+
305
+ DescribeUserResponse.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
306
+ DescribeUserResponse.add_member(:console_access, Shapes::ShapeRef.new(shape: __boolean, location_name: "consoleAccess"))
307
+ DescribeUserResponse.add_member(:groups, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "groups"))
308
+ DescribeUserResponse.add_member(:pending, Shapes::ShapeRef.new(shape: UserPendingChanges, location_name: "pending"))
309
+ DescribeUserResponse.add_member(:username, Shapes::ShapeRef.new(shape: __string, location_name: "username"))
310
+ DescribeUserResponse.struct_class = Types::DescribeUserResponse
311
+
312
+ Error.add_member(:error_attribute, Shapes::ShapeRef.new(shape: __string, location_name: "errorAttribute"))
313
+ Error.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
314
+ Error.struct_class = Types::Error
315
+
316
+ ListBrokersOutput.add_member(:broker_summaries, Shapes::ShapeRef.new(shape: ListOfBrokerSummary, location_name: "brokerSummaries"))
317
+ ListBrokersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
318
+ ListBrokersOutput.struct_class = Types::ListBrokersOutput
319
+
320
+ ListBrokersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
321
+ ListBrokersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
322
+ ListBrokersRequest.struct_class = Types::ListBrokersRequest
323
+
324
+ ListBrokersResponse.add_member(:broker_summaries, Shapes::ShapeRef.new(shape: ListOfBrokerSummary, location_name: "brokerSummaries"))
325
+ ListBrokersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
326
+ ListBrokersResponse.struct_class = Types::ListBrokersResponse
327
+
328
+ ListConfigurationRevisionsOutput.add_member(:configuration_id, Shapes::ShapeRef.new(shape: __string, location_name: "configurationId"))
329
+ ListConfigurationRevisionsOutput.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
330
+ ListConfigurationRevisionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
331
+ ListConfigurationRevisionsOutput.add_member(:revisions, Shapes::ShapeRef.new(shape: ListOfConfigurationRevision, location_name: "revisions"))
332
+ ListConfigurationRevisionsOutput.struct_class = Types::ListConfigurationRevisionsOutput
333
+
334
+ ListConfigurationRevisionsRequest.add_member(:configuration_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "configuration-id"))
335
+ ListConfigurationRevisionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
336
+ ListConfigurationRevisionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
337
+ ListConfigurationRevisionsRequest.struct_class = Types::ListConfigurationRevisionsRequest
338
+
339
+ ListConfigurationRevisionsResponse.add_member(:configuration_id, Shapes::ShapeRef.new(shape: __string, location_name: "configurationId"))
340
+ ListConfigurationRevisionsResponse.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
341
+ ListConfigurationRevisionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
342
+ ListConfigurationRevisionsResponse.add_member(:revisions, Shapes::ShapeRef.new(shape: ListOfConfigurationRevision, location_name: "revisions"))
343
+ ListConfigurationRevisionsResponse.struct_class = Types::ListConfigurationRevisionsResponse
344
+
345
+ ListConfigurationsOutput.add_member(:configurations, Shapes::ShapeRef.new(shape: ListOfConfiguration, location_name: "configurations"))
346
+ ListConfigurationsOutput.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
347
+ ListConfigurationsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
348
+ ListConfigurationsOutput.struct_class = Types::ListConfigurationsOutput
349
+
350
+ ListConfigurationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
351
+ ListConfigurationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
352
+ ListConfigurationsRequest.struct_class = Types::ListConfigurationsRequest
353
+
354
+ ListConfigurationsResponse.add_member(:configurations, Shapes::ShapeRef.new(shape: ListOfConfiguration, location_name: "configurations"))
355
+ ListConfigurationsResponse.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
356
+ ListConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
357
+ ListConfigurationsResponse.struct_class = Types::ListConfigurationsResponse
358
+
359
+ ListOfBrokerInstance.member = Shapes::ShapeRef.new(shape: BrokerInstance)
360
+
361
+ ListOfBrokerSummary.member = Shapes::ShapeRef.new(shape: BrokerSummary)
362
+
363
+ ListOfConfiguration.member = Shapes::ShapeRef.new(shape: Configuration)
364
+
365
+ ListOfConfigurationId.member = Shapes::ShapeRef.new(shape: ConfigurationId)
366
+
367
+ ListOfConfigurationRevision.member = Shapes::ShapeRef.new(shape: ConfigurationRevision)
368
+
369
+ ListOfSanitizationWarning.member = Shapes::ShapeRef.new(shape: SanitizationWarning)
370
+
371
+ ListOfUser.member = Shapes::ShapeRef.new(shape: User)
372
+
373
+ ListOfUserSummary.member = Shapes::ShapeRef.new(shape: UserSummary)
374
+
375
+ ListOf__string.member = Shapes::ShapeRef.new(shape: __string)
376
+
377
+ ListUsersOutput.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
378
+ ListUsersOutput.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
379
+ ListUsersOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
380
+ ListUsersOutput.add_member(:users, Shapes::ShapeRef.new(shape: ListOfUserSummary, location_name: "users"))
381
+ ListUsersOutput.struct_class = Types::ListUsersOutput
382
+
383
+ ListUsersRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id"))
384
+ ListUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
385
+ ListUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
386
+ ListUsersRequest.struct_class = Types::ListUsersRequest
387
+
388
+ ListUsersResponse.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
389
+ ListUsersResponse.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
390
+ ListUsersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
391
+ ListUsersResponse.add_member(:users, Shapes::ShapeRef.new(shape: ListOfUserSummary, location_name: "users"))
392
+ ListUsersResponse.struct_class = Types::ListUsersResponse
393
+
394
+ RebootBrokerRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id"))
395
+ RebootBrokerRequest.struct_class = Types::RebootBrokerRequest
396
+
397
+ RebootBrokerResponse.struct_class = Types::RebootBrokerResponse
398
+
399
+ SanitizationWarning.add_member(:attribute_name, Shapes::ShapeRef.new(shape: __string, location_name: "attributeName"))
400
+ SanitizationWarning.add_member(:element_name, Shapes::ShapeRef.new(shape: __string, location_name: "elementName"))
401
+ SanitizationWarning.add_member(:reason, Shapes::ShapeRef.new(shape: SanitizationWarningReason, location_name: "reason"))
402
+ SanitizationWarning.struct_class = Types::SanitizationWarning
403
+
404
+ UpdateBrokerInput.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configuration"))
405
+ UpdateBrokerInput.struct_class = Types::UpdateBrokerInput
406
+
407
+ UpdateBrokerOutput.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
408
+ UpdateBrokerOutput.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configuration"))
409
+ UpdateBrokerOutput.struct_class = Types::UpdateBrokerOutput
410
+
411
+ UpdateBrokerRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id"))
412
+ UpdateBrokerRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configuration"))
413
+ UpdateBrokerRequest.struct_class = Types::UpdateBrokerRequest
414
+
415
+ UpdateBrokerResponse.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, location_name: "brokerId"))
416
+ UpdateBrokerResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: ConfigurationId, location_name: "configuration"))
417
+ UpdateBrokerResponse.struct_class = Types::UpdateBrokerResponse
418
+
419
+ UpdateConfigurationInput.add_member(:data, Shapes::ShapeRef.new(shape: __string, location_name: "data"))
420
+ UpdateConfigurationInput.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
421
+ UpdateConfigurationInput.struct_class = Types::UpdateConfigurationInput
422
+
423
+ UpdateConfigurationOutput.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
424
+ UpdateConfigurationOutput.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
425
+ UpdateConfigurationOutput.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
426
+ UpdateConfigurationOutput.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
427
+ UpdateConfigurationOutput.add_member(:warnings, Shapes::ShapeRef.new(shape: ListOfSanitizationWarning, location_name: "warnings"))
428
+ UpdateConfigurationOutput.struct_class = Types::UpdateConfigurationOutput
429
+
430
+ UpdateConfigurationRequest.add_member(:configuration_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "configuration-id"))
431
+ UpdateConfigurationRequest.add_member(:data, Shapes::ShapeRef.new(shape: __string, location_name: "data"))
432
+ UpdateConfigurationRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
433
+ UpdateConfigurationRequest.struct_class = Types::UpdateConfigurationRequest
434
+
435
+ UpdateConfigurationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
436
+ UpdateConfigurationResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
437
+ UpdateConfigurationResponse.add_member(:latest_revision, Shapes::ShapeRef.new(shape: ConfigurationRevision, location_name: "latestRevision"))
438
+ UpdateConfigurationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
439
+ UpdateConfigurationResponse.add_member(:warnings, Shapes::ShapeRef.new(shape: ListOfSanitizationWarning, location_name: "warnings"))
440
+ UpdateConfigurationResponse.struct_class = Types::UpdateConfigurationResponse
441
+
442
+ UpdateUserInput.add_member(:console_access, Shapes::ShapeRef.new(shape: __boolean, location_name: "consoleAccess"))
443
+ UpdateUserInput.add_member(:groups, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "groups"))
444
+ UpdateUserInput.add_member(:password, Shapes::ShapeRef.new(shape: __string, location_name: "password"))
445
+ UpdateUserInput.struct_class = Types::UpdateUserInput
446
+
447
+ UpdateUserRequest.add_member(:broker_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "broker-id"))
448
+ UpdateUserRequest.add_member(:console_access, Shapes::ShapeRef.new(shape: __boolean, location_name: "consoleAccess"))
449
+ UpdateUserRequest.add_member(:groups, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "groups"))
450
+ UpdateUserRequest.add_member(:password, Shapes::ShapeRef.new(shape: __string, location_name: "password"))
451
+ UpdateUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "username"))
452
+ UpdateUserRequest.struct_class = Types::UpdateUserRequest
453
+
454
+ UpdateUserResponse.struct_class = Types::UpdateUserResponse
455
+
456
+ User.add_member(:console_access, Shapes::ShapeRef.new(shape: __boolean, location_name: "consoleAccess"))
457
+ User.add_member(:groups, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "groups"))
458
+ User.add_member(:password, Shapes::ShapeRef.new(shape: __string, location_name: "password"))
459
+ User.add_member(:username, Shapes::ShapeRef.new(shape: __string, location_name: "username"))
460
+ User.struct_class = Types::User
461
+
462
+ UserPendingChanges.add_member(:console_access, Shapes::ShapeRef.new(shape: __boolean, location_name: "consoleAccess"))
463
+ UserPendingChanges.add_member(:groups, Shapes::ShapeRef.new(shape: ListOf__string, location_name: "groups"))
464
+ UserPendingChanges.add_member(:pending_change, Shapes::ShapeRef.new(shape: ChangeType, location_name: "pendingChange"))
465
+ UserPendingChanges.struct_class = Types::UserPendingChanges
466
+
467
+ UserSummary.add_member(:pending_change, Shapes::ShapeRef.new(shape: ChangeType, location_name: "pendingChange"))
468
+ UserSummary.add_member(:username, Shapes::ShapeRef.new(shape: __string, location_name: "username"))
469
+ UserSummary.struct_class = Types::UserSummary
470
+
471
+ WeeklyStartTime.add_member(:day_of_week, Shapes::ShapeRef.new(shape: DayOfWeek, location_name: "dayOfWeek"))
472
+ WeeklyStartTime.add_member(:time_of_day, Shapes::ShapeRef.new(shape: __string, location_name: "timeOfDay"))
473
+ WeeklyStartTime.add_member(:time_zone, Shapes::ShapeRef.new(shape: __string, location_name: "timeZone"))
474
+ WeeklyStartTime.struct_class = Types::WeeklyStartTime
475
+
476
+
477
+ # @api private
478
+ API = Seahorse::Model::Api.new.tap do |api|
479
+
480
+ api.version = "2017-11-27"
481
+
482
+ api.metadata = {
483
+ "endpointPrefix" => "mq",
484
+ "jsonVersion" => "1.1",
485
+ "protocol" => "rest-json",
486
+ "serviceFullName" => "AmazonMQ",
487
+ "signatureVersion" => "v4",
488
+ "signingName" => "mq",
489
+ }
490
+
491
+ api.add_operation(:create_broker, Seahorse::Model::Operation.new.tap do |o|
492
+ o.name = "CreateBroker"
493
+ o.http_method = "POST"
494
+ o.http_request_uri = "/v1/brokers"
495
+ o.input = Shapes::ShapeRef.new(shape: CreateBrokerRequest)
496
+ o.output = Shapes::ShapeRef.new(shape: CreateBrokerResponse)
497
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
498
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
499
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
500
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
501
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
502
+ end)
503
+
504
+ api.add_operation(:create_configuration, Seahorse::Model::Operation.new.tap do |o|
505
+ o.name = "CreateConfiguration"
506
+ o.http_method = "POST"
507
+ o.http_request_uri = "/v1/configurations"
508
+ o.input = Shapes::ShapeRef.new(shape: CreateConfigurationRequest)
509
+ o.output = Shapes::ShapeRef.new(shape: CreateConfigurationResponse)
510
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
511
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
512
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
513
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
514
+ end)
515
+
516
+ api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
517
+ o.name = "CreateUser"
518
+ o.http_method = "POST"
519
+ o.http_request_uri = "/v1/brokers/{broker-id}/users/{username}"
520
+ o.input = Shapes::ShapeRef.new(shape: CreateUserRequest)
521
+ o.output = Shapes::ShapeRef.new(shape: CreateUserResponse)
522
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
523
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
524
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
525
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
526
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
527
+ end)
528
+
529
+ api.add_operation(:delete_broker, Seahorse::Model::Operation.new.tap do |o|
530
+ o.name = "DeleteBroker"
531
+ o.http_method = "DELETE"
532
+ o.http_request_uri = "/v1/brokers/{broker-id}"
533
+ o.input = Shapes::ShapeRef.new(shape: DeleteBrokerRequest)
534
+ o.output = Shapes::ShapeRef.new(shape: DeleteBrokerResponse)
535
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
536
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
537
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
538
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
539
+ end)
540
+
541
+ api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
542
+ o.name = "DeleteUser"
543
+ o.http_method = "DELETE"
544
+ o.http_request_uri = "/v1/brokers/{broker-id}/users/{username}"
545
+ o.input = Shapes::ShapeRef.new(shape: DeleteUserRequest)
546
+ o.output = Shapes::ShapeRef.new(shape: DeleteUserResponse)
547
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
548
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
549
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
550
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
551
+ end)
552
+
553
+ api.add_operation(:describe_broker, Seahorse::Model::Operation.new.tap do |o|
554
+ o.name = "DescribeBroker"
555
+ o.http_method = "GET"
556
+ o.http_request_uri = "/v1/brokers/{broker-id}"
557
+ o.input = Shapes::ShapeRef.new(shape: DescribeBrokerRequest)
558
+ o.output = Shapes::ShapeRef.new(shape: DescribeBrokerResponse)
559
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
560
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
561
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
562
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
563
+ end)
564
+
565
+ api.add_operation(:describe_configuration, Seahorse::Model::Operation.new.tap do |o|
566
+ o.name = "DescribeConfiguration"
567
+ o.http_method = "GET"
568
+ o.http_request_uri = "/v1/configurations/{configuration-id}"
569
+ o.input = Shapes::ShapeRef.new(shape: DescribeConfigurationRequest)
570
+ o.output = Shapes::ShapeRef.new(shape: DescribeConfigurationResponse)
571
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
572
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
573
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
574
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
575
+ end)
576
+
577
+ api.add_operation(:describe_configuration_revision, Seahorse::Model::Operation.new.tap do |o|
578
+ o.name = "DescribeConfigurationRevision"
579
+ o.http_method = "GET"
580
+ o.http_request_uri = "/v1/configurations/{configuration-id}/revisions/{configuration-revision}"
581
+ o.input = Shapes::ShapeRef.new(shape: DescribeConfigurationRevisionRequest)
582
+ o.output = Shapes::ShapeRef.new(shape: DescribeConfigurationRevisionResponse)
583
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
584
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
585
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
586
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
587
+ end)
588
+
589
+ api.add_operation(:describe_user, Seahorse::Model::Operation.new.tap do |o|
590
+ o.name = "DescribeUser"
591
+ o.http_method = "GET"
592
+ o.http_request_uri = "/v1/brokers/{broker-id}/users/{username}"
593
+ o.input = Shapes::ShapeRef.new(shape: DescribeUserRequest)
594
+ o.output = Shapes::ShapeRef.new(shape: DescribeUserResponse)
595
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
596
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
597
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
598
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
599
+ end)
600
+
601
+ api.add_operation(:list_brokers, Seahorse::Model::Operation.new.tap do |o|
602
+ o.name = "ListBrokers"
603
+ o.http_method = "GET"
604
+ o.http_request_uri = "/v1/brokers"
605
+ o.input = Shapes::ShapeRef.new(shape: ListBrokersRequest)
606
+ o.output = Shapes::ShapeRef.new(shape: ListBrokersResponse)
607
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
608
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
609
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
610
+ end)
611
+
612
+ api.add_operation(:list_configuration_revisions, Seahorse::Model::Operation.new.tap do |o|
613
+ o.name = "ListConfigurationRevisions"
614
+ o.http_method = "GET"
615
+ o.http_request_uri = "/v1/configurations/{configuration-id}/revisions"
616
+ o.input = Shapes::ShapeRef.new(shape: ListConfigurationRevisionsRequest)
617
+ o.output = Shapes::ShapeRef.new(shape: ListConfigurationRevisionsResponse)
618
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
619
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
620
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
621
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
622
+ end)
623
+
624
+ api.add_operation(:list_configurations, Seahorse::Model::Operation.new.tap do |o|
625
+ o.name = "ListConfigurations"
626
+ o.http_method = "GET"
627
+ o.http_request_uri = "/v1/configurations"
628
+ o.input = Shapes::ShapeRef.new(shape: ListConfigurationsRequest)
629
+ o.output = Shapes::ShapeRef.new(shape: ListConfigurationsResponse)
630
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
631
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
632
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
633
+ end)
634
+
635
+ api.add_operation(:list_users, Seahorse::Model::Operation.new.tap do |o|
636
+ o.name = "ListUsers"
637
+ o.http_method = "GET"
638
+ o.http_request_uri = "/v1/brokers/{broker-id}/users"
639
+ o.input = Shapes::ShapeRef.new(shape: ListUsersRequest)
640
+ o.output = Shapes::ShapeRef.new(shape: ListUsersResponse)
641
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
642
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
643
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
644
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
645
+ end)
646
+
647
+ api.add_operation(:reboot_broker, Seahorse::Model::Operation.new.tap do |o|
648
+ o.name = "RebootBroker"
649
+ o.http_method = "POST"
650
+ o.http_request_uri = "/v1/brokers/{broker-id}/reboot"
651
+ o.input = Shapes::ShapeRef.new(shape: RebootBrokerRequest)
652
+ o.output = Shapes::ShapeRef.new(shape: RebootBrokerResponse)
653
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
654
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
655
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
656
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
657
+ end)
658
+
659
+ api.add_operation(:update_broker, Seahorse::Model::Operation.new.tap do |o|
660
+ o.name = "UpdateBroker"
661
+ o.http_method = "PUT"
662
+ o.http_request_uri = "/v1/brokers/{broker-id}"
663
+ o.input = Shapes::ShapeRef.new(shape: UpdateBrokerRequest)
664
+ o.output = Shapes::ShapeRef.new(shape: UpdateBrokerResponse)
665
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
666
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
667
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
668
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
669
+ end)
670
+
671
+ api.add_operation(:update_configuration, Seahorse::Model::Operation.new.tap do |o|
672
+ o.name = "UpdateConfiguration"
673
+ o.http_method = "PUT"
674
+ o.http_request_uri = "/v1/configurations/{configuration-id}"
675
+ o.input = Shapes::ShapeRef.new(shape: UpdateConfigurationRequest)
676
+ o.output = Shapes::ShapeRef.new(shape: UpdateConfigurationResponse)
677
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
678
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
679
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
680
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
681
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
682
+ end)
683
+
684
+ api.add_operation(:update_user, Seahorse::Model::Operation.new.tap do |o|
685
+ o.name = "UpdateUser"
686
+ o.http_method = "PUT"
687
+ o.http_request_uri = "/v1/brokers/{broker-id}/users/{username}"
688
+ o.input = Shapes::ShapeRef.new(shape: UpdateUserRequest)
689
+ o.output = Shapes::ShapeRef.new(shape: UpdateUserResponse)
690
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
691
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
692
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
693
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
694
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
695
+ end)
696
+ end
697
+
698
+ end
699
+ end