~ubuntu-branches/debian/stretch/golang-github-aws-aws-sdk-go/stretch

« back to all changes in this revision

Viewing changes to service/opsworks/api.go

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2015-09-29 12:34:07 UTC
  • Revision ID: package-import@ubuntu.com-20150929123407-7xmll3gdhvb9zh2l
Tags: upstream-0.9.9+dfsg
ImportĀ upstreamĀ versionĀ 0.9.9+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
 
2
 
 
3
// Package opsworks provides a client for AWS OpsWorks.
 
4
package opsworks
 
5
 
 
6
import (
 
7
        "github.com/aws/aws-sdk-go/aws/awsutil"
 
8
        "github.com/aws/aws-sdk-go/aws/request"
 
9
)
 
10
 
 
11
const opAssignInstance = "AssignInstance"
 
12
 
 
13
// AssignInstanceRequest generates a request for the AssignInstance operation.
 
14
func (c *OpsWorks) AssignInstanceRequest(input *AssignInstanceInput) (req *request.Request, output *AssignInstanceOutput) {
 
15
        op := &request.Operation{
 
16
                Name:       opAssignInstance,
 
17
                HTTPMethod: "POST",
 
18
                HTTPPath:   "/",
 
19
        }
 
20
 
 
21
        if input == nil {
 
22
                input = &AssignInstanceInput{}
 
23
        }
 
24
 
 
25
        req = c.newRequest(op, input, output)
 
26
        output = &AssignInstanceOutput{}
 
27
        req.Data = output
 
28
        return
 
29
}
 
30
 
 
31
// Assign a registered instance to a layer.
 
32
//
 
33
//  You can assign registered on-premises instances to any layer type. You
 
34
// can assign registered Amazon EC2 instances only to custom layers. You cannot
 
35
// use this action with instances that were created with AWS OpsWorks.  Required
 
36
// Permissions: To use this action, an AWS Identity and Access Management (IAM)
 
37
// user must have a Manage permissions level for the stack or an attached policy
 
38
// that explicitly grants permissions. For more information on user permissions,
 
39
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
40
func (c *OpsWorks) AssignInstance(input *AssignInstanceInput) (*AssignInstanceOutput, error) {
 
41
        req, out := c.AssignInstanceRequest(input)
 
42
        err := req.Send()
 
43
        return out, err
 
44
}
 
45
 
 
46
const opAssignVolume = "AssignVolume"
 
47
 
 
48
// AssignVolumeRequest generates a request for the AssignVolume operation.
 
49
func (c *OpsWorks) AssignVolumeRequest(input *AssignVolumeInput) (req *request.Request, output *AssignVolumeOutput) {
 
50
        op := &request.Operation{
 
51
                Name:       opAssignVolume,
 
52
                HTTPMethod: "POST",
 
53
                HTTPPath:   "/",
 
54
        }
 
55
 
 
56
        if input == nil {
 
57
                input = &AssignVolumeInput{}
 
58
        }
 
59
 
 
60
        req = c.newRequest(op, input, output)
 
61
        output = &AssignVolumeOutput{}
 
62
        req.Data = output
 
63
        return
 
64
}
 
65
 
 
66
// Assigns one of the stack's registered Amazon EBS volumes to a specified instance.
 
67
// The volume must first be registered with the stack by calling RegisterVolume.
 
68
// After you register the volume, you must call UpdateVolume to specify a mount
 
69
// point before calling AssignVolume. For more information, see Resource Management
 
70
// (http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).
 
71
//
 
72
// Required Permissions: To use this action, an IAM user must have a Manage
 
73
// permissions level for the stack, or an attached policy that explicitly grants
 
74
// permissions. For more information on user permissions, see Managing User
 
75
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
76
func (c *OpsWorks) AssignVolume(input *AssignVolumeInput) (*AssignVolumeOutput, error) {
 
77
        req, out := c.AssignVolumeRequest(input)
 
78
        err := req.Send()
 
79
        return out, err
 
80
}
 
81
 
 
82
const opAssociateElasticIp = "AssociateElasticIp"
 
83
 
 
84
// AssociateElasticIpRequest generates a request for the AssociateElasticIp operation.
 
85
func (c *OpsWorks) AssociateElasticIpRequest(input *AssociateElasticIpInput) (req *request.Request, output *AssociateElasticIpOutput) {
 
86
        op := &request.Operation{
 
87
                Name:       opAssociateElasticIp,
 
88
                HTTPMethod: "POST",
 
89
                HTTPPath:   "/",
 
90
        }
 
91
 
 
92
        if input == nil {
 
93
                input = &AssociateElasticIpInput{}
 
94
        }
 
95
 
 
96
        req = c.newRequest(op, input, output)
 
97
        output = &AssociateElasticIpOutput{}
 
98
        req.Data = output
 
99
        return
 
100
}
 
101
 
 
102
// Associates one of the stack's registered Elastic IP addresses with a specified
 
103
// instance. The address must first be registered with the stack by calling
 
104
// RegisterElasticIp. For more information, see Resource Management (http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).
 
105
//
 
106
// Required Permissions: To use this action, an IAM user must have a Manage
 
107
// permissions level for the stack, or an attached policy that explicitly grants
 
108
// permissions. For more information on user permissions, see Managing User
 
109
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
110
func (c *OpsWorks) AssociateElasticIp(input *AssociateElasticIpInput) (*AssociateElasticIpOutput, error) {
 
111
        req, out := c.AssociateElasticIpRequest(input)
 
112
        err := req.Send()
 
113
        return out, err
 
114
}
 
115
 
 
116
const opAttachElasticLoadBalancer = "AttachElasticLoadBalancer"
 
117
 
 
118
// AttachElasticLoadBalancerRequest generates a request for the AttachElasticLoadBalancer operation.
 
119
func (c *OpsWorks) AttachElasticLoadBalancerRequest(input *AttachElasticLoadBalancerInput) (req *request.Request, output *AttachElasticLoadBalancerOutput) {
 
120
        op := &request.Operation{
 
121
                Name:       opAttachElasticLoadBalancer,
 
122
                HTTPMethod: "POST",
 
123
                HTTPPath:   "/",
 
124
        }
 
125
 
 
126
        if input == nil {
 
127
                input = &AttachElasticLoadBalancerInput{}
 
128
        }
 
129
 
 
130
        req = c.newRequest(op, input, output)
 
131
        output = &AttachElasticLoadBalancerOutput{}
 
132
        req.Data = output
 
133
        return
 
134
}
 
135
 
 
136
// Attaches an Elastic Load Balancing load balancer to a specified layer. For
 
137
// more information, see Elastic Load Balancing (http://docs.aws.amazon.com/opsworks/latest/userguide/load-balancer-elb.html).
 
138
//
 
139
//  You must create the Elastic Load Balancing instance separately, by using
 
140
// the Elastic Load Balancing console, API, or CLI. For more information, see
 
141
//  Elastic Load Balancing Developer Guide (http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/Welcome.html).
 
142
//
 
143
//  Required Permissions: To use this action, an IAM user must have a Manage
 
144
// permissions level for the stack, or an attached policy that explicitly grants
 
145
// permissions. For more information on user permissions, see Managing User
 
146
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
147
func (c *OpsWorks) AttachElasticLoadBalancer(input *AttachElasticLoadBalancerInput) (*AttachElasticLoadBalancerOutput, error) {
 
148
        req, out := c.AttachElasticLoadBalancerRequest(input)
 
149
        err := req.Send()
 
150
        return out, err
 
151
}
 
152
 
 
153
const opCloneStack = "CloneStack"
 
154
 
 
155
// CloneStackRequest generates a request for the CloneStack operation.
 
156
func (c *OpsWorks) CloneStackRequest(input *CloneStackInput) (req *request.Request, output *CloneStackOutput) {
 
157
        op := &request.Operation{
 
158
                Name:       opCloneStack,
 
159
                HTTPMethod: "POST",
 
160
                HTTPPath:   "/",
 
161
        }
 
162
 
 
163
        if input == nil {
 
164
                input = &CloneStackInput{}
 
165
        }
 
166
 
 
167
        req = c.newRequest(op, input, output)
 
168
        output = &CloneStackOutput{}
 
169
        req.Data = output
 
170
        return
 
171
}
 
172
 
 
173
// Creates a clone of a specified stack. For more information, see Clone a Stack
 
174
// (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-cloning.html).
 
175
// By default, all parameters are set to the values used by the parent stack.
 
176
//
 
177
// Required Permissions: To use this action, an IAM user must have an attached
 
178
// policy that explicitly grants permissions. For more information on user permissions,
 
179
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
180
func (c *OpsWorks) CloneStack(input *CloneStackInput) (*CloneStackOutput, error) {
 
181
        req, out := c.CloneStackRequest(input)
 
182
        err := req.Send()
 
183
        return out, err
 
184
}
 
185
 
 
186
const opCreateApp = "CreateApp"
 
187
 
 
188
// CreateAppRequest generates a request for the CreateApp operation.
 
189
func (c *OpsWorks) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput) {
 
190
        op := &request.Operation{
 
191
                Name:       opCreateApp,
 
192
                HTTPMethod: "POST",
 
193
                HTTPPath:   "/",
 
194
        }
 
195
 
 
196
        if input == nil {
 
197
                input = &CreateAppInput{}
 
198
        }
 
199
 
 
200
        req = c.newRequest(op, input, output)
 
201
        output = &CreateAppOutput{}
 
202
        req.Data = output
 
203
        return
 
204
}
 
205
 
 
206
// Creates an app for a specified stack. For more information, see Creating
 
207
// Apps (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html).
 
208
//
 
209
// Required Permissions: To use this action, an IAM user must have a Manage
 
210
// permissions level for the stack, or an attached policy that explicitly grants
 
211
// permissions. For more information on user permissions, see Managing User
 
212
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
213
func (c *OpsWorks) CreateApp(input *CreateAppInput) (*CreateAppOutput, error) {
 
214
        req, out := c.CreateAppRequest(input)
 
215
        err := req.Send()
 
216
        return out, err
 
217
}
 
218
 
 
219
const opCreateDeployment = "CreateDeployment"
 
220
 
 
221
// CreateDeploymentRequest generates a request for the CreateDeployment operation.
 
222
func (c *OpsWorks) CreateDeploymentRequest(input *CreateDeploymentInput) (req *request.Request, output *CreateDeploymentOutput) {
 
223
        op := &request.Operation{
 
224
                Name:       opCreateDeployment,
 
225
                HTTPMethod: "POST",
 
226
                HTTPPath:   "/",
 
227
        }
 
228
 
 
229
        if input == nil {
 
230
                input = &CreateDeploymentInput{}
 
231
        }
 
232
 
 
233
        req = c.newRequest(op, input, output)
 
234
        output = &CreateDeploymentOutput{}
 
235
        req.Data = output
 
236
        return
 
237
}
 
238
 
 
239
// Runs deployment or stack commands. For more information, see Deploying Apps
 
240
// (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-deploying.html)
 
241
// and Run Stack Commands (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-commands.html).
 
242
//
 
243
// Required Permissions: To use this action, an IAM user must have a Deploy
 
244
// or Manage permissions level for the stack, or an attached policy that explicitly
 
245
// grants permissions. For more information on user permissions, see Managing
 
246
// User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
247
func (c *OpsWorks) CreateDeployment(input *CreateDeploymentInput) (*CreateDeploymentOutput, error) {
 
248
        req, out := c.CreateDeploymentRequest(input)
 
249
        err := req.Send()
 
250
        return out, err
 
251
}
 
252
 
 
253
const opCreateInstance = "CreateInstance"
 
254
 
 
255
// CreateInstanceRequest generates a request for the CreateInstance operation.
 
256
func (c *OpsWorks) CreateInstanceRequest(input *CreateInstanceInput) (req *request.Request, output *CreateInstanceOutput) {
 
257
        op := &request.Operation{
 
258
                Name:       opCreateInstance,
 
259
                HTTPMethod: "POST",
 
260
                HTTPPath:   "/",
 
261
        }
 
262
 
 
263
        if input == nil {
 
264
                input = &CreateInstanceInput{}
 
265
        }
 
266
 
 
267
        req = c.newRequest(op, input, output)
 
268
        output = &CreateInstanceOutput{}
 
269
        req.Data = output
 
270
        return
 
271
}
 
272
 
 
273
// Creates an instance in a specified stack. For more information, see Adding
 
274
// an Instance to a Layer (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html).
 
275
//
 
276
// Required Permissions: To use this action, an IAM user must have a Manage
 
277
// permissions level for the stack, or an attached policy that explicitly grants
 
278
// permissions. For more information on user permissions, see Managing User
 
279
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
280
func (c *OpsWorks) CreateInstance(input *CreateInstanceInput) (*CreateInstanceOutput, error) {
 
281
        req, out := c.CreateInstanceRequest(input)
 
282
        err := req.Send()
 
283
        return out, err
 
284
}
 
285
 
 
286
const opCreateLayer = "CreateLayer"
 
287
 
 
288
// CreateLayerRequest generates a request for the CreateLayer operation.
 
289
func (c *OpsWorks) CreateLayerRequest(input *CreateLayerInput) (req *request.Request, output *CreateLayerOutput) {
 
290
        op := &request.Operation{
 
291
                Name:       opCreateLayer,
 
292
                HTTPMethod: "POST",
 
293
                HTTPPath:   "/",
 
294
        }
 
295
 
 
296
        if input == nil {
 
297
                input = &CreateLayerInput{}
 
298
        }
 
299
 
 
300
        req = c.newRequest(op, input, output)
 
301
        output = &CreateLayerOutput{}
 
302
        req.Data = output
 
303
        return
 
304
}
 
305
 
 
306
// Creates a layer. For more information, see How to Create a Layer (http://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-create.html).
 
307
//
 
308
//  You should use CreateLayer for noncustom layer types such as PHP App Server
 
309
// only if the stack does not have an existing layer of that type. A stack can
 
310
// have at most one instance of each noncustom layer; if you attempt to create
 
311
// a second instance, CreateLayer fails. A stack can have an arbitrary number
 
312
// of custom layers, so you can call CreateLayer as many times as you like for
 
313
// that layer type.
 
314
//
 
315
//  Required Permissions: To use this action, an IAM user must have a Manage
 
316
// permissions level for the stack, or an attached policy that explicitly grants
 
317
// permissions. For more information on user permissions, see Managing User
 
318
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
319
func (c *OpsWorks) CreateLayer(input *CreateLayerInput) (*CreateLayerOutput, error) {
 
320
        req, out := c.CreateLayerRequest(input)
 
321
        err := req.Send()
 
322
        return out, err
 
323
}
 
324
 
 
325
const opCreateStack = "CreateStack"
 
326
 
 
327
// CreateStackRequest generates a request for the CreateStack operation.
 
328
func (c *OpsWorks) CreateStackRequest(input *CreateStackInput) (req *request.Request, output *CreateStackOutput) {
 
329
        op := &request.Operation{
 
330
                Name:       opCreateStack,
 
331
                HTTPMethod: "POST",
 
332
                HTTPPath:   "/",
 
333
        }
 
334
 
 
335
        if input == nil {
 
336
                input = &CreateStackInput{}
 
337
        }
 
338
 
 
339
        req = c.newRequest(op, input, output)
 
340
        output = &CreateStackOutput{}
 
341
        req.Data = output
 
342
        return
 
343
}
 
344
 
 
345
// Creates a new stack. For more information, see Create a New Stack (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-edit.html).
 
346
//
 
347
// Required Permissions: To use this action, an IAM user must have an attached
 
348
// policy that explicitly grants permissions. For more information on user permissions,
 
349
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
350
func (c *OpsWorks) CreateStack(input *CreateStackInput) (*CreateStackOutput, error) {
 
351
        req, out := c.CreateStackRequest(input)
 
352
        err := req.Send()
 
353
        return out, err
 
354
}
 
355
 
 
356
const opCreateUserProfile = "CreateUserProfile"
 
357
 
 
358
// CreateUserProfileRequest generates a request for the CreateUserProfile operation.
 
359
func (c *OpsWorks) CreateUserProfileRequest(input *CreateUserProfileInput) (req *request.Request, output *CreateUserProfileOutput) {
 
360
        op := &request.Operation{
 
361
                Name:       opCreateUserProfile,
 
362
                HTTPMethod: "POST",
 
363
                HTTPPath:   "/",
 
364
        }
 
365
 
 
366
        if input == nil {
 
367
                input = &CreateUserProfileInput{}
 
368
        }
 
369
 
 
370
        req = c.newRequest(op, input, output)
 
371
        output = &CreateUserProfileOutput{}
 
372
        req.Data = output
 
373
        return
 
374
}
 
375
 
 
376
// Creates a new user profile.
 
377
//
 
378
// Required Permissions: To use this action, an IAM user must have an attached
 
379
// policy that explicitly grants permissions. For more information on user permissions,
 
380
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
381
func (c *OpsWorks) CreateUserProfile(input *CreateUserProfileInput) (*CreateUserProfileOutput, error) {
 
382
        req, out := c.CreateUserProfileRequest(input)
 
383
        err := req.Send()
 
384
        return out, err
 
385
}
 
386
 
 
387
const opDeleteApp = "DeleteApp"
 
388
 
 
389
// DeleteAppRequest generates a request for the DeleteApp operation.
 
390
func (c *OpsWorks) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput) {
 
391
        op := &request.Operation{
 
392
                Name:       opDeleteApp,
 
393
                HTTPMethod: "POST",
 
394
                HTTPPath:   "/",
 
395
        }
 
396
 
 
397
        if input == nil {
 
398
                input = &DeleteAppInput{}
 
399
        }
 
400
 
 
401
        req = c.newRequest(op, input, output)
 
402
        output = &DeleteAppOutput{}
 
403
        req.Data = output
 
404
        return
 
405
}
 
406
 
 
407
// Deletes a specified app.
 
408
//
 
409
// Required Permissions: To use this action, an IAM user must have a Manage
 
410
// permissions level for the stack, or an attached policy that explicitly grants
 
411
// permissions. For more information on user permissions, see Managing User
 
412
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
413
func (c *OpsWorks) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error) {
 
414
        req, out := c.DeleteAppRequest(input)
 
415
        err := req.Send()
 
416
        return out, err
 
417
}
 
418
 
 
419
const opDeleteInstance = "DeleteInstance"
 
420
 
 
421
// DeleteInstanceRequest generates a request for the DeleteInstance operation.
 
422
func (c *OpsWorks) DeleteInstanceRequest(input *DeleteInstanceInput) (req *request.Request, output *DeleteInstanceOutput) {
 
423
        op := &request.Operation{
 
424
                Name:       opDeleteInstance,
 
425
                HTTPMethod: "POST",
 
426
                HTTPPath:   "/",
 
427
        }
 
428
 
 
429
        if input == nil {
 
430
                input = &DeleteInstanceInput{}
 
431
        }
 
432
 
 
433
        req = c.newRequest(op, input, output)
 
434
        output = &DeleteInstanceOutput{}
 
435
        req.Data = output
 
436
        return
 
437
}
 
438
 
 
439
// Deletes a specified instance, which terminates the associated Amazon EC2
 
440
// instance. You must stop an instance before you can delete it.
 
441
//
 
442
// For more information, see Deleting Instances (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-delete.html).
 
443
//
 
444
// Required Permissions: To use this action, an IAM user must have a Manage
 
445
// permissions level for the stack, or an attached policy that explicitly grants
 
446
// permissions. For more information on user permissions, see Managing User
 
447
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
448
func (c *OpsWorks) DeleteInstance(input *DeleteInstanceInput) (*DeleteInstanceOutput, error) {
 
449
        req, out := c.DeleteInstanceRequest(input)
 
450
        err := req.Send()
 
451
        return out, err
 
452
}
 
453
 
 
454
const opDeleteLayer = "DeleteLayer"
 
455
 
 
456
// DeleteLayerRequest generates a request for the DeleteLayer operation.
 
457
func (c *OpsWorks) DeleteLayerRequest(input *DeleteLayerInput) (req *request.Request, output *DeleteLayerOutput) {
 
458
        op := &request.Operation{
 
459
                Name:       opDeleteLayer,
 
460
                HTTPMethod: "POST",
 
461
                HTTPPath:   "/",
 
462
        }
 
463
 
 
464
        if input == nil {
 
465
                input = &DeleteLayerInput{}
 
466
        }
 
467
 
 
468
        req = c.newRequest(op, input, output)
 
469
        output = &DeleteLayerOutput{}
 
470
        req.Data = output
 
471
        return
 
472
}
 
473
 
 
474
// Deletes a specified layer. You must first stop and then delete all associated
 
475
// instances or unassign registered instances. For more information, see How
 
476
// to Delete a Layer (http://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-delete.html).
 
477
//
 
478
// Required Permissions: To use this action, an IAM user must have a Manage
 
479
// permissions level for the stack, or an attached policy that explicitly grants
 
480
// permissions. For more information on user permissions, see Managing User
 
481
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
482
func (c *OpsWorks) DeleteLayer(input *DeleteLayerInput) (*DeleteLayerOutput, error) {
 
483
        req, out := c.DeleteLayerRequest(input)
 
484
        err := req.Send()
 
485
        return out, err
 
486
}
 
487
 
 
488
const opDeleteStack = "DeleteStack"
 
489
 
 
490
// DeleteStackRequest generates a request for the DeleteStack operation.
 
491
func (c *OpsWorks) DeleteStackRequest(input *DeleteStackInput) (req *request.Request, output *DeleteStackOutput) {
 
492
        op := &request.Operation{
 
493
                Name:       opDeleteStack,
 
494
                HTTPMethod: "POST",
 
495
                HTTPPath:   "/",
 
496
        }
 
497
 
 
498
        if input == nil {
 
499
                input = &DeleteStackInput{}
 
500
        }
 
501
 
 
502
        req = c.newRequest(op, input, output)
 
503
        output = &DeleteStackOutput{}
 
504
        req.Data = output
 
505
        return
 
506
}
 
507
 
 
508
// Deletes a specified stack. You must first delete all instances, layers, and
 
509
// apps or deregister registered instances. For more information, see Shut Down
 
510
// a Stack (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-shutting.html).
 
511
//
 
512
// Required Permissions: To use this action, an IAM user must have a Manage
 
513
// permissions level for the stack, or an attached policy that explicitly grants
 
514
// permissions. For more information on user permissions, see Managing User
 
515
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
516
func (c *OpsWorks) DeleteStack(input *DeleteStackInput) (*DeleteStackOutput, error) {
 
517
        req, out := c.DeleteStackRequest(input)
 
518
        err := req.Send()
 
519
        return out, err
 
520
}
 
521
 
 
522
const opDeleteUserProfile = "DeleteUserProfile"
 
523
 
 
524
// DeleteUserProfileRequest generates a request for the DeleteUserProfile operation.
 
525
func (c *OpsWorks) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req *request.Request, output *DeleteUserProfileOutput) {
 
526
        op := &request.Operation{
 
527
                Name:       opDeleteUserProfile,
 
528
                HTTPMethod: "POST",
 
529
                HTTPPath:   "/",
 
530
        }
 
531
 
 
532
        if input == nil {
 
533
                input = &DeleteUserProfileInput{}
 
534
        }
 
535
 
 
536
        req = c.newRequest(op, input, output)
 
537
        output = &DeleteUserProfileOutput{}
 
538
        req.Data = output
 
539
        return
 
540
}
 
541
 
 
542
// Deletes a user profile.
 
543
//
 
544
// Required Permissions: To use this action, an IAM user must have an attached
 
545
// policy that explicitly grants permissions. For more information on user permissions,
 
546
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
547
func (c *OpsWorks) DeleteUserProfile(input *DeleteUserProfileInput) (*DeleteUserProfileOutput, error) {
 
548
        req, out := c.DeleteUserProfileRequest(input)
 
549
        err := req.Send()
 
550
        return out, err
 
551
}
 
552
 
 
553
const opDeregisterEcsCluster = "DeregisterEcsCluster"
 
554
 
 
555
// DeregisterEcsClusterRequest generates a request for the DeregisterEcsCluster operation.
 
556
func (c *OpsWorks) DeregisterEcsClusterRequest(input *DeregisterEcsClusterInput) (req *request.Request, output *DeregisterEcsClusterOutput) {
 
557
        op := &request.Operation{
 
558
                Name:       opDeregisterEcsCluster,
 
559
                HTTPMethod: "POST",
 
560
                HTTPPath:   "/",
 
561
        }
 
562
 
 
563
        if input == nil {
 
564
                input = &DeregisterEcsClusterInput{}
 
565
        }
 
566
 
 
567
        req = c.newRequest(op, input, output)
 
568
        output = &DeregisterEcsClusterOutput{}
 
569
        req.Data = output
 
570
        return
 
571
}
 
572
 
 
573
// Deregisters a specified Amazon ECS cluster from a stack. For more information,
 
574
// see  Resource Management (http://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-ecscluster.html#workinglayers-ecscluster-delete).
 
575
//
 
576
// Required Permissions: To use this action, an IAM user must have a Manage
 
577
// permissions level for the stack or an attached policy that explicitly grants
 
578
// permissions. For more information on user permissions, see .
 
579
func (c *OpsWorks) DeregisterEcsCluster(input *DeregisterEcsClusterInput) (*DeregisterEcsClusterOutput, error) {
 
580
        req, out := c.DeregisterEcsClusterRequest(input)
 
581
        err := req.Send()
 
582
        return out, err
 
583
}
 
584
 
 
585
const opDeregisterElasticIp = "DeregisterElasticIp"
 
586
 
 
587
// DeregisterElasticIpRequest generates a request for the DeregisterElasticIp operation.
 
588
func (c *OpsWorks) DeregisterElasticIpRequest(input *DeregisterElasticIpInput) (req *request.Request, output *DeregisterElasticIpOutput) {
 
589
        op := &request.Operation{
 
590
                Name:       opDeregisterElasticIp,
 
591
                HTTPMethod: "POST",
 
592
                HTTPPath:   "/",
 
593
        }
 
594
 
 
595
        if input == nil {
 
596
                input = &DeregisterElasticIpInput{}
 
597
        }
 
598
 
 
599
        req = c.newRequest(op, input, output)
 
600
        output = &DeregisterElasticIpOutput{}
 
601
        req.Data = output
 
602
        return
 
603
}
 
604
 
 
605
// Deregisters a specified Elastic IP address. The address can then be registered
 
606
// by another stack. For more information, see Resource Management (http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).
 
607
//
 
608
// Required Permissions: To use this action, an IAM user must have a Manage
 
609
// permissions level for the stack, or an attached policy that explicitly grants
 
610
// permissions. For more information on user permissions, see Managing User
 
611
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
612
func (c *OpsWorks) DeregisterElasticIp(input *DeregisterElasticIpInput) (*DeregisterElasticIpOutput, error) {
 
613
        req, out := c.DeregisterElasticIpRequest(input)
 
614
        err := req.Send()
 
615
        return out, err
 
616
}
 
617
 
 
618
const opDeregisterInstance = "DeregisterInstance"
 
619
 
 
620
// DeregisterInstanceRequest generates a request for the DeregisterInstance operation.
 
621
func (c *OpsWorks) DeregisterInstanceRequest(input *DeregisterInstanceInput) (req *request.Request, output *DeregisterInstanceOutput) {
 
622
        op := &request.Operation{
 
623
                Name:       opDeregisterInstance,
 
624
                HTTPMethod: "POST",
 
625
                HTTPPath:   "/",
 
626
        }
 
627
 
 
628
        if input == nil {
 
629
                input = &DeregisterInstanceInput{}
 
630
        }
 
631
 
 
632
        req = c.newRequest(op, input, output)
 
633
        output = &DeregisterInstanceOutput{}
 
634
        req.Data = output
 
635
        return
 
636
}
 
637
 
 
638
// Deregister a registered Amazon EC2 or on-premises instance. This action removes
 
639
// the instance from the stack and returns it to your control. This action can
 
640
// not be used with instances that were created with AWS OpsWorks.
 
641
//
 
642
// Required Permissions: To use this action, an IAM user must have a Manage
 
643
// permissions level for the stack or an attached policy that explicitly grants
 
644
// permissions. For more information on user permissions, see Managing User
 
645
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
646
func (c *OpsWorks) DeregisterInstance(input *DeregisterInstanceInput) (*DeregisterInstanceOutput, error) {
 
647
        req, out := c.DeregisterInstanceRequest(input)
 
648
        err := req.Send()
 
649
        return out, err
 
650
}
 
651
 
 
652
const opDeregisterRdsDbInstance = "DeregisterRdsDbInstance"
 
653
 
 
654
// DeregisterRdsDbInstanceRequest generates a request for the DeregisterRdsDbInstance operation.
 
655
func (c *OpsWorks) DeregisterRdsDbInstanceRequest(input *DeregisterRdsDbInstanceInput) (req *request.Request, output *DeregisterRdsDbInstanceOutput) {
 
656
        op := &request.Operation{
 
657
                Name:       opDeregisterRdsDbInstance,
 
658
                HTTPMethod: "POST",
 
659
                HTTPPath:   "/",
 
660
        }
 
661
 
 
662
        if input == nil {
 
663
                input = &DeregisterRdsDbInstanceInput{}
 
664
        }
 
665
 
 
666
        req = c.newRequest(op, input, output)
 
667
        output = &DeregisterRdsDbInstanceOutput{}
 
668
        req.Data = output
 
669
        return
 
670
}
 
671
 
 
672
// Deregisters an Amazon RDS instance.
 
673
//
 
674
// Required Permissions: To use this action, an IAM user must have a Manage
 
675
// permissions level for the stack, or an attached policy that explicitly grants
 
676
// permissions. For more information on user permissions, see Managing User
 
677
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
678
func (c *OpsWorks) DeregisterRdsDbInstance(input *DeregisterRdsDbInstanceInput) (*DeregisterRdsDbInstanceOutput, error) {
 
679
        req, out := c.DeregisterRdsDbInstanceRequest(input)
 
680
        err := req.Send()
 
681
        return out, err
 
682
}
 
683
 
 
684
const opDeregisterVolume = "DeregisterVolume"
 
685
 
 
686
// DeregisterVolumeRequest generates a request for the DeregisterVolume operation.
 
687
func (c *OpsWorks) DeregisterVolumeRequest(input *DeregisterVolumeInput) (req *request.Request, output *DeregisterVolumeOutput) {
 
688
        op := &request.Operation{
 
689
                Name:       opDeregisterVolume,
 
690
                HTTPMethod: "POST",
 
691
                HTTPPath:   "/",
 
692
        }
 
693
 
 
694
        if input == nil {
 
695
                input = &DeregisterVolumeInput{}
 
696
        }
 
697
 
 
698
        req = c.newRequest(op, input, output)
 
699
        output = &DeregisterVolumeOutput{}
 
700
        req.Data = output
 
701
        return
 
702
}
 
703
 
 
704
// Deregisters an Amazon EBS volume. The volume can then be registered by another
 
705
// stack. For more information, see Resource Management (http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).
 
706
//
 
707
// Required Permissions: To use this action, an IAM user must have a Manage
 
708
// permissions level for the stack, or an attached policy that explicitly grants
 
709
// permissions. For more information on user permissions, see Managing User
 
710
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
711
func (c *OpsWorks) DeregisterVolume(input *DeregisterVolumeInput) (*DeregisterVolumeOutput, error) {
 
712
        req, out := c.DeregisterVolumeRequest(input)
 
713
        err := req.Send()
 
714
        return out, err
 
715
}
 
716
 
 
717
const opDescribeAgentVersions = "DescribeAgentVersions"
 
718
 
 
719
// DescribeAgentVersionsRequest generates a request for the DescribeAgentVersions operation.
 
720
func (c *OpsWorks) DescribeAgentVersionsRequest(input *DescribeAgentVersionsInput) (req *request.Request, output *DescribeAgentVersionsOutput) {
 
721
        op := &request.Operation{
 
722
                Name:       opDescribeAgentVersions,
 
723
                HTTPMethod: "POST",
 
724
                HTTPPath:   "/",
 
725
        }
 
726
 
 
727
        if input == nil {
 
728
                input = &DescribeAgentVersionsInput{}
 
729
        }
 
730
 
 
731
        req = c.newRequest(op, input, output)
 
732
        output = &DescribeAgentVersionsOutput{}
 
733
        req.Data = output
 
734
        return
 
735
}
 
736
 
 
737
// Describes the available AWS OpsWorks agent versions. You must specify a stack
 
738
// ID or a configuration manager. DescribeAgentVersions returns a list of available
 
739
// agent versions for the specified stack or configuration manager.
 
740
func (c *OpsWorks) DescribeAgentVersions(input *DescribeAgentVersionsInput) (*DescribeAgentVersionsOutput, error) {
 
741
        req, out := c.DescribeAgentVersionsRequest(input)
 
742
        err := req.Send()
 
743
        return out, err
 
744
}
 
745
 
 
746
const opDescribeApps = "DescribeApps"
 
747
 
 
748
// DescribeAppsRequest generates a request for the DescribeApps operation.
 
749
func (c *OpsWorks) DescribeAppsRequest(input *DescribeAppsInput) (req *request.Request, output *DescribeAppsOutput) {
 
750
        op := &request.Operation{
 
751
                Name:       opDescribeApps,
 
752
                HTTPMethod: "POST",
 
753
                HTTPPath:   "/",
 
754
        }
 
755
 
 
756
        if input == nil {
 
757
                input = &DescribeAppsInput{}
 
758
        }
 
759
 
 
760
        req = c.newRequest(op, input, output)
 
761
        output = &DescribeAppsOutput{}
 
762
        req.Data = output
 
763
        return
 
764
}
 
765
 
 
766
// Requests a description of a specified set of apps.
 
767
//
 
768
//  You must specify at least one of the parameters.
 
769
//
 
770
//  Required Permissions: To use this action, an IAM user must have a Show,
 
771
// Deploy, or Manage permissions level for the stack, or an attached policy
 
772
// that explicitly grants permissions. For more information on user permissions,
 
773
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
774
func (c *OpsWorks) DescribeApps(input *DescribeAppsInput) (*DescribeAppsOutput, error) {
 
775
        req, out := c.DescribeAppsRequest(input)
 
776
        err := req.Send()
 
777
        return out, err
 
778
}
 
779
 
 
780
const opDescribeCommands = "DescribeCommands"
 
781
 
 
782
// DescribeCommandsRequest generates a request for the DescribeCommands operation.
 
783
func (c *OpsWorks) DescribeCommandsRequest(input *DescribeCommandsInput) (req *request.Request, output *DescribeCommandsOutput) {
 
784
        op := &request.Operation{
 
785
                Name:       opDescribeCommands,
 
786
                HTTPMethod: "POST",
 
787
                HTTPPath:   "/",
 
788
        }
 
789
 
 
790
        if input == nil {
 
791
                input = &DescribeCommandsInput{}
 
792
        }
 
793
 
 
794
        req = c.newRequest(op, input, output)
 
795
        output = &DescribeCommandsOutput{}
 
796
        req.Data = output
 
797
        return
 
798
}
 
799
 
 
800
// Describes the results of specified commands.
 
801
//
 
802
//  You must specify at least one of the parameters.
 
803
//
 
804
//  Required Permissions: To use this action, an IAM user must have a Show,
 
805
// Deploy, or Manage permissions level for the stack, or an attached policy
 
806
// that explicitly grants permissions. For more information on user permissions,
 
807
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
808
func (c *OpsWorks) DescribeCommands(input *DescribeCommandsInput) (*DescribeCommandsOutput, error) {
 
809
        req, out := c.DescribeCommandsRequest(input)
 
810
        err := req.Send()
 
811
        return out, err
 
812
}
 
813
 
 
814
const opDescribeDeployments = "DescribeDeployments"
 
815
 
 
816
// DescribeDeploymentsRequest generates a request for the DescribeDeployments operation.
 
817
func (c *OpsWorks) DescribeDeploymentsRequest(input *DescribeDeploymentsInput) (req *request.Request, output *DescribeDeploymentsOutput) {
 
818
        op := &request.Operation{
 
819
                Name:       opDescribeDeployments,
 
820
                HTTPMethod: "POST",
 
821
                HTTPPath:   "/",
 
822
        }
 
823
 
 
824
        if input == nil {
 
825
                input = &DescribeDeploymentsInput{}
 
826
        }
 
827
 
 
828
        req = c.newRequest(op, input, output)
 
829
        output = &DescribeDeploymentsOutput{}
 
830
        req.Data = output
 
831
        return
 
832
}
 
833
 
 
834
// Requests a description of a specified set of deployments.
 
835
//
 
836
//  You must specify at least one of the parameters.
 
837
//
 
838
//  Required Permissions: To use this action, an IAM user must have a Show,
 
839
// Deploy, or Manage permissions level for the stack, or an attached policy
 
840
// that explicitly grants permissions. For more information on user permissions,
 
841
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
842
func (c *OpsWorks) DescribeDeployments(input *DescribeDeploymentsInput) (*DescribeDeploymentsOutput, error) {
 
843
        req, out := c.DescribeDeploymentsRequest(input)
 
844
        err := req.Send()
 
845
        return out, err
 
846
}
 
847
 
 
848
const opDescribeEcsClusters = "DescribeEcsClusters"
 
849
 
 
850
// DescribeEcsClustersRequest generates a request for the DescribeEcsClusters operation.
 
851
func (c *OpsWorks) DescribeEcsClustersRequest(input *DescribeEcsClustersInput) (req *request.Request, output *DescribeEcsClustersOutput) {
 
852
        op := &request.Operation{
 
853
                Name:       opDescribeEcsClusters,
 
854
                HTTPMethod: "POST",
 
855
                HTTPPath:   "/",
 
856
                Paginator: &request.Paginator{
 
857
                        InputTokens:     []string{"NextToken"},
 
858
                        OutputTokens:    []string{"NextToken"},
 
859
                        LimitToken:      "MaxResults",
 
860
                        TruncationToken: "",
 
861
                },
 
862
        }
 
863
 
 
864
        if input == nil {
 
865
                input = &DescribeEcsClustersInput{}
 
866
        }
 
867
 
 
868
        req = c.newRequest(op, input, output)
 
869
        output = &DescribeEcsClustersOutput{}
 
870
        req.Data = output
 
871
        return
 
872
}
 
873
 
 
874
// Describes Amazon ECS clusters that are registered with a stack. If you specify
 
875
// only a stack ID, you can use the MaxResults and NextToken parameters to paginate
 
876
// the response. However, AWS OpsWorks currently supports only one cluster per
 
877
// layer, so the result set has a maximum of one element.
 
878
//
 
879
// Required Permissions: To use this action, an IAM user must have a Show,
 
880
// Deploy, or Manage permissions level for the stack or an attached policy that
 
881
// explicitly grants permission. For more information on user permissions, see
 
882
// Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
883
func (c *OpsWorks) DescribeEcsClusters(input *DescribeEcsClustersInput) (*DescribeEcsClustersOutput, error) {
 
884
        req, out := c.DescribeEcsClustersRequest(input)
 
885
        err := req.Send()
 
886
        return out, err
 
887
}
 
888
 
 
889
func (c *OpsWorks) DescribeEcsClustersPages(input *DescribeEcsClustersInput, fn func(p *DescribeEcsClustersOutput, lastPage bool) (shouldContinue bool)) error {
 
890
        page, _ := c.DescribeEcsClustersRequest(input)
 
891
        return page.EachPage(func(p interface{}, lastPage bool) bool {
 
892
                return fn(p.(*DescribeEcsClustersOutput), lastPage)
 
893
        })
 
894
}
 
895
 
 
896
const opDescribeElasticIps = "DescribeElasticIps"
 
897
 
 
898
// DescribeElasticIpsRequest generates a request for the DescribeElasticIps operation.
 
899
func (c *OpsWorks) DescribeElasticIpsRequest(input *DescribeElasticIpsInput) (req *request.Request, output *DescribeElasticIpsOutput) {
 
900
        op := &request.Operation{
 
901
                Name:       opDescribeElasticIps,
 
902
                HTTPMethod: "POST",
 
903
                HTTPPath:   "/",
 
904
        }
 
905
 
 
906
        if input == nil {
 
907
                input = &DescribeElasticIpsInput{}
 
908
        }
 
909
 
 
910
        req = c.newRequest(op, input, output)
 
911
        output = &DescribeElasticIpsOutput{}
 
912
        req.Data = output
 
913
        return
 
914
}
 
915
 
 
916
// Describes Elastic IP addresses (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html).
 
917
//
 
918
//  You must specify at least one of the parameters.
 
919
//
 
920
//  Required Permissions: To use this action, an IAM user must have a Show,
 
921
// Deploy, or Manage permissions level for the stack, or an attached policy
 
922
// that explicitly grants permissions. For more information on user permissions,
 
923
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
924
func (c *OpsWorks) DescribeElasticIps(input *DescribeElasticIpsInput) (*DescribeElasticIpsOutput, error) {
 
925
        req, out := c.DescribeElasticIpsRequest(input)
 
926
        err := req.Send()
 
927
        return out, err
 
928
}
 
929
 
 
930
const opDescribeElasticLoadBalancers = "DescribeElasticLoadBalancers"
 
931
 
 
932
// DescribeElasticLoadBalancersRequest generates a request for the DescribeElasticLoadBalancers operation.
 
933
func (c *OpsWorks) DescribeElasticLoadBalancersRequest(input *DescribeElasticLoadBalancersInput) (req *request.Request, output *DescribeElasticLoadBalancersOutput) {
 
934
        op := &request.Operation{
 
935
                Name:       opDescribeElasticLoadBalancers,
 
936
                HTTPMethod: "POST",
 
937
                HTTPPath:   "/",
 
938
        }
 
939
 
 
940
        if input == nil {
 
941
                input = &DescribeElasticLoadBalancersInput{}
 
942
        }
 
943
 
 
944
        req = c.newRequest(op, input, output)
 
945
        output = &DescribeElasticLoadBalancersOutput{}
 
946
        req.Data = output
 
947
        return
 
948
}
 
949
 
 
950
// Describes a stack's Elastic Load Balancing instances.
 
951
//
 
952
//  You must specify at least one of the parameters.
 
953
//
 
954
//  Required Permissions: To use this action, an IAM user must have a Show,
 
955
// Deploy, or Manage permissions level for the stack, or an attached policy
 
956
// that explicitly grants permissions. For more information on user permissions,
 
957
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
958
func (c *OpsWorks) DescribeElasticLoadBalancers(input *DescribeElasticLoadBalancersInput) (*DescribeElasticLoadBalancersOutput, error) {
 
959
        req, out := c.DescribeElasticLoadBalancersRequest(input)
 
960
        err := req.Send()
 
961
        return out, err
 
962
}
 
963
 
 
964
const opDescribeInstances = "DescribeInstances"
 
965
 
 
966
// DescribeInstancesRequest generates a request for the DescribeInstances operation.
 
967
func (c *OpsWorks) DescribeInstancesRequest(input *DescribeInstancesInput) (req *request.Request, output *DescribeInstancesOutput) {
 
968
        op := &request.Operation{
 
969
                Name:       opDescribeInstances,
 
970
                HTTPMethod: "POST",
 
971
                HTTPPath:   "/",
 
972
        }
 
973
 
 
974
        if input == nil {
 
975
                input = &DescribeInstancesInput{}
 
976
        }
 
977
 
 
978
        req = c.newRequest(op, input, output)
 
979
        output = &DescribeInstancesOutput{}
 
980
        req.Data = output
 
981
        return
 
982
}
 
983
 
 
984
// Requests a description of a set of instances.
 
985
//
 
986
//  You must specify at least one of the parameters.
 
987
//
 
988
//  Required Permissions: To use this action, an IAM user must have a Show,
 
989
// Deploy, or Manage permissions level for the stack, or an attached policy
 
990
// that explicitly grants permissions. For more information on user permissions,
 
991
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
992
func (c *OpsWorks) DescribeInstances(input *DescribeInstancesInput) (*DescribeInstancesOutput, error) {
 
993
        req, out := c.DescribeInstancesRequest(input)
 
994
        err := req.Send()
 
995
        return out, err
 
996
}
 
997
 
 
998
const opDescribeLayers = "DescribeLayers"
 
999
 
 
1000
// DescribeLayersRequest generates a request for the DescribeLayers operation.
 
1001
func (c *OpsWorks) DescribeLayersRequest(input *DescribeLayersInput) (req *request.Request, output *DescribeLayersOutput) {
 
1002
        op := &request.Operation{
 
1003
                Name:       opDescribeLayers,
 
1004
                HTTPMethod: "POST",
 
1005
                HTTPPath:   "/",
 
1006
        }
 
1007
 
 
1008
        if input == nil {
 
1009
                input = &DescribeLayersInput{}
 
1010
        }
 
1011
 
 
1012
        req = c.newRequest(op, input, output)
 
1013
        output = &DescribeLayersOutput{}
 
1014
        req.Data = output
 
1015
        return
 
1016
}
 
1017
 
 
1018
// Requests a description of one or more layers in a specified stack.
 
1019
//
 
1020
//  You must specify at least one of the parameters.
 
1021
//
 
1022
//  Required Permissions: To use this action, an IAM user must have a Show,
 
1023
// Deploy, or Manage permissions level for the stack, or an attached policy
 
1024
// that explicitly grants permissions. For more information on user permissions,
 
1025
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1026
func (c *OpsWorks) DescribeLayers(input *DescribeLayersInput) (*DescribeLayersOutput, error) {
 
1027
        req, out := c.DescribeLayersRequest(input)
 
1028
        err := req.Send()
 
1029
        return out, err
 
1030
}
 
1031
 
 
1032
const opDescribeLoadBasedAutoScaling = "DescribeLoadBasedAutoScaling"
 
1033
 
 
1034
// DescribeLoadBasedAutoScalingRequest generates a request for the DescribeLoadBasedAutoScaling operation.
 
1035
func (c *OpsWorks) DescribeLoadBasedAutoScalingRequest(input *DescribeLoadBasedAutoScalingInput) (req *request.Request, output *DescribeLoadBasedAutoScalingOutput) {
 
1036
        op := &request.Operation{
 
1037
                Name:       opDescribeLoadBasedAutoScaling,
 
1038
                HTTPMethod: "POST",
 
1039
                HTTPPath:   "/",
 
1040
        }
 
1041
 
 
1042
        if input == nil {
 
1043
                input = &DescribeLoadBasedAutoScalingInput{}
 
1044
        }
 
1045
 
 
1046
        req = c.newRequest(op, input, output)
 
1047
        output = &DescribeLoadBasedAutoScalingOutput{}
 
1048
        req.Data = output
 
1049
        return
 
1050
}
 
1051
 
 
1052
// Describes load-based auto scaling configurations for specified layers.
 
1053
//
 
1054
//  You must specify at least one of the parameters.
 
1055
//
 
1056
//  Required Permissions: To use this action, an IAM user must have a Show,
 
1057
// Deploy, or Manage permissions level for the stack, or an attached policy
 
1058
// that explicitly grants permissions. For more information on user permissions,
 
1059
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1060
func (c *OpsWorks) DescribeLoadBasedAutoScaling(input *DescribeLoadBasedAutoScalingInput) (*DescribeLoadBasedAutoScalingOutput, error) {
 
1061
        req, out := c.DescribeLoadBasedAutoScalingRequest(input)
 
1062
        err := req.Send()
 
1063
        return out, err
 
1064
}
 
1065
 
 
1066
const opDescribeMyUserProfile = "DescribeMyUserProfile"
 
1067
 
 
1068
// DescribeMyUserProfileRequest generates a request for the DescribeMyUserProfile operation.
 
1069
func (c *OpsWorks) DescribeMyUserProfileRequest(input *DescribeMyUserProfileInput) (req *request.Request, output *DescribeMyUserProfileOutput) {
 
1070
        op := &request.Operation{
 
1071
                Name:       opDescribeMyUserProfile,
 
1072
                HTTPMethod: "POST",
 
1073
                HTTPPath:   "/",
 
1074
        }
 
1075
 
 
1076
        if input == nil {
 
1077
                input = &DescribeMyUserProfileInput{}
 
1078
        }
 
1079
 
 
1080
        req = c.newRequest(op, input, output)
 
1081
        output = &DescribeMyUserProfileOutput{}
 
1082
        req.Data = output
 
1083
        return
 
1084
}
 
1085
 
 
1086
// Describes a user's SSH information.
 
1087
//
 
1088
// Required Permissions: To use this action, an IAM user must have self-management
 
1089
// enabled or an attached policy that explicitly grants permissions. For more
 
1090
// information on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1091
func (c *OpsWorks) DescribeMyUserProfile(input *DescribeMyUserProfileInput) (*DescribeMyUserProfileOutput, error) {
 
1092
        req, out := c.DescribeMyUserProfileRequest(input)
 
1093
        err := req.Send()
 
1094
        return out, err
 
1095
}
 
1096
 
 
1097
const opDescribePermissions = "DescribePermissions"
 
1098
 
 
1099
// DescribePermissionsRequest generates a request for the DescribePermissions operation.
 
1100
func (c *OpsWorks) DescribePermissionsRequest(input *DescribePermissionsInput) (req *request.Request, output *DescribePermissionsOutput) {
 
1101
        op := &request.Operation{
 
1102
                Name:       opDescribePermissions,
 
1103
                HTTPMethod: "POST",
 
1104
                HTTPPath:   "/",
 
1105
        }
 
1106
 
 
1107
        if input == nil {
 
1108
                input = &DescribePermissionsInput{}
 
1109
        }
 
1110
 
 
1111
        req = c.newRequest(op, input, output)
 
1112
        output = &DescribePermissionsOutput{}
 
1113
        req.Data = output
 
1114
        return
 
1115
}
 
1116
 
 
1117
// Describes the permissions for a specified stack.
 
1118
//
 
1119
// Required Permissions: To use this action, an IAM user must have a Manage
 
1120
// permissions level for the stack, or an attached policy that explicitly grants
 
1121
// permissions. For more information on user permissions, see Managing User
 
1122
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1123
func (c *OpsWorks) DescribePermissions(input *DescribePermissionsInput) (*DescribePermissionsOutput, error) {
 
1124
        req, out := c.DescribePermissionsRequest(input)
 
1125
        err := req.Send()
 
1126
        return out, err
 
1127
}
 
1128
 
 
1129
const opDescribeRaidArrays = "DescribeRaidArrays"
 
1130
 
 
1131
// DescribeRaidArraysRequest generates a request for the DescribeRaidArrays operation.
 
1132
func (c *OpsWorks) DescribeRaidArraysRequest(input *DescribeRaidArraysInput) (req *request.Request, output *DescribeRaidArraysOutput) {
 
1133
        op := &request.Operation{
 
1134
                Name:       opDescribeRaidArrays,
 
1135
                HTTPMethod: "POST",
 
1136
                HTTPPath:   "/",
 
1137
        }
 
1138
 
 
1139
        if input == nil {
 
1140
                input = &DescribeRaidArraysInput{}
 
1141
        }
 
1142
 
 
1143
        req = c.newRequest(op, input, output)
 
1144
        output = &DescribeRaidArraysOutput{}
 
1145
        req.Data = output
 
1146
        return
 
1147
}
 
1148
 
 
1149
// Describe an instance's RAID arrays.
 
1150
//
 
1151
//  You must specify at least one of the parameters.
 
1152
//
 
1153
//  Required Permissions: To use this action, an IAM user must have a Show,
 
1154
// Deploy, or Manage permissions level for the stack, or an attached policy
 
1155
// that explicitly grants permissions. For more information on user permissions,
 
1156
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1157
func (c *OpsWorks) DescribeRaidArrays(input *DescribeRaidArraysInput) (*DescribeRaidArraysOutput, error) {
 
1158
        req, out := c.DescribeRaidArraysRequest(input)
 
1159
        err := req.Send()
 
1160
        return out, err
 
1161
}
 
1162
 
 
1163
const opDescribeRdsDbInstances = "DescribeRdsDbInstances"
 
1164
 
 
1165
// DescribeRdsDbInstancesRequest generates a request for the DescribeRdsDbInstances operation.
 
1166
func (c *OpsWorks) DescribeRdsDbInstancesRequest(input *DescribeRdsDbInstancesInput) (req *request.Request, output *DescribeRdsDbInstancesOutput) {
 
1167
        op := &request.Operation{
 
1168
                Name:       opDescribeRdsDbInstances,
 
1169
                HTTPMethod: "POST",
 
1170
                HTTPPath:   "/",
 
1171
        }
 
1172
 
 
1173
        if input == nil {
 
1174
                input = &DescribeRdsDbInstancesInput{}
 
1175
        }
 
1176
 
 
1177
        req = c.newRequest(op, input, output)
 
1178
        output = &DescribeRdsDbInstancesOutput{}
 
1179
        req.Data = output
 
1180
        return
 
1181
}
 
1182
 
 
1183
// Describes Amazon RDS instances.
 
1184
//
 
1185
// Required Permissions: To use this action, an IAM user must have a Show,
 
1186
// Deploy, or Manage permissions level for the stack, or an attached policy
 
1187
// that explicitly grants permissions. For more information on user permissions,
 
1188
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1189
func (c *OpsWorks) DescribeRdsDbInstances(input *DescribeRdsDbInstancesInput) (*DescribeRdsDbInstancesOutput, error) {
 
1190
        req, out := c.DescribeRdsDbInstancesRequest(input)
 
1191
        err := req.Send()
 
1192
        return out, err
 
1193
}
 
1194
 
 
1195
const opDescribeServiceErrors = "DescribeServiceErrors"
 
1196
 
 
1197
// DescribeServiceErrorsRequest generates a request for the DescribeServiceErrors operation.
 
1198
func (c *OpsWorks) DescribeServiceErrorsRequest(input *DescribeServiceErrorsInput) (req *request.Request, output *DescribeServiceErrorsOutput) {
 
1199
        op := &request.Operation{
 
1200
                Name:       opDescribeServiceErrors,
 
1201
                HTTPMethod: "POST",
 
1202
                HTTPPath:   "/",
 
1203
        }
 
1204
 
 
1205
        if input == nil {
 
1206
                input = &DescribeServiceErrorsInput{}
 
1207
        }
 
1208
 
 
1209
        req = c.newRequest(op, input, output)
 
1210
        output = &DescribeServiceErrorsOutput{}
 
1211
        req.Data = output
 
1212
        return
 
1213
}
 
1214
 
 
1215
// Describes AWS OpsWorks service errors.
 
1216
//
 
1217
// Required Permissions: To use this action, an IAM user must have a Show,
 
1218
// Deploy, or Manage permissions level for the stack, or an attached policy
 
1219
// that explicitly grants permissions. For more information on user permissions,
 
1220
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1221
func (c *OpsWorks) DescribeServiceErrors(input *DescribeServiceErrorsInput) (*DescribeServiceErrorsOutput, error) {
 
1222
        req, out := c.DescribeServiceErrorsRequest(input)
 
1223
        err := req.Send()
 
1224
        return out, err
 
1225
}
 
1226
 
 
1227
const opDescribeStackProvisioningParameters = "DescribeStackProvisioningParameters"
 
1228
 
 
1229
// DescribeStackProvisioningParametersRequest generates a request for the DescribeStackProvisioningParameters operation.
 
1230
func (c *OpsWorks) DescribeStackProvisioningParametersRequest(input *DescribeStackProvisioningParametersInput) (req *request.Request, output *DescribeStackProvisioningParametersOutput) {
 
1231
        op := &request.Operation{
 
1232
                Name:       opDescribeStackProvisioningParameters,
 
1233
                HTTPMethod: "POST",
 
1234
                HTTPPath:   "/",
 
1235
        }
 
1236
 
 
1237
        if input == nil {
 
1238
                input = &DescribeStackProvisioningParametersInput{}
 
1239
        }
 
1240
 
 
1241
        req = c.newRequest(op, input, output)
 
1242
        output = &DescribeStackProvisioningParametersOutput{}
 
1243
        req.Data = output
 
1244
        return
 
1245
}
 
1246
 
 
1247
// Requests a description of a stack's provisioning parameters.
 
1248
//
 
1249
// Required Permissions: To use this action, an IAM user must have a Show,
 
1250
// Deploy, or Manage permissions level for the stack or an attached policy that
 
1251
// explicitly grants permissions. For more information on user permissions,
 
1252
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1253
func (c *OpsWorks) DescribeStackProvisioningParameters(input *DescribeStackProvisioningParametersInput) (*DescribeStackProvisioningParametersOutput, error) {
 
1254
        req, out := c.DescribeStackProvisioningParametersRequest(input)
 
1255
        err := req.Send()
 
1256
        return out, err
 
1257
}
 
1258
 
 
1259
const opDescribeStackSummary = "DescribeStackSummary"
 
1260
 
 
1261
// DescribeStackSummaryRequest generates a request for the DescribeStackSummary operation.
 
1262
func (c *OpsWorks) DescribeStackSummaryRequest(input *DescribeStackSummaryInput) (req *request.Request, output *DescribeStackSummaryOutput) {
 
1263
        op := &request.Operation{
 
1264
                Name:       opDescribeStackSummary,
 
1265
                HTTPMethod: "POST",
 
1266
                HTTPPath:   "/",
 
1267
        }
 
1268
 
 
1269
        if input == nil {
 
1270
                input = &DescribeStackSummaryInput{}
 
1271
        }
 
1272
 
 
1273
        req = c.newRequest(op, input, output)
 
1274
        output = &DescribeStackSummaryOutput{}
 
1275
        req.Data = output
 
1276
        return
 
1277
}
 
1278
 
 
1279
// Describes the number of layers and apps in a specified stack, and the number
 
1280
// of instances in each state, such as running_setup or online.
 
1281
//
 
1282
// Required Permissions: To use this action, an IAM user must have a Show,
 
1283
// Deploy, or Manage permissions level for the stack, or an attached policy
 
1284
// that explicitly grants permissions. For more information on user permissions,
 
1285
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1286
func (c *OpsWorks) DescribeStackSummary(input *DescribeStackSummaryInput) (*DescribeStackSummaryOutput, error) {
 
1287
        req, out := c.DescribeStackSummaryRequest(input)
 
1288
        err := req.Send()
 
1289
        return out, err
 
1290
}
 
1291
 
 
1292
const opDescribeStacks = "DescribeStacks"
 
1293
 
 
1294
// DescribeStacksRequest generates a request for the DescribeStacks operation.
 
1295
func (c *OpsWorks) DescribeStacksRequest(input *DescribeStacksInput) (req *request.Request, output *DescribeStacksOutput) {
 
1296
        op := &request.Operation{
 
1297
                Name:       opDescribeStacks,
 
1298
                HTTPMethod: "POST",
 
1299
                HTTPPath:   "/",
 
1300
        }
 
1301
 
 
1302
        if input == nil {
 
1303
                input = &DescribeStacksInput{}
 
1304
        }
 
1305
 
 
1306
        req = c.newRequest(op, input, output)
 
1307
        output = &DescribeStacksOutput{}
 
1308
        req.Data = output
 
1309
        return
 
1310
}
 
1311
 
 
1312
// Requests a description of one or more stacks.
 
1313
//
 
1314
// Required Permissions: To use this action, an IAM user must have a Show,
 
1315
// Deploy, or Manage permissions level for the stack, or an attached policy
 
1316
// that explicitly grants permissions. For more information on user permissions,
 
1317
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1318
func (c *OpsWorks) DescribeStacks(input *DescribeStacksInput) (*DescribeStacksOutput, error) {
 
1319
        req, out := c.DescribeStacksRequest(input)
 
1320
        err := req.Send()
 
1321
        return out, err
 
1322
}
 
1323
 
 
1324
const opDescribeTimeBasedAutoScaling = "DescribeTimeBasedAutoScaling"
 
1325
 
 
1326
// DescribeTimeBasedAutoScalingRequest generates a request for the DescribeTimeBasedAutoScaling operation.
 
1327
func (c *OpsWorks) DescribeTimeBasedAutoScalingRequest(input *DescribeTimeBasedAutoScalingInput) (req *request.Request, output *DescribeTimeBasedAutoScalingOutput) {
 
1328
        op := &request.Operation{
 
1329
                Name:       opDescribeTimeBasedAutoScaling,
 
1330
                HTTPMethod: "POST",
 
1331
                HTTPPath:   "/",
 
1332
        }
 
1333
 
 
1334
        if input == nil {
 
1335
                input = &DescribeTimeBasedAutoScalingInput{}
 
1336
        }
 
1337
 
 
1338
        req = c.newRequest(op, input, output)
 
1339
        output = &DescribeTimeBasedAutoScalingOutput{}
 
1340
        req.Data = output
 
1341
        return
 
1342
}
 
1343
 
 
1344
// Describes time-based auto scaling configurations for specified instances.
 
1345
//
 
1346
//  You must specify at least one of the parameters.
 
1347
//
 
1348
//  Required Permissions: To use this action, an IAM user must have a Show,
 
1349
// Deploy, or Manage permissions level for the stack, or an attached policy
 
1350
// that explicitly grants permissions. For more information on user permissions,
 
1351
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1352
func (c *OpsWorks) DescribeTimeBasedAutoScaling(input *DescribeTimeBasedAutoScalingInput) (*DescribeTimeBasedAutoScalingOutput, error) {
 
1353
        req, out := c.DescribeTimeBasedAutoScalingRequest(input)
 
1354
        err := req.Send()
 
1355
        return out, err
 
1356
}
 
1357
 
 
1358
const opDescribeUserProfiles = "DescribeUserProfiles"
 
1359
 
 
1360
// DescribeUserProfilesRequest generates a request for the DescribeUserProfiles operation.
 
1361
func (c *OpsWorks) DescribeUserProfilesRequest(input *DescribeUserProfilesInput) (req *request.Request, output *DescribeUserProfilesOutput) {
 
1362
        op := &request.Operation{
 
1363
                Name:       opDescribeUserProfiles,
 
1364
                HTTPMethod: "POST",
 
1365
                HTTPPath:   "/",
 
1366
        }
 
1367
 
 
1368
        if input == nil {
 
1369
                input = &DescribeUserProfilesInput{}
 
1370
        }
 
1371
 
 
1372
        req = c.newRequest(op, input, output)
 
1373
        output = &DescribeUserProfilesOutput{}
 
1374
        req.Data = output
 
1375
        return
 
1376
}
 
1377
 
 
1378
// Describe specified users.
 
1379
//
 
1380
// Required Permissions: To use this action, an IAM user must have an attached
 
1381
// policy that explicitly grants permissions. For more information on user permissions,
 
1382
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1383
func (c *OpsWorks) DescribeUserProfiles(input *DescribeUserProfilesInput) (*DescribeUserProfilesOutput, error) {
 
1384
        req, out := c.DescribeUserProfilesRequest(input)
 
1385
        err := req.Send()
 
1386
        return out, err
 
1387
}
 
1388
 
 
1389
const opDescribeVolumes = "DescribeVolumes"
 
1390
 
 
1391
// DescribeVolumesRequest generates a request for the DescribeVolumes operation.
 
1392
func (c *OpsWorks) DescribeVolumesRequest(input *DescribeVolumesInput) (req *request.Request, output *DescribeVolumesOutput) {
 
1393
        op := &request.Operation{
 
1394
                Name:       opDescribeVolumes,
 
1395
                HTTPMethod: "POST",
 
1396
                HTTPPath:   "/",
 
1397
        }
 
1398
 
 
1399
        if input == nil {
 
1400
                input = &DescribeVolumesInput{}
 
1401
        }
 
1402
 
 
1403
        req = c.newRequest(op, input, output)
 
1404
        output = &DescribeVolumesOutput{}
 
1405
        req.Data = output
 
1406
        return
 
1407
}
 
1408
 
 
1409
// Describes an instance's Amazon EBS volumes.
 
1410
//
 
1411
//  You must specify at least one of the parameters.
 
1412
//
 
1413
//  Required Permissions: To use this action, an IAM user must have a Show,
 
1414
// Deploy, or Manage permissions level for the stack, or an attached policy
 
1415
// that explicitly grants permissions. For more information on user permissions,
 
1416
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1417
func (c *OpsWorks) DescribeVolumes(input *DescribeVolumesInput) (*DescribeVolumesOutput, error) {
 
1418
        req, out := c.DescribeVolumesRequest(input)
 
1419
        err := req.Send()
 
1420
        return out, err
 
1421
}
 
1422
 
 
1423
const opDetachElasticLoadBalancer = "DetachElasticLoadBalancer"
 
1424
 
 
1425
// DetachElasticLoadBalancerRequest generates a request for the DetachElasticLoadBalancer operation.
 
1426
func (c *OpsWorks) DetachElasticLoadBalancerRequest(input *DetachElasticLoadBalancerInput) (req *request.Request, output *DetachElasticLoadBalancerOutput) {
 
1427
        op := &request.Operation{
 
1428
                Name:       opDetachElasticLoadBalancer,
 
1429
                HTTPMethod: "POST",
 
1430
                HTTPPath:   "/",
 
1431
        }
 
1432
 
 
1433
        if input == nil {
 
1434
                input = &DetachElasticLoadBalancerInput{}
 
1435
        }
 
1436
 
 
1437
        req = c.newRequest(op, input, output)
 
1438
        output = &DetachElasticLoadBalancerOutput{}
 
1439
        req.Data = output
 
1440
        return
 
1441
}
 
1442
 
 
1443
// Detaches a specified Elastic Load Balancing instance from its layer.
 
1444
//
 
1445
// Required Permissions: To use this action, an IAM user must have a Manage
 
1446
// permissions level for the stack, or an attached policy that explicitly grants
 
1447
// permissions. For more information on user permissions, see Managing User
 
1448
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1449
func (c *OpsWorks) DetachElasticLoadBalancer(input *DetachElasticLoadBalancerInput) (*DetachElasticLoadBalancerOutput, error) {
 
1450
        req, out := c.DetachElasticLoadBalancerRequest(input)
 
1451
        err := req.Send()
 
1452
        return out, err
 
1453
}
 
1454
 
 
1455
const opDisassociateElasticIp = "DisassociateElasticIp"
 
1456
 
 
1457
// DisassociateElasticIpRequest generates a request for the DisassociateElasticIp operation.
 
1458
func (c *OpsWorks) DisassociateElasticIpRequest(input *DisassociateElasticIpInput) (req *request.Request, output *DisassociateElasticIpOutput) {
 
1459
        op := &request.Operation{
 
1460
                Name:       opDisassociateElasticIp,
 
1461
                HTTPMethod: "POST",
 
1462
                HTTPPath:   "/",
 
1463
        }
 
1464
 
 
1465
        if input == nil {
 
1466
                input = &DisassociateElasticIpInput{}
 
1467
        }
 
1468
 
 
1469
        req = c.newRequest(op, input, output)
 
1470
        output = &DisassociateElasticIpOutput{}
 
1471
        req.Data = output
 
1472
        return
 
1473
}
 
1474
 
 
1475
// Disassociates an Elastic IP address from its instance. The address remains
 
1476
// registered with the stack. For more information, see Resource Management
 
1477
// (http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).
 
1478
//
 
1479
// Required Permissions: To use this action, an IAM user must have a Manage
 
1480
// permissions level for the stack, or an attached policy that explicitly grants
 
1481
// permissions. For more information on user permissions, see Managing User
 
1482
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1483
func (c *OpsWorks) DisassociateElasticIp(input *DisassociateElasticIpInput) (*DisassociateElasticIpOutput, error) {
 
1484
        req, out := c.DisassociateElasticIpRequest(input)
 
1485
        err := req.Send()
 
1486
        return out, err
 
1487
}
 
1488
 
 
1489
const opGetHostnameSuggestion = "GetHostnameSuggestion"
 
1490
 
 
1491
// GetHostnameSuggestionRequest generates a request for the GetHostnameSuggestion operation.
 
1492
func (c *OpsWorks) GetHostnameSuggestionRequest(input *GetHostnameSuggestionInput) (req *request.Request, output *GetHostnameSuggestionOutput) {
 
1493
        op := &request.Operation{
 
1494
                Name:       opGetHostnameSuggestion,
 
1495
                HTTPMethod: "POST",
 
1496
                HTTPPath:   "/",
 
1497
        }
 
1498
 
 
1499
        if input == nil {
 
1500
                input = &GetHostnameSuggestionInput{}
 
1501
        }
 
1502
 
 
1503
        req = c.newRequest(op, input, output)
 
1504
        output = &GetHostnameSuggestionOutput{}
 
1505
        req.Data = output
 
1506
        return
 
1507
}
 
1508
 
 
1509
// Gets a generated host name for the specified layer, based on the current
 
1510
// host name theme.
 
1511
//
 
1512
// Required Permissions: To use this action, an IAM user must have a Manage
 
1513
// permissions level for the stack, or an attached policy that explicitly grants
 
1514
// permissions. For more information on user permissions, see Managing User
 
1515
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1516
func (c *OpsWorks) GetHostnameSuggestion(input *GetHostnameSuggestionInput) (*GetHostnameSuggestionOutput, error) {
 
1517
        req, out := c.GetHostnameSuggestionRequest(input)
 
1518
        err := req.Send()
 
1519
        return out, err
 
1520
}
 
1521
 
 
1522
const opGrantAccess = "GrantAccess"
 
1523
 
 
1524
// GrantAccessRequest generates a request for the GrantAccess operation.
 
1525
func (c *OpsWorks) GrantAccessRequest(input *GrantAccessInput) (req *request.Request, output *GrantAccessOutput) {
 
1526
        op := &request.Operation{
 
1527
                Name:       opGrantAccess,
 
1528
                HTTPMethod: "POST",
 
1529
                HTTPPath:   "/",
 
1530
        }
 
1531
 
 
1532
        if input == nil {
 
1533
                input = &GrantAccessInput{}
 
1534
        }
 
1535
 
 
1536
        req = c.newRequest(op, input, output)
 
1537
        output = &GrantAccessOutput{}
 
1538
        req.Data = output
 
1539
        return
 
1540
}
 
1541
 
 
1542
// This action can be used only with Windows stacks. Grants RDP access to a
 
1543
// Windows instance for a specified time period.
 
1544
func (c *OpsWorks) GrantAccess(input *GrantAccessInput) (*GrantAccessOutput, error) {
 
1545
        req, out := c.GrantAccessRequest(input)
 
1546
        err := req.Send()
 
1547
        return out, err
 
1548
}
 
1549
 
 
1550
const opRebootInstance = "RebootInstance"
 
1551
 
 
1552
// RebootInstanceRequest generates a request for the RebootInstance operation.
 
1553
func (c *OpsWorks) RebootInstanceRequest(input *RebootInstanceInput) (req *request.Request, output *RebootInstanceOutput) {
 
1554
        op := &request.Operation{
 
1555
                Name:       opRebootInstance,
 
1556
                HTTPMethod: "POST",
 
1557
                HTTPPath:   "/",
 
1558
        }
 
1559
 
 
1560
        if input == nil {
 
1561
                input = &RebootInstanceInput{}
 
1562
        }
 
1563
 
 
1564
        req = c.newRequest(op, input, output)
 
1565
        output = &RebootInstanceOutput{}
 
1566
        req.Data = output
 
1567
        return
 
1568
}
 
1569
 
 
1570
// Reboots a specified instance. For more information, see Starting, Stopping,
 
1571
// and Rebooting Instances (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-starting.html).
 
1572
//
 
1573
// Required Permissions: To use this action, an IAM user must have a Manage
 
1574
// permissions level for the stack, or an attached policy that explicitly grants
 
1575
// permissions. For more information on user permissions, see Managing User
 
1576
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1577
func (c *OpsWorks) RebootInstance(input *RebootInstanceInput) (*RebootInstanceOutput, error) {
 
1578
        req, out := c.RebootInstanceRequest(input)
 
1579
        err := req.Send()
 
1580
        return out, err
 
1581
}
 
1582
 
 
1583
const opRegisterEcsCluster = "RegisterEcsCluster"
 
1584
 
 
1585
// RegisterEcsClusterRequest generates a request for the RegisterEcsCluster operation.
 
1586
func (c *OpsWorks) RegisterEcsClusterRequest(input *RegisterEcsClusterInput) (req *request.Request, output *RegisterEcsClusterOutput) {
 
1587
        op := &request.Operation{
 
1588
                Name:       opRegisterEcsCluster,
 
1589
                HTTPMethod: "POST",
 
1590
                HTTPPath:   "/",
 
1591
        }
 
1592
 
 
1593
        if input == nil {
 
1594
                input = &RegisterEcsClusterInput{}
 
1595
        }
 
1596
 
 
1597
        req = c.newRequest(op, input, output)
 
1598
        output = &RegisterEcsClusterOutput{}
 
1599
        req.Data = output
 
1600
        return
 
1601
}
 
1602
 
 
1603
// Registers a specified Amazon ECS cluster with a stack. You can register only
 
1604
// one cluster with a stack. A cluster can be registered with only one stack.
 
1605
// For more information, see  Resource Management (http://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-ecscluster.html).
 
1606
//
 
1607
// Required Permissions: To use this action, an IAM user must have a Manage
 
1608
// permissions level for the stack or an attached policy that explicitly grants
 
1609
// permissions. For more information on user permissions, see  Managing User
 
1610
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1611
func (c *OpsWorks) RegisterEcsCluster(input *RegisterEcsClusterInput) (*RegisterEcsClusterOutput, error) {
 
1612
        req, out := c.RegisterEcsClusterRequest(input)
 
1613
        err := req.Send()
 
1614
        return out, err
 
1615
}
 
1616
 
 
1617
const opRegisterElasticIp = "RegisterElasticIp"
 
1618
 
 
1619
// RegisterElasticIpRequest generates a request for the RegisterElasticIp operation.
 
1620
func (c *OpsWorks) RegisterElasticIpRequest(input *RegisterElasticIpInput) (req *request.Request, output *RegisterElasticIpOutput) {
 
1621
        op := &request.Operation{
 
1622
                Name:       opRegisterElasticIp,
 
1623
                HTTPMethod: "POST",
 
1624
                HTTPPath:   "/",
 
1625
        }
 
1626
 
 
1627
        if input == nil {
 
1628
                input = &RegisterElasticIpInput{}
 
1629
        }
 
1630
 
 
1631
        req = c.newRequest(op, input, output)
 
1632
        output = &RegisterElasticIpOutput{}
 
1633
        req.Data = output
 
1634
        return
 
1635
}
 
1636
 
 
1637
// Registers an Elastic IP address with a specified stack. An address can be
 
1638
// registered with only one stack at a time. If the address is already registered,
 
1639
// you must first deregister it by calling DeregisterElasticIp. For more information,
 
1640
// see Resource Management (http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).
 
1641
//
 
1642
// Required Permissions: To use this action, an IAM user must have a Manage
 
1643
// permissions level for the stack, or an attached policy that explicitly grants
 
1644
// permissions. For more information on user permissions, see Managing User
 
1645
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1646
func (c *OpsWorks) RegisterElasticIp(input *RegisterElasticIpInput) (*RegisterElasticIpOutput, error) {
 
1647
        req, out := c.RegisterElasticIpRequest(input)
 
1648
        err := req.Send()
 
1649
        return out, err
 
1650
}
 
1651
 
 
1652
const opRegisterInstance = "RegisterInstance"
 
1653
 
 
1654
// RegisterInstanceRequest generates a request for the RegisterInstance operation.
 
1655
func (c *OpsWorks) RegisterInstanceRequest(input *RegisterInstanceInput) (req *request.Request, output *RegisterInstanceOutput) {
 
1656
        op := &request.Operation{
 
1657
                Name:       opRegisterInstance,
 
1658
                HTTPMethod: "POST",
 
1659
                HTTPPath:   "/",
 
1660
        }
 
1661
 
 
1662
        if input == nil {
 
1663
                input = &RegisterInstanceInput{}
 
1664
        }
 
1665
 
 
1666
        req = c.newRequest(op, input, output)
 
1667
        output = &RegisterInstanceOutput{}
 
1668
        req.Data = output
 
1669
        return
 
1670
}
 
1671
 
 
1672
// Registers instances with a specified stack that were created outside of AWS
 
1673
// OpsWorks.
 
1674
//
 
1675
// We do not recommend using this action to register instances. The complete
 
1676
// registration operation has two primary steps, installing the AWS OpsWorks
 
1677
// agent on the instance and registering the instance with the stack. RegisterInstance
 
1678
// handles only the second step. You should instead use the AWS CLI register
 
1679
// command, which performs the entire registration operation. For more information,
 
1680
// see  Registering an Instance with an AWS OpsWorks Stack (http://docs.aws.amazon.com/opsworks/latest/userguide/registered-instances-register.html).
 
1681
// Required Permissions: To use this action, an IAM user must have a Manage
 
1682
// permissions level for the stack or an attached policy that explicitly grants
 
1683
// permissions. For more information on user permissions, see Managing User
 
1684
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1685
func (c *OpsWorks) RegisterInstance(input *RegisterInstanceInput) (*RegisterInstanceOutput, error) {
 
1686
        req, out := c.RegisterInstanceRequest(input)
 
1687
        err := req.Send()
 
1688
        return out, err
 
1689
}
 
1690
 
 
1691
const opRegisterRdsDbInstance = "RegisterRdsDbInstance"
 
1692
 
 
1693
// RegisterRdsDbInstanceRequest generates a request for the RegisterRdsDbInstance operation.
 
1694
func (c *OpsWorks) RegisterRdsDbInstanceRequest(input *RegisterRdsDbInstanceInput) (req *request.Request, output *RegisterRdsDbInstanceOutput) {
 
1695
        op := &request.Operation{
 
1696
                Name:       opRegisterRdsDbInstance,
 
1697
                HTTPMethod: "POST",
 
1698
                HTTPPath:   "/",
 
1699
        }
 
1700
 
 
1701
        if input == nil {
 
1702
                input = &RegisterRdsDbInstanceInput{}
 
1703
        }
 
1704
 
 
1705
        req = c.newRequest(op, input, output)
 
1706
        output = &RegisterRdsDbInstanceOutput{}
 
1707
        req.Data = output
 
1708
        return
 
1709
}
 
1710
 
 
1711
// Registers an Amazon RDS instance with a stack.
 
1712
//
 
1713
// Required Permissions: To use this action, an IAM user must have a Manage
 
1714
// permissions level for the stack, or an attached policy that explicitly grants
 
1715
// permissions. For more information on user permissions, see Managing User
 
1716
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1717
func (c *OpsWorks) RegisterRdsDbInstance(input *RegisterRdsDbInstanceInput) (*RegisterRdsDbInstanceOutput, error) {
 
1718
        req, out := c.RegisterRdsDbInstanceRequest(input)
 
1719
        err := req.Send()
 
1720
        return out, err
 
1721
}
 
1722
 
 
1723
const opRegisterVolume = "RegisterVolume"
 
1724
 
 
1725
// RegisterVolumeRequest generates a request for the RegisterVolume operation.
 
1726
func (c *OpsWorks) RegisterVolumeRequest(input *RegisterVolumeInput) (req *request.Request, output *RegisterVolumeOutput) {
 
1727
        op := &request.Operation{
 
1728
                Name:       opRegisterVolume,
 
1729
                HTTPMethod: "POST",
 
1730
                HTTPPath:   "/",
 
1731
        }
 
1732
 
 
1733
        if input == nil {
 
1734
                input = &RegisterVolumeInput{}
 
1735
        }
 
1736
 
 
1737
        req = c.newRequest(op, input, output)
 
1738
        output = &RegisterVolumeOutput{}
 
1739
        req.Data = output
 
1740
        return
 
1741
}
 
1742
 
 
1743
// Registers an Amazon EBS volume with a specified stack. A volume can be registered
 
1744
// with only one stack at a time. If the volume is already registered, you must
 
1745
// first deregister it by calling DeregisterVolume. For more information, see
 
1746
// Resource Management (http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).
 
1747
//
 
1748
// Required Permissions: To use this action, an IAM user must have a Manage
 
1749
// permissions level for the stack, or an attached policy that explicitly grants
 
1750
// permissions. For more information on user permissions, see Managing User
 
1751
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1752
func (c *OpsWorks) RegisterVolume(input *RegisterVolumeInput) (*RegisterVolumeOutput, error) {
 
1753
        req, out := c.RegisterVolumeRequest(input)
 
1754
        err := req.Send()
 
1755
        return out, err
 
1756
}
 
1757
 
 
1758
const opSetLoadBasedAutoScaling = "SetLoadBasedAutoScaling"
 
1759
 
 
1760
// SetLoadBasedAutoScalingRequest generates a request for the SetLoadBasedAutoScaling operation.
 
1761
func (c *OpsWorks) SetLoadBasedAutoScalingRequest(input *SetLoadBasedAutoScalingInput) (req *request.Request, output *SetLoadBasedAutoScalingOutput) {
 
1762
        op := &request.Operation{
 
1763
                Name:       opSetLoadBasedAutoScaling,
 
1764
                HTTPMethod: "POST",
 
1765
                HTTPPath:   "/",
 
1766
        }
 
1767
 
 
1768
        if input == nil {
 
1769
                input = &SetLoadBasedAutoScalingInput{}
 
1770
        }
 
1771
 
 
1772
        req = c.newRequest(op, input, output)
 
1773
        output = &SetLoadBasedAutoScalingOutput{}
 
1774
        req.Data = output
 
1775
        return
 
1776
}
 
1777
 
 
1778
// Specify the load-based auto scaling configuration for a specified layer.
 
1779
// For more information, see Managing Load with Time-based and Load-based Instances
 
1780
// (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-autoscaling.html).
 
1781
//
 
1782
//  To use load-based auto scaling, you must create a set of load-based auto
 
1783
// scaling instances. Load-based auto scaling operates only on the instances
 
1784
// from that set, so you must ensure that you have created enough instances
 
1785
// to handle the maximum anticipated load.
 
1786
//
 
1787
//  Required Permissions: To use this action, an IAM user must have a Manage
 
1788
// permissions level for the stack, or an attached policy that explicitly grants
 
1789
// permissions. For more information on user permissions, see Managing User
 
1790
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1791
func (c *OpsWorks) SetLoadBasedAutoScaling(input *SetLoadBasedAutoScalingInput) (*SetLoadBasedAutoScalingOutput, error) {
 
1792
        req, out := c.SetLoadBasedAutoScalingRequest(input)
 
1793
        err := req.Send()
 
1794
        return out, err
 
1795
}
 
1796
 
 
1797
const opSetPermission = "SetPermission"
 
1798
 
 
1799
// SetPermissionRequest generates a request for the SetPermission operation.
 
1800
func (c *OpsWorks) SetPermissionRequest(input *SetPermissionInput) (req *request.Request, output *SetPermissionOutput) {
 
1801
        op := &request.Operation{
 
1802
                Name:       opSetPermission,
 
1803
                HTTPMethod: "POST",
 
1804
                HTTPPath:   "/",
 
1805
        }
 
1806
 
 
1807
        if input == nil {
 
1808
                input = &SetPermissionInput{}
 
1809
        }
 
1810
 
 
1811
        req = c.newRequest(op, input, output)
 
1812
        output = &SetPermissionOutput{}
 
1813
        req.Data = output
 
1814
        return
 
1815
}
 
1816
 
 
1817
// Specifies a user's permissions. For more information, see Security and Permissions
 
1818
// (http://docs.aws.amazon.com/opsworks/latest/userguide/workingsecurity.html).
 
1819
//
 
1820
// Required Permissions: To use this action, an IAM user must have a Manage
 
1821
// permissions level for the stack, or an attached policy that explicitly grants
 
1822
// permissions. For more information on user permissions, see Managing User
 
1823
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1824
func (c *OpsWorks) SetPermission(input *SetPermissionInput) (*SetPermissionOutput, error) {
 
1825
        req, out := c.SetPermissionRequest(input)
 
1826
        err := req.Send()
 
1827
        return out, err
 
1828
}
 
1829
 
 
1830
const opSetTimeBasedAutoScaling = "SetTimeBasedAutoScaling"
 
1831
 
 
1832
// SetTimeBasedAutoScalingRequest generates a request for the SetTimeBasedAutoScaling operation.
 
1833
func (c *OpsWorks) SetTimeBasedAutoScalingRequest(input *SetTimeBasedAutoScalingInput) (req *request.Request, output *SetTimeBasedAutoScalingOutput) {
 
1834
        op := &request.Operation{
 
1835
                Name:       opSetTimeBasedAutoScaling,
 
1836
                HTTPMethod: "POST",
 
1837
                HTTPPath:   "/",
 
1838
        }
 
1839
 
 
1840
        if input == nil {
 
1841
                input = &SetTimeBasedAutoScalingInput{}
 
1842
        }
 
1843
 
 
1844
        req = c.newRequest(op, input, output)
 
1845
        output = &SetTimeBasedAutoScalingOutput{}
 
1846
        req.Data = output
 
1847
        return
 
1848
}
 
1849
 
 
1850
// Specify the time-based auto scaling configuration for a specified instance.
 
1851
// For more information, see Managing Load with Time-based and Load-based Instances
 
1852
// (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-autoscaling.html).
 
1853
//
 
1854
// Required Permissions: To use this action, an IAM user must have a Manage
 
1855
// permissions level for the stack, or an attached policy that explicitly grants
 
1856
// permissions. For more information on user permissions, see Managing User
 
1857
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1858
func (c *OpsWorks) SetTimeBasedAutoScaling(input *SetTimeBasedAutoScalingInput) (*SetTimeBasedAutoScalingOutput, error) {
 
1859
        req, out := c.SetTimeBasedAutoScalingRequest(input)
 
1860
        err := req.Send()
 
1861
        return out, err
 
1862
}
 
1863
 
 
1864
const opStartInstance = "StartInstance"
 
1865
 
 
1866
// StartInstanceRequest generates a request for the StartInstance operation.
 
1867
func (c *OpsWorks) StartInstanceRequest(input *StartInstanceInput) (req *request.Request, output *StartInstanceOutput) {
 
1868
        op := &request.Operation{
 
1869
                Name:       opStartInstance,
 
1870
                HTTPMethod: "POST",
 
1871
                HTTPPath:   "/",
 
1872
        }
 
1873
 
 
1874
        if input == nil {
 
1875
                input = &StartInstanceInput{}
 
1876
        }
 
1877
 
 
1878
        req = c.newRequest(op, input, output)
 
1879
        output = &StartInstanceOutput{}
 
1880
        req.Data = output
 
1881
        return
 
1882
}
 
1883
 
 
1884
// Starts a specified instance. For more information, see Starting, Stopping,
 
1885
// and Rebooting Instances (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-starting.html).
 
1886
//
 
1887
// Required Permissions: To use this action, an IAM user must have a Manage
 
1888
// permissions level for the stack, or an attached policy that explicitly grants
 
1889
// permissions. For more information on user permissions, see Managing User
 
1890
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1891
func (c *OpsWorks) StartInstance(input *StartInstanceInput) (*StartInstanceOutput, error) {
 
1892
        req, out := c.StartInstanceRequest(input)
 
1893
        err := req.Send()
 
1894
        return out, err
 
1895
}
 
1896
 
 
1897
const opStartStack = "StartStack"
 
1898
 
 
1899
// StartStackRequest generates a request for the StartStack operation.
 
1900
func (c *OpsWorks) StartStackRequest(input *StartStackInput) (req *request.Request, output *StartStackOutput) {
 
1901
        op := &request.Operation{
 
1902
                Name:       opStartStack,
 
1903
                HTTPMethod: "POST",
 
1904
                HTTPPath:   "/",
 
1905
        }
 
1906
 
 
1907
        if input == nil {
 
1908
                input = &StartStackInput{}
 
1909
        }
 
1910
 
 
1911
        req = c.newRequest(op, input, output)
 
1912
        output = &StartStackOutput{}
 
1913
        req.Data = output
 
1914
        return
 
1915
}
 
1916
 
 
1917
// Starts a stack's instances.
 
1918
//
 
1919
// Required Permissions: To use this action, an IAM user must have a Manage
 
1920
// permissions level for the stack, or an attached policy that explicitly grants
 
1921
// permissions. For more information on user permissions, see Managing User
 
1922
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1923
func (c *OpsWorks) StartStack(input *StartStackInput) (*StartStackOutput, error) {
 
1924
        req, out := c.StartStackRequest(input)
 
1925
        err := req.Send()
 
1926
        return out, err
 
1927
}
 
1928
 
 
1929
const opStopInstance = "StopInstance"
 
1930
 
 
1931
// StopInstanceRequest generates a request for the StopInstance operation.
 
1932
func (c *OpsWorks) StopInstanceRequest(input *StopInstanceInput) (req *request.Request, output *StopInstanceOutput) {
 
1933
        op := &request.Operation{
 
1934
                Name:       opStopInstance,
 
1935
                HTTPMethod: "POST",
 
1936
                HTTPPath:   "/",
 
1937
        }
 
1938
 
 
1939
        if input == nil {
 
1940
                input = &StopInstanceInput{}
 
1941
        }
 
1942
 
 
1943
        req = c.newRequest(op, input, output)
 
1944
        output = &StopInstanceOutput{}
 
1945
        req.Data = output
 
1946
        return
 
1947
}
 
1948
 
 
1949
// Stops a specified instance. When you stop a standard instance, the data disappears
 
1950
// and must be reinstalled when you restart the instance. You can stop an Amazon
 
1951
// EBS-backed instance without losing data. For more information, see Starting,
 
1952
// Stopping, and Rebooting Instances (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-starting.html).
 
1953
//
 
1954
// Required Permissions: To use this action, an IAM user must have a Manage
 
1955
// permissions level for the stack, or an attached policy that explicitly grants
 
1956
// permissions. For more information on user permissions, see Managing User
 
1957
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1958
func (c *OpsWorks) StopInstance(input *StopInstanceInput) (*StopInstanceOutput, error) {
 
1959
        req, out := c.StopInstanceRequest(input)
 
1960
        err := req.Send()
 
1961
        return out, err
 
1962
}
 
1963
 
 
1964
const opStopStack = "StopStack"
 
1965
 
 
1966
// StopStackRequest generates a request for the StopStack operation.
 
1967
func (c *OpsWorks) StopStackRequest(input *StopStackInput) (req *request.Request, output *StopStackOutput) {
 
1968
        op := &request.Operation{
 
1969
                Name:       opStopStack,
 
1970
                HTTPMethod: "POST",
 
1971
                HTTPPath:   "/",
 
1972
        }
 
1973
 
 
1974
        if input == nil {
 
1975
                input = &StopStackInput{}
 
1976
        }
 
1977
 
 
1978
        req = c.newRequest(op, input, output)
 
1979
        output = &StopStackOutput{}
 
1980
        req.Data = output
 
1981
        return
 
1982
}
 
1983
 
 
1984
// Stops a specified stack.
 
1985
//
 
1986
// Required Permissions: To use this action, an IAM user must have a Manage
 
1987
// permissions level for the stack, or an attached policy that explicitly grants
 
1988
// permissions. For more information on user permissions, see Managing User
 
1989
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
1990
func (c *OpsWorks) StopStack(input *StopStackInput) (*StopStackOutput, error) {
 
1991
        req, out := c.StopStackRequest(input)
 
1992
        err := req.Send()
 
1993
        return out, err
 
1994
}
 
1995
 
 
1996
const opUnassignInstance = "UnassignInstance"
 
1997
 
 
1998
// UnassignInstanceRequest generates a request for the UnassignInstance operation.
 
1999
func (c *OpsWorks) UnassignInstanceRequest(input *UnassignInstanceInput) (req *request.Request, output *UnassignInstanceOutput) {
 
2000
        op := &request.Operation{
 
2001
                Name:       opUnassignInstance,
 
2002
                HTTPMethod: "POST",
 
2003
                HTTPPath:   "/",
 
2004
        }
 
2005
 
 
2006
        if input == nil {
 
2007
                input = &UnassignInstanceInput{}
 
2008
        }
 
2009
 
 
2010
        req = c.newRequest(op, input, output)
 
2011
        output = &UnassignInstanceOutput{}
 
2012
        req.Data = output
 
2013
        return
 
2014
}
 
2015
 
 
2016
// Unassigns a registered instance from all of it's layers. The instance remains
 
2017
// in the stack as an unassigned instance and can be assigned to another layer,
 
2018
// as needed. You cannot use this action with instances that were created with
 
2019
// AWS OpsWorks.
 
2020
//
 
2021
// Required Permissions: To use this action, an IAM user must have a Manage
 
2022
// permissions level for the stack or an attached policy that explicitly grants
 
2023
// permissions. For more information on user permissions, see Managing User
 
2024
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
2025
func (c *OpsWorks) UnassignInstance(input *UnassignInstanceInput) (*UnassignInstanceOutput, error) {
 
2026
        req, out := c.UnassignInstanceRequest(input)
 
2027
        err := req.Send()
 
2028
        return out, err
 
2029
}
 
2030
 
 
2031
const opUnassignVolume = "UnassignVolume"
 
2032
 
 
2033
// UnassignVolumeRequest generates a request for the UnassignVolume operation.
 
2034
func (c *OpsWorks) UnassignVolumeRequest(input *UnassignVolumeInput) (req *request.Request, output *UnassignVolumeOutput) {
 
2035
        op := &request.Operation{
 
2036
                Name:       opUnassignVolume,
 
2037
                HTTPMethod: "POST",
 
2038
                HTTPPath:   "/",
 
2039
        }
 
2040
 
 
2041
        if input == nil {
 
2042
                input = &UnassignVolumeInput{}
 
2043
        }
 
2044
 
 
2045
        req = c.newRequest(op, input, output)
 
2046
        output = &UnassignVolumeOutput{}
 
2047
        req.Data = output
 
2048
        return
 
2049
}
 
2050
 
 
2051
// Unassigns an assigned Amazon EBS volume. The volume remains registered with
 
2052
// the stack. For more information, see Resource Management (http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).
 
2053
//
 
2054
// Required Permissions: To use this action, an IAM user must have a Manage
 
2055
// permissions level for the stack, or an attached policy that explicitly grants
 
2056
// permissions. For more information on user permissions, see Managing User
 
2057
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
2058
func (c *OpsWorks) UnassignVolume(input *UnassignVolumeInput) (*UnassignVolumeOutput, error) {
 
2059
        req, out := c.UnassignVolumeRequest(input)
 
2060
        err := req.Send()
 
2061
        return out, err
 
2062
}
 
2063
 
 
2064
const opUpdateApp = "UpdateApp"
 
2065
 
 
2066
// UpdateAppRequest generates a request for the UpdateApp operation.
 
2067
func (c *OpsWorks) UpdateAppRequest(input *UpdateAppInput) (req *request.Request, output *UpdateAppOutput) {
 
2068
        op := &request.Operation{
 
2069
                Name:       opUpdateApp,
 
2070
                HTTPMethod: "POST",
 
2071
                HTTPPath:   "/",
 
2072
        }
 
2073
 
 
2074
        if input == nil {
 
2075
                input = &UpdateAppInput{}
 
2076
        }
 
2077
 
 
2078
        req = c.newRequest(op, input, output)
 
2079
        output = &UpdateAppOutput{}
 
2080
        req.Data = output
 
2081
        return
 
2082
}
 
2083
 
 
2084
// Updates a specified app.
 
2085
//
 
2086
// Required Permissions: To use this action, an IAM user must have a Deploy
 
2087
// or Manage permissions level for the stack, or an attached policy that explicitly
 
2088
// grants permissions. For more information on user permissions, see Managing
 
2089
// User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
2090
func (c *OpsWorks) UpdateApp(input *UpdateAppInput) (*UpdateAppOutput, error) {
 
2091
        req, out := c.UpdateAppRequest(input)
 
2092
        err := req.Send()
 
2093
        return out, err
 
2094
}
 
2095
 
 
2096
const opUpdateElasticIp = "UpdateElasticIp"
 
2097
 
 
2098
// UpdateElasticIpRequest generates a request for the UpdateElasticIp operation.
 
2099
func (c *OpsWorks) UpdateElasticIpRequest(input *UpdateElasticIpInput) (req *request.Request, output *UpdateElasticIpOutput) {
 
2100
        op := &request.Operation{
 
2101
                Name:       opUpdateElasticIp,
 
2102
                HTTPMethod: "POST",
 
2103
                HTTPPath:   "/",
 
2104
        }
 
2105
 
 
2106
        if input == nil {
 
2107
                input = &UpdateElasticIpInput{}
 
2108
        }
 
2109
 
 
2110
        req = c.newRequest(op, input, output)
 
2111
        output = &UpdateElasticIpOutput{}
 
2112
        req.Data = output
 
2113
        return
 
2114
}
 
2115
 
 
2116
// Updates a registered Elastic IP address's name. For more information, see
 
2117
// Resource Management (http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).
 
2118
//
 
2119
// Required Permissions: To use this action, an IAM user must have a Manage
 
2120
// permissions level for the stack, or an attached policy that explicitly grants
 
2121
// permissions. For more information on user permissions, see Managing User
 
2122
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
2123
func (c *OpsWorks) UpdateElasticIp(input *UpdateElasticIpInput) (*UpdateElasticIpOutput, error) {
 
2124
        req, out := c.UpdateElasticIpRequest(input)
 
2125
        err := req.Send()
 
2126
        return out, err
 
2127
}
 
2128
 
 
2129
const opUpdateInstance = "UpdateInstance"
 
2130
 
 
2131
// UpdateInstanceRequest generates a request for the UpdateInstance operation.
 
2132
func (c *OpsWorks) UpdateInstanceRequest(input *UpdateInstanceInput) (req *request.Request, output *UpdateInstanceOutput) {
 
2133
        op := &request.Operation{
 
2134
                Name:       opUpdateInstance,
 
2135
                HTTPMethod: "POST",
 
2136
                HTTPPath:   "/",
 
2137
        }
 
2138
 
 
2139
        if input == nil {
 
2140
                input = &UpdateInstanceInput{}
 
2141
        }
 
2142
 
 
2143
        req = c.newRequest(op, input, output)
 
2144
        output = &UpdateInstanceOutput{}
 
2145
        req.Data = output
 
2146
        return
 
2147
}
 
2148
 
 
2149
// Updates a specified instance.
 
2150
//
 
2151
// Required Permissions: To use this action, an IAM user must have a Manage
 
2152
// permissions level for the stack, or an attached policy that explicitly grants
 
2153
// permissions. For more information on user permissions, see Managing User
 
2154
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
2155
func (c *OpsWorks) UpdateInstance(input *UpdateInstanceInput) (*UpdateInstanceOutput, error) {
 
2156
        req, out := c.UpdateInstanceRequest(input)
 
2157
        err := req.Send()
 
2158
        return out, err
 
2159
}
 
2160
 
 
2161
const opUpdateLayer = "UpdateLayer"
 
2162
 
 
2163
// UpdateLayerRequest generates a request for the UpdateLayer operation.
 
2164
func (c *OpsWorks) UpdateLayerRequest(input *UpdateLayerInput) (req *request.Request, output *UpdateLayerOutput) {
 
2165
        op := &request.Operation{
 
2166
                Name:       opUpdateLayer,
 
2167
                HTTPMethod: "POST",
 
2168
                HTTPPath:   "/",
 
2169
        }
 
2170
 
 
2171
        if input == nil {
 
2172
                input = &UpdateLayerInput{}
 
2173
        }
 
2174
 
 
2175
        req = c.newRequest(op, input, output)
 
2176
        output = &UpdateLayerOutput{}
 
2177
        req.Data = output
 
2178
        return
 
2179
}
 
2180
 
 
2181
// Updates a specified layer.
 
2182
//
 
2183
// Required Permissions: To use this action, an IAM user must have a Manage
 
2184
// permissions level for the stack, or an attached policy that explicitly grants
 
2185
// permissions. For more information on user permissions, see Managing User
 
2186
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
2187
func (c *OpsWorks) UpdateLayer(input *UpdateLayerInput) (*UpdateLayerOutput, error) {
 
2188
        req, out := c.UpdateLayerRequest(input)
 
2189
        err := req.Send()
 
2190
        return out, err
 
2191
}
 
2192
 
 
2193
const opUpdateMyUserProfile = "UpdateMyUserProfile"
 
2194
 
 
2195
// UpdateMyUserProfileRequest generates a request for the UpdateMyUserProfile operation.
 
2196
func (c *OpsWorks) UpdateMyUserProfileRequest(input *UpdateMyUserProfileInput) (req *request.Request, output *UpdateMyUserProfileOutput) {
 
2197
        op := &request.Operation{
 
2198
                Name:       opUpdateMyUserProfile,
 
2199
                HTTPMethod: "POST",
 
2200
                HTTPPath:   "/",
 
2201
        }
 
2202
 
 
2203
        if input == nil {
 
2204
                input = &UpdateMyUserProfileInput{}
 
2205
        }
 
2206
 
 
2207
        req = c.newRequest(op, input, output)
 
2208
        output = &UpdateMyUserProfileOutput{}
 
2209
        req.Data = output
 
2210
        return
 
2211
}
 
2212
 
 
2213
// Updates a user's SSH public key.
 
2214
//
 
2215
// Required Permissions: To use this action, an IAM user must have self-management
 
2216
// enabled or an attached policy that explicitly grants permissions. For more
 
2217
// information on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
2218
func (c *OpsWorks) UpdateMyUserProfile(input *UpdateMyUserProfileInput) (*UpdateMyUserProfileOutput, error) {
 
2219
        req, out := c.UpdateMyUserProfileRequest(input)
 
2220
        err := req.Send()
 
2221
        return out, err
 
2222
}
 
2223
 
 
2224
const opUpdateRdsDbInstance = "UpdateRdsDbInstance"
 
2225
 
 
2226
// UpdateRdsDbInstanceRequest generates a request for the UpdateRdsDbInstance operation.
 
2227
func (c *OpsWorks) UpdateRdsDbInstanceRequest(input *UpdateRdsDbInstanceInput) (req *request.Request, output *UpdateRdsDbInstanceOutput) {
 
2228
        op := &request.Operation{
 
2229
                Name:       opUpdateRdsDbInstance,
 
2230
                HTTPMethod: "POST",
 
2231
                HTTPPath:   "/",
 
2232
        }
 
2233
 
 
2234
        if input == nil {
 
2235
                input = &UpdateRdsDbInstanceInput{}
 
2236
        }
 
2237
 
 
2238
        req = c.newRequest(op, input, output)
 
2239
        output = &UpdateRdsDbInstanceOutput{}
 
2240
        req.Data = output
 
2241
        return
 
2242
}
 
2243
 
 
2244
// Updates an Amazon RDS instance.
 
2245
//
 
2246
// Required Permissions: To use this action, an IAM user must have a Manage
 
2247
// permissions level for the stack, or an attached policy that explicitly grants
 
2248
// permissions. For more information on user permissions, see Managing User
 
2249
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
2250
func (c *OpsWorks) UpdateRdsDbInstance(input *UpdateRdsDbInstanceInput) (*UpdateRdsDbInstanceOutput, error) {
 
2251
        req, out := c.UpdateRdsDbInstanceRequest(input)
 
2252
        err := req.Send()
 
2253
        return out, err
 
2254
}
 
2255
 
 
2256
const opUpdateStack = "UpdateStack"
 
2257
 
 
2258
// UpdateStackRequest generates a request for the UpdateStack operation.
 
2259
func (c *OpsWorks) UpdateStackRequest(input *UpdateStackInput) (req *request.Request, output *UpdateStackOutput) {
 
2260
        op := &request.Operation{
 
2261
                Name:       opUpdateStack,
 
2262
                HTTPMethod: "POST",
 
2263
                HTTPPath:   "/",
 
2264
        }
 
2265
 
 
2266
        if input == nil {
 
2267
                input = &UpdateStackInput{}
 
2268
        }
 
2269
 
 
2270
        req = c.newRequest(op, input, output)
 
2271
        output = &UpdateStackOutput{}
 
2272
        req.Data = output
 
2273
        return
 
2274
}
 
2275
 
 
2276
// Updates a specified stack.
 
2277
//
 
2278
// Required Permissions: To use this action, an IAM user must have a Manage
 
2279
// permissions level for the stack, or an attached policy that explicitly grants
 
2280
// permissions. For more information on user permissions, see Managing User
 
2281
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
2282
func (c *OpsWorks) UpdateStack(input *UpdateStackInput) (*UpdateStackOutput, error) {
 
2283
        req, out := c.UpdateStackRequest(input)
 
2284
        err := req.Send()
 
2285
        return out, err
 
2286
}
 
2287
 
 
2288
const opUpdateUserProfile = "UpdateUserProfile"
 
2289
 
 
2290
// UpdateUserProfileRequest generates a request for the UpdateUserProfile operation.
 
2291
func (c *OpsWorks) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req *request.Request, output *UpdateUserProfileOutput) {
 
2292
        op := &request.Operation{
 
2293
                Name:       opUpdateUserProfile,
 
2294
                HTTPMethod: "POST",
 
2295
                HTTPPath:   "/",
 
2296
        }
 
2297
 
 
2298
        if input == nil {
 
2299
                input = &UpdateUserProfileInput{}
 
2300
        }
 
2301
 
 
2302
        req = c.newRequest(op, input, output)
 
2303
        output = &UpdateUserProfileOutput{}
 
2304
        req.Data = output
 
2305
        return
 
2306
}
 
2307
 
 
2308
// Updates a specified user profile.
 
2309
//
 
2310
// Required Permissions: To use this action, an IAM user must have an attached
 
2311
// policy that explicitly grants permissions. For more information on user permissions,
 
2312
// see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
2313
func (c *OpsWorks) UpdateUserProfile(input *UpdateUserProfileInput) (*UpdateUserProfileOutput, error) {
 
2314
        req, out := c.UpdateUserProfileRequest(input)
 
2315
        err := req.Send()
 
2316
        return out, err
 
2317
}
 
2318
 
 
2319
const opUpdateVolume = "UpdateVolume"
 
2320
 
 
2321
// UpdateVolumeRequest generates a request for the UpdateVolume operation.
 
2322
func (c *OpsWorks) UpdateVolumeRequest(input *UpdateVolumeInput) (req *request.Request, output *UpdateVolumeOutput) {
 
2323
        op := &request.Operation{
 
2324
                Name:       opUpdateVolume,
 
2325
                HTTPMethod: "POST",
 
2326
                HTTPPath:   "/",
 
2327
        }
 
2328
 
 
2329
        if input == nil {
 
2330
                input = &UpdateVolumeInput{}
 
2331
        }
 
2332
 
 
2333
        req = c.newRequest(op, input, output)
 
2334
        output = &UpdateVolumeOutput{}
 
2335
        req.Data = output
 
2336
        return
 
2337
}
 
2338
 
 
2339
// Updates an Amazon EBS volume's name or mount point. For more information,
 
2340
// see Resource Management (http://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).
 
2341
//
 
2342
// Required Permissions: To use this action, an IAM user must have a Manage
 
2343
// permissions level for the stack, or an attached policy that explicitly grants
 
2344
// permissions. For more information on user permissions, see Managing User
 
2345
// Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
2346
func (c *OpsWorks) UpdateVolume(input *UpdateVolumeInput) (*UpdateVolumeOutput, error) {
 
2347
        req, out := c.UpdateVolumeRequest(input)
 
2348
        err := req.Send()
 
2349
        return out, err
 
2350
}
 
2351
 
 
2352
// Describes an agent version.
 
2353
type AgentVersion struct {
 
2354
        // The configuration manager.
 
2355
        ConfigurationManager *StackConfigurationManager `type:"structure"`
 
2356
 
 
2357
        // The agent version.
 
2358
        Version *string `type:"string"`
 
2359
 
 
2360
        metadataAgentVersion `json:"-" xml:"-"`
 
2361
}
 
2362
 
 
2363
type metadataAgentVersion struct {
 
2364
        SDKShapeTraits bool `type:"structure"`
 
2365
}
 
2366
 
 
2367
// String returns the string representation
 
2368
func (s AgentVersion) String() string {
 
2369
        return awsutil.Prettify(s)
 
2370
}
 
2371
 
 
2372
// GoString returns the string representation
 
2373
func (s AgentVersion) GoString() string {
 
2374
        return s.String()
 
2375
}
 
2376
 
 
2377
// A description of the app.
 
2378
type App struct {
 
2379
        // The app ID.
 
2380
        AppId *string `type:"string"`
 
2381
 
 
2382
        // A Source object that describes the app repository.
 
2383
        AppSource *Source `type:"structure"`
 
2384
 
 
2385
        // The stack attributes.
 
2386
        Attributes map[string]*string `type:"map"`
 
2387
 
 
2388
        // When the app was created.
 
2389
        CreatedAt *string `type:"string"`
 
2390
 
 
2391
        // The app's data sources.
 
2392
        DataSources []*DataSource `type:"list"`
 
2393
 
 
2394
        // A description of the app.
 
2395
        Description *string `type:"string"`
 
2396
 
 
2397
        // The app vhost settings with multiple domains separated by commas. For example:
 
2398
        // 'www.example.com, example.com'
 
2399
        Domains []*string `type:"list"`
 
2400
 
 
2401
        // Whether to enable SSL for the app.
 
2402
        EnableSsl *bool `type:"boolean"`
 
2403
 
 
2404
        // An array of EnvironmentVariable objects that specify environment variables
 
2405
        // to be associated with the app. After you deploy the app, these variables
 
2406
        // are defined on the associated app server instances. For more information,
 
2407
        // see  Environment Variables (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html#workingapps-creating-environment).
 
2408
        //
 
2409
        //  There is no specific limit on the number of environment variables. However,
 
2410
        // the size of the associated data structure - which includes the variables'
 
2411
        // names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes).
 
2412
        // This limit should accommodate most if not all use cases, but if you do exceed
 
2413
        // it, you will cause an exception (API) with an "Environment: is too large
 
2414
        // (maximum is 10KB)" message.
 
2415
        Environment []*EnvironmentVariable `type:"list"`
 
2416
 
 
2417
        // The app name.
 
2418
        Name *string `type:"string"`
 
2419
 
 
2420
        // The app's short name.
 
2421
        Shortname *string `type:"string"`
 
2422
 
 
2423
        // An SslConfiguration object with the SSL configuration.
 
2424
        SslConfiguration *SslConfiguration `type:"structure"`
 
2425
 
 
2426
        // The app stack ID.
 
2427
        StackId *string `type:"string"`
 
2428
 
 
2429
        // The app type.
 
2430
        Type *string `type:"string" enum:"AppType"`
 
2431
 
 
2432
        metadataApp `json:"-" xml:"-"`
 
2433
}
 
2434
 
 
2435
type metadataApp struct {
 
2436
        SDKShapeTraits bool `type:"structure"`
 
2437
}
 
2438
 
 
2439
// String returns the string representation
 
2440
func (s App) String() string {
 
2441
        return awsutil.Prettify(s)
 
2442
}
 
2443
 
 
2444
// GoString returns the string representation
 
2445
func (s App) GoString() string {
 
2446
        return s.String()
 
2447
}
 
2448
 
 
2449
type AssignInstanceInput struct {
 
2450
        // The instance ID.
 
2451
        InstanceId *string `type:"string" required:"true"`
 
2452
 
 
2453
        // The layer ID, which must correspond to a custom layer. You cannot assign
 
2454
        // a registered instance to a built-in layer.
 
2455
        LayerIds []*string `type:"list" required:"true"`
 
2456
 
 
2457
        metadataAssignInstanceInput `json:"-" xml:"-"`
 
2458
}
 
2459
 
 
2460
type metadataAssignInstanceInput struct {
 
2461
        SDKShapeTraits bool `type:"structure"`
 
2462
}
 
2463
 
 
2464
// String returns the string representation
 
2465
func (s AssignInstanceInput) String() string {
 
2466
        return awsutil.Prettify(s)
 
2467
}
 
2468
 
 
2469
// GoString returns the string representation
 
2470
func (s AssignInstanceInput) GoString() string {
 
2471
        return s.String()
 
2472
}
 
2473
 
 
2474
type AssignInstanceOutput struct {
 
2475
        metadataAssignInstanceOutput `json:"-" xml:"-"`
 
2476
}
 
2477
 
 
2478
type metadataAssignInstanceOutput struct {
 
2479
        SDKShapeTraits bool `type:"structure"`
 
2480
}
 
2481
 
 
2482
// String returns the string representation
 
2483
func (s AssignInstanceOutput) String() string {
 
2484
        return awsutil.Prettify(s)
 
2485
}
 
2486
 
 
2487
// GoString returns the string representation
 
2488
func (s AssignInstanceOutput) GoString() string {
 
2489
        return s.String()
 
2490
}
 
2491
 
 
2492
type AssignVolumeInput struct {
 
2493
        // The instance ID.
 
2494
        InstanceId *string `type:"string"`
 
2495
 
 
2496
        // The volume ID.
 
2497
        VolumeId *string `type:"string" required:"true"`
 
2498
 
 
2499
        metadataAssignVolumeInput `json:"-" xml:"-"`
 
2500
}
 
2501
 
 
2502
type metadataAssignVolumeInput struct {
 
2503
        SDKShapeTraits bool `type:"structure"`
 
2504
}
 
2505
 
 
2506
// String returns the string representation
 
2507
func (s AssignVolumeInput) String() string {
 
2508
        return awsutil.Prettify(s)
 
2509
}
 
2510
 
 
2511
// GoString returns the string representation
 
2512
func (s AssignVolumeInput) GoString() string {
 
2513
        return s.String()
 
2514
}
 
2515
 
 
2516
type AssignVolumeOutput struct {
 
2517
        metadataAssignVolumeOutput `json:"-" xml:"-"`
 
2518
}
 
2519
 
 
2520
type metadataAssignVolumeOutput struct {
 
2521
        SDKShapeTraits bool `type:"structure"`
 
2522
}
 
2523
 
 
2524
// String returns the string representation
 
2525
func (s AssignVolumeOutput) String() string {
 
2526
        return awsutil.Prettify(s)
 
2527
}
 
2528
 
 
2529
// GoString returns the string representation
 
2530
func (s AssignVolumeOutput) GoString() string {
 
2531
        return s.String()
 
2532
}
 
2533
 
 
2534
type AssociateElasticIpInput struct {
 
2535
        // The Elastic IP address.
 
2536
        ElasticIp *string `type:"string" required:"true"`
 
2537
 
 
2538
        // The instance ID.
 
2539
        InstanceId *string `type:"string"`
 
2540
 
 
2541
        metadataAssociateElasticIpInput `json:"-" xml:"-"`
 
2542
}
 
2543
 
 
2544
type metadataAssociateElasticIpInput struct {
 
2545
        SDKShapeTraits bool `type:"structure"`
 
2546
}
 
2547
 
 
2548
// String returns the string representation
 
2549
func (s AssociateElasticIpInput) String() string {
 
2550
        return awsutil.Prettify(s)
 
2551
}
 
2552
 
 
2553
// GoString returns the string representation
 
2554
func (s AssociateElasticIpInput) GoString() string {
 
2555
        return s.String()
 
2556
}
 
2557
 
 
2558
type AssociateElasticIpOutput struct {
 
2559
        metadataAssociateElasticIpOutput `json:"-" xml:"-"`
 
2560
}
 
2561
 
 
2562
type metadataAssociateElasticIpOutput struct {
 
2563
        SDKShapeTraits bool `type:"structure"`
 
2564
}
 
2565
 
 
2566
// String returns the string representation
 
2567
func (s AssociateElasticIpOutput) String() string {
 
2568
        return awsutil.Prettify(s)
 
2569
}
 
2570
 
 
2571
// GoString returns the string representation
 
2572
func (s AssociateElasticIpOutput) GoString() string {
 
2573
        return s.String()
 
2574
}
 
2575
 
 
2576
type AttachElasticLoadBalancerInput struct {
 
2577
        // The Elastic Load Balancing instance's name.
 
2578
        ElasticLoadBalancerName *string `type:"string" required:"true"`
 
2579
 
 
2580
        // The ID of the layer that the Elastic Load Balancing instance is to be attached
 
2581
        // to.
 
2582
        LayerId *string `type:"string" required:"true"`
 
2583
 
 
2584
        metadataAttachElasticLoadBalancerInput `json:"-" xml:"-"`
 
2585
}
 
2586
 
 
2587
type metadataAttachElasticLoadBalancerInput struct {
 
2588
        SDKShapeTraits bool `type:"structure"`
 
2589
}
 
2590
 
 
2591
// String returns the string representation
 
2592
func (s AttachElasticLoadBalancerInput) String() string {
 
2593
        return awsutil.Prettify(s)
 
2594
}
 
2595
 
 
2596
// GoString returns the string representation
 
2597
func (s AttachElasticLoadBalancerInput) GoString() string {
 
2598
        return s.String()
 
2599
}
 
2600
 
 
2601
type AttachElasticLoadBalancerOutput struct {
 
2602
        metadataAttachElasticLoadBalancerOutput `json:"-" xml:"-"`
 
2603
}
 
2604
 
 
2605
type metadataAttachElasticLoadBalancerOutput struct {
 
2606
        SDKShapeTraits bool `type:"structure"`
 
2607
}
 
2608
 
 
2609
// String returns the string representation
 
2610
func (s AttachElasticLoadBalancerOutput) String() string {
 
2611
        return awsutil.Prettify(s)
 
2612
}
 
2613
 
 
2614
// GoString returns the string representation
 
2615
func (s AttachElasticLoadBalancerOutput) GoString() string {
 
2616
        return s.String()
 
2617
}
 
2618
 
 
2619
// Describes a load-based auto scaling upscaling or downscaling threshold configuration,
 
2620
// which specifies when AWS OpsWorks starts or stops load-based instances.
 
2621
type AutoScalingThresholds struct {
 
2622
        // Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter
 
2623
        // takes a list of up to five alarm names, which are case sensitive and must
 
2624
        // be in the same region as the stack.
 
2625
        //
 
2626
        // To use custom alarms, you must update your service role to allow cloudwatch:DescribeAlarms.
 
2627
        // You can either have AWS OpsWorks update the role for you when you first use
 
2628
        // this feature or you can edit the role manually. For more information, see
 
2629
        // Allowing AWS OpsWorks to Act on Your Behalf (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-servicerole.html).
 
2630
        Alarms []*string `type:"list"`
 
2631
 
 
2632
        // The CPU utilization threshold, as a percent of the available CPU.
 
2633
        CpuThreshold *float64 `type:"double"`
 
2634
 
 
2635
        // The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks
 
2636
        // should ignore metrics and suppress additional scaling events. For example,
 
2637
        // AWS OpsWorks adds new instances following an upscaling event but the instances
 
2638
        // won't start reducing the load until they have been booted and configured.
 
2639
        // There is no point in raising additional scaling events during that operation,
 
2640
        // which typically takes several minutes. IgnoreMetricsTime allows you to direct
 
2641
        // AWS OpsWorks to suppress scaling events long enough to get the new instances
 
2642
        // online.
 
2643
        IgnoreMetricsTime *int64 `min:"1" type:"integer"`
 
2644
 
 
2645
        // The number of instances to add or remove when the load exceeds a threshold.
 
2646
        InstanceCount *int64 `type:"integer"`
 
2647
 
 
2648
        // The load threshold. For more information about how load is computed, see
 
2649
        // Load (computing) (http://en.wikipedia.org/wiki/Load_%28computing%29).
 
2650
        LoadThreshold *float64 `type:"double"`
 
2651
 
 
2652
        // The memory utilization threshold, as a percent of the available memory.
 
2653
        MemoryThreshold *float64 `type:"double"`
 
2654
 
 
2655
        // The amount of time, in minutes, that the load must exceed a threshold before
 
2656
        // more instances are added or removed.
 
2657
        ThresholdsWaitTime *int64 `min:"1" type:"integer"`
 
2658
 
 
2659
        metadataAutoScalingThresholds `json:"-" xml:"-"`
 
2660
}
 
2661
 
 
2662
type metadataAutoScalingThresholds struct {
 
2663
        SDKShapeTraits bool `type:"structure"`
 
2664
}
 
2665
 
 
2666
// String returns the string representation
 
2667
func (s AutoScalingThresholds) String() string {
 
2668
        return awsutil.Prettify(s)
 
2669
}
 
2670
 
 
2671
// GoString returns the string representation
 
2672
func (s AutoScalingThresholds) GoString() string {
 
2673
        return s.String()
 
2674
}
 
2675
 
 
2676
// Describes a block device mapping. This data type maps directly to the Amazon
 
2677
// EC2 BlockDeviceMapping (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html)
 
2678
// data type.
 
2679
type BlockDeviceMapping struct {
 
2680
        // The device name that is exposed to the instance, such as /dev/sdh. For the
 
2681
        // root device, you can use the explicit device name or you can set this parameter
 
2682
        // to ROOT_DEVICE and AWS OpsWorks will provide the correct device name.
 
2683
        DeviceName *string `type:"string"`
 
2684
 
 
2685
        // An EBSBlockDevice that defines how to configure an Amazon EBS volume when
 
2686
        // the instance is launched.
 
2687
        Ebs *EbsBlockDevice `type:"structure"`
 
2688
 
 
2689
        // Suppresses the specified device included in the AMI's block device mapping.
 
2690
        NoDevice *string `type:"string"`
 
2691
 
 
2692
        // The virtual device name. For more information, see BlockDeviceMapping (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html).
 
2693
        VirtualName *string `type:"string"`
 
2694
 
 
2695
        metadataBlockDeviceMapping `json:"-" xml:"-"`
 
2696
}
 
2697
 
 
2698
type metadataBlockDeviceMapping struct {
 
2699
        SDKShapeTraits bool `type:"structure"`
 
2700
}
 
2701
 
 
2702
// String returns the string representation
 
2703
func (s BlockDeviceMapping) String() string {
 
2704
        return awsutil.Prettify(s)
 
2705
}
 
2706
 
 
2707
// GoString returns the string representation
 
2708
func (s BlockDeviceMapping) GoString() string {
 
2709
        return s.String()
 
2710
}
 
2711
 
 
2712
// Describes the Chef configuration.
 
2713
type ChefConfiguration struct {
 
2714
        // The Berkshelf version.
 
2715
        BerkshelfVersion *string `type:"string"`
 
2716
 
 
2717
        // Whether to enable Berkshelf.
 
2718
        ManageBerkshelf *bool `type:"boolean"`
 
2719
 
 
2720
        metadataChefConfiguration `json:"-" xml:"-"`
 
2721
}
 
2722
 
 
2723
type metadataChefConfiguration struct {
 
2724
        SDKShapeTraits bool `type:"structure"`
 
2725
}
 
2726
 
 
2727
// String returns the string representation
 
2728
func (s ChefConfiguration) String() string {
 
2729
        return awsutil.Prettify(s)
 
2730
}
 
2731
 
 
2732
// GoString returns the string representation
 
2733
func (s ChefConfiguration) GoString() string {
 
2734
        return s.String()
 
2735
}
 
2736
 
 
2737
type CloneStackInput struct {
 
2738
        // The default AWS OpsWorks agent version. You have the following options:
 
2739
        //
 
2740
        //  Auto-update - Set this parameter to LATEST. AWS OpsWorks automatically
 
2741
        // installs new agent versions on the stack's instances as soon as they are
 
2742
        // available. Fixed version - Set this parameter to your preferred agent version.
 
2743
        // To update the agent version, you must edit the stack configuration and specify
 
2744
        // a new version. AWS OpsWorks then automatically installs that version on the
 
2745
        // stack's instances.  The default setting is LATEST. To specify an agent version,
 
2746
        // you must use the complete version number, not the abbreviated number shown
 
2747
        // on the console. For a list of available agent version numbers, call DescribeAgentVersions.
 
2748
        //
 
2749
        // You can also specify an agent version when you create or update an instance,
 
2750
        // which overrides the stack's default setting.
 
2751
        AgentVersion *string `type:"string"`
 
2752
 
 
2753
        // A list of stack attributes and values as key/value pairs to be added to the
 
2754
        // cloned stack.
 
2755
        Attributes map[string]*string `type:"map"`
 
2756
 
 
2757
        // A ChefConfiguration object that specifies whether to enable Berkshelf and
 
2758
        // the Berkshelf version on Chef 11.10 stacks. For more information, see Create
 
2759
        // a New Stack (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
 
2760
        ChefConfiguration *ChefConfiguration `type:"structure"`
 
2761
 
 
2762
        // A list of source stack app IDs to be included in the cloned stack.
 
2763
        CloneAppIds []*string `type:"list"`
 
2764
 
 
2765
        // Whether to clone the source stack's permissions.
 
2766
        ClonePermissions *bool `type:"boolean"`
 
2767
 
 
2768
        // The configuration manager. When you clone a Linux stack we recommend that
 
2769
        // you use the configuration manager to specify the Chef version: 0.9, 11.4,
 
2770
        // or 11.10. The default value is currently 11.10.
 
2771
        ConfigurationManager *StackConfigurationManager `type:"structure"`
 
2772
 
 
2773
        // Contains the information required to retrieve an app or cookbook from a repository.
 
2774
        // For more information, see Creating Apps (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html)
 
2775
        // or Custom Recipes and Cookbooks (http://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html).
 
2776
        CustomCookbooksSource *Source `type:"structure"`
 
2777
 
 
2778
        // A string that contains user-defined, custom JSON. It is used to override
 
2779
        // the corresponding default stack configuration JSON values. The string should
 
2780
        // be in the following format and must escape characters such as '"':
 
2781
        //
 
2782
        //  "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
 
2783
        //
 
2784
        // For more information on custom JSON, see Use Custom JSON to Modify the Stack
 
2785
        // Configuration Attributes (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html)
 
2786
        CustomJson *string `type:"string"`
 
2787
 
 
2788
        // The cloned stack's default Availability Zone, which must be in the specified
 
2789
        // region. For more information, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html).
 
2790
        // If you also specify a value for DefaultSubnetId, the subnet must be in the
 
2791
        // same zone. For more information, see the VpcId parameter description.
 
2792
        DefaultAvailabilityZone *string `type:"string"`
 
2793
 
 
2794
        // The Amazon Resource Name (ARN) of an IAM profile that is the default profile
 
2795
        // for all of the stack's EC2 instances. For more information about IAM ARNs,
 
2796
        // see Using Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
 
2797
        DefaultInstanceProfileArn *string `type:"string"`
 
2798
 
 
2799
        // The stack's operating system, which must be set to one of the following.
 
2800
        //
 
2801
        //  A supported Linux operating system: An Amazon Linux version, such as Amazon
 
2802
        // Linux 2015.03, Red Hat Enterprise Linux 7, Ubuntu 12.04 LTS, or Ubuntu 14.04
 
2803
        // LTS.  Microsoft Windows Server 2012 R2 Base. A custom AMI: Custom. You specify
 
2804
        // the custom AMI you want to use when you create instances. For more information
 
2805
        // on how to use custom AMIs with OpsWorks, see Using Custom AMIs (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html).
 
2806
        //  The default option is the parent stack's operating system. For more information
 
2807
        // on the supported operating systems, see AWS OpsWorks Operating Systems (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html).
 
2808
        //
 
2809
        // You can specify a different Linux operating system for the cloned stack,
 
2810
        // but you cannot change from Linux to Windows or Windows to Linux.
 
2811
        DefaultOs *string `type:"string"`
 
2812
 
 
2813
        // The default root device type. This value is used by default for all instances
 
2814
        // in the cloned stack, but you can override it when you create an instance.
 
2815
        // For more information, see Storage for the Root Device (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device).
 
2816
        DefaultRootDeviceType *string `type:"string" enum:"RootDeviceType"`
 
2817
 
 
2818
        // A default Amazon EC2 key pair name. The default value is none. If you specify
 
2819
        // a key pair name, AWS OpsWorks installs the public key on the instance and
 
2820
        // you can use the private key with an SSH client to log in to the instance.
 
2821
        // For more information, see  Using SSH to Communicate with an Instance (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html)
 
2822
        // and  Managing SSH Access (http://docs.aws.amazon.com/opsworks/latest/userguide/security-ssh-access.html).
 
2823
        // You can override this setting by specifying a different key pair, or no key
 
2824
        // pair, when you  create an instance (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html).
 
2825
        DefaultSshKeyName *string `type:"string"`
 
2826
 
 
2827
        // The stack's default VPC subnet ID. This parameter is required if you specify
 
2828
        // a value for the VpcId parameter. All instances are launched into this subnet
 
2829
        // unless you specify otherwise when you create the instance. If you also specify
 
2830
        // a value for DefaultAvailabilityZone, the subnet must be in that zone. For
 
2831
        // information on default values and when this parameter is required, see the
 
2832
        // VpcId parameter description.
 
2833
        DefaultSubnetId *string `type:"string"`
 
2834
 
 
2835
        // The stack's host name theme, with spaces are replaced by underscores. The
 
2836
        // theme is used to generate host names for the stack's instances. By default,
 
2837
        // HostnameTheme is set to Layer_Dependent, which creates host names by appending
 
2838
        // integers to the layer's short name. The other themes are:
 
2839
        //
 
2840
        //   Baked_Goods   Clouds   Europe_Cities   Fruits   Greek_Deities   Legendary_creatures_from_Japan
 
2841
        //   Planets_and_Moons   Roman_Deities   Scottish_Islands   US_Cities   Wild_Cats
 
2842
        //   To obtain a generated host name, call GetHostNameSuggestion, which returns
 
2843
        // a host name based on the current theme.
 
2844
        HostnameTheme *string `type:"string"`
 
2845
 
 
2846
        // The cloned stack name.
 
2847
        Name *string `type:"string"`
 
2848
 
 
2849
        // The cloned stack AWS region, such as "us-east-1". For more information about
 
2850
        // AWS regions, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html).
 
2851
        Region *string `type:"string"`
 
2852
 
 
2853
        // The stack AWS Identity and Access Management (IAM) role, which allows AWS
 
2854
        // OpsWorks to work with AWS resources on your behalf. You must set this parameter
 
2855
        // to the Amazon Resource Name (ARN) for an existing IAM role. If you create
 
2856
        // a stack by using the AWS OpsWorks console, it creates the role for you. You
 
2857
        // can obtain an existing stack's IAM ARN programmatically by calling DescribePermissions.
 
2858
        // For more information about IAM ARNs, see Using Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
 
2859
        //
 
2860
        //  You must set this parameter to a valid service role ARN or the action will
 
2861
        // fail; there is no default value. You can specify the source stack's service
 
2862
        // role ARN, if you prefer, but you must do so explicitly.
 
2863
        ServiceRoleArn *string `type:"string" required:"true"`
 
2864
 
 
2865
        // The source stack ID.
 
2866
        SourceStackId *string `type:"string" required:"true"`
 
2867
 
 
2868
        // Whether to use custom cookbooks.
 
2869
        UseCustomCookbooks *bool `type:"boolean"`
 
2870
 
 
2871
        // Whether to associate the AWS OpsWorks built-in security groups with the stack's
 
2872
        // layers.
 
2873
        //
 
2874
        // AWS OpsWorks provides a standard set of built-in security groups, one for
 
2875
        // each layer, which are associated with layers by default. With UseOpsworksSecurityGroups
 
2876
        // you can instead provide your own custom security groups. UseOpsworksSecurityGroups
 
2877
        // has the following settings:
 
2878
        //
 
2879
        //  True - AWS OpsWorks automatically associates the appropriate built-in security
 
2880
        // group with each layer (default setting). You can associate additional security
 
2881
        // groups with a layer after you create it but you cannot delete the built-in
 
2882
        // security group.  False - AWS OpsWorks does not associate built-in security
 
2883
        // groups with layers. You must create appropriate Amazon Elastic Compute Cloud
 
2884
        // (Amazon EC2) security groups and associate a security group with each layer
 
2885
        // that you create. However, you can still manually associate a built-in security
 
2886
        // group with a layer on creation; custom security groups are required only
 
2887
        // for those layers that need custom settings.   For more information, see Create
 
2888
        // a New Stack (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
 
2889
        UseOpsworksSecurityGroups *bool `type:"boolean"`
 
2890
 
 
2891
        // The ID of the VPC that the cloned stack is to be launched into. It must be
 
2892
        // in the specified region. All instances are launched into this VPC, and you
 
2893
        // cannot change the ID later.
 
2894
        //
 
2895
        //  If your account supports EC2 Classic, the default value is no VPC. If your
 
2896
        // account does not support EC2 Classic, the default value is the default VPC
 
2897
        // for the specified region.  If the VPC ID corresponds to a default VPC and
 
2898
        // you have specified either the DefaultAvailabilityZone or the DefaultSubnetId
 
2899
        // parameter only, AWS OpsWorks infers the value of the other parameter. If
 
2900
        // you specify neither parameter, AWS OpsWorks sets these parameters to the
 
2901
        // first valid Availability Zone for the specified region and the corresponding
 
2902
        // default VPC subnet ID, respectively.
 
2903
        //
 
2904
        // If you specify a nondefault VPC ID, note the following:
 
2905
        //
 
2906
        //  It must belong to a VPC in your account that is in the specified region.
 
2907
        // You must specify a value for DefaultSubnetId.  For more information on how
 
2908
        // to use AWS OpsWorks with a VPC, see Running a Stack in a VPC (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-vpc.html).
 
2909
        // For more information on default VPC and EC2 Classic, see Supported Platforms
 
2910
        // (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html).
 
2911
        VpcId *string `type:"string"`
 
2912
 
 
2913
        metadataCloneStackInput `json:"-" xml:"-"`
 
2914
}
 
2915
 
 
2916
type metadataCloneStackInput struct {
 
2917
        SDKShapeTraits bool `type:"structure"`
 
2918
}
 
2919
 
 
2920
// String returns the string representation
 
2921
func (s CloneStackInput) String() string {
 
2922
        return awsutil.Prettify(s)
 
2923
}
 
2924
 
 
2925
// GoString returns the string representation
 
2926
func (s CloneStackInput) GoString() string {
 
2927
        return s.String()
 
2928
}
 
2929
 
 
2930
// Contains the response to a CloneStack request.
 
2931
type CloneStackOutput struct {
 
2932
        // The cloned stack ID.
 
2933
        StackId *string `type:"string"`
 
2934
 
 
2935
        metadataCloneStackOutput `json:"-" xml:"-"`
 
2936
}
 
2937
 
 
2938
type metadataCloneStackOutput struct {
 
2939
        SDKShapeTraits bool `type:"structure"`
 
2940
}
 
2941
 
 
2942
// String returns the string representation
 
2943
func (s CloneStackOutput) String() string {
 
2944
        return awsutil.Prettify(s)
 
2945
}
 
2946
 
 
2947
// GoString returns the string representation
 
2948
func (s CloneStackOutput) GoString() string {
 
2949
        return s.String()
 
2950
}
 
2951
 
 
2952
// Describes a command.
 
2953
type Command struct {
 
2954
        // Date and time when the command was acknowledged.
 
2955
        AcknowledgedAt *string `type:"string"`
 
2956
 
 
2957
        // The command ID.
 
2958
        CommandId *string `type:"string"`
 
2959
 
 
2960
        // Date when the command completed.
 
2961
        CompletedAt *string `type:"string"`
 
2962
 
 
2963
        // Date and time when the command was run.
 
2964
        CreatedAt *string `type:"string"`
 
2965
 
 
2966
        // The command deployment ID.
 
2967
        DeploymentId *string `type:"string"`
 
2968
 
 
2969
        // The command exit code.
 
2970
        ExitCode *int64 `type:"integer"`
 
2971
 
 
2972
        // The ID of the instance where the command was executed.
 
2973
        InstanceId *string `type:"string"`
 
2974
 
 
2975
        // The URL of the command log.
 
2976
        LogUrl *string `type:"string"`
 
2977
 
 
2978
        // The command status:
 
2979
        //
 
2980
        //  failed successful skipped pending
 
2981
        Status *string `type:"string"`
 
2982
 
 
2983
        // The command type:
 
2984
        //
 
2985
        //   deploy   rollback   start   stop   restart   undeploy   update_dependencies
 
2986
        //   install_dependencies   update_custom_cookbooks   execute_recipes
 
2987
        Type *string `type:"string"`
 
2988
 
 
2989
        metadataCommand `json:"-" xml:"-"`
 
2990
}
 
2991
 
 
2992
type metadataCommand struct {
 
2993
        SDKShapeTraits bool `type:"structure"`
 
2994
}
 
2995
 
 
2996
// String returns the string representation
 
2997
func (s Command) String() string {
 
2998
        return awsutil.Prettify(s)
 
2999
}
 
3000
 
 
3001
// GoString returns the string representation
 
3002
func (s Command) GoString() string {
 
3003
        return s.String()
 
3004
}
 
3005
 
 
3006
type CreateAppInput struct {
 
3007
        // A Source object that specifies the app repository.
 
3008
        AppSource *Source `type:"structure"`
 
3009
 
 
3010
        // One or more user-defined key/value pairs to be added to the stack attributes.
 
3011
        Attributes map[string]*string `type:"map"`
 
3012
 
 
3013
        // The app's data source.
 
3014
        DataSources []*DataSource `type:"list"`
 
3015
 
 
3016
        // A description of the app.
 
3017
        Description *string `type:"string"`
 
3018
 
 
3019
        // The app virtual host settings, with multiple domains separated by commas.
 
3020
        // For example: 'www.example.com, example.com'
 
3021
        Domains []*string `type:"list"`
 
3022
 
 
3023
        // Whether to enable SSL for the app.
 
3024
        EnableSsl *bool `type:"boolean"`
 
3025
 
 
3026
        // An array of EnvironmentVariable objects that specify environment variables
 
3027
        // to be associated with the app. After you deploy the app, these variables
 
3028
        // are defined on the associated app server instance. For more information,
 
3029
        // see  Environment Variables (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html#workingapps-creating-environment).
 
3030
        //
 
3031
        //  There is no specific limit on the number of environment variables. However,
 
3032
        // the size of the associated data structure - which includes the variables'
 
3033
        // names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes).
 
3034
        // This limit should accommodate most if not all use cases. Exceeding it will
 
3035
        // cause an exception with the message, "Environment: is too large (maximum
 
3036
        // is 10KB)."
 
3037
        //
 
3038
        // This parameter is supported only by Chef 11.10 stacks. If you have specified
 
3039
        // one or more environment variables, you cannot modify the stack's Chef version.
 
3040
        Environment []*EnvironmentVariable `type:"list"`
 
3041
 
 
3042
        // The app name.
 
3043
        Name *string `type:"string" required:"true"`
 
3044
 
 
3045
        // The app's short name.
 
3046
        Shortname *string `type:"string"`
 
3047
 
 
3048
        // An SslConfiguration object with the SSL configuration.
 
3049
        SslConfiguration *SslConfiguration `type:"structure"`
 
3050
 
 
3051
        // The stack ID.
 
3052
        StackId *string `type:"string" required:"true"`
 
3053
 
 
3054
        // The app type. Each supported type is associated with a particular layer.
 
3055
        // For example, PHP applications are associated with a PHP layer. AWS OpsWorks
 
3056
        // deploys an application to those instances that are members of the corresponding
 
3057
        // layer. If your app isn't one of the standard types, or you prefer to implement
 
3058
        // your own Deploy recipes, specify other.
 
3059
        Type *string `type:"string" required:"true" enum:"AppType"`
 
3060
 
 
3061
        metadataCreateAppInput `json:"-" xml:"-"`
 
3062
}
 
3063
 
 
3064
type metadataCreateAppInput struct {
 
3065
        SDKShapeTraits bool `type:"structure"`
 
3066
}
 
3067
 
 
3068
// String returns the string representation
 
3069
func (s CreateAppInput) String() string {
 
3070
        return awsutil.Prettify(s)
 
3071
}
 
3072
 
 
3073
// GoString returns the string representation
 
3074
func (s CreateAppInput) GoString() string {
 
3075
        return s.String()
 
3076
}
 
3077
 
 
3078
// Contains the response to a CreateApp request.
 
3079
type CreateAppOutput struct {
 
3080
        // The app ID.
 
3081
        AppId *string `type:"string"`
 
3082
 
 
3083
        metadataCreateAppOutput `json:"-" xml:"-"`
 
3084
}
 
3085
 
 
3086
type metadataCreateAppOutput struct {
 
3087
        SDKShapeTraits bool `type:"structure"`
 
3088
}
 
3089
 
 
3090
// String returns the string representation
 
3091
func (s CreateAppOutput) String() string {
 
3092
        return awsutil.Prettify(s)
 
3093
}
 
3094
 
 
3095
// GoString returns the string representation
 
3096
func (s CreateAppOutput) GoString() string {
 
3097
        return s.String()
 
3098
}
 
3099
 
 
3100
type CreateDeploymentInput struct {
 
3101
        // The app ID. This parameter is required for app deployments, but not for other
 
3102
        // deployment commands.
 
3103
        AppId *string `type:"string"`
 
3104
 
 
3105
        // A DeploymentCommand object that specifies the deployment command and any
 
3106
        // associated arguments.
 
3107
        Command *DeploymentCommand `type:"structure" required:"true"`
 
3108
 
 
3109
        // A user-defined comment.
 
3110
        Comment *string `type:"string"`
 
3111
 
 
3112
        // A string that contains user-defined, custom JSON. It is used to override
 
3113
        // the corresponding default stack configuration JSON values. The string should
 
3114
        // be in the following format and must escape characters such as '"':
 
3115
        //
 
3116
        //  "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
 
3117
        //
 
3118
        // For more information on custom JSON, see Use Custom JSON to Modify the Stack
 
3119
        // Configuration Attributes (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html).
 
3120
        CustomJson *string `type:"string"`
 
3121
 
 
3122
        // The instance IDs for the deployment targets.
 
3123
        InstanceIds []*string `type:"list"`
 
3124
 
 
3125
        // The stack ID.
 
3126
        StackId *string `type:"string" required:"true"`
 
3127
 
 
3128
        metadataCreateDeploymentInput `json:"-" xml:"-"`
 
3129
}
 
3130
 
 
3131
type metadataCreateDeploymentInput struct {
 
3132
        SDKShapeTraits bool `type:"structure"`
 
3133
}
 
3134
 
 
3135
// String returns the string representation
 
3136
func (s CreateDeploymentInput) String() string {
 
3137
        return awsutil.Prettify(s)
 
3138
}
 
3139
 
 
3140
// GoString returns the string representation
 
3141
func (s CreateDeploymentInput) GoString() string {
 
3142
        return s.String()
 
3143
}
 
3144
 
 
3145
// Contains the response to a CreateDeployment request.
 
3146
type CreateDeploymentOutput struct {
 
3147
        // The deployment ID, which can be used with other requests to identify the
 
3148
        // deployment.
 
3149
        DeploymentId *string `type:"string"`
 
3150
 
 
3151
        metadataCreateDeploymentOutput `json:"-" xml:"-"`
 
3152
}
 
3153
 
 
3154
type metadataCreateDeploymentOutput struct {
 
3155
        SDKShapeTraits bool `type:"structure"`
 
3156
}
 
3157
 
 
3158
// String returns the string representation
 
3159
func (s CreateDeploymentOutput) String() string {
 
3160
        return awsutil.Prettify(s)
 
3161
}
 
3162
 
 
3163
// GoString returns the string representation
 
3164
func (s CreateDeploymentOutput) GoString() string {
 
3165
        return s.String()
 
3166
}
 
3167
 
 
3168
type CreateInstanceInput struct {
 
3169
        // The default AWS OpsWorks agent version. You have the following options:
 
3170
        //
 
3171
        //   INHERIT - Use the stack's default agent version setting.  version_number
 
3172
        // - Use the specified agent version. This value overrides the stack's default
 
3173
        // setting. To update the agent version, edit the instance configuration and
 
3174
        // specify a new version. AWS OpsWorks then automatically installs that version
 
3175
        // on the instance.  The default setting is INHERIT. To specify an agent version,
 
3176
        // you must use the complete version number, not the abbreviated number shown
 
3177
        // on the console. For a list of available agent version numbers, call DescribeAgentVersions.
 
3178
        AgentVersion *string `type:"string"`
 
3179
 
 
3180
        // A custom AMI ID to be used to create the instance. The AMI should be based
 
3181
        // on one of the supported operating systems. For more information, see Using
 
3182
        // Custom AMIs (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html).
 
3183
        //
 
3184
        // If you specify a custom AMI, you must set Os to Custom.
 
3185
        AmiId *string `type:"string"`
 
3186
 
 
3187
        // The instance architecture. The default option is x86_64. Instance types do
 
3188
        // not necessarily support both architectures. For a list of the architectures
 
3189
        // that are supported by the different instance types, see Instance Families
 
3190
        // and Types (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html).
 
3191
        Architecture *string `type:"string" enum:"Architecture"`
 
3192
 
 
3193
        // For load-based or time-based instances, the type. Windows stacks can use
 
3194
        // only time-based instances.
 
3195
        AutoScalingType *string `type:"string" enum:"AutoScalingType"`
 
3196
 
 
3197
        // The instance Availability Zone. For more information, see Regions and Endpoints
 
3198
        // (http://docs.aws.amazon.com/general/latest/gr/rande.html).
 
3199
        AvailabilityZone *string `type:"string"`
 
3200
 
 
3201
        // An array of BlockDeviceMapping objects that specify the instance's block
 
3202
        // devices. For more information, see Block Device Mapping (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html).
 
3203
        BlockDeviceMappings []*BlockDeviceMapping `type:"list"`
 
3204
 
 
3205
        // Whether to create an Amazon EBS-optimized instance.
 
3206
        EbsOptimized *bool `type:"boolean"`
 
3207
 
 
3208
        // The instance host name.
 
3209
        Hostname *string `type:"string"`
 
3210
 
 
3211
        // Whether to install operating system and package updates when the instance
 
3212
        // boots. The default value is true. To control when updates are installed,
 
3213
        // set this value to false. You must then update your instances manually by
 
3214
        // using CreateDeployment to run the update_dependencies stack command or by
 
3215
        // manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances.
 
3216
        //
 
3217
        //  We strongly recommend using the default value of true to ensure that your
 
3218
        // instances have the latest security updates.
 
3219
        InstallUpdatesOnBoot *bool `type:"boolean"`
 
3220
 
 
3221
        // The instance type, such as t2.micro. For a list of supported instance types,
 
3222
        // open the stack in the console, choose Instances, and choose + Instance. The
 
3223
        // Size list contains the currently supported types. For more information, see
 
3224
        // Instance Families and Types (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html).
 
3225
        // The parameter values that you use to specify the various types are in the
 
3226
        // API Name column of the Available Instance Types table.
 
3227
        InstanceType *string `type:"string" required:"true"`
 
3228
 
 
3229
        // An array that contains the instance's layer IDs.
 
3230
        LayerIds []*string `type:"list" required:"true"`
 
3231
 
 
3232
        // The instance's operating system, which must be set to one of the following.
 
3233
        //
 
3234
        //  A supported Linux operating system: An Amazon Linux version, such as Amazon
 
3235
        // Linux 2015.03, Red Hat Enterprise Linux 7, Ubuntu 12.04 LTS, or Ubuntu 14.04
 
3236
        // LTS.  Microsoft Windows Server 2012 R2 Base. A custom AMI: Custom.  For more
 
3237
        // information on the supported operating systems, see AWS OpsWorks Operating
 
3238
        // Systems (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html).
 
3239
        //
 
3240
        // The default option is the current Amazon Linux version. If you set this
 
3241
        // parameter to Custom, you must use the CreateInstance action's AmiId parameter
 
3242
        // to specify the custom AMI that you want to use. For more information on the
 
3243
        // supported operating systems, see Operating Systems (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html)For
 
3244
        // more information on how to use custom AMIs with AWS OpsWorks, see Using Custom
 
3245
        // AMIs (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html).
 
3246
        Os *string `type:"string"`
 
3247
 
 
3248
        // The instance root device type. For more information, see Storage for the
 
3249
        // Root Device (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device).
 
3250
        RootDeviceType *string `type:"string" enum:"RootDeviceType"`
 
3251
 
 
3252
        // The instance's Amazon EC2 key-pair name.
 
3253
        SshKeyName *string `type:"string"`
 
3254
 
 
3255
        // The stack ID.
 
3256
        StackId *string `type:"string" required:"true"`
 
3257
 
 
3258
        // The ID of the instance's subnet. If the stack is running in a VPC, you can
 
3259
        // use this parameter to override the stack's default subnet ID value and direct
 
3260
        // AWS OpsWorks to launch the instance in a different subnet.
 
3261
        SubnetId *string `type:"string"`
 
3262
 
 
3263
        // The instance's virtualization type, paravirtual or hvm.
 
3264
        VirtualizationType *string `type:"string"`
 
3265
 
 
3266
        metadataCreateInstanceInput `json:"-" xml:"-"`
 
3267
}
 
3268
 
 
3269
type metadataCreateInstanceInput struct {
 
3270
        SDKShapeTraits bool `type:"structure"`
 
3271
}
 
3272
 
 
3273
// String returns the string representation
 
3274
func (s CreateInstanceInput) String() string {
 
3275
        return awsutil.Prettify(s)
 
3276
}
 
3277
 
 
3278
// GoString returns the string representation
 
3279
func (s CreateInstanceInput) GoString() string {
 
3280
        return s.String()
 
3281
}
 
3282
 
 
3283
// Contains the response to a CreateInstance request.
 
3284
type CreateInstanceOutput struct {
 
3285
        // The instance ID.
 
3286
        InstanceId *string `type:"string"`
 
3287
 
 
3288
        metadataCreateInstanceOutput `json:"-" xml:"-"`
 
3289
}
 
3290
 
 
3291
type metadataCreateInstanceOutput struct {
 
3292
        SDKShapeTraits bool `type:"structure"`
 
3293
}
 
3294
 
 
3295
// String returns the string representation
 
3296
func (s CreateInstanceOutput) String() string {
 
3297
        return awsutil.Prettify(s)
 
3298
}
 
3299
 
 
3300
// GoString returns the string representation
 
3301
func (s CreateInstanceOutput) GoString() string {
 
3302
        return s.String()
 
3303
}
 
3304
 
 
3305
type CreateLayerInput struct {
 
3306
        // One or more user-defined key-value pairs to be added to the stack attributes.
 
3307
        //
 
3308
        // To create a cluster layer, set the EcsClusterArn attribute to the cluster's
 
3309
        // ARN.
 
3310
        Attributes map[string]*string `type:"map"`
 
3311
 
 
3312
        // Whether to automatically assign an Elastic IP address (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html)
 
3313
        // to the layer's instances. For more information, see How to Edit a Layer (http://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html).
 
3314
        AutoAssignElasticIps *bool `type:"boolean"`
 
3315
 
 
3316
        // For stacks that are running in a VPC, whether to automatically assign a public
 
3317
        // IP address to the layer's instances. For more information, see How to Edit
 
3318
        // a Layer (http://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html).
 
3319
        AutoAssignPublicIps *bool `type:"boolean"`
 
3320
 
 
3321
        // The ARN of an IAM profile to be used for the layer's EC2 instances. For more
 
3322
        // information about IAM ARNs, see Using Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
 
3323
        CustomInstanceProfileArn *string `type:"string"`
 
3324
 
 
3325
        // A JSON-formatted string containing custom stack configuration and deployment
 
3326
        // attributes to be installed on the layer's instances. For more information,
 
3327
        // see  Using Custom JSON (http://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-json-override.html).
 
3328
        CustomJson *string `type:"string"`
 
3329
 
 
3330
        // A LayerCustomRecipes object that specifies the layer custom recipes.
 
3331
        CustomRecipes *Recipes `type:"structure"`
 
3332
 
 
3333
        // An array containing the layer custom security group IDs.
 
3334
        CustomSecurityGroupIds []*string `type:"list"`
 
3335
 
 
3336
        // Whether to disable auto healing for the layer.
 
3337
        EnableAutoHealing *bool `type:"boolean"`
 
3338
 
 
3339
        // Whether to install operating system and package updates when the instance
 
3340
        // boots. The default value is true. To control when updates are installed,
 
3341
        // set this value to false. You must then update your instances manually by
 
3342
        // using CreateDeployment to run the update_dependencies stack command or by
 
3343
        // manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances.
 
3344
        //
 
3345
        //  To ensure that your instances have the latest security updates, we strongly
 
3346
        // recommend using the default value of true.
 
3347
        InstallUpdatesOnBoot *bool `type:"boolean"`
 
3348
 
 
3349
        // A LifeCycleEventConfiguration object that you can use to configure the Shutdown
 
3350
        // event to specify an execution timeout and enable or disable Elastic Load
 
3351
        // Balancer connection draining.
 
3352
        LifecycleEventConfiguration *LifecycleEventConfiguration `type:"structure"`
 
3353
 
 
3354
        // The layer name, which is used by the console.
 
3355
        Name *string `type:"string" required:"true"`
 
3356
 
 
3357
        // An array of Package objects that describes the layer packages.
 
3358
        Packages []*string `type:"list"`
 
3359
 
 
3360
        // For custom layers only, use this parameter to specify the layer's short name,
 
3361
        // which is used internally by AWS OpsWorks and by Chef recipes. The short name
 
3362
        // is also used as the name for the directory where your app files are installed.
 
3363
        // It can have a maximum of 200 characters, which are limited to the alphanumeric
 
3364
        // characters, '-', '_', and '.'.
 
3365
        //
 
3366
        // The built-in layers' short names are defined by AWS OpsWorks. For more information,
 
3367
        // see the Layer Reference (http://docs.aws.amazon.com/opsworks/latest/userguide/layers.html).
 
3368
        Shortname *string `type:"string" required:"true"`
 
3369
 
 
3370
        // The layer stack ID.
 
3371
        StackId *string `type:"string" required:"true"`
 
3372
 
 
3373
        // The layer type. A stack cannot have more than one built-in layer of the same
 
3374
        // type. It can have any number of custom layers.
 
3375
        Type *string `type:"string" required:"true" enum:"LayerType"`
 
3376
 
 
3377
        // Whether to use Amazon EBS-optimized instances.
 
3378
        UseEbsOptimizedInstances *bool `type:"boolean"`
 
3379
 
 
3380
        // A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
 
3381
        VolumeConfigurations []*VolumeConfiguration `type:"list"`
 
3382
 
 
3383
        metadataCreateLayerInput `json:"-" xml:"-"`
 
3384
}
 
3385
 
 
3386
type metadataCreateLayerInput struct {
 
3387
        SDKShapeTraits bool `type:"structure"`
 
3388
}
 
3389
 
 
3390
// String returns the string representation
 
3391
func (s CreateLayerInput) String() string {
 
3392
        return awsutil.Prettify(s)
 
3393
}
 
3394
 
 
3395
// GoString returns the string representation
 
3396
func (s CreateLayerInput) GoString() string {
 
3397
        return s.String()
 
3398
}
 
3399
 
 
3400
// Contains the response to a CreateLayer request.
 
3401
type CreateLayerOutput struct {
 
3402
        // The layer ID.
 
3403
        LayerId *string `type:"string"`
 
3404
 
 
3405
        metadataCreateLayerOutput `json:"-" xml:"-"`
 
3406
}
 
3407
 
 
3408
type metadataCreateLayerOutput struct {
 
3409
        SDKShapeTraits bool `type:"structure"`
 
3410
}
 
3411
 
 
3412
// String returns the string representation
 
3413
func (s CreateLayerOutput) String() string {
 
3414
        return awsutil.Prettify(s)
 
3415
}
 
3416
 
 
3417
// GoString returns the string representation
 
3418
func (s CreateLayerOutput) GoString() string {
 
3419
        return s.String()
 
3420
}
 
3421
 
 
3422
type CreateStackInput struct {
 
3423
        // The default AWS OpsWorks agent version. You have the following options:
 
3424
        //
 
3425
        //  Auto-update - Set this parameter to LATEST. AWS OpsWorks automatically
 
3426
        // installs new agent versions on the stack's instances as soon as they are
 
3427
        // available. Fixed version - Set this parameter to your preferred agent version.
 
3428
        // To update the agent version, you must edit the stack configuration and specify
 
3429
        // a new version. AWS OpsWorks then automatically installs that version on the
 
3430
        // stack's instances.  The default setting is LATEST. To specify an agent version,
 
3431
        // you must use the complete version number, not the abbreviated number shown
 
3432
        // on the console. For a list of available agent version numbers, call DescribeAgentVersions.
 
3433
        //
 
3434
        // You can also specify an agent version when you create or update an instance,
 
3435
        // which overrides the stack's default setting.
 
3436
        AgentVersion *string `type:"string"`
 
3437
 
 
3438
        // One or more user-defined key-value pairs to be added to the stack attributes.
 
3439
        Attributes map[string]*string `type:"map"`
 
3440
 
 
3441
        // A ChefConfiguration object that specifies whether to enable Berkshelf and
 
3442
        // the Berkshelf version on Chef 11.10 stacks. For more information, see Create
 
3443
        // a New Stack (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
 
3444
        ChefConfiguration *ChefConfiguration `type:"structure"`
 
3445
 
 
3446
        // The configuration manager. When you clone a stack we recommend that you use
 
3447
        // the configuration manager to specify the Chef version: 0.9, 11.4, or 11.10.
 
3448
        // The default value is currently 11.4.
 
3449
        ConfigurationManager *StackConfigurationManager `type:"structure"`
 
3450
 
 
3451
        // Contains the information required to retrieve an app or cookbook from a repository.
 
3452
        // For more information, see Creating Apps (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html)
 
3453
        // or Custom Recipes and Cookbooks (http://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html).
 
3454
        CustomCookbooksSource *Source `type:"structure"`
 
3455
 
 
3456
        // A string that contains user-defined, custom JSON. It can be used to override
 
3457
        // the corresponding default stack configuration attribute values or to pass
 
3458
        // data to recipes. The string should be in the following escape characters
 
3459
        // such as '"':
 
3460
        //
 
3461
        //  "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
 
3462
        //
 
3463
        // For more information on custom JSON, see Use Custom JSON to Modify the Stack
 
3464
        // Configuration Attributes (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html).
 
3465
        CustomJson *string `type:"string"`
 
3466
 
 
3467
        // The stack's default Availability Zone, which must be in the specified region.
 
3468
        // For more information, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html).
 
3469
        // If you also specify a value for DefaultSubnetId, the subnet must be in the
 
3470
        // same zone. For more information, see the VpcId parameter description.
 
3471
        DefaultAvailabilityZone *string `type:"string"`
 
3472
 
 
3473
        // The Amazon Resource Name (ARN) of an IAM profile that is the default profile
 
3474
        // for all of the stack's EC2 instances. For more information about IAM ARNs,
 
3475
        // see Using Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
 
3476
        DefaultInstanceProfileArn *string `type:"string" required:"true"`
 
3477
 
 
3478
        // The stack's default operating system, which is installed on every instance
 
3479
        // unless you specify a different operating system when you create the instance.
 
3480
        // You can specify one of the following.
 
3481
        //
 
3482
        //  A supported Linux operating system: An Amazon Linux version, such as Amazon
 
3483
        // Linux 2015.03, Red Hat Enterprise Linux 7, Ubuntu 12.04 LTS, or Ubuntu 14.04
 
3484
        // LTS.  Microsoft Windows Server 2012 R2 Base. A custom AMI: Custom. You specify
 
3485
        // the custom AMI you want to use when you create instances. For more information,
 
3486
        // see  Using Custom AMIs (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html).
 
3487
        //  The default option is the current Amazon Linux version. For more information
 
3488
        // on the supported operating systems, see AWS OpsWorks Operating Systems (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html).
 
3489
        DefaultOs *string `type:"string"`
 
3490
 
 
3491
        // The default root device type. This value is the default for all instances
 
3492
        // in the stack, but you can override it when you create an instance. The default
 
3493
        // option is instance-store. For more information, see Storage for the Root
 
3494
        // Device (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device).
 
3495
        DefaultRootDeviceType *string `type:"string" enum:"RootDeviceType"`
 
3496
 
 
3497
        // A default Amazon EC2 key pair name. The default value is none. If you specify
 
3498
        // a key pair name, AWS OpsWorks installs the public key on the instance and
 
3499
        // you can use the private key with an SSH client to log in to the instance.
 
3500
        // For more information, see  Using SSH to Communicate with an Instance (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html)
 
3501
        // and  Managing SSH Access (http://docs.aws.amazon.com/opsworks/latest/userguide/security-ssh-access.html).
 
3502
        // You can override this setting by specifying a different key pair, or no key
 
3503
        // pair, when you  create an instance (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html).
 
3504
        DefaultSshKeyName *string `type:"string"`
 
3505
 
 
3506
        // The stack's default VPC subnet ID. This parameter is required if you specify
 
3507
        // a value for the VpcId parameter. All instances are launched into this subnet
 
3508
        // unless you specify otherwise when you create the instance. If you also specify
 
3509
        // a value for DefaultAvailabilityZone, the subnet must be in that zone. For
 
3510
        // information on default values and when this parameter is required, see the
 
3511
        // VpcId parameter description.
 
3512
        DefaultSubnetId *string `type:"string"`
 
3513
 
 
3514
        // The stack's host name theme, with spaces replaced by underscores. The theme
 
3515
        // is used to generate host names for the stack's instances. By default, HostnameTheme
 
3516
        // is set to Layer_Dependent, which creates host names by appending integers
 
3517
        // to the layer's short name. The other themes are:
 
3518
        //
 
3519
        //   Baked_Goods   Clouds   Europe_Cities   Fruits   Greek_Deities   Legendary_creatures_from_Japan
 
3520
        //   Planets_and_Moons   Roman_Deities   Scottish_Islands   US_Cities   Wild_Cats
 
3521
        //   To obtain a generated host name, call GetHostNameSuggestion, which returns
 
3522
        // a host name based on the current theme.
 
3523
        HostnameTheme *string `type:"string"`
 
3524
 
 
3525
        // The stack name.
 
3526
        Name *string `type:"string" required:"true"`
 
3527
 
 
3528
        // The stack's AWS region, such as "us-east-1". For more information about Amazon
 
3529
        // regions, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html).
 
3530
        Region *string `type:"string" required:"true"`
 
3531
 
 
3532
        // The stack's AWS Identity and Access Management (IAM) role, which allows AWS
 
3533
        // OpsWorks to work with AWS resources on your behalf. You must set this parameter
 
3534
        // to the Amazon Resource Name (ARN) for an existing IAM role. For more information
 
3535
        // about IAM ARNs, see Using Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
 
3536
        ServiceRoleArn *string `type:"string" required:"true"`
 
3537
 
 
3538
        // Whether the stack uses custom cookbooks.
 
3539
        UseCustomCookbooks *bool `type:"boolean"`
 
3540
 
 
3541
        // Whether to associate the AWS OpsWorks built-in security groups with the stack's
 
3542
        // layers.
 
3543
        //
 
3544
        // AWS OpsWorks provides a standard set of built-in security groups, one for
 
3545
        // each layer, which are associated with layers by default. With UseOpsworksSecurityGroups
 
3546
        // you can instead provide your own custom security groups. UseOpsworksSecurityGroups
 
3547
        // has the following settings:
 
3548
        //
 
3549
        //  True - AWS OpsWorks automatically associates the appropriate built-in security
 
3550
        // group with each layer (default setting). You can associate additional security
 
3551
        // groups with a layer after you create it, but you cannot delete the built-in
 
3552
        // security group.  False - AWS OpsWorks does not associate built-in security
 
3553
        // groups with layers. You must create appropriate EC2 security groups and associate
 
3554
        // a security group with each layer that you create. However, you can still
 
3555
        // manually associate a built-in security group with a layer on creation; custom
 
3556
        // security groups are required only for those layers that need custom settings.
 
3557
        //   For more information, see Create a New Stack (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
 
3558
        UseOpsworksSecurityGroups *bool `type:"boolean"`
 
3559
 
 
3560
        // The ID of the VPC that the stack is to be launched into. The VPC must be
 
3561
        // in the stack's region. All instances are launched into this VPC. You cannot
 
3562
        // change the ID later.
 
3563
        //
 
3564
        //  If your account supports EC2-Classic, the default value is no VPC. If your
 
3565
        // account does not support EC2-Classic, the default value is the default VPC
 
3566
        // for the specified region.  If the VPC ID corresponds to a default VPC and
 
3567
        // you have specified either the DefaultAvailabilityZone or the DefaultSubnetId
 
3568
        // parameter only, AWS OpsWorks infers the value of the other parameter. If
 
3569
        // you specify neither parameter, AWS OpsWorks sets these parameters to the
 
3570
        // first valid Availability Zone for the specified region and the corresponding
 
3571
        // default VPC subnet ID, respectively.
 
3572
        //
 
3573
        // If you specify a nondefault VPC ID, note the following:
 
3574
        //
 
3575
        //  It must belong to a VPC in your account that is in the specified region.
 
3576
        // You must specify a value for DefaultSubnetId.  For more information on how
 
3577
        // to use AWS OpsWorks with a VPC, see Running a Stack in a VPC (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-vpc.html).
 
3578
        // For more information on default VPC and EC2-Classic, see Supported Platforms
 
3579
        // (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html).
 
3580
        VpcId *string `type:"string"`
 
3581
 
 
3582
        metadataCreateStackInput `json:"-" xml:"-"`
 
3583
}
 
3584
 
 
3585
type metadataCreateStackInput struct {
 
3586
        SDKShapeTraits bool `type:"structure"`
 
3587
}
 
3588
 
 
3589
// String returns the string representation
 
3590
func (s CreateStackInput) String() string {
 
3591
        return awsutil.Prettify(s)
 
3592
}
 
3593
 
 
3594
// GoString returns the string representation
 
3595
func (s CreateStackInput) GoString() string {
 
3596
        return s.String()
 
3597
}
 
3598
 
 
3599
// Contains the response to a CreateStack request.
 
3600
type CreateStackOutput struct {
 
3601
        // The stack ID, which is an opaque string that you use to identify the stack
 
3602
        // when performing actions such as DescribeStacks.
 
3603
        StackId *string `type:"string"`
 
3604
 
 
3605
        metadataCreateStackOutput `json:"-" xml:"-"`
 
3606
}
 
3607
 
 
3608
type metadataCreateStackOutput struct {
 
3609
        SDKShapeTraits bool `type:"structure"`
 
3610
}
 
3611
 
 
3612
// String returns the string representation
 
3613
func (s CreateStackOutput) String() string {
 
3614
        return awsutil.Prettify(s)
 
3615
}
 
3616
 
 
3617
// GoString returns the string representation
 
3618
func (s CreateStackOutput) GoString() string {
 
3619
        return s.String()
 
3620
}
 
3621
 
 
3622
type CreateUserProfileInput struct {
 
3623
        // Whether users can specify their own SSH public key through the My Settings
 
3624
        // page. For more information, see Setting an IAM User's Public SSH Key (http://docs.aws.amazon.com/opsworks/latest/userguide/security-settingsshkey.html).
 
3625
        AllowSelfManagement *bool `type:"boolean"`
 
3626
 
 
3627
        // The user's IAM ARN.
 
3628
        IamUserArn *string `type:"string" required:"true"`
 
3629
 
 
3630
        // The user's public SSH key.
 
3631
        SshPublicKey *string `type:"string"`
 
3632
 
 
3633
        // The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9],
 
3634
        // '-', and '_'. If the specified name includes other punctuation marks, AWS
 
3635
        // OpsWorks removes them. For example, my.name will be changed to myname. If
 
3636
        // you do not specify an SSH user name, AWS OpsWorks generates one from the
 
3637
        // IAM user name.
 
3638
        SshUsername *string `type:"string"`
 
3639
 
 
3640
        metadataCreateUserProfileInput `json:"-" xml:"-"`
 
3641
}
 
3642
 
 
3643
type metadataCreateUserProfileInput struct {
 
3644
        SDKShapeTraits bool `type:"structure"`
 
3645
}
 
3646
 
 
3647
// String returns the string representation
 
3648
func (s CreateUserProfileInput) String() string {
 
3649
        return awsutil.Prettify(s)
 
3650
}
 
3651
 
 
3652
// GoString returns the string representation
 
3653
func (s CreateUserProfileInput) GoString() string {
 
3654
        return s.String()
 
3655
}
 
3656
 
 
3657
// Contains the response to a CreateUserProfile request.
 
3658
type CreateUserProfileOutput struct {
 
3659
        // The user's IAM ARN.
 
3660
        IamUserArn *string `type:"string"`
 
3661
 
 
3662
        metadataCreateUserProfileOutput `json:"-" xml:"-"`
 
3663
}
 
3664
 
 
3665
type metadataCreateUserProfileOutput struct {
 
3666
        SDKShapeTraits bool `type:"structure"`
 
3667
}
 
3668
 
 
3669
// String returns the string representation
 
3670
func (s CreateUserProfileOutput) String() string {
 
3671
        return awsutil.Prettify(s)
 
3672
}
 
3673
 
 
3674
// GoString returns the string representation
 
3675
func (s CreateUserProfileOutput) GoString() string {
 
3676
        return s.String()
 
3677
}
 
3678
 
 
3679
// Describes an app's data source.
 
3680
type DataSource struct {
 
3681
        // The data source's ARN.
 
3682
        Arn *string `type:"string"`
 
3683
 
 
3684
        // The database name.
 
3685
        DatabaseName *string `type:"string"`
 
3686
 
 
3687
        // The data source's type, AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance,
 
3688
        // or RdsDbInstance.
 
3689
        Type *string `type:"string"`
 
3690
 
 
3691
        metadataDataSource `json:"-" xml:"-"`
 
3692
}
 
3693
 
 
3694
type metadataDataSource struct {
 
3695
        SDKShapeTraits bool `type:"structure"`
 
3696
}
 
3697
 
 
3698
// String returns the string representation
 
3699
func (s DataSource) String() string {
 
3700
        return awsutil.Prettify(s)
 
3701
}
 
3702
 
 
3703
// GoString returns the string representation
 
3704
func (s DataSource) GoString() string {
 
3705
        return s.String()
 
3706
}
 
3707
 
 
3708
type DeleteAppInput struct {
 
3709
        // The app ID.
 
3710
        AppId *string `type:"string" required:"true"`
 
3711
 
 
3712
        metadataDeleteAppInput `json:"-" xml:"-"`
 
3713
}
 
3714
 
 
3715
type metadataDeleteAppInput struct {
 
3716
        SDKShapeTraits bool `type:"structure"`
 
3717
}
 
3718
 
 
3719
// String returns the string representation
 
3720
func (s DeleteAppInput) String() string {
 
3721
        return awsutil.Prettify(s)
 
3722
}
 
3723
 
 
3724
// GoString returns the string representation
 
3725
func (s DeleteAppInput) GoString() string {
 
3726
        return s.String()
 
3727
}
 
3728
 
 
3729
type DeleteAppOutput struct {
 
3730
        metadataDeleteAppOutput `json:"-" xml:"-"`
 
3731
}
 
3732
 
 
3733
type metadataDeleteAppOutput struct {
 
3734
        SDKShapeTraits bool `type:"structure"`
 
3735
}
 
3736
 
 
3737
// String returns the string representation
 
3738
func (s DeleteAppOutput) String() string {
 
3739
        return awsutil.Prettify(s)
 
3740
}
 
3741
 
 
3742
// GoString returns the string representation
 
3743
func (s DeleteAppOutput) GoString() string {
 
3744
        return s.String()
 
3745
}
 
3746
 
 
3747
type DeleteInstanceInput struct {
 
3748
        // Whether to delete the instance Elastic IP address.
 
3749
        DeleteElasticIp *bool `type:"boolean"`
 
3750
 
 
3751
        // Whether to delete the instance's Amazon EBS volumes.
 
3752
        DeleteVolumes *bool `type:"boolean"`
 
3753
 
 
3754
        // The instance ID.
 
3755
        InstanceId *string `type:"string" required:"true"`
 
3756
 
 
3757
        metadataDeleteInstanceInput `json:"-" xml:"-"`
 
3758
}
 
3759
 
 
3760
type metadataDeleteInstanceInput struct {
 
3761
        SDKShapeTraits bool `type:"structure"`
 
3762
}
 
3763
 
 
3764
// String returns the string representation
 
3765
func (s DeleteInstanceInput) String() string {
 
3766
        return awsutil.Prettify(s)
 
3767
}
 
3768
 
 
3769
// GoString returns the string representation
 
3770
func (s DeleteInstanceInput) GoString() string {
 
3771
        return s.String()
 
3772
}
 
3773
 
 
3774
type DeleteInstanceOutput struct {
 
3775
        metadataDeleteInstanceOutput `json:"-" xml:"-"`
 
3776
}
 
3777
 
 
3778
type metadataDeleteInstanceOutput struct {
 
3779
        SDKShapeTraits bool `type:"structure"`
 
3780
}
 
3781
 
 
3782
// String returns the string representation
 
3783
func (s DeleteInstanceOutput) String() string {
 
3784
        return awsutil.Prettify(s)
 
3785
}
 
3786
 
 
3787
// GoString returns the string representation
 
3788
func (s DeleteInstanceOutput) GoString() string {
 
3789
        return s.String()
 
3790
}
 
3791
 
 
3792
type DeleteLayerInput struct {
 
3793
        // The layer ID.
 
3794
        LayerId *string `type:"string" required:"true"`
 
3795
 
 
3796
        metadataDeleteLayerInput `json:"-" xml:"-"`
 
3797
}
 
3798
 
 
3799
type metadataDeleteLayerInput struct {
 
3800
        SDKShapeTraits bool `type:"structure"`
 
3801
}
 
3802
 
 
3803
// String returns the string representation
 
3804
func (s DeleteLayerInput) String() string {
 
3805
        return awsutil.Prettify(s)
 
3806
}
 
3807
 
 
3808
// GoString returns the string representation
 
3809
func (s DeleteLayerInput) GoString() string {
 
3810
        return s.String()
 
3811
}
 
3812
 
 
3813
type DeleteLayerOutput struct {
 
3814
        metadataDeleteLayerOutput `json:"-" xml:"-"`
 
3815
}
 
3816
 
 
3817
type metadataDeleteLayerOutput struct {
 
3818
        SDKShapeTraits bool `type:"structure"`
 
3819
}
 
3820
 
 
3821
// String returns the string representation
 
3822
func (s DeleteLayerOutput) String() string {
 
3823
        return awsutil.Prettify(s)
 
3824
}
 
3825
 
 
3826
// GoString returns the string representation
 
3827
func (s DeleteLayerOutput) GoString() string {
 
3828
        return s.String()
 
3829
}
 
3830
 
 
3831
type DeleteStackInput struct {
 
3832
        // The stack ID.
 
3833
        StackId *string `type:"string" required:"true"`
 
3834
 
 
3835
        metadataDeleteStackInput `json:"-" xml:"-"`
 
3836
}
 
3837
 
 
3838
type metadataDeleteStackInput struct {
 
3839
        SDKShapeTraits bool `type:"structure"`
 
3840
}
 
3841
 
 
3842
// String returns the string representation
 
3843
func (s DeleteStackInput) String() string {
 
3844
        return awsutil.Prettify(s)
 
3845
}
 
3846
 
 
3847
// GoString returns the string representation
 
3848
func (s DeleteStackInput) GoString() string {
 
3849
        return s.String()
 
3850
}
 
3851
 
 
3852
type DeleteStackOutput struct {
 
3853
        metadataDeleteStackOutput `json:"-" xml:"-"`
 
3854
}
 
3855
 
 
3856
type metadataDeleteStackOutput struct {
 
3857
        SDKShapeTraits bool `type:"structure"`
 
3858
}
 
3859
 
 
3860
// String returns the string representation
 
3861
func (s DeleteStackOutput) String() string {
 
3862
        return awsutil.Prettify(s)
 
3863
}
 
3864
 
 
3865
// GoString returns the string representation
 
3866
func (s DeleteStackOutput) GoString() string {
 
3867
        return s.String()
 
3868
}
 
3869
 
 
3870
type DeleteUserProfileInput struct {
 
3871
        // The user's IAM ARN.
 
3872
        IamUserArn *string `type:"string" required:"true"`
 
3873
 
 
3874
        metadataDeleteUserProfileInput `json:"-" xml:"-"`
 
3875
}
 
3876
 
 
3877
type metadataDeleteUserProfileInput struct {
 
3878
        SDKShapeTraits bool `type:"structure"`
 
3879
}
 
3880
 
 
3881
// String returns the string representation
 
3882
func (s DeleteUserProfileInput) String() string {
 
3883
        return awsutil.Prettify(s)
 
3884
}
 
3885
 
 
3886
// GoString returns the string representation
 
3887
func (s DeleteUserProfileInput) GoString() string {
 
3888
        return s.String()
 
3889
}
 
3890
 
 
3891
type DeleteUserProfileOutput struct {
 
3892
        metadataDeleteUserProfileOutput `json:"-" xml:"-"`
 
3893
}
 
3894
 
 
3895
type metadataDeleteUserProfileOutput struct {
 
3896
        SDKShapeTraits bool `type:"structure"`
 
3897
}
 
3898
 
 
3899
// String returns the string representation
 
3900
func (s DeleteUserProfileOutput) String() string {
 
3901
        return awsutil.Prettify(s)
 
3902
}
 
3903
 
 
3904
// GoString returns the string representation
 
3905
func (s DeleteUserProfileOutput) GoString() string {
 
3906
        return s.String()
 
3907
}
 
3908
 
 
3909
// Describes a deployment of a stack or app.
 
3910
type Deployment struct {
 
3911
        // The app ID.
 
3912
        AppId *string `type:"string"`
 
3913
 
 
3914
        // Used to specify a stack or deployment command.
 
3915
        Command *DeploymentCommand `type:"structure"`
 
3916
 
 
3917
        // A user-defined comment.
 
3918
        Comment *string `type:"string"`
 
3919
 
 
3920
        // Date when the deployment completed.
 
3921
        CompletedAt *string `type:"string"`
 
3922
 
 
3923
        // Date when the deployment was created.
 
3924
        CreatedAt *string `type:"string"`
 
3925
 
 
3926
        // A string that contains user-defined custom JSON. It can be used to override
 
3927
        // the corresponding default stack configuration attribute values for stack
 
3928
        // or to pass data to recipes. The string should be in the following format
 
3929
        // and must escape characters such as '"':
 
3930
        //
 
3931
        //  "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
 
3932
        //
 
3933
        // For more information on custom JSON, see Use Custom JSON to Modify the Stack
 
3934
        // Configuration Attributes (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html).
 
3935
        CustomJson *string `type:"string"`
 
3936
 
 
3937
        // The deployment ID.
 
3938
        DeploymentId *string `type:"string"`
 
3939
 
 
3940
        // The deployment duration.
 
3941
        Duration *int64 `type:"integer"`
 
3942
 
 
3943
        // The user's IAM ARN.
 
3944
        IamUserArn *string `type:"string"`
 
3945
 
 
3946
        // The IDs of the target instances.
 
3947
        InstanceIds []*string `type:"list"`
 
3948
 
 
3949
        // The stack ID.
 
3950
        StackId *string `type:"string"`
 
3951
 
 
3952
        // The deployment status:
 
3953
        //
 
3954
        //  running successful failed
 
3955
        Status *string `type:"string"`
 
3956
 
 
3957
        metadataDeployment `json:"-" xml:"-"`
 
3958
}
 
3959
 
 
3960
type metadataDeployment struct {
 
3961
        SDKShapeTraits bool `type:"structure"`
 
3962
}
 
3963
 
 
3964
// String returns the string representation
 
3965
func (s Deployment) String() string {
 
3966
        return awsutil.Prettify(s)
 
3967
}
 
3968
 
 
3969
// GoString returns the string representation
 
3970
func (s Deployment) GoString() string {
 
3971
        return s.String()
 
3972
}
 
3973
 
 
3974
// Used to specify a stack or deployment command.
 
3975
type DeploymentCommand struct {
 
3976
        // The arguments of those commands that take arguments. It should be set to
 
3977
        // a JSON object with the following format:
 
3978
        //
 
3979
        //  {"arg_name1" : ["value1", "value2", ...], "arg_name2" : ["value1", "value2",
 
3980
        // ...], ...}
 
3981
        //
 
3982
        // The update_dependencies command takes two arguments:
 
3983
        //
 
3984
        //   upgrade_os_to - Specifies the desired Amazon Linux version for instances
 
3985
        // whose OS you want to upgrade, such as Amazon Linux 2014.09. You must also
 
3986
        // set the allow_reboot argument to true.  allow_reboot - Specifies whether
 
3987
        // to allow AWS OpsWorks to reboot the instances if necessary, after installing
 
3988
        // the updates. This argument can be set to either true or false. The default
 
3989
        // value is false.  For example, to upgrade an instance to Amazon Linux 2014.09,
 
3990
        // set Args to the following.
 
3991
        //
 
3992
        //  { "upgrade_os_to":["Amazon Linux 2014.09"], "allow_reboot":["true"] }
 
3993
        Args map[string][]*string `type:"map"`
 
3994
 
 
3995
        // Specifies the operation. You can specify only one command.
 
3996
        //
 
3997
        // For stacks, the following commands are available:
 
3998
        //
 
3999
        //   execute_recipes: Execute one or more recipes. To specify the recipes,
 
4000
        // set an Args parameter named recipes to the list of recipes to be executed.
 
4001
        // For example, to execute phpapp::appsetup, set Args to {"recipes":["phpapp::appsetup"]}.
 
4002
        //  install_dependencies: Install the stack's dependencies.  update_custom_cookbooks:
 
4003
        // Update the stack's custom cookbooks.  update_dependencies: Update the stack's
 
4004
        // dependencies.  The update_dependencies and install_dependencies commands
 
4005
        // are supported only for Linux instances. You can run the commands successfully
 
4006
        // on Windows instances, but they do nothing. For apps, the following commands
 
4007
        // are available:
 
4008
        //
 
4009
        //   deploy: Deploy an app. Ruby on Rails apps have an optional Args parameter
 
4010
        // named migrate. Set Args to {"migrate":["true"]} to migrate the database.
 
4011
        // The default setting is {"migrate":["false"]}.  rollback Roll the app back
 
4012
        // to the previous version. When you update an app, AWS OpsWorks stores the
 
4013
        // previous version, up to a maximum of five versions. You can use this command
 
4014
        // to roll an app back as many as four versions.  start: Start the app's web
 
4015
        // or application server.  stop: Stop the app's web or application server.
 
4016
        // restart: Restart the app's web or application server.  undeploy: Undeploy
 
4017
        // the app.
 
4018
        Name *string `type:"string" required:"true" enum:"DeploymentCommandName"`
 
4019
 
 
4020
        metadataDeploymentCommand `json:"-" xml:"-"`
 
4021
}
 
4022
 
 
4023
type metadataDeploymentCommand struct {
 
4024
        SDKShapeTraits bool `type:"structure"`
 
4025
}
 
4026
 
 
4027
// String returns the string representation
 
4028
func (s DeploymentCommand) String() string {
 
4029
        return awsutil.Prettify(s)
 
4030
}
 
4031
 
 
4032
// GoString returns the string representation
 
4033
func (s DeploymentCommand) GoString() string {
 
4034
        return s.String()
 
4035
}
 
4036
 
 
4037
type DeregisterEcsClusterInput struct {
 
4038
        // The cluster's ARN.
 
4039
        EcsClusterArn *string `type:"string" required:"true"`
 
4040
 
 
4041
        metadataDeregisterEcsClusterInput `json:"-" xml:"-"`
 
4042
}
 
4043
 
 
4044
type metadataDeregisterEcsClusterInput struct {
 
4045
        SDKShapeTraits bool `type:"structure"`
 
4046
}
 
4047
 
 
4048
// String returns the string representation
 
4049
func (s DeregisterEcsClusterInput) String() string {
 
4050
        return awsutil.Prettify(s)
 
4051
}
 
4052
 
 
4053
// GoString returns the string representation
 
4054
func (s DeregisterEcsClusterInput) GoString() string {
 
4055
        return s.String()
 
4056
}
 
4057
 
 
4058
type DeregisterEcsClusterOutput struct {
 
4059
        metadataDeregisterEcsClusterOutput `json:"-" xml:"-"`
 
4060
}
 
4061
 
 
4062
type metadataDeregisterEcsClusterOutput struct {
 
4063
        SDKShapeTraits bool `type:"structure"`
 
4064
}
 
4065
 
 
4066
// String returns the string representation
 
4067
func (s DeregisterEcsClusterOutput) String() string {
 
4068
        return awsutil.Prettify(s)
 
4069
}
 
4070
 
 
4071
// GoString returns the string representation
 
4072
func (s DeregisterEcsClusterOutput) GoString() string {
 
4073
        return s.String()
 
4074
}
 
4075
 
 
4076
type DeregisterElasticIpInput struct {
 
4077
        // The Elastic IP address.
 
4078
        ElasticIp *string `type:"string" required:"true"`
 
4079
 
 
4080
        metadataDeregisterElasticIpInput `json:"-" xml:"-"`
 
4081
}
 
4082
 
 
4083
type metadataDeregisterElasticIpInput struct {
 
4084
        SDKShapeTraits bool `type:"structure"`
 
4085
}
 
4086
 
 
4087
// String returns the string representation
 
4088
func (s DeregisterElasticIpInput) String() string {
 
4089
        return awsutil.Prettify(s)
 
4090
}
 
4091
 
 
4092
// GoString returns the string representation
 
4093
func (s DeregisterElasticIpInput) GoString() string {
 
4094
        return s.String()
 
4095
}
 
4096
 
 
4097
type DeregisterElasticIpOutput struct {
 
4098
        metadataDeregisterElasticIpOutput `json:"-" xml:"-"`
 
4099
}
 
4100
 
 
4101
type metadataDeregisterElasticIpOutput struct {
 
4102
        SDKShapeTraits bool `type:"structure"`
 
4103
}
 
4104
 
 
4105
// String returns the string representation
 
4106
func (s DeregisterElasticIpOutput) String() string {
 
4107
        return awsutil.Prettify(s)
 
4108
}
 
4109
 
 
4110
// GoString returns the string representation
 
4111
func (s DeregisterElasticIpOutput) GoString() string {
 
4112
        return s.String()
 
4113
}
 
4114
 
 
4115
type DeregisterInstanceInput struct {
 
4116
        // The instance ID.
 
4117
        InstanceId *string `type:"string" required:"true"`
 
4118
 
 
4119
        metadataDeregisterInstanceInput `json:"-" xml:"-"`
 
4120
}
 
4121
 
 
4122
type metadataDeregisterInstanceInput struct {
 
4123
        SDKShapeTraits bool `type:"structure"`
 
4124
}
 
4125
 
 
4126
// String returns the string representation
 
4127
func (s DeregisterInstanceInput) String() string {
 
4128
        return awsutil.Prettify(s)
 
4129
}
 
4130
 
 
4131
// GoString returns the string representation
 
4132
func (s DeregisterInstanceInput) GoString() string {
 
4133
        return s.String()
 
4134
}
 
4135
 
 
4136
type DeregisterInstanceOutput struct {
 
4137
        metadataDeregisterInstanceOutput `json:"-" xml:"-"`
 
4138
}
 
4139
 
 
4140
type metadataDeregisterInstanceOutput struct {
 
4141
        SDKShapeTraits bool `type:"structure"`
 
4142
}
 
4143
 
 
4144
// String returns the string representation
 
4145
func (s DeregisterInstanceOutput) String() string {
 
4146
        return awsutil.Prettify(s)
 
4147
}
 
4148
 
 
4149
// GoString returns the string representation
 
4150
func (s DeregisterInstanceOutput) GoString() string {
 
4151
        return s.String()
 
4152
}
 
4153
 
 
4154
type DeregisterRdsDbInstanceInput struct {
 
4155
        // The Amazon RDS instance's ARN.
 
4156
        RdsDbInstanceArn *string `type:"string" required:"true"`
 
4157
 
 
4158
        metadataDeregisterRdsDbInstanceInput `json:"-" xml:"-"`
 
4159
}
 
4160
 
 
4161
type metadataDeregisterRdsDbInstanceInput struct {
 
4162
        SDKShapeTraits bool `type:"structure"`
 
4163
}
 
4164
 
 
4165
// String returns the string representation
 
4166
func (s DeregisterRdsDbInstanceInput) String() string {
 
4167
        return awsutil.Prettify(s)
 
4168
}
 
4169
 
 
4170
// GoString returns the string representation
 
4171
func (s DeregisterRdsDbInstanceInput) GoString() string {
 
4172
        return s.String()
 
4173
}
 
4174
 
 
4175
type DeregisterRdsDbInstanceOutput struct {
 
4176
        metadataDeregisterRdsDbInstanceOutput `json:"-" xml:"-"`
 
4177
}
 
4178
 
 
4179
type metadataDeregisterRdsDbInstanceOutput struct {
 
4180
        SDKShapeTraits bool `type:"structure"`
 
4181
}
 
4182
 
 
4183
// String returns the string representation
 
4184
func (s DeregisterRdsDbInstanceOutput) String() string {
 
4185
        return awsutil.Prettify(s)
 
4186
}
 
4187
 
 
4188
// GoString returns the string representation
 
4189
func (s DeregisterRdsDbInstanceOutput) GoString() string {
 
4190
        return s.String()
 
4191
}
 
4192
 
 
4193
type DeregisterVolumeInput struct {
 
4194
        // The AWS OpsWorks volume ID, which is the GUID that AWS OpsWorks assigned
 
4195
        // to the instance when you registered the volume with the stack, not the Amazon
 
4196
        // EC2 volume ID.
 
4197
        VolumeId *string `type:"string" required:"true"`
 
4198
 
 
4199
        metadataDeregisterVolumeInput `json:"-" xml:"-"`
 
4200
}
 
4201
 
 
4202
type metadataDeregisterVolumeInput struct {
 
4203
        SDKShapeTraits bool `type:"structure"`
 
4204
}
 
4205
 
 
4206
// String returns the string representation
 
4207
func (s DeregisterVolumeInput) String() string {
 
4208
        return awsutil.Prettify(s)
 
4209
}
 
4210
 
 
4211
// GoString returns the string representation
 
4212
func (s DeregisterVolumeInput) GoString() string {
 
4213
        return s.String()
 
4214
}
 
4215
 
 
4216
type DeregisterVolumeOutput struct {
 
4217
        metadataDeregisterVolumeOutput `json:"-" xml:"-"`
 
4218
}
 
4219
 
 
4220
type metadataDeregisterVolumeOutput struct {
 
4221
        SDKShapeTraits bool `type:"structure"`
 
4222
}
 
4223
 
 
4224
// String returns the string representation
 
4225
func (s DeregisterVolumeOutput) String() string {
 
4226
        return awsutil.Prettify(s)
 
4227
}
 
4228
 
 
4229
// GoString returns the string representation
 
4230
func (s DeregisterVolumeOutput) GoString() string {
 
4231
        return s.String()
 
4232
}
 
4233
 
 
4234
type DescribeAgentVersionsInput struct {
 
4235
        // The configuration manager.
 
4236
        ConfigurationManager *StackConfigurationManager `type:"structure"`
 
4237
 
 
4238
        // The stack ID.
 
4239
        StackId *string `type:"string"`
 
4240
 
 
4241
        metadataDescribeAgentVersionsInput `json:"-" xml:"-"`
 
4242
}
 
4243
 
 
4244
type metadataDescribeAgentVersionsInput struct {
 
4245
        SDKShapeTraits bool `type:"structure"`
 
4246
}
 
4247
 
 
4248
// String returns the string representation
 
4249
func (s DescribeAgentVersionsInput) String() string {
 
4250
        return awsutil.Prettify(s)
 
4251
}
 
4252
 
 
4253
// GoString returns the string representation
 
4254
func (s DescribeAgentVersionsInput) GoString() string {
 
4255
        return s.String()
 
4256
}
 
4257
 
 
4258
// Contains the response to a DescribeAgentVersions request.
 
4259
type DescribeAgentVersionsOutput struct {
 
4260
        // The agent versions for the specified stack or configuration manager. Note
 
4261
        // that this value is the complete version number, not the abbreviated number
 
4262
        // used by the console.
 
4263
        AgentVersions []*AgentVersion `type:"list"`
 
4264
 
 
4265
        metadataDescribeAgentVersionsOutput `json:"-" xml:"-"`
 
4266
}
 
4267
 
 
4268
type metadataDescribeAgentVersionsOutput struct {
 
4269
        SDKShapeTraits bool `type:"structure"`
 
4270
}
 
4271
 
 
4272
// String returns the string representation
 
4273
func (s DescribeAgentVersionsOutput) String() string {
 
4274
        return awsutil.Prettify(s)
 
4275
}
 
4276
 
 
4277
// GoString returns the string representation
 
4278
func (s DescribeAgentVersionsOutput) GoString() string {
 
4279
        return s.String()
 
4280
}
 
4281
 
 
4282
type DescribeAppsInput struct {
 
4283
        // An array of app IDs for the apps to be described. If you use this parameter,
 
4284
        // DescribeApps returns a description of the specified apps. Otherwise, it returns
 
4285
        // a description of every app.
 
4286
        AppIds []*string `type:"list"`
 
4287
 
 
4288
        // The app stack ID. If you use this parameter, DescribeApps returns a description
 
4289
        // of the apps in the specified stack.
 
4290
        StackId *string `type:"string"`
 
4291
 
 
4292
        metadataDescribeAppsInput `json:"-" xml:"-"`
 
4293
}
 
4294
 
 
4295
type metadataDescribeAppsInput struct {
 
4296
        SDKShapeTraits bool `type:"structure"`
 
4297
}
 
4298
 
 
4299
// String returns the string representation
 
4300
func (s DescribeAppsInput) String() string {
 
4301
        return awsutil.Prettify(s)
 
4302
}
 
4303
 
 
4304
// GoString returns the string representation
 
4305
func (s DescribeAppsInput) GoString() string {
 
4306
        return s.String()
 
4307
}
 
4308
 
 
4309
// Contains the response to a DescribeApps request.
 
4310
type DescribeAppsOutput struct {
 
4311
        // An array of App objects that describe the specified apps.
 
4312
        Apps []*App `type:"list"`
 
4313
 
 
4314
        metadataDescribeAppsOutput `json:"-" xml:"-"`
 
4315
}
 
4316
 
 
4317
type metadataDescribeAppsOutput struct {
 
4318
        SDKShapeTraits bool `type:"structure"`
 
4319
}
 
4320
 
 
4321
// String returns the string representation
 
4322
func (s DescribeAppsOutput) String() string {
 
4323
        return awsutil.Prettify(s)
 
4324
}
 
4325
 
 
4326
// GoString returns the string representation
 
4327
func (s DescribeAppsOutput) GoString() string {
 
4328
        return s.String()
 
4329
}
 
4330
 
 
4331
type DescribeCommandsInput struct {
 
4332
        // An array of command IDs. If you include this parameter, DescribeCommands
 
4333
        // returns a description of the specified commands. Otherwise, it returns a
 
4334
        // description of every command.
 
4335
        CommandIds []*string `type:"list"`
 
4336
 
 
4337
        // The deployment ID. If you include this parameter, DescribeCommands returns
 
4338
        // a description of the commands associated with the specified deployment.
 
4339
        DeploymentId *string `type:"string"`
 
4340
 
 
4341
        // The instance ID. If you include this parameter, DescribeCommands returns
 
4342
        // a description of the commands associated with the specified instance.
 
4343
        InstanceId *string `type:"string"`
 
4344
 
 
4345
        metadataDescribeCommandsInput `json:"-" xml:"-"`
 
4346
}
 
4347
 
 
4348
type metadataDescribeCommandsInput struct {
 
4349
        SDKShapeTraits bool `type:"structure"`
 
4350
}
 
4351
 
 
4352
// String returns the string representation
 
4353
func (s DescribeCommandsInput) String() string {
 
4354
        return awsutil.Prettify(s)
 
4355
}
 
4356
 
 
4357
// GoString returns the string representation
 
4358
func (s DescribeCommandsInput) GoString() string {
 
4359
        return s.String()
 
4360
}
 
4361
 
 
4362
// Contains the response to a DescribeCommands request.
 
4363
type DescribeCommandsOutput struct {
 
4364
        // An array of Command objects that describe each of the specified commands.
 
4365
        Commands []*Command `type:"list"`
 
4366
 
 
4367
        metadataDescribeCommandsOutput `json:"-" xml:"-"`
 
4368
}
 
4369
 
 
4370
type metadataDescribeCommandsOutput struct {
 
4371
        SDKShapeTraits bool `type:"structure"`
 
4372
}
 
4373
 
 
4374
// String returns the string representation
 
4375
func (s DescribeCommandsOutput) String() string {
 
4376
        return awsutil.Prettify(s)
 
4377
}
 
4378
 
 
4379
// GoString returns the string representation
 
4380
func (s DescribeCommandsOutput) GoString() string {
 
4381
        return s.String()
 
4382
}
 
4383
 
 
4384
type DescribeDeploymentsInput struct {
 
4385
        // The app ID. If you include this parameter, DescribeDeployments returns a
 
4386
        // description of the commands associated with the specified app.
 
4387
        AppId *string `type:"string"`
 
4388
 
 
4389
        // An array of deployment IDs to be described. If you include this parameter,
 
4390
        // DescribeDeployments returns a description of the specified deployments. Otherwise,
 
4391
        // it returns a description of every deployment.
 
4392
        DeploymentIds []*string `type:"list"`
 
4393
 
 
4394
        // The stack ID. If you include this parameter, DescribeDeployments returns
 
4395
        // a description of the commands associated with the specified stack.
 
4396
        StackId *string `type:"string"`
 
4397
 
 
4398
        metadataDescribeDeploymentsInput `json:"-" xml:"-"`
 
4399
}
 
4400
 
 
4401
type metadataDescribeDeploymentsInput struct {
 
4402
        SDKShapeTraits bool `type:"structure"`
 
4403
}
 
4404
 
 
4405
// String returns the string representation
 
4406
func (s DescribeDeploymentsInput) String() string {
 
4407
        return awsutil.Prettify(s)
 
4408
}
 
4409
 
 
4410
// GoString returns the string representation
 
4411
func (s DescribeDeploymentsInput) GoString() string {
 
4412
        return s.String()
 
4413
}
 
4414
 
 
4415
// Contains the response to a DescribeDeployments request.
 
4416
type DescribeDeploymentsOutput struct {
 
4417
        // An array of Deployment objects that describe the deployments.
 
4418
        Deployments []*Deployment `type:"list"`
 
4419
 
 
4420
        metadataDescribeDeploymentsOutput `json:"-" xml:"-"`
 
4421
}
 
4422
 
 
4423
type metadataDescribeDeploymentsOutput struct {
 
4424
        SDKShapeTraits bool `type:"structure"`
 
4425
}
 
4426
 
 
4427
// String returns the string representation
 
4428
func (s DescribeDeploymentsOutput) String() string {
 
4429
        return awsutil.Prettify(s)
 
4430
}
 
4431
 
 
4432
// GoString returns the string representation
 
4433
func (s DescribeDeploymentsOutput) GoString() string {
 
4434
        return s.String()
 
4435
}
 
4436
 
 
4437
type DescribeEcsClustersInput struct {
 
4438
        // A list of ARNs, one for each cluster to be described.
 
4439
        EcsClusterArns []*string `type:"list"`
 
4440
 
 
4441
        // To receive a paginated response, use this parameter to specify the maximum
 
4442
        // number of results to be returned with a single call. If the number of available
 
4443
        // results exceeds this maximum, the response includes a NextToken value that
 
4444
        // you can assign to the NextToken request parameter to get the next set of
 
4445
        // results.
 
4446
        MaxResults *int64 `type:"integer"`
 
4447
 
 
4448
        // If the previous paginated request did not return all of the remaining results,
 
4449
        // the response object'sNextToken parameter value is set to a token. To retrieve
 
4450
        // the next set of results, call DescribeEcsClusters again and assign that token
 
4451
        // to the request object's NextToken parameter. If there are no remaining results,
 
4452
        // the previous response object's NextToken parameter is set to null.
 
4453
        NextToken *string `type:"string"`
 
4454
 
 
4455
        // A stack ID. DescribeEcsClusters returns a description of the cluster that
 
4456
        // is registered with the stack.
 
4457
        StackId *string `type:"string"`
 
4458
 
 
4459
        metadataDescribeEcsClustersInput `json:"-" xml:"-"`
 
4460
}
 
4461
 
 
4462
type metadataDescribeEcsClustersInput struct {
 
4463
        SDKShapeTraits bool `type:"structure"`
 
4464
}
 
4465
 
 
4466
// String returns the string representation
 
4467
func (s DescribeEcsClustersInput) String() string {
 
4468
        return awsutil.Prettify(s)
 
4469
}
 
4470
 
 
4471
// GoString returns the string representation
 
4472
func (s DescribeEcsClustersInput) GoString() string {
 
4473
        return s.String()
 
4474
}
 
4475
 
 
4476
// Contains the response to a DescribeEcsClusters request.
 
4477
type DescribeEcsClustersOutput struct {
 
4478
        // A list of EcsCluster objects containing the cluster descriptions.
 
4479
        EcsClusters []*EcsCluster `type:"list"`
 
4480
 
 
4481
        // If a paginated request does not return all of the remaining results, this
 
4482
        // parameter is set to a token that you can assign to the request object's NextToken
 
4483
        // parameter to retrieve the next set of results. If the previous paginated
 
4484
        // request returned all of the remaining results, this parameter is set to null.
 
4485
        NextToken *string `type:"string"`
 
4486
 
 
4487
        metadataDescribeEcsClustersOutput `json:"-" xml:"-"`
 
4488
}
 
4489
 
 
4490
type metadataDescribeEcsClustersOutput struct {
 
4491
        SDKShapeTraits bool `type:"structure"`
 
4492
}
 
4493
 
 
4494
// String returns the string representation
 
4495
func (s DescribeEcsClustersOutput) String() string {
 
4496
        return awsutil.Prettify(s)
 
4497
}
 
4498
 
 
4499
// GoString returns the string representation
 
4500
func (s DescribeEcsClustersOutput) GoString() string {
 
4501
        return s.String()
 
4502
}
 
4503
 
 
4504
type DescribeElasticIpsInput struct {
 
4505
        // The instance ID. If you include this parameter, DescribeElasticIps returns
 
4506
        // a description of the Elastic IP addresses associated with the specified instance.
 
4507
        InstanceId *string `type:"string"`
 
4508
 
 
4509
        // An array of Elastic IP addresses to be described. If you include this parameter,
 
4510
        // DescribeElasticIps returns a description of the specified Elastic IP addresses.
 
4511
        // Otherwise, it returns a description of every Elastic IP address.
 
4512
        Ips []*string `type:"list"`
 
4513
 
 
4514
        // A stack ID. If you include this parameter, DescribeElasticIps returns a description
 
4515
        // of the Elastic IP addresses that are registered with the specified stack.
 
4516
        StackId *string `type:"string"`
 
4517
 
 
4518
        metadataDescribeElasticIpsInput `json:"-" xml:"-"`
 
4519
}
 
4520
 
 
4521
type metadataDescribeElasticIpsInput struct {
 
4522
        SDKShapeTraits bool `type:"structure"`
 
4523
}
 
4524
 
 
4525
// String returns the string representation
 
4526
func (s DescribeElasticIpsInput) String() string {
 
4527
        return awsutil.Prettify(s)
 
4528
}
 
4529
 
 
4530
// GoString returns the string representation
 
4531
func (s DescribeElasticIpsInput) GoString() string {
 
4532
        return s.String()
 
4533
}
 
4534
 
 
4535
// Contains the response to a DescribeElasticIps request.
 
4536
type DescribeElasticIpsOutput struct {
 
4537
        // An ElasticIps object that describes the specified Elastic IP addresses.
 
4538
        ElasticIps []*ElasticIp `type:"list"`
 
4539
 
 
4540
        metadataDescribeElasticIpsOutput `json:"-" xml:"-"`
 
4541
}
 
4542
 
 
4543
type metadataDescribeElasticIpsOutput struct {
 
4544
        SDKShapeTraits bool `type:"structure"`
 
4545
}
 
4546
 
 
4547
// String returns the string representation
 
4548
func (s DescribeElasticIpsOutput) String() string {
 
4549
        return awsutil.Prettify(s)
 
4550
}
 
4551
 
 
4552
// GoString returns the string representation
 
4553
func (s DescribeElasticIpsOutput) GoString() string {
 
4554
        return s.String()
 
4555
}
 
4556
 
 
4557
type DescribeElasticLoadBalancersInput struct {
 
4558
        // A list of layer IDs. The action describes the Elastic Load Balancing instances
 
4559
        // for the specified layers.
 
4560
        LayerIds []*string `type:"list"`
 
4561
 
 
4562
        // A stack ID. The action describes the stack's Elastic Load Balancing instances.
 
4563
        StackId *string `type:"string"`
 
4564
 
 
4565
        metadataDescribeElasticLoadBalancersInput `json:"-" xml:"-"`
 
4566
}
 
4567
 
 
4568
type metadataDescribeElasticLoadBalancersInput struct {
 
4569
        SDKShapeTraits bool `type:"structure"`
 
4570
}
 
4571
 
 
4572
// String returns the string representation
 
4573
func (s DescribeElasticLoadBalancersInput) String() string {
 
4574
        return awsutil.Prettify(s)
 
4575
}
 
4576
 
 
4577
// GoString returns the string representation
 
4578
func (s DescribeElasticLoadBalancersInput) GoString() string {
 
4579
        return s.String()
 
4580
}
 
4581
 
 
4582
// Contains the response to a DescribeElasticLoadBalancers request.
 
4583
type DescribeElasticLoadBalancersOutput struct {
 
4584
        // A list of ElasticLoadBalancer objects that describe the specified Elastic
 
4585
        // Load Balancing instances.
 
4586
        ElasticLoadBalancers []*ElasticLoadBalancer `type:"list"`
 
4587
 
 
4588
        metadataDescribeElasticLoadBalancersOutput `json:"-" xml:"-"`
 
4589
}
 
4590
 
 
4591
type metadataDescribeElasticLoadBalancersOutput struct {
 
4592
        SDKShapeTraits bool `type:"structure"`
 
4593
}
 
4594
 
 
4595
// String returns the string representation
 
4596
func (s DescribeElasticLoadBalancersOutput) String() string {
 
4597
        return awsutil.Prettify(s)
 
4598
}
 
4599
 
 
4600
// GoString returns the string representation
 
4601
func (s DescribeElasticLoadBalancersOutput) GoString() string {
 
4602
        return s.String()
 
4603
}
 
4604
 
 
4605
type DescribeInstancesInput struct {
 
4606
        // An array of instance IDs to be described. If you use this parameter, DescribeInstances
 
4607
        // returns a description of the specified instances. Otherwise, it returns a
 
4608
        // description of every instance.
 
4609
        InstanceIds []*string `type:"list"`
 
4610
 
 
4611
        // A layer ID. If you use this parameter, DescribeInstances returns descriptions
 
4612
        // of the instances associated with the specified layer.
 
4613
        LayerId *string `type:"string"`
 
4614
 
 
4615
        // A stack ID. If you use this parameter, DescribeInstances returns descriptions
 
4616
        // of the instances associated with the specified stack.
 
4617
        StackId *string `type:"string"`
 
4618
 
 
4619
        metadataDescribeInstancesInput `json:"-" xml:"-"`
 
4620
}
 
4621
 
 
4622
type metadataDescribeInstancesInput struct {
 
4623
        SDKShapeTraits bool `type:"structure"`
 
4624
}
 
4625
 
 
4626
// String returns the string representation
 
4627
func (s DescribeInstancesInput) String() string {
 
4628
        return awsutil.Prettify(s)
 
4629
}
 
4630
 
 
4631
// GoString returns the string representation
 
4632
func (s DescribeInstancesInput) GoString() string {
 
4633
        return s.String()
 
4634
}
 
4635
 
 
4636
// Contains the response to a DescribeInstances request.
 
4637
type DescribeInstancesOutput struct {
 
4638
        // An array of Instance objects that describe the instances.
 
4639
        Instances []*Instance `type:"list"`
 
4640
 
 
4641
        metadataDescribeInstancesOutput `json:"-" xml:"-"`
 
4642
}
 
4643
 
 
4644
type metadataDescribeInstancesOutput struct {
 
4645
        SDKShapeTraits bool `type:"structure"`
 
4646
}
 
4647
 
 
4648
// String returns the string representation
 
4649
func (s DescribeInstancesOutput) String() string {
 
4650
        return awsutil.Prettify(s)
 
4651
}
 
4652
 
 
4653
// GoString returns the string representation
 
4654
func (s DescribeInstancesOutput) GoString() string {
 
4655
        return s.String()
 
4656
}
 
4657
 
 
4658
type DescribeLayersInput struct {
 
4659
        // An array of layer IDs that specify the layers to be described. If you omit
 
4660
        // this parameter, DescribeLayers returns a description of every layer in the
 
4661
        // specified stack.
 
4662
        LayerIds []*string `type:"list"`
 
4663
 
 
4664
        // The stack ID.
 
4665
        StackId *string `type:"string"`
 
4666
 
 
4667
        metadataDescribeLayersInput `json:"-" xml:"-"`
 
4668
}
 
4669
 
 
4670
type metadataDescribeLayersInput struct {
 
4671
        SDKShapeTraits bool `type:"structure"`
 
4672
}
 
4673
 
 
4674
// String returns the string representation
 
4675
func (s DescribeLayersInput) String() string {
 
4676
        return awsutil.Prettify(s)
 
4677
}
 
4678
 
 
4679
// GoString returns the string representation
 
4680
func (s DescribeLayersInput) GoString() string {
 
4681
        return s.String()
 
4682
}
 
4683
 
 
4684
// Contains the response to a DescribeLayers request.
 
4685
type DescribeLayersOutput struct {
 
4686
        // An array of Layer objects that describe the layers.
 
4687
        Layers []*Layer `type:"list"`
 
4688
 
 
4689
        metadataDescribeLayersOutput `json:"-" xml:"-"`
 
4690
}
 
4691
 
 
4692
type metadataDescribeLayersOutput struct {
 
4693
        SDKShapeTraits bool `type:"structure"`
 
4694
}
 
4695
 
 
4696
// String returns the string representation
 
4697
func (s DescribeLayersOutput) String() string {
 
4698
        return awsutil.Prettify(s)
 
4699
}
 
4700
 
 
4701
// GoString returns the string representation
 
4702
func (s DescribeLayersOutput) GoString() string {
 
4703
        return s.String()
 
4704
}
 
4705
 
 
4706
type DescribeLoadBasedAutoScalingInput struct {
 
4707
        // An array of layer IDs.
 
4708
        LayerIds []*string `type:"list" required:"true"`
 
4709
 
 
4710
        metadataDescribeLoadBasedAutoScalingInput `json:"-" xml:"-"`
 
4711
}
 
4712
 
 
4713
type metadataDescribeLoadBasedAutoScalingInput struct {
 
4714
        SDKShapeTraits bool `type:"structure"`
 
4715
}
 
4716
 
 
4717
// String returns the string representation
 
4718
func (s DescribeLoadBasedAutoScalingInput) String() string {
 
4719
        return awsutil.Prettify(s)
 
4720
}
 
4721
 
 
4722
// GoString returns the string representation
 
4723
func (s DescribeLoadBasedAutoScalingInput) GoString() string {
 
4724
        return s.String()
 
4725
}
 
4726
 
 
4727
// Contains the response to a DescribeLoadBasedAutoScaling request.
 
4728
type DescribeLoadBasedAutoScalingOutput struct {
 
4729
        // An array of LoadBasedAutoScalingConfiguration objects that describe each
 
4730
        // layer's configuration.
 
4731
        LoadBasedAutoScalingConfigurations []*LoadBasedAutoScalingConfiguration `type:"list"`
 
4732
 
 
4733
        metadataDescribeLoadBasedAutoScalingOutput `json:"-" xml:"-"`
 
4734
}
 
4735
 
 
4736
type metadataDescribeLoadBasedAutoScalingOutput struct {
 
4737
        SDKShapeTraits bool `type:"structure"`
 
4738
}
 
4739
 
 
4740
// String returns the string representation
 
4741
func (s DescribeLoadBasedAutoScalingOutput) String() string {
 
4742
        return awsutil.Prettify(s)
 
4743
}
 
4744
 
 
4745
// GoString returns the string representation
 
4746
func (s DescribeLoadBasedAutoScalingOutput) GoString() string {
 
4747
        return s.String()
 
4748
}
 
4749
 
 
4750
type DescribeMyUserProfileInput struct {
 
4751
        metadataDescribeMyUserProfileInput `json:"-" xml:"-"`
 
4752
}
 
4753
 
 
4754
type metadataDescribeMyUserProfileInput struct {
 
4755
        SDKShapeTraits bool `type:"structure"`
 
4756
}
 
4757
 
 
4758
// String returns the string representation
 
4759
func (s DescribeMyUserProfileInput) String() string {
 
4760
        return awsutil.Prettify(s)
 
4761
}
 
4762
 
 
4763
// GoString returns the string representation
 
4764
func (s DescribeMyUserProfileInput) GoString() string {
 
4765
        return s.String()
 
4766
}
 
4767
 
 
4768
// Contains the response to a DescribeMyUserProfile request.
 
4769
type DescribeMyUserProfileOutput struct {
 
4770
        // A UserProfile object that describes the user's SSH information.
 
4771
        UserProfile *SelfUserProfile `type:"structure"`
 
4772
 
 
4773
        metadataDescribeMyUserProfileOutput `json:"-" xml:"-"`
 
4774
}
 
4775
 
 
4776
type metadataDescribeMyUserProfileOutput struct {
 
4777
        SDKShapeTraits bool `type:"structure"`
 
4778
}
 
4779
 
 
4780
// String returns the string representation
 
4781
func (s DescribeMyUserProfileOutput) String() string {
 
4782
        return awsutil.Prettify(s)
 
4783
}
 
4784
 
 
4785
// GoString returns the string representation
 
4786
func (s DescribeMyUserProfileOutput) GoString() string {
 
4787
        return s.String()
 
4788
}
 
4789
 
 
4790
type DescribePermissionsInput struct {
 
4791
        // The user's IAM ARN. For more information about IAM ARNs, see Using Identifiers
 
4792
        // (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
 
4793
        IamUserArn *string `type:"string"`
 
4794
 
 
4795
        // The stack ID.
 
4796
        StackId *string `type:"string"`
 
4797
 
 
4798
        metadataDescribePermissionsInput `json:"-" xml:"-"`
 
4799
}
 
4800
 
 
4801
type metadataDescribePermissionsInput struct {
 
4802
        SDKShapeTraits bool `type:"structure"`
 
4803
}
 
4804
 
 
4805
// String returns the string representation
 
4806
func (s DescribePermissionsInput) String() string {
 
4807
        return awsutil.Prettify(s)
 
4808
}
 
4809
 
 
4810
// GoString returns the string representation
 
4811
func (s DescribePermissionsInput) GoString() string {
 
4812
        return s.String()
 
4813
}
 
4814
 
 
4815
// Contains the response to a DescribePermissions request.
 
4816
type DescribePermissionsOutput struct {
 
4817
        // An array of Permission objects that describe the stack permissions.
 
4818
        //
 
4819
        //  If the request object contains only a stack ID, the array contains a Permission
 
4820
        // object with permissions for each of the stack IAM ARNs. If the request object
 
4821
        // contains only an IAM ARN, the array contains a Permission object with permissions
 
4822
        // for each of the user's stack IDs. If the request contains a stack ID and
 
4823
        // an IAM ARN, the array contains a single Permission object with permissions
 
4824
        // for the specified stack and IAM ARN.
 
4825
        Permissions []*Permission `type:"list"`
 
4826
 
 
4827
        metadataDescribePermissionsOutput `json:"-" xml:"-"`
 
4828
}
 
4829
 
 
4830
type metadataDescribePermissionsOutput struct {
 
4831
        SDKShapeTraits bool `type:"structure"`
 
4832
}
 
4833
 
 
4834
// String returns the string representation
 
4835
func (s DescribePermissionsOutput) String() string {
 
4836
        return awsutil.Prettify(s)
 
4837
}
 
4838
 
 
4839
// GoString returns the string representation
 
4840
func (s DescribePermissionsOutput) GoString() string {
 
4841
        return s.String()
 
4842
}
 
4843
 
 
4844
type DescribeRaidArraysInput struct {
 
4845
        // The instance ID. If you use this parameter, DescribeRaidArrays returns descriptions
 
4846
        // of the RAID arrays associated with the specified instance.
 
4847
        InstanceId *string `type:"string"`
 
4848
 
 
4849
        // An array of RAID array IDs. If you use this parameter, DescribeRaidArrays
 
4850
        // returns descriptions of the specified arrays. Otherwise, it returns a description
 
4851
        // of every array.
 
4852
        RaidArrayIds []*string `type:"list"`
 
4853
 
 
4854
        // The stack ID.
 
4855
        StackId *string `type:"string"`
 
4856
 
 
4857
        metadataDescribeRaidArraysInput `json:"-" xml:"-"`
 
4858
}
 
4859
 
 
4860
type metadataDescribeRaidArraysInput struct {
 
4861
        SDKShapeTraits bool `type:"structure"`
 
4862
}
 
4863
 
 
4864
// String returns the string representation
 
4865
func (s DescribeRaidArraysInput) String() string {
 
4866
        return awsutil.Prettify(s)
 
4867
}
 
4868
 
 
4869
// GoString returns the string representation
 
4870
func (s DescribeRaidArraysInput) GoString() string {
 
4871
        return s.String()
 
4872
}
 
4873
 
 
4874
// Contains the response to a DescribeRaidArrays request.
 
4875
type DescribeRaidArraysOutput struct {
 
4876
        // A RaidArrays object that describes the specified RAID arrays.
 
4877
        RaidArrays []*RaidArray `type:"list"`
 
4878
 
 
4879
        metadataDescribeRaidArraysOutput `json:"-" xml:"-"`
 
4880
}
 
4881
 
 
4882
type metadataDescribeRaidArraysOutput struct {
 
4883
        SDKShapeTraits bool `type:"structure"`
 
4884
}
 
4885
 
 
4886
// String returns the string representation
 
4887
func (s DescribeRaidArraysOutput) String() string {
 
4888
        return awsutil.Prettify(s)
 
4889
}
 
4890
 
 
4891
// GoString returns the string representation
 
4892
func (s DescribeRaidArraysOutput) GoString() string {
 
4893
        return s.String()
 
4894
}
 
4895
 
 
4896
type DescribeRdsDbInstancesInput struct {
 
4897
        // An array containing the ARNs of the instances to be described.
 
4898
        RdsDbInstanceArns []*string `type:"list"`
 
4899
 
 
4900
        // The stack ID that the instances are registered with. The operation returns
 
4901
        // descriptions of all registered Amazon RDS instances.
 
4902
        StackId *string `type:"string" required:"true"`
 
4903
 
 
4904
        metadataDescribeRdsDbInstancesInput `json:"-" xml:"-"`
 
4905
}
 
4906
 
 
4907
type metadataDescribeRdsDbInstancesInput struct {
 
4908
        SDKShapeTraits bool `type:"structure"`
 
4909
}
 
4910
 
 
4911
// String returns the string representation
 
4912
func (s DescribeRdsDbInstancesInput) String() string {
 
4913
        return awsutil.Prettify(s)
 
4914
}
 
4915
 
 
4916
// GoString returns the string representation
 
4917
func (s DescribeRdsDbInstancesInput) GoString() string {
 
4918
        return s.String()
 
4919
}
 
4920
 
 
4921
// Contains the response to a DescribeRdsDbInstances request.
 
4922
type DescribeRdsDbInstancesOutput struct {
 
4923
        // An a array of RdsDbInstance objects that describe the instances.
 
4924
        RdsDbInstances []*RdsDbInstance `type:"list"`
 
4925
 
 
4926
        metadataDescribeRdsDbInstancesOutput `json:"-" xml:"-"`
 
4927
}
 
4928
 
 
4929
type metadataDescribeRdsDbInstancesOutput struct {
 
4930
        SDKShapeTraits bool `type:"structure"`
 
4931
}
 
4932
 
 
4933
// String returns the string representation
 
4934
func (s DescribeRdsDbInstancesOutput) String() string {
 
4935
        return awsutil.Prettify(s)
 
4936
}
 
4937
 
 
4938
// GoString returns the string representation
 
4939
func (s DescribeRdsDbInstancesOutput) GoString() string {
 
4940
        return s.String()
 
4941
}
 
4942
 
 
4943
type DescribeServiceErrorsInput struct {
 
4944
        // The instance ID. If you use this parameter, DescribeServiceErrors returns
 
4945
        // descriptions of the errors associated with the specified instance.
 
4946
        InstanceId *string `type:"string"`
 
4947
 
 
4948
        // An array of service error IDs. If you use this parameter, DescribeServiceErrors
 
4949
        // returns descriptions of the specified errors. Otherwise, it returns a description
 
4950
        // of every error.
 
4951
        ServiceErrorIds []*string `type:"list"`
 
4952
 
 
4953
        // The stack ID. If you use this parameter, DescribeServiceErrors returns descriptions
 
4954
        // of the errors associated with the specified stack.
 
4955
        StackId *string `type:"string"`
 
4956
 
 
4957
        metadataDescribeServiceErrorsInput `json:"-" xml:"-"`
 
4958
}
 
4959
 
 
4960
type metadataDescribeServiceErrorsInput struct {
 
4961
        SDKShapeTraits bool `type:"structure"`
 
4962
}
 
4963
 
 
4964
// String returns the string representation
 
4965
func (s DescribeServiceErrorsInput) String() string {
 
4966
        return awsutil.Prettify(s)
 
4967
}
 
4968
 
 
4969
// GoString returns the string representation
 
4970
func (s DescribeServiceErrorsInput) GoString() string {
 
4971
        return s.String()
 
4972
}
 
4973
 
 
4974
// Contains the response to a DescribeServiceErrors request.
 
4975
type DescribeServiceErrorsOutput struct {
 
4976
        // An array of ServiceError objects that describe the specified service errors.
 
4977
        ServiceErrors []*ServiceError `type:"list"`
 
4978
 
 
4979
        metadataDescribeServiceErrorsOutput `json:"-" xml:"-"`
 
4980
}
 
4981
 
 
4982
type metadataDescribeServiceErrorsOutput struct {
 
4983
        SDKShapeTraits bool `type:"structure"`
 
4984
}
 
4985
 
 
4986
// String returns the string representation
 
4987
func (s DescribeServiceErrorsOutput) String() string {
 
4988
        return awsutil.Prettify(s)
 
4989
}
 
4990
 
 
4991
// GoString returns the string representation
 
4992
func (s DescribeServiceErrorsOutput) GoString() string {
 
4993
        return s.String()
 
4994
}
 
4995
 
 
4996
type DescribeStackProvisioningParametersInput struct {
 
4997
        // The stack ID
 
4998
        StackId *string `type:"string" required:"true"`
 
4999
 
 
5000
        metadataDescribeStackProvisioningParametersInput `json:"-" xml:"-"`
 
5001
}
 
5002
 
 
5003
type metadataDescribeStackProvisioningParametersInput struct {
 
5004
        SDKShapeTraits bool `type:"structure"`
 
5005
}
 
5006
 
 
5007
// String returns the string representation
 
5008
func (s DescribeStackProvisioningParametersInput) String() string {
 
5009
        return awsutil.Prettify(s)
 
5010
}
 
5011
 
 
5012
// GoString returns the string representation
 
5013
func (s DescribeStackProvisioningParametersInput) GoString() string {
 
5014
        return s.String()
 
5015
}
 
5016
 
 
5017
// Contains the response to a DescribeStackProvisioningParameters request.
 
5018
type DescribeStackProvisioningParametersOutput struct {
 
5019
        // The AWS OpsWorks agent installer's URL.
 
5020
        AgentInstallerUrl *string `type:"string"`
 
5021
 
 
5022
        // An embedded object that contains the provisioning parameters.
 
5023
        Parameters map[string]*string `type:"map"`
 
5024
 
 
5025
        metadataDescribeStackProvisioningParametersOutput `json:"-" xml:"-"`
 
5026
}
 
5027
 
 
5028
type metadataDescribeStackProvisioningParametersOutput struct {
 
5029
        SDKShapeTraits bool `type:"structure"`
 
5030
}
 
5031
 
 
5032
// String returns the string representation
 
5033
func (s DescribeStackProvisioningParametersOutput) String() string {
 
5034
        return awsutil.Prettify(s)
 
5035
}
 
5036
 
 
5037
// GoString returns the string representation
 
5038
func (s DescribeStackProvisioningParametersOutput) GoString() string {
 
5039
        return s.String()
 
5040
}
 
5041
 
 
5042
type DescribeStackSummaryInput struct {
 
5043
        // The stack ID.
 
5044
        StackId *string `type:"string" required:"true"`
 
5045
 
 
5046
        metadataDescribeStackSummaryInput `json:"-" xml:"-"`
 
5047
}
 
5048
 
 
5049
type metadataDescribeStackSummaryInput struct {
 
5050
        SDKShapeTraits bool `type:"structure"`
 
5051
}
 
5052
 
 
5053
// String returns the string representation
 
5054
func (s DescribeStackSummaryInput) String() string {
 
5055
        return awsutil.Prettify(s)
 
5056
}
 
5057
 
 
5058
// GoString returns the string representation
 
5059
func (s DescribeStackSummaryInput) GoString() string {
 
5060
        return s.String()
 
5061
}
 
5062
 
 
5063
// Contains the response to a DescribeStackSummary request.
 
5064
type DescribeStackSummaryOutput struct {
 
5065
        // A StackSummary object that contains the results.
 
5066
        StackSummary *StackSummary `type:"structure"`
 
5067
 
 
5068
        metadataDescribeStackSummaryOutput `json:"-" xml:"-"`
 
5069
}
 
5070
 
 
5071
type metadataDescribeStackSummaryOutput struct {
 
5072
        SDKShapeTraits bool `type:"structure"`
 
5073
}
 
5074
 
 
5075
// String returns the string representation
 
5076
func (s DescribeStackSummaryOutput) String() string {
 
5077
        return awsutil.Prettify(s)
 
5078
}
 
5079
 
 
5080
// GoString returns the string representation
 
5081
func (s DescribeStackSummaryOutput) GoString() string {
 
5082
        return s.String()
 
5083
}
 
5084
 
 
5085
type DescribeStacksInput struct {
 
5086
        // An array of stack IDs that specify the stacks to be described. If you omit
 
5087
        // this parameter, DescribeStacks returns a description of every stack.
 
5088
        StackIds []*string `type:"list"`
 
5089
 
 
5090
        metadataDescribeStacksInput `json:"-" xml:"-"`
 
5091
}
 
5092
 
 
5093
type metadataDescribeStacksInput struct {
 
5094
        SDKShapeTraits bool `type:"structure"`
 
5095
}
 
5096
 
 
5097
// String returns the string representation
 
5098
func (s DescribeStacksInput) String() string {
 
5099
        return awsutil.Prettify(s)
 
5100
}
 
5101
 
 
5102
// GoString returns the string representation
 
5103
func (s DescribeStacksInput) GoString() string {
 
5104
        return s.String()
 
5105
}
 
5106
 
 
5107
// Contains the response to a DescribeStacks request.
 
5108
type DescribeStacksOutput struct {
 
5109
        // An array of Stack objects that describe the stacks.
 
5110
        Stacks []*Stack `type:"list"`
 
5111
 
 
5112
        metadataDescribeStacksOutput `json:"-" xml:"-"`
 
5113
}
 
5114
 
 
5115
type metadataDescribeStacksOutput struct {
 
5116
        SDKShapeTraits bool `type:"structure"`
 
5117
}
 
5118
 
 
5119
// String returns the string representation
 
5120
func (s DescribeStacksOutput) String() string {
 
5121
        return awsutil.Prettify(s)
 
5122
}
 
5123
 
 
5124
// GoString returns the string representation
 
5125
func (s DescribeStacksOutput) GoString() string {
 
5126
        return s.String()
 
5127
}
 
5128
 
 
5129
type DescribeTimeBasedAutoScalingInput struct {
 
5130
        // An array of instance IDs.
 
5131
        InstanceIds []*string `type:"list" required:"true"`
 
5132
 
 
5133
        metadataDescribeTimeBasedAutoScalingInput `json:"-" xml:"-"`
 
5134
}
 
5135
 
 
5136
type metadataDescribeTimeBasedAutoScalingInput struct {
 
5137
        SDKShapeTraits bool `type:"structure"`
 
5138
}
 
5139
 
 
5140
// String returns the string representation
 
5141
func (s DescribeTimeBasedAutoScalingInput) String() string {
 
5142
        return awsutil.Prettify(s)
 
5143
}
 
5144
 
 
5145
// GoString returns the string representation
 
5146
func (s DescribeTimeBasedAutoScalingInput) GoString() string {
 
5147
        return s.String()
 
5148
}
 
5149
 
 
5150
// Contains the response to a DescribeTimeBasedAutoScaling request.
 
5151
type DescribeTimeBasedAutoScalingOutput struct {
 
5152
        // An array of TimeBasedAutoScalingConfiguration objects that describe the configuration
 
5153
        // for the specified instances.
 
5154
        TimeBasedAutoScalingConfigurations []*TimeBasedAutoScalingConfiguration `type:"list"`
 
5155
 
 
5156
        metadataDescribeTimeBasedAutoScalingOutput `json:"-" xml:"-"`
 
5157
}
 
5158
 
 
5159
type metadataDescribeTimeBasedAutoScalingOutput struct {
 
5160
        SDKShapeTraits bool `type:"structure"`
 
5161
}
 
5162
 
 
5163
// String returns the string representation
 
5164
func (s DescribeTimeBasedAutoScalingOutput) String() string {
 
5165
        return awsutil.Prettify(s)
 
5166
}
 
5167
 
 
5168
// GoString returns the string representation
 
5169
func (s DescribeTimeBasedAutoScalingOutput) GoString() string {
 
5170
        return s.String()
 
5171
}
 
5172
 
 
5173
type DescribeUserProfilesInput struct {
 
5174
        // An array of IAM user ARNs that identify the users to be described.
 
5175
        IamUserArns []*string `type:"list"`
 
5176
 
 
5177
        metadataDescribeUserProfilesInput `json:"-" xml:"-"`
 
5178
}
 
5179
 
 
5180
type metadataDescribeUserProfilesInput struct {
 
5181
        SDKShapeTraits bool `type:"structure"`
 
5182
}
 
5183
 
 
5184
// String returns the string representation
 
5185
func (s DescribeUserProfilesInput) String() string {
 
5186
        return awsutil.Prettify(s)
 
5187
}
 
5188
 
 
5189
// GoString returns the string representation
 
5190
func (s DescribeUserProfilesInput) GoString() string {
 
5191
        return s.String()
 
5192
}
 
5193
 
 
5194
// Contains the response to a DescribeUserProfiles request.
 
5195
type DescribeUserProfilesOutput struct {
 
5196
        // A Users object that describes the specified users.
 
5197
        UserProfiles []*UserProfile `type:"list"`
 
5198
 
 
5199
        metadataDescribeUserProfilesOutput `json:"-" xml:"-"`
 
5200
}
 
5201
 
 
5202
type metadataDescribeUserProfilesOutput struct {
 
5203
        SDKShapeTraits bool `type:"structure"`
 
5204
}
 
5205
 
 
5206
// String returns the string representation
 
5207
func (s DescribeUserProfilesOutput) String() string {
 
5208
        return awsutil.Prettify(s)
 
5209
}
 
5210
 
 
5211
// GoString returns the string representation
 
5212
func (s DescribeUserProfilesOutput) GoString() string {
 
5213
        return s.String()
 
5214
}
 
5215
 
 
5216
type DescribeVolumesInput struct {
 
5217
        // The instance ID. If you use this parameter, DescribeVolumes returns descriptions
 
5218
        // of the volumes associated with the specified instance.
 
5219
        InstanceId *string `type:"string"`
 
5220
 
 
5221
        // The RAID array ID. If you use this parameter, DescribeVolumes returns descriptions
 
5222
        // of the volumes associated with the specified RAID array.
 
5223
        RaidArrayId *string `type:"string"`
 
5224
 
 
5225
        // A stack ID. The action describes the stack's registered Amazon EBS volumes.
 
5226
        StackId *string `type:"string"`
 
5227
 
 
5228
        // Am array of volume IDs. If you use this parameter, DescribeVolumes returns
 
5229
        // descriptions of the specified volumes. Otherwise, it returns a description
 
5230
        // of every volume.
 
5231
        VolumeIds []*string `type:"list"`
 
5232
 
 
5233
        metadataDescribeVolumesInput `json:"-" xml:"-"`
 
5234
}
 
5235
 
 
5236
type metadataDescribeVolumesInput struct {
 
5237
        SDKShapeTraits bool `type:"structure"`
 
5238
}
 
5239
 
 
5240
// String returns the string representation
 
5241
func (s DescribeVolumesInput) String() string {
 
5242
        return awsutil.Prettify(s)
 
5243
}
 
5244
 
 
5245
// GoString returns the string representation
 
5246
func (s DescribeVolumesInput) GoString() string {
 
5247
        return s.String()
 
5248
}
 
5249
 
 
5250
// Contains the response to a DescribeVolumes request.
 
5251
type DescribeVolumesOutput struct {
 
5252
        // An array of volume IDs.
 
5253
        Volumes []*Volume `type:"list"`
 
5254
 
 
5255
        metadataDescribeVolumesOutput `json:"-" xml:"-"`
 
5256
}
 
5257
 
 
5258
type metadataDescribeVolumesOutput struct {
 
5259
        SDKShapeTraits bool `type:"structure"`
 
5260
}
 
5261
 
 
5262
// String returns the string representation
 
5263
func (s DescribeVolumesOutput) String() string {
 
5264
        return awsutil.Prettify(s)
 
5265
}
 
5266
 
 
5267
// GoString returns the string representation
 
5268
func (s DescribeVolumesOutput) GoString() string {
 
5269
        return s.String()
 
5270
}
 
5271
 
 
5272
type DetachElasticLoadBalancerInput struct {
 
5273
        // The Elastic Load Balancing instance's name.
 
5274
        ElasticLoadBalancerName *string `type:"string" required:"true"`
 
5275
 
 
5276
        // The ID of the layer that the Elastic Load Balancing instance is attached
 
5277
        // to.
 
5278
        LayerId *string `type:"string" required:"true"`
 
5279
 
 
5280
        metadataDetachElasticLoadBalancerInput `json:"-" xml:"-"`
 
5281
}
 
5282
 
 
5283
type metadataDetachElasticLoadBalancerInput struct {
 
5284
        SDKShapeTraits bool `type:"structure"`
 
5285
}
 
5286
 
 
5287
// String returns the string representation
 
5288
func (s DetachElasticLoadBalancerInput) String() string {
 
5289
        return awsutil.Prettify(s)
 
5290
}
 
5291
 
 
5292
// GoString returns the string representation
 
5293
func (s DetachElasticLoadBalancerInput) GoString() string {
 
5294
        return s.String()
 
5295
}
 
5296
 
 
5297
type DetachElasticLoadBalancerOutput struct {
 
5298
        metadataDetachElasticLoadBalancerOutput `json:"-" xml:"-"`
 
5299
}
 
5300
 
 
5301
type metadataDetachElasticLoadBalancerOutput struct {
 
5302
        SDKShapeTraits bool `type:"structure"`
 
5303
}
 
5304
 
 
5305
// String returns the string representation
 
5306
func (s DetachElasticLoadBalancerOutput) String() string {
 
5307
        return awsutil.Prettify(s)
 
5308
}
 
5309
 
 
5310
// GoString returns the string representation
 
5311
func (s DetachElasticLoadBalancerOutput) GoString() string {
 
5312
        return s.String()
 
5313
}
 
5314
 
 
5315
type DisassociateElasticIpInput struct {
 
5316
        // The Elastic IP address.
 
5317
        ElasticIp *string `type:"string" required:"true"`
 
5318
 
 
5319
        metadataDisassociateElasticIpInput `json:"-" xml:"-"`
 
5320
}
 
5321
 
 
5322
type metadataDisassociateElasticIpInput struct {
 
5323
        SDKShapeTraits bool `type:"structure"`
 
5324
}
 
5325
 
 
5326
// String returns the string representation
 
5327
func (s DisassociateElasticIpInput) String() string {
 
5328
        return awsutil.Prettify(s)
 
5329
}
 
5330
 
 
5331
// GoString returns the string representation
 
5332
func (s DisassociateElasticIpInput) GoString() string {
 
5333
        return s.String()
 
5334
}
 
5335
 
 
5336
type DisassociateElasticIpOutput struct {
 
5337
        metadataDisassociateElasticIpOutput `json:"-" xml:"-"`
 
5338
}
 
5339
 
 
5340
type metadataDisassociateElasticIpOutput struct {
 
5341
        SDKShapeTraits bool `type:"structure"`
 
5342
}
 
5343
 
 
5344
// String returns the string representation
 
5345
func (s DisassociateElasticIpOutput) String() string {
 
5346
        return awsutil.Prettify(s)
 
5347
}
 
5348
 
 
5349
// GoString returns the string representation
 
5350
func (s DisassociateElasticIpOutput) GoString() string {
 
5351
        return s.String()
 
5352
}
 
5353
 
 
5354
// Describes an Amazon EBS volume. This data type maps directly to the Amazon
 
5355
// EC2 EbsBlockDevice (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html)
 
5356
// data type.
 
5357
type EbsBlockDevice struct {
 
5358
        // Whether the volume is deleted on instance termination.
 
5359
        DeleteOnTermination *bool `type:"boolean"`
 
5360
 
 
5361
        // The number of I/O operations per second (IOPS) that the volume supports.
 
5362
        // For more information, see EbsBlockDevice (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html).
 
5363
        Iops *int64 `type:"integer"`
 
5364
 
 
5365
        // The snapshot ID.
 
5366
        SnapshotId *string `type:"string"`
 
5367
 
 
5368
        // The volume size, in GiB. For more information, see EbsBlockDevice (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html).
 
5369
        VolumeSize *int64 `type:"integer"`
 
5370
 
 
5371
        // The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned
 
5372
        // IOPS (SSD) volumes, and standard for Magnetic volumes.
 
5373
        VolumeType *string `type:"string" enum:"VolumeType"`
 
5374
 
 
5375
        metadataEbsBlockDevice `json:"-" xml:"-"`
 
5376
}
 
5377
 
 
5378
type metadataEbsBlockDevice struct {
 
5379
        SDKShapeTraits bool `type:"structure"`
 
5380
}
 
5381
 
 
5382
// String returns the string representation
 
5383
func (s EbsBlockDevice) String() string {
 
5384
        return awsutil.Prettify(s)
 
5385
}
 
5386
 
 
5387
// GoString returns the string representation
 
5388
func (s EbsBlockDevice) GoString() string {
 
5389
        return s.String()
 
5390
}
 
5391
 
 
5392
// Describes a registered Amazon ECS cluster.
 
5393
type EcsCluster struct {
 
5394
        // The cluster's ARN.
 
5395
        EcsClusterArn *string `type:"string"`
 
5396
 
 
5397
        // The cluster name.
 
5398
        EcsClusterName *string `type:"string"`
 
5399
 
 
5400
        // The time and date that the cluster was registered with the stack.
 
5401
        RegisteredAt *string `type:"string"`
 
5402
 
 
5403
        // The stack ID.
 
5404
        StackId *string `type:"string"`
 
5405
 
 
5406
        metadataEcsCluster `json:"-" xml:"-"`
 
5407
}
 
5408
 
 
5409
type metadataEcsCluster struct {
 
5410
        SDKShapeTraits bool `type:"structure"`
 
5411
}
 
5412
 
 
5413
// String returns the string representation
 
5414
func (s EcsCluster) String() string {
 
5415
        return awsutil.Prettify(s)
 
5416
}
 
5417
 
 
5418
// GoString returns the string representation
 
5419
func (s EcsCluster) GoString() string {
 
5420
        return s.String()
 
5421
}
 
5422
 
 
5423
// Describes an Elastic IP address.
 
5424
type ElasticIp struct {
 
5425
        // The domain.
 
5426
        Domain *string `type:"string"`
 
5427
 
 
5428
        // The ID of the instance that the address is attached to.
 
5429
        InstanceId *string `type:"string"`
 
5430
 
 
5431
        // The IP address.
 
5432
        Ip *string `type:"string"`
 
5433
 
 
5434
        // The name.
 
5435
        Name *string `type:"string"`
 
5436
 
 
5437
        // The AWS region. For more information, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html).
 
5438
        Region *string `type:"string"`
 
5439
 
 
5440
        metadataElasticIp `json:"-" xml:"-"`
 
5441
}
 
5442
 
 
5443
type metadataElasticIp struct {
 
5444
        SDKShapeTraits bool `type:"structure"`
 
5445
}
 
5446
 
 
5447
// String returns the string representation
 
5448
func (s ElasticIp) String() string {
 
5449
        return awsutil.Prettify(s)
 
5450
}
 
5451
 
 
5452
// GoString returns the string representation
 
5453
func (s ElasticIp) GoString() string {
 
5454
        return s.String()
 
5455
}
 
5456
 
 
5457
// Describes an Elastic Load Balancing instance.
 
5458
type ElasticLoadBalancer struct {
 
5459
        // A list of Availability Zones.
 
5460
        AvailabilityZones []*string `type:"list"`
 
5461
 
 
5462
        // The instance's public DNS name.
 
5463
        DnsName *string `type:"string"`
 
5464
 
 
5465
        // A list of the EC2 instances that the Elastic Load Balancing instance is managing
 
5466
        // traffic for.
 
5467
        Ec2InstanceIds []*string `type:"list"`
 
5468
 
 
5469
        // The Elastic Load Balancing instance's name.
 
5470
        ElasticLoadBalancerName *string `type:"string"`
 
5471
 
 
5472
        // The ID of the layer that the instance is attached to.
 
5473
        LayerId *string `type:"string"`
 
5474
 
 
5475
        // The instance's AWS region.
 
5476
        Region *string `type:"string"`
 
5477
 
 
5478
        // The ID of the stack that the instance is associated with.
 
5479
        StackId *string `type:"string"`
 
5480
 
 
5481
        // A list of subnet IDs, if the stack is running in a VPC.
 
5482
        SubnetIds []*string `type:"list"`
 
5483
 
 
5484
        // The VPC ID.
 
5485
        VpcId *string `type:"string"`
 
5486
 
 
5487
        metadataElasticLoadBalancer `json:"-" xml:"-"`
 
5488
}
 
5489
 
 
5490
type metadataElasticLoadBalancer struct {
 
5491
        SDKShapeTraits bool `type:"structure"`
 
5492
}
 
5493
 
 
5494
// String returns the string representation
 
5495
func (s ElasticLoadBalancer) String() string {
 
5496
        return awsutil.Prettify(s)
 
5497
}
 
5498
 
 
5499
// GoString returns the string representation
 
5500
func (s ElasticLoadBalancer) GoString() string {
 
5501
        return s.String()
 
5502
}
 
5503
 
 
5504
// Represents an app's environment variable.
 
5505
type EnvironmentVariable struct {
 
5506
        // (Required) The environment variable's name, which can consist of up to 64
 
5507
        // characters and must be specified. The name can contain upper- and lowercase
 
5508
        // letters, numbers, and underscores (_), but it must start with a letter or
 
5509
        // underscore.
 
5510
        Key *string `type:"string" required:"true"`
 
5511
 
 
5512
        // (Optional) Whether the variable's value will be returned by the DescribeApps
 
5513
        // action. To conceal an environment variable's value, set Secure to true. DescribeApps
 
5514
        // then returns *****FILTERED***** instead of the actual value. The default
 
5515
        // value for Secure is false.
 
5516
        Secure *bool `type:"boolean"`
 
5517
 
 
5518
        // (Optional) The environment variable's value, which can be left empty. If
 
5519
        // you specify a value, it can contain up to 256 characters, which must all
 
5520
        // be printable.
 
5521
        Value *string `type:"string" required:"true"`
 
5522
 
 
5523
        metadataEnvironmentVariable `json:"-" xml:"-"`
 
5524
}
 
5525
 
 
5526
type metadataEnvironmentVariable struct {
 
5527
        SDKShapeTraits bool `type:"structure"`
 
5528
}
 
5529
 
 
5530
// String returns the string representation
 
5531
func (s EnvironmentVariable) String() string {
 
5532
        return awsutil.Prettify(s)
 
5533
}
 
5534
 
 
5535
// GoString returns the string representation
 
5536
func (s EnvironmentVariable) GoString() string {
 
5537
        return s.String()
 
5538
}
 
5539
 
 
5540
type GetHostnameSuggestionInput struct {
 
5541
        // The layer ID.
 
5542
        LayerId *string `type:"string" required:"true"`
 
5543
 
 
5544
        metadataGetHostnameSuggestionInput `json:"-" xml:"-"`
 
5545
}
 
5546
 
 
5547
type metadataGetHostnameSuggestionInput struct {
 
5548
        SDKShapeTraits bool `type:"structure"`
 
5549
}
 
5550
 
 
5551
// String returns the string representation
 
5552
func (s GetHostnameSuggestionInput) String() string {
 
5553
        return awsutil.Prettify(s)
 
5554
}
 
5555
 
 
5556
// GoString returns the string representation
 
5557
func (s GetHostnameSuggestionInput) GoString() string {
 
5558
        return s.String()
 
5559
}
 
5560
 
 
5561
// Contains the response to a GetHostnameSuggestion request.
 
5562
type GetHostnameSuggestionOutput struct {
 
5563
        // The generated host name.
 
5564
        Hostname *string `type:"string"`
 
5565
 
 
5566
        // The layer ID.
 
5567
        LayerId *string `type:"string"`
 
5568
 
 
5569
        metadataGetHostnameSuggestionOutput `json:"-" xml:"-"`
 
5570
}
 
5571
 
 
5572
type metadataGetHostnameSuggestionOutput struct {
 
5573
        SDKShapeTraits bool `type:"structure"`
 
5574
}
 
5575
 
 
5576
// String returns the string representation
 
5577
func (s GetHostnameSuggestionOutput) String() string {
 
5578
        return awsutil.Prettify(s)
 
5579
}
 
5580
 
 
5581
// GoString returns the string representation
 
5582
func (s GetHostnameSuggestionOutput) GoString() string {
 
5583
        return s.String()
 
5584
}
 
5585
 
 
5586
type GrantAccessInput struct {
 
5587
        // The instance's AWS OpsWorks ID.
 
5588
        InstanceId *string `type:"string" required:"true"`
 
5589
 
 
5590
        // The length of time (in minutes) that the grant is valid. When the grant expires
 
5591
        // at the end of this period, the user will no longer be able to use the credentials
 
5592
        // to log in. If the user is logged in at the time, he or she automatically
 
5593
        // will be logged out.
 
5594
        ValidForInMinutes *int64 `min:"60" type:"integer"`
 
5595
 
 
5596
        metadataGrantAccessInput `json:"-" xml:"-"`
 
5597
}
 
5598
 
 
5599
type metadataGrantAccessInput struct {
 
5600
        SDKShapeTraits bool `type:"structure"`
 
5601
}
 
5602
 
 
5603
// String returns the string representation
 
5604
func (s GrantAccessInput) String() string {
 
5605
        return awsutil.Prettify(s)
 
5606
}
 
5607
 
 
5608
// GoString returns the string representation
 
5609
func (s GrantAccessInput) GoString() string {
 
5610
        return s.String()
 
5611
}
 
5612
 
 
5613
// Contains the response to a GrantAccess request.
 
5614
type GrantAccessOutput struct {
 
5615
        // A TemporaryCredential object that contains the data needed to log in to the
 
5616
        // instance by RDP clients, such as the Microsoft Remote Desktop Connection.
 
5617
        TemporaryCredential *TemporaryCredential `type:"structure"`
 
5618
 
 
5619
        metadataGrantAccessOutput `json:"-" xml:"-"`
 
5620
}
 
5621
 
 
5622
type metadataGrantAccessOutput struct {
 
5623
        SDKShapeTraits bool `type:"structure"`
 
5624
}
 
5625
 
 
5626
// String returns the string representation
 
5627
func (s GrantAccessOutput) String() string {
 
5628
        return awsutil.Prettify(s)
 
5629
}
 
5630
 
 
5631
// GoString returns the string representation
 
5632
func (s GrantAccessOutput) GoString() string {
 
5633
        return s.String()
 
5634
}
 
5635
 
 
5636
// Describes an instance.
 
5637
type Instance struct {
 
5638
        // The agent version. This parameter is set to INHERIT if the instance inherits
 
5639
        // the default stack setting or to a a version number for a fixed agent version.
 
5640
        AgentVersion *string `type:"string"`
 
5641
 
 
5642
        // A custom AMI ID to be used to create the instance. For more information,
 
5643
        // see Instances (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html)
 
5644
        AmiId *string `type:"string"`
 
5645
 
 
5646
        // The instance architecture: "i386" or "x86_64".
 
5647
        Architecture *string `type:"string" enum:"Architecture"`
 
5648
 
 
5649
        // For load-based or time-based instances, the type.
 
5650
        AutoScalingType *string `type:"string" enum:"AutoScalingType"`
 
5651
 
 
5652
        // The instance Availability Zone. For more information, see Regions and Endpoints
 
5653
        // (http://docs.aws.amazon.com/general/latest/gr/rande.html).
 
5654
        AvailabilityZone *string `type:"string"`
 
5655
 
 
5656
        // An array of BlockDeviceMapping objects that specify the instance's block
 
5657
        // device mappings.
 
5658
        BlockDeviceMappings []*BlockDeviceMapping `type:"list"`
 
5659
 
 
5660
        // The time that the instance was created.
 
5661
        CreatedAt *string `type:"string"`
 
5662
 
 
5663
        // Whether this is an Amazon EBS-optimized instance.
 
5664
        EbsOptimized *bool `type:"boolean"`
 
5665
 
 
5666
        // The ID of the associated Amazon EC2 instance.
 
5667
        Ec2InstanceId *string `type:"string"`
 
5668
 
 
5669
        // For container instances, the Amazon ECS cluster's ARN.
 
5670
        EcsClusterArn *string `type:"string"`
 
5671
 
 
5672
        // For container instances, the instance's ARN.
 
5673
        EcsContainerInstanceArn *string `type:"string"`
 
5674
 
 
5675
        // The instance Elastic IP address  (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html).
 
5676
        ElasticIp *string `type:"string"`
 
5677
 
 
5678
        // The instance host name.
 
5679
        Hostname *string `type:"string"`
 
5680
 
 
5681
        // For registered instances, the infrastructure class: ec2 or on-premises.
 
5682
        InfrastructureClass *string `type:"string"`
 
5683
 
 
5684
        // Whether to install operating system and package updates when the instance
 
5685
        // boots. The default value is true. If this value is set to false, you must
 
5686
        // then update your instances manually by using CreateDeployment to run the
 
5687
        // update_dependencies stack command or by manually running yum (Amazon Linux)
 
5688
        // or apt-get (Ubuntu) on the instances.
 
5689
        //
 
5690
        //  We strongly recommend using the default value of true, to ensure that your
 
5691
        // instances have the latest security updates.
 
5692
        InstallUpdatesOnBoot *bool `type:"boolean"`
 
5693
 
 
5694
        // The instance ID.
 
5695
        InstanceId *string `type:"string"`
 
5696
 
 
5697
        // The ARN of the instance's IAM profile. For more information about IAM ARNs,
 
5698
        // see Using Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
 
5699
        InstanceProfileArn *string `type:"string"`
 
5700
 
 
5701
        // The instance type, such as t2.micro.
 
5702
        InstanceType *string `type:"string"`
 
5703
 
 
5704
        // The ID of the last service error. For more information, call DescribeServiceErrors.
 
5705
        LastServiceErrorId *string `type:"string"`
 
5706
 
 
5707
        // An array containing the instance layer IDs.
 
5708
        LayerIds []*string `type:"list"`
 
5709
 
 
5710
        // The instance's operating system.
 
5711
        Os *string `type:"string"`
 
5712
 
 
5713
        // The instance's platform.
 
5714
        Platform *string `type:"string"`
 
5715
 
 
5716
        // The The instance's private DNS name.
 
5717
        PrivateDns *string `type:"string"`
 
5718
 
 
5719
        // The instance's private IP address.
 
5720
        PrivateIp *string `type:"string"`
 
5721
 
 
5722
        // The instance public DNS name.
 
5723
        PublicDns *string `type:"string"`
 
5724
 
 
5725
        // The instance public IP address.
 
5726
        PublicIp *string `type:"string"`
 
5727
 
 
5728
        // For registered instances, who performed the registration.
 
5729
        RegisteredBy *string `type:"string"`
 
5730
 
 
5731
        // The instance's reported AWS OpsWorks agent version.
 
5732
        ReportedAgentVersion *string `type:"string"`
 
5733
 
 
5734
        // For registered instances, the reported operating system.
 
5735
        ReportedOs *ReportedOs `type:"structure"`
 
5736
 
 
5737
        // The instance's root device type. For more information, see Storage for the
 
5738
        // Root Device (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device).
 
5739
        RootDeviceType *string `type:"string" enum:"RootDeviceType"`
 
5740
 
 
5741
        // The root device volume ID.
 
5742
        RootDeviceVolumeId *string `type:"string"`
 
5743
 
 
5744
        // An array containing the instance security group IDs.
 
5745
        SecurityGroupIds []*string `type:"list"`
 
5746
 
 
5747
        // The SSH key's Deep Security Agent (DSA) fingerprint.
 
5748
        SshHostDsaKeyFingerprint *string `type:"string"`
 
5749
 
 
5750
        // The SSH key's RSA fingerprint.
 
5751
        SshHostRsaKeyFingerprint *string `type:"string"`
 
5752
 
 
5753
        // The instance's Amazon EC2 key-pair name.
 
5754
        SshKeyName *string `type:"string"`
 
5755
 
 
5756
        // The stack ID.
 
5757
        StackId *string `type:"string"`
 
5758
 
 
5759
        // The instance status:
 
5760
        //
 
5761
        //   booting   connection_lost   online   pending   rebooting   requested
 
5762
        //  running_setup   setup_failed   shutting_down   start_failed   stopped
 
5763
        // stopping   terminated   terminating
 
5764
        Status *string `type:"string"`
 
5765
 
 
5766
        // The instance's subnet ID; applicable only if the stack is running in a VPC.
 
5767
        SubnetId *string `type:"string"`
 
5768
 
 
5769
        // The instance's virtualization type: paravirtual or hvm.
 
5770
        VirtualizationType *string `type:"string" enum:"VirtualizationType"`
 
5771
 
 
5772
        metadataInstance `json:"-" xml:"-"`
 
5773
}
 
5774
 
 
5775
type metadataInstance struct {
 
5776
        SDKShapeTraits bool `type:"structure"`
 
5777
}
 
5778
 
 
5779
// String returns the string representation
 
5780
func (s Instance) String() string {
 
5781
        return awsutil.Prettify(s)
 
5782
}
 
5783
 
 
5784
// GoString returns the string representation
 
5785
func (s Instance) GoString() string {
 
5786
        return s.String()
 
5787
}
 
5788
 
 
5789
// Contains a description of an Amazon EC2 instance from the Amazon EC2 metadata
 
5790
// service. For more information, see Instance Metadata and User Data (http://docs.aws.amazon.com/sdkfornet/latest/apidocs/Index.html).
 
5791
type InstanceIdentity struct {
 
5792
        // A JSON document that contains the metadata.
 
5793
        Document *string `type:"string"`
 
5794
 
 
5795
        // A signature that can be used to verify the document's accuracy and authenticity.
 
5796
        Signature *string `type:"string"`
 
5797
 
 
5798
        metadataInstanceIdentity `json:"-" xml:"-"`
 
5799
}
 
5800
 
 
5801
type metadataInstanceIdentity struct {
 
5802
        SDKShapeTraits bool `type:"structure"`
 
5803
}
 
5804
 
 
5805
// String returns the string representation
 
5806
func (s InstanceIdentity) String() string {
 
5807
        return awsutil.Prettify(s)
 
5808
}
 
5809
 
 
5810
// GoString returns the string representation
 
5811
func (s InstanceIdentity) GoString() string {
 
5812
        return s.String()
 
5813
}
 
5814
 
 
5815
// Describes how many instances a stack has for each status.
 
5816
type InstancesCount struct {
 
5817
        // The number of instances in the Assigning state.
 
5818
        Assigning *int64 `type:"integer"`
 
5819
 
 
5820
        // The number of instances with booting status.
 
5821
        Booting *int64 `type:"integer"`
 
5822
 
 
5823
        // The number of instances with connection_lost status.
 
5824
        ConnectionLost *int64 `type:"integer"`
 
5825
 
 
5826
        // The number of instances in the Deregistering state.
 
5827
        Deregistering *int64 `type:"integer"`
 
5828
 
 
5829
        // The number of instances with online status.
 
5830
        Online *int64 `type:"integer"`
 
5831
 
 
5832
        // The number of instances with pending status.
 
5833
        Pending *int64 `type:"integer"`
 
5834
 
 
5835
        // The number of instances with rebooting status.
 
5836
        Rebooting *int64 `type:"integer"`
 
5837
 
 
5838
        // The number of instances in the Registered state.
 
5839
        Registered *int64 `type:"integer"`
 
5840
 
 
5841
        // The number of instances in the Registering state.
 
5842
        Registering *int64 `type:"integer"`
 
5843
 
 
5844
        // The number of instances with requested status.
 
5845
        Requested *int64 `type:"integer"`
 
5846
 
 
5847
        // The number of instances with running_setup status.
 
5848
        RunningSetup *int64 `type:"integer"`
 
5849
 
 
5850
        // The number of instances with setup_failed status.
 
5851
        SetupFailed *int64 `type:"integer"`
 
5852
 
 
5853
        // The number of instances with shutting_down status.
 
5854
        ShuttingDown *int64 `type:"integer"`
 
5855
 
 
5856
        // The number of instances with start_failed status.
 
5857
        StartFailed *int64 `type:"integer"`
 
5858
 
 
5859
        // The number of instances with stopped status.
 
5860
        Stopped *int64 `type:"integer"`
 
5861
 
 
5862
        // The number of instances with stopping status.
 
5863
        Stopping *int64 `type:"integer"`
 
5864
 
 
5865
        // The number of instances with terminated status.
 
5866
        Terminated *int64 `type:"integer"`
 
5867
 
 
5868
        // The number of instances with terminating status.
 
5869
        Terminating *int64 `type:"integer"`
 
5870
 
 
5871
        // The number of instances in the Unassigning state.
 
5872
        Unassigning *int64 `type:"integer"`
 
5873
 
 
5874
        metadataInstancesCount `json:"-" xml:"-"`
 
5875
}
 
5876
 
 
5877
type metadataInstancesCount struct {
 
5878
        SDKShapeTraits bool `type:"structure"`
 
5879
}
 
5880
 
 
5881
// String returns the string representation
 
5882
func (s InstancesCount) String() string {
 
5883
        return awsutil.Prettify(s)
 
5884
}
 
5885
 
 
5886
// GoString returns the string representation
 
5887
func (s InstancesCount) GoString() string {
 
5888
        return s.String()
 
5889
}
 
5890
 
 
5891
// Describes a layer.
 
5892
type Layer struct {
 
5893
        // The layer attributes.
 
5894
        //
 
5895
        // For the HaproxyStatsPassword, MysqlRootPassword, and GangliaPassword attributes,
 
5896
        // AWS OpsWorks returns *****FILTERED***** instead of the actual value
 
5897
        //
 
5898
        // For an ECS Cluster layer, AWS OpsWorks the EcsClusterArn attribute is set
 
5899
        // to the cluster's ARN.
 
5900
        Attributes map[string]*string `type:"map"`
 
5901
 
 
5902
        // Whether to automatically assign an Elastic IP address (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html)
 
5903
        // to the layer's instances. For more information, see How to Edit a Layer (http://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html).
 
5904
        AutoAssignElasticIps *bool `type:"boolean"`
 
5905
 
 
5906
        // For stacks that are running in a VPC, whether to automatically assign a public
 
5907
        // IP address to the layer's instances. For more information, see How to Edit
 
5908
        // a Layer (http://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html).
 
5909
        AutoAssignPublicIps *bool `type:"boolean"`
 
5910
 
 
5911
        // Date when the layer was created.
 
5912
        CreatedAt *string `type:"string"`
 
5913
 
 
5914
        // The ARN of the default IAM profile to be used for the layer's EC2 instances.
 
5915
        // For more information about IAM ARNs, see Using Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
 
5916
        CustomInstanceProfileArn *string `type:"string"`
 
5917
 
 
5918
        // A JSON formatted string containing the layer's custom stack configuration
 
5919
        // and deployment attributes.
 
5920
        CustomJson *string `type:"string"`
 
5921
 
 
5922
        // A LayerCustomRecipes object that specifies the layer's custom recipes.
 
5923
        CustomRecipes *Recipes `type:"structure"`
 
5924
 
 
5925
        // An array containing the layer's custom security group IDs.
 
5926
        CustomSecurityGroupIds []*string `type:"list"`
 
5927
 
 
5928
        // AWS OpsWorks supports five lifecycle events: setup, configuration, deploy,
 
5929
        // undeploy, and shutdown. For each layer, AWS OpsWorks runs a set of standard
 
5930
        // recipes for each event. In addition, you can provide custom recipes for any
 
5931
        // or all layers and events. AWS OpsWorks runs custom event recipes after the
 
5932
        // standard recipes. LayerCustomRecipes specifies the custom recipes for a particular
 
5933
        // layer to be run in response to each of the five events.
 
5934
        //
 
5935
        // To specify a recipe, use the cookbook's directory name in the repository
 
5936
        // followed by two colons and the recipe name, which is the recipe's file name
 
5937
        // without the .rb extension. For example: phpapp2::dbsetup specifies the dbsetup.rb
 
5938
        // recipe in the repository's phpapp2 folder.
 
5939
        DefaultRecipes *Recipes `type:"structure"`
 
5940
 
 
5941
        // An array containing the layer's security group names.
 
5942
        DefaultSecurityGroupNames []*string `type:"list"`
 
5943
 
 
5944
        // Whether auto healing is disabled for the layer.
 
5945
        EnableAutoHealing *bool `type:"boolean"`
 
5946
 
 
5947
        // Whether to install operating system and package updates when the instance
 
5948
        // boots. The default value is true. If this value is set to false, you must
 
5949
        // then update your instances manually by using CreateDeployment to run the
 
5950
        // update_dependencies stack command or manually running yum (Amazon Linux)
 
5951
        // or apt-get (Ubuntu) on the instances.
 
5952
        //
 
5953
        //  We strongly recommend using the default value of true, to ensure that your
 
5954
        // instances have the latest security updates.
 
5955
        InstallUpdatesOnBoot *bool `type:"boolean"`
 
5956
 
 
5957
        // The layer ID.
 
5958
        LayerId *string `type:"string"`
 
5959
 
 
5960
        // A LifeCycleEventConfiguration object that specifies the Shutdown event configuration.
 
5961
        LifecycleEventConfiguration *LifecycleEventConfiguration `type:"structure"`
 
5962
 
 
5963
        // The layer name.
 
5964
        Name *string `type:"string"`
 
5965
 
 
5966
        // An array of Package objects that describe the layer's packages.
 
5967
        Packages []*string `type:"list"`
 
5968
 
 
5969
        // The layer short name.
 
5970
        Shortname *string `type:"string"`
 
5971
 
 
5972
        // The layer stack ID.
 
5973
        StackId *string `type:"string"`
 
5974
 
 
5975
        // The layer type.
 
5976
        Type *string `type:"string" enum:"LayerType"`
 
5977
 
 
5978
        // Whether the layer uses Amazon EBS-optimized instances.
 
5979
        UseEbsOptimizedInstances *bool `type:"boolean"`
 
5980
 
 
5981
        // A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
 
5982
        VolumeConfigurations []*VolumeConfiguration `type:"list"`
 
5983
 
 
5984
        metadataLayer `json:"-" xml:"-"`
 
5985
}
 
5986
 
 
5987
type metadataLayer struct {
 
5988
        SDKShapeTraits bool `type:"structure"`
 
5989
}
 
5990
 
 
5991
// String returns the string representation
 
5992
func (s Layer) String() string {
 
5993
        return awsutil.Prettify(s)
 
5994
}
 
5995
 
 
5996
// GoString returns the string representation
 
5997
func (s Layer) GoString() string {
 
5998
        return s.String()
 
5999
}
 
6000
 
 
6001
// Specifies the lifecycle event configuration
 
6002
type LifecycleEventConfiguration struct {
 
6003
        // A ShutdownEventConfiguration object that specifies the Shutdown event configuration.
 
6004
        Shutdown *ShutdownEventConfiguration `type:"structure"`
 
6005
 
 
6006
        metadataLifecycleEventConfiguration `json:"-" xml:"-"`
 
6007
}
 
6008
 
 
6009
type metadataLifecycleEventConfiguration struct {
 
6010
        SDKShapeTraits bool `type:"structure"`
 
6011
}
 
6012
 
 
6013
// String returns the string representation
 
6014
func (s LifecycleEventConfiguration) String() string {
 
6015
        return awsutil.Prettify(s)
 
6016
}
 
6017
 
 
6018
// GoString returns the string representation
 
6019
func (s LifecycleEventConfiguration) GoString() string {
 
6020
        return s.String()
 
6021
}
 
6022
 
 
6023
// Describes a layer's load-based auto scaling configuration.
 
6024
type LoadBasedAutoScalingConfiguration struct {
 
6025
        // An AutoScalingThresholds object that describes the downscaling configuration,
 
6026
        // which defines how and when AWS OpsWorks reduces the number of instances.
 
6027
        DownScaling *AutoScalingThresholds `type:"structure"`
 
6028
 
 
6029
        // Whether load-based auto scaling is enabled for the layer.
 
6030
        Enable *bool `type:"boolean"`
 
6031
 
 
6032
        // The layer ID.
 
6033
        LayerId *string `type:"string"`
 
6034
 
 
6035
        // An AutoScalingThresholds object that describes the upscaling configuration,
 
6036
        // which defines how and when AWS OpsWorks increases the number of instances.
 
6037
        UpScaling *AutoScalingThresholds `type:"structure"`
 
6038
 
 
6039
        metadataLoadBasedAutoScalingConfiguration `json:"-" xml:"-"`
 
6040
}
 
6041
 
 
6042
type metadataLoadBasedAutoScalingConfiguration struct {
 
6043
        SDKShapeTraits bool `type:"structure"`
 
6044
}
 
6045
 
 
6046
// String returns the string representation
 
6047
func (s LoadBasedAutoScalingConfiguration) String() string {
 
6048
        return awsutil.Prettify(s)
 
6049
}
 
6050
 
 
6051
// GoString returns the string representation
 
6052
func (s LoadBasedAutoScalingConfiguration) GoString() string {
 
6053
        return s.String()
 
6054
}
 
6055
 
 
6056
// Describes stack or user permissions.
 
6057
type Permission struct {
 
6058
        // Whether the user can use SSH.
 
6059
        AllowSsh *bool `type:"boolean"`
 
6060
 
 
6061
        // Whether the user can use sudo.
 
6062
        AllowSudo *bool `type:"boolean"`
 
6063
 
 
6064
        // The Amazon Resource Name (ARN) for an AWS Identity and Access Management
 
6065
        // (IAM) role. For more information about IAM ARNs, see Using Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
 
6066
        IamUserArn *string `type:"string"`
 
6067
 
 
6068
        // The user's permission level, which must be the following:
 
6069
        //
 
6070
        //   deny   show   deploy   manage   iam_only   For more information on the
 
6071
        // permissions associated with these levels, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html)
 
6072
        Level *string `type:"string"`
 
6073
 
 
6074
        // A stack ID.
 
6075
        StackId *string `type:"string"`
 
6076
 
 
6077
        metadataPermission `json:"-" xml:"-"`
 
6078
}
 
6079
 
 
6080
type metadataPermission struct {
 
6081
        SDKShapeTraits bool `type:"structure"`
 
6082
}
 
6083
 
 
6084
// String returns the string representation
 
6085
func (s Permission) String() string {
 
6086
        return awsutil.Prettify(s)
 
6087
}
 
6088
 
 
6089
// GoString returns the string representation
 
6090
func (s Permission) GoString() string {
 
6091
        return s.String()
 
6092
}
 
6093
 
 
6094
// Describes an instance's RAID array.
 
6095
type RaidArray struct {
 
6096
        // The array's Availability Zone. For more information, see Regions and Endpoints
 
6097
        // (http://docs.aws.amazon.com/general/latest/gr/rande.html).
 
6098
        AvailabilityZone *string `type:"string"`
 
6099
 
 
6100
        // When the RAID array was created.
 
6101
        CreatedAt *string `type:"string"`
 
6102
 
 
6103
        // The array's Linux device. For example /dev/mdadm0.
 
6104
        Device *string `type:"string"`
 
6105
 
 
6106
        // The instance ID.
 
6107
        InstanceId *string `type:"string"`
 
6108
 
 
6109
        // For PIOPS volumes, the IOPS per disk.
 
6110
        Iops *int64 `type:"integer"`
 
6111
 
 
6112
        // The array's mount point.
 
6113
        MountPoint *string `type:"string"`
 
6114
 
 
6115
        // The array name.
 
6116
        Name *string `type:"string"`
 
6117
 
 
6118
        // The number of disks in the array.
 
6119
        NumberOfDisks *int64 `type:"integer"`
 
6120
 
 
6121
        // The array ID.
 
6122
        RaidArrayId *string `type:"string"`
 
6123
 
 
6124
        // The RAID level (http://en.wikipedia.org/wiki/Standard_RAID_levels).
 
6125
        RaidLevel *int64 `type:"integer"`
 
6126
 
 
6127
        // The array's size.
 
6128
        Size *int64 `type:"integer"`
 
6129
 
 
6130
        // The stack ID.
 
6131
        StackId *string `type:"string"`
 
6132
 
 
6133
        // The volume type, standard or PIOPS.
 
6134
        VolumeType *string `type:"string"`
 
6135
 
 
6136
        metadataRaidArray `json:"-" xml:"-"`
 
6137
}
 
6138
 
 
6139
type metadataRaidArray struct {
 
6140
        SDKShapeTraits bool `type:"structure"`
 
6141
}
 
6142
 
 
6143
// String returns the string representation
 
6144
func (s RaidArray) String() string {
 
6145
        return awsutil.Prettify(s)
 
6146
}
 
6147
 
 
6148
// GoString returns the string representation
 
6149
func (s RaidArray) GoString() string {
 
6150
        return s.String()
 
6151
}
 
6152
 
 
6153
// Describes an Amazon RDS instance.
 
6154
type RdsDbInstance struct {
 
6155
        // The instance's address.
 
6156
        Address *string `type:"string"`
 
6157
 
 
6158
        // The DB instance identifier.
 
6159
        DbInstanceIdentifier *string `type:"string"`
 
6160
 
 
6161
        // AWS OpsWorks returns *****FILTERED***** instead of the actual value.
 
6162
        DbPassword *string `type:"string"`
 
6163
 
 
6164
        // The master user name.
 
6165
        DbUser *string `type:"string"`
 
6166
 
 
6167
        // The instance's database engine.
 
6168
        Engine *string `type:"string"`
 
6169
 
 
6170
        // Set to true if AWS OpsWorks was unable to discover the Amazon RDS instance.
 
6171
        // AWS OpsWorks attempts to discover the instance only once. If this value is
 
6172
        // set to true, you must deregister the instance and then register it again.
 
6173
        MissingOnRds *bool `type:"boolean"`
 
6174
 
 
6175
        // The instance's ARN.
 
6176
        RdsDbInstanceArn *string `type:"string"`
 
6177
 
 
6178
        // The instance's AWS region.
 
6179
        Region *string `type:"string"`
 
6180
 
 
6181
        // The ID of the stack that the instance is registered with.
 
6182
        StackId *string `type:"string"`
 
6183
 
 
6184
        metadataRdsDbInstance `json:"-" xml:"-"`
 
6185
}
 
6186
 
 
6187
type metadataRdsDbInstance struct {
 
6188
        SDKShapeTraits bool `type:"structure"`
 
6189
}
 
6190
 
 
6191
// String returns the string representation
 
6192
func (s RdsDbInstance) String() string {
 
6193
        return awsutil.Prettify(s)
 
6194
}
 
6195
 
 
6196
// GoString returns the string representation
 
6197
func (s RdsDbInstance) GoString() string {
 
6198
        return s.String()
 
6199
}
 
6200
 
 
6201
type RebootInstanceInput struct {
 
6202
        // The instance ID.
 
6203
        InstanceId *string `type:"string" required:"true"`
 
6204
 
 
6205
        metadataRebootInstanceInput `json:"-" xml:"-"`
 
6206
}
 
6207
 
 
6208
type metadataRebootInstanceInput struct {
 
6209
        SDKShapeTraits bool `type:"structure"`
 
6210
}
 
6211
 
 
6212
// String returns the string representation
 
6213
func (s RebootInstanceInput) String() string {
 
6214
        return awsutil.Prettify(s)
 
6215
}
 
6216
 
 
6217
// GoString returns the string representation
 
6218
func (s RebootInstanceInput) GoString() string {
 
6219
        return s.String()
 
6220
}
 
6221
 
 
6222
type RebootInstanceOutput struct {
 
6223
        metadataRebootInstanceOutput `json:"-" xml:"-"`
 
6224
}
 
6225
 
 
6226
type metadataRebootInstanceOutput struct {
 
6227
        SDKShapeTraits bool `type:"structure"`
 
6228
}
 
6229
 
 
6230
// String returns the string representation
 
6231
func (s RebootInstanceOutput) String() string {
 
6232
        return awsutil.Prettify(s)
 
6233
}
 
6234
 
 
6235
// GoString returns the string representation
 
6236
func (s RebootInstanceOutput) GoString() string {
 
6237
        return s.String()
 
6238
}
 
6239
 
 
6240
// AWS OpsWorks supports five lifecycle events: setup, configuration, deploy,
 
6241
// undeploy, and shutdown. For each layer, AWS OpsWorks runs a set of standard
 
6242
// recipes for each event. In addition, you can provide custom recipes for any
 
6243
// or all layers and events. AWS OpsWorks runs custom event recipes after the
 
6244
// standard recipes. LayerCustomRecipes specifies the custom recipes for a particular
 
6245
// layer to be run in response to each of the five events.
 
6246
//
 
6247
// To specify a recipe, use the cookbook's directory name in the repository
 
6248
// followed by two colons and the recipe name, which is the recipe's file name
 
6249
// without the .rb extension. For example: phpapp2::dbsetup specifies the dbsetup.rb
 
6250
// recipe in the repository's phpapp2 folder.
 
6251
type Recipes struct {
 
6252
        // An array of custom recipe names to be run following a configure event.
 
6253
        Configure []*string `type:"list"`
 
6254
 
 
6255
        // An array of custom recipe names to be run following a deploy event.
 
6256
        Deploy []*string `type:"list"`
 
6257
 
 
6258
        // An array of custom recipe names to be run following a setup event.
 
6259
        Setup []*string `type:"list"`
 
6260
 
 
6261
        // An array of custom recipe names to be run following a shutdown event.
 
6262
        Shutdown []*string `type:"list"`
 
6263
 
 
6264
        // An array of custom recipe names to be run following a undeploy event.
 
6265
        Undeploy []*string `type:"list"`
 
6266
 
 
6267
        metadataRecipes `json:"-" xml:"-"`
 
6268
}
 
6269
 
 
6270
type metadataRecipes struct {
 
6271
        SDKShapeTraits bool `type:"structure"`
 
6272
}
 
6273
 
 
6274
// String returns the string representation
 
6275
func (s Recipes) String() string {
 
6276
        return awsutil.Prettify(s)
 
6277
}
 
6278
 
 
6279
// GoString returns the string representation
 
6280
func (s Recipes) GoString() string {
 
6281
        return s.String()
 
6282
}
 
6283
 
 
6284
type RegisterEcsClusterInput struct {
 
6285
        // The cluster's ARN.
 
6286
        EcsClusterArn *string `type:"string" required:"true"`
 
6287
 
 
6288
        // The stack ID.
 
6289
        StackId *string `type:"string" required:"true"`
 
6290
 
 
6291
        metadataRegisterEcsClusterInput `json:"-" xml:"-"`
 
6292
}
 
6293
 
 
6294
type metadataRegisterEcsClusterInput struct {
 
6295
        SDKShapeTraits bool `type:"structure"`
 
6296
}
 
6297
 
 
6298
// String returns the string representation
 
6299
func (s RegisterEcsClusterInput) String() string {
 
6300
        return awsutil.Prettify(s)
 
6301
}
 
6302
 
 
6303
// GoString returns the string representation
 
6304
func (s RegisterEcsClusterInput) GoString() string {
 
6305
        return s.String()
 
6306
}
 
6307
 
 
6308
// Contains the response to a RegisterEcsCluster request.
 
6309
type RegisterEcsClusterOutput struct {
 
6310
        // The cluster's ARN.
 
6311
        EcsClusterArn *string `type:"string"`
 
6312
 
 
6313
        metadataRegisterEcsClusterOutput `json:"-" xml:"-"`
 
6314
}
 
6315
 
 
6316
type metadataRegisterEcsClusterOutput struct {
 
6317
        SDKShapeTraits bool `type:"structure"`
 
6318
}
 
6319
 
 
6320
// String returns the string representation
 
6321
func (s RegisterEcsClusterOutput) String() string {
 
6322
        return awsutil.Prettify(s)
 
6323
}
 
6324
 
 
6325
// GoString returns the string representation
 
6326
func (s RegisterEcsClusterOutput) GoString() string {
 
6327
        return s.String()
 
6328
}
 
6329
 
 
6330
type RegisterElasticIpInput struct {
 
6331
        // The Elastic IP address.
 
6332
        ElasticIp *string `type:"string" required:"true"`
 
6333
 
 
6334
        // The stack ID.
 
6335
        StackId *string `type:"string" required:"true"`
 
6336
 
 
6337
        metadataRegisterElasticIpInput `json:"-" xml:"-"`
 
6338
}
 
6339
 
 
6340
type metadataRegisterElasticIpInput struct {
 
6341
        SDKShapeTraits bool `type:"structure"`
 
6342
}
 
6343
 
 
6344
// String returns the string representation
 
6345
func (s RegisterElasticIpInput) String() string {
 
6346
        return awsutil.Prettify(s)
 
6347
}
 
6348
 
 
6349
// GoString returns the string representation
 
6350
func (s RegisterElasticIpInput) GoString() string {
 
6351
        return s.String()
 
6352
}
 
6353
 
 
6354
// Contains the response to a RegisterElasticIp request.
 
6355
type RegisterElasticIpOutput struct {
 
6356
        // The Elastic IP address.
 
6357
        ElasticIp *string `type:"string"`
 
6358
 
 
6359
        metadataRegisterElasticIpOutput `json:"-" xml:"-"`
 
6360
}
 
6361
 
 
6362
type metadataRegisterElasticIpOutput struct {
 
6363
        SDKShapeTraits bool `type:"structure"`
 
6364
}
 
6365
 
 
6366
// String returns the string representation
 
6367
func (s RegisterElasticIpOutput) String() string {
 
6368
        return awsutil.Prettify(s)
 
6369
}
 
6370
 
 
6371
// GoString returns the string representation
 
6372
func (s RegisterElasticIpOutput) GoString() string {
 
6373
        return s.String()
 
6374
}
 
6375
 
 
6376
type RegisterInstanceInput struct {
 
6377
        // The instance's hostname.
 
6378
        Hostname *string `type:"string"`
 
6379
 
 
6380
        // An InstanceIdentity object that contains the instance's identity.
 
6381
        InstanceIdentity *InstanceIdentity `type:"structure"`
 
6382
 
 
6383
        // The instance's private IP address.
 
6384
        PrivateIp *string `type:"string"`
 
6385
 
 
6386
        // The instance's public IP address.
 
6387
        PublicIp *string `type:"string"`
 
6388
 
 
6389
        // The instances public RSA key. This key is used to encrypt communication between
 
6390
        // the instance and the service.
 
6391
        RsaPublicKey *string `type:"string"`
 
6392
 
 
6393
        // The instances public RSA key fingerprint.
 
6394
        RsaPublicKeyFingerprint *string `type:"string"`
 
6395
 
 
6396
        // The ID of the stack that the instance is to be registered with.
 
6397
        StackId *string `type:"string" required:"true"`
 
6398
 
 
6399
        metadataRegisterInstanceInput `json:"-" xml:"-"`
 
6400
}
 
6401
 
 
6402
type metadataRegisterInstanceInput struct {
 
6403
        SDKShapeTraits bool `type:"structure"`
 
6404
}
 
6405
 
 
6406
// String returns the string representation
 
6407
func (s RegisterInstanceInput) String() string {
 
6408
        return awsutil.Prettify(s)
 
6409
}
 
6410
 
 
6411
// GoString returns the string representation
 
6412
func (s RegisterInstanceInput) GoString() string {
 
6413
        return s.String()
 
6414
}
 
6415
 
 
6416
// Contains the response to a RegisterInstanceResult request.
 
6417
type RegisterInstanceOutput struct {
 
6418
        // The registered instance's AWS OpsWorks ID.
 
6419
        InstanceId *string `type:"string"`
 
6420
 
 
6421
        metadataRegisterInstanceOutput `json:"-" xml:"-"`
 
6422
}
 
6423
 
 
6424
type metadataRegisterInstanceOutput struct {
 
6425
        SDKShapeTraits bool `type:"structure"`
 
6426
}
 
6427
 
 
6428
// String returns the string representation
 
6429
func (s RegisterInstanceOutput) String() string {
 
6430
        return awsutil.Prettify(s)
 
6431
}
 
6432
 
 
6433
// GoString returns the string representation
 
6434
func (s RegisterInstanceOutput) GoString() string {
 
6435
        return s.String()
 
6436
}
 
6437
 
 
6438
type RegisterRdsDbInstanceInput struct {
 
6439
        // The database password.
 
6440
        DbPassword *string `type:"string" required:"true"`
 
6441
 
 
6442
        // The database's master user name.
 
6443
        DbUser *string `type:"string" required:"true"`
 
6444
 
 
6445
        // The Amazon RDS instance's ARN.
 
6446
        RdsDbInstanceArn *string `type:"string" required:"true"`
 
6447
 
 
6448
        // The stack ID.
 
6449
        StackId *string `type:"string" required:"true"`
 
6450
 
 
6451
        metadataRegisterRdsDbInstanceInput `json:"-" xml:"-"`
 
6452
}
 
6453
 
 
6454
type metadataRegisterRdsDbInstanceInput struct {
 
6455
        SDKShapeTraits bool `type:"structure"`
 
6456
}
 
6457
 
 
6458
// String returns the string representation
 
6459
func (s RegisterRdsDbInstanceInput) String() string {
 
6460
        return awsutil.Prettify(s)
 
6461
}
 
6462
 
 
6463
// GoString returns the string representation
 
6464
func (s RegisterRdsDbInstanceInput) GoString() string {
 
6465
        return s.String()
 
6466
}
 
6467
 
 
6468
type RegisterRdsDbInstanceOutput struct {
 
6469
        metadataRegisterRdsDbInstanceOutput `json:"-" xml:"-"`
 
6470
}
 
6471
 
 
6472
type metadataRegisterRdsDbInstanceOutput struct {
 
6473
        SDKShapeTraits bool `type:"structure"`
 
6474
}
 
6475
 
 
6476
// String returns the string representation
 
6477
func (s RegisterRdsDbInstanceOutput) String() string {
 
6478
        return awsutil.Prettify(s)
 
6479
}
 
6480
 
 
6481
// GoString returns the string representation
 
6482
func (s RegisterRdsDbInstanceOutput) GoString() string {
 
6483
        return s.String()
 
6484
}
 
6485
 
 
6486
type RegisterVolumeInput struct {
 
6487
        // The Amazon EBS volume ID.
 
6488
        Ec2VolumeId *string `type:"string"`
 
6489
 
 
6490
        // The stack ID.
 
6491
        StackId *string `type:"string" required:"true"`
 
6492
 
 
6493
        metadataRegisterVolumeInput `json:"-" xml:"-"`
 
6494
}
 
6495
 
 
6496
type metadataRegisterVolumeInput struct {
 
6497
        SDKShapeTraits bool `type:"structure"`
 
6498
}
 
6499
 
 
6500
// String returns the string representation
 
6501
func (s RegisterVolumeInput) String() string {
 
6502
        return awsutil.Prettify(s)
 
6503
}
 
6504
 
 
6505
// GoString returns the string representation
 
6506
func (s RegisterVolumeInput) GoString() string {
 
6507
        return s.String()
 
6508
}
 
6509
 
 
6510
// Contains the response to a RegisterVolume request.
 
6511
type RegisterVolumeOutput struct {
 
6512
        // The volume ID.
 
6513
        VolumeId *string `type:"string"`
 
6514
 
 
6515
        metadataRegisterVolumeOutput `json:"-" xml:"-"`
 
6516
}
 
6517
 
 
6518
type metadataRegisterVolumeOutput struct {
 
6519
        SDKShapeTraits bool `type:"structure"`
 
6520
}
 
6521
 
 
6522
// String returns the string representation
 
6523
func (s RegisterVolumeOutput) String() string {
 
6524
        return awsutil.Prettify(s)
 
6525
}
 
6526
 
 
6527
// GoString returns the string representation
 
6528
func (s RegisterVolumeOutput) GoString() string {
 
6529
        return s.String()
 
6530
}
 
6531
 
 
6532
// A registered instance's reported operating system.
 
6533
type ReportedOs struct {
 
6534
        // The operating system family.
 
6535
        Family *string `type:"string"`
 
6536
 
 
6537
        // The operating system name.
 
6538
        Name *string `type:"string"`
 
6539
 
 
6540
        // The operating system version.
 
6541
        Version *string `type:"string"`
 
6542
 
 
6543
        metadataReportedOs `json:"-" xml:"-"`
 
6544
}
 
6545
 
 
6546
type metadataReportedOs struct {
 
6547
        SDKShapeTraits bool `type:"structure"`
 
6548
}
 
6549
 
 
6550
// String returns the string representation
 
6551
func (s ReportedOs) String() string {
 
6552
        return awsutil.Prettify(s)
 
6553
}
 
6554
 
 
6555
// GoString returns the string representation
 
6556
func (s ReportedOs) GoString() string {
 
6557
        return s.String()
 
6558
}
 
6559
 
 
6560
// Describes a user's SSH information.
 
6561
type SelfUserProfile struct {
 
6562
        // The user's IAM ARN.
 
6563
        IamUserArn *string `type:"string"`
 
6564
 
 
6565
        // The user's name.
 
6566
        Name *string `type:"string"`
 
6567
 
 
6568
        // The user's SSH public key.
 
6569
        SshPublicKey *string `type:"string"`
 
6570
 
 
6571
        // The user's SSH user name.
 
6572
        SshUsername *string `type:"string"`
 
6573
 
 
6574
        metadataSelfUserProfile `json:"-" xml:"-"`
 
6575
}
 
6576
 
 
6577
type metadataSelfUserProfile struct {
 
6578
        SDKShapeTraits bool `type:"structure"`
 
6579
}
 
6580
 
 
6581
// String returns the string representation
 
6582
func (s SelfUserProfile) String() string {
 
6583
        return awsutil.Prettify(s)
 
6584
}
 
6585
 
 
6586
// GoString returns the string representation
 
6587
func (s SelfUserProfile) GoString() string {
 
6588
        return s.String()
 
6589
}
 
6590
 
 
6591
// Describes an AWS OpsWorks service error.
 
6592
type ServiceError struct {
 
6593
        // When the error occurred.
 
6594
        CreatedAt *string `type:"string"`
 
6595
 
 
6596
        // The instance ID.
 
6597
        InstanceId *string `type:"string"`
 
6598
 
 
6599
        // A message that describes the error.
 
6600
        Message *string `type:"string"`
 
6601
 
 
6602
        // The error ID.
 
6603
        ServiceErrorId *string `type:"string"`
 
6604
 
 
6605
        // The stack ID.
 
6606
        StackId *string `type:"string"`
 
6607
 
 
6608
        // The error type.
 
6609
        Type *string `type:"string"`
 
6610
 
 
6611
        metadataServiceError `json:"-" xml:"-"`
 
6612
}
 
6613
 
 
6614
type metadataServiceError struct {
 
6615
        SDKShapeTraits bool `type:"structure"`
 
6616
}
 
6617
 
 
6618
// String returns the string representation
 
6619
func (s ServiceError) String() string {
 
6620
        return awsutil.Prettify(s)
 
6621
}
 
6622
 
 
6623
// GoString returns the string representation
 
6624
func (s ServiceError) GoString() string {
 
6625
        return s.String()
 
6626
}
 
6627
 
 
6628
type SetLoadBasedAutoScalingInput struct {
 
6629
        // An AutoScalingThresholds object with the downscaling threshold configuration.
 
6630
        // If the load falls below these thresholds for a specified amount of time,
 
6631
        // AWS OpsWorks stops a specified number of instances.
 
6632
        DownScaling *AutoScalingThresholds `type:"structure"`
 
6633
 
 
6634
        // Enables load-based auto scaling for the layer.
 
6635
        Enable *bool `type:"boolean"`
 
6636
 
 
6637
        // The layer ID.
 
6638
        LayerId *string `type:"string" required:"true"`
 
6639
 
 
6640
        // An AutoScalingThresholds object with the upscaling threshold configuration.
 
6641
        // If the load exceeds these thresholds for a specified amount of time, AWS
 
6642
        // OpsWorks starts a specified number of instances.
 
6643
        UpScaling *AutoScalingThresholds `type:"structure"`
 
6644
 
 
6645
        metadataSetLoadBasedAutoScalingInput `json:"-" xml:"-"`
 
6646
}
 
6647
 
 
6648
type metadataSetLoadBasedAutoScalingInput struct {
 
6649
        SDKShapeTraits bool `type:"structure"`
 
6650
}
 
6651
 
 
6652
// String returns the string representation
 
6653
func (s SetLoadBasedAutoScalingInput) String() string {
 
6654
        return awsutil.Prettify(s)
 
6655
}
 
6656
 
 
6657
// GoString returns the string representation
 
6658
func (s SetLoadBasedAutoScalingInput) GoString() string {
 
6659
        return s.String()
 
6660
}
 
6661
 
 
6662
type SetLoadBasedAutoScalingOutput struct {
 
6663
        metadataSetLoadBasedAutoScalingOutput `json:"-" xml:"-"`
 
6664
}
 
6665
 
 
6666
type metadataSetLoadBasedAutoScalingOutput struct {
 
6667
        SDKShapeTraits bool `type:"structure"`
 
6668
}
 
6669
 
 
6670
// String returns the string representation
 
6671
func (s SetLoadBasedAutoScalingOutput) String() string {
 
6672
        return awsutil.Prettify(s)
 
6673
}
 
6674
 
 
6675
// GoString returns the string representation
 
6676
func (s SetLoadBasedAutoScalingOutput) GoString() string {
 
6677
        return s.String()
 
6678
}
 
6679
 
 
6680
type SetPermissionInput struct {
 
6681
        // The user is allowed to use SSH to communicate with the instance.
 
6682
        AllowSsh *bool `type:"boolean"`
 
6683
 
 
6684
        // The user is allowed to use sudo to elevate privileges.
 
6685
        AllowSudo *bool `type:"boolean"`
 
6686
 
 
6687
        // The user's IAM ARN.
 
6688
        IamUserArn *string `type:"string" required:"true"`
 
6689
 
 
6690
        // The user's permission level, which must be set to one of the following strings.
 
6691
        // You cannot set your own permissions level.
 
6692
        //
 
6693
        //   deny   show   deploy   manage   iam_only   For more information on the
 
6694
        // permissions associated with these levels, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
 
6695
        Level *string `type:"string"`
 
6696
 
 
6697
        // The stack ID.
 
6698
        StackId *string `type:"string" required:"true"`
 
6699
 
 
6700
        metadataSetPermissionInput `json:"-" xml:"-"`
 
6701
}
 
6702
 
 
6703
type metadataSetPermissionInput struct {
 
6704
        SDKShapeTraits bool `type:"structure"`
 
6705
}
 
6706
 
 
6707
// String returns the string representation
 
6708
func (s SetPermissionInput) String() string {
 
6709
        return awsutil.Prettify(s)
 
6710
}
 
6711
 
 
6712
// GoString returns the string representation
 
6713
func (s SetPermissionInput) GoString() string {
 
6714
        return s.String()
 
6715
}
 
6716
 
 
6717
type SetPermissionOutput struct {
 
6718
        metadataSetPermissionOutput `json:"-" xml:"-"`
 
6719
}
 
6720
 
 
6721
type metadataSetPermissionOutput struct {
 
6722
        SDKShapeTraits bool `type:"structure"`
 
6723
}
 
6724
 
 
6725
// String returns the string representation
 
6726
func (s SetPermissionOutput) String() string {
 
6727
        return awsutil.Prettify(s)
 
6728
}
 
6729
 
 
6730
// GoString returns the string representation
 
6731
func (s SetPermissionOutput) GoString() string {
 
6732
        return s.String()
 
6733
}
 
6734
 
 
6735
type SetTimeBasedAutoScalingInput struct {
 
6736
        // An AutoScalingSchedule with the instance schedule.
 
6737
        AutoScalingSchedule *WeeklyAutoScalingSchedule `type:"structure"`
 
6738
 
 
6739
        // The instance ID.
 
6740
        InstanceId *string `type:"string" required:"true"`
 
6741
 
 
6742
        metadataSetTimeBasedAutoScalingInput `json:"-" xml:"-"`
 
6743
}
 
6744
 
 
6745
type metadataSetTimeBasedAutoScalingInput struct {
 
6746
        SDKShapeTraits bool `type:"structure"`
 
6747
}
 
6748
 
 
6749
// String returns the string representation
 
6750
func (s SetTimeBasedAutoScalingInput) String() string {
 
6751
        return awsutil.Prettify(s)
 
6752
}
 
6753
 
 
6754
// GoString returns the string representation
 
6755
func (s SetTimeBasedAutoScalingInput) GoString() string {
 
6756
        return s.String()
 
6757
}
 
6758
 
 
6759
type SetTimeBasedAutoScalingOutput struct {
 
6760
        metadataSetTimeBasedAutoScalingOutput `json:"-" xml:"-"`
 
6761
}
 
6762
 
 
6763
type metadataSetTimeBasedAutoScalingOutput struct {
 
6764
        SDKShapeTraits bool `type:"structure"`
 
6765
}
 
6766
 
 
6767
// String returns the string representation
 
6768
func (s SetTimeBasedAutoScalingOutput) String() string {
 
6769
        return awsutil.Prettify(s)
 
6770
}
 
6771
 
 
6772
// GoString returns the string representation
 
6773
func (s SetTimeBasedAutoScalingOutput) GoString() string {
 
6774
        return s.String()
 
6775
}
 
6776
 
 
6777
// The Shutdown event configuration.
 
6778
type ShutdownEventConfiguration struct {
 
6779
        // Whether to enable Elastic Load Balancing connection draining. For more information,
 
6780
        // see Connection Draining (http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#conn-drain)
 
6781
        DelayUntilElbConnectionsDrained *bool `type:"boolean"`
 
6782
 
 
6783
        // The time, in seconds, that AWS OpsWorks will wait after triggering a Shutdown
 
6784
        // event before shutting down an instance.
 
6785
        ExecutionTimeout *int64 `type:"integer"`
 
6786
 
 
6787
        metadataShutdownEventConfiguration `json:"-" xml:"-"`
 
6788
}
 
6789
 
 
6790
type metadataShutdownEventConfiguration struct {
 
6791
        SDKShapeTraits bool `type:"structure"`
 
6792
}
 
6793
 
 
6794
// String returns the string representation
 
6795
func (s ShutdownEventConfiguration) String() string {
 
6796
        return awsutil.Prettify(s)
 
6797
}
 
6798
 
 
6799
// GoString returns the string representation
 
6800
func (s ShutdownEventConfiguration) GoString() string {
 
6801
        return s.String()
 
6802
}
 
6803
 
 
6804
// Contains the information required to retrieve an app or cookbook from a repository.
 
6805
// For more information, see Creating Apps (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html)
 
6806
// or Custom Recipes and Cookbooks (http://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html).
 
6807
type Source struct {
 
6808
        // When included in a request, the parameter depends on the repository type.
 
6809
        //
 
6810
        //  For Amazon S3 bundles, set Password to the appropriate IAM secret access
 
6811
        // key. For HTTP bundles and Subversion repositories, set Password to the password.
 
6812
        //  For more information on how to safely handle IAM credentials, see .
 
6813
        //
 
6814
        // In responses, AWS OpsWorks returns *****FILTERED***** instead of the actual
 
6815
        // value.
 
6816
        Password *string `type:"string"`
 
6817
 
 
6818
        // The application's version. AWS OpsWorks enables you to easily deploy new
 
6819
        // versions of an application. One of the simplest approaches is to have branches
 
6820
        // or revisions in your repository that represent different versions that can
 
6821
        // potentially be deployed.
 
6822
        Revision *string `type:"string"`
 
6823
 
 
6824
        // In requests, the repository's SSH key.
 
6825
        //
 
6826
        // In responses, AWS OpsWorks returns *****FILTERED***** instead of the actual
 
6827
        // value.
 
6828
        SshKey *string `type:"string"`
 
6829
 
 
6830
        // The repository type.
 
6831
        Type *string `type:"string" enum:"SourceType"`
 
6832
 
 
6833
        // The source URL.
 
6834
        Url *string `type:"string"`
 
6835
 
 
6836
        // This parameter depends on the repository type.
 
6837
        //
 
6838
        //  For Amazon S3 bundles, set Username to the appropriate IAM access key ID.
 
6839
        // For HTTP bundles, Git repositories, and Subversion repositories, set Username
 
6840
        // to the user name.
 
6841
        Username *string `type:"string"`
 
6842
 
 
6843
        metadataSource `json:"-" xml:"-"`
 
6844
}
 
6845
 
 
6846
type metadataSource struct {
 
6847
        SDKShapeTraits bool `type:"structure"`
 
6848
}
 
6849
 
 
6850
// String returns the string representation
 
6851
func (s Source) String() string {
 
6852
        return awsutil.Prettify(s)
 
6853
}
 
6854
 
 
6855
// GoString returns the string representation
 
6856
func (s Source) GoString() string {
 
6857
        return s.String()
 
6858
}
 
6859
 
 
6860
// Describes an app's SSL configuration.
 
6861
type SslConfiguration struct {
 
6862
        // The contents of the certificate's domain.crt file.
 
6863
        Certificate *string `type:"string" required:"true"`
 
6864
 
 
6865
        // Optional. Can be used to specify an intermediate certificate authority key
 
6866
        // or client authentication.
 
6867
        Chain *string `type:"string"`
 
6868
 
 
6869
        // The private key; the contents of the certificate's domain.kex file.
 
6870
        PrivateKey *string `type:"string" required:"true"`
 
6871
 
 
6872
        metadataSslConfiguration `json:"-" xml:"-"`
 
6873
}
 
6874
 
 
6875
type metadataSslConfiguration struct {
 
6876
        SDKShapeTraits bool `type:"structure"`
 
6877
}
 
6878
 
 
6879
// String returns the string representation
 
6880
func (s SslConfiguration) String() string {
 
6881
        return awsutil.Prettify(s)
 
6882
}
 
6883
 
 
6884
// GoString returns the string representation
 
6885
func (s SslConfiguration) GoString() string {
 
6886
        return s.String()
 
6887
}
 
6888
 
 
6889
// Describes a stack.
 
6890
type Stack struct {
 
6891
        // The agent version. This parameter is set to LATEST for auto-update. or a
 
6892
        // version number for a fixed agent version.
 
6893
        AgentVersion *string `type:"string"`
 
6894
 
 
6895
        // The stack's ARN.
 
6896
        Arn *string `type:"string"`
 
6897
 
 
6898
        // The stack's attributes.
 
6899
        Attributes map[string]*string `type:"map"`
 
6900
 
 
6901
        // A ChefConfiguration object that specifies whether to enable Berkshelf and
 
6902
        // the Berkshelf version. For more information, see Create a New Stack (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
 
6903
        ChefConfiguration *ChefConfiguration `type:"structure"`
 
6904
 
 
6905
        // The configuration manager.
 
6906
        ConfigurationManager *StackConfigurationManager `type:"structure"`
 
6907
 
 
6908
        // The date when the stack was created.
 
6909
        CreatedAt *string `type:"string"`
 
6910
 
 
6911
        // Contains the information required to retrieve an app or cookbook from a repository.
 
6912
        // For more information, see Creating Apps (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html)
 
6913
        // or Custom Recipes and Cookbooks (http://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html).
 
6914
        CustomCookbooksSource *Source `type:"structure"`
 
6915
 
 
6916
        // A JSON object that contains user-defined attributes to be added to the stack
 
6917
        // configuration and deployment attributes. You can use custom JSON to override
 
6918
        // the corresponding default stack configuration attribute values or to pass
 
6919
        // data to recipes. The string should be in the following format and must escape
 
6920
        // characters such as '"':
 
6921
        //
 
6922
        //  "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
 
6923
        //
 
6924
        // For more information on custom JSON, see Use Custom JSON to Modify the Stack
 
6925
        // Configuration Attributes (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html).
 
6926
        CustomJson *string `type:"string"`
 
6927
 
 
6928
        // The stack's default Availability Zone. For more information, see Regions
 
6929
        // and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html).
 
6930
        DefaultAvailabilityZone *string `type:"string"`
 
6931
 
 
6932
        // The ARN of an IAM profile that is the default profile for all of the stack's
 
6933
        // EC2 instances. For more information about IAM ARNs, see Using Identifiers
 
6934
        // (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
 
6935
        DefaultInstanceProfileArn *string `type:"string"`
 
6936
 
 
6937
        // The stack's default operating system.
 
6938
        DefaultOs *string `type:"string"`
 
6939
 
 
6940
        // The default root device type. This value is used by default for all instances
 
6941
        // in the stack, but you can override it when you create an instance. For more
 
6942
        // information, see Storage for the Root Device (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device).
 
6943
        DefaultRootDeviceType *string `type:"string" enum:"RootDeviceType"`
 
6944
 
 
6945
        // A default Amazon EC2 key pair for the stack's instances. You can override
 
6946
        // this value when you create or update an instance.
 
6947
        DefaultSshKeyName *string `type:"string"`
 
6948
 
 
6949
        // The default subnet ID; applicable only if the stack is running in a VPC.
 
6950
        DefaultSubnetId *string `type:"string"`
 
6951
 
 
6952
        // The stack host name theme, with spaces replaced by underscores.
 
6953
        HostnameTheme *string `type:"string"`
 
6954
 
 
6955
        // The stack name.
 
6956
        Name *string `type:"string"`
 
6957
 
 
6958
        // The stack AWS region, such as "us-east-1". For more information about AWS
 
6959
        // regions, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html).
 
6960
        Region *string `type:"string"`
 
6961
 
 
6962
        // The stack AWS Identity and Access Management (IAM) role.
 
6963
        ServiceRoleArn *string `type:"string"`
 
6964
 
 
6965
        // The stack ID.
 
6966
        StackId *string `type:"string"`
 
6967
 
 
6968
        // Whether the stack uses custom cookbooks.
 
6969
        UseCustomCookbooks *bool `type:"boolean"`
 
6970
 
 
6971
        // Whether the stack automatically associates the AWS OpsWorks built-in security
 
6972
        // groups with the stack's layers.
 
6973
        UseOpsworksSecurityGroups *bool `type:"boolean"`
 
6974
 
 
6975
        // The VPC ID; applicable only if the stack is running in a VPC.
 
6976
        VpcId *string `type:"string"`
 
6977
 
 
6978
        metadataStack `json:"-" xml:"-"`
 
6979
}
 
6980
 
 
6981
type metadataStack struct {
 
6982
        SDKShapeTraits bool `type:"structure"`
 
6983
}
 
6984
 
 
6985
// String returns the string representation
 
6986
func (s Stack) String() string {
 
6987
        return awsutil.Prettify(s)
 
6988
}
 
6989
 
 
6990
// GoString returns the string representation
 
6991
func (s Stack) GoString() string {
 
6992
        return s.String()
 
6993
}
 
6994
 
 
6995
// Describes the configuration manager.
 
6996
type StackConfigurationManager struct {
 
6997
        // The name. This parameter must be set to "Chef".
 
6998
        Name *string `type:"string"`
 
6999
 
 
7000
        // The Chef version. This parameter must be set to 0.9, 11.4, or 11.10. The
 
7001
        // default value is 11.4.
 
7002
        Version *string `type:"string"`
 
7003
 
 
7004
        metadataStackConfigurationManager `json:"-" xml:"-"`
 
7005
}
 
7006
 
 
7007
type metadataStackConfigurationManager struct {
 
7008
        SDKShapeTraits bool `type:"structure"`
 
7009
}
 
7010
 
 
7011
// String returns the string representation
 
7012
func (s StackConfigurationManager) String() string {
 
7013
        return awsutil.Prettify(s)
 
7014
}
 
7015
 
 
7016
// GoString returns the string representation
 
7017
func (s StackConfigurationManager) GoString() string {
 
7018
        return s.String()
 
7019
}
 
7020
 
 
7021
// Summarizes the number of layers, instances, and apps in a stack.
 
7022
type StackSummary struct {
 
7023
        // The number of apps.
 
7024
        AppsCount *int64 `type:"integer"`
 
7025
 
 
7026
        // The stack's ARN.
 
7027
        Arn *string `type:"string"`
 
7028
 
 
7029
        // An InstancesCount object with the number of instances in each status.
 
7030
        InstancesCount *InstancesCount `type:"structure"`
 
7031
 
 
7032
        // The number of layers.
 
7033
        LayersCount *int64 `type:"integer"`
 
7034
 
 
7035
        // The stack name.
 
7036
        Name *string `type:"string"`
 
7037
 
 
7038
        // The stack ID.
 
7039
        StackId *string `type:"string"`
 
7040
 
 
7041
        metadataStackSummary `json:"-" xml:"-"`
 
7042
}
 
7043
 
 
7044
type metadataStackSummary struct {
 
7045
        SDKShapeTraits bool `type:"structure"`
 
7046
}
 
7047
 
 
7048
// String returns the string representation
 
7049
func (s StackSummary) String() string {
 
7050
        return awsutil.Prettify(s)
 
7051
}
 
7052
 
 
7053
// GoString returns the string representation
 
7054
func (s StackSummary) GoString() string {
 
7055
        return s.String()
 
7056
}
 
7057
 
 
7058
type StartInstanceInput struct {
 
7059
        // The instance ID.
 
7060
        InstanceId *string `type:"string" required:"true"`
 
7061
 
 
7062
        metadataStartInstanceInput `json:"-" xml:"-"`
 
7063
}
 
7064
 
 
7065
type metadataStartInstanceInput struct {
 
7066
        SDKShapeTraits bool `type:"structure"`
 
7067
}
 
7068
 
 
7069
// String returns the string representation
 
7070
func (s StartInstanceInput) String() string {
 
7071
        return awsutil.Prettify(s)
 
7072
}
 
7073
 
 
7074
// GoString returns the string representation
 
7075
func (s StartInstanceInput) GoString() string {
 
7076
        return s.String()
 
7077
}
 
7078
 
 
7079
type StartInstanceOutput struct {
 
7080
        metadataStartInstanceOutput `json:"-" xml:"-"`
 
7081
}
 
7082
 
 
7083
type metadataStartInstanceOutput struct {
 
7084
        SDKShapeTraits bool `type:"structure"`
 
7085
}
 
7086
 
 
7087
// String returns the string representation
 
7088
func (s StartInstanceOutput) String() string {
 
7089
        return awsutil.Prettify(s)
 
7090
}
 
7091
 
 
7092
// GoString returns the string representation
 
7093
func (s StartInstanceOutput) GoString() string {
 
7094
        return s.String()
 
7095
}
 
7096
 
 
7097
type StartStackInput struct {
 
7098
        // The stack ID.
 
7099
        StackId *string `type:"string" required:"true"`
 
7100
 
 
7101
        metadataStartStackInput `json:"-" xml:"-"`
 
7102
}
 
7103
 
 
7104
type metadataStartStackInput struct {
 
7105
        SDKShapeTraits bool `type:"structure"`
 
7106
}
 
7107
 
 
7108
// String returns the string representation
 
7109
func (s StartStackInput) String() string {
 
7110
        return awsutil.Prettify(s)
 
7111
}
 
7112
 
 
7113
// GoString returns the string representation
 
7114
func (s StartStackInput) GoString() string {
 
7115
        return s.String()
 
7116
}
 
7117
 
 
7118
type StartStackOutput struct {
 
7119
        metadataStartStackOutput `json:"-" xml:"-"`
 
7120
}
 
7121
 
 
7122
type metadataStartStackOutput struct {
 
7123
        SDKShapeTraits bool `type:"structure"`
 
7124
}
 
7125
 
 
7126
// String returns the string representation
 
7127
func (s StartStackOutput) String() string {
 
7128
        return awsutil.Prettify(s)
 
7129
}
 
7130
 
 
7131
// GoString returns the string representation
 
7132
func (s StartStackOutput) GoString() string {
 
7133
        return s.String()
 
7134
}
 
7135
 
 
7136
type StopInstanceInput struct {
 
7137
        // The instance ID.
 
7138
        InstanceId *string `type:"string" required:"true"`
 
7139
 
 
7140
        metadataStopInstanceInput `json:"-" xml:"-"`
 
7141
}
 
7142
 
 
7143
type metadataStopInstanceInput struct {
 
7144
        SDKShapeTraits bool `type:"structure"`
 
7145
}
 
7146
 
 
7147
// String returns the string representation
 
7148
func (s StopInstanceInput) String() string {
 
7149
        return awsutil.Prettify(s)
 
7150
}
 
7151
 
 
7152
// GoString returns the string representation
 
7153
func (s StopInstanceInput) GoString() string {
 
7154
        return s.String()
 
7155
}
 
7156
 
 
7157
type StopInstanceOutput struct {
 
7158
        metadataStopInstanceOutput `json:"-" xml:"-"`
 
7159
}
 
7160
 
 
7161
type metadataStopInstanceOutput struct {
 
7162
        SDKShapeTraits bool `type:"structure"`
 
7163
}
 
7164
 
 
7165
// String returns the string representation
 
7166
func (s StopInstanceOutput) String() string {
 
7167
        return awsutil.Prettify(s)
 
7168
}
 
7169
 
 
7170
// GoString returns the string representation
 
7171
func (s StopInstanceOutput) GoString() string {
 
7172
        return s.String()
 
7173
}
 
7174
 
 
7175
type StopStackInput struct {
 
7176
        // The stack ID.
 
7177
        StackId *string `type:"string" required:"true"`
 
7178
 
 
7179
        metadataStopStackInput `json:"-" xml:"-"`
 
7180
}
 
7181
 
 
7182
type metadataStopStackInput struct {
 
7183
        SDKShapeTraits bool `type:"structure"`
 
7184
}
 
7185
 
 
7186
// String returns the string representation
 
7187
func (s StopStackInput) String() string {
 
7188
        return awsutil.Prettify(s)
 
7189
}
 
7190
 
 
7191
// GoString returns the string representation
 
7192
func (s StopStackInput) GoString() string {
 
7193
        return s.String()
 
7194
}
 
7195
 
 
7196
type StopStackOutput struct {
 
7197
        metadataStopStackOutput `json:"-" xml:"-"`
 
7198
}
 
7199
 
 
7200
type metadataStopStackOutput struct {
 
7201
        SDKShapeTraits bool `type:"structure"`
 
7202
}
 
7203
 
 
7204
// String returns the string representation
 
7205
func (s StopStackOutput) String() string {
 
7206
        return awsutil.Prettify(s)
 
7207
}
 
7208
 
 
7209
// GoString returns the string representation
 
7210
func (s StopStackOutput) GoString() string {
 
7211
        return s.String()
 
7212
}
 
7213
 
 
7214
// Contains the data needed by RDP clients such as the Microsoft Remote Desktop
 
7215
// Connection to log in to the instance.
 
7216
type TemporaryCredential struct {
 
7217
        // The instance's AWS OpsWorks ID.
 
7218
        InstanceId *string `type:"string"`
 
7219
 
 
7220
        // The password.
 
7221
        Password *string `type:"string"`
 
7222
 
 
7223
        // The user name.
 
7224
        Username *string `type:"string"`
 
7225
 
 
7226
        // The length of time (in minutes) that the grant is valid. When the grant expires,
 
7227
        // at the end of this period, the user will no longer be able to use the credentials
 
7228
        // to log in. If they are logged in at the time, they will be automatically
 
7229
        // logged out.
 
7230
        ValidForInMinutes *int64 `type:"integer"`
 
7231
 
 
7232
        metadataTemporaryCredential `json:"-" xml:"-"`
 
7233
}
 
7234
 
 
7235
type metadataTemporaryCredential struct {
 
7236
        SDKShapeTraits bool `type:"structure"`
 
7237
}
 
7238
 
 
7239
// String returns the string representation
 
7240
func (s TemporaryCredential) String() string {
 
7241
        return awsutil.Prettify(s)
 
7242
}
 
7243
 
 
7244
// GoString returns the string representation
 
7245
func (s TemporaryCredential) GoString() string {
 
7246
        return s.String()
 
7247
}
 
7248
 
 
7249
// Describes an instance's time-based auto scaling configuration.
 
7250
type TimeBasedAutoScalingConfiguration struct {
 
7251
        // A WeeklyAutoScalingSchedule object with the instance schedule.
 
7252
        AutoScalingSchedule *WeeklyAutoScalingSchedule `type:"structure"`
 
7253
 
 
7254
        // The instance ID.
 
7255
        InstanceId *string `type:"string"`
 
7256
 
 
7257
        metadataTimeBasedAutoScalingConfiguration `json:"-" xml:"-"`
 
7258
}
 
7259
 
 
7260
type metadataTimeBasedAutoScalingConfiguration struct {
 
7261
        SDKShapeTraits bool `type:"structure"`
 
7262
}
 
7263
 
 
7264
// String returns the string representation
 
7265
func (s TimeBasedAutoScalingConfiguration) String() string {
 
7266
        return awsutil.Prettify(s)
 
7267
}
 
7268
 
 
7269
// GoString returns the string representation
 
7270
func (s TimeBasedAutoScalingConfiguration) GoString() string {
 
7271
        return s.String()
 
7272
}
 
7273
 
 
7274
type UnassignInstanceInput struct {
 
7275
        // The instance ID.
 
7276
        InstanceId *string `type:"string" required:"true"`
 
7277
 
 
7278
        metadataUnassignInstanceInput `json:"-" xml:"-"`
 
7279
}
 
7280
 
 
7281
type metadataUnassignInstanceInput struct {
 
7282
        SDKShapeTraits bool `type:"structure"`
 
7283
}
 
7284
 
 
7285
// String returns the string representation
 
7286
func (s UnassignInstanceInput) String() string {
 
7287
        return awsutil.Prettify(s)
 
7288
}
 
7289
 
 
7290
// GoString returns the string representation
 
7291
func (s UnassignInstanceInput) GoString() string {
 
7292
        return s.String()
 
7293
}
 
7294
 
 
7295
type UnassignInstanceOutput struct {
 
7296
        metadataUnassignInstanceOutput `json:"-" xml:"-"`
 
7297
}
 
7298
 
 
7299
type metadataUnassignInstanceOutput struct {
 
7300
        SDKShapeTraits bool `type:"structure"`
 
7301
}
 
7302
 
 
7303
// String returns the string representation
 
7304
func (s UnassignInstanceOutput) String() string {
 
7305
        return awsutil.Prettify(s)
 
7306
}
 
7307
 
 
7308
// GoString returns the string representation
 
7309
func (s UnassignInstanceOutput) GoString() string {
 
7310
        return s.String()
 
7311
}
 
7312
 
 
7313
type UnassignVolumeInput struct {
 
7314
        // The volume ID.
 
7315
        VolumeId *string `type:"string" required:"true"`
 
7316
 
 
7317
        metadataUnassignVolumeInput `json:"-" xml:"-"`
 
7318
}
 
7319
 
 
7320
type metadataUnassignVolumeInput struct {
 
7321
        SDKShapeTraits bool `type:"structure"`
 
7322
}
 
7323
 
 
7324
// String returns the string representation
 
7325
func (s UnassignVolumeInput) String() string {
 
7326
        return awsutil.Prettify(s)
 
7327
}
 
7328
 
 
7329
// GoString returns the string representation
 
7330
func (s UnassignVolumeInput) GoString() string {
 
7331
        return s.String()
 
7332
}
 
7333
 
 
7334
type UnassignVolumeOutput struct {
 
7335
        metadataUnassignVolumeOutput `json:"-" xml:"-"`
 
7336
}
 
7337
 
 
7338
type metadataUnassignVolumeOutput struct {
 
7339
        SDKShapeTraits bool `type:"structure"`
 
7340
}
 
7341
 
 
7342
// String returns the string representation
 
7343
func (s UnassignVolumeOutput) String() string {
 
7344
        return awsutil.Prettify(s)
 
7345
}
 
7346
 
 
7347
// GoString returns the string representation
 
7348
func (s UnassignVolumeOutput) GoString() string {
 
7349
        return s.String()
 
7350
}
 
7351
 
 
7352
type UpdateAppInput struct {
 
7353
        // The app ID.
 
7354
        AppId *string `type:"string" required:"true"`
 
7355
 
 
7356
        // A Source object that specifies the app repository.
 
7357
        AppSource *Source `type:"structure"`
 
7358
 
 
7359
        // One or more user-defined key/value pairs to be added to the stack attributes.
 
7360
        Attributes map[string]*string `type:"map"`
 
7361
 
 
7362
        // The app's data sources.
 
7363
        DataSources []*DataSource `type:"list"`
 
7364
 
 
7365
        // A description of the app.
 
7366
        Description *string `type:"string"`
 
7367
 
 
7368
        // The app's virtual host settings, with multiple domains separated by commas.
 
7369
        // For example: 'www.example.com, example.com'
 
7370
        Domains []*string `type:"list"`
 
7371
 
 
7372
        // Whether SSL is enabled for the app.
 
7373
        EnableSsl *bool `type:"boolean"`
 
7374
 
 
7375
        // An array of EnvironmentVariable objects that specify environment variables
 
7376
        // to be associated with the app. After you deploy the app, these variables
 
7377
        // are defined on the associated app server instances.For more information,
 
7378
        // see  Environment Variables (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html#workingapps-creating-environment).
 
7379
        //
 
7380
        //  There is no specific limit on the number of environment variables. However,
 
7381
        // the size of the associated data structure - which includes the variables'
 
7382
        // names, values, and protected flag values - cannot exceed 10 KB (10240 Bytes).
 
7383
        // This limit should accommodate most if not all use cases. Exceeding it will
 
7384
        // cause an exception with the message, "Environment: is too large (maximum
 
7385
        // is 10KB)."
 
7386
        //
 
7387
        // This parameter is supported only by Chef 11.10 stacks. If you have specified
 
7388
        // one or more environment variables, you cannot modify the stack's Chef version.
 
7389
        Environment []*EnvironmentVariable `type:"list"`
 
7390
 
 
7391
        // The app name.
 
7392
        Name *string `type:"string"`
 
7393
 
 
7394
        // An SslConfiguration object with the SSL configuration.
 
7395
        SslConfiguration *SslConfiguration `type:"structure"`
 
7396
 
 
7397
        // The app type.
 
7398
        Type *string `type:"string" enum:"AppType"`
 
7399
 
 
7400
        metadataUpdateAppInput `json:"-" xml:"-"`
 
7401
}
 
7402
 
 
7403
type metadataUpdateAppInput struct {
 
7404
        SDKShapeTraits bool `type:"structure"`
 
7405
}
 
7406
 
 
7407
// String returns the string representation
 
7408
func (s UpdateAppInput) String() string {
 
7409
        return awsutil.Prettify(s)
 
7410
}
 
7411
 
 
7412
// GoString returns the string representation
 
7413
func (s UpdateAppInput) GoString() string {
 
7414
        return s.String()
 
7415
}
 
7416
 
 
7417
type UpdateAppOutput struct {
 
7418
        metadataUpdateAppOutput `json:"-" xml:"-"`
 
7419
}
 
7420
 
 
7421
type metadataUpdateAppOutput struct {
 
7422
        SDKShapeTraits bool `type:"structure"`
 
7423
}
 
7424
 
 
7425
// String returns the string representation
 
7426
func (s UpdateAppOutput) String() string {
 
7427
        return awsutil.Prettify(s)
 
7428
}
 
7429
 
 
7430
// GoString returns the string representation
 
7431
func (s UpdateAppOutput) GoString() string {
 
7432
        return s.String()
 
7433
}
 
7434
 
 
7435
type UpdateElasticIpInput struct {
 
7436
        // The address.
 
7437
        ElasticIp *string `type:"string" required:"true"`
 
7438
 
 
7439
        // The new name.
 
7440
        Name *string `type:"string"`
 
7441
 
 
7442
        metadataUpdateElasticIpInput `json:"-" xml:"-"`
 
7443
}
 
7444
 
 
7445
type metadataUpdateElasticIpInput struct {
 
7446
        SDKShapeTraits bool `type:"structure"`
 
7447
}
 
7448
 
 
7449
// String returns the string representation
 
7450
func (s UpdateElasticIpInput) String() string {
 
7451
        return awsutil.Prettify(s)
 
7452
}
 
7453
 
 
7454
// GoString returns the string representation
 
7455
func (s UpdateElasticIpInput) GoString() string {
 
7456
        return s.String()
 
7457
}
 
7458
 
 
7459
type UpdateElasticIpOutput struct {
 
7460
        metadataUpdateElasticIpOutput `json:"-" xml:"-"`
 
7461
}
 
7462
 
 
7463
type metadataUpdateElasticIpOutput struct {
 
7464
        SDKShapeTraits bool `type:"structure"`
 
7465
}
 
7466
 
 
7467
// String returns the string representation
 
7468
func (s UpdateElasticIpOutput) String() string {
 
7469
        return awsutil.Prettify(s)
 
7470
}
 
7471
 
 
7472
// GoString returns the string representation
 
7473
func (s UpdateElasticIpOutput) GoString() string {
 
7474
        return s.String()
 
7475
}
 
7476
 
 
7477
type UpdateInstanceInput struct {
 
7478
        // The default AWS OpsWorks agent version. You have the following options:
 
7479
        //
 
7480
        //   INHERIT - Use the stack's default agent version setting.  version_number
 
7481
        // - Use the specified agent version. This value overrides the stack's default
 
7482
        // setting. To update the agent version, you must edit the instance configuration
 
7483
        // and specify a new version. AWS OpsWorks then automatically installs that
 
7484
        // version on the instance.  The default setting is INHERIT. To specify an agent
 
7485
        // version, you must use the complete version number, not the abbreviated number
 
7486
        // shown on the console. For a list of available agent version numbers, call
 
7487
        // DescribeAgentVersions.
 
7488
        AgentVersion *string `type:"string"`
 
7489
 
 
7490
        // A custom AMI ID to be used to create the instance. The AMI must be based
 
7491
        // on one of the supported operating systems. For more information, see Instances
 
7492
        // (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html)
 
7493
        //
 
7494
        // If you specify a custom AMI, you must set Os to Custom.
 
7495
        AmiId *string `type:"string"`
 
7496
 
 
7497
        // The instance architecture. Instance types do not necessarily support both
 
7498
        // architectures. For a list of the architectures that are supported by the
 
7499
        // different instance types, see Instance Families and Types (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html).
 
7500
        Architecture *string `type:"string" enum:"Architecture"`
 
7501
 
 
7502
        // For load-based or time-based instances, the type. Windows stacks can use
 
7503
        // only time-based instances.
 
7504
        AutoScalingType *string `type:"string" enum:"AutoScalingType"`
 
7505
 
 
7506
        // This property cannot be updated.
 
7507
        EbsOptimized *bool `type:"boolean"`
 
7508
 
 
7509
        // The instance host name.
 
7510
        Hostname *string `type:"string"`
 
7511
 
 
7512
        // Whether to install operating system and package updates when the instance
 
7513
        // boots. The default value is true. To control when updates are installed,
 
7514
        // set this value to false. You must then update your instances manually by
 
7515
        // using CreateDeployment to run the update_dependencies stack command or by
 
7516
        // manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances.
 
7517
        //
 
7518
        //  We strongly recommend using the default value of true, to ensure that your
 
7519
        // instances have the latest security updates.
 
7520
        InstallUpdatesOnBoot *bool `type:"boolean"`
 
7521
 
 
7522
        // The instance ID.
 
7523
        InstanceId *string `type:"string" required:"true"`
 
7524
 
 
7525
        // The instance type, such as t2.micro. For a list of supported instance types,
 
7526
        // open the stack in the console, choose Instances, and choose + Instance. The
 
7527
        // Size list contains the currently supported types. For more information, see
 
7528
        // Instance Families and Types (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html).
 
7529
        // The parameter values that you use to specify the various types are in the
 
7530
        // API Name column of the Available Instance Types table.
 
7531
        InstanceType *string `type:"string"`
 
7532
 
 
7533
        // The instance's layer IDs.
 
7534
        LayerIds []*string `type:"list"`
 
7535
 
 
7536
        // The instance's operating system, which must be set to one of the following.
 
7537
        //
 
7538
        //  A supported Linux operating system: An Amazon Linux version, such as Amazon
 
7539
        // Linux 2015.03, Red Hat Enterprise Linux 7, Ubuntu 12.04 LTS, or Ubuntu 14.04
 
7540
        // LTS.  Microsoft Windows Server 2012 R2 Base. A custom AMI: Custom.  For more
 
7541
        // information on the supported operating systems, see AWS OpsWorks Operating
 
7542
        // Systems (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html).
 
7543
        //
 
7544
        // The default option is the current Amazon Linux version. If you set this
 
7545
        // parameter to Custom, you must use the AmiId parameter to specify the custom
 
7546
        // AMI that you want to use. For more information on the supported operating
 
7547
        // systems, see Operating Systems (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html).
 
7548
        // For more information on how to use custom AMIs with OpsWorks, see Using Custom
 
7549
        // AMIs (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html).
 
7550
        //
 
7551
        // You can specify a different Linux operating system for the updated stack,
 
7552
        // but you cannot change from Linux to Windows or Windows to Linux.
 
7553
        Os *string `type:"string"`
 
7554
 
 
7555
        // The instance's Amazon EC2 key name.
 
7556
        SshKeyName *string `type:"string"`
 
7557
 
 
7558
        metadataUpdateInstanceInput `json:"-" xml:"-"`
 
7559
}
 
7560
 
 
7561
type metadataUpdateInstanceInput struct {
 
7562
        SDKShapeTraits bool `type:"structure"`
 
7563
}
 
7564
 
 
7565
// String returns the string representation
 
7566
func (s UpdateInstanceInput) String() string {
 
7567
        return awsutil.Prettify(s)
 
7568
}
 
7569
 
 
7570
// GoString returns the string representation
 
7571
func (s UpdateInstanceInput) GoString() string {
 
7572
        return s.String()
 
7573
}
 
7574
 
 
7575
type UpdateInstanceOutput struct {
 
7576
        metadataUpdateInstanceOutput `json:"-" xml:"-"`
 
7577
}
 
7578
 
 
7579
type metadataUpdateInstanceOutput struct {
 
7580
        SDKShapeTraits bool `type:"structure"`
 
7581
}
 
7582
 
 
7583
// String returns the string representation
 
7584
func (s UpdateInstanceOutput) String() string {
 
7585
        return awsutil.Prettify(s)
 
7586
}
 
7587
 
 
7588
// GoString returns the string representation
 
7589
func (s UpdateInstanceOutput) GoString() string {
 
7590
        return s.String()
 
7591
}
 
7592
 
 
7593
type UpdateLayerInput struct {
 
7594
        // One or more user-defined key/value pairs to be added to the stack attributes.
 
7595
        Attributes map[string]*string `type:"map"`
 
7596
 
 
7597
        // Whether to automatically assign an Elastic IP address (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html)
 
7598
        // to the layer's instances. For more information, see How to Edit a Layer (http://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html).
 
7599
        AutoAssignElasticIps *bool `type:"boolean"`
 
7600
 
 
7601
        // For stacks that are running in a VPC, whether to automatically assign a public
 
7602
        // IP address to the layer's instances. For more information, see How to Edit
 
7603
        // a Layer (http://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html).
 
7604
        AutoAssignPublicIps *bool `type:"boolean"`
 
7605
 
 
7606
        // The ARN of an IAM profile to be used for all of the layer's EC2 instances.
 
7607
        // For more information about IAM ARNs, see Using Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
 
7608
        CustomInstanceProfileArn *string `type:"string"`
 
7609
 
 
7610
        // A JSON-formatted string containing custom stack configuration and deployment
 
7611
        // attributes to be installed on the layer's instances. For more information,
 
7612
        // see  Using Custom JSON (http://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-json-override.html).
 
7613
        CustomJson *string `type:"string"`
 
7614
 
 
7615
        // A LayerCustomRecipes object that specifies the layer's custom recipes.
 
7616
        CustomRecipes *Recipes `type:"structure"`
 
7617
 
 
7618
        // An array containing the layer's custom security group IDs.
 
7619
        CustomSecurityGroupIds []*string `type:"list"`
 
7620
 
 
7621
        // Whether to disable auto healing for the layer.
 
7622
        EnableAutoHealing *bool `type:"boolean"`
 
7623
 
 
7624
        // Whether to install operating system and package updates when the instance
 
7625
        // boots. The default value is true. To control when updates are installed,
 
7626
        // set this value to false. You must then update your instances manually by
 
7627
        // using CreateDeployment to run the update_dependencies stack command or manually
 
7628
        // running yum (Amazon Linux) or apt-get (Ubuntu) on the instances.
 
7629
        //
 
7630
        //  We strongly recommend using the default value of true, to ensure that your
 
7631
        // instances have the latest security updates.
 
7632
        InstallUpdatesOnBoot *bool `type:"boolean"`
 
7633
 
 
7634
        // The layer ID.
 
7635
        LayerId *string `type:"string" required:"true"`
 
7636
 
 
7637
        LifecycleEventConfiguration *LifecycleEventConfiguration `type:"structure"`
 
7638
 
 
7639
        // The layer name, which is used by the console.
 
7640
        Name *string `type:"string"`
 
7641
 
 
7642
        // An array of Package objects that describe the layer's packages.
 
7643
        Packages []*string `type:"list"`
 
7644
 
 
7645
        // For custom layers only, use this parameter to specify the layer's short name,
 
7646
        // which is used internally by AWS OpsWorksand by Chef. The short name is also
 
7647
        // used as the name for the directory where your app files are installed. It
 
7648
        // can have a maximum of 200 characters and must be in the following format:
 
7649
        // /\A[a-z0-9\-\_\.]+\Z/.
 
7650
        //
 
7651
        // The built-in layers' short names are defined by AWS OpsWorks. For more information,
 
7652
        // see the Layer Reference (http://docs.aws.amazon.com/opsworks/latest/userguide/layers.html)
 
7653
        Shortname *string `type:"string"`
 
7654
 
 
7655
        // Whether to use Amazon EBS-optimized instances.
 
7656
        UseEbsOptimizedInstances *bool `type:"boolean"`
 
7657
 
 
7658
        // A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
 
7659
        VolumeConfigurations []*VolumeConfiguration `type:"list"`
 
7660
 
 
7661
        metadataUpdateLayerInput `json:"-" xml:"-"`
 
7662
}
 
7663
 
 
7664
type metadataUpdateLayerInput struct {
 
7665
        SDKShapeTraits bool `type:"structure"`
 
7666
}
 
7667
 
 
7668
// String returns the string representation
 
7669
func (s UpdateLayerInput) String() string {
 
7670
        return awsutil.Prettify(s)
 
7671
}
 
7672
 
 
7673
// GoString returns the string representation
 
7674
func (s UpdateLayerInput) GoString() string {
 
7675
        return s.String()
 
7676
}
 
7677
 
 
7678
type UpdateLayerOutput struct {
 
7679
        metadataUpdateLayerOutput `json:"-" xml:"-"`
 
7680
}
 
7681
 
 
7682
type metadataUpdateLayerOutput struct {
 
7683
        SDKShapeTraits bool `type:"structure"`
 
7684
}
 
7685
 
 
7686
// String returns the string representation
 
7687
func (s UpdateLayerOutput) String() string {
 
7688
        return awsutil.Prettify(s)
 
7689
}
 
7690
 
 
7691
// GoString returns the string representation
 
7692
func (s UpdateLayerOutput) GoString() string {
 
7693
        return s.String()
 
7694
}
 
7695
 
 
7696
type UpdateMyUserProfileInput struct {
 
7697
        // The user's SSH public key.
 
7698
        SshPublicKey *string `type:"string"`
 
7699
 
 
7700
        metadataUpdateMyUserProfileInput `json:"-" xml:"-"`
 
7701
}
 
7702
 
 
7703
type metadataUpdateMyUserProfileInput struct {
 
7704
        SDKShapeTraits bool `type:"structure"`
 
7705
}
 
7706
 
 
7707
// String returns the string representation
 
7708
func (s UpdateMyUserProfileInput) String() string {
 
7709
        return awsutil.Prettify(s)
 
7710
}
 
7711
 
 
7712
// GoString returns the string representation
 
7713
func (s UpdateMyUserProfileInput) GoString() string {
 
7714
        return s.String()
 
7715
}
 
7716
 
 
7717
type UpdateMyUserProfileOutput struct {
 
7718
        metadataUpdateMyUserProfileOutput `json:"-" xml:"-"`
 
7719
}
 
7720
 
 
7721
type metadataUpdateMyUserProfileOutput struct {
 
7722
        SDKShapeTraits bool `type:"structure"`
 
7723
}
 
7724
 
 
7725
// String returns the string representation
 
7726
func (s UpdateMyUserProfileOutput) String() string {
 
7727
        return awsutil.Prettify(s)
 
7728
}
 
7729
 
 
7730
// GoString returns the string representation
 
7731
func (s UpdateMyUserProfileOutput) GoString() string {
 
7732
        return s.String()
 
7733
}
 
7734
 
 
7735
type UpdateRdsDbInstanceInput struct {
 
7736
        // The database password.
 
7737
        DbPassword *string `type:"string"`
 
7738
 
 
7739
        // The master user name.
 
7740
        DbUser *string `type:"string"`
 
7741
 
 
7742
        // The Amazon RDS instance's ARN.
 
7743
        RdsDbInstanceArn *string `type:"string" required:"true"`
 
7744
 
 
7745
        metadataUpdateRdsDbInstanceInput `json:"-" xml:"-"`
 
7746
}
 
7747
 
 
7748
type metadataUpdateRdsDbInstanceInput struct {
 
7749
        SDKShapeTraits bool `type:"structure"`
 
7750
}
 
7751
 
 
7752
// String returns the string representation
 
7753
func (s UpdateRdsDbInstanceInput) String() string {
 
7754
        return awsutil.Prettify(s)
 
7755
}
 
7756
 
 
7757
// GoString returns the string representation
 
7758
func (s UpdateRdsDbInstanceInput) GoString() string {
 
7759
        return s.String()
 
7760
}
 
7761
 
 
7762
type UpdateRdsDbInstanceOutput struct {
 
7763
        metadataUpdateRdsDbInstanceOutput `json:"-" xml:"-"`
 
7764
}
 
7765
 
 
7766
type metadataUpdateRdsDbInstanceOutput struct {
 
7767
        SDKShapeTraits bool `type:"structure"`
 
7768
}
 
7769
 
 
7770
// String returns the string representation
 
7771
func (s UpdateRdsDbInstanceOutput) String() string {
 
7772
        return awsutil.Prettify(s)
 
7773
}
 
7774
 
 
7775
// GoString returns the string representation
 
7776
func (s UpdateRdsDbInstanceOutput) GoString() string {
 
7777
        return s.String()
 
7778
}
 
7779
 
 
7780
type UpdateStackInput struct {
 
7781
        // The default AWS OpsWorks agent version. You have the following options:
 
7782
        //
 
7783
        //  Auto-update - Set this parameter to LATEST. AWS OpsWorks automatically
 
7784
        // installs new agent versions on the stack's instances as soon as they are
 
7785
        // available. Fixed version - Set this parameter to your preferred agent version.
 
7786
        // To update the agent version, you must edit the stack configuration and specify
 
7787
        // a new version. AWS OpsWorks then automatically installs that version on the
 
7788
        // stack's instances.  The default setting is LATEST. To specify an agent version,
 
7789
        // you must use the complete version number, not the abbreviated number shown
 
7790
        // on the console. For a list of available agent version numbers, call DescribeAgentVersions.
 
7791
        //
 
7792
        // You can also specify an agent version when you create or update an instance,
 
7793
        // which overrides the stack's default setting.
 
7794
        AgentVersion *string `type:"string"`
 
7795
 
 
7796
        // One or more user-defined key-value pairs to be added to the stack attributes.
 
7797
        Attributes map[string]*string `type:"map"`
 
7798
 
 
7799
        // A ChefConfiguration object that specifies whether to enable Berkshelf and
 
7800
        // the Berkshelf version on Chef 11.10 stacks. For more information, see Create
 
7801
        // a New Stack (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
 
7802
        ChefConfiguration *ChefConfiguration `type:"structure"`
 
7803
 
 
7804
        // The configuration manager. When you clone a stack, we recommend that you
 
7805
        // use the configuration manager to specify the Chef version: 0.9, 11.4, or
 
7806
        // 11.10. The default value is currently 11.4.
 
7807
        ConfigurationManager *StackConfigurationManager `type:"structure"`
 
7808
 
 
7809
        // Contains the information required to retrieve an app or cookbook from a repository.
 
7810
        // For more information, see Creating Apps (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html)
 
7811
        // or Custom Recipes and Cookbooks (http://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html).
 
7812
        CustomCookbooksSource *Source `type:"structure"`
 
7813
 
 
7814
        // A string that contains user-defined, custom JSON. It can be used to override
 
7815
        // the corresponding default stack configuration JSON values or to pass data
 
7816
        // to recipes. The string should be in the following format and escape characters
 
7817
        // such as '"':
 
7818
        //
 
7819
        //  "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
 
7820
        //
 
7821
        // For more information on custom JSON, see Use Custom JSON to Modify the Stack
 
7822
        // Configuration Attributes (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html).
 
7823
        CustomJson *string `type:"string"`
 
7824
 
 
7825
        // The stack's default Availability Zone, which must be in the stack's region.
 
7826
        // For more information, see Regions and Endpoints (http://docs.aws.amazon.com/general/latest/gr/rande.html).
 
7827
        // If you also specify a value for DefaultSubnetId, the subnet must be in the
 
7828
        // same zone. For more information, see CreateStack.
 
7829
        DefaultAvailabilityZone *string `type:"string"`
 
7830
 
 
7831
        // The ARN of an IAM profile that is the default profile for all of the stack's
 
7832
        // EC2 instances. For more information about IAM ARNs, see Using Identifiers
 
7833
        // (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
 
7834
        DefaultInstanceProfileArn *string `type:"string"`
 
7835
 
 
7836
        // The stack's operating system, which must be set to one of the following:
 
7837
        //
 
7838
        //  A supported Linux operating system: An Amazon Linux version, such as Amazon
 
7839
        // Linux 2015.03, Red Hat Enterprise Linux 7, Ubuntu 12.04 LTS, or Ubuntu 14.04
 
7840
        // LTS.  Microsoft Windows Server 2012 R2 Base. A custom AMI: Custom. You specify
 
7841
        // the custom AMI you want to use when you create instances. For more information
 
7842
        // on how to use custom AMIs with OpsWorks, see Using Custom AMIs (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html).
 
7843
        //  The default option is the stack's current operating system. For more information
 
7844
        // on the supported operating systems, see AWS OpsWorks Operating Systems (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html).
 
7845
        DefaultOs *string `type:"string"`
 
7846
 
 
7847
        // The default root device type. This value is used by default for all instances
 
7848
        // in the stack, but you can override it when you create an instance. For more
 
7849
        // information, see Storage for the Root Device (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device).
 
7850
        DefaultRootDeviceType *string `type:"string" enum:"RootDeviceType"`
 
7851
 
 
7852
        // A default Amazon EC2 key-pair name. The default value is none. If you specify
 
7853
        // a key-pair name, AWS OpsWorks installs the public key on the instance and
 
7854
        // you can use the private key with an SSH client to log in to the instance.
 
7855
        // For more information, see  Using SSH to Communicate with an Instance (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html)
 
7856
        // and  Managing SSH Access (http://docs.aws.amazon.com/opsworks/latest/userguide/security-ssh-access.html).
 
7857
        // You can override this setting by specifying a different key pair, or no key
 
7858
        // pair, when you  create an instance (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html).
 
7859
        DefaultSshKeyName *string `type:"string"`
 
7860
 
 
7861
        // The stack's default VPC subnet ID. This parameter is required if you specify
 
7862
        // a value for the VpcId parameter. All instances are launched into this subnet
 
7863
        // unless you specify otherwise when you create the instance. If you also specify
 
7864
        // a value for DefaultAvailabilityZone, the subnet must be in that zone. For
 
7865
        // information on default values and when this parameter is required, see the
 
7866
        // VpcId parameter description.
 
7867
        DefaultSubnetId *string `type:"string"`
 
7868
 
 
7869
        // The stack's new host name theme, with spaces replaced by underscores. The
 
7870
        // theme is used to generate host names for the stack's instances. By default,
 
7871
        // HostnameTheme is set to Layer_Dependent, which creates host names by appending
 
7872
        // integers to the layer's short name. The other themes are:
 
7873
        //
 
7874
        //   Baked_Goods   Clouds   Europe_Cities   Fruits   Greek_Deities   Legendary_creatures_from_Japan
 
7875
        //   Planets_and_Moons   Roman_Deities   Scottish_Islands   US_Cities   Wild_Cats
 
7876
        //   To obtain a generated host name, call GetHostNameSuggestion, which returns
 
7877
        // a host name based on the current theme.
 
7878
        HostnameTheme *string `type:"string"`
 
7879
 
 
7880
        // The stack's new name.
 
7881
        Name *string `type:"string"`
 
7882
 
 
7883
        // Do not use this parameter. You cannot update a stack's service role.
 
7884
        ServiceRoleArn *string `type:"string"`
 
7885
 
 
7886
        // The stack ID.
 
7887
        StackId *string `type:"string" required:"true"`
 
7888
 
 
7889
        // Whether the stack uses custom cookbooks.
 
7890
        UseCustomCookbooks *bool `type:"boolean"`
 
7891
 
 
7892
        // Whether to associate the AWS OpsWorks built-in security groups with the stack's
 
7893
        // layers.
 
7894
        //
 
7895
        // AWS OpsWorks provides a standard set of built-in security groups, one for
 
7896
        // each layer, which are associated with layers by default. UseOpsworksSecurityGroups
 
7897
        // allows you to provide your own custom security groups instead of using the
 
7898
        // built-in groups. UseOpsworksSecurityGroups has the following settings:
 
7899
        //
 
7900
        //  True - AWS OpsWorks automatically associates the appropriate built-in security
 
7901
        // group with each layer (default setting). You can associate additional security
 
7902
        // groups with a layer after you create it, but you cannot delete the built-in
 
7903
        // security group.  False - AWS OpsWorks does not associate built-in security
 
7904
        // groups with layers. You must create appropriate EC2 security groups and associate
 
7905
        // a security group with each layer that you create. However, you can still
 
7906
        // manually associate a built-in security group with a layer on. Custom security
 
7907
        // groups are required only for those layers that need custom settings.   For
 
7908
        // more information, see Create a New Stack (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
 
7909
        UseOpsworksSecurityGroups *bool `type:"boolean"`
 
7910
 
 
7911
        metadataUpdateStackInput `json:"-" xml:"-"`
 
7912
}
 
7913
 
 
7914
type metadataUpdateStackInput struct {
 
7915
        SDKShapeTraits bool `type:"structure"`
 
7916
}
 
7917
 
 
7918
// String returns the string representation
 
7919
func (s UpdateStackInput) String() string {
 
7920
        return awsutil.Prettify(s)
 
7921
}
 
7922
 
 
7923
// GoString returns the string representation
 
7924
func (s UpdateStackInput) GoString() string {
 
7925
        return s.String()
 
7926
}
 
7927
 
 
7928
type UpdateStackOutput struct {
 
7929
        metadataUpdateStackOutput `json:"-" xml:"-"`
 
7930
}
 
7931
 
 
7932
type metadataUpdateStackOutput struct {
 
7933
        SDKShapeTraits bool `type:"structure"`
 
7934
}
 
7935
 
 
7936
// String returns the string representation
 
7937
func (s UpdateStackOutput) String() string {
 
7938
        return awsutil.Prettify(s)
 
7939
}
 
7940
 
 
7941
// GoString returns the string representation
 
7942
func (s UpdateStackOutput) GoString() string {
 
7943
        return s.String()
 
7944
}
 
7945
 
 
7946
type UpdateUserProfileInput struct {
 
7947
        // Whether users can specify their own SSH public key through the My Settings
 
7948
        // page. For more information, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/security-settingsshkey.html).
 
7949
        AllowSelfManagement *bool `type:"boolean"`
 
7950
 
 
7951
        // The user IAM ARN.
 
7952
        IamUserArn *string `type:"string" required:"true"`
 
7953
 
 
7954
        // The user's new SSH public key.
 
7955
        SshPublicKey *string `type:"string"`
 
7956
 
 
7957
        // The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9],
 
7958
        // '-', and '_'. If the specified name includes other punctuation marks, AWS
 
7959
        // OpsWorks removes them. For example, my.name will be changed to myname. If
 
7960
        // you do not specify an SSH user name, AWS OpsWorks generates one from the
 
7961
        // IAM user name.
 
7962
        SshUsername *string `type:"string"`
 
7963
 
 
7964
        metadataUpdateUserProfileInput `json:"-" xml:"-"`
 
7965
}
 
7966
 
 
7967
type metadataUpdateUserProfileInput struct {
 
7968
        SDKShapeTraits bool `type:"structure"`
 
7969
}
 
7970
 
 
7971
// String returns the string representation
 
7972
func (s UpdateUserProfileInput) String() string {
 
7973
        return awsutil.Prettify(s)
 
7974
}
 
7975
 
 
7976
// GoString returns the string representation
 
7977
func (s UpdateUserProfileInput) GoString() string {
 
7978
        return s.String()
 
7979
}
 
7980
 
 
7981
type UpdateUserProfileOutput struct {
 
7982
        metadataUpdateUserProfileOutput `json:"-" xml:"-"`
 
7983
}
 
7984
 
 
7985
type metadataUpdateUserProfileOutput struct {
 
7986
        SDKShapeTraits bool `type:"structure"`
 
7987
}
 
7988
 
 
7989
// String returns the string representation
 
7990
func (s UpdateUserProfileOutput) String() string {
 
7991
        return awsutil.Prettify(s)
 
7992
}
 
7993
 
 
7994
// GoString returns the string representation
 
7995
func (s UpdateUserProfileOutput) GoString() string {
 
7996
        return s.String()
 
7997
}
 
7998
 
 
7999
type UpdateVolumeInput struct {
 
8000
        // The new mount point.
 
8001
        MountPoint *string `type:"string"`
 
8002
 
 
8003
        // The new name.
 
8004
        Name *string `type:"string"`
 
8005
 
 
8006
        // The volume ID.
 
8007
        VolumeId *string `type:"string" required:"true"`
 
8008
 
 
8009
        metadataUpdateVolumeInput `json:"-" xml:"-"`
 
8010
}
 
8011
 
 
8012
type metadataUpdateVolumeInput struct {
 
8013
        SDKShapeTraits bool `type:"structure"`
 
8014
}
 
8015
 
 
8016
// String returns the string representation
 
8017
func (s UpdateVolumeInput) String() string {
 
8018
        return awsutil.Prettify(s)
 
8019
}
 
8020
 
 
8021
// GoString returns the string representation
 
8022
func (s UpdateVolumeInput) GoString() string {
 
8023
        return s.String()
 
8024
}
 
8025
 
 
8026
type UpdateVolumeOutput struct {
 
8027
        metadataUpdateVolumeOutput `json:"-" xml:"-"`
 
8028
}
 
8029
 
 
8030
type metadataUpdateVolumeOutput struct {
 
8031
        SDKShapeTraits bool `type:"structure"`
 
8032
}
 
8033
 
 
8034
// String returns the string representation
 
8035
func (s UpdateVolumeOutput) String() string {
 
8036
        return awsutil.Prettify(s)
 
8037
}
 
8038
 
 
8039
// GoString returns the string representation
 
8040
func (s UpdateVolumeOutput) GoString() string {
 
8041
        return s.String()
 
8042
}
 
8043
 
 
8044
// Describes a user's SSH information.
 
8045
type UserProfile struct {
 
8046
        // Whether users can specify their own SSH public key through the My Settings
 
8047
        // page. For more information, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/security-settingsshkey.html).
 
8048
        AllowSelfManagement *bool `type:"boolean"`
 
8049
 
 
8050
        // The user's IAM ARN.
 
8051
        IamUserArn *string `type:"string"`
 
8052
 
 
8053
        // The user's name.
 
8054
        Name *string `type:"string"`
 
8055
 
 
8056
        // The user's SSH public key.
 
8057
        SshPublicKey *string `type:"string"`
 
8058
 
 
8059
        // The user's SSH user name.
 
8060
        SshUsername *string `type:"string"`
 
8061
 
 
8062
        metadataUserProfile `json:"-" xml:"-"`
 
8063
}
 
8064
 
 
8065
type metadataUserProfile struct {
 
8066
        SDKShapeTraits bool `type:"structure"`
 
8067
}
 
8068
 
 
8069
// String returns the string representation
 
8070
func (s UserProfile) String() string {
 
8071
        return awsutil.Prettify(s)
 
8072
}
 
8073
 
 
8074
// GoString returns the string representation
 
8075
func (s UserProfile) GoString() string {
 
8076
        return s.String()
 
8077
}
 
8078
 
 
8079
// Describes an instance's Amazon EBS volume.
 
8080
type Volume struct {
 
8081
        // The volume Availability Zone. For more information, see Regions and Endpoints
 
8082
        // (http://docs.aws.amazon.com/general/latest/gr/rande.html).
 
8083
        AvailabilityZone *string `type:"string"`
 
8084
 
 
8085
        // The device name.
 
8086
        Device *string `type:"string"`
 
8087
 
 
8088
        // The Amazon EC2 volume ID.
 
8089
        Ec2VolumeId *string `type:"string"`
 
8090
 
 
8091
        // The instance ID.
 
8092
        InstanceId *string `type:"string"`
 
8093
 
 
8094
        // For PIOPS volumes, the IOPS per disk.
 
8095
        Iops *int64 `type:"integer"`
 
8096
 
 
8097
        // The volume mount point. For example "/dev/sdh".
 
8098
        MountPoint *string `type:"string"`
 
8099
 
 
8100
        // The volume name.
 
8101
        Name *string `type:"string"`
 
8102
 
 
8103
        // The RAID array ID.
 
8104
        RaidArrayId *string `type:"string"`
 
8105
 
 
8106
        // The AWS region. For more information about AWS regions, see Regions and Endpoints
 
8107
        // (http://docs.aws.amazon.com/general/latest/gr/rande.html).
 
8108
        Region *string `type:"string"`
 
8109
 
 
8110
        // The volume size.
 
8111
        Size *int64 `type:"integer"`
 
8112
 
 
8113
        // The value returned by DescribeVolumes (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeVolumes.html).
 
8114
        Status *string `type:"string"`
 
8115
 
 
8116
        // The volume ID.
 
8117
        VolumeId *string `type:"string"`
 
8118
 
 
8119
        // The volume type, standard or PIOPS.
 
8120
        VolumeType *string `type:"string"`
 
8121
 
 
8122
        metadataVolume `json:"-" xml:"-"`
 
8123
}
 
8124
 
 
8125
type metadataVolume struct {
 
8126
        SDKShapeTraits bool `type:"structure"`
 
8127
}
 
8128
 
 
8129
// String returns the string representation
 
8130
func (s Volume) String() string {
 
8131
        return awsutil.Prettify(s)
 
8132
}
 
8133
 
 
8134
// GoString returns the string representation
 
8135
func (s Volume) GoString() string {
 
8136
        return s.String()
 
8137
}
 
8138
 
 
8139
// Describes an Amazon EBS volume configuration.
 
8140
type VolumeConfiguration struct {
 
8141
        // For PIOPS volumes, the IOPS per disk.
 
8142
        Iops *int64 `type:"integer"`
 
8143
 
 
8144
        // The volume mount point. For example "/dev/sdh".
 
8145
        MountPoint *string `type:"string" required:"true"`
 
8146
 
 
8147
        // The number of disks in the volume.
 
8148
        NumberOfDisks *int64 `type:"integer" required:"true"`
 
8149
 
 
8150
        // The volume RAID level (http://en.wikipedia.org/wiki/Standard_RAID_levels).
 
8151
        RaidLevel *int64 `type:"integer"`
 
8152
 
 
8153
        // The volume size.
 
8154
        Size *int64 `type:"integer" required:"true"`
 
8155
 
 
8156
        // The volume type:
 
8157
        //
 
8158
        //   standard - Magnetic  io1 - Provisioned IOPS (SSD)  gp2 - General Purpose
 
8159
        // (SSD)
 
8160
        VolumeType *string `type:"string"`
 
8161
 
 
8162
        metadataVolumeConfiguration `json:"-" xml:"-"`
 
8163
}
 
8164
 
 
8165
type metadataVolumeConfiguration struct {
 
8166
        SDKShapeTraits bool `type:"structure"`
 
8167
}
 
8168
 
 
8169
// String returns the string representation
 
8170
func (s VolumeConfiguration) String() string {
 
8171
        return awsutil.Prettify(s)
 
8172
}
 
8173
 
 
8174
// GoString returns the string representation
 
8175
func (s VolumeConfiguration) GoString() string {
 
8176
        return s.String()
 
8177
}
 
8178
 
 
8179
// Describes a time-based instance's auto scaling schedule. The schedule consists
 
8180
// of a set of key-value pairs.
 
8181
//
 
8182
//  The key is the time period (a UTC hour) and must be an integer from 0 -
 
8183
// 23. The value indicates whether the instance should be online or offline
 
8184
// for the specified period, and must be set to "on" or "off"  The default setting
 
8185
// for all time periods is off, so you use the following parameters primarily
 
8186
// to specify the online periods. You don't have to explicitly specify offline
 
8187
// periods unless you want to change an online period to an offline period.
 
8188
//
 
8189
// The following example specifies that the instance should be online for four
 
8190
// hours, from UTC 1200 - 1600. It will be off for the remainder of the day.
 
8191
//
 
8192
//   { "12":"on", "13":"on", "14":"on", "15":"on" }
 
8193
type WeeklyAutoScalingSchedule struct {
 
8194
        // The schedule for Friday.
 
8195
        Friday map[string]*string `type:"map"`
 
8196
 
 
8197
        // The schedule for Monday.
 
8198
        Monday map[string]*string `type:"map"`
 
8199
 
 
8200
        // The schedule for Saturday.
 
8201
        Saturday map[string]*string `type:"map"`
 
8202
 
 
8203
        // The schedule for Sunday.
 
8204
        Sunday map[string]*string `type:"map"`
 
8205
 
 
8206
        // The schedule for Thursday.
 
8207
        Thursday map[string]*string `type:"map"`
 
8208
 
 
8209
        // The schedule for Tuesday.
 
8210
        Tuesday map[string]*string `type:"map"`
 
8211
 
 
8212
        // The schedule for Wednesday.
 
8213
        Wednesday map[string]*string `type:"map"`
 
8214
 
 
8215
        metadataWeeklyAutoScalingSchedule `json:"-" xml:"-"`
 
8216
}
 
8217
 
 
8218
type metadataWeeklyAutoScalingSchedule struct {
 
8219
        SDKShapeTraits bool `type:"structure"`
 
8220
}
 
8221
 
 
8222
// String returns the string representation
 
8223
func (s WeeklyAutoScalingSchedule) String() string {
 
8224
        return awsutil.Prettify(s)
 
8225
}
 
8226
 
 
8227
// GoString returns the string representation
 
8228
func (s WeeklyAutoScalingSchedule) GoString() string {
 
8229
        return s.String()
 
8230
}
 
8231
 
 
8232
const (
 
8233
        // @enum AppAttributesKeys
 
8234
        AppAttributesKeysDocumentRoot = "DocumentRoot"
 
8235
        // @enum AppAttributesKeys
 
8236
        AppAttributesKeysRailsEnv = "RailsEnv"
 
8237
        // @enum AppAttributesKeys
 
8238
        AppAttributesKeysAutoBundleOnDeploy = "AutoBundleOnDeploy"
 
8239
        // @enum AppAttributesKeys
 
8240
        AppAttributesKeysAwsFlowRubySettings = "AwsFlowRubySettings"
 
8241
)
 
8242
 
 
8243
const (
 
8244
        // @enum AppType
 
8245
        AppTypeAwsFlowRuby = "aws-flow-ruby"
 
8246
        // @enum AppType
 
8247
        AppTypeJava = "java"
 
8248
        // @enum AppType
 
8249
        AppTypeRails = "rails"
 
8250
        // @enum AppType
 
8251
        AppTypePhp = "php"
 
8252
        // @enum AppType
 
8253
        AppTypeNodejs = "nodejs"
 
8254
        // @enum AppType
 
8255
        AppTypeStatic = "static"
 
8256
        // @enum AppType
 
8257
        AppTypeOther = "other"
 
8258
)
 
8259
 
 
8260
const (
 
8261
        // @enum Architecture
 
8262
        ArchitectureX8664 = "x86_64"
 
8263
        // @enum Architecture
 
8264
        ArchitectureI386 = "i386"
 
8265
)
 
8266
 
 
8267
const (
 
8268
        // @enum AutoScalingType
 
8269
        AutoScalingTypeLoad = "load"
 
8270
        // @enum AutoScalingType
 
8271
        AutoScalingTypeTimer = "timer"
 
8272
)
 
8273
 
 
8274
const (
 
8275
        // @enum DeploymentCommandName
 
8276
        DeploymentCommandNameInstallDependencies = "install_dependencies"
 
8277
        // @enum DeploymentCommandName
 
8278
        DeploymentCommandNameUpdateDependencies = "update_dependencies"
 
8279
        // @enum DeploymentCommandName
 
8280
        DeploymentCommandNameUpdateCustomCookbooks = "update_custom_cookbooks"
 
8281
        // @enum DeploymentCommandName
 
8282
        DeploymentCommandNameExecuteRecipes = "execute_recipes"
 
8283
        // @enum DeploymentCommandName
 
8284
        DeploymentCommandNameConfigure = "configure"
 
8285
        // @enum DeploymentCommandName
 
8286
        DeploymentCommandNameSetup = "setup"
 
8287
        // @enum DeploymentCommandName
 
8288
        DeploymentCommandNameDeploy = "deploy"
 
8289
        // @enum DeploymentCommandName
 
8290
        DeploymentCommandNameRollback = "rollback"
 
8291
        // @enum DeploymentCommandName
 
8292
        DeploymentCommandNameStart = "start"
 
8293
        // @enum DeploymentCommandName
 
8294
        DeploymentCommandNameStop = "stop"
 
8295
        // @enum DeploymentCommandName
 
8296
        DeploymentCommandNameRestart = "restart"
 
8297
        // @enum DeploymentCommandName
 
8298
        DeploymentCommandNameUndeploy = "undeploy"
 
8299
)
 
8300
 
 
8301
const (
 
8302
        // @enum LayerAttributesKeys
 
8303
        LayerAttributesKeysEcsClusterArn = "EcsClusterArn"
 
8304
        // @enum LayerAttributesKeys
 
8305
        LayerAttributesKeysEnableHaproxyStats = "EnableHaproxyStats"
 
8306
        // @enum LayerAttributesKeys
 
8307
        LayerAttributesKeysHaproxyStatsUrl = "HaproxyStatsUrl"
 
8308
        // @enum LayerAttributesKeys
 
8309
        LayerAttributesKeysHaproxyStatsUser = "HaproxyStatsUser"
 
8310
        // @enum LayerAttributesKeys
 
8311
        LayerAttributesKeysHaproxyStatsPassword = "HaproxyStatsPassword"
 
8312
        // @enum LayerAttributesKeys
 
8313
        LayerAttributesKeysHaproxyHealthCheckUrl = "HaproxyHealthCheckUrl"
 
8314
        // @enum LayerAttributesKeys
 
8315
        LayerAttributesKeysHaproxyHealthCheckMethod = "HaproxyHealthCheckMethod"
 
8316
        // @enum LayerAttributesKeys
 
8317
        LayerAttributesKeysMysqlRootPassword = "MysqlRootPassword"
 
8318
        // @enum LayerAttributesKeys
 
8319
        LayerAttributesKeysMysqlRootPasswordUbiquitous = "MysqlRootPasswordUbiquitous"
 
8320
        // @enum LayerAttributesKeys
 
8321
        LayerAttributesKeysGangliaUrl = "GangliaUrl"
 
8322
        // @enum LayerAttributesKeys
 
8323
        LayerAttributesKeysGangliaUser = "GangliaUser"
 
8324
        // @enum LayerAttributesKeys
 
8325
        LayerAttributesKeysGangliaPassword = "GangliaPassword"
 
8326
        // @enum LayerAttributesKeys
 
8327
        LayerAttributesKeysMemcachedMemory = "MemcachedMemory"
 
8328
        // @enum LayerAttributesKeys
 
8329
        LayerAttributesKeysNodejsVersion = "NodejsVersion"
 
8330
        // @enum LayerAttributesKeys
 
8331
        LayerAttributesKeysRubyVersion = "RubyVersion"
 
8332
        // @enum LayerAttributesKeys
 
8333
        LayerAttributesKeysRubygemsVersion = "RubygemsVersion"
 
8334
        // @enum LayerAttributesKeys
 
8335
        LayerAttributesKeysManageBundler = "ManageBundler"
 
8336
        // @enum LayerAttributesKeys
 
8337
        LayerAttributesKeysBundlerVersion = "BundlerVersion"
 
8338
        // @enum LayerAttributesKeys
 
8339
        LayerAttributesKeysRailsStack = "RailsStack"
 
8340
        // @enum LayerAttributesKeys
 
8341
        LayerAttributesKeysPassengerVersion = "PassengerVersion"
 
8342
        // @enum LayerAttributesKeys
 
8343
        LayerAttributesKeysJvm = "Jvm"
 
8344
        // @enum LayerAttributesKeys
 
8345
        LayerAttributesKeysJvmVersion = "JvmVersion"
 
8346
        // @enum LayerAttributesKeys
 
8347
        LayerAttributesKeysJvmOptions = "JvmOptions"
 
8348
        // @enum LayerAttributesKeys
 
8349
        LayerAttributesKeysJavaAppServer = "JavaAppServer"
 
8350
        // @enum LayerAttributesKeys
 
8351
        LayerAttributesKeysJavaAppServerVersion = "JavaAppServerVersion"
 
8352
)
 
8353
 
 
8354
const (
 
8355
        // @enum LayerType
 
8356
        LayerTypeAwsFlowRuby = "aws-flow-ruby"
 
8357
        // @enum LayerType
 
8358
        LayerTypeEcsCluster = "ecs-cluster"
 
8359
        // @enum LayerType
 
8360
        LayerTypeJavaApp = "java-app"
 
8361
        // @enum LayerType
 
8362
        LayerTypeLb = "lb"
 
8363
        // @enum LayerType
 
8364
        LayerTypeWeb = "web"
 
8365
        // @enum LayerType
 
8366
        LayerTypePhpApp = "php-app"
 
8367
        // @enum LayerType
 
8368
        LayerTypeRailsApp = "rails-app"
 
8369
        // @enum LayerType
 
8370
        LayerTypeNodejsApp = "nodejs-app"
 
8371
        // @enum LayerType
 
8372
        LayerTypeMemcached = "memcached"
 
8373
        // @enum LayerType
 
8374
        LayerTypeDbMaster = "db-master"
 
8375
        // @enum LayerType
 
8376
        LayerTypeMonitoringMaster = "monitoring-master"
 
8377
        // @enum LayerType
 
8378
        LayerTypeCustom = "custom"
 
8379
)
 
8380
 
 
8381
const (
 
8382
        // @enum RootDeviceType
 
8383
        RootDeviceTypeEbs = "ebs"
 
8384
        // @enum RootDeviceType
 
8385
        RootDeviceTypeInstanceStore = "instance-store"
 
8386
)
 
8387
 
 
8388
const (
 
8389
        // @enum SourceType
 
8390
        SourceTypeGit = "git"
 
8391
        // @enum SourceType
 
8392
        SourceTypeSvn = "svn"
 
8393
        // @enum SourceType
 
8394
        SourceTypeArchive = "archive"
 
8395
        // @enum SourceType
 
8396
        SourceTypeS3 = "s3"
 
8397
)
 
8398
 
 
8399
const (
 
8400
        // @enum StackAttributesKeys
 
8401
        StackAttributesKeysColor = "Color"
 
8402
)
 
8403
 
 
8404
const (
 
8405
        // @enum VirtualizationType
 
8406
        VirtualizationTypeParavirtual = "paravirtual"
 
8407
        // @enum VirtualizationType
 
8408
        VirtualizationTypeHvm = "hvm"
 
8409
)
 
8410
 
 
8411
const (
 
8412
        // @enum VolumeType
 
8413
        VolumeTypeGp2 = "gp2"
 
8414
        // @enum VolumeType
 
8415
        VolumeTypeIo1 = "io1"
 
8416
        // @enum VolumeType
 
8417
        VolumeTypeStandard = "standard"
 
8418
)