1
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
3
// Package opsworks provides a client for AWS OpsWorks.
7
"github.com/aws/aws-sdk-go/aws/awsutil"
8
"github.com/aws/aws-sdk-go/aws/request"
11
const opAssignInstance = "AssignInstance"
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,
22
input = &AssignInstanceInput{}
25
req = c.newRequest(op, input, output)
26
output = &AssignInstanceOutput{}
31
// Assign a registered instance to a layer.
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)
46
const opAssignVolume = "AssignVolume"
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{
57
input = &AssignVolumeInput{}
60
req = c.newRequest(op, input, output)
61
output = &AssignVolumeOutput{}
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).
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)
82
const opAssociateElasticIp = "AssociateElasticIp"
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,
93
input = &AssociateElasticIpInput{}
96
req = c.newRequest(op, input, output)
97
output = &AssociateElasticIpOutput{}
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).
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)
116
const opAttachElasticLoadBalancer = "AttachElasticLoadBalancer"
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,
127
input = &AttachElasticLoadBalancerInput{}
130
req = c.newRequest(op, input, output)
131
output = &AttachElasticLoadBalancerOutput{}
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).
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).
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)
153
const opCloneStack = "CloneStack"
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{
164
input = &CloneStackInput{}
167
req = c.newRequest(op, input, output)
168
output = &CloneStackOutput{}
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.
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)
186
const opCreateApp = "CreateApp"
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{
197
input = &CreateAppInput{}
200
req = c.newRequest(op, input, output)
201
output = &CreateAppOutput{}
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).
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)
219
const opCreateDeployment = "CreateDeployment"
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,
230
input = &CreateDeploymentInput{}
233
req = c.newRequest(op, input, output)
234
output = &CreateDeploymentOutput{}
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).
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)
253
const opCreateInstance = "CreateInstance"
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,
264
input = &CreateInstanceInput{}
267
req = c.newRequest(op, input, output)
268
output = &CreateInstanceOutput{}
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).
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)
286
const opCreateLayer = "CreateLayer"
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{
297
input = &CreateLayerInput{}
300
req = c.newRequest(op, input, output)
301
output = &CreateLayerOutput{}
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).
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
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)
325
const opCreateStack = "CreateStack"
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{
336
input = &CreateStackInput{}
339
req = c.newRequest(op, input, output)
340
output = &CreateStackOutput{}
345
// Creates a new stack. For more information, see Create a New Stack (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-edit.html).
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)
356
const opCreateUserProfile = "CreateUserProfile"
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,
367
input = &CreateUserProfileInput{}
370
req = c.newRequest(op, input, output)
371
output = &CreateUserProfileOutput{}
376
// Creates a new user profile.
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)
387
const opDeleteApp = "DeleteApp"
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{
398
input = &DeleteAppInput{}
401
req = c.newRequest(op, input, output)
402
output = &DeleteAppOutput{}
407
// Deletes a specified app.
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)
419
const opDeleteInstance = "DeleteInstance"
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,
430
input = &DeleteInstanceInput{}
433
req = c.newRequest(op, input, output)
434
output = &DeleteInstanceOutput{}
439
// Deletes a specified instance, which terminates the associated Amazon EC2
440
// instance. You must stop an instance before you can delete it.
442
// For more information, see Deleting Instances (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-delete.html).
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)
454
const opDeleteLayer = "DeleteLayer"
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{
465
input = &DeleteLayerInput{}
468
req = c.newRequest(op, input, output)
469
output = &DeleteLayerOutput{}
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).
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)
488
const opDeleteStack = "DeleteStack"
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{
499
input = &DeleteStackInput{}
502
req = c.newRequest(op, input, output)
503
output = &DeleteStackOutput{}
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).
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)
522
const opDeleteUserProfile = "DeleteUserProfile"
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,
533
input = &DeleteUserProfileInput{}
536
req = c.newRequest(op, input, output)
537
output = &DeleteUserProfileOutput{}
542
// Deletes a user profile.
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)
553
const opDeregisterEcsCluster = "DeregisterEcsCluster"
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,
564
input = &DeregisterEcsClusterInput{}
567
req = c.newRequest(op, input, output)
568
output = &DeregisterEcsClusterOutput{}
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).
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)
585
const opDeregisterElasticIp = "DeregisterElasticIp"
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,
596
input = &DeregisterElasticIpInput{}
599
req = c.newRequest(op, input, output)
600
output = &DeregisterElasticIpOutput{}
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).
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)
618
const opDeregisterInstance = "DeregisterInstance"
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,
629
input = &DeregisterInstanceInput{}
632
req = c.newRequest(op, input, output)
633
output = &DeregisterInstanceOutput{}
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.
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)
652
const opDeregisterRdsDbInstance = "DeregisterRdsDbInstance"
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,
663
input = &DeregisterRdsDbInstanceInput{}
666
req = c.newRequest(op, input, output)
667
output = &DeregisterRdsDbInstanceOutput{}
672
// Deregisters an Amazon RDS instance.
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)
684
const opDeregisterVolume = "DeregisterVolume"
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,
695
input = &DeregisterVolumeInput{}
698
req = c.newRequest(op, input, output)
699
output = &DeregisterVolumeOutput{}
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).
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)
717
const opDescribeAgentVersions = "DescribeAgentVersions"
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,
728
input = &DescribeAgentVersionsInput{}
731
req = c.newRequest(op, input, output)
732
output = &DescribeAgentVersionsOutput{}
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)
746
const opDescribeApps = "DescribeApps"
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,
757
input = &DescribeAppsInput{}
760
req = c.newRequest(op, input, output)
761
output = &DescribeAppsOutput{}
766
// Requests a description of a specified set of apps.
768
// You must specify at least one of the parameters.
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)
780
const opDescribeCommands = "DescribeCommands"
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,
791
input = &DescribeCommandsInput{}
794
req = c.newRequest(op, input, output)
795
output = &DescribeCommandsOutput{}
800
// Describes the results of specified commands.
802
// You must specify at least one of the parameters.
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)
814
const opDescribeDeployments = "DescribeDeployments"
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,
825
input = &DescribeDeploymentsInput{}
828
req = c.newRequest(op, input, output)
829
output = &DescribeDeploymentsOutput{}
834
// Requests a description of a specified set of deployments.
836
// You must specify at least one of the parameters.
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)
848
const opDescribeEcsClusters = "DescribeEcsClusters"
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,
856
Paginator: &request.Paginator{
857
InputTokens: []string{"NextToken"},
858
OutputTokens: []string{"NextToken"},
859
LimitToken: "MaxResults",
865
input = &DescribeEcsClustersInput{}
868
req = c.newRequest(op, input, output)
869
output = &DescribeEcsClustersOutput{}
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.
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)
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)
896
const opDescribeElasticIps = "DescribeElasticIps"
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,
907
input = &DescribeElasticIpsInput{}
910
req = c.newRequest(op, input, output)
911
output = &DescribeElasticIpsOutput{}
916
// Describes Elastic IP addresses (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html).
918
// You must specify at least one of the parameters.
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)
930
const opDescribeElasticLoadBalancers = "DescribeElasticLoadBalancers"
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,
941
input = &DescribeElasticLoadBalancersInput{}
944
req = c.newRequest(op, input, output)
945
output = &DescribeElasticLoadBalancersOutput{}
950
// Describes a stack's Elastic Load Balancing instances.
952
// You must specify at least one of the parameters.
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)
964
const opDescribeInstances = "DescribeInstances"
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,
975
input = &DescribeInstancesInput{}
978
req = c.newRequest(op, input, output)
979
output = &DescribeInstancesOutput{}
984
// Requests a description of a set of instances.
986
// You must specify at least one of the parameters.
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)
998
const opDescribeLayers = "DescribeLayers"
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,
1009
input = &DescribeLayersInput{}
1012
req = c.newRequest(op, input, output)
1013
output = &DescribeLayersOutput{}
1018
// Requests a description of one or more layers in a specified stack.
1020
// You must specify at least one of the parameters.
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)
1032
const opDescribeLoadBasedAutoScaling = "DescribeLoadBasedAutoScaling"
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,
1043
input = &DescribeLoadBasedAutoScalingInput{}
1046
req = c.newRequest(op, input, output)
1047
output = &DescribeLoadBasedAutoScalingOutput{}
1052
// Describes load-based auto scaling configurations for specified layers.
1054
// You must specify at least one of the parameters.
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)
1066
const opDescribeMyUserProfile = "DescribeMyUserProfile"
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,
1077
input = &DescribeMyUserProfileInput{}
1080
req = c.newRequest(op, input, output)
1081
output = &DescribeMyUserProfileOutput{}
1086
// Describes a user's SSH information.
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)
1097
const opDescribePermissions = "DescribePermissions"
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,
1108
input = &DescribePermissionsInput{}
1111
req = c.newRequest(op, input, output)
1112
output = &DescribePermissionsOutput{}
1117
// Describes the permissions for a specified stack.
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)
1129
const opDescribeRaidArrays = "DescribeRaidArrays"
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,
1140
input = &DescribeRaidArraysInput{}
1143
req = c.newRequest(op, input, output)
1144
output = &DescribeRaidArraysOutput{}
1149
// Describe an instance's RAID arrays.
1151
// You must specify at least one of the parameters.
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)
1163
const opDescribeRdsDbInstances = "DescribeRdsDbInstances"
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,
1174
input = &DescribeRdsDbInstancesInput{}
1177
req = c.newRequest(op, input, output)
1178
output = &DescribeRdsDbInstancesOutput{}
1183
// Describes Amazon RDS instances.
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)
1195
const opDescribeServiceErrors = "DescribeServiceErrors"
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,
1206
input = &DescribeServiceErrorsInput{}
1209
req = c.newRequest(op, input, output)
1210
output = &DescribeServiceErrorsOutput{}
1215
// Describes AWS OpsWorks service errors.
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)
1227
const opDescribeStackProvisioningParameters = "DescribeStackProvisioningParameters"
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,
1238
input = &DescribeStackProvisioningParametersInput{}
1241
req = c.newRequest(op, input, output)
1242
output = &DescribeStackProvisioningParametersOutput{}
1247
// Requests a description of a stack's provisioning parameters.
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)
1259
const opDescribeStackSummary = "DescribeStackSummary"
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,
1270
input = &DescribeStackSummaryInput{}
1273
req = c.newRequest(op, input, output)
1274
output = &DescribeStackSummaryOutput{}
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.
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)
1292
const opDescribeStacks = "DescribeStacks"
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,
1303
input = &DescribeStacksInput{}
1306
req = c.newRequest(op, input, output)
1307
output = &DescribeStacksOutput{}
1312
// Requests a description of one or more stacks.
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)
1324
const opDescribeTimeBasedAutoScaling = "DescribeTimeBasedAutoScaling"
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,
1335
input = &DescribeTimeBasedAutoScalingInput{}
1338
req = c.newRequest(op, input, output)
1339
output = &DescribeTimeBasedAutoScalingOutput{}
1344
// Describes time-based auto scaling configurations for specified instances.
1346
// You must specify at least one of the parameters.
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)
1358
const opDescribeUserProfiles = "DescribeUserProfiles"
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,
1369
input = &DescribeUserProfilesInput{}
1372
req = c.newRequest(op, input, output)
1373
output = &DescribeUserProfilesOutput{}
1378
// Describe specified users.
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)
1389
const opDescribeVolumes = "DescribeVolumes"
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,
1400
input = &DescribeVolumesInput{}
1403
req = c.newRequest(op, input, output)
1404
output = &DescribeVolumesOutput{}
1409
// Describes an instance's Amazon EBS volumes.
1411
// You must specify at least one of the parameters.
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)
1423
const opDetachElasticLoadBalancer = "DetachElasticLoadBalancer"
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,
1434
input = &DetachElasticLoadBalancerInput{}
1437
req = c.newRequest(op, input, output)
1438
output = &DetachElasticLoadBalancerOutput{}
1443
// Detaches a specified Elastic Load Balancing instance from its layer.
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)
1455
const opDisassociateElasticIp = "DisassociateElasticIp"
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,
1466
input = &DisassociateElasticIpInput{}
1469
req = c.newRequest(op, input, output)
1470
output = &DisassociateElasticIpOutput{}
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).
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)
1489
const opGetHostnameSuggestion = "GetHostnameSuggestion"
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,
1500
input = &GetHostnameSuggestionInput{}
1503
req = c.newRequest(op, input, output)
1504
output = &GetHostnameSuggestionOutput{}
1509
// Gets a generated host name for the specified layer, based on the current
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)
1522
const opGrantAccess = "GrantAccess"
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,
1533
input = &GrantAccessInput{}
1536
req = c.newRequest(op, input, output)
1537
output = &GrantAccessOutput{}
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)
1550
const opRebootInstance = "RebootInstance"
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,
1561
input = &RebootInstanceInput{}
1564
req = c.newRequest(op, input, output)
1565
output = &RebootInstanceOutput{}
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).
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)
1583
const opRegisterEcsCluster = "RegisterEcsCluster"
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,
1594
input = &RegisterEcsClusterInput{}
1597
req = c.newRequest(op, input, output)
1598
output = &RegisterEcsClusterOutput{}
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).
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)
1617
const opRegisterElasticIp = "RegisterElasticIp"
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,
1628
input = &RegisterElasticIpInput{}
1631
req = c.newRequest(op, input, output)
1632
output = &RegisterElasticIpOutput{}
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).
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)
1652
const opRegisterInstance = "RegisterInstance"
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,
1663
input = &RegisterInstanceInput{}
1666
req = c.newRequest(op, input, output)
1667
output = &RegisterInstanceOutput{}
1672
// Registers instances with a specified stack that were created outside of AWS
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)
1691
const opRegisterRdsDbInstance = "RegisterRdsDbInstance"
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,
1702
input = &RegisterRdsDbInstanceInput{}
1705
req = c.newRequest(op, input, output)
1706
output = &RegisterRdsDbInstanceOutput{}
1711
// Registers an Amazon RDS instance with a stack.
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)
1723
const opRegisterVolume = "RegisterVolume"
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,
1734
input = &RegisterVolumeInput{}
1737
req = c.newRequest(op, input, output)
1738
output = &RegisterVolumeOutput{}
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).
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)
1758
const opSetLoadBasedAutoScaling = "SetLoadBasedAutoScaling"
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,
1769
input = &SetLoadBasedAutoScalingInput{}
1772
req = c.newRequest(op, input, output)
1773
output = &SetLoadBasedAutoScalingOutput{}
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).
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.
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)
1797
const opSetPermission = "SetPermission"
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,
1808
input = &SetPermissionInput{}
1811
req = c.newRequest(op, input, output)
1812
output = &SetPermissionOutput{}
1817
// Specifies a user's permissions. For more information, see Security and Permissions
1818
// (http://docs.aws.amazon.com/opsworks/latest/userguide/workingsecurity.html).
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)
1830
const opSetTimeBasedAutoScaling = "SetTimeBasedAutoScaling"
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,
1841
input = &SetTimeBasedAutoScalingInput{}
1844
req = c.newRequest(op, input, output)
1845
output = &SetTimeBasedAutoScalingOutput{}
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).
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)
1864
const opStartInstance = "StartInstance"
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,
1875
input = &StartInstanceInput{}
1878
req = c.newRequest(op, input, output)
1879
output = &StartInstanceOutput{}
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).
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)
1897
const opStartStack = "StartStack"
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{
1908
input = &StartStackInput{}
1911
req = c.newRequest(op, input, output)
1912
output = &StartStackOutput{}
1917
// Starts a stack's instances.
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)
1929
const opStopInstance = "StopInstance"
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,
1940
input = &StopInstanceInput{}
1943
req = c.newRequest(op, input, output)
1944
output = &StopInstanceOutput{}
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).
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)
1964
const opStopStack = "StopStack"
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{
1975
input = &StopStackInput{}
1978
req = c.newRequest(op, input, output)
1979
output = &StopStackOutput{}
1984
// Stops a specified stack.
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)
1996
const opUnassignInstance = "UnassignInstance"
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,
2007
input = &UnassignInstanceInput{}
2010
req = c.newRequest(op, input, output)
2011
output = &UnassignInstanceOutput{}
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
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)
2031
const opUnassignVolume = "UnassignVolume"
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,
2042
input = &UnassignVolumeInput{}
2045
req = c.newRequest(op, input, output)
2046
output = &UnassignVolumeOutput{}
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).
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)
2064
const opUpdateApp = "UpdateApp"
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{
2075
input = &UpdateAppInput{}
2078
req = c.newRequest(op, input, output)
2079
output = &UpdateAppOutput{}
2084
// Updates a specified app.
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)
2096
const opUpdateElasticIp = "UpdateElasticIp"
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,
2107
input = &UpdateElasticIpInput{}
2110
req = c.newRequest(op, input, output)
2111
output = &UpdateElasticIpOutput{}
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).
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)
2129
const opUpdateInstance = "UpdateInstance"
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,
2140
input = &UpdateInstanceInput{}
2143
req = c.newRequest(op, input, output)
2144
output = &UpdateInstanceOutput{}
2149
// Updates a specified instance.
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)
2161
const opUpdateLayer = "UpdateLayer"
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,
2172
input = &UpdateLayerInput{}
2175
req = c.newRequest(op, input, output)
2176
output = &UpdateLayerOutput{}
2181
// Updates a specified layer.
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)
2193
const opUpdateMyUserProfile = "UpdateMyUserProfile"
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,
2204
input = &UpdateMyUserProfileInput{}
2207
req = c.newRequest(op, input, output)
2208
output = &UpdateMyUserProfileOutput{}
2213
// Updates a user's SSH public key.
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)
2224
const opUpdateRdsDbInstance = "UpdateRdsDbInstance"
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,
2235
input = &UpdateRdsDbInstanceInput{}
2238
req = c.newRequest(op, input, output)
2239
output = &UpdateRdsDbInstanceOutput{}
2244
// Updates an Amazon RDS instance.
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)
2256
const opUpdateStack = "UpdateStack"
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,
2267
input = &UpdateStackInput{}
2270
req = c.newRequest(op, input, output)
2271
output = &UpdateStackOutput{}
2276
// Updates a specified stack.
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)
2288
const opUpdateUserProfile = "UpdateUserProfile"
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,
2299
input = &UpdateUserProfileInput{}
2302
req = c.newRequest(op, input, output)
2303
output = &UpdateUserProfileOutput{}
2308
// Updates a specified user profile.
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)
2319
const opUpdateVolume = "UpdateVolume"
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,
2330
input = &UpdateVolumeInput{}
2333
req = c.newRequest(op, input, output)
2334
output = &UpdateVolumeOutput{}
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).
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)
2352
// Describes an agent version.
2353
type AgentVersion struct {
2354
// The configuration manager.
2355
ConfigurationManager *StackConfigurationManager `type:"structure"`
2357
// The agent version.
2358
Version *string `type:"string"`
2360
metadataAgentVersion `json:"-" xml:"-"`
2363
type metadataAgentVersion struct {
2364
SDKShapeTraits bool `type:"structure"`
2367
// String returns the string representation
2368
func (s AgentVersion) String() string {
2369
return awsutil.Prettify(s)
2372
// GoString returns the string representation
2373
func (s AgentVersion) GoString() string {
2377
// A description of the app.
2380
AppId *string `type:"string"`
2382
// A Source object that describes the app repository.
2383
AppSource *Source `type:"structure"`
2385
// The stack attributes.
2386
Attributes map[string]*string `type:"map"`
2388
// When the app was created.
2389
CreatedAt *string `type:"string"`
2391
// The app's data sources.
2392
DataSources []*DataSource `type:"list"`
2394
// A description of the app.
2395
Description *string `type:"string"`
2397
// The app vhost settings with multiple domains separated by commas. For example:
2398
// 'www.example.com, example.com'
2399
Domains []*string `type:"list"`
2401
// Whether to enable SSL for the app.
2402
EnableSsl *bool `type:"boolean"`
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).
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"`
2418
Name *string `type:"string"`
2420
// The app's short name.
2421
Shortname *string `type:"string"`
2423
// An SslConfiguration object with the SSL configuration.
2424
SslConfiguration *SslConfiguration `type:"structure"`
2426
// The app stack ID.
2427
StackId *string `type:"string"`
2430
Type *string `type:"string" enum:"AppType"`
2432
metadataApp `json:"-" xml:"-"`
2435
type metadataApp struct {
2436
SDKShapeTraits bool `type:"structure"`
2439
// String returns the string representation
2440
func (s App) String() string {
2441
return awsutil.Prettify(s)
2444
// GoString returns the string representation
2445
func (s App) GoString() string {
2449
type AssignInstanceInput struct {
2451
InstanceId *string `type:"string" required:"true"`
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"`
2457
metadataAssignInstanceInput `json:"-" xml:"-"`
2460
type metadataAssignInstanceInput struct {
2461
SDKShapeTraits bool `type:"structure"`
2464
// String returns the string representation
2465
func (s AssignInstanceInput) String() string {
2466
return awsutil.Prettify(s)
2469
// GoString returns the string representation
2470
func (s AssignInstanceInput) GoString() string {
2474
type AssignInstanceOutput struct {
2475
metadataAssignInstanceOutput `json:"-" xml:"-"`
2478
type metadataAssignInstanceOutput struct {
2479
SDKShapeTraits bool `type:"structure"`
2482
// String returns the string representation
2483
func (s AssignInstanceOutput) String() string {
2484
return awsutil.Prettify(s)
2487
// GoString returns the string representation
2488
func (s AssignInstanceOutput) GoString() string {
2492
type AssignVolumeInput struct {
2494
InstanceId *string `type:"string"`
2497
VolumeId *string `type:"string" required:"true"`
2499
metadataAssignVolumeInput `json:"-" xml:"-"`
2502
type metadataAssignVolumeInput struct {
2503
SDKShapeTraits bool `type:"structure"`
2506
// String returns the string representation
2507
func (s AssignVolumeInput) String() string {
2508
return awsutil.Prettify(s)
2511
// GoString returns the string representation
2512
func (s AssignVolumeInput) GoString() string {
2516
type AssignVolumeOutput struct {
2517
metadataAssignVolumeOutput `json:"-" xml:"-"`
2520
type metadataAssignVolumeOutput struct {
2521
SDKShapeTraits bool `type:"structure"`
2524
// String returns the string representation
2525
func (s AssignVolumeOutput) String() string {
2526
return awsutil.Prettify(s)
2529
// GoString returns the string representation
2530
func (s AssignVolumeOutput) GoString() string {
2534
type AssociateElasticIpInput struct {
2535
// The Elastic IP address.
2536
ElasticIp *string `type:"string" required:"true"`
2539
InstanceId *string `type:"string"`
2541
metadataAssociateElasticIpInput `json:"-" xml:"-"`
2544
type metadataAssociateElasticIpInput struct {
2545
SDKShapeTraits bool `type:"structure"`
2548
// String returns the string representation
2549
func (s AssociateElasticIpInput) String() string {
2550
return awsutil.Prettify(s)
2553
// GoString returns the string representation
2554
func (s AssociateElasticIpInput) GoString() string {
2558
type AssociateElasticIpOutput struct {
2559
metadataAssociateElasticIpOutput `json:"-" xml:"-"`
2562
type metadataAssociateElasticIpOutput struct {
2563
SDKShapeTraits bool `type:"structure"`
2566
// String returns the string representation
2567
func (s AssociateElasticIpOutput) String() string {
2568
return awsutil.Prettify(s)
2571
// GoString returns the string representation
2572
func (s AssociateElasticIpOutput) GoString() string {
2576
type AttachElasticLoadBalancerInput struct {
2577
// The Elastic Load Balancing instance's name.
2578
ElasticLoadBalancerName *string `type:"string" required:"true"`
2580
// The ID of the layer that the Elastic Load Balancing instance is to be attached
2582
LayerId *string `type:"string" required:"true"`
2584
metadataAttachElasticLoadBalancerInput `json:"-" xml:"-"`
2587
type metadataAttachElasticLoadBalancerInput struct {
2588
SDKShapeTraits bool `type:"structure"`
2591
// String returns the string representation
2592
func (s AttachElasticLoadBalancerInput) String() string {
2593
return awsutil.Prettify(s)
2596
// GoString returns the string representation
2597
func (s AttachElasticLoadBalancerInput) GoString() string {
2601
type AttachElasticLoadBalancerOutput struct {
2602
metadataAttachElasticLoadBalancerOutput `json:"-" xml:"-"`
2605
type metadataAttachElasticLoadBalancerOutput struct {
2606
SDKShapeTraits bool `type:"structure"`
2609
// String returns the string representation
2610
func (s AttachElasticLoadBalancerOutput) String() string {
2611
return awsutil.Prettify(s)
2614
// GoString returns the string representation
2615
func (s AttachElasticLoadBalancerOutput) GoString() string {
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.
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"`
2632
// The CPU utilization threshold, as a percent of the available CPU.
2633
CpuThreshold *float64 `type:"double"`
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
2643
IgnoreMetricsTime *int64 `min:"1" type:"integer"`
2645
// The number of instances to add or remove when the load exceeds a threshold.
2646
InstanceCount *int64 `type:"integer"`
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"`
2652
// The memory utilization threshold, as a percent of the available memory.
2653
MemoryThreshold *float64 `type:"double"`
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"`
2659
metadataAutoScalingThresholds `json:"-" xml:"-"`
2662
type metadataAutoScalingThresholds struct {
2663
SDKShapeTraits bool `type:"structure"`
2666
// String returns the string representation
2667
func (s AutoScalingThresholds) String() string {
2668
return awsutil.Prettify(s)
2671
// GoString returns the string representation
2672
func (s AutoScalingThresholds) GoString() string {
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)
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"`
2685
// An EBSBlockDevice that defines how to configure an Amazon EBS volume when
2686
// the instance is launched.
2687
Ebs *EbsBlockDevice `type:"structure"`
2689
// Suppresses the specified device included in the AMI's block device mapping.
2690
NoDevice *string `type:"string"`
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"`
2695
metadataBlockDeviceMapping `json:"-" xml:"-"`
2698
type metadataBlockDeviceMapping struct {
2699
SDKShapeTraits bool `type:"structure"`
2702
// String returns the string representation
2703
func (s BlockDeviceMapping) String() string {
2704
return awsutil.Prettify(s)
2707
// GoString returns the string representation
2708
func (s BlockDeviceMapping) GoString() string {
2712
// Describes the Chef configuration.
2713
type ChefConfiguration struct {
2714
// The Berkshelf version.
2715
BerkshelfVersion *string `type:"string"`
2717
// Whether to enable Berkshelf.
2718
ManageBerkshelf *bool `type:"boolean"`
2720
metadataChefConfiguration `json:"-" xml:"-"`
2723
type metadataChefConfiguration struct {
2724
SDKShapeTraits bool `type:"structure"`
2727
// String returns the string representation
2728
func (s ChefConfiguration) String() string {
2729
return awsutil.Prettify(s)
2732
// GoString returns the string representation
2733
func (s ChefConfiguration) GoString() string {
2737
type CloneStackInput struct {
2738
// The default AWS OpsWorks agent version. You have the following options:
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.
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"`
2753
// A list of stack attributes and values as key/value pairs to be added to the
2755
Attributes map[string]*string `type:"map"`
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"`
2762
// A list of source stack app IDs to be included in the cloned stack.
2763
CloneAppIds []*string `type:"list"`
2765
// Whether to clone the source stack's permissions.
2766
ClonePermissions *bool `type:"boolean"`
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"`
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"`
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 '"':
2782
// "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
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"`
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"`
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"`
2799
// The stack's operating system, which must be set to one of the following.
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).
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"`
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"`
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"`
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"`
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:
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"`
2846
// The cloned stack name.
2847
Name *string `type:"string"`
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"`
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).
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"`
2865
// The source stack ID.
2866
SourceStackId *string `type:"string" required:"true"`
2868
// Whether to use custom cookbooks.
2869
UseCustomCookbooks *bool `type:"boolean"`
2871
// Whether to associate the AWS OpsWorks built-in security groups with the stack's
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:
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"`
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.
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.
2904
// If you specify a nondefault VPC ID, note the following:
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"`
2913
metadataCloneStackInput `json:"-" xml:"-"`
2916
type metadataCloneStackInput struct {
2917
SDKShapeTraits bool `type:"structure"`
2920
// String returns the string representation
2921
func (s CloneStackInput) String() string {
2922
return awsutil.Prettify(s)
2925
// GoString returns the string representation
2926
func (s CloneStackInput) GoString() string {
2930
// Contains the response to a CloneStack request.
2931
type CloneStackOutput struct {
2932
// The cloned stack ID.
2933
StackId *string `type:"string"`
2935
metadataCloneStackOutput `json:"-" xml:"-"`
2938
type metadataCloneStackOutput struct {
2939
SDKShapeTraits bool `type:"structure"`
2942
// String returns the string representation
2943
func (s CloneStackOutput) String() string {
2944
return awsutil.Prettify(s)
2947
// GoString returns the string representation
2948
func (s CloneStackOutput) GoString() string {
2952
// Describes a command.
2953
type Command struct {
2954
// Date and time when the command was acknowledged.
2955
AcknowledgedAt *string `type:"string"`
2958
CommandId *string `type:"string"`
2960
// Date when the command completed.
2961
CompletedAt *string `type:"string"`
2963
// Date and time when the command was run.
2964
CreatedAt *string `type:"string"`
2966
// The command deployment ID.
2967
DeploymentId *string `type:"string"`
2969
// The command exit code.
2970
ExitCode *int64 `type:"integer"`
2972
// The ID of the instance where the command was executed.
2973
InstanceId *string `type:"string"`
2975
// The URL of the command log.
2976
LogUrl *string `type:"string"`
2978
// The command status:
2980
// failed successful skipped pending
2981
Status *string `type:"string"`
2983
// The command type:
2985
// deploy rollback start stop restart undeploy update_dependencies
2986
// install_dependencies update_custom_cookbooks execute_recipes
2987
Type *string `type:"string"`
2989
metadataCommand `json:"-" xml:"-"`
2992
type metadataCommand struct {
2993
SDKShapeTraits bool `type:"structure"`
2996
// String returns the string representation
2997
func (s Command) String() string {
2998
return awsutil.Prettify(s)
3001
// GoString returns the string representation
3002
func (s Command) GoString() string {
3006
type CreateAppInput struct {
3007
// A Source object that specifies the app repository.
3008
AppSource *Source `type:"structure"`
3010
// One or more user-defined key/value pairs to be added to the stack attributes.
3011
Attributes map[string]*string `type:"map"`
3013
// The app's data source.
3014
DataSources []*DataSource `type:"list"`
3016
// A description of the app.
3017
Description *string `type:"string"`
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"`
3023
// Whether to enable SSL for the app.
3024
EnableSsl *bool `type:"boolean"`
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).
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
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"`
3043
Name *string `type:"string" required:"true"`
3045
// The app's short name.
3046
Shortname *string `type:"string"`
3048
// An SslConfiguration object with the SSL configuration.
3049
SslConfiguration *SslConfiguration `type:"structure"`
3052
StackId *string `type:"string" required:"true"`
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"`
3061
metadataCreateAppInput `json:"-" xml:"-"`
3064
type metadataCreateAppInput struct {
3065
SDKShapeTraits bool `type:"structure"`
3068
// String returns the string representation
3069
func (s CreateAppInput) String() string {
3070
return awsutil.Prettify(s)
3073
// GoString returns the string representation
3074
func (s CreateAppInput) GoString() string {
3078
// Contains the response to a CreateApp request.
3079
type CreateAppOutput struct {
3081
AppId *string `type:"string"`
3083
metadataCreateAppOutput `json:"-" xml:"-"`
3086
type metadataCreateAppOutput struct {
3087
SDKShapeTraits bool `type:"structure"`
3090
// String returns the string representation
3091
func (s CreateAppOutput) String() string {
3092
return awsutil.Prettify(s)
3095
// GoString returns the string representation
3096
func (s CreateAppOutput) GoString() string {
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"`
3105
// A DeploymentCommand object that specifies the deployment command and any
3106
// associated arguments.
3107
Command *DeploymentCommand `type:"structure" required:"true"`
3109
// A user-defined comment.
3110
Comment *string `type:"string"`
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 '"':
3116
// "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
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"`
3122
// The instance IDs for the deployment targets.
3123
InstanceIds []*string `type:"list"`
3126
StackId *string `type:"string" required:"true"`
3128
metadataCreateDeploymentInput `json:"-" xml:"-"`
3131
type metadataCreateDeploymentInput struct {
3132
SDKShapeTraits bool `type:"structure"`
3135
// String returns the string representation
3136
func (s CreateDeploymentInput) String() string {
3137
return awsutil.Prettify(s)
3140
// GoString returns the string representation
3141
func (s CreateDeploymentInput) GoString() string {
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
3149
DeploymentId *string `type:"string"`
3151
metadataCreateDeploymentOutput `json:"-" xml:"-"`
3154
type metadataCreateDeploymentOutput struct {
3155
SDKShapeTraits bool `type:"structure"`
3158
// String returns the string representation
3159
func (s CreateDeploymentOutput) String() string {
3160
return awsutil.Prettify(s)
3163
// GoString returns the string representation
3164
func (s CreateDeploymentOutput) GoString() string {
3168
type CreateInstanceInput struct {
3169
// The default AWS OpsWorks agent version. You have the following options:
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"`
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).
3184
// If you specify a custom AMI, you must set Os to Custom.
3185
AmiId *string `type:"string"`
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"`
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"`
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"`
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"`
3205
// Whether to create an Amazon EBS-optimized instance.
3206
EbsOptimized *bool `type:"boolean"`
3208
// The instance host name.
3209
Hostname *string `type:"string"`
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.
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"`
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"`
3229
// An array that contains the instance's layer IDs.
3230
LayerIds []*string `type:"list" required:"true"`
3232
// The instance's operating system, which must be set to one of the following.
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).
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"`
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"`
3252
// The instance's Amazon EC2 key-pair name.
3253
SshKeyName *string `type:"string"`
3256
StackId *string `type:"string" required:"true"`
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"`
3263
// The instance's virtualization type, paravirtual or hvm.
3264
VirtualizationType *string `type:"string"`
3266
metadataCreateInstanceInput `json:"-" xml:"-"`
3269
type metadataCreateInstanceInput struct {
3270
SDKShapeTraits bool `type:"structure"`
3273
// String returns the string representation
3274
func (s CreateInstanceInput) String() string {
3275
return awsutil.Prettify(s)
3278
// GoString returns the string representation
3279
func (s CreateInstanceInput) GoString() string {
3283
// Contains the response to a CreateInstance request.
3284
type CreateInstanceOutput struct {
3286
InstanceId *string `type:"string"`
3288
metadataCreateInstanceOutput `json:"-" xml:"-"`
3291
type metadataCreateInstanceOutput struct {
3292
SDKShapeTraits bool `type:"structure"`
3295
// String returns the string representation
3296
func (s CreateInstanceOutput) String() string {
3297
return awsutil.Prettify(s)
3300
// GoString returns the string representation
3301
func (s CreateInstanceOutput) GoString() string {
3305
type CreateLayerInput struct {
3306
// One or more user-defined key-value pairs to be added to the stack attributes.
3308
// To create a cluster layer, set the EcsClusterArn attribute to the cluster's
3310
Attributes map[string]*string `type:"map"`
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"`
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"`
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"`
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"`
3330
// A LayerCustomRecipes object that specifies the layer custom recipes.
3331
CustomRecipes *Recipes `type:"structure"`
3333
// An array containing the layer custom security group IDs.
3334
CustomSecurityGroupIds []*string `type:"list"`
3336
// Whether to disable auto healing for the layer.
3337
EnableAutoHealing *bool `type:"boolean"`
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.
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"`
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"`
3354
// The layer name, which is used by the console.
3355
Name *string `type:"string" required:"true"`
3357
// An array of Package objects that describes the layer packages.
3358
Packages []*string `type:"list"`
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 '.'.
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"`
3370
// The layer stack ID.
3371
StackId *string `type:"string" required:"true"`
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"`
3377
// Whether to use Amazon EBS-optimized instances.
3378
UseEbsOptimizedInstances *bool `type:"boolean"`
3380
// A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
3381
VolumeConfigurations []*VolumeConfiguration `type:"list"`
3383
metadataCreateLayerInput `json:"-" xml:"-"`
3386
type metadataCreateLayerInput struct {
3387
SDKShapeTraits bool `type:"structure"`
3390
// String returns the string representation
3391
func (s CreateLayerInput) String() string {
3392
return awsutil.Prettify(s)
3395
// GoString returns the string representation
3396
func (s CreateLayerInput) GoString() string {
3400
// Contains the response to a CreateLayer request.
3401
type CreateLayerOutput struct {
3403
LayerId *string `type:"string"`
3405
metadataCreateLayerOutput `json:"-" xml:"-"`
3408
type metadataCreateLayerOutput struct {
3409
SDKShapeTraits bool `type:"structure"`
3412
// String returns the string representation
3413
func (s CreateLayerOutput) String() string {
3414
return awsutil.Prettify(s)
3417
// GoString returns the string representation
3418
func (s CreateLayerOutput) GoString() string {
3422
type CreateStackInput struct {
3423
// The default AWS OpsWorks agent version. You have the following options:
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.
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"`
3438
// One or more user-defined key-value pairs to be added to the stack attributes.
3439
Attributes map[string]*string `type:"map"`
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"`
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"`
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"`
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
3461
// "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
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"`
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"`
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"`
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.
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"`
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"`
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"`
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"`
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:
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"`
3526
Name *string `type:"string" required:"true"`
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"`
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"`
3538
// Whether the stack uses custom cookbooks.
3539
UseCustomCookbooks *bool `type:"boolean"`
3541
// Whether to associate the AWS OpsWorks built-in security groups with the stack's
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:
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"`
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.
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.
3573
// If you specify a nondefault VPC ID, note the following:
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"`
3582
metadataCreateStackInput `json:"-" xml:"-"`
3585
type metadataCreateStackInput struct {
3586
SDKShapeTraits bool `type:"structure"`
3589
// String returns the string representation
3590
func (s CreateStackInput) String() string {
3591
return awsutil.Prettify(s)
3594
// GoString returns the string representation
3595
func (s CreateStackInput) GoString() string {
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"`
3605
metadataCreateStackOutput `json:"-" xml:"-"`
3608
type metadataCreateStackOutput struct {
3609
SDKShapeTraits bool `type:"structure"`
3612
// String returns the string representation
3613
func (s CreateStackOutput) String() string {
3614
return awsutil.Prettify(s)
3617
// GoString returns the string representation
3618
func (s CreateStackOutput) GoString() string {
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"`
3627
// The user's IAM ARN.
3628
IamUserArn *string `type:"string" required:"true"`
3630
// The user's public SSH key.
3631
SshPublicKey *string `type:"string"`
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
3638
SshUsername *string `type:"string"`
3640
metadataCreateUserProfileInput `json:"-" xml:"-"`
3643
type metadataCreateUserProfileInput struct {
3644
SDKShapeTraits bool `type:"structure"`
3647
// String returns the string representation
3648
func (s CreateUserProfileInput) String() string {
3649
return awsutil.Prettify(s)
3652
// GoString returns the string representation
3653
func (s CreateUserProfileInput) GoString() string {
3657
// Contains the response to a CreateUserProfile request.
3658
type CreateUserProfileOutput struct {
3659
// The user's IAM ARN.
3660
IamUserArn *string `type:"string"`
3662
metadataCreateUserProfileOutput `json:"-" xml:"-"`
3665
type metadataCreateUserProfileOutput struct {
3666
SDKShapeTraits bool `type:"structure"`
3669
// String returns the string representation
3670
func (s CreateUserProfileOutput) String() string {
3671
return awsutil.Prettify(s)
3674
// GoString returns the string representation
3675
func (s CreateUserProfileOutput) GoString() string {
3679
// Describes an app's data source.
3680
type DataSource struct {
3681
// The data source's ARN.
3682
Arn *string `type:"string"`
3684
// The database name.
3685
DatabaseName *string `type:"string"`
3687
// The data source's type, AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance,
3688
// or RdsDbInstance.
3689
Type *string `type:"string"`
3691
metadataDataSource `json:"-" xml:"-"`
3694
type metadataDataSource struct {
3695
SDKShapeTraits bool `type:"structure"`
3698
// String returns the string representation
3699
func (s DataSource) String() string {
3700
return awsutil.Prettify(s)
3703
// GoString returns the string representation
3704
func (s DataSource) GoString() string {
3708
type DeleteAppInput struct {
3710
AppId *string `type:"string" required:"true"`
3712
metadataDeleteAppInput `json:"-" xml:"-"`
3715
type metadataDeleteAppInput struct {
3716
SDKShapeTraits bool `type:"structure"`
3719
// String returns the string representation
3720
func (s DeleteAppInput) String() string {
3721
return awsutil.Prettify(s)
3724
// GoString returns the string representation
3725
func (s DeleteAppInput) GoString() string {
3729
type DeleteAppOutput struct {
3730
metadataDeleteAppOutput `json:"-" xml:"-"`
3733
type metadataDeleteAppOutput struct {
3734
SDKShapeTraits bool `type:"structure"`
3737
// String returns the string representation
3738
func (s DeleteAppOutput) String() string {
3739
return awsutil.Prettify(s)
3742
// GoString returns the string representation
3743
func (s DeleteAppOutput) GoString() string {
3747
type DeleteInstanceInput struct {
3748
// Whether to delete the instance Elastic IP address.
3749
DeleteElasticIp *bool `type:"boolean"`
3751
// Whether to delete the instance's Amazon EBS volumes.
3752
DeleteVolumes *bool `type:"boolean"`
3755
InstanceId *string `type:"string" required:"true"`
3757
metadataDeleteInstanceInput `json:"-" xml:"-"`
3760
type metadataDeleteInstanceInput struct {
3761
SDKShapeTraits bool `type:"structure"`
3764
// String returns the string representation
3765
func (s DeleteInstanceInput) String() string {
3766
return awsutil.Prettify(s)
3769
// GoString returns the string representation
3770
func (s DeleteInstanceInput) GoString() string {
3774
type DeleteInstanceOutput struct {
3775
metadataDeleteInstanceOutput `json:"-" xml:"-"`
3778
type metadataDeleteInstanceOutput struct {
3779
SDKShapeTraits bool `type:"structure"`
3782
// String returns the string representation
3783
func (s DeleteInstanceOutput) String() string {
3784
return awsutil.Prettify(s)
3787
// GoString returns the string representation
3788
func (s DeleteInstanceOutput) GoString() string {
3792
type DeleteLayerInput struct {
3794
LayerId *string `type:"string" required:"true"`
3796
metadataDeleteLayerInput `json:"-" xml:"-"`
3799
type metadataDeleteLayerInput struct {
3800
SDKShapeTraits bool `type:"structure"`
3803
// String returns the string representation
3804
func (s DeleteLayerInput) String() string {
3805
return awsutil.Prettify(s)
3808
// GoString returns the string representation
3809
func (s DeleteLayerInput) GoString() string {
3813
type DeleteLayerOutput struct {
3814
metadataDeleteLayerOutput `json:"-" xml:"-"`
3817
type metadataDeleteLayerOutput struct {
3818
SDKShapeTraits bool `type:"structure"`
3821
// String returns the string representation
3822
func (s DeleteLayerOutput) String() string {
3823
return awsutil.Prettify(s)
3826
// GoString returns the string representation
3827
func (s DeleteLayerOutput) GoString() string {
3831
type DeleteStackInput struct {
3833
StackId *string `type:"string" required:"true"`
3835
metadataDeleteStackInput `json:"-" xml:"-"`
3838
type metadataDeleteStackInput struct {
3839
SDKShapeTraits bool `type:"structure"`
3842
// String returns the string representation
3843
func (s DeleteStackInput) String() string {
3844
return awsutil.Prettify(s)
3847
// GoString returns the string representation
3848
func (s DeleteStackInput) GoString() string {
3852
type DeleteStackOutput struct {
3853
metadataDeleteStackOutput `json:"-" xml:"-"`
3856
type metadataDeleteStackOutput struct {
3857
SDKShapeTraits bool `type:"structure"`
3860
// String returns the string representation
3861
func (s DeleteStackOutput) String() string {
3862
return awsutil.Prettify(s)
3865
// GoString returns the string representation
3866
func (s DeleteStackOutput) GoString() string {
3870
type DeleteUserProfileInput struct {
3871
// The user's IAM ARN.
3872
IamUserArn *string `type:"string" required:"true"`
3874
metadataDeleteUserProfileInput `json:"-" xml:"-"`
3877
type metadataDeleteUserProfileInput struct {
3878
SDKShapeTraits bool `type:"structure"`
3881
// String returns the string representation
3882
func (s DeleteUserProfileInput) String() string {
3883
return awsutil.Prettify(s)
3886
// GoString returns the string representation
3887
func (s DeleteUserProfileInput) GoString() string {
3891
type DeleteUserProfileOutput struct {
3892
metadataDeleteUserProfileOutput `json:"-" xml:"-"`
3895
type metadataDeleteUserProfileOutput struct {
3896
SDKShapeTraits bool `type:"structure"`
3899
// String returns the string representation
3900
func (s DeleteUserProfileOutput) String() string {
3901
return awsutil.Prettify(s)
3904
// GoString returns the string representation
3905
func (s DeleteUserProfileOutput) GoString() string {
3909
// Describes a deployment of a stack or app.
3910
type Deployment struct {
3912
AppId *string `type:"string"`
3914
// Used to specify a stack or deployment command.
3915
Command *DeploymentCommand `type:"structure"`
3917
// A user-defined comment.
3918
Comment *string `type:"string"`
3920
// Date when the deployment completed.
3921
CompletedAt *string `type:"string"`
3923
// Date when the deployment was created.
3924
CreatedAt *string `type:"string"`
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 '"':
3931
// "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
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"`
3937
// The deployment ID.
3938
DeploymentId *string `type:"string"`
3940
// The deployment duration.
3941
Duration *int64 `type:"integer"`
3943
// The user's IAM ARN.
3944
IamUserArn *string `type:"string"`
3946
// The IDs of the target instances.
3947
InstanceIds []*string `type:"list"`
3950
StackId *string `type:"string"`
3952
// The deployment status:
3954
// running successful failed
3955
Status *string `type:"string"`
3957
metadataDeployment `json:"-" xml:"-"`
3960
type metadataDeployment struct {
3961
SDKShapeTraits bool `type:"structure"`
3964
// String returns the string representation
3965
func (s Deployment) String() string {
3966
return awsutil.Prettify(s)
3969
// GoString returns the string representation
3970
func (s Deployment) GoString() string {
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:
3979
// {"arg_name1" : ["value1", "value2", ...], "arg_name2" : ["value1", "value2",
3982
// The update_dependencies command takes two arguments:
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.
3992
// { "upgrade_os_to":["Amazon Linux 2014.09"], "allow_reboot":["true"] }
3993
Args map[string][]*string `type:"map"`
3995
// Specifies the operation. You can specify only one command.
3997
// For stacks, the following commands are available:
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
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
4018
Name *string `type:"string" required:"true" enum:"DeploymentCommandName"`
4020
metadataDeploymentCommand `json:"-" xml:"-"`
4023
type metadataDeploymentCommand struct {
4024
SDKShapeTraits bool `type:"structure"`
4027
// String returns the string representation
4028
func (s DeploymentCommand) String() string {
4029
return awsutil.Prettify(s)
4032
// GoString returns the string representation
4033
func (s DeploymentCommand) GoString() string {
4037
type DeregisterEcsClusterInput struct {
4038
// The cluster's ARN.
4039
EcsClusterArn *string `type:"string" required:"true"`
4041
metadataDeregisterEcsClusterInput `json:"-" xml:"-"`
4044
type metadataDeregisterEcsClusterInput struct {
4045
SDKShapeTraits bool `type:"structure"`
4048
// String returns the string representation
4049
func (s DeregisterEcsClusterInput) String() string {
4050
return awsutil.Prettify(s)
4053
// GoString returns the string representation
4054
func (s DeregisterEcsClusterInput) GoString() string {
4058
type DeregisterEcsClusterOutput struct {
4059
metadataDeregisterEcsClusterOutput `json:"-" xml:"-"`
4062
type metadataDeregisterEcsClusterOutput struct {
4063
SDKShapeTraits bool `type:"structure"`
4066
// String returns the string representation
4067
func (s DeregisterEcsClusterOutput) String() string {
4068
return awsutil.Prettify(s)
4071
// GoString returns the string representation
4072
func (s DeregisterEcsClusterOutput) GoString() string {
4076
type DeregisterElasticIpInput struct {
4077
// The Elastic IP address.
4078
ElasticIp *string `type:"string" required:"true"`
4080
metadataDeregisterElasticIpInput `json:"-" xml:"-"`
4083
type metadataDeregisterElasticIpInput struct {
4084
SDKShapeTraits bool `type:"structure"`
4087
// String returns the string representation
4088
func (s DeregisterElasticIpInput) String() string {
4089
return awsutil.Prettify(s)
4092
// GoString returns the string representation
4093
func (s DeregisterElasticIpInput) GoString() string {
4097
type DeregisterElasticIpOutput struct {
4098
metadataDeregisterElasticIpOutput `json:"-" xml:"-"`
4101
type metadataDeregisterElasticIpOutput struct {
4102
SDKShapeTraits bool `type:"structure"`
4105
// String returns the string representation
4106
func (s DeregisterElasticIpOutput) String() string {
4107
return awsutil.Prettify(s)
4110
// GoString returns the string representation
4111
func (s DeregisterElasticIpOutput) GoString() string {
4115
type DeregisterInstanceInput struct {
4117
InstanceId *string `type:"string" required:"true"`
4119
metadataDeregisterInstanceInput `json:"-" xml:"-"`
4122
type metadataDeregisterInstanceInput struct {
4123
SDKShapeTraits bool `type:"structure"`
4126
// String returns the string representation
4127
func (s DeregisterInstanceInput) String() string {
4128
return awsutil.Prettify(s)
4131
// GoString returns the string representation
4132
func (s DeregisterInstanceInput) GoString() string {
4136
type DeregisterInstanceOutput struct {
4137
metadataDeregisterInstanceOutput `json:"-" xml:"-"`
4140
type metadataDeregisterInstanceOutput struct {
4141
SDKShapeTraits bool `type:"structure"`
4144
// String returns the string representation
4145
func (s DeregisterInstanceOutput) String() string {
4146
return awsutil.Prettify(s)
4149
// GoString returns the string representation
4150
func (s DeregisterInstanceOutput) GoString() string {
4154
type DeregisterRdsDbInstanceInput struct {
4155
// The Amazon RDS instance's ARN.
4156
RdsDbInstanceArn *string `type:"string" required:"true"`
4158
metadataDeregisterRdsDbInstanceInput `json:"-" xml:"-"`
4161
type metadataDeregisterRdsDbInstanceInput struct {
4162
SDKShapeTraits bool `type:"structure"`
4165
// String returns the string representation
4166
func (s DeregisterRdsDbInstanceInput) String() string {
4167
return awsutil.Prettify(s)
4170
// GoString returns the string representation
4171
func (s DeregisterRdsDbInstanceInput) GoString() string {
4175
type DeregisterRdsDbInstanceOutput struct {
4176
metadataDeregisterRdsDbInstanceOutput `json:"-" xml:"-"`
4179
type metadataDeregisterRdsDbInstanceOutput struct {
4180
SDKShapeTraits bool `type:"structure"`
4183
// String returns the string representation
4184
func (s DeregisterRdsDbInstanceOutput) String() string {
4185
return awsutil.Prettify(s)
4188
// GoString returns the string representation
4189
func (s DeregisterRdsDbInstanceOutput) GoString() string {
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
4197
VolumeId *string `type:"string" required:"true"`
4199
metadataDeregisterVolumeInput `json:"-" xml:"-"`
4202
type metadataDeregisterVolumeInput struct {
4203
SDKShapeTraits bool `type:"structure"`
4206
// String returns the string representation
4207
func (s DeregisterVolumeInput) String() string {
4208
return awsutil.Prettify(s)
4211
// GoString returns the string representation
4212
func (s DeregisterVolumeInput) GoString() string {
4216
type DeregisterVolumeOutput struct {
4217
metadataDeregisterVolumeOutput `json:"-" xml:"-"`
4220
type metadataDeregisterVolumeOutput struct {
4221
SDKShapeTraits bool `type:"structure"`
4224
// String returns the string representation
4225
func (s DeregisterVolumeOutput) String() string {
4226
return awsutil.Prettify(s)
4229
// GoString returns the string representation
4230
func (s DeregisterVolumeOutput) GoString() string {
4234
type DescribeAgentVersionsInput struct {
4235
// The configuration manager.
4236
ConfigurationManager *StackConfigurationManager `type:"structure"`
4239
StackId *string `type:"string"`
4241
metadataDescribeAgentVersionsInput `json:"-" xml:"-"`
4244
type metadataDescribeAgentVersionsInput struct {
4245
SDKShapeTraits bool `type:"structure"`
4248
// String returns the string representation
4249
func (s DescribeAgentVersionsInput) String() string {
4250
return awsutil.Prettify(s)
4253
// GoString returns the string representation
4254
func (s DescribeAgentVersionsInput) GoString() string {
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"`
4265
metadataDescribeAgentVersionsOutput `json:"-" xml:"-"`
4268
type metadataDescribeAgentVersionsOutput struct {
4269
SDKShapeTraits bool `type:"structure"`
4272
// String returns the string representation
4273
func (s DescribeAgentVersionsOutput) String() string {
4274
return awsutil.Prettify(s)
4277
// GoString returns the string representation
4278
func (s DescribeAgentVersionsOutput) GoString() string {
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"`
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"`
4292
metadataDescribeAppsInput `json:"-" xml:"-"`
4295
type metadataDescribeAppsInput struct {
4296
SDKShapeTraits bool `type:"structure"`
4299
// String returns the string representation
4300
func (s DescribeAppsInput) String() string {
4301
return awsutil.Prettify(s)
4304
// GoString returns the string representation
4305
func (s DescribeAppsInput) GoString() string {
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"`
4314
metadataDescribeAppsOutput `json:"-" xml:"-"`
4317
type metadataDescribeAppsOutput struct {
4318
SDKShapeTraits bool `type:"structure"`
4321
// String returns the string representation
4322
func (s DescribeAppsOutput) String() string {
4323
return awsutil.Prettify(s)
4326
// GoString returns the string representation
4327
func (s DescribeAppsOutput) GoString() string {
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"`
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"`
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"`
4345
metadataDescribeCommandsInput `json:"-" xml:"-"`
4348
type metadataDescribeCommandsInput struct {
4349
SDKShapeTraits bool `type:"structure"`
4352
// String returns the string representation
4353
func (s DescribeCommandsInput) String() string {
4354
return awsutil.Prettify(s)
4357
// GoString returns the string representation
4358
func (s DescribeCommandsInput) GoString() string {
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"`
4367
metadataDescribeCommandsOutput `json:"-" xml:"-"`
4370
type metadataDescribeCommandsOutput struct {
4371
SDKShapeTraits bool `type:"structure"`
4374
// String returns the string representation
4375
func (s DescribeCommandsOutput) String() string {
4376
return awsutil.Prettify(s)
4379
// GoString returns the string representation
4380
func (s DescribeCommandsOutput) GoString() string {
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"`
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"`
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"`
4398
metadataDescribeDeploymentsInput `json:"-" xml:"-"`
4401
type metadataDescribeDeploymentsInput struct {
4402
SDKShapeTraits bool `type:"structure"`
4405
// String returns the string representation
4406
func (s DescribeDeploymentsInput) String() string {
4407
return awsutil.Prettify(s)
4410
// GoString returns the string representation
4411
func (s DescribeDeploymentsInput) GoString() string {
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"`
4420
metadataDescribeDeploymentsOutput `json:"-" xml:"-"`
4423
type metadataDescribeDeploymentsOutput struct {
4424
SDKShapeTraits bool `type:"structure"`
4427
// String returns the string representation
4428
func (s DescribeDeploymentsOutput) String() string {
4429
return awsutil.Prettify(s)
4432
// GoString returns the string representation
4433
func (s DescribeDeploymentsOutput) GoString() string {
4437
type DescribeEcsClustersInput struct {
4438
// A list of ARNs, one for each cluster to be described.
4439
EcsClusterArns []*string `type:"list"`
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
4446
MaxResults *int64 `type:"integer"`
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"`
4455
// A stack ID. DescribeEcsClusters returns a description of the cluster that
4456
// is registered with the stack.
4457
StackId *string `type:"string"`
4459
metadataDescribeEcsClustersInput `json:"-" xml:"-"`
4462
type metadataDescribeEcsClustersInput struct {
4463
SDKShapeTraits bool `type:"structure"`
4466
// String returns the string representation
4467
func (s DescribeEcsClustersInput) String() string {
4468
return awsutil.Prettify(s)
4471
// GoString returns the string representation
4472
func (s DescribeEcsClustersInput) GoString() string {
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"`
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"`
4487
metadataDescribeEcsClustersOutput `json:"-" xml:"-"`
4490
type metadataDescribeEcsClustersOutput struct {
4491
SDKShapeTraits bool `type:"structure"`
4494
// String returns the string representation
4495
func (s DescribeEcsClustersOutput) String() string {
4496
return awsutil.Prettify(s)
4499
// GoString returns the string representation
4500
func (s DescribeEcsClustersOutput) GoString() string {
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"`
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"`
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"`
4518
metadataDescribeElasticIpsInput `json:"-" xml:"-"`
4521
type metadataDescribeElasticIpsInput struct {
4522
SDKShapeTraits bool `type:"structure"`
4525
// String returns the string representation
4526
func (s DescribeElasticIpsInput) String() string {
4527
return awsutil.Prettify(s)
4530
// GoString returns the string representation
4531
func (s DescribeElasticIpsInput) GoString() string {
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"`
4540
metadataDescribeElasticIpsOutput `json:"-" xml:"-"`
4543
type metadataDescribeElasticIpsOutput struct {
4544
SDKShapeTraits bool `type:"structure"`
4547
// String returns the string representation
4548
func (s DescribeElasticIpsOutput) String() string {
4549
return awsutil.Prettify(s)
4552
// GoString returns the string representation
4553
func (s DescribeElasticIpsOutput) GoString() string {
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"`
4562
// A stack ID. The action describes the stack's Elastic Load Balancing instances.
4563
StackId *string `type:"string"`
4565
metadataDescribeElasticLoadBalancersInput `json:"-" xml:"-"`
4568
type metadataDescribeElasticLoadBalancersInput struct {
4569
SDKShapeTraits bool `type:"structure"`
4572
// String returns the string representation
4573
func (s DescribeElasticLoadBalancersInput) String() string {
4574
return awsutil.Prettify(s)
4577
// GoString returns the string representation
4578
func (s DescribeElasticLoadBalancersInput) GoString() string {
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"`
4588
metadataDescribeElasticLoadBalancersOutput `json:"-" xml:"-"`
4591
type metadataDescribeElasticLoadBalancersOutput struct {
4592
SDKShapeTraits bool `type:"structure"`
4595
// String returns the string representation
4596
func (s DescribeElasticLoadBalancersOutput) String() string {
4597
return awsutil.Prettify(s)
4600
// GoString returns the string representation
4601
func (s DescribeElasticLoadBalancersOutput) GoString() string {
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"`
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"`
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"`
4619
metadataDescribeInstancesInput `json:"-" xml:"-"`
4622
type metadataDescribeInstancesInput struct {
4623
SDKShapeTraits bool `type:"structure"`
4626
// String returns the string representation
4627
func (s DescribeInstancesInput) String() string {
4628
return awsutil.Prettify(s)
4631
// GoString returns the string representation
4632
func (s DescribeInstancesInput) GoString() string {
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"`
4641
metadataDescribeInstancesOutput `json:"-" xml:"-"`
4644
type metadataDescribeInstancesOutput struct {
4645
SDKShapeTraits bool `type:"structure"`
4648
// String returns the string representation
4649
func (s DescribeInstancesOutput) String() string {
4650
return awsutil.Prettify(s)
4653
// GoString returns the string representation
4654
func (s DescribeInstancesOutput) GoString() string {
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
4662
LayerIds []*string `type:"list"`
4665
StackId *string `type:"string"`
4667
metadataDescribeLayersInput `json:"-" xml:"-"`
4670
type metadataDescribeLayersInput struct {
4671
SDKShapeTraits bool `type:"structure"`
4674
// String returns the string representation
4675
func (s DescribeLayersInput) String() string {
4676
return awsutil.Prettify(s)
4679
// GoString returns the string representation
4680
func (s DescribeLayersInput) GoString() string {
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"`
4689
metadataDescribeLayersOutput `json:"-" xml:"-"`
4692
type metadataDescribeLayersOutput struct {
4693
SDKShapeTraits bool `type:"structure"`
4696
// String returns the string representation
4697
func (s DescribeLayersOutput) String() string {
4698
return awsutil.Prettify(s)
4701
// GoString returns the string representation
4702
func (s DescribeLayersOutput) GoString() string {
4706
type DescribeLoadBasedAutoScalingInput struct {
4707
// An array of layer IDs.
4708
LayerIds []*string `type:"list" required:"true"`
4710
metadataDescribeLoadBasedAutoScalingInput `json:"-" xml:"-"`
4713
type metadataDescribeLoadBasedAutoScalingInput struct {
4714
SDKShapeTraits bool `type:"structure"`
4717
// String returns the string representation
4718
func (s DescribeLoadBasedAutoScalingInput) String() string {
4719
return awsutil.Prettify(s)
4722
// GoString returns the string representation
4723
func (s DescribeLoadBasedAutoScalingInput) GoString() string {
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"`
4733
metadataDescribeLoadBasedAutoScalingOutput `json:"-" xml:"-"`
4736
type metadataDescribeLoadBasedAutoScalingOutput struct {
4737
SDKShapeTraits bool `type:"structure"`
4740
// String returns the string representation
4741
func (s DescribeLoadBasedAutoScalingOutput) String() string {
4742
return awsutil.Prettify(s)
4745
// GoString returns the string representation
4746
func (s DescribeLoadBasedAutoScalingOutput) GoString() string {
4750
type DescribeMyUserProfileInput struct {
4751
metadataDescribeMyUserProfileInput `json:"-" xml:"-"`
4754
type metadataDescribeMyUserProfileInput struct {
4755
SDKShapeTraits bool `type:"structure"`
4758
// String returns the string representation
4759
func (s DescribeMyUserProfileInput) String() string {
4760
return awsutil.Prettify(s)
4763
// GoString returns the string representation
4764
func (s DescribeMyUserProfileInput) GoString() string {
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"`
4773
metadataDescribeMyUserProfileOutput `json:"-" xml:"-"`
4776
type metadataDescribeMyUserProfileOutput struct {
4777
SDKShapeTraits bool `type:"structure"`
4780
// String returns the string representation
4781
func (s DescribeMyUserProfileOutput) String() string {
4782
return awsutil.Prettify(s)
4785
// GoString returns the string representation
4786
func (s DescribeMyUserProfileOutput) GoString() string {
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"`
4796
StackId *string `type:"string"`
4798
metadataDescribePermissionsInput `json:"-" xml:"-"`
4801
type metadataDescribePermissionsInput struct {
4802
SDKShapeTraits bool `type:"structure"`
4805
// String returns the string representation
4806
func (s DescribePermissionsInput) String() string {
4807
return awsutil.Prettify(s)
4810
// GoString returns the string representation
4811
func (s DescribePermissionsInput) GoString() string {
4815
// Contains the response to a DescribePermissions request.
4816
type DescribePermissionsOutput struct {
4817
// An array of Permission objects that describe the stack permissions.
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"`
4827
metadataDescribePermissionsOutput `json:"-" xml:"-"`
4830
type metadataDescribePermissionsOutput struct {
4831
SDKShapeTraits bool `type:"structure"`
4834
// String returns the string representation
4835
func (s DescribePermissionsOutput) String() string {
4836
return awsutil.Prettify(s)
4839
// GoString returns the string representation
4840
func (s DescribePermissionsOutput) GoString() string {
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"`
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
4852
RaidArrayIds []*string `type:"list"`
4855
StackId *string `type:"string"`
4857
metadataDescribeRaidArraysInput `json:"-" xml:"-"`
4860
type metadataDescribeRaidArraysInput struct {
4861
SDKShapeTraits bool `type:"structure"`
4864
// String returns the string representation
4865
func (s DescribeRaidArraysInput) String() string {
4866
return awsutil.Prettify(s)
4869
// GoString returns the string representation
4870
func (s DescribeRaidArraysInput) GoString() string {
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"`
4879
metadataDescribeRaidArraysOutput `json:"-" xml:"-"`
4882
type metadataDescribeRaidArraysOutput struct {
4883
SDKShapeTraits bool `type:"structure"`
4886
// String returns the string representation
4887
func (s DescribeRaidArraysOutput) String() string {
4888
return awsutil.Prettify(s)
4891
// GoString returns the string representation
4892
func (s DescribeRaidArraysOutput) GoString() string {
4896
type DescribeRdsDbInstancesInput struct {
4897
// An array containing the ARNs of the instances to be described.
4898
RdsDbInstanceArns []*string `type:"list"`
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"`
4904
metadataDescribeRdsDbInstancesInput `json:"-" xml:"-"`
4907
type metadataDescribeRdsDbInstancesInput struct {
4908
SDKShapeTraits bool `type:"structure"`
4911
// String returns the string representation
4912
func (s DescribeRdsDbInstancesInput) String() string {
4913
return awsutil.Prettify(s)
4916
// GoString returns the string representation
4917
func (s DescribeRdsDbInstancesInput) GoString() string {
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"`
4926
metadataDescribeRdsDbInstancesOutput `json:"-" xml:"-"`
4929
type metadataDescribeRdsDbInstancesOutput struct {
4930
SDKShapeTraits bool `type:"structure"`
4933
// String returns the string representation
4934
func (s DescribeRdsDbInstancesOutput) String() string {
4935
return awsutil.Prettify(s)
4938
// GoString returns the string representation
4939
func (s DescribeRdsDbInstancesOutput) GoString() string {
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"`
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
4951
ServiceErrorIds []*string `type:"list"`
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"`
4957
metadataDescribeServiceErrorsInput `json:"-" xml:"-"`
4960
type metadataDescribeServiceErrorsInput struct {
4961
SDKShapeTraits bool `type:"structure"`
4964
// String returns the string representation
4965
func (s DescribeServiceErrorsInput) String() string {
4966
return awsutil.Prettify(s)
4969
// GoString returns the string representation
4970
func (s DescribeServiceErrorsInput) GoString() string {
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"`
4979
metadataDescribeServiceErrorsOutput `json:"-" xml:"-"`
4982
type metadataDescribeServiceErrorsOutput struct {
4983
SDKShapeTraits bool `type:"structure"`
4986
// String returns the string representation
4987
func (s DescribeServiceErrorsOutput) String() string {
4988
return awsutil.Prettify(s)
4991
// GoString returns the string representation
4992
func (s DescribeServiceErrorsOutput) GoString() string {
4996
type DescribeStackProvisioningParametersInput struct {
4998
StackId *string `type:"string" required:"true"`
5000
metadataDescribeStackProvisioningParametersInput `json:"-" xml:"-"`
5003
type metadataDescribeStackProvisioningParametersInput struct {
5004
SDKShapeTraits bool `type:"structure"`
5007
// String returns the string representation
5008
func (s DescribeStackProvisioningParametersInput) String() string {
5009
return awsutil.Prettify(s)
5012
// GoString returns the string representation
5013
func (s DescribeStackProvisioningParametersInput) GoString() string {
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"`
5022
// An embedded object that contains the provisioning parameters.
5023
Parameters map[string]*string `type:"map"`
5025
metadataDescribeStackProvisioningParametersOutput `json:"-" xml:"-"`
5028
type metadataDescribeStackProvisioningParametersOutput struct {
5029
SDKShapeTraits bool `type:"structure"`
5032
// String returns the string representation
5033
func (s DescribeStackProvisioningParametersOutput) String() string {
5034
return awsutil.Prettify(s)
5037
// GoString returns the string representation
5038
func (s DescribeStackProvisioningParametersOutput) GoString() string {
5042
type DescribeStackSummaryInput struct {
5044
StackId *string `type:"string" required:"true"`
5046
metadataDescribeStackSummaryInput `json:"-" xml:"-"`
5049
type metadataDescribeStackSummaryInput struct {
5050
SDKShapeTraits bool `type:"structure"`
5053
// String returns the string representation
5054
func (s DescribeStackSummaryInput) String() string {
5055
return awsutil.Prettify(s)
5058
// GoString returns the string representation
5059
func (s DescribeStackSummaryInput) GoString() string {
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"`
5068
metadataDescribeStackSummaryOutput `json:"-" xml:"-"`
5071
type metadataDescribeStackSummaryOutput struct {
5072
SDKShapeTraits bool `type:"structure"`
5075
// String returns the string representation
5076
func (s DescribeStackSummaryOutput) String() string {
5077
return awsutil.Prettify(s)
5080
// GoString returns the string representation
5081
func (s DescribeStackSummaryOutput) GoString() string {
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"`
5090
metadataDescribeStacksInput `json:"-" xml:"-"`
5093
type metadataDescribeStacksInput struct {
5094
SDKShapeTraits bool `type:"structure"`
5097
// String returns the string representation
5098
func (s DescribeStacksInput) String() string {
5099
return awsutil.Prettify(s)
5102
// GoString returns the string representation
5103
func (s DescribeStacksInput) GoString() string {
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"`
5112
metadataDescribeStacksOutput `json:"-" xml:"-"`
5115
type metadataDescribeStacksOutput struct {
5116
SDKShapeTraits bool `type:"structure"`
5119
// String returns the string representation
5120
func (s DescribeStacksOutput) String() string {
5121
return awsutil.Prettify(s)
5124
// GoString returns the string representation
5125
func (s DescribeStacksOutput) GoString() string {
5129
type DescribeTimeBasedAutoScalingInput struct {
5130
// An array of instance IDs.
5131
InstanceIds []*string `type:"list" required:"true"`
5133
metadataDescribeTimeBasedAutoScalingInput `json:"-" xml:"-"`
5136
type metadataDescribeTimeBasedAutoScalingInput struct {
5137
SDKShapeTraits bool `type:"structure"`
5140
// String returns the string representation
5141
func (s DescribeTimeBasedAutoScalingInput) String() string {
5142
return awsutil.Prettify(s)
5145
// GoString returns the string representation
5146
func (s DescribeTimeBasedAutoScalingInput) GoString() string {
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"`
5156
metadataDescribeTimeBasedAutoScalingOutput `json:"-" xml:"-"`
5159
type metadataDescribeTimeBasedAutoScalingOutput struct {
5160
SDKShapeTraits bool `type:"structure"`
5163
// String returns the string representation
5164
func (s DescribeTimeBasedAutoScalingOutput) String() string {
5165
return awsutil.Prettify(s)
5168
// GoString returns the string representation
5169
func (s DescribeTimeBasedAutoScalingOutput) GoString() string {
5173
type DescribeUserProfilesInput struct {
5174
// An array of IAM user ARNs that identify the users to be described.
5175
IamUserArns []*string `type:"list"`
5177
metadataDescribeUserProfilesInput `json:"-" xml:"-"`
5180
type metadataDescribeUserProfilesInput struct {
5181
SDKShapeTraits bool `type:"structure"`
5184
// String returns the string representation
5185
func (s DescribeUserProfilesInput) String() string {
5186
return awsutil.Prettify(s)
5189
// GoString returns the string representation
5190
func (s DescribeUserProfilesInput) GoString() string {
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"`
5199
metadataDescribeUserProfilesOutput `json:"-" xml:"-"`
5202
type metadataDescribeUserProfilesOutput struct {
5203
SDKShapeTraits bool `type:"structure"`
5206
// String returns the string representation
5207
func (s DescribeUserProfilesOutput) String() string {
5208
return awsutil.Prettify(s)
5211
// GoString returns the string representation
5212
func (s DescribeUserProfilesOutput) GoString() string {
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"`
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"`
5225
// A stack ID. The action describes the stack's registered Amazon EBS volumes.
5226
StackId *string `type:"string"`
5228
// Am array of volume IDs. If you use this parameter, DescribeVolumes returns
5229
// descriptions of the specified volumes. Otherwise, it returns a description
5231
VolumeIds []*string `type:"list"`
5233
metadataDescribeVolumesInput `json:"-" xml:"-"`
5236
type metadataDescribeVolumesInput struct {
5237
SDKShapeTraits bool `type:"structure"`
5240
// String returns the string representation
5241
func (s DescribeVolumesInput) String() string {
5242
return awsutil.Prettify(s)
5245
// GoString returns the string representation
5246
func (s DescribeVolumesInput) GoString() string {
5250
// Contains the response to a DescribeVolumes request.
5251
type DescribeVolumesOutput struct {
5252
// An array of volume IDs.
5253
Volumes []*Volume `type:"list"`
5255
metadataDescribeVolumesOutput `json:"-" xml:"-"`
5258
type metadataDescribeVolumesOutput struct {
5259
SDKShapeTraits bool `type:"structure"`
5262
// String returns the string representation
5263
func (s DescribeVolumesOutput) String() string {
5264
return awsutil.Prettify(s)
5267
// GoString returns the string representation
5268
func (s DescribeVolumesOutput) GoString() string {
5272
type DetachElasticLoadBalancerInput struct {
5273
// The Elastic Load Balancing instance's name.
5274
ElasticLoadBalancerName *string `type:"string" required:"true"`
5276
// The ID of the layer that the Elastic Load Balancing instance is attached
5278
LayerId *string `type:"string" required:"true"`
5280
metadataDetachElasticLoadBalancerInput `json:"-" xml:"-"`
5283
type metadataDetachElasticLoadBalancerInput struct {
5284
SDKShapeTraits bool `type:"structure"`
5287
// String returns the string representation
5288
func (s DetachElasticLoadBalancerInput) String() string {
5289
return awsutil.Prettify(s)
5292
// GoString returns the string representation
5293
func (s DetachElasticLoadBalancerInput) GoString() string {
5297
type DetachElasticLoadBalancerOutput struct {
5298
metadataDetachElasticLoadBalancerOutput `json:"-" xml:"-"`
5301
type metadataDetachElasticLoadBalancerOutput struct {
5302
SDKShapeTraits bool `type:"structure"`
5305
// String returns the string representation
5306
func (s DetachElasticLoadBalancerOutput) String() string {
5307
return awsutil.Prettify(s)
5310
// GoString returns the string representation
5311
func (s DetachElasticLoadBalancerOutput) GoString() string {
5315
type DisassociateElasticIpInput struct {
5316
// The Elastic IP address.
5317
ElasticIp *string `type:"string" required:"true"`
5319
metadataDisassociateElasticIpInput `json:"-" xml:"-"`
5322
type metadataDisassociateElasticIpInput struct {
5323
SDKShapeTraits bool `type:"structure"`
5326
// String returns the string representation
5327
func (s DisassociateElasticIpInput) String() string {
5328
return awsutil.Prettify(s)
5331
// GoString returns the string representation
5332
func (s DisassociateElasticIpInput) GoString() string {
5336
type DisassociateElasticIpOutput struct {
5337
metadataDisassociateElasticIpOutput `json:"-" xml:"-"`
5340
type metadataDisassociateElasticIpOutput struct {
5341
SDKShapeTraits bool `type:"structure"`
5344
// String returns the string representation
5345
func (s DisassociateElasticIpOutput) String() string {
5346
return awsutil.Prettify(s)
5349
// GoString returns the string representation
5350
func (s DisassociateElasticIpOutput) GoString() string {
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)
5357
type EbsBlockDevice struct {
5358
// Whether the volume is deleted on instance termination.
5359
DeleteOnTermination *bool `type:"boolean"`
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"`
5366
SnapshotId *string `type:"string"`
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"`
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"`
5375
metadataEbsBlockDevice `json:"-" xml:"-"`
5378
type metadataEbsBlockDevice struct {
5379
SDKShapeTraits bool `type:"structure"`
5382
// String returns the string representation
5383
func (s EbsBlockDevice) String() string {
5384
return awsutil.Prettify(s)
5387
// GoString returns the string representation
5388
func (s EbsBlockDevice) GoString() string {
5392
// Describes a registered Amazon ECS cluster.
5393
type EcsCluster struct {
5394
// The cluster's ARN.
5395
EcsClusterArn *string `type:"string"`
5397
// The cluster name.
5398
EcsClusterName *string `type:"string"`
5400
// The time and date that the cluster was registered with the stack.
5401
RegisteredAt *string `type:"string"`
5404
StackId *string `type:"string"`
5406
metadataEcsCluster `json:"-" xml:"-"`
5409
type metadataEcsCluster struct {
5410
SDKShapeTraits bool `type:"structure"`
5413
// String returns the string representation
5414
func (s EcsCluster) String() string {
5415
return awsutil.Prettify(s)
5418
// GoString returns the string representation
5419
func (s EcsCluster) GoString() string {
5423
// Describes an Elastic IP address.
5424
type ElasticIp struct {
5426
Domain *string `type:"string"`
5428
// The ID of the instance that the address is attached to.
5429
InstanceId *string `type:"string"`
5432
Ip *string `type:"string"`
5435
Name *string `type:"string"`
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"`
5440
metadataElasticIp `json:"-" xml:"-"`
5443
type metadataElasticIp struct {
5444
SDKShapeTraits bool `type:"structure"`
5447
// String returns the string representation
5448
func (s ElasticIp) String() string {
5449
return awsutil.Prettify(s)
5452
// GoString returns the string representation
5453
func (s ElasticIp) GoString() string {
5457
// Describes an Elastic Load Balancing instance.
5458
type ElasticLoadBalancer struct {
5459
// A list of Availability Zones.
5460
AvailabilityZones []*string `type:"list"`
5462
// The instance's public DNS name.
5463
DnsName *string `type:"string"`
5465
// A list of the EC2 instances that the Elastic Load Balancing instance is managing
5467
Ec2InstanceIds []*string `type:"list"`
5469
// The Elastic Load Balancing instance's name.
5470
ElasticLoadBalancerName *string `type:"string"`
5472
// The ID of the layer that the instance is attached to.
5473
LayerId *string `type:"string"`
5475
// The instance's AWS region.
5476
Region *string `type:"string"`
5478
// The ID of the stack that the instance is associated with.
5479
StackId *string `type:"string"`
5481
// A list of subnet IDs, if the stack is running in a VPC.
5482
SubnetIds []*string `type:"list"`
5485
VpcId *string `type:"string"`
5487
metadataElasticLoadBalancer `json:"-" xml:"-"`
5490
type metadataElasticLoadBalancer struct {
5491
SDKShapeTraits bool `type:"structure"`
5494
// String returns the string representation
5495
func (s ElasticLoadBalancer) String() string {
5496
return awsutil.Prettify(s)
5499
// GoString returns the string representation
5500
func (s ElasticLoadBalancer) GoString() string {
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
5510
Key *string `type:"string" required:"true"`
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"`
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
5521
Value *string `type:"string" required:"true"`
5523
metadataEnvironmentVariable `json:"-" xml:"-"`
5526
type metadataEnvironmentVariable struct {
5527
SDKShapeTraits bool `type:"structure"`
5530
// String returns the string representation
5531
func (s EnvironmentVariable) String() string {
5532
return awsutil.Prettify(s)
5535
// GoString returns the string representation
5536
func (s EnvironmentVariable) GoString() string {
5540
type GetHostnameSuggestionInput struct {
5542
LayerId *string `type:"string" required:"true"`
5544
metadataGetHostnameSuggestionInput `json:"-" xml:"-"`
5547
type metadataGetHostnameSuggestionInput struct {
5548
SDKShapeTraits bool `type:"structure"`
5551
// String returns the string representation
5552
func (s GetHostnameSuggestionInput) String() string {
5553
return awsutil.Prettify(s)
5556
// GoString returns the string representation
5557
func (s GetHostnameSuggestionInput) GoString() string {
5561
// Contains the response to a GetHostnameSuggestion request.
5562
type GetHostnameSuggestionOutput struct {
5563
// The generated host name.
5564
Hostname *string `type:"string"`
5567
LayerId *string `type:"string"`
5569
metadataGetHostnameSuggestionOutput `json:"-" xml:"-"`
5572
type metadataGetHostnameSuggestionOutput struct {
5573
SDKShapeTraits bool `type:"structure"`
5576
// String returns the string representation
5577
func (s GetHostnameSuggestionOutput) String() string {
5578
return awsutil.Prettify(s)
5581
// GoString returns the string representation
5582
func (s GetHostnameSuggestionOutput) GoString() string {
5586
type GrantAccessInput struct {
5587
// The instance's AWS OpsWorks ID.
5588
InstanceId *string `type:"string" required:"true"`
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"`
5596
metadataGrantAccessInput `json:"-" xml:"-"`
5599
type metadataGrantAccessInput struct {
5600
SDKShapeTraits bool `type:"structure"`
5603
// String returns the string representation
5604
func (s GrantAccessInput) String() string {
5605
return awsutil.Prettify(s)
5608
// GoString returns the string representation
5609
func (s GrantAccessInput) GoString() string {
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"`
5619
metadataGrantAccessOutput `json:"-" xml:"-"`
5622
type metadataGrantAccessOutput struct {
5623
SDKShapeTraits bool `type:"structure"`
5626
// String returns the string representation
5627
func (s GrantAccessOutput) String() string {
5628
return awsutil.Prettify(s)
5631
// GoString returns the string representation
5632
func (s GrantAccessOutput) GoString() string {
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"`
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"`
5646
// The instance architecture: "i386" or "x86_64".
5647
Architecture *string `type:"string" enum:"Architecture"`
5649
// For load-based or time-based instances, the type.
5650
AutoScalingType *string `type:"string" enum:"AutoScalingType"`
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"`
5656
// An array of BlockDeviceMapping objects that specify the instance's block
5658
BlockDeviceMappings []*BlockDeviceMapping `type:"list"`
5660
// The time that the instance was created.
5661
CreatedAt *string `type:"string"`
5663
// Whether this is an Amazon EBS-optimized instance.
5664
EbsOptimized *bool `type:"boolean"`
5666
// The ID of the associated Amazon EC2 instance.
5667
Ec2InstanceId *string `type:"string"`
5669
// For container instances, the Amazon ECS cluster's ARN.
5670
EcsClusterArn *string `type:"string"`
5672
// For container instances, the instance's ARN.
5673
EcsContainerInstanceArn *string `type:"string"`
5675
// The instance Elastic IP address (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html).
5676
ElasticIp *string `type:"string"`
5678
// The instance host name.
5679
Hostname *string `type:"string"`
5681
// For registered instances, the infrastructure class: ec2 or on-premises.
5682
InfrastructureClass *string `type:"string"`
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.
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"`
5695
InstanceId *string `type:"string"`
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"`
5701
// The instance type, such as t2.micro.
5702
InstanceType *string `type:"string"`
5704
// The ID of the last service error. For more information, call DescribeServiceErrors.
5705
LastServiceErrorId *string `type:"string"`
5707
// An array containing the instance layer IDs.
5708
LayerIds []*string `type:"list"`
5710
// The instance's operating system.
5711
Os *string `type:"string"`
5713
// The instance's platform.
5714
Platform *string `type:"string"`
5716
// The The instance's private DNS name.
5717
PrivateDns *string `type:"string"`
5719
// The instance's private IP address.
5720
PrivateIp *string `type:"string"`
5722
// The instance public DNS name.
5723
PublicDns *string `type:"string"`
5725
// The instance public IP address.
5726
PublicIp *string `type:"string"`
5728
// For registered instances, who performed the registration.
5729
RegisteredBy *string `type:"string"`
5731
// The instance's reported AWS OpsWorks agent version.
5732
ReportedAgentVersion *string `type:"string"`
5734
// For registered instances, the reported operating system.
5735
ReportedOs *ReportedOs `type:"structure"`
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"`
5741
// The root device volume ID.
5742
RootDeviceVolumeId *string `type:"string"`
5744
// An array containing the instance security group IDs.
5745
SecurityGroupIds []*string `type:"list"`
5747
// The SSH key's Deep Security Agent (DSA) fingerprint.
5748
SshHostDsaKeyFingerprint *string `type:"string"`
5750
// The SSH key's RSA fingerprint.
5751
SshHostRsaKeyFingerprint *string `type:"string"`
5753
// The instance's Amazon EC2 key-pair name.
5754
SshKeyName *string `type:"string"`
5757
StackId *string `type:"string"`
5759
// The instance status:
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"`
5766
// The instance's subnet ID; applicable only if the stack is running in a VPC.
5767
SubnetId *string `type:"string"`
5769
// The instance's virtualization type: paravirtual or hvm.
5770
VirtualizationType *string `type:"string" enum:"VirtualizationType"`
5772
metadataInstance `json:"-" xml:"-"`
5775
type metadataInstance struct {
5776
SDKShapeTraits bool `type:"structure"`
5779
// String returns the string representation
5780
func (s Instance) String() string {
5781
return awsutil.Prettify(s)
5784
// GoString returns the string representation
5785
func (s Instance) GoString() string {
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"`
5795
// A signature that can be used to verify the document's accuracy and authenticity.
5796
Signature *string `type:"string"`
5798
metadataInstanceIdentity `json:"-" xml:"-"`
5801
type metadataInstanceIdentity struct {
5802
SDKShapeTraits bool `type:"structure"`
5805
// String returns the string representation
5806
func (s InstanceIdentity) String() string {
5807
return awsutil.Prettify(s)
5810
// GoString returns the string representation
5811
func (s InstanceIdentity) GoString() string {
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"`
5820
// The number of instances with booting status.
5821
Booting *int64 `type:"integer"`
5823
// The number of instances with connection_lost status.
5824
ConnectionLost *int64 `type:"integer"`
5826
// The number of instances in the Deregistering state.
5827
Deregistering *int64 `type:"integer"`
5829
// The number of instances with online status.
5830
Online *int64 `type:"integer"`
5832
// The number of instances with pending status.
5833
Pending *int64 `type:"integer"`
5835
// The number of instances with rebooting status.
5836
Rebooting *int64 `type:"integer"`
5838
// The number of instances in the Registered state.
5839
Registered *int64 `type:"integer"`
5841
// The number of instances in the Registering state.
5842
Registering *int64 `type:"integer"`
5844
// The number of instances with requested status.
5845
Requested *int64 `type:"integer"`
5847
// The number of instances with running_setup status.
5848
RunningSetup *int64 `type:"integer"`
5850
// The number of instances with setup_failed status.
5851
SetupFailed *int64 `type:"integer"`
5853
// The number of instances with shutting_down status.
5854
ShuttingDown *int64 `type:"integer"`
5856
// The number of instances with start_failed status.
5857
StartFailed *int64 `type:"integer"`
5859
// The number of instances with stopped status.
5860
Stopped *int64 `type:"integer"`
5862
// The number of instances with stopping status.
5863
Stopping *int64 `type:"integer"`
5865
// The number of instances with terminated status.
5866
Terminated *int64 `type:"integer"`
5868
// The number of instances with terminating status.
5869
Terminating *int64 `type:"integer"`
5871
// The number of instances in the Unassigning state.
5872
Unassigning *int64 `type:"integer"`
5874
metadataInstancesCount `json:"-" xml:"-"`
5877
type metadataInstancesCount struct {
5878
SDKShapeTraits bool `type:"structure"`
5881
// String returns the string representation
5882
func (s InstancesCount) String() string {
5883
return awsutil.Prettify(s)
5886
// GoString returns the string representation
5887
func (s InstancesCount) GoString() string {
5891
// Describes a layer.
5893
// The layer attributes.
5895
// For the HaproxyStatsPassword, MysqlRootPassword, and GangliaPassword attributes,
5896
// AWS OpsWorks returns *****FILTERED***** instead of the actual value
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"`
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"`
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"`
5911
// Date when the layer was created.
5912
CreatedAt *string `type:"string"`
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"`
5918
// A JSON formatted string containing the layer's custom stack configuration
5919
// and deployment attributes.
5920
CustomJson *string `type:"string"`
5922
// A LayerCustomRecipes object that specifies the layer's custom recipes.
5923
CustomRecipes *Recipes `type:"structure"`
5925
// An array containing the layer's custom security group IDs.
5926
CustomSecurityGroupIds []*string `type:"list"`
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.
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"`
5941
// An array containing the layer's security group names.
5942
DefaultSecurityGroupNames []*string `type:"list"`
5944
// Whether auto healing is disabled for the layer.
5945
EnableAutoHealing *bool `type:"boolean"`
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.
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"`
5958
LayerId *string `type:"string"`
5960
// A LifeCycleEventConfiguration object that specifies the Shutdown event configuration.
5961
LifecycleEventConfiguration *LifecycleEventConfiguration `type:"structure"`
5964
Name *string `type:"string"`
5966
// An array of Package objects that describe the layer's packages.
5967
Packages []*string `type:"list"`
5969
// The layer short name.
5970
Shortname *string `type:"string"`
5972
// The layer stack ID.
5973
StackId *string `type:"string"`
5976
Type *string `type:"string" enum:"LayerType"`
5978
// Whether the layer uses Amazon EBS-optimized instances.
5979
UseEbsOptimizedInstances *bool `type:"boolean"`
5981
// A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
5982
VolumeConfigurations []*VolumeConfiguration `type:"list"`
5984
metadataLayer `json:"-" xml:"-"`
5987
type metadataLayer struct {
5988
SDKShapeTraits bool `type:"structure"`
5991
// String returns the string representation
5992
func (s Layer) String() string {
5993
return awsutil.Prettify(s)
5996
// GoString returns the string representation
5997
func (s Layer) GoString() string {
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"`
6006
metadataLifecycleEventConfiguration `json:"-" xml:"-"`
6009
type metadataLifecycleEventConfiguration struct {
6010
SDKShapeTraits bool `type:"structure"`
6013
// String returns the string representation
6014
func (s LifecycleEventConfiguration) String() string {
6015
return awsutil.Prettify(s)
6018
// GoString returns the string representation
6019
func (s LifecycleEventConfiguration) GoString() string {
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"`
6029
// Whether load-based auto scaling is enabled for the layer.
6030
Enable *bool `type:"boolean"`
6033
LayerId *string `type:"string"`
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"`
6039
metadataLoadBasedAutoScalingConfiguration `json:"-" xml:"-"`
6042
type metadataLoadBasedAutoScalingConfiguration struct {
6043
SDKShapeTraits bool `type:"structure"`
6046
// String returns the string representation
6047
func (s LoadBasedAutoScalingConfiguration) String() string {
6048
return awsutil.Prettify(s)
6051
// GoString returns the string representation
6052
func (s LoadBasedAutoScalingConfiguration) GoString() string {
6056
// Describes stack or user permissions.
6057
type Permission struct {
6058
// Whether the user can use SSH.
6059
AllowSsh *bool `type:"boolean"`
6061
// Whether the user can use sudo.
6062
AllowSudo *bool `type:"boolean"`
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"`
6068
// The user's permission level, which must be the following:
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"`
6075
StackId *string `type:"string"`
6077
metadataPermission `json:"-" xml:"-"`
6080
type metadataPermission struct {
6081
SDKShapeTraits bool `type:"structure"`
6084
// String returns the string representation
6085
func (s Permission) String() string {
6086
return awsutil.Prettify(s)
6089
// GoString returns the string representation
6090
func (s Permission) GoString() string {
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"`
6100
// When the RAID array was created.
6101
CreatedAt *string `type:"string"`
6103
// The array's Linux device. For example /dev/mdadm0.
6104
Device *string `type:"string"`
6107
InstanceId *string `type:"string"`
6109
// For PIOPS volumes, the IOPS per disk.
6110
Iops *int64 `type:"integer"`
6112
// The array's mount point.
6113
MountPoint *string `type:"string"`
6116
Name *string `type:"string"`
6118
// The number of disks in the array.
6119
NumberOfDisks *int64 `type:"integer"`
6122
RaidArrayId *string `type:"string"`
6124
// The RAID level (http://en.wikipedia.org/wiki/Standard_RAID_levels).
6125
RaidLevel *int64 `type:"integer"`
6127
// The array's size.
6128
Size *int64 `type:"integer"`
6131
StackId *string `type:"string"`
6133
// The volume type, standard or PIOPS.
6134
VolumeType *string `type:"string"`
6136
metadataRaidArray `json:"-" xml:"-"`
6139
type metadataRaidArray struct {
6140
SDKShapeTraits bool `type:"structure"`
6143
// String returns the string representation
6144
func (s RaidArray) String() string {
6145
return awsutil.Prettify(s)
6148
// GoString returns the string representation
6149
func (s RaidArray) GoString() string {
6153
// Describes an Amazon RDS instance.
6154
type RdsDbInstance struct {
6155
// The instance's address.
6156
Address *string `type:"string"`
6158
// The DB instance identifier.
6159
DbInstanceIdentifier *string `type:"string"`
6161
// AWS OpsWorks returns *****FILTERED***** instead of the actual value.
6162
DbPassword *string `type:"string"`
6164
// The master user name.
6165
DbUser *string `type:"string"`
6167
// The instance's database engine.
6168
Engine *string `type:"string"`
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"`
6175
// The instance's ARN.
6176
RdsDbInstanceArn *string `type:"string"`
6178
// The instance's AWS region.
6179
Region *string `type:"string"`
6181
// The ID of the stack that the instance is registered with.
6182
StackId *string `type:"string"`
6184
metadataRdsDbInstance `json:"-" xml:"-"`
6187
type metadataRdsDbInstance struct {
6188
SDKShapeTraits bool `type:"structure"`
6191
// String returns the string representation
6192
func (s RdsDbInstance) String() string {
6193
return awsutil.Prettify(s)
6196
// GoString returns the string representation
6197
func (s RdsDbInstance) GoString() string {
6201
type RebootInstanceInput struct {
6203
InstanceId *string `type:"string" required:"true"`
6205
metadataRebootInstanceInput `json:"-" xml:"-"`
6208
type metadataRebootInstanceInput struct {
6209
SDKShapeTraits bool `type:"structure"`
6212
// String returns the string representation
6213
func (s RebootInstanceInput) String() string {
6214
return awsutil.Prettify(s)
6217
// GoString returns the string representation
6218
func (s RebootInstanceInput) GoString() string {
6222
type RebootInstanceOutput struct {
6223
metadataRebootInstanceOutput `json:"-" xml:"-"`
6226
type metadataRebootInstanceOutput struct {
6227
SDKShapeTraits bool `type:"structure"`
6230
// String returns the string representation
6231
func (s RebootInstanceOutput) String() string {
6232
return awsutil.Prettify(s)
6235
// GoString returns the string representation
6236
func (s RebootInstanceOutput) GoString() string {
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.
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"`
6255
// An array of custom recipe names to be run following a deploy event.
6256
Deploy []*string `type:"list"`
6258
// An array of custom recipe names to be run following a setup event.
6259
Setup []*string `type:"list"`
6261
// An array of custom recipe names to be run following a shutdown event.
6262
Shutdown []*string `type:"list"`
6264
// An array of custom recipe names to be run following a undeploy event.
6265
Undeploy []*string `type:"list"`
6267
metadataRecipes `json:"-" xml:"-"`
6270
type metadataRecipes struct {
6271
SDKShapeTraits bool `type:"structure"`
6274
// String returns the string representation
6275
func (s Recipes) String() string {
6276
return awsutil.Prettify(s)
6279
// GoString returns the string representation
6280
func (s Recipes) GoString() string {
6284
type RegisterEcsClusterInput struct {
6285
// The cluster's ARN.
6286
EcsClusterArn *string `type:"string" required:"true"`
6289
StackId *string `type:"string" required:"true"`
6291
metadataRegisterEcsClusterInput `json:"-" xml:"-"`
6294
type metadataRegisterEcsClusterInput struct {
6295
SDKShapeTraits bool `type:"structure"`
6298
// String returns the string representation
6299
func (s RegisterEcsClusterInput) String() string {
6300
return awsutil.Prettify(s)
6303
// GoString returns the string representation
6304
func (s RegisterEcsClusterInput) GoString() string {
6308
// Contains the response to a RegisterEcsCluster request.
6309
type RegisterEcsClusterOutput struct {
6310
// The cluster's ARN.
6311
EcsClusterArn *string `type:"string"`
6313
metadataRegisterEcsClusterOutput `json:"-" xml:"-"`
6316
type metadataRegisterEcsClusterOutput struct {
6317
SDKShapeTraits bool `type:"structure"`
6320
// String returns the string representation
6321
func (s RegisterEcsClusterOutput) String() string {
6322
return awsutil.Prettify(s)
6325
// GoString returns the string representation
6326
func (s RegisterEcsClusterOutput) GoString() string {
6330
type RegisterElasticIpInput struct {
6331
// The Elastic IP address.
6332
ElasticIp *string `type:"string" required:"true"`
6335
StackId *string `type:"string" required:"true"`
6337
metadataRegisterElasticIpInput `json:"-" xml:"-"`
6340
type metadataRegisterElasticIpInput struct {
6341
SDKShapeTraits bool `type:"structure"`
6344
// String returns the string representation
6345
func (s RegisterElasticIpInput) String() string {
6346
return awsutil.Prettify(s)
6349
// GoString returns the string representation
6350
func (s RegisterElasticIpInput) GoString() string {
6354
// Contains the response to a RegisterElasticIp request.
6355
type RegisterElasticIpOutput struct {
6356
// The Elastic IP address.
6357
ElasticIp *string `type:"string"`
6359
metadataRegisterElasticIpOutput `json:"-" xml:"-"`
6362
type metadataRegisterElasticIpOutput struct {
6363
SDKShapeTraits bool `type:"structure"`
6366
// String returns the string representation
6367
func (s RegisterElasticIpOutput) String() string {
6368
return awsutil.Prettify(s)
6371
// GoString returns the string representation
6372
func (s RegisterElasticIpOutput) GoString() string {
6376
type RegisterInstanceInput struct {
6377
// The instance's hostname.
6378
Hostname *string `type:"string"`
6380
// An InstanceIdentity object that contains the instance's identity.
6381
InstanceIdentity *InstanceIdentity `type:"structure"`
6383
// The instance's private IP address.
6384
PrivateIp *string `type:"string"`
6386
// The instance's public IP address.
6387
PublicIp *string `type:"string"`
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"`
6393
// The instances public RSA key fingerprint.
6394
RsaPublicKeyFingerprint *string `type:"string"`
6396
// The ID of the stack that the instance is to be registered with.
6397
StackId *string `type:"string" required:"true"`
6399
metadataRegisterInstanceInput `json:"-" xml:"-"`
6402
type metadataRegisterInstanceInput struct {
6403
SDKShapeTraits bool `type:"structure"`
6406
// String returns the string representation
6407
func (s RegisterInstanceInput) String() string {
6408
return awsutil.Prettify(s)
6411
// GoString returns the string representation
6412
func (s RegisterInstanceInput) GoString() string {
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"`
6421
metadataRegisterInstanceOutput `json:"-" xml:"-"`
6424
type metadataRegisterInstanceOutput struct {
6425
SDKShapeTraits bool `type:"structure"`
6428
// String returns the string representation
6429
func (s RegisterInstanceOutput) String() string {
6430
return awsutil.Prettify(s)
6433
// GoString returns the string representation
6434
func (s RegisterInstanceOutput) GoString() string {
6438
type RegisterRdsDbInstanceInput struct {
6439
// The database password.
6440
DbPassword *string `type:"string" required:"true"`
6442
// The database's master user name.
6443
DbUser *string `type:"string" required:"true"`
6445
// The Amazon RDS instance's ARN.
6446
RdsDbInstanceArn *string `type:"string" required:"true"`
6449
StackId *string `type:"string" required:"true"`
6451
metadataRegisterRdsDbInstanceInput `json:"-" xml:"-"`
6454
type metadataRegisterRdsDbInstanceInput struct {
6455
SDKShapeTraits bool `type:"structure"`
6458
// String returns the string representation
6459
func (s RegisterRdsDbInstanceInput) String() string {
6460
return awsutil.Prettify(s)
6463
// GoString returns the string representation
6464
func (s RegisterRdsDbInstanceInput) GoString() string {
6468
type RegisterRdsDbInstanceOutput struct {
6469
metadataRegisterRdsDbInstanceOutput `json:"-" xml:"-"`
6472
type metadataRegisterRdsDbInstanceOutput struct {
6473
SDKShapeTraits bool `type:"structure"`
6476
// String returns the string representation
6477
func (s RegisterRdsDbInstanceOutput) String() string {
6478
return awsutil.Prettify(s)
6481
// GoString returns the string representation
6482
func (s RegisterRdsDbInstanceOutput) GoString() string {
6486
type RegisterVolumeInput struct {
6487
// The Amazon EBS volume ID.
6488
Ec2VolumeId *string `type:"string"`
6491
StackId *string `type:"string" required:"true"`
6493
metadataRegisterVolumeInput `json:"-" xml:"-"`
6496
type metadataRegisterVolumeInput struct {
6497
SDKShapeTraits bool `type:"structure"`
6500
// String returns the string representation
6501
func (s RegisterVolumeInput) String() string {
6502
return awsutil.Prettify(s)
6505
// GoString returns the string representation
6506
func (s RegisterVolumeInput) GoString() string {
6510
// Contains the response to a RegisterVolume request.
6511
type RegisterVolumeOutput struct {
6513
VolumeId *string `type:"string"`
6515
metadataRegisterVolumeOutput `json:"-" xml:"-"`
6518
type metadataRegisterVolumeOutput struct {
6519
SDKShapeTraits bool `type:"structure"`
6522
// String returns the string representation
6523
func (s RegisterVolumeOutput) String() string {
6524
return awsutil.Prettify(s)
6527
// GoString returns the string representation
6528
func (s RegisterVolumeOutput) GoString() string {
6532
// A registered instance's reported operating system.
6533
type ReportedOs struct {
6534
// The operating system family.
6535
Family *string `type:"string"`
6537
// The operating system name.
6538
Name *string `type:"string"`
6540
// The operating system version.
6541
Version *string `type:"string"`
6543
metadataReportedOs `json:"-" xml:"-"`
6546
type metadataReportedOs struct {
6547
SDKShapeTraits bool `type:"structure"`
6550
// String returns the string representation
6551
func (s ReportedOs) String() string {
6552
return awsutil.Prettify(s)
6555
// GoString returns the string representation
6556
func (s ReportedOs) GoString() string {
6560
// Describes a user's SSH information.
6561
type SelfUserProfile struct {
6562
// The user's IAM ARN.
6563
IamUserArn *string `type:"string"`
6566
Name *string `type:"string"`
6568
// The user's SSH public key.
6569
SshPublicKey *string `type:"string"`
6571
// The user's SSH user name.
6572
SshUsername *string `type:"string"`
6574
metadataSelfUserProfile `json:"-" xml:"-"`
6577
type metadataSelfUserProfile struct {
6578
SDKShapeTraits bool `type:"structure"`
6581
// String returns the string representation
6582
func (s SelfUserProfile) String() string {
6583
return awsutil.Prettify(s)
6586
// GoString returns the string representation
6587
func (s SelfUserProfile) GoString() string {
6591
// Describes an AWS OpsWorks service error.
6592
type ServiceError struct {
6593
// When the error occurred.
6594
CreatedAt *string `type:"string"`
6597
InstanceId *string `type:"string"`
6599
// A message that describes the error.
6600
Message *string `type:"string"`
6603
ServiceErrorId *string `type:"string"`
6606
StackId *string `type:"string"`
6609
Type *string `type:"string"`
6611
metadataServiceError `json:"-" xml:"-"`
6614
type metadataServiceError struct {
6615
SDKShapeTraits bool `type:"structure"`
6618
// String returns the string representation
6619
func (s ServiceError) String() string {
6620
return awsutil.Prettify(s)
6623
// GoString returns the string representation
6624
func (s ServiceError) GoString() string {
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"`
6634
// Enables load-based auto scaling for the layer.
6635
Enable *bool `type:"boolean"`
6638
LayerId *string `type:"string" required:"true"`
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"`
6645
metadataSetLoadBasedAutoScalingInput `json:"-" xml:"-"`
6648
type metadataSetLoadBasedAutoScalingInput struct {
6649
SDKShapeTraits bool `type:"structure"`
6652
// String returns the string representation
6653
func (s SetLoadBasedAutoScalingInput) String() string {
6654
return awsutil.Prettify(s)
6657
// GoString returns the string representation
6658
func (s SetLoadBasedAutoScalingInput) GoString() string {
6662
type SetLoadBasedAutoScalingOutput struct {
6663
metadataSetLoadBasedAutoScalingOutput `json:"-" xml:"-"`
6666
type metadataSetLoadBasedAutoScalingOutput struct {
6667
SDKShapeTraits bool `type:"structure"`
6670
// String returns the string representation
6671
func (s SetLoadBasedAutoScalingOutput) String() string {
6672
return awsutil.Prettify(s)
6675
// GoString returns the string representation
6676
func (s SetLoadBasedAutoScalingOutput) GoString() string {
6680
type SetPermissionInput struct {
6681
// The user is allowed to use SSH to communicate with the instance.
6682
AllowSsh *bool `type:"boolean"`
6684
// The user is allowed to use sudo to elevate privileges.
6685
AllowSudo *bool `type:"boolean"`
6687
// The user's IAM ARN.
6688
IamUserArn *string `type:"string" required:"true"`
6690
// The user's permission level, which must be set to one of the following strings.
6691
// You cannot set your own permissions level.
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"`
6698
StackId *string `type:"string" required:"true"`
6700
metadataSetPermissionInput `json:"-" xml:"-"`
6703
type metadataSetPermissionInput struct {
6704
SDKShapeTraits bool `type:"structure"`
6707
// String returns the string representation
6708
func (s SetPermissionInput) String() string {
6709
return awsutil.Prettify(s)
6712
// GoString returns the string representation
6713
func (s SetPermissionInput) GoString() string {
6717
type SetPermissionOutput struct {
6718
metadataSetPermissionOutput `json:"-" xml:"-"`
6721
type metadataSetPermissionOutput struct {
6722
SDKShapeTraits bool `type:"structure"`
6725
// String returns the string representation
6726
func (s SetPermissionOutput) String() string {
6727
return awsutil.Prettify(s)
6730
// GoString returns the string representation
6731
func (s SetPermissionOutput) GoString() string {
6735
type SetTimeBasedAutoScalingInput struct {
6736
// An AutoScalingSchedule with the instance schedule.
6737
AutoScalingSchedule *WeeklyAutoScalingSchedule `type:"structure"`
6740
InstanceId *string `type:"string" required:"true"`
6742
metadataSetTimeBasedAutoScalingInput `json:"-" xml:"-"`
6745
type metadataSetTimeBasedAutoScalingInput struct {
6746
SDKShapeTraits bool `type:"structure"`
6749
// String returns the string representation
6750
func (s SetTimeBasedAutoScalingInput) String() string {
6751
return awsutil.Prettify(s)
6754
// GoString returns the string representation
6755
func (s SetTimeBasedAutoScalingInput) GoString() string {
6759
type SetTimeBasedAutoScalingOutput struct {
6760
metadataSetTimeBasedAutoScalingOutput `json:"-" xml:"-"`
6763
type metadataSetTimeBasedAutoScalingOutput struct {
6764
SDKShapeTraits bool `type:"structure"`
6767
// String returns the string representation
6768
func (s SetTimeBasedAutoScalingOutput) String() string {
6769
return awsutil.Prettify(s)
6772
// GoString returns the string representation
6773
func (s SetTimeBasedAutoScalingOutput) GoString() string {
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"`
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"`
6787
metadataShutdownEventConfiguration `json:"-" xml:"-"`
6790
type metadataShutdownEventConfiguration struct {
6791
SDKShapeTraits bool `type:"structure"`
6794
// String returns the string representation
6795
func (s ShutdownEventConfiguration) String() string {
6796
return awsutil.Prettify(s)
6799
// GoString returns the string representation
6800
func (s ShutdownEventConfiguration) GoString() string {
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.
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 .
6814
// In responses, AWS OpsWorks returns *****FILTERED***** instead of the actual
6816
Password *string `type:"string"`
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"`
6824
// In requests, the repository's SSH key.
6826
// In responses, AWS OpsWorks returns *****FILTERED***** instead of the actual
6828
SshKey *string `type:"string"`
6830
// The repository type.
6831
Type *string `type:"string" enum:"SourceType"`
6834
Url *string `type:"string"`
6836
// This parameter depends on the repository type.
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"`
6843
metadataSource `json:"-" xml:"-"`
6846
type metadataSource struct {
6847
SDKShapeTraits bool `type:"structure"`
6850
// String returns the string representation
6851
func (s Source) String() string {
6852
return awsutil.Prettify(s)
6855
// GoString returns the string representation
6856
func (s Source) GoString() string {
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"`
6865
// Optional. Can be used to specify an intermediate certificate authority key
6866
// or client authentication.
6867
Chain *string `type:"string"`
6869
// The private key; the contents of the certificate's domain.kex file.
6870
PrivateKey *string `type:"string" required:"true"`
6872
metadataSslConfiguration `json:"-" xml:"-"`
6875
type metadataSslConfiguration struct {
6876
SDKShapeTraits bool `type:"structure"`
6879
// String returns the string representation
6880
func (s SslConfiguration) String() string {
6881
return awsutil.Prettify(s)
6884
// GoString returns the string representation
6885
func (s SslConfiguration) GoString() string {
6889
// Describes a stack.
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"`
6896
Arn *string `type:"string"`
6898
// The stack's attributes.
6899
Attributes map[string]*string `type:"map"`
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"`
6905
// The configuration manager.
6906
ConfigurationManager *StackConfigurationManager `type:"structure"`
6908
// The date when the stack was created.
6909
CreatedAt *string `type:"string"`
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"`
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 '"':
6922
// "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
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"`
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"`
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"`
6937
// The stack's default operating system.
6938
DefaultOs *string `type:"string"`
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"`
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"`
6949
// The default subnet ID; applicable only if the stack is running in a VPC.
6950
DefaultSubnetId *string `type:"string"`
6952
// The stack host name theme, with spaces replaced by underscores.
6953
HostnameTheme *string `type:"string"`
6956
Name *string `type:"string"`
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"`
6962
// The stack AWS Identity and Access Management (IAM) role.
6963
ServiceRoleArn *string `type:"string"`
6966
StackId *string `type:"string"`
6968
// Whether the stack uses custom cookbooks.
6969
UseCustomCookbooks *bool `type:"boolean"`
6971
// Whether the stack automatically associates the AWS OpsWorks built-in security
6972
// groups with the stack's layers.
6973
UseOpsworksSecurityGroups *bool `type:"boolean"`
6975
// The VPC ID; applicable only if the stack is running in a VPC.
6976
VpcId *string `type:"string"`
6978
metadataStack `json:"-" xml:"-"`
6981
type metadataStack struct {
6982
SDKShapeTraits bool `type:"structure"`
6985
// String returns the string representation
6986
func (s Stack) String() string {
6987
return awsutil.Prettify(s)
6990
// GoString returns the string representation
6991
func (s Stack) GoString() string {
6995
// Describes the configuration manager.
6996
type StackConfigurationManager struct {
6997
// The name. This parameter must be set to "Chef".
6998
Name *string `type:"string"`
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"`
7004
metadataStackConfigurationManager `json:"-" xml:"-"`
7007
type metadataStackConfigurationManager struct {
7008
SDKShapeTraits bool `type:"structure"`
7011
// String returns the string representation
7012
func (s StackConfigurationManager) String() string {
7013
return awsutil.Prettify(s)
7016
// GoString returns the string representation
7017
func (s StackConfigurationManager) GoString() string {
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"`
7027
Arn *string `type:"string"`
7029
// An InstancesCount object with the number of instances in each status.
7030
InstancesCount *InstancesCount `type:"structure"`
7032
// The number of layers.
7033
LayersCount *int64 `type:"integer"`
7036
Name *string `type:"string"`
7039
StackId *string `type:"string"`
7041
metadataStackSummary `json:"-" xml:"-"`
7044
type metadataStackSummary struct {
7045
SDKShapeTraits bool `type:"structure"`
7048
// String returns the string representation
7049
func (s StackSummary) String() string {
7050
return awsutil.Prettify(s)
7053
// GoString returns the string representation
7054
func (s StackSummary) GoString() string {
7058
type StartInstanceInput struct {
7060
InstanceId *string `type:"string" required:"true"`
7062
metadataStartInstanceInput `json:"-" xml:"-"`
7065
type metadataStartInstanceInput struct {
7066
SDKShapeTraits bool `type:"structure"`
7069
// String returns the string representation
7070
func (s StartInstanceInput) String() string {
7071
return awsutil.Prettify(s)
7074
// GoString returns the string representation
7075
func (s StartInstanceInput) GoString() string {
7079
type StartInstanceOutput struct {
7080
metadataStartInstanceOutput `json:"-" xml:"-"`
7083
type metadataStartInstanceOutput struct {
7084
SDKShapeTraits bool `type:"structure"`
7087
// String returns the string representation
7088
func (s StartInstanceOutput) String() string {
7089
return awsutil.Prettify(s)
7092
// GoString returns the string representation
7093
func (s StartInstanceOutput) GoString() string {
7097
type StartStackInput struct {
7099
StackId *string `type:"string" required:"true"`
7101
metadataStartStackInput `json:"-" xml:"-"`
7104
type metadataStartStackInput struct {
7105
SDKShapeTraits bool `type:"structure"`
7108
// String returns the string representation
7109
func (s StartStackInput) String() string {
7110
return awsutil.Prettify(s)
7113
// GoString returns the string representation
7114
func (s StartStackInput) GoString() string {
7118
type StartStackOutput struct {
7119
metadataStartStackOutput `json:"-" xml:"-"`
7122
type metadataStartStackOutput struct {
7123
SDKShapeTraits bool `type:"structure"`
7126
// String returns the string representation
7127
func (s StartStackOutput) String() string {
7128
return awsutil.Prettify(s)
7131
// GoString returns the string representation
7132
func (s StartStackOutput) GoString() string {
7136
type StopInstanceInput struct {
7138
InstanceId *string `type:"string" required:"true"`
7140
metadataStopInstanceInput `json:"-" xml:"-"`
7143
type metadataStopInstanceInput struct {
7144
SDKShapeTraits bool `type:"structure"`
7147
// String returns the string representation
7148
func (s StopInstanceInput) String() string {
7149
return awsutil.Prettify(s)
7152
// GoString returns the string representation
7153
func (s StopInstanceInput) GoString() string {
7157
type StopInstanceOutput struct {
7158
metadataStopInstanceOutput `json:"-" xml:"-"`
7161
type metadataStopInstanceOutput struct {
7162
SDKShapeTraits bool `type:"structure"`
7165
// String returns the string representation
7166
func (s StopInstanceOutput) String() string {
7167
return awsutil.Prettify(s)
7170
// GoString returns the string representation
7171
func (s StopInstanceOutput) GoString() string {
7175
type StopStackInput struct {
7177
StackId *string `type:"string" required:"true"`
7179
metadataStopStackInput `json:"-" xml:"-"`
7182
type metadataStopStackInput struct {
7183
SDKShapeTraits bool `type:"structure"`
7186
// String returns the string representation
7187
func (s StopStackInput) String() string {
7188
return awsutil.Prettify(s)
7191
// GoString returns the string representation
7192
func (s StopStackInput) GoString() string {
7196
type StopStackOutput struct {
7197
metadataStopStackOutput `json:"-" xml:"-"`
7200
type metadataStopStackOutput struct {
7201
SDKShapeTraits bool `type:"structure"`
7204
// String returns the string representation
7205
func (s StopStackOutput) String() string {
7206
return awsutil.Prettify(s)
7209
// GoString returns the string representation
7210
func (s StopStackOutput) GoString() string {
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"`
7221
Password *string `type:"string"`
7224
Username *string `type:"string"`
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
7230
ValidForInMinutes *int64 `type:"integer"`
7232
metadataTemporaryCredential `json:"-" xml:"-"`
7235
type metadataTemporaryCredential struct {
7236
SDKShapeTraits bool `type:"structure"`
7239
// String returns the string representation
7240
func (s TemporaryCredential) String() string {
7241
return awsutil.Prettify(s)
7244
// GoString returns the string representation
7245
func (s TemporaryCredential) GoString() string {
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"`
7255
InstanceId *string `type:"string"`
7257
metadataTimeBasedAutoScalingConfiguration `json:"-" xml:"-"`
7260
type metadataTimeBasedAutoScalingConfiguration struct {
7261
SDKShapeTraits bool `type:"structure"`
7264
// String returns the string representation
7265
func (s TimeBasedAutoScalingConfiguration) String() string {
7266
return awsutil.Prettify(s)
7269
// GoString returns the string representation
7270
func (s TimeBasedAutoScalingConfiguration) GoString() string {
7274
type UnassignInstanceInput struct {
7276
InstanceId *string `type:"string" required:"true"`
7278
metadataUnassignInstanceInput `json:"-" xml:"-"`
7281
type metadataUnassignInstanceInput struct {
7282
SDKShapeTraits bool `type:"structure"`
7285
// String returns the string representation
7286
func (s UnassignInstanceInput) String() string {
7287
return awsutil.Prettify(s)
7290
// GoString returns the string representation
7291
func (s UnassignInstanceInput) GoString() string {
7295
type UnassignInstanceOutput struct {
7296
metadataUnassignInstanceOutput `json:"-" xml:"-"`
7299
type metadataUnassignInstanceOutput struct {
7300
SDKShapeTraits bool `type:"structure"`
7303
// String returns the string representation
7304
func (s UnassignInstanceOutput) String() string {
7305
return awsutil.Prettify(s)
7308
// GoString returns the string representation
7309
func (s UnassignInstanceOutput) GoString() string {
7313
type UnassignVolumeInput struct {
7315
VolumeId *string `type:"string" required:"true"`
7317
metadataUnassignVolumeInput `json:"-" xml:"-"`
7320
type metadataUnassignVolumeInput struct {
7321
SDKShapeTraits bool `type:"structure"`
7324
// String returns the string representation
7325
func (s UnassignVolumeInput) String() string {
7326
return awsutil.Prettify(s)
7329
// GoString returns the string representation
7330
func (s UnassignVolumeInput) GoString() string {
7334
type UnassignVolumeOutput struct {
7335
metadataUnassignVolumeOutput `json:"-" xml:"-"`
7338
type metadataUnassignVolumeOutput struct {
7339
SDKShapeTraits bool `type:"structure"`
7342
// String returns the string representation
7343
func (s UnassignVolumeOutput) String() string {
7344
return awsutil.Prettify(s)
7347
// GoString returns the string representation
7348
func (s UnassignVolumeOutput) GoString() string {
7352
type UpdateAppInput struct {
7354
AppId *string `type:"string" required:"true"`
7356
// A Source object that specifies the app repository.
7357
AppSource *Source `type:"structure"`
7359
// One or more user-defined key/value pairs to be added to the stack attributes.
7360
Attributes map[string]*string `type:"map"`
7362
// The app's data sources.
7363
DataSources []*DataSource `type:"list"`
7365
// A description of the app.
7366
Description *string `type:"string"`
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"`
7372
// Whether SSL is enabled for the app.
7373
EnableSsl *bool `type:"boolean"`
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).
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
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"`
7392
Name *string `type:"string"`
7394
// An SslConfiguration object with the SSL configuration.
7395
SslConfiguration *SslConfiguration `type:"structure"`
7398
Type *string `type:"string" enum:"AppType"`
7400
metadataUpdateAppInput `json:"-" xml:"-"`
7403
type metadataUpdateAppInput struct {
7404
SDKShapeTraits bool `type:"structure"`
7407
// String returns the string representation
7408
func (s UpdateAppInput) String() string {
7409
return awsutil.Prettify(s)
7412
// GoString returns the string representation
7413
func (s UpdateAppInput) GoString() string {
7417
type UpdateAppOutput struct {
7418
metadataUpdateAppOutput `json:"-" xml:"-"`
7421
type metadataUpdateAppOutput struct {
7422
SDKShapeTraits bool `type:"structure"`
7425
// String returns the string representation
7426
func (s UpdateAppOutput) String() string {
7427
return awsutil.Prettify(s)
7430
// GoString returns the string representation
7431
func (s UpdateAppOutput) GoString() string {
7435
type UpdateElasticIpInput struct {
7437
ElasticIp *string `type:"string" required:"true"`
7440
Name *string `type:"string"`
7442
metadataUpdateElasticIpInput `json:"-" xml:"-"`
7445
type metadataUpdateElasticIpInput struct {
7446
SDKShapeTraits bool `type:"structure"`
7449
// String returns the string representation
7450
func (s UpdateElasticIpInput) String() string {
7451
return awsutil.Prettify(s)
7454
// GoString returns the string representation
7455
func (s UpdateElasticIpInput) GoString() string {
7459
type UpdateElasticIpOutput struct {
7460
metadataUpdateElasticIpOutput `json:"-" xml:"-"`
7463
type metadataUpdateElasticIpOutput struct {
7464
SDKShapeTraits bool `type:"structure"`
7467
// String returns the string representation
7468
func (s UpdateElasticIpOutput) String() string {
7469
return awsutil.Prettify(s)
7472
// GoString returns the string representation
7473
func (s UpdateElasticIpOutput) GoString() string {
7477
type UpdateInstanceInput struct {
7478
// The default AWS OpsWorks agent version. You have the following options:
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"`
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)
7494
// If you specify a custom AMI, you must set Os to Custom.
7495
AmiId *string `type:"string"`
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"`
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"`
7506
// This property cannot be updated.
7507
EbsOptimized *bool `type:"boolean"`
7509
// The instance host name.
7510
Hostname *string `type:"string"`
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.
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"`
7523
InstanceId *string `type:"string" required:"true"`
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"`
7533
// The instance's layer IDs.
7534
LayerIds []*string `type:"list"`
7536
// The instance's operating system, which must be set to one of the following.
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).
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).
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"`
7555
// The instance's Amazon EC2 key name.
7556
SshKeyName *string `type:"string"`
7558
metadataUpdateInstanceInput `json:"-" xml:"-"`
7561
type metadataUpdateInstanceInput struct {
7562
SDKShapeTraits bool `type:"structure"`
7565
// String returns the string representation
7566
func (s UpdateInstanceInput) String() string {
7567
return awsutil.Prettify(s)
7570
// GoString returns the string representation
7571
func (s UpdateInstanceInput) GoString() string {
7575
type UpdateInstanceOutput struct {
7576
metadataUpdateInstanceOutput `json:"-" xml:"-"`
7579
type metadataUpdateInstanceOutput struct {
7580
SDKShapeTraits bool `type:"structure"`
7583
// String returns the string representation
7584
func (s UpdateInstanceOutput) String() string {
7585
return awsutil.Prettify(s)
7588
// GoString returns the string representation
7589
func (s UpdateInstanceOutput) GoString() string {
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"`
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"`
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"`
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"`
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"`
7615
// A LayerCustomRecipes object that specifies the layer's custom recipes.
7616
CustomRecipes *Recipes `type:"structure"`
7618
// An array containing the layer's custom security group IDs.
7619
CustomSecurityGroupIds []*string `type:"list"`
7621
// Whether to disable auto healing for the layer.
7622
EnableAutoHealing *bool `type:"boolean"`
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.
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"`
7635
LayerId *string `type:"string" required:"true"`
7637
LifecycleEventConfiguration *LifecycleEventConfiguration `type:"structure"`
7639
// The layer name, which is used by the console.
7640
Name *string `type:"string"`
7642
// An array of Package objects that describe the layer's packages.
7643
Packages []*string `type:"list"`
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/.
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"`
7655
// Whether to use Amazon EBS-optimized instances.
7656
UseEbsOptimizedInstances *bool `type:"boolean"`
7658
// A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
7659
VolumeConfigurations []*VolumeConfiguration `type:"list"`
7661
metadataUpdateLayerInput `json:"-" xml:"-"`
7664
type metadataUpdateLayerInput struct {
7665
SDKShapeTraits bool `type:"structure"`
7668
// String returns the string representation
7669
func (s UpdateLayerInput) String() string {
7670
return awsutil.Prettify(s)
7673
// GoString returns the string representation
7674
func (s UpdateLayerInput) GoString() string {
7678
type UpdateLayerOutput struct {
7679
metadataUpdateLayerOutput `json:"-" xml:"-"`
7682
type metadataUpdateLayerOutput struct {
7683
SDKShapeTraits bool `type:"structure"`
7686
// String returns the string representation
7687
func (s UpdateLayerOutput) String() string {
7688
return awsutil.Prettify(s)
7691
// GoString returns the string representation
7692
func (s UpdateLayerOutput) GoString() string {
7696
type UpdateMyUserProfileInput struct {
7697
// The user's SSH public key.
7698
SshPublicKey *string `type:"string"`
7700
metadataUpdateMyUserProfileInput `json:"-" xml:"-"`
7703
type metadataUpdateMyUserProfileInput struct {
7704
SDKShapeTraits bool `type:"structure"`
7707
// String returns the string representation
7708
func (s UpdateMyUserProfileInput) String() string {
7709
return awsutil.Prettify(s)
7712
// GoString returns the string representation
7713
func (s UpdateMyUserProfileInput) GoString() string {
7717
type UpdateMyUserProfileOutput struct {
7718
metadataUpdateMyUserProfileOutput `json:"-" xml:"-"`
7721
type metadataUpdateMyUserProfileOutput struct {
7722
SDKShapeTraits bool `type:"structure"`
7725
// String returns the string representation
7726
func (s UpdateMyUserProfileOutput) String() string {
7727
return awsutil.Prettify(s)
7730
// GoString returns the string representation
7731
func (s UpdateMyUserProfileOutput) GoString() string {
7735
type UpdateRdsDbInstanceInput struct {
7736
// The database password.
7737
DbPassword *string `type:"string"`
7739
// The master user name.
7740
DbUser *string `type:"string"`
7742
// The Amazon RDS instance's ARN.
7743
RdsDbInstanceArn *string `type:"string" required:"true"`
7745
metadataUpdateRdsDbInstanceInput `json:"-" xml:"-"`
7748
type metadataUpdateRdsDbInstanceInput struct {
7749
SDKShapeTraits bool `type:"structure"`
7752
// String returns the string representation
7753
func (s UpdateRdsDbInstanceInput) String() string {
7754
return awsutil.Prettify(s)
7757
// GoString returns the string representation
7758
func (s UpdateRdsDbInstanceInput) GoString() string {
7762
type UpdateRdsDbInstanceOutput struct {
7763
metadataUpdateRdsDbInstanceOutput `json:"-" xml:"-"`
7766
type metadataUpdateRdsDbInstanceOutput struct {
7767
SDKShapeTraits bool `type:"structure"`
7770
// String returns the string representation
7771
func (s UpdateRdsDbInstanceOutput) String() string {
7772
return awsutil.Prettify(s)
7775
// GoString returns the string representation
7776
func (s UpdateRdsDbInstanceOutput) GoString() string {
7780
type UpdateStackInput struct {
7781
// The default AWS OpsWorks agent version. You have the following options:
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.
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"`
7796
// One or more user-defined key-value pairs to be added to the stack attributes.
7797
Attributes map[string]*string `type:"map"`
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"`
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"`
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"`
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
7819
// "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
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"`
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"`
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"`
7836
// The stack's operating system, which must be set to one of the following:
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"`
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"`
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"`
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"`
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:
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"`
7880
// The stack's new name.
7881
Name *string `type:"string"`
7883
// Do not use this parameter. You cannot update a stack's service role.
7884
ServiceRoleArn *string `type:"string"`
7887
StackId *string `type:"string" required:"true"`
7889
// Whether the stack uses custom cookbooks.
7890
UseCustomCookbooks *bool `type:"boolean"`
7892
// Whether to associate the AWS OpsWorks built-in security groups with the stack's
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:
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"`
7911
metadataUpdateStackInput `json:"-" xml:"-"`
7914
type metadataUpdateStackInput struct {
7915
SDKShapeTraits bool `type:"structure"`
7918
// String returns the string representation
7919
func (s UpdateStackInput) String() string {
7920
return awsutil.Prettify(s)
7923
// GoString returns the string representation
7924
func (s UpdateStackInput) GoString() string {
7928
type UpdateStackOutput struct {
7929
metadataUpdateStackOutput `json:"-" xml:"-"`
7932
type metadataUpdateStackOutput struct {
7933
SDKShapeTraits bool `type:"structure"`
7936
// String returns the string representation
7937
func (s UpdateStackOutput) String() string {
7938
return awsutil.Prettify(s)
7941
// GoString returns the string representation
7942
func (s UpdateStackOutput) GoString() string {
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"`
7951
// The user IAM ARN.
7952
IamUserArn *string `type:"string" required:"true"`
7954
// The user's new SSH public key.
7955
SshPublicKey *string `type:"string"`
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
7962
SshUsername *string `type:"string"`
7964
metadataUpdateUserProfileInput `json:"-" xml:"-"`
7967
type metadataUpdateUserProfileInput struct {
7968
SDKShapeTraits bool `type:"structure"`
7971
// String returns the string representation
7972
func (s UpdateUserProfileInput) String() string {
7973
return awsutil.Prettify(s)
7976
// GoString returns the string representation
7977
func (s UpdateUserProfileInput) GoString() string {
7981
type UpdateUserProfileOutput struct {
7982
metadataUpdateUserProfileOutput `json:"-" xml:"-"`
7985
type metadataUpdateUserProfileOutput struct {
7986
SDKShapeTraits bool `type:"structure"`
7989
// String returns the string representation
7990
func (s UpdateUserProfileOutput) String() string {
7991
return awsutil.Prettify(s)
7994
// GoString returns the string representation
7995
func (s UpdateUserProfileOutput) GoString() string {
7999
type UpdateVolumeInput struct {
8000
// The new mount point.
8001
MountPoint *string `type:"string"`
8004
Name *string `type:"string"`
8007
VolumeId *string `type:"string" required:"true"`
8009
metadataUpdateVolumeInput `json:"-" xml:"-"`
8012
type metadataUpdateVolumeInput struct {
8013
SDKShapeTraits bool `type:"structure"`
8016
// String returns the string representation
8017
func (s UpdateVolumeInput) String() string {
8018
return awsutil.Prettify(s)
8021
// GoString returns the string representation
8022
func (s UpdateVolumeInput) GoString() string {
8026
type UpdateVolumeOutput struct {
8027
metadataUpdateVolumeOutput `json:"-" xml:"-"`
8030
type metadataUpdateVolumeOutput struct {
8031
SDKShapeTraits bool `type:"structure"`
8034
// String returns the string representation
8035
func (s UpdateVolumeOutput) String() string {
8036
return awsutil.Prettify(s)
8039
// GoString returns the string representation
8040
func (s UpdateVolumeOutput) GoString() string {
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"`
8050
// The user's IAM ARN.
8051
IamUserArn *string `type:"string"`
8054
Name *string `type:"string"`
8056
// The user's SSH public key.
8057
SshPublicKey *string `type:"string"`
8059
// The user's SSH user name.
8060
SshUsername *string `type:"string"`
8062
metadataUserProfile `json:"-" xml:"-"`
8065
type metadataUserProfile struct {
8066
SDKShapeTraits bool `type:"structure"`
8069
// String returns the string representation
8070
func (s UserProfile) String() string {
8071
return awsutil.Prettify(s)
8074
// GoString returns the string representation
8075
func (s UserProfile) GoString() string {
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"`
8086
Device *string `type:"string"`
8088
// The Amazon EC2 volume ID.
8089
Ec2VolumeId *string `type:"string"`
8092
InstanceId *string `type:"string"`
8094
// For PIOPS volumes, the IOPS per disk.
8095
Iops *int64 `type:"integer"`
8097
// The volume mount point. For example "/dev/sdh".
8098
MountPoint *string `type:"string"`
8101
Name *string `type:"string"`
8103
// The RAID array ID.
8104
RaidArrayId *string `type:"string"`
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"`
8111
Size *int64 `type:"integer"`
8113
// The value returned by DescribeVolumes (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeVolumes.html).
8114
Status *string `type:"string"`
8117
VolumeId *string `type:"string"`
8119
// The volume type, standard or PIOPS.
8120
VolumeType *string `type:"string"`
8122
metadataVolume `json:"-" xml:"-"`
8125
type metadataVolume struct {
8126
SDKShapeTraits bool `type:"structure"`
8129
// String returns the string representation
8130
func (s Volume) String() string {
8131
return awsutil.Prettify(s)
8134
// GoString returns the string representation
8135
func (s Volume) GoString() string {
8139
// Describes an Amazon EBS volume configuration.
8140
type VolumeConfiguration struct {
8141
// For PIOPS volumes, the IOPS per disk.
8142
Iops *int64 `type:"integer"`
8144
// The volume mount point. For example "/dev/sdh".
8145
MountPoint *string `type:"string" required:"true"`
8147
// The number of disks in the volume.
8148
NumberOfDisks *int64 `type:"integer" required:"true"`
8150
// The volume RAID level (http://en.wikipedia.org/wiki/Standard_RAID_levels).
8151
RaidLevel *int64 `type:"integer"`
8154
Size *int64 `type:"integer" required:"true"`
8158
// standard - Magnetic io1 - Provisioned IOPS (SSD) gp2 - General Purpose
8160
VolumeType *string `type:"string"`
8162
metadataVolumeConfiguration `json:"-" xml:"-"`
8165
type metadataVolumeConfiguration struct {
8166
SDKShapeTraits bool `type:"structure"`
8169
// String returns the string representation
8170
func (s VolumeConfiguration) String() string {
8171
return awsutil.Prettify(s)
8174
// GoString returns the string representation
8175
func (s VolumeConfiguration) GoString() string {
8179
// Describes a time-based instance's auto scaling schedule. The schedule consists
8180
// of a set of key-value pairs.
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.
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.
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"`
8197
// The schedule for Monday.
8198
Monday map[string]*string `type:"map"`
8200
// The schedule for Saturday.
8201
Saturday map[string]*string `type:"map"`
8203
// The schedule for Sunday.
8204
Sunday map[string]*string `type:"map"`
8206
// The schedule for Thursday.
8207
Thursday map[string]*string `type:"map"`
8209
// The schedule for Tuesday.
8210
Tuesday map[string]*string `type:"map"`
8212
// The schedule for Wednesday.
8213
Wednesday map[string]*string `type:"map"`
8215
metadataWeeklyAutoScalingSchedule `json:"-" xml:"-"`
8218
type metadataWeeklyAutoScalingSchedule struct {
8219
SDKShapeTraits bool `type:"structure"`
8222
// String returns the string representation
8223
func (s WeeklyAutoScalingSchedule) String() string {
8224
return awsutil.Prettify(s)
8227
// GoString returns the string representation
8228
func (s WeeklyAutoScalingSchedule) GoString() string {
8233
// @enum AppAttributesKeys
8234
AppAttributesKeysDocumentRoot = "DocumentRoot"
8235
// @enum AppAttributesKeys
8236
AppAttributesKeysRailsEnv = "RailsEnv"
8237
// @enum AppAttributesKeys
8238
AppAttributesKeysAutoBundleOnDeploy = "AutoBundleOnDeploy"
8239
// @enum AppAttributesKeys
8240
AppAttributesKeysAwsFlowRubySettings = "AwsFlowRubySettings"
8245
AppTypeAwsFlowRuby = "aws-flow-ruby"
8247
AppTypeJava = "java"
8249
AppTypeRails = "rails"
8253
AppTypeNodejs = "nodejs"
8255
AppTypeStatic = "static"
8257
AppTypeOther = "other"
8261
// @enum Architecture
8262
ArchitectureX8664 = "x86_64"
8263
// @enum Architecture
8264
ArchitectureI386 = "i386"
8268
// @enum AutoScalingType
8269
AutoScalingTypeLoad = "load"
8270
// @enum AutoScalingType
8271
AutoScalingTypeTimer = "timer"
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"
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"
8356
LayerTypeAwsFlowRuby = "aws-flow-ruby"
8358
LayerTypeEcsCluster = "ecs-cluster"
8360
LayerTypeJavaApp = "java-app"
8364
LayerTypeWeb = "web"
8366
LayerTypePhpApp = "php-app"
8368
LayerTypeRailsApp = "rails-app"
8370
LayerTypeNodejsApp = "nodejs-app"
8372
LayerTypeMemcached = "memcached"
8374
LayerTypeDbMaster = "db-master"
8376
LayerTypeMonitoringMaster = "monitoring-master"
8378
LayerTypeCustom = "custom"
8382
// @enum RootDeviceType
8383
RootDeviceTypeEbs = "ebs"
8384
// @enum RootDeviceType
8385
RootDeviceTypeInstanceStore = "instance-store"
8390
SourceTypeGit = "git"
8392
SourceTypeSvn = "svn"
8394
SourceTypeArchive = "archive"
8400
// @enum StackAttributesKeys
8401
StackAttributesKeysColor = "Color"
8405
// @enum VirtualizationType
8406
VirtualizationTypeParavirtual = "paravirtual"
8407
// @enum VirtualizationType
8408
VirtualizationTypeHvm = "hvm"
8413
VolumeTypeGp2 = "gp2"
8415
VolumeTypeIo1 = "io1"
8417
VolumeTypeStandard = "standard"