aws-sdk-opsworkscm 1.0.0.rc2 → 1.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,469 +1,472 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module OpsWorksCM
10
- # @api private
11
- module ClientApi
12
-
13
- include Seahorse::Model
14
-
15
- AccountAttribute = Shapes::StructureShape.new(name: 'AccountAttribute')
16
- AccountAttributes = Shapes::ListShape.new(name: 'AccountAttributes')
17
- AssociateNodeRequest = Shapes::StructureShape.new(name: 'AssociateNodeRequest')
18
- AssociateNodeResponse = Shapes::StructureShape.new(name: 'AssociateNodeResponse')
19
- AttributeName = Shapes::StringShape.new(name: 'AttributeName')
20
- AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
21
- Backup = Shapes::StructureShape.new(name: 'Backup')
22
- BackupId = Shapes::StringShape.new(name: 'BackupId')
23
- BackupRetentionCountDefinition = Shapes::IntegerShape.new(name: 'BackupRetentionCountDefinition')
24
- BackupStatus = Shapes::StringShape.new(name: 'BackupStatus')
25
- BackupType = Shapes::StringShape.new(name: 'BackupType')
26
- Backups = Shapes::ListShape.new(name: 'Backups')
27
- Boolean = Shapes::BooleanShape.new(name: 'Boolean')
28
- CreateBackupRequest = Shapes::StructureShape.new(name: 'CreateBackupRequest')
29
- CreateBackupResponse = Shapes::StructureShape.new(name: 'CreateBackupResponse')
30
- CreateServerRequest = Shapes::StructureShape.new(name: 'CreateServerRequest')
31
- CreateServerResponse = Shapes::StructureShape.new(name: 'CreateServerResponse')
32
- DeleteBackupRequest = Shapes::StructureShape.new(name: 'DeleteBackupRequest')
33
- DeleteBackupResponse = Shapes::StructureShape.new(name: 'DeleteBackupResponse')
34
- DeleteServerRequest = Shapes::StructureShape.new(name: 'DeleteServerRequest')
35
- DeleteServerResponse = Shapes::StructureShape.new(name: 'DeleteServerResponse')
36
- DescribeAccountAttributesRequest = Shapes::StructureShape.new(name: 'DescribeAccountAttributesRequest')
37
- DescribeAccountAttributesResponse = Shapes::StructureShape.new(name: 'DescribeAccountAttributesResponse')
38
- DescribeBackupsRequest = Shapes::StructureShape.new(name: 'DescribeBackupsRequest')
39
- DescribeBackupsResponse = Shapes::StructureShape.new(name: 'DescribeBackupsResponse')
40
- DescribeEventsRequest = Shapes::StructureShape.new(name: 'DescribeEventsRequest')
41
- DescribeEventsResponse = Shapes::StructureShape.new(name: 'DescribeEventsResponse')
42
- DescribeNodeAssociationStatusRequest = Shapes::StructureShape.new(name: 'DescribeNodeAssociationStatusRequest')
43
- DescribeNodeAssociationStatusResponse = Shapes::StructureShape.new(name: 'DescribeNodeAssociationStatusResponse')
44
- DescribeServersRequest = Shapes::StructureShape.new(name: 'DescribeServersRequest')
45
- DescribeServersResponse = Shapes::StructureShape.new(name: 'DescribeServersResponse')
46
- DisassociateNodeRequest = Shapes::StructureShape.new(name: 'DisassociateNodeRequest')
47
- DisassociateNodeResponse = Shapes::StructureShape.new(name: 'DisassociateNodeResponse')
48
- EngineAttribute = Shapes::StructureShape.new(name: 'EngineAttribute')
49
- EngineAttributes = Shapes::ListShape.new(name: 'EngineAttributes')
50
- InstanceProfileArn = Shapes::StringShape.new(name: 'InstanceProfileArn')
51
- Integer = Shapes::IntegerShape.new(name: 'Integer')
52
- InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
53
- InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
54
- KeyPair = Shapes::StringShape.new(name: 'KeyPair')
55
- LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
56
- MaintenanceStatus = Shapes::StringShape.new(name: 'MaintenanceStatus')
57
- MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
58
- NextToken = Shapes::StringShape.new(name: 'NextToken')
59
- NodeAssociationStatus = Shapes::StringShape.new(name: 'NodeAssociationStatus')
60
- NodeAssociationStatusToken = Shapes::StringShape.new(name: 'NodeAssociationStatusToken')
61
- NodeName = Shapes::StringShape.new(name: 'NodeName')
62
- ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
63
- ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
64
- RestoreServerRequest = Shapes::StructureShape.new(name: 'RestoreServerRequest')
65
- RestoreServerResponse = Shapes::StructureShape.new(name: 'RestoreServerResponse')
66
- Server = Shapes::StructureShape.new(name: 'Server')
67
- ServerEvent = Shapes::StructureShape.new(name: 'ServerEvent')
68
- ServerEvents = Shapes::ListShape.new(name: 'ServerEvents')
69
- ServerName = Shapes::StringShape.new(name: 'ServerName')
70
- ServerStatus = Shapes::StringShape.new(name: 'ServerStatus')
71
- Servers = Shapes::ListShape.new(name: 'Servers')
72
- ServiceRoleArn = Shapes::StringShape.new(name: 'ServiceRoleArn')
73
- StartMaintenanceRequest = Shapes::StructureShape.new(name: 'StartMaintenanceRequest')
74
- StartMaintenanceResponse = Shapes::StructureShape.new(name: 'StartMaintenanceResponse')
75
- String = Shapes::StringShape.new(name: 'String')
76
- Strings = Shapes::ListShape.new(name: 'Strings')
77
- TimeWindowDefinition = Shapes::StringShape.new(name: 'TimeWindowDefinition')
78
- Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
79
- UpdateServerEngineAttributesRequest = Shapes::StructureShape.new(name: 'UpdateServerEngineAttributesRequest')
80
- UpdateServerEngineAttributesResponse = Shapes::StructureShape.new(name: 'UpdateServerEngineAttributesResponse')
81
- UpdateServerRequest = Shapes::StructureShape.new(name: 'UpdateServerRequest')
82
- UpdateServerResponse = Shapes::StructureShape.new(name: 'UpdateServerResponse')
83
- ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
84
-
85
- AccountAttribute.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
86
- AccountAttribute.add_member(:maximum, Shapes::ShapeRef.new(shape: Integer, location_name: "Maximum"))
87
- AccountAttribute.add_member(:used, Shapes::ShapeRef.new(shape: Integer, location_name: "Used"))
88
- AccountAttribute.struct_class = Types::AccountAttribute
89
-
90
- AccountAttributes.member = Shapes::ShapeRef.new(shape: AccountAttribute)
91
-
92
- AssociateNodeRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
93
- AssociateNodeRequest.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "NodeName"))
94
- AssociateNodeRequest.add_member(:engine_attributes, Shapes::ShapeRef.new(shape: EngineAttributes, location_name: "EngineAttributes"))
95
- AssociateNodeRequest.struct_class = Types::AssociateNodeRequest
96
-
97
- AssociateNodeResponse.add_member(:node_association_status_token, Shapes::ShapeRef.new(shape: NodeAssociationStatusToken, location_name: "NodeAssociationStatusToken"))
98
- AssociateNodeResponse.struct_class = Types::AssociateNodeResponse
99
-
100
- Backup.add_member(:backup_arn, Shapes::ShapeRef.new(shape: String, location_name: "BackupArn"))
101
- Backup.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "BackupId"))
102
- Backup.add_member(:backup_type, Shapes::ShapeRef.new(shape: BackupType, location_name: "BackupType"))
103
- Backup.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
104
- Backup.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
105
- Backup.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
106
- Backup.add_member(:engine_model, Shapes::ShapeRef.new(shape: String, location_name: "EngineModel"))
107
- Backup.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
108
- Backup.add_member(:instance_profile_arn, Shapes::ShapeRef.new(shape: String, location_name: "InstanceProfileArn"))
109
- Backup.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "InstanceType"))
110
- Backup.add_member(:key_pair, Shapes::ShapeRef.new(shape: String, location_name: "KeyPair"))
111
- Backup.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredBackupWindow"))
112
- Backup.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredMaintenanceWindow"))
113
- Backup.add_member(:s3_data_size, Shapes::ShapeRef.new(shape: Integer, location_name: "S3DataSize"))
114
- Backup.add_member(:s3_data_url, Shapes::ShapeRef.new(shape: String, location_name: "S3DataUrl"))
115
- Backup.add_member(:s3_log_url, Shapes::ShapeRef.new(shape: String, location_name: "S3LogUrl"))
116
- Backup.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: Strings, location_name: "SecurityGroupIds"))
117
- Backup.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, location_name: "ServerName"))
118
- Backup.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "ServiceRoleArn"))
119
- Backup.add_member(:status, Shapes::ShapeRef.new(shape: BackupStatus, location_name: "Status"))
120
- Backup.add_member(:status_description, Shapes::ShapeRef.new(shape: String, location_name: "StatusDescription"))
121
- Backup.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: Strings, location_name: "SubnetIds"))
122
- Backup.add_member(:tools_version, Shapes::ShapeRef.new(shape: String, location_name: "ToolsVersion"))
123
- Backup.add_member(:user_arn, Shapes::ShapeRef.new(shape: String, location_name: "UserArn"))
124
- Backup.struct_class = Types::Backup
125
-
126
- Backups.member = Shapes::ShapeRef.new(shape: Backup)
127
-
128
- CreateBackupRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
129
- CreateBackupRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
130
- CreateBackupRequest.struct_class = Types::CreateBackupRequest
131
-
132
- CreateBackupResponse.add_member(:backup, Shapes::ShapeRef.new(shape: Backup, location_name: "Backup"))
133
- CreateBackupResponse.struct_class = Types::CreateBackupResponse
134
-
135
- CreateServerRequest.add_member(:disable_automated_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableAutomatedBackup"))
136
- CreateServerRequest.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
137
- CreateServerRequest.add_member(:engine_model, Shapes::ShapeRef.new(shape: String, location_name: "EngineModel"))
138
- CreateServerRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
139
- CreateServerRequest.add_member(:engine_attributes, Shapes::ShapeRef.new(shape: EngineAttributes, location_name: "EngineAttributes"))
140
- CreateServerRequest.add_member(:backup_retention_count, Shapes::ShapeRef.new(shape: BackupRetentionCountDefinition, location_name: "BackupRetentionCount"))
141
- CreateServerRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
142
- CreateServerRequest.add_member(:instance_profile_arn, Shapes::ShapeRef.new(shape: InstanceProfileArn, required: true, location_name: "InstanceProfileArn"))
143
- CreateServerRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "InstanceType"))
144
- CreateServerRequest.add_member(:key_pair, Shapes::ShapeRef.new(shape: KeyPair, location_name: "KeyPair"))
145
- CreateServerRequest.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredMaintenanceWindow"))
146
- CreateServerRequest.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredBackupWindow"))
147
- CreateServerRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: Strings, location_name: "SecurityGroupIds"))
148
- CreateServerRequest.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: ServiceRoleArn, required: true, location_name: "ServiceRoleArn"))
149
- CreateServerRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: Strings, location_name: "SubnetIds"))
150
- CreateServerRequest.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "BackupId"))
151
- CreateServerRequest.struct_class = Types::CreateServerRequest
152
-
153
- CreateServerResponse.add_member(:server, Shapes::ShapeRef.new(shape: Server, location_name: "Server"))
154
- CreateServerResponse.struct_class = Types::CreateServerResponse
155
-
156
- DeleteBackupRequest.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, required: true, location_name: "BackupId"))
157
- DeleteBackupRequest.struct_class = Types::DeleteBackupRequest
158
-
159
- DeleteBackupResponse.struct_class = Types::DeleteBackupResponse
160
-
161
- DeleteServerRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
162
- DeleteServerRequest.struct_class = Types::DeleteServerRequest
163
-
164
- DeleteServerResponse.struct_class = Types::DeleteServerResponse
165
-
166
- DescribeAccountAttributesRequest.struct_class = Types::DescribeAccountAttributesRequest
167
-
168
- DescribeAccountAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: AccountAttributes, location_name: "Attributes"))
169
- DescribeAccountAttributesResponse.struct_class = Types::DescribeAccountAttributesResponse
170
-
171
- DescribeBackupsRequest.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "BackupId"))
172
- DescribeBackupsRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, location_name: "ServerName"))
173
- DescribeBackupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
174
- DescribeBackupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
175
- DescribeBackupsRequest.struct_class = Types::DescribeBackupsRequest
176
-
177
- DescribeBackupsResponse.add_member(:backups, Shapes::ShapeRef.new(shape: Backups, location_name: "Backups"))
178
- DescribeBackupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
179
- DescribeBackupsResponse.struct_class = Types::DescribeBackupsResponse
180
-
181
- DescribeEventsRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
182
- DescribeEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
183
- DescribeEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
184
- DescribeEventsRequest.struct_class = Types::DescribeEventsRequest
185
-
186
- DescribeEventsResponse.add_member(:server_events, Shapes::ShapeRef.new(shape: ServerEvents, location_name: "ServerEvents"))
187
- DescribeEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
188
- DescribeEventsResponse.struct_class = Types::DescribeEventsResponse
189
-
190
- DescribeNodeAssociationStatusRequest.add_member(:node_association_status_token, Shapes::ShapeRef.new(shape: NodeAssociationStatusToken, required: true, location_name: "NodeAssociationStatusToken"))
191
- DescribeNodeAssociationStatusRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
192
- DescribeNodeAssociationStatusRequest.struct_class = Types::DescribeNodeAssociationStatusRequest
193
-
194
- DescribeNodeAssociationStatusResponse.add_member(:node_association_status, Shapes::ShapeRef.new(shape: NodeAssociationStatus, location_name: "NodeAssociationStatus"))
195
- DescribeNodeAssociationStatusResponse.struct_class = Types::DescribeNodeAssociationStatusResponse
196
-
197
- DescribeServersRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, location_name: "ServerName"))
198
- DescribeServersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
199
- DescribeServersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
200
- DescribeServersRequest.struct_class = Types::DescribeServersRequest
201
-
202
- DescribeServersResponse.add_member(:servers, Shapes::ShapeRef.new(shape: Servers, location_name: "Servers"))
203
- DescribeServersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
204
- DescribeServersResponse.struct_class = Types::DescribeServersResponse
205
-
206
- DisassociateNodeRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
207
- DisassociateNodeRequest.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "NodeName"))
208
- DisassociateNodeRequest.add_member(:engine_attributes, Shapes::ShapeRef.new(shape: EngineAttributes, location_name: "EngineAttributes"))
209
- DisassociateNodeRequest.struct_class = Types::DisassociateNodeRequest
210
-
211
- DisassociateNodeResponse.add_member(:node_association_status_token, Shapes::ShapeRef.new(shape: NodeAssociationStatusToken, location_name: "NodeAssociationStatusToken"))
212
- DisassociateNodeResponse.struct_class = Types::DisassociateNodeResponse
213
-
214
- EngineAttribute.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
215
- EngineAttribute.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
216
- EngineAttribute.struct_class = Types::EngineAttribute
217
-
218
- EngineAttributes.member = Shapes::ShapeRef.new(shape: EngineAttribute)
219
-
220
- RestoreServerRequest.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, required: true, location_name: "BackupId"))
221
- RestoreServerRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
222
- RestoreServerRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "InstanceType"))
223
- RestoreServerRequest.add_member(:key_pair, Shapes::ShapeRef.new(shape: KeyPair, location_name: "KeyPair"))
224
- RestoreServerRequest.struct_class = Types::RestoreServerRequest
225
-
226
- RestoreServerResponse.struct_class = Types::RestoreServerResponse
227
-
228
- Server.add_member(:backup_retention_count, Shapes::ShapeRef.new(shape: Integer, location_name: "BackupRetentionCount"))
229
- Server.add_member(:server_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerName"))
230
- Server.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
231
- Server.add_member(:disable_automated_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableAutomatedBackup"))
232
- Server.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "Endpoint"))
233
- Server.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
234
- Server.add_member(:engine_model, Shapes::ShapeRef.new(shape: String, location_name: "EngineModel"))
235
- Server.add_member(:engine_attributes, Shapes::ShapeRef.new(shape: EngineAttributes, location_name: "EngineAttributes"))
236
- Server.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
237
- Server.add_member(:instance_profile_arn, Shapes::ShapeRef.new(shape: String, location_name: "InstanceProfileArn"))
238
- Server.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "InstanceType"))
239
- Server.add_member(:key_pair, Shapes::ShapeRef.new(shape: String, location_name: "KeyPair"))
240
- Server.add_member(:maintenance_status, Shapes::ShapeRef.new(shape: MaintenanceStatus, location_name: "MaintenanceStatus"))
241
- Server.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredMaintenanceWindow"))
242
- Server.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredBackupWindow"))
243
- Server.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: Strings, location_name: "SecurityGroupIds"))
244
- Server.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "ServiceRoleArn"))
245
- Server.add_member(:status, Shapes::ShapeRef.new(shape: ServerStatus, location_name: "Status"))
246
- Server.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "StatusReason"))
247
- Server.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: Strings, location_name: "SubnetIds"))
248
- Server.add_member(:server_arn, Shapes::ShapeRef.new(shape: String, location_name: "ServerArn"))
249
- Server.struct_class = Types::Server
250
-
251
- ServerEvent.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
252
- ServerEvent.add_member(:server_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerName"))
253
- ServerEvent.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
254
- ServerEvent.add_member(:log_url, Shapes::ShapeRef.new(shape: String, location_name: "LogUrl"))
255
- ServerEvent.struct_class = Types::ServerEvent
256
-
257
- ServerEvents.member = Shapes::ShapeRef.new(shape: ServerEvent)
258
-
259
- Servers.member = Shapes::ShapeRef.new(shape: Server)
260
-
261
- StartMaintenanceRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
262
- StartMaintenanceRequest.struct_class = Types::StartMaintenanceRequest
263
-
264
- StartMaintenanceResponse.add_member(:server, Shapes::ShapeRef.new(shape: Server, location_name: "Server"))
265
- StartMaintenanceResponse.struct_class = Types::StartMaintenanceResponse
266
-
267
- Strings.member = Shapes::ShapeRef.new(shape: String)
268
-
269
- UpdateServerEngineAttributesRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
270
- UpdateServerEngineAttributesRequest.add_member(:attribute_name, Shapes::ShapeRef.new(shape: AttributeName, required: true, location_name: "AttributeName"))
271
- UpdateServerEngineAttributesRequest.add_member(:attribute_value, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "AttributeValue"))
272
- UpdateServerEngineAttributesRequest.struct_class = Types::UpdateServerEngineAttributesRequest
273
-
274
- UpdateServerEngineAttributesResponse.add_member(:server, Shapes::ShapeRef.new(shape: Server, location_name: "Server"))
275
- UpdateServerEngineAttributesResponse.struct_class = Types::UpdateServerEngineAttributesResponse
276
-
277
- UpdateServerRequest.add_member(:disable_automated_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableAutomatedBackup"))
278
- UpdateServerRequest.add_member(:backup_retention_count, Shapes::ShapeRef.new(shape: Integer, location_name: "BackupRetentionCount"))
279
- UpdateServerRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
280
- UpdateServerRequest.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredMaintenanceWindow"))
281
- UpdateServerRequest.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredBackupWindow"))
282
- UpdateServerRequest.struct_class = Types::UpdateServerRequest
283
-
284
- UpdateServerResponse.add_member(:server, Shapes::ShapeRef.new(shape: Server, location_name: "Server"))
285
- UpdateServerResponse.struct_class = Types::UpdateServerResponse
286
-
287
-
288
- # @api private
289
- API = Seahorse::Model::Api.new.tap do |api|
290
-
291
- api.version = "2016-11-01"
292
-
293
- api.metadata = {
294
- "endpointPrefix" => "opsworks-cm",
295
- "jsonVersion" => "1.1",
296
- "protocol" => "json",
297
- "serviceFullName" => "AWS OpsWorks for Chef Automate",
298
- "signatureVersion" => "v4",
299
- "signingName" => "opsworks-cm",
300
- "targetPrefix" => "OpsWorksCM_V2016_11_01",
301
- }
302
-
303
- api.add_operation(:associate_node, Seahorse::Model::Operation.new.tap do |o|
304
- o.name = "AssociateNode"
305
- o.http_method = "POST"
306
- o.http_request_uri = "/"
307
- o.input = Shapes::ShapeRef.new(shape: AssociateNodeRequest)
308
- o.output = Shapes::ShapeRef.new(shape: AssociateNodeResponse)
309
- o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
310
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
311
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
312
- end)
313
-
314
- api.add_operation(:create_backup, Seahorse::Model::Operation.new.tap do |o|
315
- o.name = "CreateBackup"
316
- o.http_method = "POST"
317
- o.http_request_uri = "/"
318
- o.input = Shapes::ShapeRef.new(shape: CreateBackupRequest)
319
- o.output = Shapes::ShapeRef.new(shape: CreateBackupResponse)
320
- o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
321
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
322
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
323
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
324
- end)
325
-
326
- api.add_operation(:create_server, Seahorse::Model::Operation.new.tap do |o|
327
- o.name = "CreateServer"
328
- o.http_method = "POST"
329
- o.http_request_uri = "/"
330
- o.input = Shapes::ShapeRef.new(shape: CreateServerRequest)
331
- o.output = Shapes::ShapeRef.new(shape: CreateServerResponse)
332
- o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
333
- o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
334
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
335
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
336
- end)
337
-
338
- api.add_operation(:delete_backup, Seahorse::Model::Operation.new.tap do |o|
339
- o.name = "DeleteBackup"
340
- o.http_method = "POST"
341
- o.http_request_uri = "/"
342
- o.input = Shapes::ShapeRef.new(shape: DeleteBackupRequest)
343
- o.output = Shapes::ShapeRef.new(shape: DeleteBackupResponse)
344
- o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
345
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
346
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
347
- end)
348
-
349
- api.add_operation(:delete_server, Seahorse::Model::Operation.new.tap do |o|
350
- o.name = "DeleteServer"
351
- o.http_method = "POST"
352
- o.http_request_uri = "/"
353
- o.input = Shapes::ShapeRef.new(shape: DeleteServerRequest)
354
- o.output = Shapes::ShapeRef.new(shape: DeleteServerResponse)
355
- o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
356
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
357
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
358
- end)
359
-
360
- api.add_operation(:describe_account_attributes, Seahorse::Model::Operation.new.tap do |o|
361
- o.name = "DescribeAccountAttributes"
362
- o.http_method = "POST"
363
- o.http_request_uri = "/"
364
- o.input = Shapes::ShapeRef.new(shape: DescribeAccountAttributesRequest)
365
- o.output = Shapes::ShapeRef.new(shape: DescribeAccountAttributesResponse)
366
- end)
367
-
368
- api.add_operation(:describe_backups, Seahorse::Model::Operation.new.tap do |o|
369
- o.name = "DescribeBackups"
370
- o.http_method = "POST"
371
- o.http_request_uri = "/"
372
- o.input = Shapes::ShapeRef.new(shape: DescribeBackupsRequest)
373
- o.output = Shapes::ShapeRef.new(shape: DescribeBackupsResponse)
374
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
375
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
376
- o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
377
- end)
378
-
379
- api.add_operation(:describe_events, Seahorse::Model::Operation.new.tap do |o|
380
- o.name = "DescribeEvents"
381
- o.http_method = "POST"
382
- o.http_request_uri = "/"
383
- o.input = Shapes::ShapeRef.new(shape: DescribeEventsRequest)
384
- o.output = Shapes::ShapeRef.new(shape: DescribeEventsResponse)
385
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
386
- o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
387
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
388
- end)
389
-
390
- api.add_operation(:describe_node_association_status, Seahorse::Model::Operation.new.tap do |o|
391
- o.name = "DescribeNodeAssociationStatus"
392
- o.http_method = "POST"
393
- o.http_request_uri = "/"
394
- o.input = Shapes::ShapeRef.new(shape: DescribeNodeAssociationStatusRequest)
395
- o.output = Shapes::ShapeRef.new(shape: DescribeNodeAssociationStatusResponse)
396
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
397
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
398
- end)
399
-
400
- api.add_operation(:describe_servers, Seahorse::Model::Operation.new.tap do |o|
401
- o.name = "DescribeServers"
402
- o.http_method = "POST"
403
- o.http_request_uri = "/"
404
- o.input = Shapes::ShapeRef.new(shape: DescribeServersRequest)
405
- o.output = Shapes::ShapeRef.new(shape: DescribeServersResponse)
406
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
407
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
408
- o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
409
- end)
410
-
411
- api.add_operation(:disassociate_node, Seahorse::Model::Operation.new.tap do |o|
412
- o.name = "DisassociateNode"
413
- o.http_method = "POST"
414
- o.http_request_uri = "/"
415
- o.input = Shapes::ShapeRef.new(shape: DisassociateNodeRequest)
416
- o.output = Shapes::ShapeRef.new(shape: DisassociateNodeResponse)
417
- o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
418
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
419
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
420
- end)
421
-
422
- api.add_operation(:restore_server, Seahorse::Model::Operation.new.tap do |o|
423
- o.name = "RestoreServer"
424
- o.http_method = "POST"
425
- o.http_request_uri = "/"
426
- o.input = Shapes::ShapeRef.new(shape: RestoreServerRequest)
427
- o.output = Shapes::ShapeRef.new(shape: RestoreServerResponse)
428
- o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
429
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
430
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
431
- end)
432
-
433
- api.add_operation(:start_maintenance, Seahorse::Model::Operation.new.tap do |o|
434
- o.name = "StartMaintenance"
435
- o.http_method = "POST"
436
- o.http_request_uri = "/"
437
- o.input = Shapes::ShapeRef.new(shape: StartMaintenanceRequest)
438
- o.output = Shapes::ShapeRef.new(shape: StartMaintenanceResponse)
439
- o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
440
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
441
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
442
- end)
443
-
444
- api.add_operation(:update_server, Seahorse::Model::Operation.new.tap do |o|
445
- o.name = "UpdateServer"
446
- o.http_method = "POST"
447
- o.http_request_uri = "/"
448
- o.input = Shapes::ShapeRef.new(shape: UpdateServerRequest)
449
- o.output = Shapes::ShapeRef.new(shape: UpdateServerResponse)
450
- o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
451
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
452
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
453
- end)
454
-
455
- api.add_operation(:update_server_engine_attributes, Seahorse::Model::Operation.new.tap do |o|
456
- o.name = "UpdateServerEngineAttributes"
457
- o.http_method = "POST"
458
- o.http_request_uri = "/"
459
- o.input = Shapes::ShapeRef.new(shape: UpdateServerEngineAttributesRequest)
460
- o.output = Shapes::ShapeRef.new(shape: UpdateServerEngineAttributesResponse)
461
- o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
462
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
463
- o.errors << Shapes::ShapeRef.new(shape: ValidationException)
464
- end)
465
- end
8
+ module Aws::OpsWorksCM
9
+ # @api private
10
+ module ClientApi
11
+
12
+ include Seahorse::Model
13
+
14
+ AccountAttribute = Shapes::StructureShape.new(name: 'AccountAttribute')
15
+ AccountAttributes = Shapes::ListShape.new(name: 'AccountAttributes')
16
+ AssociateNodeRequest = Shapes::StructureShape.new(name: 'AssociateNodeRequest')
17
+ AssociateNodeResponse = Shapes::StructureShape.new(name: 'AssociateNodeResponse')
18
+ AttributeName = Shapes::StringShape.new(name: 'AttributeName')
19
+ AttributeValue = Shapes::StringShape.new(name: 'AttributeValue')
20
+ Backup = Shapes::StructureShape.new(name: 'Backup')
21
+ BackupId = Shapes::StringShape.new(name: 'BackupId')
22
+ BackupRetentionCountDefinition = Shapes::IntegerShape.new(name: 'BackupRetentionCountDefinition')
23
+ BackupStatus = Shapes::StringShape.new(name: 'BackupStatus')
24
+ BackupType = Shapes::StringShape.new(name: 'BackupType')
25
+ Backups = Shapes::ListShape.new(name: 'Backups')
26
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
27
+ CreateBackupRequest = Shapes::StructureShape.new(name: 'CreateBackupRequest')
28
+ CreateBackupResponse = Shapes::StructureShape.new(name: 'CreateBackupResponse')
29
+ CreateServerRequest = Shapes::StructureShape.new(name: 'CreateServerRequest')
30
+ CreateServerResponse = Shapes::StructureShape.new(name: 'CreateServerResponse')
31
+ DeleteBackupRequest = Shapes::StructureShape.new(name: 'DeleteBackupRequest')
32
+ DeleteBackupResponse = Shapes::StructureShape.new(name: 'DeleteBackupResponse')
33
+ DeleteServerRequest = Shapes::StructureShape.new(name: 'DeleteServerRequest')
34
+ DeleteServerResponse = Shapes::StructureShape.new(name: 'DeleteServerResponse')
35
+ DescribeAccountAttributesRequest = Shapes::StructureShape.new(name: 'DescribeAccountAttributesRequest')
36
+ DescribeAccountAttributesResponse = Shapes::StructureShape.new(name: 'DescribeAccountAttributesResponse')
37
+ DescribeBackupsRequest = Shapes::StructureShape.new(name: 'DescribeBackupsRequest')
38
+ DescribeBackupsResponse = Shapes::StructureShape.new(name: 'DescribeBackupsResponse')
39
+ DescribeEventsRequest = Shapes::StructureShape.new(name: 'DescribeEventsRequest')
40
+ DescribeEventsResponse = Shapes::StructureShape.new(name: 'DescribeEventsResponse')
41
+ DescribeNodeAssociationStatusRequest = Shapes::StructureShape.new(name: 'DescribeNodeAssociationStatusRequest')
42
+ DescribeNodeAssociationStatusResponse = Shapes::StructureShape.new(name: 'DescribeNodeAssociationStatusResponse')
43
+ DescribeServersRequest = Shapes::StructureShape.new(name: 'DescribeServersRequest')
44
+ DescribeServersResponse = Shapes::StructureShape.new(name: 'DescribeServersResponse')
45
+ DisassociateNodeRequest = Shapes::StructureShape.new(name: 'DisassociateNodeRequest')
46
+ DisassociateNodeResponse = Shapes::StructureShape.new(name: 'DisassociateNodeResponse')
47
+ EngineAttribute = Shapes::StructureShape.new(name: 'EngineAttribute')
48
+ EngineAttributeName = Shapes::StringShape.new(name: 'EngineAttributeName')
49
+ EngineAttributeValue = Shapes::StringShape.new(name: 'EngineAttributeValue')
50
+ EngineAttributes = Shapes::ListShape.new(name: 'EngineAttributes')
51
+ InstanceProfileArn = Shapes::StringShape.new(name: 'InstanceProfileArn')
52
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
53
+ InvalidNextTokenException = Shapes::StructureShape.new(name: 'InvalidNextTokenException')
54
+ InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
55
+ KeyPair = Shapes::StringShape.new(name: 'KeyPair')
56
+ LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
57
+ MaintenanceStatus = Shapes::StringShape.new(name: 'MaintenanceStatus')
58
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
59
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
60
+ NodeAssociationStatus = Shapes::StringShape.new(name: 'NodeAssociationStatus')
61
+ NodeAssociationStatusToken = Shapes::StringShape.new(name: 'NodeAssociationStatusToken')
62
+ NodeName = Shapes::StringShape.new(name: 'NodeName')
63
+ ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
64
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
65
+ RestoreServerRequest = Shapes::StructureShape.new(name: 'RestoreServerRequest')
66
+ RestoreServerResponse = Shapes::StructureShape.new(name: 'RestoreServerResponse')
67
+ Server = Shapes::StructureShape.new(name: 'Server')
68
+ ServerEvent = Shapes::StructureShape.new(name: 'ServerEvent')
69
+ ServerEvents = Shapes::ListShape.new(name: 'ServerEvents')
70
+ ServerName = Shapes::StringShape.new(name: 'ServerName')
71
+ ServerStatus = Shapes::StringShape.new(name: 'ServerStatus')
72
+ Servers = Shapes::ListShape.new(name: 'Servers')
73
+ ServiceRoleArn = Shapes::StringShape.new(name: 'ServiceRoleArn')
74
+ StartMaintenanceRequest = Shapes::StructureShape.new(name: 'StartMaintenanceRequest')
75
+ StartMaintenanceResponse = Shapes::StructureShape.new(name: 'StartMaintenanceResponse')
76
+ String = Shapes::StringShape.new(name: 'String')
77
+ Strings = Shapes::ListShape.new(name: 'Strings')
78
+ TimeWindowDefinition = Shapes::StringShape.new(name: 'TimeWindowDefinition')
79
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
80
+ UpdateServerEngineAttributesRequest = Shapes::StructureShape.new(name: 'UpdateServerEngineAttributesRequest')
81
+ UpdateServerEngineAttributesResponse = Shapes::StructureShape.new(name: 'UpdateServerEngineAttributesResponse')
82
+ UpdateServerRequest = Shapes::StructureShape.new(name: 'UpdateServerRequest')
83
+ UpdateServerResponse = Shapes::StructureShape.new(name: 'UpdateServerResponse')
84
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
85
+
86
+ AccountAttribute.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
87
+ AccountAttribute.add_member(:maximum, Shapes::ShapeRef.new(shape: Integer, location_name: "Maximum"))
88
+ AccountAttribute.add_member(:used, Shapes::ShapeRef.new(shape: Integer, location_name: "Used"))
89
+ AccountAttribute.struct_class = Types::AccountAttribute
90
+
91
+ AccountAttributes.member = Shapes::ShapeRef.new(shape: AccountAttribute)
92
+
93
+ AssociateNodeRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
94
+ AssociateNodeRequest.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "NodeName"))
95
+ AssociateNodeRequest.add_member(:engine_attributes, Shapes::ShapeRef.new(shape: EngineAttributes, required: true, location_name: "EngineAttributes"))
96
+ AssociateNodeRequest.struct_class = Types::AssociateNodeRequest
97
+
98
+ AssociateNodeResponse.add_member(:node_association_status_token, Shapes::ShapeRef.new(shape: NodeAssociationStatusToken, location_name: "NodeAssociationStatusToken"))
99
+ AssociateNodeResponse.struct_class = Types::AssociateNodeResponse
100
+
101
+ Backup.add_member(:backup_arn, Shapes::ShapeRef.new(shape: String, location_name: "BackupArn"))
102
+ Backup.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "BackupId"))
103
+ Backup.add_member(:backup_type, Shapes::ShapeRef.new(shape: BackupType, location_name: "BackupType"))
104
+ Backup.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
105
+ Backup.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
106
+ Backup.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
107
+ Backup.add_member(:engine_model, Shapes::ShapeRef.new(shape: String, location_name: "EngineModel"))
108
+ Backup.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
109
+ Backup.add_member(:instance_profile_arn, Shapes::ShapeRef.new(shape: String, location_name: "InstanceProfileArn"))
110
+ Backup.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "InstanceType"))
111
+ Backup.add_member(:key_pair, Shapes::ShapeRef.new(shape: String, location_name: "KeyPair"))
112
+ Backup.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredBackupWindow"))
113
+ Backup.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredMaintenanceWindow"))
114
+ Backup.add_member(:s3_data_size, Shapes::ShapeRef.new(shape: Integer, deprecated: true, location_name: "S3DataSize"))
115
+ Backup.add_member(:s3_data_url, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "S3DataUrl"))
116
+ Backup.add_member(:s3_log_url, Shapes::ShapeRef.new(shape: String, location_name: "S3LogUrl"))
117
+ Backup.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: Strings, location_name: "SecurityGroupIds"))
118
+ Backup.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, location_name: "ServerName"))
119
+ Backup.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "ServiceRoleArn"))
120
+ Backup.add_member(:status, Shapes::ShapeRef.new(shape: BackupStatus, location_name: "Status"))
121
+ Backup.add_member(:status_description, Shapes::ShapeRef.new(shape: String, location_name: "StatusDescription"))
122
+ Backup.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: Strings, location_name: "SubnetIds"))
123
+ Backup.add_member(:tools_version, Shapes::ShapeRef.new(shape: String, location_name: "ToolsVersion"))
124
+ Backup.add_member(:user_arn, Shapes::ShapeRef.new(shape: String, location_name: "UserArn"))
125
+ Backup.struct_class = Types::Backup
126
+
127
+ Backups.member = Shapes::ShapeRef.new(shape: Backup)
128
+
129
+ CreateBackupRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
130
+ CreateBackupRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
131
+ CreateBackupRequest.struct_class = Types::CreateBackupRequest
132
+
133
+ CreateBackupResponse.add_member(:backup, Shapes::ShapeRef.new(shape: Backup, location_name: "Backup"))
134
+ CreateBackupResponse.struct_class = Types::CreateBackupResponse
135
+
136
+ CreateServerRequest.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssociatePublicIpAddress"))
137
+ CreateServerRequest.add_member(:disable_automated_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableAutomatedBackup"))
138
+ CreateServerRequest.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
139
+ CreateServerRequest.add_member(:engine_model, Shapes::ShapeRef.new(shape: String, location_name: "EngineModel"))
140
+ CreateServerRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
141
+ CreateServerRequest.add_member(:engine_attributes, Shapes::ShapeRef.new(shape: EngineAttributes, location_name: "EngineAttributes"))
142
+ CreateServerRequest.add_member(:backup_retention_count, Shapes::ShapeRef.new(shape: BackupRetentionCountDefinition, location_name: "BackupRetentionCount"))
143
+ CreateServerRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
144
+ CreateServerRequest.add_member(:instance_profile_arn, Shapes::ShapeRef.new(shape: InstanceProfileArn, required: true, location_name: "InstanceProfileArn"))
145
+ CreateServerRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceType"))
146
+ CreateServerRequest.add_member(:key_pair, Shapes::ShapeRef.new(shape: KeyPair, location_name: "KeyPair"))
147
+ CreateServerRequest.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredMaintenanceWindow"))
148
+ CreateServerRequest.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredBackupWindow"))
149
+ CreateServerRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: Strings, location_name: "SecurityGroupIds"))
150
+ CreateServerRequest.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: ServiceRoleArn, required: true, location_name: "ServiceRoleArn"))
151
+ CreateServerRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: Strings, location_name: "SubnetIds"))
152
+ CreateServerRequest.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "BackupId"))
153
+ CreateServerRequest.struct_class = Types::CreateServerRequest
154
+
155
+ CreateServerResponse.add_member(:server, Shapes::ShapeRef.new(shape: Server, location_name: "Server"))
156
+ CreateServerResponse.struct_class = Types::CreateServerResponse
157
+
158
+ DeleteBackupRequest.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, required: true, location_name: "BackupId"))
159
+ DeleteBackupRequest.struct_class = Types::DeleteBackupRequest
160
+
161
+ DeleteBackupResponse.struct_class = Types::DeleteBackupResponse
162
+
163
+ DeleteServerRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
164
+ DeleteServerRequest.struct_class = Types::DeleteServerRequest
165
+
166
+ DeleteServerResponse.struct_class = Types::DeleteServerResponse
167
+
168
+ DescribeAccountAttributesRequest.struct_class = Types::DescribeAccountAttributesRequest
169
+
170
+ DescribeAccountAttributesResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: AccountAttributes, location_name: "Attributes"))
171
+ DescribeAccountAttributesResponse.struct_class = Types::DescribeAccountAttributesResponse
172
+
173
+ DescribeBackupsRequest.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, location_name: "BackupId"))
174
+ DescribeBackupsRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, location_name: "ServerName"))
175
+ DescribeBackupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
176
+ DescribeBackupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
177
+ DescribeBackupsRequest.struct_class = Types::DescribeBackupsRequest
178
+
179
+ DescribeBackupsResponse.add_member(:backups, Shapes::ShapeRef.new(shape: Backups, location_name: "Backups"))
180
+ DescribeBackupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
181
+ DescribeBackupsResponse.struct_class = Types::DescribeBackupsResponse
182
+
183
+ DescribeEventsRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
184
+ DescribeEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
185
+ DescribeEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
186
+ DescribeEventsRequest.struct_class = Types::DescribeEventsRequest
187
+
188
+ DescribeEventsResponse.add_member(:server_events, Shapes::ShapeRef.new(shape: ServerEvents, location_name: "ServerEvents"))
189
+ DescribeEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
190
+ DescribeEventsResponse.struct_class = Types::DescribeEventsResponse
191
+
192
+ DescribeNodeAssociationStatusRequest.add_member(:node_association_status_token, Shapes::ShapeRef.new(shape: NodeAssociationStatusToken, required: true, location_name: "NodeAssociationStatusToken"))
193
+ DescribeNodeAssociationStatusRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
194
+ DescribeNodeAssociationStatusRequest.struct_class = Types::DescribeNodeAssociationStatusRequest
195
+
196
+ DescribeNodeAssociationStatusResponse.add_member(:node_association_status, Shapes::ShapeRef.new(shape: NodeAssociationStatus, location_name: "NodeAssociationStatus"))
197
+ DescribeNodeAssociationStatusResponse.struct_class = Types::DescribeNodeAssociationStatusResponse
198
+
199
+ DescribeServersRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, location_name: "ServerName"))
200
+ DescribeServersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
201
+ DescribeServersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
202
+ DescribeServersRequest.struct_class = Types::DescribeServersRequest
203
+
204
+ DescribeServersResponse.add_member(:servers, Shapes::ShapeRef.new(shape: Servers, location_name: "Servers"))
205
+ DescribeServersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
206
+ DescribeServersResponse.struct_class = Types::DescribeServersResponse
207
+
208
+ DisassociateNodeRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
209
+ DisassociateNodeRequest.add_member(:node_name, Shapes::ShapeRef.new(shape: NodeName, required: true, location_name: "NodeName"))
210
+ DisassociateNodeRequest.add_member(:engine_attributes, Shapes::ShapeRef.new(shape: EngineAttributes, location_name: "EngineAttributes"))
211
+ DisassociateNodeRequest.struct_class = Types::DisassociateNodeRequest
212
+
213
+ DisassociateNodeResponse.add_member(:node_association_status_token, Shapes::ShapeRef.new(shape: NodeAssociationStatusToken, location_name: "NodeAssociationStatusToken"))
214
+ DisassociateNodeResponse.struct_class = Types::DisassociateNodeResponse
215
+
216
+ EngineAttribute.add_member(:name, Shapes::ShapeRef.new(shape: EngineAttributeName, location_name: "Name"))
217
+ EngineAttribute.add_member(:value, Shapes::ShapeRef.new(shape: EngineAttributeValue, location_name: "Value"))
218
+ EngineAttribute.struct_class = Types::EngineAttribute
219
+
220
+ EngineAttributes.member = Shapes::ShapeRef.new(shape: EngineAttribute)
221
+
222
+ RestoreServerRequest.add_member(:backup_id, Shapes::ShapeRef.new(shape: BackupId, required: true, location_name: "BackupId"))
223
+ RestoreServerRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
224
+ RestoreServerRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "InstanceType"))
225
+ RestoreServerRequest.add_member(:key_pair, Shapes::ShapeRef.new(shape: KeyPair, location_name: "KeyPair"))
226
+ RestoreServerRequest.struct_class = Types::RestoreServerRequest
227
+
228
+ RestoreServerResponse.struct_class = Types::RestoreServerResponse
229
+
230
+ Server.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: Boolean, location_name: "AssociatePublicIpAddress"))
231
+ Server.add_member(:backup_retention_count, Shapes::ShapeRef.new(shape: Integer, location_name: "BackupRetentionCount"))
232
+ Server.add_member(:server_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerName"))
233
+ Server.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
234
+ Server.add_member(:cloud_formation_stack_arn, Shapes::ShapeRef.new(shape: String, location_name: "CloudFormationStackArn"))
235
+ Server.add_member(:disable_automated_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableAutomatedBackup"))
236
+ Server.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "Endpoint"))
237
+ Server.add_member(:engine, Shapes::ShapeRef.new(shape: String, location_name: "Engine"))
238
+ Server.add_member(:engine_model, Shapes::ShapeRef.new(shape: String, location_name: "EngineModel"))
239
+ Server.add_member(:engine_attributes, Shapes::ShapeRef.new(shape: EngineAttributes, location_name: "EngineAttributes"))
240
+ Server.add_member(:engine_version, Shapes::ShapeRef.new(shape: String, location_name: "EngineVersion"))
241
+ Server.add_member(:instance_profile_arn, Shapes::ShapeRef.new(shape: String, location_name: "InstanceProfileArn"))
242
+ Server.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "InstanceType"))
243
+ Server.add_member(:key_pair, Shapes::ShapeRef.new(shape: String, location_name: "KeyPair"))
244
+ Server.add_member(:maintenance_status, Shapes::ShapeRef.new(shape: MaintenanceStatus, location_name: "MaintenanceStatus"))
245
+ Server.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredMaintenanceWindow"))
246
+ Server.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredBackupWindow"))
247
+ Server.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: Strings, location_name: "SecurityGroupIds"))
248
+ Server.add_member(:service_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "ServiceRoleArn"))
249
+ Server.add_member(:status, Shapes::ShapeRef.new(shape: ServerStatus, location_name: "Status"))
250
+ Server.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "StatusReason"))
251
+ Server.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: Strings, location_name: "SubnetIds"))
252
+ Server.add_member(:server_arn, Shapes::ShapeRef.new(shape: String, location_name: "ServerArn"))
253
+ Server.struct_class = Types::Server
254
+
255
+ ServerEvent.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedAt"))
256
+ ServerEvent.add_member(:server_name, Shapes::ShapeRef.new(shape: String, location_name: "ServerName"))
257
+ ServerEvent.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
258
+ ServerEvent.add_member(:log_url, Shapes::ShapeRef.new(shape: String, location_name: "LogUrl"))
259
+ ServerEvent.struct_class = Types::ServerEvent
260
+
261
+ ServerEvents.member = Shapes::ShapeRef.new(shape: ServerEvent)
262
+
263
+ Servers.member = Shapes::ShapeRef.new(shape: Server)
264
+
265
+ StartMaintenanceRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
266
+ StartMaintenanceRequest.struct_class = Types::StartMaintenanceRequest
267
+
268
+ StartMaintenanceResponse.add_member(:server, Shapes::ShapeRef.new(shape: Server, location_name: "Server"))
269
+ StartMaintenanceResponse.struct_class = Types::StartMaintenanceResponse
270
+
271
+ Strings.member = Shapes::ShapeRef.new(shape: String)
272
+
273
+ UpdateServerEngineAttributesRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
274
+ UpdateServerEngineAttributesRequest.add_member(:attribute_name, Shapes::ShapeRef.new(shape: AttributeName, required: true, location_name: "AttributeName"))
275
+ UpdateServerEngineAttributesRequest.add_member(:attribute_value, Shapes::ShapeRef.new(shape: AttributeValue, location_name: "AttributeValue"))
276
+ UpdateServerEngineAttributesRequest.struct_class = Types::UpdateServerEngineAttributesRequest
277
+
278
+ UpdateServerEngineAttributesResponse.add_member(:server, Shapes::ShapeRef.new(shape: Server, location_name: "Server"))
279
+ UpdateServerEngineAttributesResponse.struct_class = Types::UpdateServerEngineAttributesResponse
280
+
281
+ UpdateServerRequest.add_member(:disable_automated_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "DisableAutomatedBackup"))
282
+ UpdateServerRequest.add_member(:backup_retention_count, Shapes::ShapeRef.new(shape: Integer, location_name: "BackupRetentionCount"))
283
+ UpdateServerRequest.add_member(:server_name, Shapes::ShapeRef.new(shape: ServerName, required: true, location_name: "ServerName"))
284
+ UpdateServerRequest.add_member(:preferred_maintenance_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredMaintenanceWindow"))
285
+ UpdateServerRequest.add_member(:preferred_backup_window, Shapes::ShapeRef.new(shape: TimeWindowDefinition, location_name: "PreferredBackupWindow"))
286
+ UpdateServerRequest.struct_class = Types::UpdateServerRequest
287
+
288
+ UpdateServerResponse.add_member(:server, Shapes::ShapeRef.new(shape: Server, location_name: "Server"))
289
+ UpdateServerResponse.struct_class = Types::UpdateServerResponse
290
+
466
291
 
292
+ # @api private
293
+ API = Seahorse::Model::Api.new.tap do |api|
294
+
295
+ api.version = "2016-11-01"
296
+
297
+ api.metadata = {
298
+ "endpointPrefix" => "opsworks-cm",
299
+ "jsonVersion" => "1.1",
300
+ "protocol" => "json",
301
+ "serviceFullName" => "AWS OpsWorks for Chef Automate",
302
+ "signatureVersion" => "v4",
303
+ "signingName" => "opsworks-cm",
304
+ "targetPrefix" => "OpsWorksCM_V2016_11_01",
305
+ }
306
+
307
+ api.add_operation(:associate_node, Seahorse::Model::Operation.new.tap do |o|
308
+ o.name = "AssociateNode"
309
+ o.http_method = "POST"
310
+ o.http_request_uri = "/"
311
+ o.input = Shapes::ShapeRef.new(shape: AssociateNodeRequest)
312
+ o.output = Shapes::ShapeRef.new(shape: AssociateNodeResponse)
313
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
314
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
315
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
316
+ end)
317
+
318
+ api.add_operation(:create_backup, Seahorse::Model::Operation.new.tap do |o|
319
+ o.name = "CreateBackup"
320
+ o.http_method = "POST"
321
+ o.http_request_uri = "/"
322
+ o.input = Shapes::ShapeRef.new(shape: CreateBackupRequest)
323
+ o.output = Shapes::ShapeRef.new(shape: CreateBackupResponse)
324
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
325
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
326
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
327
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
328
+ end)
329
+
330
+ api.add_operation(:create_server, Seahorse::Model::Operation.new.tap do |o|
331
+ o.name = "CreateServer"
332
+ o.http_method = "POST"
333
+ o.http_request_uri = "/"
334
+ o.input = Shapes::ShapeRef.new(shape: CreateServerRequest)
335
+ o.output = Shapes::ShapeRef.new(shape: CreateServerResponse)
336
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
337
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
338
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
339
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
340
+ end)
341
+
342
+ api.add_operation(:delete_backup, Seahorse::Model::Operation.new.tap do |o|
343
+ o.name = "DeleteBackup"
344
+ o.http_method = "POST"
345
+ o.http_request_uri = "/"
346
+ o.input = Shapes::ShapeRef.new(shape: DeleteBackupRequest)
347
+ o.output = Shapes::ShapeRef.new(shape: DeleteBackupResponse)
348
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
349
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
350
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
351
+ end)
352
+
353
+ api.add_operation(:delete_server, Seahorse::Model::Operation.new.tap do |o|
354
+ o.name = "DeleteServer"
355
+ o.http_method = "POST"
356
+ o.http_request_uri = "/"
357
+ o.input = Shapes::ShapeRef.new(shape: DeleteServerRequest)
358
+ o.output = Shapes::ShapeRef.new(shape: DeleteServerResponse)
359
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
360
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
361
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
362
+ end)
363
+
364
+ api.add_operation(:describe_account_attributes, Seahorse::Model::Operation.new.tap do |o|
365
+ o.name = "DescribeAccountAttributes"
366
+ o.http_method = "POST"
367
+ o.http_request_uri = "/"
368
+ o.input = Shapes::ShapeRef.new(shape: DescribeAccountAttributesRequest)
369
+ o.output = Shapes::ShapeRef.new(shape: DescribeAccountAttributesResponse)
370
+ end)
371
+
372
+ api.add_operation(:describe_backups, Seahorse::Model::Operation.new.tap do |o|
373
+ o.name = "DescribeBackups"
374
+ o.http_method = "POST"
375
+ o.http_request_uri = "/"
376
+ o.input = Shapes::ShapeRef.new(shape: DescribeBackupsRequest)
377
+ o.output = Shapes::ShapeRef.new(shape: DescribeBackupsResponse)
378
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
379
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
380
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
381
+ end)
382
+
383
+ api.add_operation(:describe_events, Seahorse::Model::Operation.new.tap do |o|
384
+ o.name = "DescribeEvents"
385
+ o.http_method = "POST"
386
+ o.http_request_uri = "/"
387
+ o.input = Shapes::ShapeRef.new(shape: DescribeEventsRequest)
388
+ o.output = Shapes::ShapeRef.new(shape: DescribeEventsResponse)
389
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
390
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
391
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
392
+ end)
393
+
394
+ api.add_operation(:describe_node_association_status, Seahorse::Model::Operation.new.tap do |o|
395
+ o.name = "DescribeNodeAssociationStatus"
396
+ o.http_method = "POST"
397
+ o.http_request_uri = "/"
398
+ o.input = Shapes::ShapeRef.new(shape: DescribeNodeAssociationStatusRequest)
399
+ o.output = Shapes::ShapeRef.new(shape: DescribeNodeAssociationStatusResponse)
400
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
401
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
402
+ end)
403
+
404
+ api.add_operation(:describe_servers, Seahorse::Model::Operation.new.tap do |o|
405
+ o.name = "DescribeServers"
406
+ o.http_method = "POST"
407
+ o.http_request_uri = "/"
408
+ o.input = Shapes::ShapeRef.new(shape: DescribeServersRequest)
409
+ o.output = Shapes::ShapeRef.new(shape: DescribeServersResponse)
410
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
411
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
412
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
413
+ end)
414
+
415
+ api.add_operation(:disassociate_node, Seahorse::Model::Operation.new.tap do |o|
416
+ o.name = "DisassociateNode"
417
+ o.http_method = "POST"
418
+ o.http_request_uri = "/"
419
+ o.input = Shapes::ShapeRef.new(shape: DisassociateNodeRequest)
420
+ o.output = Shapes::ShapeRef.new(shape: DisassociateNodeResponse)
421
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
422
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
423
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
424
+ end)
425
+
426
+ api.add_operation(:restore_server, Seahorse::Model::Operation.new.tap do |o|
427
+ o.name = "RestoreServer"
428
+ o.http_method = "POST"
429
+ o.http_request_uri = "/"
430
+ o.input = Shapes::ShapeRef.new(shape: RestoreServerRequest)
431
+ o.output = Shapes::ShapeRef.new(shape: RestoreServerResponse)
432
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
433
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
434
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
435
+ end)
436
+
437
+ api.add_operation(:start_maintenance, Seahorse::Model::Operation.new.tap do |o|
438
+ o.name = "StartMaintenance"
439
+ o.http_method = "POST"
440
+ o.http_request_uri = "/"
441
+ o.input = Shapes::ShapeRef.new(shape: StartMaintenanceRequest)
442
+ o.output = Shapes::ShapeRef.new(shape: StartMaintenanceResponse)
443
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
444
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
445
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
446
+ end)
447
+
448
+ api.add_operation(:update_server, Seahorse::Model::Operation.new.tap do |o|
449
+ o.name = "UpdateServer"
450
+ o.http_method = "POST"
451
+ o.http_request_uri = "/"
452
+ o.input = Shapes::ShapeRef.new(shape: UpdateServerRequest)
453
+ o.output = Shapes::ShapeRef.new(shape: UpdateServerResponse)
454
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
455
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
456
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
457
+ end)
458
+
459
+ api.add_operation(:update_server_engine_attributes, Seahorse::Model::Operation.new.tap do |o|
460
+ o.name = "UpdateServerEngineAttributes"
461
+ o.http_method = "POST"
462
+ o.http_request_uri = "/"
463
+ o.input = Shapes::ShapeRef.new(shape: UpdateServerEngineAttributesRequest)
464
+ o.output = Shapes::ShapeRef.new(shape: UpdateServerEngineAttributesResponse)
465
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
466
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
467
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
468
+ end)
467
469
  end
470
+
468
471
  end
469
472
  end