aws-sdk-opsworkscm 1.0.0.rc2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,469 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
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
466
+
467
+ end
468
+ end
469
+ end