opsworks

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 8 Imported by: 28

Documentation

Overview

Package opsworks provides the client and types for making API requests to AWS OpsWorks.

Welcome to the AWS OpsWorks Stacks API Reference. This guide provides descriptions, syntax, and usage examples for AWS OpsWorks Stacks actions and data types, including common parameters and error codes.

AWS OpsWorks Stacks is an application management service that provides an integrated experience for overseeing the complete application lifecycle. For information about this product, go to the AWS OpsWorks (http://aws.amazon.com/opsworks/) details page.

SDKs and CLI

The most common way to use the AWS OpsWorks Stacks API is by using the AWS Command Line Interface (CLI) or by using one of the AWS SDKs to implement applications in your preferred language. For more information, see:

Endpoints

AWS OpsWorks Stacks supports the following endpoints, all HTTPS. You must connect to one of the following endpoints. Stacks can only be accessed or managed within the endpoint in which they are created.

  • opsworks.us-east-1.amazonaws.com

  • opsworks.us-east-2.amazonaws.com

  • opsworks.us-west-1.amazonaws.com

  • opsworks.us-west-2.amazonaws.com

  • opsworks.ca-central-1.amazonaws.com (API only; not available in the AWS console)

  • opsworks.eu-west-1.amazonaws.com

  • opsworks.eu-west-2.amazonaws.com

  • opsworks.eu-west-3.amazonaws.com

  • opsworks.eu-central-1.amazonaws.com

  • opsworks.ap-northeast-1.amazonaws.com

  • opsworks.ap-northeast-2.amazonaws.com

  • opsworks.ap-south-1.amazonaws.com

  • opsworks.ap-southeast-1.amazonaws.com

  • opsworks.ap-southeast-2.amazonaws.com

  • opsworks.sa-east-1.amazonaws.com

Chef Versions

When you call CreateStack, CloneStack, or UpdateStack we recommend you use the ConfigurationManager parameter to specify the Chef version. The recommended and default value for Linux stacks is currently 12. Windows stacks use Chef 12.2. For more information, see Chef Versions (https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-chef11.html).

You can specify Chef 12, 11.10, or 11.4 for your Linux stack. We recommend migrating your existing Linux stacks to Chef 12 as soon as possible.

See https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18 for more information on this service.

See opsworks package documentation for more information. https://docs.aws.amazon.com/sdk-for-go/api/service/opsworks/

Using the Client

To use AWS OpsWorks with the SDK use the New function to create a new service client. With that client you can make API requests to the service. These clients are safe to use concurrently.

See the SDK's documentation for more information on how to use the SDK. https://docs.aws.amazon.com/sdk-for-go/api/

See aws.Config documentation for more information on configuring SDK clients. https://docs.aws.amazon.com/sdk-for-go/api/aws/#Config

See the AWS OpsWorks client for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/opsworks/#New

Index

Constants

View Source
const (
	ServiceName = "AWS OpsWorks" // Service's name
	ServiceID   = "OpsWorks"     // Service's identifier
	EndpointsID = "opsworks"     // Service's Endpoint identifier
)
View Source
const (

	// ErrCodeResourceNotFoundException for service response error code
	// "ResourceNotFoundException".
	//
	// Indicates that a resource was not found.
	ErrCodeResourceNotFoundException = "ResourceNotFoundException"

	// ErrCodeValidationException for service response error code
	// "ValidationException".
	//
	// Indicates that a request was not valid.
	ErrCodeValidationException = "ValidationException"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentVersion

type AgentVersion struct {

	// The configuration manager.
	ConfigurationManager *StackConfigurationManager `type:"structure"`

	// The agent version.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an agent version.

func (AgentVersion) String

func (s AgentVersion) String() string

String returns the string representation

type App

type App struct {

	// The app ID.
	AppId *string `type:"string"`

	// A Source object that describes the app repository.
	AppSource *Source `type:"structure"`

	// The stack attributes.
	Attributes map[string]string `type:"map"`

	// When the app was created.
	CreatedAt *string `type:"string"`

	// The app's data sources.
	DataSources []DataSource `type:"list"`

	// A description of the app.
	Description *string `type:"string"`

	// The app vhost settings with multiple domains separated by commas. For example:
	// 'www.example.com, example.com'
	Domains []string `type:"list"`

	// Whether to enable SSL for the app.
	EnableSsl *bool `type:"boolean"`

	// An array of EnvironmentVariable objects that specify environment variables
	// to be associated with the app. After you deploy the app, these variables
	// are defined on the associated app server instances. For more information,
	// see Environment Variables (https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html#workingapps-creating-environment).
	//
	// There is no specific limit on the number of environment variables. However,
	// the size of the associated data structure - which includes the variable names,
	// values, and protected flag values - cannot exceed 20 KB. This limit should
	// accommodate most if not all use cases, but if you do exceed it, you will
	// cause an exception (API) with an "Environment: is too large (maximum is 20
	// KB)" message.
	Environment []EnvironmentVariable `type:"list"`

	// The app name.
	Name *string `type:"string"`

	// The app's short name.
	Shortname *string `type:"string"`

	// An SslConfiguration object with the SSL configuration.
	SslConfiguration *SslConfiguration `type:"structure"`

	// The app stack ID.
	StackId *string `type:"string"`

	// The app type.
	Type AppType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

A description of the app.

func (App) String

func (s App) String() string

String returns the string representation

type AppAttributesKeys

type AppAttributesKeys string
const (
	AppAttributesKeysDocumentRoot        AppAttributesKeys = "DocumentRoot"
	AppAttributesKeysRailsEnv            AppAttributesKeys = "RailsEnv"
	AppAttributesKeysAutoBundleOnDeploy  AppAttributesKeys = "AutoBundleOnDeploy"
	AppAttributesKeysAwsFlowRubySettings AppAttributesKeys = "AwsFlowRubySettings"
)

Enum values for AppAttributesKeys

func (AppAttributesKeys) MarshalValue added in v0.3.0

func (enum AppAttributesKeys) MarshalValue() (string, error)

func (AppAttributesKeys) MarshalValueBuf added in v0.3.0

func (enum AppAttributesKeys) MarshalValueBuf(b []byte) ([]byte, error)

type AppType

type AppType string
const (
	AppTypeAwsFlowRuby AppType = "aws-flow-ruby"
	AppTypeJava        AppType = "java"
	AppTypeRails       AppType = "rails"
	AppTypePhp         AppType = "php"
	AppTypeNodejs      AppType = "nodejs"
	AppTypeStatic      AppType = "static"
	AppTypeOther       AppType = "other"
)

Enum values for AppType

func (AppType) MarshalValue added in v0.3.0

func (enum AppType) MarshalValue() (string, error)

func (AppType) MarshalValueBuf added in v0.3.0

func (enum AppType) MarshalValueBuf(b []byte) ([]byte, error)

type Architecture

type Architecture string
const (
	ArchitectureX8664 Architecture = "x86_64"
	ArchitectureI386  Architecture = "i386"
)

Enum values for Architecture

func (Architecture) MarshalValue added in v0.3.0

func (enum Architecture) MarshalValue() (string, error)

func (Architecture) MarshalValueBuf added in v0.3.0

func (enum Architecture) MarshalValueBuf(b []byte) ([]byte, error)

type AssignInstanceInput

type AssignInstanceInput struct {

	// The instance ID.
	//
	// InstanceId is a required field
	InstanceId *string `type:"string" required:"true"`

	// The layer ID, which must correspond to a custom layer. You cannot assign
	// a registered instance to a built-in layer.
	//
	// LayerIds is a required field
	LayerIds []string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (AssignInstanceInput) String

func (s AssignInstanceInput) String() string

String returns the string representation

func (*AssignInstanceInput) Validate

func (s *AssignInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssignInstanceOutput

type AssignInstanceOutput struct {
	// contains filtered or unexported fields
}

func (AssignInstanceOutput) String

func (s AssignInstanceOutput) String() string

String returns the string representation

type AssignInstanceRequest

type AssignInstanceRequest struct {
	*aws.Request
	Input *AssignInstanceInput
	Copy  func(*AssignInstanceInput) AssignInstanceRequest
}

AssignInstanceRequest is the request type for the AssignInstance API operation.

func (AssignInstanceRequest) Send

Send marshals and sends the AssignInstance API request.

type AssignInstanceResponse added in v0.9.0

type AssignInstanceResponse struct {
	*AssignInstanceOutput
	// contains filtered or unexported fields
}

AssignInstanceResponse is the response type for the AssignInstance API operation.

func (*AssignInstanceResponse) SDKResponseMetdata added in v0.9.0

func (r *AssignInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AssignInstance request.

type AssignVolumeInput

type AssignVolumeInput struct {

	// The instance ID.
	InstanceId *string `type:"string"`

	// The volume ID.
	//
	// VolumeId is a required field
	VolumeId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AssignVolumeInput) String

func (s AssignVolumeInput) String() string

String returns the string representation

func (*AssignVolumeInput) Validate

func (s *AssignVolumeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssignVolumeOutput

type AssignVolumeOutput struct {
	// contains filtered or unexported fields
}

func (AssignVolumeOutput) String

func (s AssignVolumeOutput) String() string

String returns the string representation

type AssignVolumeRequest

type AssignVolumeRequest struct {
	*aws.Request
	Input *AssignVolumeInput
	Copy  func(*AssignVolumeInput) AssignVolumeRequest
}

AssignVolumeRequest is the request type for the AssignVolume API operation.

func (AssignVolumeRequest) Send

Send marshals and sends the AssignVolume API request.

type AssignVolumeResponse added in v0.9.0

type AssignVolumeResponse struct {
	*AssignVolumeOutput
	// contains filtered or unexported fields
}

AssignVolumeResponse is the response type for the AssignVolume API operation.

func (*AssignVolumeResponse) SDKResponseMetdata added in v0.9.0

func (r *AssignVolumeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AssignVolume request.

type AssociateElasticIpInput

type AssociateElasticIpInput struct {

	// The Elastic IP address.
	//
	// ElasticIp is a required field
	ElasticIp *string `type:"string" required:"true"`

	// The instance ID.
	InstanceId *string `type:"string"`
	// contains filtered or unexported fields
}

func (AssociateElasticIpInput) String

func (s AssociateElasticIpInput) String() string

String returns the string representation

func (*AssociateElasticIpInput) Validate

func (s *AssociateElasticIpInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AssociateElasticIpOutput

type AssociateElasticIpOutput struct {
	// contains filtered or unexported fields
}

func (AssociateElasticIpOutput) String

func (s AssociateElasticIpOutput) String() string

String returns the string representation

type AssociateElasticIpRequest

type AssociateElasticIpRequest struct {
	*aws.Request
	Input *AssociateElasticIpInput
	Copy  func(*AssociateElasticIpInput) AssociateElasticIpRequest
}

AssociateElasticIpRequest is the request type for the AssociateElasticIp API operation.

func (AssociateElasticIpRequest) Send

Send marshals and sends the AssociateElasticIp API request.

type AssociateElasticIpResponse added in v0.9.0

type AssociateElasticIpResponse struct {
	*AssociateElasticIpOutput
	// contains filtered or unexported fields
}

AssociateElasticIpResponse is the response type for the AssociateElasticIp API operation.

func (*AssociateElasticIpResponse) SDKResponseMetdata added in v0.9.0

func (r *AssociateElasticIpResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AssociateElasticIp request.

type AttachElasticLoadBalancerInput

type AttachElasticLoadBalancerInput struct {

	// The Elastic Load Balancing instance's name.
	//
	// ElasticLoadBalancerName is a required field
	ElasticLoadBalancerName *string `type:"string" required:"true"`

	// The ID of the layer to which the Elastic Load Balancing instance is to be
	// attached.
	//
	// LayerId is a required field
	LayerId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (AttachElasticLoadBalancerInput) String

String returns the string representation

func (*AttachElasticLoadBalancerInput) Validate

func (s *AttachElasticLoadBalancerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AttachElasticLoadBalancerOutput

type AttachElasticLoadBalancerOutput struct {
	// contains filtered or unexported fields
}

func (AttachElasticLoadBalancerOutput) String

String returns the string representation

type AttachElasticLoadBalancerRequest

type AttachElasticLoadBalancerRequest struct {
	*aws.Request
	Input *AttachElasticLoadBalancerInput
	Copy  func(*AttachElasticLoadBalancerInput) AttachElasticLoadBalancerRequest
}

AttachElasticLoadBalancerRequest is the request type for the AttachElasticLoadBalancer API operation.

func (AttachElasticLoadBalancerRequest) Send

Send marshals and sends the AttachElasticLoadBalancer API request.

type AttachElasticLoadBalancerResponse added in v0.9.0

type AttachElasticLoadBalancerResponse struct {
	*AttachElasticLoadBalancerOutput
	// contains filtered or unexported fields
}

AttachElasticLoadBalancerResponse is the response type for the AttachElasticLoadBalancer API operation.

func (*AttachElasticLoadBalancerResponse) SDKResponseMetdata added in v0.9.0

func (r *AttachElasticLoadBalancerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the AttachElasticLoadBalancer request.

type AutoScalingThresholds

type AutoScalingThresholds struct {

	// Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter
	// takes a list of up to five alarm names, which are case sensitive and must
	// be in the same region as the stack.
	//
	// To use custom alarms, you must update your service role to allow cloudwatch:DescribeAlarms.
	// You can either have AWS OpsWorks Stacks update the role for you when you
	// first use this feature or you can edit the role manually. For more information,
	// see Allowing AWS OpsWorks Stacks to Act on Your Behalf (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-servicerole.html).
	Alarms []string `type:"list"`

	// The CPU utilization threshold, as a percent of the available CPU. A value
	// of -1 disables the threshold.
	CpuThreshold *float64 `type:"double"`

	// The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks
	// Stacks should ignore metrics and suppress additional scaling events. For
	// example, AWS OpsWorks Stacks adds new instances following an upscaling event
	// but the instances won't start reducing the load until they have been booted
	// and configured. There is no point in raising additional scaling events during
	// that operation, which typically takes several minutes. IgnoreMetricsTime
	// allows you to direct AWS OpsWorks Stacks to suppress scaling events long
	// enough to get the new instances online.
	IgnoreMetricsTime *int64 `min:"1" type:"integer"`

	// The number of instances to add or remove when the load exceeds a threshold.
	InstanceCount *int64 `type:"integer"`

	// The load threshold. A value of -1 disables the threshold. For more information
	// about how load is computed, see Load (computing) (http://en.wikipedia.org/wiki/Load_%28computing%29).
	LoadThreshold *float64 `type:"double"`

	// The memory utilization threshold, as a percent of the available memory. A
	// value of -1 disables the threshold.
	MemoryThreshold *float64 `type:"double"`

	// The amount of time, in minutes, that the load must exceed a threshold before
	// more instances are added or removed.
	ThresholdsWaitTime *int64 `min:"1" type:"integer"`
	// contains filtered or unexported fields
}

Describes a load-based auto scaling upscaling or downscaling threshold configuration, which specifies when AWS OpsWorks Stacks starts or stops load-based instances.

func (AutoScalingThresholds) String

func (s AutoScalingThresholds) String() string

String returns the string representation

func (*AutoScalingThresholds) Validate

func (s *AutoScalingThresholds) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type AutoScalingType

type AutoScalingType string
const (
	AutoScalingTypeLoad  AutoScalingType = "load"
	AutoScalingTypeTimer AutoScalingType = "timer"
)

Enum values for AutoScalingType

func (AutoScalingType) MarshalValue added in v0.3.0

func (enum AutoScalingType) MarshalValue() (string, error)

func (AutoScalingType) MarshalValueBuf added in v0.3.0

func (enum AutoScalingType) MarshalValueBuf(b []byte) ([]byte, error)

type BlockDeviceMapping

type BlockDeviceMapping struct {

	// The device name that is exposed to the instance, such as /dev/sdh. For the
	// root device, you can use the explicit device name or you can set this parameter
	// to ROOT_DEVICE and AWS OpsWorks Stacks will provide the correct device name.
	DeviceName *string `type:"string"`

	// An EBSBlockDevice that defines how to configure an Amazon EBS volume when
	// the instance is launched.
	Ebs *EbsBlockDevice `type:"structure"`

	// Suppresses the specified device included in the AMI's block device mapping.
	NoDevice *string `type:"string"`

	// The virtual device name. For more information, see BlockDeviceMapping (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html).
	VirtualName *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a block device mapping. This data type maps directly to the Amazon EC2 BlockDeviceMapping (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html) data type.

func (BlockDeviceMapping) String

func (s BlockDeviceMapping) String() string

String returns the string representation

type ChefConfiguration

type ChefConfiguration struct {

	// The Berkshelf version.
	BerkshelfVersion *string `type:"string"`

	// Whether to enable Berkshelf.
	ManageBerkshelf *bool `type:"boolean"`
	// contains filtered or unexported fields
}

Describes the Chef configuration.

func (ChefConfiguration) String

func (s ChefConfiguration) String() string

String returns the string representation

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

Client provides the API operation methods for making requests to AWS OpsWorks. See this package's package overview docs for details on the service.

The client's methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(config aws.Config) *Client

New creates a new instance of the client from the provided Config.

Example:

// Create a client from just a config.
svc := opsworks.New(myConfig)

func (*Client) AssignInstanceRequest added in v0.9.0

func (c *Client) AssignInstanceRequest(input *AssignInstanceInput) AssignInstanceRequest

AssignInstanceRequest returns a request value for making API operation for AWS OpsWorks.

Assign a registered instance to a layer.

  • You can assign registered on-premises instances to any layer type.

  • You can assign registered Amazon EC2 instances only to custom layers.

  • You cannot use this action with instances that were created with AWS OpsWorks Stacks.

Required Permissions: To use this action, an AWS Identity and Access Management (IAM) user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using AssignInstanceRequest.
req := client.AssignInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstance

func (*Client) AssignVolumeRequest added in v0.9.0

func (c *Client) AssignVolumeRequest(input *AssignVolumeInput) AssignVolumeRequest

AssignVolumeRequest returns a request value for making API operation for AWS OpsWorks.

Assigns one of the stack's registered Amazon EBS volumes to a specified instance. The volume must first be registered with the stack by calling RegisterVolume. After you register the volume, you must call UpdateVolume to specify a mount point before calling AssignVolume. For more information, see Resource Management (https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using AssignVolumeRequest.
req := client.AssignVolumeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolume

func (*Client) AssociateElasticIpRequest added in v0.9.0

func (c *Client) AssociateElasticIpRequest(input *AssociateElasticIpInput) AssociateElasticIpRequest

AssociateElasticIpRequest returns a request value for making API operation for AWS OpsWorks.

Associates one of the stack's registered Elastic IP addresses with a specified instance. The address must first be registered with the stack by calling RegisterElasticIp. For more information, see Resource Management (https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using AssociateElasticIpRequest.
req := client.AssociateElasticIpRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIp

func (*Client) AttachElasticLoadBalancerRequest added in v0.9.0

func (c *Client) AttachElasticLoadBalancerRequest(input *AttachElasticLoadBalancerInput) AttachElasticLoadBalancerRequest

AttachElasticLoadBalancerRequest returns a request value for making API operation for AWS OpsWorks.

Attaches an Elastic Load Balancing load balancer to a specified layer. AWS OpsWorks Stacks does not support Application Load Balancer. You can only use Classic Load Balancer with AWS OpsWorks Stacks. For more information, see Elastic Load Balancing (https://docs.aws.amazon.com/opsworks/latest/userguide/layers-elb.html).

You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see Elastic Load Balancing Developer Guide (https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/Welcome.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using AttachElasticLoadBalancerRequest.
req := client.AttachElasticLoadBalancerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancer

func (*Client) CloneStackRequest added in v0.9.0

func (c *Client) CloneStackRequest(input *CloneStackInput) CloneStackRequest

CloneStackRequest returns a request value for making API operation for AWS OpsWorks.

Creates a clone of a specified stack. For more information, see Clone a Stack (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-cloning.html). By default, all parameters are set to the values used by the parent stack.

Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using CloneStackRequest.
req := client.CloneStackRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStack

func (*Client) CreateAppRequest added in v0.9.0

func (c *Client) CreateAppRequest(input *CreateAppInput) CreateAppRequest

CreateAppRequest returns a request value for making API operation for AWS OpsWorks.

Creates an app for a specified stack. For more information, see Creating Apps (https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using CreateAppRequest.
req := client.CreateAppRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateApp

func (*Client) CreateDeploymentRequest added in v0.9.0

func (c *Client) CreateDeploymentRequest(input *CreateDeploymentInput) CreateDeploymentRequest

CreateDeploymentRequest returns a request value for making API operation for AWS OpsWorks.

Runs deployment or stack commands. For more information, see Deploying Apps (https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-deploying.html) and Run Stack Commands (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-commands.html).

Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using CreateDeploymentRequest.
req := client.CreateDeploymentRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeployment

func (*Client) CreateInstanceRequest added in v0.9.0

func (c *Client) CreateInstanceRequest(input *CreateInstanceInput) CreateInstanceRequest

CreateInstanceRequest returns a request value for making API operation for AWS OpsWorks.

Creates an instance in a specified stack. For more information, see Adding an Instance to a Layer (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using CreateInstanceRequest.
req := client.CreateInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstance

func (*Client) CreateLayerRequest added in v0.9.0

func (c *Client) CreateLayerRequest(input *CreateLayerInput) CreateLayerRequest

CreateLayerRequest returns a request value for making API operation for AWS OpsWorks.

Creates a layer. For more information, see How to Create a Layer (https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-create.html).

You should use CreateLayer for noncustom layer types such as PHP App Server only if the stack does not have an existing layer of that type. A stack can have at most one instance of each noncustom layer; if you attempt to create a second instance, CreateLayer fails. A stack can have an arbitrary number of custom layers, so you can call CreateLayer as many times as you like for that layer type.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using CreateLayerRequest.
req := client.CreateLayerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayer

func (*Client) CreateStackRequest added in v0.9.0

func (c *Client) CreateStackRequest(input *CreateStackInput) CreateStackRequest

CreateStackRequest returns a request value for making API operation for AWS OpsWorks.

Creates a new stack. For more information, see Create a New Stack (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-edit.html).

Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using CreateStackRequest.
req := client.CreateStackRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStack

func (*Client) CreateUserProfileRequest added in v0.9.0

func (c *Client) CreateUserProfileRequest(input *CreateUserProfileInput) CreateUserProfileRequest

CreateUserProfileRequest returns a request value for making API operation for AWS OpsWorks.

Creates a new user profile.

Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using CreateUserProfileRequest.
req := client.CreateUserProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfile

func (*Client) DeleteAppRequest added in v0.9.0

func (c *Client) DeleteAppRequest(input *DeleteAppInput) DeleteAppRequest

DeleteAppRequest returns a request value for making API operation for AWS OpsWorks.

Deletes a specified app.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DeleteAppRequest.
req := client.DeleteAppRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteApp

func (*Client) DeleteInstanceRequest added in v0.9.0

func (c *Client) DeleteInstanceRequest(input *DeleteInstanceInput) DeleteInstanceRequest

DeleteInstanceRequest returns a request value for making API operation for AWS OpsWorks.

Deletes a specified instance, which terminates the associated Amazon EC2 instance. You must stop an instance before you can delete it.

For more information, see Deleting Instances (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-delete.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DeleteInstanceRequest.
req := client.DeleteInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstance

func (*Client) DeleteLayerRequest added in v0.9.0

func (c *Client) DeleteLayerRequest(input *DeleteLayerInput) DeleteLayerRequest

DeleteLayerRequest returns a request value for making API operation for AWS OpsWorks.

Deletes a specified layer. You must first stop and then delete all associated instances or unassign registered instances. For more information, see How to Delete a Layer (https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-delete.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DeleteLayerRequest.
req := client.DeleteLayerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayer

func (*Client) DeleteStackRequest added in v0.9.0

func (c *Client) DeleteStackRequest(input *DeleteStackInput) DeleteStackRequest

DeleteStackRequest returns a request value for making API operation for AWS OpsWorks.

Deletes a specified stack. You must first delete all instances, layers, and apps or deregister registered instances. For more information, see Shut Down a Stack (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-shutting.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DeleteStackRequest.
req := client.DeleteStackRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStack

func (*Client) DeleteUserProfileRequest added in v0.9.0

func (c *Client) DeleteUserProfileRequest(input *DeleteUserProfileInput) DeleteUserProfileRequest

DeleteUserProfileRequest returns a request value for making API operation for AWS OpsWorks.

Deletes a user profile.

Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DeleteUserProfileRequest.
req := client.DeleteUserProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfile

func (*Client) DeregisterEcsClusterRequest added in v0.9.0

func (c *Client) DeregisterEcsClusterRequest(input *DeregisterEcsClusterInput) DeregisterEcsClusterRequest

DeregisterEcsClusterRequest returns a request value for making API operation for AWS OpsWorks.

Deregisters a specified Amazon ECS cluster from a stack. For more information, see Resource Management (https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-ecscluster.html#workinglayers-ecscluster-delete).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DeregisterEcsClusterRequest.
req := client.DeregisterEcsClusterRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsCluster

func (*Client) DeregisterElasticIpRequest added in v0.9.0

func (c *Client) DeregisterElasticIpRequest(input *DeregisterElasticIpInput) DeregisterElasticIpRequest

DeregisterElasticIpRequest returns a request value for making API operation for AWS OpsWorks.

Deregisters a specified Elastic IP address. The address can then be registered by another stack. For more information, see Resource Management (https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DeregisterElasticIpRequest.
req := client.DeregisterElasticIpRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIp

func (*Client) DeregisterInstanceRequest added in v0.9.0

func (c *Client) DeregisterInstanceRequest(input *DeregisterInstanceInput) DeregisterInstanceRequest

DeregisterInstanceRequest returns a request value for making API operation for AWS OpsWorks.

Deregister a registered Amazon EC2 or on-premises instance. This action removes the instance from the stack and returns it to your control. This action cannot be used with instances that were created with AWS OpsWorks Stacks.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DeregisterInstanceRequest.
req := client.DeregisterInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstance

func (*Client) DeregisterRdsDbInstanceRequest added in v0.9.0

func (c *Client) DeregisterRdsDbInstanceRequest(input *DeregisterRdsDbInstanceInput) DeregisterRdsDbInstanceRequest

DeregisterRdsDbInstanceRequest returns a request value for making API operation for AWS OpsWorks.

Deregisters an Amazon RDS instance.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DeregisterRdsDbInstanceRequest.
req := client.DeregisterRdsDbInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstance

func (*Client) DeregisterVolumeRequest added in v0.9.0

func (c *Client) DeregisterVolumeRequest(input *DeregisterVolumeInput) DeregisterVolumeRequest

DeregisterVolumeRequest returns a request value for making API operation for AWS OpsWorks.

Deregisters an Amazon EBS volume. The volume can then be registered by another stack. For more information, see Resource Management (https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DeregisterVolumeRequest.
req := client.DeregisterVolumeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolume

func (*Client) DescribeAgentVersionsRequest added in v0.9.0

func (c *Client) DescribeAgentVersionsRequest(input *DescribeAgentVersionsInput) DescribeAgentVersionsRequest

DescribeAgentVersionsRequest returns a request value for making API operation for AWS OpsWorks.

Describes the available AWS OpsWorks Stacks agent versions. You must specify a stack ID or a configuration manager. DescribeAgentVersions returns a list of available agent versions for the specified stack or configuration manager.

// Example sending a request using DescribeAgentVersionsRequest.
req := client.DescribeAgentVersionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersions

func (*Client) DescribeAppsRequest added in v0.9.0

func (c *Client) DescribeAppsRequest(input *DescribeAppsInput) DescribeAppsRequest

DescribeAppsRequest returns a request value for making API operation for AWS OpsWorks.

Requests a description of a specified set of apps.

This call accepts only one resource-identifying parameter.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeAppsRequest.
req := client.DescribeAppsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeApps

func (*Client) DescribeCommandsRequest added in v0.9.0

func (c *Client) DescribeCommandsRequest(input *DescribeCommandsInput) DescribeCommandsRequest

DescribeCommandsRequest returns a request value for making API operation for AWS OpsWorks.

Describes the results of specified commands.

This call accepts only one resource-identifying parameter.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeCommandsRequest.
req := client.DescribeCommandsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommands

func (*Client) DescribeDeploymentsRequest added in v0.9.0

func (c *Client) DescribeDeploymentsRequest(input *DescribeDeploymentsInput) DescribeDeploymentsRequest

DescribeDeploymentsRequest returns a request value for making API operation for AWS OpsWorks.

Requests a description of a specified set of deployments.

This call accepts only one resource-identifying parameter.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeDeploymentsRequest.
req := client.DescribeDeploymentsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeployments

func (*Client) DescribeEcsClustersRequest added in v0.9.0

func (c *Client) DescribeEcsClustersRequest(input *DescribeEcsClustersInput) DescribeEcsClustersRequest

DescribeEcsClustersRequest returns a request value for making API operation for AWS OpsWorks.

Describes Amazon ECS clusters that are registered with a stack. If you specify only a stack ID, you can use the MaxResults and NextToken parameters to paginate the response. However, AWS OpsWorks Stacks currently supports only one cluster per layer, so the result set has a maximum of one element.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permission. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

This call accepts only one resource-identifying parameter.

// Example sending a request using DescribeEcsClustersRequest.
req := client.DescribeEcsClustersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClusters

func (*Client) DescribeElasticIpsRequest added in v0.9.0

func (c *Client) DescribeElasticIpsRequest(input *DescribeElasticIpsInput) DescribeElasticIpsRequest

DescribeElasticIpsRequest returns a request value for making API operation for AWS OpsWorks.

Describes Elastic IP addresses (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html).

This call accepts only one resource-identifying parameter.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeElasticIpsRequest.
req := client.DescribeElasticIpsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIps

func (*Client) DescribeElasticLoadBalancersRequest added in v0.9.0

func (c *Client) DescribeElasticLoadBalancersRequest(input *DescribeElasticLoadBalancersInput) DescribeElasticLoadBalancersRequest

DescribeElasticLoadBalancersRequest returns a request value for making API operation for AWS OpsWorks.

Describes a stack's Elastic Load Balancing instances.

This call accepts only one resource-identifying parameter.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeElasticLoadBalancersRequest.
req := client.DescribeElasticLoadBalancersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancers

func (*Client) DescribeInstancesRequest added in v0.9.0

func (c *Client) DescribeInstancesRequest(input *DescribeInstancesInput) DescribeInstancesRequest

DescribeInstancesRequest returns a request value for making API operation for AWS OpsWorks.

Requests a description of a set of instances.

This call accepts only one resource-identifying parameter.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeInstancesRequest.
req := client.DescribeInstancesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstances

func (*Client) DescribeLayersRequest added in v0.9.0

func (c *Client) DescribeLayersRequest(input *DescribeLayersInput) DescribeLayersRequest

DescribeLayersRequest returns a request value for making API operation for AWS OpsWorks.

Requests a description of one or more layers in a specified stack.

This call accepts only one resource-identifying parameter.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeLayersRequest.
req := client.DescribeLayersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayers

func (*Client) DescribeLoadBasedAutoScalingRequest added in v0.9.0

func (c *Client) DescribeLoadBasedAutoScalingRequest(input *DescribeLoadBasedAutoScalingInput) DescribeLoadBasedAutoScalingRequest

DescribeLoadBasedAutoScalingRequest returns a request value for making API operation for AWS OpsWorks.

Describes load-based auto scaling configurations for specified layers.

You must specify at least one of the parameters.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeLoadBasedAutoScalingRequest.
req := client.DescribeLoadBasedAutoScalingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScaling

func (*Client) DescribeMyUserProfileRequest added in v0.9.0

func (c *Client) DescribeMyUserProfileRequest(input *DescribeMyUserProfileInput) DescribeMyUserProfileRequest

DescribeMyUserProfileRequest returns a request value for making API operation for AWS OpsWorks.

Describes a user's SSH information.

Required Permissions: To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeMyUserProfileRequest.
req := client.DescribeMyUserProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeMyUserProfile

func (*Client) DescribeOperatingSystemsRequest added in v0.9.0

func (c *Client) DescribeOperatingSystemsRequest(input *DescribeOperatingSystemsInput) DescribeOperatingSystemsRequest

DescribeOperatingSystemsRequest returns a request value for making API operation for AWS OpsWorks.

Describes the operating systems that are supported by AWS OpsWorks Stacks.

// Example sending a request using DescribeOperatingSystemsRequest.
req := client.DescribeOperatingSystemsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeOperatingSystems

func (*Client) DescribePermissionsRequest added in v0.9.0

func (c *Client) DescribePermissionsRequest(input *DescribePermissionsInput) DescribePermissionsRequest

DescribePermissionsRequest returns a request value for making API operation for AWS OpsWorks.

Describes the permissions for a specified stack.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribePermissionsRequest.
req := client.DescribePermissionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissions

func (*Client) DescribeRaidArraysRequest added in v0.9.0

func (c *Client) DescribeRaidArraysRequest(input *DescribeRaidArraysInput) DescribeRaidArraysRequest

DescribeRaidArraysRequest returns a request value for making API operation for AWS OpsWorks.

Describe an instance's RAID arrays.

This call accepts only one resource-identifying parameter.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeRaidArraysRequest.
req := client.DescribeRaidArraysRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArrays

func (*Client) DescribeRdsDbInstancesRequest added in v0.9.0

func (c *Client) DescribeRdsDbInstancesRequest(input *DescribeRdsDbInstancesInput) DescribeRdsDbInstancesRequest

DescribeRdsDbInstancesRequest returns a request value for making API operation for AWS OpsWorks.

Describes Amazon RDS instances.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

This call accepts only one resource-identifying parameter.

// Example sending a request using DescribeRdsDbInstancesRequest.
req := client.DescribeRdsDbInstancesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstances

func (*Client) DescribeServiceErrorsRequest added in v0.9.0

func (c *Client) DescribeServiceErrorsRequest(input *DescribeServiceErrorsInput) DescribeServiceErrorsRequest

DescribeServiceErrorsRequest returns a request value for making API operation for AWS OpsWorks.

Describes AWS OpsWorks Stacks service errors.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

This call accepts only one resource-identifying parameter.

// Example sending a request using DescribeServiceErrorsRequest.
req := client.DescribeServiceErrorsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrors

func (*Client) DescribeStackProvisioningParametersRequest added in v0.9.0

func (c *Client) DescribeStackProvisioningParametersRequest(input *DescribeStackProvisioningParametersInput) DescribeStackProvisioningParametersRequest

DescribeStackProvisioningParametersRequest returns a request value for making API operation for AWS OpsWorks.

Requests a description of a stack's provisioning parameters.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeStackProvisioningParametersRequest.
req := client.DescribeStackProvisioningParametersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParameters

func (*Client) DescribeStackSummaryRequest added in v0.9.0

func (c *Client) DescribeStackSummaryRequest(input *DescribeStackSummaryInput) DescribeStackSummaryRequest

DescribeStackSummaryRequest returns a request value for making API operation for AWS OpsWorks.

Describes the number of layers and apps in a specified stack, and the number of instances in each state, such as running_setup or online.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeStackSummaryRequest.
req := client.DescribeStackSummaryRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummary

func (*Client) DescribeStacksRequest added in v0.9.0

func (c *Client) DescribeStacksRequest(input *DescribeStacksInput) DescribeStacksRequest

DescribeStacksRequest returns a request value for making API operation for AWS OpsWorks.

Requests a description of one or more stacks.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeStacksRequest.
req := client.DescribeStacksRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacks

func (*Client) DescribeTimeBasedAutoScalingRequest added in v0.9.0

func (c *Client) DescribeTimeBasedAutoScalingRequest(input *DescribeTimeBasedAutoScalingInput) DescribeTimeBasedAutoScalingRequest

DescribeTimeBasedAutoScalingRequest returns a request value for making API operation for AWS OpsWorks.

Describes time-based auto scaling configurations for specified instances.

You must specify at least one of the parameters.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeTimeBasedAutoScalingRequest.
req := client.DescribeTimeBasedAutoScalingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScaling

func (*Client) DescribeUserProfilesRequest added in v0.9.0

func (c *Client) DescribeUserProfilesRequest(input *DescribeUserProfilesInput) DescribeUserProfilesRequest

DescribeUserProfilesRequest returns a request value for making API operation for AWS OpsWorks.

Describe specified users.

Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeUserProfilesRequest.
req := client.DescribeUserProfilesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfiles

func (*Client) DescribeVolumesRequest added in v0.9.0

func (c *Client) DescribeVolumesRequest(input *DescribeVolumesInput) DescribeVolumesRequest

DescribeVolumesRequest returns a request value for making API operation for AWS OpsWorks.

Describes an instance's Amazon EBS volumes.

This call accepts only one resource-identifying parameter.

Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DescribeVolumesRequest.
req := client.DescribeVolumesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumes

func (*Client) DetachElasticLoadBalancerRequest added in v0.9.0

func (c *Client) DetachElasticLoadBalancerRequest(input *DetachElasticLoadBalancerInput) DetachElasticLoadBalancerRequest

DetachElasticLoadBalancerRequest returns a request value for making API operation for AWS OpsWorks.

Detaches a specified Elastic Load Balancing instance from its layer.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DetachElasticLoadBalancerRequest.
req := client.DetachElasticLoadBalancerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancer

func (*Client) DisassociateElasticIpRequest added in v0.9.0

func (c *Client) DisassociateElasticIpRequest(input *DisassociateElasticIpInput) DisassociateElasticIpRequest

DisassociateElasticIpRequest returns a request value for making API operation for AWS OpsWorks.

Disassociates an Elastic IP address from its instance. The address remains registered with the stack. For more information, see Resource Management (https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using DisassociateElasticIpRequest.
req := client.DisassociateElasticIpRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIp

func (*Client) GetHostnameSuggestionRequest added in v0.9.0

func (c *Client) GetHostnameSuggestionRequest(input *GetHostnameSuggestionInput) GetHostnameSuggestionRequest

GetHostnameSuggestionRequest returns a request value for making API operation for AWS OpsWorks.

Gets a generated host name for the specified layer, based on the current host name theme.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using GetHostnameSuggestionRequest.
req := client.GetHostnameSuggestionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestion

func (*Client) GrantAccessRequest added in v0.9.0

func (c *Client) GrantAccessRequest(input *GrantAccessInput) GrantAccessRequest

GrantAccessRequest returns a request value for making API operation for AWS OpsWorks.

This action can be used only with Windows stacks.

Grants RDP access to a Windows instance for a specified time period.

// Example sending a request using GrantAccessRequest.
req := client.GrantAccessRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccess

func (*Client) ListTagsRequest added in v0.9.0

func (c *Client) ListTagsRequest(input *ListTagsInput) ListTagsRequest

ListTagsRequest returns a request value for making API operation for AWS OpsWorks.

Returns a list of tags that are applied to the specified stack or layer.

// Example sending a request using ListTagsRequest.
req := client.ListTagsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTags

func (*Client) RebootInstanceRequest added in v0.9.0

func (c *Client) RebootInstanceRequest(input *RebootInstanceInput) RebootInstanceRequest

RebootInstanceRequest returns a request value for making API operation for AWS OpsWorks.

Reboots a specified instance. For more information, see Starting, Stopping, and Rebooting Instances (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-starting.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using RebootInstanceRequest.
req := client.RebootInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstance

func (*Client) RegisterEcsClusterRequest added in v0.9.0

func (c *Client) RegisterEcsClusterRequest(input *RegisterEcsClusterInput) RegisterEcsClusterRequest

RegisterEcsClusterRequest returns a request value for making API operation for AWS OpsWorks.

Registers a specified Amazon ECS cluster with a stack. You can register only one cluster with a stack. A cluster can be registered with only one stack. For more information, see Resource Management (https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-ecscluster.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using RegisterEcsClusterRequest.
req := client.RegisterEcsClusterRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsCluster

func (*Client) RegisterElasticIpRequest added in v0.9.0

func (c *Client) RegisterElasticIpRequest(input *RegisterElasticIpInput) RegisterElasticIpRequest

RegisterElasticIpRequest returns a request value for making API operation for AWS OpsWorks.

Registers an Elastic IP address with a specified stack. An address can be registered with only one stack at a time. If the address is already registered, you must first deregister it by calling DeregisterElasticIp. For more information, see Resource Management (https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using RegisterElasticIpRequest.
req := client.RegisterElasticIpRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIp

func (*Client) RegisterInstanceRequest added in v0.9.0

func (c *Client) RegisterInstanceRequest(input *RegisterInstanceInput) RegisterInstanceRequest

RegisterInstanceRequest returns a request value for making API operation for AWS OpsWorks.

Registers instances that were created outside of AWS OpsWorks Stacks with a specified stack.

We do not recommend using this action to register instances. The complete registration operation includes two tasks: installing the AWS OpsWorks Stacks agent on the instance, and registering the instance with the stack. RegisterInstance handles only the second step. You should instead use the AWS CLI register command, which performs the entire registration operation. For more information, see Registering an Instance with an AWS OpsWorks Stacks Stack (https://docs.aws.amazon.com/opsworks/latest/userguide/registered-instances-register.html).

Registered instances have the same requirements as instances that are created by using the CreateInstance API. For example, registered instances must be running a supported Linux-based operating system, and they must have a supported instance type. For more information about requirements for instances that you want to register, see Preparing the Instance (https://docs.aws.amazon.com/opsworks/latest/userguide/registered-instances-register-registering-preparer.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using RegisterInstanceRequest.
req := client.RegisterInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstance

func (*Client) RegisterRdsDbInstanceRequest added in v0.9.0

func (c *Client) RegisterRdsDbInstanceRequest(input *RegisterRdsDbInstanceInput) RegisterRdsDbInstanceRequest

RegisterRdsDbInstanceRequest returns a request value for making API operation for AWS OpsWorks.

Registers an Amazon RDS instance with a stack.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using RegisterRdsDbInstanceRequest.
req := client.RegisterRdsDbInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstance

func (*Client) RegisterVolumeRequest added in v0.9.0

func (c *Client) RegisterVolumeRequest(input *RegisterVolumeInput) RegisterVolumeRequest

RegisterVolumeRequest returns a request value for making API operation for AWS OpsWorks.

Registers an Amazon EBS volume with a specified stack. A volume can be registered with only one stack at a time. If the volume is already registered, you must first deregister it by calling DeregisterVolume. For more information, see Resource Management (https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using RegisterVolumeRequest.
req := client.RegisterVolumeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolume

func (*Client) SetLoadBasedAutoScalingRequest added in v0.9.0

func (c *Client) SetLoadBasedAutoScalingRequest(input *SetLoadBasedAutoScalingInput) SetLoadBasedAutoScalingRequest

SetLoadBasedAutoScalingRequest returns a request value for making API operation for AWS OpsWorks.

Specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-autoscaling.html).

To use load-based auto scaling, you must create a set of load-based auto scaling instances. Load-based auto scaling operates only on the instances from that set, so you must ensure that you have created enough instances to handle the maximum anticipated load.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using SetLoadBasedAutoScalingRequest.
req := client.SetLoadBasedAutoScalingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScaling

func (*Client) SetPermissionRequest added in v0.9.0

func (c *Client) SetPermissionRequest(input *SetPermissionInput) SetPermissionRequest

SetPermissionRequest returns a request value for making API operation for AWS OpsWorks.

Specifies a user's permissions. For more information, see Security and Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/workingsecurity.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using SetPermissionRequest.
req := client.SetPermissionRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermission

func (*Client) SetTimeBasedAutoScalingRequest added in v0.9.0

func (c *Client) SetTimeBasedAutoScalingRequest(input *SetTimeBasedAutoScalingInput) SetTimeBasedAutoScalingRequest

SetTimeBasedAutoScalingRequest returns a request value for making API operation for AWS OpsWorks.

Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based Instances (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-autoscaling.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using SetTimeBasedAutoScalingRequest.
req := client.SetTimeBasedAutoScalingRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScaling

func (*Client) StartInstanceRequest added in v0.9.0

func (c *Client) StartInstanceRequest(input *StartInstanceInput) StartInstanceRequest

StartInstanceRequest returns a request value for making API operation for AWS OpsWorks.

Starts a specified instance. For more information, see Starting, Stopping, and Rebooting Instances (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-starting.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using StartInstanceRequest.
req := client.StartInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstance

func (*Client) StartStackRequest added in v0.9.0

func (c *Client) StartStackRequest(input *StartStackInput) StartStackRequest

StartStackRequest returns a request value for making API operation for AWS OpsWorks.

Starts a stack's instances.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using StartStackRequest.
req := client.StartStackRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStack

func (*Client) StopInstanceRequest added in v0.9.0

func (c *Client) StopInstanceRequest(input *StopInstanceInput) StopInstanceRequest

StopInstanceRequest returns a request value for making API operation for AWS OpsWorks.

Stops a specified instance. When you stop a standard instance, the data disappears and must be reinstalled when you restart the instance. You can stop an Amazon EBS-backed instance without losing data. For more information, see Starting, Stopping, and Rebooting Instances (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-starting.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using StopInstanceRequest.
req := client.StopInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstance

func (*Client) StopStackRequest added in v0.9.0

func (c *Client) StopStackRequest(input *StopStackInput) StopStackRequest

StopStackRequest returns a request value for making API operation for AWS OpsWorks.

Stops a specified stack.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using StopStackRequest.
req := client.StopStackRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStack

func (*Client) TagResourceRequest added in v0.9.0

func (c *Client) TagResourceRequest(input *TagResourceInput) TagResourceRequest

TagResourceRequest returns a request value for making API operation for AWS OpsWorks.

Apply cost-allocation tags to a specified stack or layer in AWS OpsWorks Stacks. For more information about how tagging works, see Tags (https://docs.aws.amazon.com/opsworks/latest/userguide/tagging.html) in the AWS OpsWorks User Guide.

// Example sending a request using TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResource

func (*Client) UnassignInstanceRequest added in v0.9.0

func (c *Client) UnassignInstanceRequest(input *UnassignInstanceInput) UnassignInstanceRequest

UnassignInstanceRequest returns a request value for making API operation for AWS OpsWorks.

Unassigns a registered instance from all layers that are using the instance. The instance remains in the stack as an unassigned instance, and can be assigned to another layer as needed. You cannot use this action with instances that were created with AWS OpsWorks Stacks.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using UnassignInstanceRequest.
req := client.UnassignInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstance

func (*Client) UnassignVolumeRequest added in v0.9.0

func (c *Client) UnassignVolumeRequest(input *UnassignVolumeInput) UnassignVolumeRequest

UnassignVolumeRequest returns a request value for making API operation for AWS OpsWorks.

Unassigns an assigned Amazon EBS volume. The volume remains registered with the stack. For more information, see Resource Management (https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using UnassignVolumeRequest.
req := client.UnassignVolumeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolume

func (*Client) UntagResourceRequest added in v0.9.0

func (c *Client) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest

UntagResourceRequest returns a request value for making API operation for AWS OpsWorks.

Removes tags from a specified stack or layer.

// Example sending a request using UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResource

func (*Client) UpdateAppRequest added in v0.9.0

func (c *Client) UpdateAppRequest(input *UpdateAppInput) UpdateAppRequest

UpdateAppRequest returns a request value for making API operation for AWS OpsWorks.

Updates a specified app.

Required Permissions: To use this action, an IAM user must have a Deploy or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using UpdateAppRequest.
req := client.UpdateAppRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateApp

func (*Client) UpdateElasticIpRequest added in v0.9.0

func (c *Client) UpdateElasticIpRequest(input *UpdateElasticIpInput) UpdateElasticIpRequest

UpdateElasticIpRequest returns a request value for making API operation for AWS OpsWorks.

Updates a registered Elastic IP address's name. For more information, see Resource Management (https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using UpdateElasticIpRequest.
req := client.UpdateElasticIpRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIp

func (*Client) UpdateInstanceRequest added in v0.9.0

func (c *Client) UpdateInstanceRequest(input *UpdateInstanceInput) UpdateInstanceRequest

UpdateInstanceRequest returns a request value for making API operation for AWS OpsWorks.

Updates a specified instance.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using UpdateInstanceRequest.
req := client.UpdateInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstance

func (*Client) UpdateLayerRequest added in v0.9.0

func (c *Client) UpdateLayerRequest(input *UpdateLayerInput) UpdateLayerRequest

UpdateLayerRequest returns a request value for making API operation for AWS OpsWorks.

Updates a specified layer.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using UpdateLayerRequest.
req := client.UpdateLayerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayer

func (*Client) UpdateMyUserProfileRequest added in v0.9.0

func (c *Client) UpdateMyUserProfileRequest(input *UpdateMyUserProfileInput) UpdateMyUserProfileRequest

UpdateMyUserProfileRequest returns a request value for making API operation for AWS OpsWorks.

Updates a user's SSH public key.

Required Permissions: To use this action, an IAM user must have self-management enabled or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using UpdateMyUserProfileRequest.
req := client.UpdateMyUserProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfile

func (*Client) UpdateRdsDbInstanceRequest added in v0.9.0

func (c *Client) UpdateRdsDbInstanceRequest(input *UpdateRdsDbInstanceInput) UpdateRdsDbInstanceRequest

UpdateRdsDbInstanceRequest returns a request value for making API operation for AWS OpsWorks.

Updates an Amazon RDS instance.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using UpdateRdsDbInstanceRequest.
req := client.UpdateRdsDbInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstance

func (*Client) UpdateStackRequest added in v0.9.0

func (c *Client) UpdateStackRequest(input *UpdateStackInput) UpdateStackRequest

UpdateStackRequest returns a request value for making API operation for AWS OpsWorks.

Updates a specified stack.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using UpdateStackRequest.
req := client.UpdateStackRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStack

func (*Client) UpdateUserProfileRequest added in v0.9.0

func (c *Client) UpdateUserProfileRequest(input *UpdateUserProfileInput) UpdateUserProfileRequest

UpdateUserProfileRequest returns a request value for making API operation for AWS OpsWorks.

Updates a specified user profile.

Required Permissions: To use this action, an IAM user must have an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using UpdateUserProfileRequest.
req := client.UpdateUserProfileRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfile

func (*Client) UpdateVolumeRequest added in v0.9.0

func (c *Client) UpdateVolumeRequest(input *UpdateVolumeInput) UpdateVolumeRequest

UpdateVolumeRequest returns a request value for making API operation for AWS OpsWorks.

Updates an Amazon EBS volume's name or mount point. For more information, see Resource Management (https://docs.aws.amazon.com/opsworks/latest/userguide/resources.html).

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).

// Example sending a request using UpdateVolumeRequest.
req := client.UpdateVolumeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolume

func (*Client) WaitUntilAppExists added in v0.9.0

func (c *Client) WaitUntilAppExists(ctx context.Context, input *DescribeAppsInput, opts ...aws.WaiterOption) error

WaitUntilAppExists uses the AWS OpsWorks API operation DescribeApps to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Client) WaitUntilDeploymentSuccessful added in v0.9.0

func (c *Client) WaitUntilDeploymentSuccessful(ctx context.Context, input *DescribeDeploymentsInput, opts ...aws.WaiterOption) error

WaitUntilDeploymentSuccessful uses the AWS OpsWorks API operation DescribeDeployments to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Client) WaitUntilInstanceOnline added in v0.9.0

func (c *Client) WaitUntilInstanceOnline(ctx context.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error

WaitUntilInstanceOnline uses the AWS OpsWorks API operation DescribeInstances to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Client) WaitUntilInstanceRegistered added in v0.9.0

func (c *Client) WaitUntilInstanceRegistered(ctx context.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error

WaitUntilInstanceRegistered uses the AWS OpsWorks API operation DescribeInstances to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Client) WaitUntilInstanceStopped added in v0.9.0

func (c *Client) WaitUntilInstanceStopped(ctx context.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error

WaitUntilInstanceStopped uses the AWS OpsWorks API operation DescribeInstances to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*Client) WaitUntilInstanceTerminated added in v0.9.0

func (c *Client) WaitUntilInstanceTerminated(ctx context.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error

WaitUntilInstanceTerminated uses the AWS OpsWorks API operation DescribeInstances to wait for a condition to be met before returning. If the condition is not met within the max attempt window, an error will be returned.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type CloneStackInput

type CloneStackInput struct {

	// The default AWS OpsWorks Stacks agent version. You have the following options:
	//
	//    * Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically
	//    installs new agent versions on the stack's instances as soon as they are
	//    available.
	//
	//    * Fixed version - Set this parameter to your preferred agent version.
	//    To update the agent version, you must edit the stack configuration and
	//    specify a new version. AWS OpsWorks Stacks then automatically installs
	//    that version on the stack's instances.
	//
	// The default setting is LATEST. To specify an agent version, you must use
	// the complete version number, not the abbreviated number shown on the console.
	// For a list of available agent version numbers, call DescribeAgentVersions.
	// AgentVersion cannot be set to Chef 12.2.
	//
	// You can also specify an agent version when you create or update an instance,
	// which overrides the stack's default setting.
	AgentVersion *string `type:"string"`

	// A list of stack attributes and values as key/value pairs to be added to the
	// cloned stack.
	Attributes map[string]string `type:"map"`

	// A ChefConfiguration object that specifies whether to enable Berkshelf and
	// the Berkshelf version on Chef 11.10 stacks. For more information, see Create
	// a New Stack (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
	ChefConfiguration *ChefConfiguration `type:"structure"`

	// A list of source stack app IDs to be included in the cloned stack.
	CloneAppIds []string `type:"list"`

	// Whether to clone the source stack's permissions.
	ClonePermissions *bool `type:"boolean"`

	// The configuration manager. When you clone a stack we recommend that you use
	// the configuration manager to specify the Chef version: 12, 11.10, or 11.4
	// for Linux stacks, or 12.2 for Windows stacks. The default value for Linux
	// stacks is currently 12.
	ConfigurationManager *StackConfigurationManager `type:"structure"`

	// Contains the information required to retrieve an app or cookbook from a repository.
	// For more information, see Adding Apps (https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html)
	// or Cookbooks and Recipes (https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html).
	CustomCookbooksSource *Source `type:"structure"`

	// A string that contains user-defined, custom JSON. It is used to override
	// the corresponding default stack configuration JSON values. The string should
	// be in the following format:
	//
	// "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
	//
	// For more information about custom JSON, see Use Custom JSON to Modify the
	// Stack Configuration Attributes (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html)
	CustomJson *string `type:"string"`

	// The cloned stack's default Availability Zone, which must be in the specified
	// region. For more information, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html).
	// If you also specify a value for DefaultSubnetId, the subnet must be in the
	// same zone. For more information, see the VpcId parameter description.
	DefaultAvailabilityZone *string `type:"string"`

	// The Amazon Resource Name (ARN) of an IAM profile that is the default profile
	// for all of the stack's EC2 instances. For more information about IAM ARNs,
	// see Using Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
	DefaultInstanceProfileArn *string `type:"string"`

	// The stack's operating system, which must be set to one of the following.
	//
	//    * A supported Linux operating system: An Amazon Linux version, such as
	//    Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon
	//    Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux
	//    2015.03.
	//
	//    * A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu
	//    14.04 LTS, or Ubuntu 12.04 LTS.
	//
	//    * CentOS Linux 7
	//
	//    * Red Hat Enterprise Linux 7
	//
	//    * Microsoft Windows Server 2012 R2 Base, Microsoft Windows Server 2012
	//    R2 with SQL Server Express, Microsoft Windows Server 2012 R2 with SQL
	//    Server Standard, or Microsoft Windows Server 2012 R2 with SQL Server Web.
	//
	//    * A custom AMI: Custom. You specify the custom AMI you want to use when
	//    you create instances. For more information about how to use custom AMIs
	//    with OpsWorks, see Using Custom AMIs (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html).
	//
	// The default option is the parent stack's operating system. For more information
	// about supported operating systems, see AWS OpsWorks Stacks Operating Systems
	// (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html).
	//
	// You can specify a different Linux operating system for the cloned stack,
	// but you cannot change from Linux to Windows or Windows to Linux.
	DefaultOs *string `type:"string"`

	// The default root device type. This value is used by default for all instances
	// in the cloned stack, but you can override it when you create an instance.
	// For more information, see Storage for the Root Device (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device).
	DefaultRootDeviceType RootDeviceType `type:"string" enum:"true"`

	// A default Amazon EC2 key pair name. The default value is none. If you specify
	// a key pair name, AWS OpsWorks installs the public key on the instance and
	// you can use the private key with an SSH client to log in to the instance.
	// For more information, see Using SSH to Communicate with an Instance (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html)
	// and Managing SSH Access (https://docs.aws.amazon.com/opsworks/latest/userguide/security-ssh-access.html).
	// You can override this setting by specifying a different key pair, or no key
	// pair, when you create an instance (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html).
	DefaultSshKeyName *string `type:"string"`

	// The stack's default VPC subnet ID. This parameter is required if you specify
	// a value for the VpcId parameter. All instances are launched into this subnet
	// unless you specify otherwise when you create the instance. If you also specify
	// a value for DefaultAvailabilityZone, the subnet must be in that zone. For
	// information on default values and when this parameter is required, see the
	// VpcId parameter description.
	DefaultSubnetId *string `type:"string"`

	// The stack's host name theme, with spaces are replaced by underscores. The
	// theme is used to generate host names for the stack's instances. By default,
	// HostnameTheme is set to Layer_Dependent, which creates host names by appending
	// integers to the layer's short name. The other themes are:
	//
	//    * Baked_Goods
	//
	//    * Clouds
	//
	//    * Europe_Cities
	//
	//    * Fruits
	//
	//    * Greek_Deities_and_Titans
	//
	//    * Legendary_creatures_from_Japan
	//
	//    * Planets_and_Moons
	//
	//    * Roman_Deities
	//
	//    * Scottish_Islands
	//
	//    * US_Cities
	//
	//    * Wild_Cats
	//
	// To obtain a generated host name, call GetHostNameSuggestion, which returns
	// a host name based on the current theme.
	HostnameTheme *string `type:"string"`

	// The cloned stack name.
	Name *string `type:"string"`

	// The cloned stack AWS region, such as "ap-northeast-2". For more information
	// about AWS regions, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html).
	Region *string `type:"string"`

	// The stack AWS Identity and Access Management (IAM) role, which allows AWS
	// OpsWorks Stacks to work with AWS resources on your behalf. You must set this
	// parameter to the Amazon Resource Name (ARN) for an existing IAM role. If
	// you create a stack by using the AWS OpsWorks Stacks console, it creates the
	// role for you. You can obtain an existing stack's IAM ARN programmatically
	// by calling DescribePermissions. For more information about IAM ARNs, see
	// Using Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
	//
	// You must set this parameter to a valid service role ARN or the action will
	// fail; there is no default value. You can specify the source stack's service
	// role ARN, if you prefer, but you must do so explicitly.
	//
	// ServiceRoleArn is a required field
	ServiceRoleArn *string `type:"string" required:"true"`

	// The source stack ID.
	//
	// SourceStackId is a required field
	SourceStackId *string `type:"string" required:"true"`

	// Whether to use custom cookbooks.
	UseCustomCookbooks *bool `type:"boolean"`

	// Whether to associate the AWS OpsWorks Stacks built-in security groups with
	// the stack's layers.
	//
	// AWS OpsWorks Stacks provides a standard set of built-in security groups,
	// one for each layer, which are associated with layers by default. With UseOpsworksSecurityGroups
	// you can instead provide your own custom security groups. UseOpsworksSecurityGroups
	// has the following settings:
	//
	//    * True - AWS OpsWorks Stacks automatically associates the appropriate
	//    built-in security group with each layer (default setting). You can associate
	//    additional security groups with a layer after you create it but you cannot
	//    delete the built-in security group.
	//
	//    * False - AWS OpsWorks Stacks does not associate built-in security groups
	//    with layers. You must create appropriate Amazon Elastic Compute Cloud
	//    (Amazon EC2) security groups and associate a security group with each
	//    layer that you create. However, you can still manually associate a built-in
	//    security group with a layer on creation; custom security groups are required
	//    only for those layers that need custom settings.
	//
	// For more information, see Create a New Stack (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
	UseOpsworksSecurityGroups *bool `type:"boolean"`

	// The ID of the VPC that the cloned stack is to be launched into. It must be
	// in the specified region. All instances are launched into this VPC, and you
	// cannot change the ID later.
	//
	//    * If your account supports EC2 Classic, the default value is no VPC.
	//
	//    * If your account does not support EC2 Classic, the default value is the
	//    default VPC for the specified region.
	//
	// If the VPC ID corresponds to a default VPC and you have specified either
	// the DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks
	// Stacks infers the value of the other parameter. If you specify neither parameter,
	// AWS OpsWorks Stacks sets these parameters to the first valid Availability
	// Zone for the specified region and the corresponding default VPC subnet ID,
	// respectively.
	//
	// If you specify a nondefault VPC ID, note the following:
	//
	//    * It must belong to a VPC in your account that is in the specified region.
	//
	//    * You must specify a value for DefaultSubnetId.
	//
	// For more information about how to use AWS OpsWorks Stacks with a VPC, see
	// Running a Stack in a VPC (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-vpc.html).
	// For more information about default VPC and EC2 Classic, see Supported Platforms
	// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html).
	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CloneStackInput) String

func (s CloneStackInput) String() string

String returns the string representation

func (*CloneStackInput) Validate

func (s *CloneStackInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CloneStackOutput

type CloneStackOutput struct {

	// The cloned stack ID.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the response to a CloneStack request.

func (CloneStackOutput) String

func (s CloneStackOutput) String() string

String returns the string representation

type CloneStackRequest

type CloneStackRequest struct {
	*aws.Request
	Input *CloneStackInput
	Copy  func(*CloneStackInput) CloneStackRequest
}

CloneStackRequest is the request type for the CloneStack API operation.

func (CloneStackRequest) Send

Send marshals and sends the CloneStack API request.

type CloneStackResponse added in v0.9.0

type CloneStackResponse struct {
	*CloneStackOutput
	// contains filtered or unexported fields
}

CloneStackResponse is the response type for the CloneStack API operation.

func (*CloneStackResponse) SDKResponseMetdata added in v0.9.0

func (r *CloneStackResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CloneStack request.

type CloudWatchLogsConfiguration

type CloudWatchLogsConfiguration struct {

	// Whether CloudWatch Logs is enabled for a layer.
	Enabled *bool `type:"boolean"`

	// A list of configuration options for CloudWatch Logs.
	LogStreams []CloudWatchLogsLogStream `type:"list"`
	// contains filtered or unexported fields
}

Describes the Amazon CloudWatch logs configuration for a layer.

func (CloudWatchLogsConfiguration) String

String returns the string representation

type CloudWatchLogsEncoding

type CloudWatchLogsEncoding string

Specifies the encoding of the log file so that the file can be read correctly. The default is utf_8. Encodings supported by Python codecs.decode() can be used here.

const (
	CloudWatchLogsEncodingAscii         CloudWatchLogsEncoding = "ascii"
	CloudWatchLogsEncodingBig5          CloudWatchLogsEncoding = "big5"
	CloudWatchLogsEncodingBig5hkscs     CloudWatchLogsEncoding = "big5hkscs"
	CloudWatchLogsEncodingCp037         CloudWatchLogsEncoding = "cp037"
	CloudWatchLogsEncodingCp424         CloudWatchLogsEncoding = "cp424"
	CloudWatchLogsEncodingCp437         CloudWatchLogsEncoding = "cp437"
	CloudWatchLogsEncodingCp500         CloudWatchLogsEncoding = "cp500"
	CloudWatchLogsEncodingCp720         CloudWatchLogsEncoding = "cp720"
	CloudWatchLogsEncodingCp737         CloudWatchLogsEncoding = "cp737"
	CloudWatchLogsEncodingCp775         CloudWatchLogsEncoding = "cp775"
	CloudWatchLogsEncodingCp850         CloudWatchLogsEncoding = "cp850"
	CloudWatchLogsEncodingCp852         CloudWatchLogsEncoding = "cp852"
	CloudWatchLogsEncodingCp855         CloudWatchLogsEncoding = "cp855"
	CloudWatchLogsEncodingCp856         CloudWatchLogsEncoding = "cp856"
	CloudWatchLogsEncodingCp857         CloudWatchLogsEncoding = "cp857"
	CloudWatchLogsEncodingCp858         CloudWatchLogsEncoding = "cp858"
	CloudWatchLogsEncodingCp860         CloudWatchLogsEncoding = "cp860"
	CloudWatchLogsEncodingCp861         CloudWatchLogsEncoding = "cp861"
	CloudWatchLogsEncodingCp862         CloudWatchLogsEncoding = "cp862"
	CloudWatchLogsEncodingCp863         CloudWatchLogsEncoding = "cp863"
	CloudWatchLogsEncodingCp864         CloudWatchLogsEncoding = "cp864"
	CloudWatchLogsEncodingCp865         CloudWatchLogsEncoding = "cp865"
	CloudWatchLogsEncodingCp866         CloudWatchLogsEncoding = "cp866"
	CloudWatchLogsEncodingCp869         CloudWatchLogsEncoding = "cp869"
	CloudWatchLogsEncodingCp874         CloudWatchLogsEncoding = "cp874"
	CloudWatchLogsEncodingCp875         CloudWatchLogsEncoding = "cp875"
	CloudWatchLogsEncodingCp932         CloudWatchLogsEncoding = "cp932"
	CloudWatchLogsEncodingCp949         CloudWatchLogsEncoding = "cp949"
	CloudWatchLogsEncodingCp950         CloudWatchLogsEncoding = "cp950"
	CloudWatchLogsEncodingCp1006        CloudWatchLogsEncoding = "cp1006"
	CloudWatchLogsEncodingCp1026        CloudWatchLogsEncoding = "cp1026"
	CloudWatchLogsEncodingCp1140        CloudWatchLogsEncoding = "cp1140"
	CloudWatchLogsEncodingCp1250        CloudWatchLogsEncoding = "cp1250"
	CloudWatchLogsEncodingCp1251        CloudWatchLogsEncoding = "cp1251"
	CloudWatchLogsEncodingCp1252        CloudWatchLogsEncoding = "cp1252"
	CloudWatchLogsEncodingCp1253        CloudWatchLogsEncoding = "cp1253"
	CloudWatchLogsEncodingCp1254        CloudWatchLogsEncoding = "cp1254"
	CloudWatchLogsEncodingCp1255        CloudWatchLogsEncoding = "cp1255"
	CloudWatchLogsEncodingCp1256        CloudWatchLogsEncoding = "cp1256"
	CloudWatchLogsEncodingCp1257        CloudWatchLogsEncoding = "cp1257"
	CloudWatchLogsEncodingCp1258        CloudWatchLogsEncoding = "cp1258"
	CloudWatchLogsEncodingEucJp         CloudWatchLogsEncoding = "euc_jp"
	CloudWatchLogsEncodingEucJis2004    CloudWatchLogsEncoding = "euc_jis_2004"
	CloudWatchLogsEncodingEucJisx0213   CloudWatchLogsEncoding = "euc_jisx0213"
	CloudWatchLogsEncodingEucKr         CloudWatchLogsEncoding = "euc_kr"
	CloudWatchLogsEncodingGb2312        CloudWatchLogsEncoding = "gb2312"
	CloudWatchLogsEncodingGbk           CloudWatchLogsEncoding = "gbk"
	CloudWatchLogsEncodingGb18030       CloudWatchLogsEncoding = "gb18030"
	CloudWatchLogsEncodingHz            CloudWatchLogsEncoding = "hz"
	CloudWatchLogsEncodingIso2022Jp     CloudWatchLogsEncoding = "iso2022_jp"
	CloudWatchLogsEncodingIso2022Jp1    CloudWatchLogsEncoding = "iso2022_jp_1"
	CloudWatchLogsEncodingIso2022Jp2    CloudWatchLogsEncoding = "iso2022_jp_2"
	CloudWatchLogsEncodingIso2022Jp2004 CloudWatchLogsEncoding = "iso2022_jp_2004"
	CloudWatchLogsEncodingIso2022Jp3    CloudWatchLogsEncoding = "iso2022_jp_3"
	CloudWatchLogsEncodingIso2022JpExt  CloudWatchLogsEncoding = "iso2022_jp_ext"
	CloudWatchLogsEncodingIso2022Kr     CloudWatchLogsEncoding = "iso2022_kr"
	CloudWatchLogsEncodingLatin1        CloudWatchLogsEncoding = "latin_1"
	CloudWatchLogsEncodingIso88592      CloudWatchLogsEncoding = "iso8859_2"
	CloudWatchLogsEncodingIso88593      CloudWatchLogsEncoding = "iso8859_3"
	CloudWatchLogsEncodingIso88594      CloudWatchLogsEncoding = "iso8859_4"
	CloudWatchLogsEncodingIso88595      CloudWatchLogsEncoding = "iso8859_5"
	CloudWatchLogsEncodingIso88596      CloudWatchLogsEncoding = "iso8859_6"
	CloudWatchLogsEncodingIso88597      CloudWatchLogsEncoding = "iso8859_7"
	CloudWatchLogsEncodingIso88598      CloudWatchLogsEncoding = "iso8859_8"
	CloudWatchLogsEncodingIso88599      CloudWatchLogsEncoding = "iso8859_9"
	CloudWatchLogsEncodingIso885910     CloudWatchLogsEncoding = "iso8859_10"
	CloudWatchLogsEncodingIso885913     CloudWatchLogsEncoding = "iso8859_13"
	CloudWatchLogsEncodingIso885914     CloudWatchLogsEncoding = "iso8859_14"
	CloudWatchLogsEncodingIso885915     CloudWatchLogsEncoding = "iso8859_15"
	CloudWatchLogsEncodingIso885916     CloudWatchLogsEncoding = "iso8859_16"
	CloudWatchLogsEncodingJohab         CloudWatchLogsEncoding = "johab"
	CloudWatchLogsEncodingKoi8R         CloudWatchLogsEncoding = "koi8_r"
	CloudWatchLogsEncodingKoi8U         CloudWatchLogsEncoding = "koi8_u"
	CloudWatchLogsEncodingMacCyrillic   CloudWatchLogsEncoding = "mac_cyrillic"
	CloudWatchLogsEncodingMacGreek      CloudWatchLogsEncoding = "mac_greek"
	CloudWatchLogsEncodingMacIceland    CloudWatchLogsEncoding = "mac_iceland"
	CloudWatchLogsEncodingMacLatin2     CloudWatchLogsEncoding = "mac_latin2"
	CloudWatchLogsEncodingMacRoman      CloudWatchLogsEncoding = "mac_roman"
	CloudWatchLogsEncodingMacTurkish    CloudWatchLogsEncoding = "mac_turkish"
	CloudWatchLogsEncodingPtcp154       CloudWatchLogsEncoding = "ptcp154"
	CloudWatchLogsEncodingShiftJis      CloudWatchLogsEncoding = "shift_jis"
	CloudWatchLogsEncodingShiftJis2004  CloudWatchLogsEncoding = "shift_jis_2004"
	CloudWatchLogsEncodingShiftJisx0213 CloudWatchLogsEncoding = "shift_jisx0213"
	CloudWatchLogsEncodingUtf32         CloudWatchLogsEncoding = "utf_32"
	CloudWatchLogsEncodingUtf32Be       CloudWatchLogsEncoding = "utf_32_be"
	CloudWatchLogsEncodingUtf32Le       CloudWatchLogsEncoding = "utf_32_le"
	CloudWatchLogsEncodingUtf16         CloudWatchLogsEncoding = "utf_16"
	CloudWatchLogsEncodingUtf16Be       CloudWatchLogsEncoding = "utf_16_be"
	CloudWatchLogsEncodingUtf16Le       CloudWatchLogsEncoding = "utf_16_le"
	CloudWatchLogsEncodingUtf7          CloudWatchLogsEncoding = "utf_7"
	CloudWatchLogsEncodingUtf8          CloudWatchLogsEncoding = "utf_8"
	CloudWatchLogsEncodingUtf8Sig       CloudWatchLogsEncoding = "utf_8_sig"
)

Enum values for CloudWatchLogsEncoding

func (CloudWatchLogsEncoding) MarshalValue added in v0.3.0

func (enum CloudWatchLogsEncoding) MarshalValue() (string, error)

func (CloudWatchLogsEncoding) MarshalValueBuf added in v0.3.0

func (enum CloudWatchLogsEncoding) MarshalValueBuf(b []byte) ([]byte, error)

type CloudWatchLogsInitialPosition

type CloudWatchLogsInitialPosition string

Specifies where to start to read data (start_of_file or end_of_file). The default is start_of_file. It's only used if there is no state persisted for that log stream.

const (
	CloudWatchLogsInitialPositionStartOfFile CloudWatchLogsInitialPosition = "start_of_file"
	CloudWatchLogsInitialPositionEndOfFile   CloudWatchLogsInitialPosition = "end_of_file"
)

Enum values for CloudWatchLogsInitialPosition

func (CloudWatchLogsInitialPosition) MarshalValue added in v0.3.0

func (enum CloudWatchLogsInitialPosition) MarshalValue() (string, error)

func (CloudWatchLogsInitialPosition) MarshalValueBuf added in v0.3.0

func (enum CloudWatchLogsInitialPosition) MarshalValueBuf(b []byte) ([]byte, error)

type CloudWatchLogsLogStream

type CloudWatchLogsLogStream struct {

	// Specifies the max number of log events in a batch, up to 10000. The default
	// value is 1000.
	BatchCount *int64 `type:"integer"`

	// Specifies the maximum size of log events in a batch, in bytes, up to 1048576
	// bytes. The default value is 32768 bytes. This size is calculated as the sum
	// of all event messages in UTF-8, plus 26 bytes for each log event.
	BatchSize *int64 `type:"integer"`

	// Specifies the time duration for the batching of log events. The minimum value
	// is 5000ms and default value is 5000ms.
	BufferDuration *int64 `type:"integer"`

	// Specifies how the time stamp is extracted from logs. For more information,
	// see the CloudWatch Logs Agent Reference (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html).
	DatetimeFormat *string `type:"string"`

	// Specifies the encoding of the log file so that the file can be read correctly.
	// The default is utf_8. Encodings supported by Python codecs.decode() can be
	// used here.
	Encoding CloudWatchLogsEncoding `type:"string" enum:"true"`

	// Specifies log files that you want to push to CloudWatch Logs.
	//
	// File can point to a specific file or multiple files (by using wild card characters
	// such as /var/log/system.log*). Only the latest file is pushed to CloudWatch
	// Logs, based on file modification time. We recommend that you use wild card
	// characters to specify a series of files of the same type, such as access_log.2014-06-01-01,
	// access_log.2014-06-01-02, and so on by using a pattern like access_log.*.
	// Don't use a wildcard to match multiple file types, such as access_log_80
	// and access_log_443. To specify multiple, different file types, add another
	// log stream entry to the configuration file, so that each log file type is
	// stored in a different log group.
	//
	// Zipped files are not supported.
	File *string `type:"string"`

	// Specifies the range of lines for identifying a file. The valid values are
	// one number, or two dash-delimited numbers, such as '1', '2-5'. The default
	// value is '1', meaning the first line is used to calculate the fingerprint.
	// Fingerprint lines are not sent to CloudWatch Logs unless all specified lines
	// are available.
	FileFingerprintLines *string `type:"string"`

	// Specifies where to start to read data (start_of_file or end_of_file). The
	// default is start_of_file. This setting is only used if there is no state
	// persisted for that log stream.
	InitialPosition CloudWatchLogsInitialPosition `type:"string" enum:"true"`

	// Specifies the destination log group. A log group is created automatically
	// if it doesn't already exist. Log group names can be between 1 and 512 characters
	// long. Allowed characters include a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen),
	// '/' (forward slash), and '.' (period).
	LogGroupName *string `type:"string"`

	// Specifies the pattern for identifying the start of a log message.
	MultiLineStartPattern *string `type:"string"`

	// Specifies the time zone of log event time stamps.
	TimeZone CloudWatchLogsTimeZone `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes the Amazon CloudWatch logs configuration for a layer. For detailed information about members of this data type, see the CloudWatch Logs Agent Reference (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html).

func (CloudWatchLogsLogStream) String

func (s CloudWatchLogsLogStream) String() string

String returns the string representation

type CloudWatchLogsTimeZone

type CloudWatchLogsTimeZone string

The preferred time zone for logs streamed to CloudWatch Logs. Valid values are LOCAL and UTC, for Coordinated Universal Time.

const (
	CloudWatchLogsTimeZoneLocal CloudWatchLogsTimeZone = "LOCAL"
	CloudWatchLogsTimeZoneUtc   CloudWatchLogsTimeZone = "UTC"
)

Enum values for CloudWatchLogsTimeZone

func (CloudWatchLogsTimeZone) MarshalValue added in v0.3.0

func (enum CloudWatchLogsTimeZone) MarshalValue() (string, error)

func (CloudWatchLogsTimeZone) MarshalValueBuf added in v0.3.0

func (enum CloudWatchLogsTimeZone) MarshalValueBuf(b []byte) ([]byte, error)

type Command

type Command struct {

	// Date and time when the command was acknowledged.
	AcknowledgedAt *string `type:"string"`

	// The command ID.
	CommandId *string `type:"string"`

	// Date when the command completed.
	CompletedAt *string `type:"string"`

	// Date and time when the command was run.
	CreatedAt *string `type:"string"`

	// The command deployment ID.
	DeploymentId *string `type:"string"`

	// The command exit code.
	ExitCode *int64 `type:"integer"`

	// The ID of the instance where the command was executed.
	InstanceId *string `type:"string"`

	// The URL of the command log.
	LogUrl *string `type:"string"`

	// The command status:
	//
	//    * failed
	//
	//    * successful
	//
	//    * skipped
	//
	//    * pending
	Status *string `type:"string"`

	// The command type:
	//
	//    * configure
	//
	//    * deploy
	//
	//    * execute_recipes
	//
	//    * install_dependencies
	//
	//    * restart
	//
	//    * rollback
	//
	//    * setup
	//
	//    * start
	//
	//    * stop
	//
	//    * undeploy
	//
	//    * update_custom_cookbooks
	//
	//    * update_dependencies
	Type *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a command.

func (Command) String

func (s Command) String() string

String returns the string representation

type CreateAppInput

type CreateAppInput struct {

	// A Source object that specifies the app repository.
	AppSource *Source `type:"structure"`

	// One or more user-defined key/value pairs to be added to the stack attributes.
	Attributes map[string]string `type:"map"`

	// The app's data source.
	DataSources []DataSource `type:"list"`

	// A description of the app.
	Description *string `type:"string"`

	// The app virtual host settings, with multiple domains separated by commas.
	// For example: 'www.example.com, example.com'
	Domains []string `type:"list"`

	// Whether to enable SSL for the app.
	EnableSsl *bool `type:"boolean"`

	// An array of EnvironmentVariable objects that specify environment variables
	// to be associated with the app. After you deploy the app, these variables
	// are defined on the associated app server instance. For more information,
	// see Environment Variables (https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html#workingapps-creating-environment).
	//
	// There is no specific limit on the number of environment variables. However,
	// the size of the associated data structure - which includes the variables'
	// names, values, and protected flag values - cannot exceed 20 KB. This limit
	// should accommodate most if not all use cases. Exceeding it will cause an
	// exception with the message, "Environment: is too large (maximum is 20KB)."
	//
	// If you have specified one or more environment variables, you cannot modify
	// the stack's Chef version.
	Environment []EnvironmentVariable `type:"list"`

	// The app name.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The app's short name.
	Shortname *string `type:"string"`

	// An SslConfiguration object with the SSL configuration.
	SslConfiguration *SslConfiguration `type:"structure"`

	// The stack ID.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`

	// The app type. Each supported type is associated with a particular layer.
	// For example, PHP applications are associated with a PHP layer. AWS OpsWorks
	// Stacks deploys an application to those instances that are members of the
	// corresponding layer. If your app isn't one of the standard types, or you
	// prefer to implement your own Deploy recipes, specify other.
	//
	// Type is a required field
	Type AppType `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

func (CreateAppInput) String

func (s CreateAppInput) String() string

String returns the string representation

func (*CreateAppInput) Validate

func (s *CreateAppInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateAppOutput

type CreateAppOutput struct {

	// The app ID.
	AppId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the response to a CreateApp request.

func (CreateAppOutput) String

func (s CreateAppOutput) String() string

String returns the string representation

type CreateAppRequest

type CreateAppRequest struct {
	*aws.Request
	Input *CreateAppInput
	Copy  func(*CreateAppInput) CreateAppRequest
}

CreateAppRequest is the request type for the CreateApp API operation.

func (CreateAppRequest) Send

Send marshals and sends the CreateApp API request.

type CreateAppResponse added in v0.9.0

type CreateAppResponse struct {
	*CreateAppOutput
	// contains filtered or unexported fields
}

CreateAppResponse is the response type for the CreateApp API operation.

func (*CreateAppResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateAppResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateApp request.

type CreateDeploymentInput

type CreateDeploymentInput struct {

	// The app ID. This parameter is required for app deployments, but not for other
	// deployment commands.
	AppId *string `type:"string"`

	// A DeploymentCommand object that specifies the deployment command and any
	// associated arguments.
	//
	// Command is a required field
	Command *DeploymentCommand `type:"structure" required:"true"`

	// A user-defined comment.
	Comment *string `type:"string"`

	// A string that contains user-defined, custom JSON. You can use this parameter
	// to override some corresponding default stack configuration JSON values. The
	// string should be in the following format:
	//
	// "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
	//
	// For more information about custom JSON, see Use Custom JSON to Modify the
	// Stack Configuration Attributes (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html)
	// and Overriding Attributes With Custom JSON (https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-json-override.html).
	CustomJson *string `type:"string"`

	// The instance IDs for the deployment targets.
	InstanceIds []string `type:"list"`

	// The layer IDs for the deployment targets.
	LayerIds []string `type:"list"`

	// The stack ID.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (CreateDeploymentInput) String

func (s CreateDeploymentInput) String() string

String returns the string representation

func (*CreateDeploymentInput) Validate

func (s *CreateDeploymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateDeploymentOutput

type CreateDeploymentOutput struct {

	// The deployment ID, which can be used with other requests to identify the
	// deployment.
	DeploymentId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the response to a CreateDeployment request.

func (CreateDeploymentOutput) String

func (s CreateDeploymentOutput) String() string

String returns the string representation

type CreateDeploymentRequest

type CreateDeploymentRequest struct {
	*aws.Request
	Input *CreateDeploymentInput
	Copy  func(*CreateDeploymentInput) CreateDeploymentRequest
}

CreateDeploymentRequest is the request type for the CreateDeployment API operation.

func (CreateDeploymentRequest) Send

Send marshals and sends the CreateDeployment API request.

type CreateDeploymentResponse added in v0.9.0

type CreateDeploymentResponse struct {
	*CreateDeploymentOutput
	// contains filtered or unexported fields
}

CreateDeploymentResponse is the response type for the CreateDeployment API operation.

func (*CreateDeploymentResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateDeploymentResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateDeployment request.

type CreateInstanceInput

type CreateInstanceInput struct {

	// The default AWS OpsWorks Stacks agent version. You have the following options:
	//
	//    * INHERIT - Use the stack's default agent version setting.
	//
	//    * version_number - Use the specified agent version. This value overrides
	//    the stack's default setting. To update the agent version, edit the instance
	//    configuration and specify a new version. AWS OpsWorks Stacks then automatically
	//    installs that version on the instance.
	//
	// The default setting is INHERIT. To specify an agent version, you must use
	// the complete version number, not the abbreviated number shown on the console.
	// For a list of available agent version numbers, call DescribeAgentVersions.
	// AgentVersion cannot be set to Chef 12.2.
	AgentVersion *string `type:"string"`

	// A custom AMI ID to be used to create the instance. The AMI should be based
	// on one of the supported operating systems. For more information, see Using
	// Custom AMIs (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html).
	//
	// If you specify a custom AMI, you must set Os to Custom.
	AmiId *string `type:"string"`

	// The instance architecture. The default option is x86_64. Instance types do
	// not necessarily support both architectures. For a list of the architectures
	// that are supported by the different instance types, see Instance Families
	// and Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html).
	Architecture Architecture `type:"string" enum:"true"`

	// For load-based or time-based instances, the type. Windows stacks can use
	// only time-based instances.
	AutoScalingType AutoScalingType `type:"string" enum:"true"`

	// The instance Availability Zone. For more information, see Regions and Endpoints
	// (https://docs.aws.amazon.com/general/latest/gr/rande.html).
	AvailabilityZone *string `type:"string"`

	// An array of BlockDeviceMapping objects that specify the instance's block
	// devices. For more information, see Block Device Mapping (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html).
	// Note that block device mappings are not supported for custom AMIs.
	BlockDeviceMappings []BlockDeviceMapping `type:"list"`

	// Whether to create an Amazon EBS-optimized instance.
	EbsOptimized *bool `type:"boolean"`

	// The instance host name.
	Hostname *string `type:"string"`

	// Whether to install operating system and package updates when the instance
	// boots. The default value is true. To control when updates are installed,
	// set this value to false. You must then update your instances manually by
	// using CreateDeployment to run the update_dependencies stack command or by
	// manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances.
	//
	// We strongly recommend using the default value of true to ensure that your
	// instances have the latest security updates.
	InstallUpdatesOnBoot *bool `type:"boolean"`

	// The instance type, such as t2.micro. For a list of supported instance types,
	// open the stack in the console, choose Instances, and choose + Instance. The
	// Size list contains the currently supported types. For more information, see
	// Instance Families and Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html).
	// The parameter values that you use to specify the various types are in the
	// API Name column of the Available Instance Types table.
	//
	// InstanceType is a required field
	InstanceType *string `type:"string" required:"true"`

	// An array that contains the instance's layer IDs.
	//
	// LayerIds is a required field
	LayerIds []string `type:"list" required:"true"`

	// The instance's operating system, which must be set to one of the following.
	//
	//    * A supported Linux operating system: An Amazon Linux version, such as
	//    Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon
	//    Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux
	//    2015.03.
	//
	//    * A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu
	//    14.04 LTS, or Ubuntu 12.04 LTS.
	//
	//    * CentOS Linux 7
	//
	//    * Red Hat Enterprise Linux 7
	//
	//    * A supported Windows operating system, such as Microsoft Windows Server
	//    2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express,
	//    Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft
	//    Windows Server 2012 R2 with SQL Server Web.
	//
	//    * A custom AMI: Custom.
	//
	// For more information about the supported operating systems, see AWS OpsWorks
	// Stacks Operating Systems (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html).
	//
	// The default option is the current Amazon Linux version. If you set this parameter
	// to Custom, you must use the CreateInstance action's AmiId parameter to specify
	// the custom AMI that you want to use. Block device mappings are not supported
	// if the value is Custom. For more information about supported operating systems,
	// see Operating Systems (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html)For
	// more information about how to use custom AMIs with AWS OpsWorks Stacks, see
	// Using Custom AMIs (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html).
	Os *string `type:"string"`

	// The instance root device type. For more information, see Storage for the
	// Root Device (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device).
	RootDeviceType RootDeviceType `type:"string" enum:"true"`

	// The instance's Amazon EC2 key-pair name.
	SshKeyName *string `type:"string"`

	// The stack ID.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`

	// The ID of the instance's subnet. If the stack is running in a VPC, you can
	// use this parameter to override the stack's default subnet ID value and direct
	// AWS OpsWorks Stacks to launch the instance in a different subnet.
	SubnetId *string `type:"string"`

	// The instance's tenancy option. The default option is no tenancy, or if the
	// instance is running in a VPC, inherit tenancy settings from the VPC. The
	// following are valid values for this parameter: dedicated, default, or host.
	// Because there are costs associated with changes in tenancy options, we recommend
	// that you research tenancy options before choosing them for your instances.
	// For more information about dedicated hosts, see Dedicated Hosts Overview
	// (http://aws.amazon.com/ec2/dedicated-hosts/) and Amazon EC2 Dedicated Hosts
	// (http://aws.amazon.com/ec2/dedicated-hosts/). For more information about
	// dedicated instances, see Dedicated Instances (https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/dedicated-instance.html)
	// and Amazon EC2 Dedicated Instances (http://aws.amazon.com/ec2/purchasing-options/dedicated-instances/).
	Tenancy *string `type:"string"`

	// The instance's virtualization type, paravirtual or hvm.
	VirtualizationType *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateInstanceInput) String

func (s CreateInstanceInput) String() string

String returns the string representation

func (*CreateInstanceInput) Validate

func (s *CreateInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateInstanceOutput

type CreateInstanceOutput struct {

	// The instance ID.
	InstanceId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the response to a CreateInstance request.

func (CreateInstanceOutput) String

func (s CreateInstanceOutput) String() string

String returns the string representation

type CreateInstanceRequest

type CreateInstanceRequest struct {
	*aws.Request
	Input *CreateInstanceInput
	Copy  func(*CreateInstanceInput) CreateInstanceRequest
}

CreateInstanceRequest is the request type for the CreateInstance API operation.

func (CreateInstanceRequest) Send

Send marshals and sends the CreateInstance API request.

type CreateInstanceResponse added in v0.9.0

type CreateInstanceResponse struct {
	*CreateInstanceOutput
	// contains filtered or unexported fields
}

CreateInstanceResponse is the response type for the CreateInstance API operation.

func (*CreateInstanceResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateInstance request.

type CreateLayerInput

type CreateLayerInput struct {

	// One or more user-defined key-value pairs to be added to the stack attributes.
	//
	// To create a cluster layer, set the EcsClusterArn attribute to the cluster's
	// ARN.
	Attributes map[string]string `type:"map"`

	// Whether to automatically assign an Elastic IP address (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html)
	// to the layer's instances. For more information, see How to Edit a Layer (https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html).
	AutoAssignElasticIps *bool `type:"boolean"`

	// For stacks that are running in a VPC, whether to automatically assign a public
	// IP address to the layer's instances. For more information, see How to Edit
	// a Layer (https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html).
	AutoAssignPublicIps *bool `type:"boolean"`

	// Specifies CloudWatch Logs configuration options for the layer. For more information,
	// see CloudWatchLogsLogStream.
	CloudWatchLogsConfiguration *CloudWatchLogsConfiguration `type:"structure"`

	// The ARN of an IAM profile to be used for the layer's EC2 instances. For more
	// information about IAM ARNs, see Using Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
	CustomInstanceProfileArn *string `type:"string"`

	// A JSON-formatted string containing custom stack configuration and deployment
	// attributes to be installed on the layer's instances. For more information,
	// see Using Custom JSON (https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-json-override.html).
	// This feature is supported as of version 1.7.42 of the AWS CLI.
	CustomJson *string `type:"string"`

	// A LayerCustomRecipes object that specifies the layer custom recipes.
	CustomRecipes *Recipes `type:"structure"`

	// An array containing the layer custom security group IDs.
	CustomSecurityGroupIds []string `type:"list"`

	// Whether to disable auto healing for the layer.
	EnableAutoHealing *bool `type:"boolean"`

	// Whether to install operating system and package updates when the instance
	// boots. The default value is true. To control when updates are installed,
	// set this value to false. You must then update your instances manually by
	// using CreateDeployment to run the update_dependencies stack command or by
	// manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances.
	//
	// To ensure that your instances have the latest security updates, we strongly
	// recommend using the default value of true.
	InstallUpdatesOnBoot *bool `type:"boolean"`

	// A LifeCycleEventConfiguration object that you can use to configure the Shutdown
	// event to specify an execution timeout and enable or disable Elastic Load
	// Balancer connection draining.
	LifecycleEventConfiguration *LifecycleEventConfiguration `type:"structure"`

	// The layer name, which is used by the console.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// An array of Package objects that describes the layer packages.
	Packages []string `type:"list"`

	// For custom layers only, use this parameter to specify the layer's short name,
	// which is used internally by AWS OpsWorks Stacks and by Chef recipes. The
	// short name is also used as the name for the directory where your app files
	// are installed. It can have a maximum of 200 characters, which are limited
	// to the alphanumeric characters, '-', '_', and '.'.
	//
	// The built-in layers' short names are defined by AWS OpsWorks Stacks. For
	// more information, see the Layer Reference (https://docs.aws.amazon.com/opsworks/latest/userguide/layers.html).
	//
	// Shortname is a required field
	Shortname *string `type:"string" required:"true"`

	// The layer stack ID.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`

	// The layer type. A stack cannot have more than one built-in layer of the same
	// type. It can have any number of custom layers. Built-in layers are not available
	// in Chef 12 stacks.
	//
	// Type is a required field
	Type LayerType `type:"string" required:"true" enum:"true"`

	// Whether to use Amazon EBS-optimized instances.
	UseEbsOptimizedInstances *bool `type:"boolean"`

	// A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
	VolumeConfigurations []VolumeConfiguration `type:"list"`
	// contains filtered or unexported fields
}

func (CreateLayerInput) String

func (s CreateLayerInput) String() string

String returns the string representation

func (*CreateLayerInput) Validate

func (s *CreateLayerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateLayerOutput

type CreateLayerOutput struct {

	// The layer ID.
	LayerId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the response to a CreateLayer request.

func (CreateLayerOutput) String

func (s CreateLayerOutput) String() string

String returns the string representation

type CreateLayerRequest

type CreateLayerRequest struct {
	*aws.Request
	Input *CreateLayerInput
	Copy  func(*CreateLayerInput) CreateLayerRequest
}

CreateLayerRequest is the request type for the CreateLayer API operation.

func (CreateLayerRequest) Send

Send marshals and sends the CreateLayer API request.

type CreateLayerResponse added in v0.9.0

type CreateLayerResponse struct {
	*CreateLayerOutput
	// contains filtered or unexported fields
}

CreateLayerResponse is the response type for the CreateLayer API operation.

func (*CreateLayerResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateLayerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateLayer request.

type CreateStackInput

type CreateStackInput struct {

	// The default AWS OpsWorks Stacks agent version. You have the following options:
	//
	//    * Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically
	//    installs new agent versions on the stack's instances as soon as they are
	//    available.
	//
	//    * Fixed version - Set this parameter to your preferred agent version.
	//    To update the agent version, you must edit the stack configuration and
	//    specify a new version. AWS OpsWorks Stacks then automatically installs
	//    that version on the stack's instances.
	//
	// The default setting is the most recent release of the agent. To specify an
	// agent version, you must use the complete version number, not the abbreviated
	// number shown on the console. For a list of available agent version numbers,
	// call DescribeAgentVersions. AgentVersion cannot be set to Chef 12.2.
	//
	// You can also specify an agent version when you create or update an instance,
	// which overrides the stack's default setting.
	AgentVersion *string `type:"string"`

	// One or more user-defined key-value pairs to be added to the stack attributes.
	Attributes map[string]string `type:"map"`

	// A ChefConfiguration object that specifies whether to enable Berkshelf and
	// the Berkshelf version on Chef 11.10 stacks. For more information, see Create
	// a New Stack (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
	ChefConfiguration *ChefConfiguration `type:"structure"`

	// The configuration manager. When you create a stack we recommend that you
	// use the configuration manager to specify the Chef version: 12, 11.10, or
	// 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for
	// Linux stacks is currently 12.
	ConfigurationManager *StackConfigurationManager `type:"structure"`

	// Contains the information required to retrieve an app or cookbook from a repository.
	// For more information, see Adding Apps (https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html)
	// or Cookbooks and Recipes (https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html).
	CustomCookbooksSource *Source `type:"structure"`

	// A string that contains user-defined, custom JSON. It can be used to override
	// the corresponding default stack configuration attribute values or to pass
	// data to recipes. The string should be in the following format:
	//
	// "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
	//
	// For more information about custom JSON, see Use Custom JSON to Modify the
	// Stack Configuration Attributes (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html).
	CustomJson *string `type:"string"`

	// The stack's default Availability Zone, which must be in the specified region.
	// For more information, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html).
	// If you also specify a value for DefaultSubnetId, the subnet must be in the
	// same zone. For more information, see the VpcId parameter description.
	DefaultAvailabilityZone *string `type:"string"`

	// The Amazon Resource Name (ARN) of an IAM profile that is the default profile
	// for all of the stack's EC2 instances. For more information about IAM ARNs,
	// see Using Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
	//
	// DefaultInstanceProfileArn is a required field
	DefaultInstanceProfileArn *string `type:"string" required:"true"`

	// The stack's default operating system, which is installed on every instance
	// unless you specify a different operating system when you create the instance.
	// You can specify one of the following.
	//
	//    * A supported Linux operating system: An Amazon Linux version, such as
	//    Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon
	//    Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux
	//    2015.03.
	//
	//    * A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu
	//    14.04 LTS, or Ubuntu 12.04 LTS.
	//
	//    * CentOS Linux 7
	//
	//    * Red Hat Enterprise Linux 7
	//
	//    * A supported Windows operating system, such as Microsoft Windows Server
	//    2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express,
	//    Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft
	//    Windows Server 2012 R2 with SQL Server Web.
	//
	//    * A custom AMI: Custom. You specify the custom AMI you want to use when
	//    you create instances. For more information, see Using Custom AMIs (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html).
	//
	// The default option is the current Amazon Linux version. For more information
	// about supported operating systems, see AWS OpsWorks Stacks Operating Systems
	// (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html).
	DefaultOs *string `type:"string"`

	// The default root device type. This value is the default for all instances
	// in the stack, but you can override it when you create an instance. The default
	// option is instance-store. For more information, see Storage for the Root
	// Device (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device).
	DefaultRootDeviceType RootDeviceType `type:"string" enum:"true"`

	// A default Amazon EC2 key pair name. The default value is none. If you specify
	// a key pair name, AWS OpsWorks installs the public key on the instance and
	// you can use the private key with an SSH client to log in to the instance.
	// For more information, see Using SSH to Communicate with an Instance (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html)
	// and Managing SSH Access (https://docs.aws.amazon.com/opsworks/latest/userguide/security-ssh-access.html).
	// You can override this setting by specifying a different key pair, or no key
	// pair, when you create an instance (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html).
	DefaultSshKeyName *string `type:"string"`

	// The stack's default VPC subnet ID. This parameter is required if you specify
	// a value for the VpcId parameter. All instances are launched into this subnet
	// unless you specify otherwise when you create the instance. If you also specify
	// a value for DefaultAvailabilityZone, the subnet must be in that zone. For
	// information on default values and when this parameter is required, see the
	// VpcId parameter description.
	DefaultSubnetId *string `type:"string"`

	// The stack's host name theme, with spaces replaced by underscores. The theme
	// is used to generate host names for the stack's instances. By default, HostnameTheme
	// is set to Layer_Dependent, which creates host names by appending integers
	// to the layer's short name. The other themes are:
	//
	//    * Baked_Goods
	//
	//    * Clouds
	//
	//    * Europe_Cities
	//
	//    * Fruits
	//
	//    * Greek_Deities_and_Titans
	//
	//    * Legendary_creatures_from_Japan
	//
	//    * Planets_and_Moons
	//
	//    * Roman_Deities
	//
	//    * Scottish_Islands
	//
	//    * US_Cities
	//
	//    * Wild_Cats
	//
	// To obtain a generated host name, call GetHostNameSuggestion, which returns
	// a host name based on the current theme.
	HostnameTheme *string `type:"string"`

	// The stack name.
	//
	// Name is a required field
	Name *string `type:"string" required:"true"`

	// The stack's AWS region, such as ap-south-1. For more information about Amazon
	// regions, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html).
	//
	// In the AWS CLI, this API maps to the --stack-region parameter. If the --stack-region
	// parameter and the AWS CLI common parameter --region are set to the same value,
	// the stack uses a regional endpoint. If the --stack-region parameter is not
	// set, but the AWS CLI --region parameter is, this also results in a stack
	// with a regional endpoint. However, if the --region parameter is set to us-east-1,
	// and the --stack-region parameter is set to one of the following, then the
	// stack uses a legacy or classic region: us-west-1, us-west-2, sa-east-1, eu-central-1,
	// eu-west-1, ap-northeast-1, ap-southeast-1, ap-southeast-2. In this case,
	// the actual API endpoint of the stack is in us-east-1. Only the preceding
	// regions are supported as classic regions in the us-east-1 API endpoint. Because
	// it is a best practice to choose the regional endpoint that is closest to
	// where you manage AWS, we recommend that you use regional endpoints for new
	// stacks. The AWS CLI common --region parameter always specifies a regional
	// API endpoint; it cannot be used to specify a classic AWS OpsWorks Stacks
	// region.
	//
	// Region is a required field
	Region *string `type:"string" required:"true"`

	// The stack's AWS Identity and Access Management (IAM) role, which allows AWS
	// OpsWorks Stacks to work with AWS resources on your behalf. You must set this
	// parameter to the Amazon Resource Name (ARN) for an existing IAM role. For
	// more information about IAM ARNs, see Using Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
	//
	// ServiceRoleArn is a required field
	ServiceRoleArn *string `type:"string" required:"true"`

	// Whether the stack uses custom cookbooks.
	UseCustomCookbooks *bool `type:"boolean"`

	// Whether to associate the AWS OpsWorks Stacks built-in security groups with
	// the stack's layers.
	//
	// AWS OpsWorks Stacks provides a standard set of built-in security groups,
	// one for each layer, which are associated with layers by default. With UseOpsworksSecurityGroups
	// you can instead provide your own custom security groups. UseOpsworksSecurityGroups
	// has the following settings:
	//
	//    * True - AWS OpsWorks Stacks automatically associates the appropriate
	//    built-in security group with each layer (default setting). You can associate
	//    additional security groups with a layer after you create it, but you cannot
	//    delete the built-in security group.
	//
	//    * False - AWS OpsWorks Stacks does not associate built-in security groups
	//    with layers. You must create appropriate EC2 security groups and associate
	//    a security group with each layer that you create. However, you can still
	//    manually associate a built-in security group with a layer on creation;
	//    custom security groups are required only for those layers that need custom
	//    settings.
	//
	// For more information, see Create a New Stack (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
	UseOpsworksSecurityGroups *bool `type:"boolean"`

	// The ID of the VPC that the stack is to be launched into. The VPC must be
	// in the stack's region. All instances are launched into this VPC. You cannot
	// change the ID later.
	//
	//    * If your account supports EC2-Classic, the default value is no VPC.
	//
	//    * If your account does not support EC2-Classic, the default value is the
	//    default VPC for the specified region.
	//
	// If the VPC ID corresponds to a default VPC and you have specified either
	// the DefaultAvailabilityZone or the DefaultSubnetId parameter only, AWS OpsWorks
	// Stacks infers the value of the other parameter. If you specify neither parameter,
	// AWS OpsWorks Stacks sets these parameters to the first valid Availability
	// Zone for the specified region and the corresponding default VPC subnet ID,
	// respectively.
	//
	// If you specify a nondefault VPC ID, note the following:
	//
	//    * It must belong to a VPC in your account that is in the specified region.
	//
	//    * You must specify a value for DefaultSubnetId.
	//
	// For more information about how to use AWS OpsWorks Stacks with a VPC, see
	// Running a Stack in a VPC (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-vpc.html).
	// For more information about default VPC and EC2-Classic, see Supported Platforms
	// (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html).
	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateStackInput) String

func (s CreateStackInput) String() string

String returns the string representation

func (*CreateStackInput) Validate

func (s *CreateStackInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateStackOutput

type CreateStackOutput struct {

	// The stack ID, which is an opaque string that you use to identify the stack
	// when performing actions such as DescribeStacks.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the response to a CreateStack request.

func (CreateStackOutput) String

func (s CreateStackOutput) String() string

String returns the string representation

type CreateStackRequest

type CreateStackRequest struct {
	*aws.Request
	Input *CreateStackInput
	Copy  func(*CreateStackInput) CreateStackRequest
}

CreateStackRequest is the request type for the CreateStack API operation.

func (CreateStackRequest) Send

Send marshals and sends the CreateStack API request.

type CreateStackResponse added in v0.9.0

type CreateStackResponse struct {
	*CreateStackOutput
	// contains filtered or unexported fields
}

CreateStackResponse is the response type for the CreateStack API operation.

func (*CreateStackResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateStackResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateStack request.

type CreateUserProfileInput

type CreateUserProfileInput struct {

	// Whether users can specify their own SSH public key through the My Settings
	// page. For more information, see Setting an IAM User's Public SSH Key (https://docs.aws.amazon.com/opsworks/latest/userguide/security-settingsshkey.html).
	AllowSelfManagement *bool `type:"boolean"`

	// The user's IAM ARN; this can also be a federated user's ARN.
	//
	// IamUserArn is a required field
	IamUserArn *string `type:"string" required:"true"`

	// The user's public SSH key.
	SshPublicKey *string `type:"string"`

	// The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9],
	// '-', and '_'. If the specified name includes other punctuation marks, AWS
	// OpsWorks Stacks removes them. For example, my.name will be changed to myname.
	// If you do not specify an SSH user name, AWS OpsWorks Stacks generates one
	// from the IAM user name.
	SshUsername *string `type:"string"`
	// contains filtered or unexported fields
}

func (CreateUserProfileInput) String

func (s CreateUserProfileInput) String() string

String returns the string representation

func (*CreateUserProfileInput) Validate

func (s *CreateUserProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateUserProfileOutput

type CreateUserProfileOutput struct {

	// The user's IAM ARN.
	IamUserArn *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the response to a CreateUserProfile request.

func (CreateUserProfileOutput) String

func (s CreateUserProfileOutput) String() string

String returns the string representation

type CreateUserProfileRequest

type CreateUserProfileRequest struct {
	*aws.Request
	Input *CreateUserProfileInput
	Copy  func(*CreateUserProfileInput) CreateUserProfileRequest
}

CreateUserProfileRequest is the request type for the CreateUserProfile API operation.

func (CreateUserProfileRequest) Send

Send marshals and sends the CreateUserProfile API request.

type CreateUserProfileResponse added in v0.9.0

type CreateUserProfileResponse struct {
	*CreateUserProfileOutput
	// contains filtered or unexported fields
}

CreateUserProfileResponse is the response type for the CreateUserProfile API operation.

func (*CreateUserProfileResponse) SDKResponseMetdata added in v0.9.0

func (r *CreateUserProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the CreateUserProfile request.

type DataSource

type DataSource struct {

	// The data source's ARN.
	Arn *string `type:"string"`

	// The database name.
	DatabaseName *string `type:"string"`

	// The data source's type, AutoSelectOpsworksMysqlInstance, OpsworksMysqlInstance,
	// RdsDbInstance, or None.
	Type *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an app's data source.

func (DataSource) String

func (s DataSource) String() string

String returns the string representation

type DeleteAppInput

type DeleteAppInput struct {

	// The app ID.
	//
	// AppId is a required field
	AppId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAppInput) String

func (s DeleteAppInput) String() string

String returns the string representation

func (*DeleteAppInput) Validate

func (s *DeleteAppInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteAppOutput

type DeleteAppOutput struct {
	// contains filtered or unexported fields
}

func (DeleteAppOutput) String

func (s DeleteAppOutput) String() string

String returns the string representation

type DeleteAppRequest

type DeleteAppRequest struct {
	*aws.Request
	Input *DeleteAppInput
	Copy  func(*DeleteAppInput) DeleteAppRequest
}

DeleteAppRequest is the request type for the DeleteApp API operation.

func (DeleteAppRequest) Send

Send marshals and sends the DeleteApp API request.

type DeleteAppResponse added in v0.9.0

type DeleteAppResponse struct {
	*DeleteAppOutput
	// contains filtered or unexported fields
}

DeleteAppResponse is the response type for the DeleteApp API operation.

func (*DeleteAppResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteAppResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteApp request.

type DeleteInstanceInput

type DeleteInstanceInput struct {

	// Whether to delete the instance Elastic IP address.
	DeleteElasticIp *bool `type:"boolean"`

	// Whether to delete the instance's Amazon EBS volumes.
	DeleteVolumes *bool `type:"boolean"`

	// The instance ID.
	//
	// InstanceId is a required field
	InstanceId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteInstanceInput) String

func (s DeleteInstanceInput) String() string

String returns the string representation

func (*DeleteInstanceInput) Validate

func (s *DeleteInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteInstanceOutput

type DeleteInstanceOutput struct {
	// contains filtered or unexported fields
}

func (DeleteInstanceOutput) String

func (s DeleteInstanceOutput) String() string

String returns the string representation

type DeleteInstanceRequest

type DeleteInstanceRequest struct {
	*aws.Request
	Input *DeleteInstanceInput
	Copy  func(*DeleteInstanceInput) DeleteInstanceRequest
}

DeleteInstanceRequest is the request type for the DeleteInstance API operation.

func (DeleteInstanceRequest) Send

Send marshals and sends the DeleteInstance API request.

type DeleteInstanceResponse added in v0.9.0

type DeleteInstanceResponse struct {
	*DeleteInstanceOutput
	// contains filtered or unexported fields
}

DeleteInstanceResponse is the response type for the DeleteInstance API operation.

func (*DeleteInstanceResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteInstance request.

type DeleteLayerInput

type DeleteLayerInput struct {

	// The layer ID.
	//
	// LayerId is a required field
	LayerId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteLayerInput) String

func (s DeleteLayerInput) String() string

String returns the string representation

func (*DeleteLayerInput) Validate

func (s *DeleteLayerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteLayerOutput

type DeleteLayerOutput struct {
	// contains filtered or unexported fields
}

func (DeleteLayerOutput) String

func (s DeleteLayerOutput) String() string

String returns the string representation

type DeleteLayerRequest

type DeleteLayerRequest struct {
	*aws.Request
	Input *DeleteLayerInput
	Copy  func(*DeleteLayerInput) DeleteLayerRequest
}

DeleteLayerRequest is the request type for the DeleteLayer API operation.

func (DeleteLayerRequest) Send

Send marshals and sends the DeleteLayer API request.

type DeleteLayerResponse added in v0.9.0

type DeleteLayerResponse struct {
	*DeleteLayerOutput
	// contains filtered or unexported fields
}

DeleteLayerResponse is the response type for the DeleteLayer API operation.

func (*DeleteLayerResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteLayerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteLayer request.

type DeleteStackInput

type DeleteStackInput struct {

	// The stack ID.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteStackInput) String

func (s DeleteStackInput) String() string

String returns the string representation

func (*DeleteStackInput) Validate

func (s *DeleteStackInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteStackOutput

type DeleteStackOutput struct {
	// contains filtered or unexported fields
}

func (DeleteStackOutput) String

func (s DeleteStackOutput) String() string

String returns the string representation

type DeleteStackRequest

type DeleteStackRequest struct {
	*aws.Request
	Input *DeleteStackInput
	Copy  func(*DeleteStackInput) DeleteStackRequest
}

DeleteStackRequest is the request type for the DeleteStack API operation.

func (DeleteStackRequest) Send

Send marshals and sends the DeleteStack API request.

type DeleteStackResponse added in v0.9.0

type DeleteStackResponse struct {
	*DeleteStackOutput
	// contains filtered or unexported fields
}

DeleteStackResponse is the response type for the DeleteStack API operation.

func (*DeleteStackResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteStackResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteStack request.

type DeleteUserProfileInput

type DeleteUserProfileInput struct {

	// The user's IAM ARN. This can also be a federated user's ARN.
	//
	// IamUserArn is a required field
	IamUserArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteUserProfileInput) String

func (s DeleteUserProfileInput) String() string

String returns the string representation

func (*DeleteUserProfileInput) Validate

func (s *DeleteUserProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeleteUserProfileOutput

type DeleteUserProfileOutput struct {
	// contains filtered or unexported fields
}

func (DeleteUserProfileOutput) String

func (s DeleteUserProfileOutput) String() string

String returns the string representation

type DeleteUserProfileRequest

type DeleteUserProfileRequest struct {
	*aws.Request
	Input *DeleteUserProfileInput
	Copy  func(*DeleteUserProfileInput) DeleteUserProfileRequest
}

DeleteUserProfileRequest is the request type for the DeleteUserProfile API operation.

func (DeleteUserProfileRequest) Send

Send marshals and sends the DeleteUserProfile API request.

type DeleteUserProfileResponse added in v0.9.0

type DeleteUserProfileResponse struct {
	*DeleteUserProfileOutput
	// contains filtered or unexported fields
}

DeleteUserProfileResponse is the response type for the DeleteUserProfile API operation.

func (*DeleteUserProfileResponse) SDKResponseMetdata added in v0.9.0

func (r *DeleteUserProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeleteUserProfile request.

type Deployment

type Deployment struct {

	// The app ID.
	AppId *string `type:"string"`

	// Used to specify a stack or deployment command.
	Command *DeploymentCommand `type:"structure"`

	// A user-defined comment.
	Comment *string `type:"string"`

	// Date when the deployment completed.
	CompletedAt *string `type:"string"`

	// Date when the deployment was created.
	CreatedAt *string `type:"string"`

	// A string that contains user-defined custom JSON. It can be used to override
	// the corresponding default stack configuration attribute values for stack
	// or to pass data to recipes. The string should be in the following format:
	//
	// "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
	//
	// For more information on custom JSON, see Use Custom JSON to Modify the Stack
	// Configuration Attributes (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html).
	CustomJson *string `type:"string"`

	// The deployment ID.
	DeploymentId *string `type:"string"`

	// The deployment duration.
	Duration *int64 `type:"integer"`

	// The user's IAM ARN.
	IamUserArn *string `type:"string"`

	// The IDs of the target instances.
	InstanceIds []string `type:"list"`

	// The stack ID.
	StackId *string `type:"string"`

	// The deployment status:
	//
	//    * running
	//
	//    * successful
	//
	//    * failed
	Status *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a deployment of a stack or app.

func (Deployment) String

func (s Deployment) String() string

String returns the string representation

type DeploymentCommand

type DeploymentCommand struct {

	// The arguments of those commands that take arguments. It should be set to
	// a JSON object with the following format:
	//
	// {"arg_name1" : ["value1", "value2", ...], "arg_name2" : ["value1", "value2",
	// ...], ...}
	//
	// The update_dependencies command takes two arguments:
	//
	//    * upgrade_os_to - Specifies the desired Amazon Linux version for instances
	//    whose OS you want to upgrade, such as Amazon Linux 2016.09. You must also
	//    set the allow_reboot argument to true.
	//
	//    * allow_reboot - Specifies whether to allow AWS OpsWorks Stacks to reboot
	//    the instances if necessary, after installing the updates. This argument
	//    can be set to either true or false. The default value is false.
	//
	// For example, to upgrade an instance to Amazon Linux 2016.09, set Args to
	// the following.
	//
	// { "upgrade_os_to":["Amazon Linux 2016.09"], "allow_reboot":["true"] }
	Args map[string][]string `type:"map"`

	// Specifies the operation. You can specify only one command.
	//
	// For stacks, the following commands are available:
	//
	//    * execute_recipes: Execute one or more recipes. To specify the recipes,
	//    set an Args parameter named recipes to the list of recipes to be executed.
	//    For example, to execute phpapp::appsetup, set Args to {"recipes":["phpapp::appsetup"]}.
	//
	//    * install_dependencies: Install the stack's dependencies.
	//
	//    * update_custom_cookbooks: Update the stack's custom cookbooks.
	//
	//    * update_dependencies: Update the stack's dependencies.
	//
	// The update_dependencies and install_dependencies commands are supported only
	// for Linux instances. You can run the commands successfully on Windows instances,
	// but they do nothing.
	//
	// For apps, the following commands are available:
	//
	//    * deploy: Deploy an app. Ruby on Rails apps have an optional Args parameter
	//    named migrate. Set Args to {"migrate":["true"]} to migrate the database.
	//    The default setting is {"migrate":["false"]}.
	//
	//    * rollback Roll the app back to the previous version. When you update
	//    an app, AWS OpsWorks Stacks stores the previous version, up to a maximum
	//    of five versions. You can use this command to roll an app back as many
	//    as four versions.
	//
	//    * start: Start the app's web or application server.
	//
	//    * stop: Stop the app's web or application server.
	//
	//    * restart: Restart the app's web or application server.
	//
	//    * undeploy: Undeploy the app.
	//
	// Name is a required field
	Name DeploymentCommandName `type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Used to specify a stack or deployment command.

func (DeploymentCommand) String

func (s DeploymentCommand) String() string

String returns the string representation

func (*DeploymentCommand) Validate

func (s *DeploymentCommand) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeploymentCommandName

type DeploymentCommandName string
const (
	DeploymentCommandNameInstallDependencies   DeploymentCommandName = "install_dependencies"
	DeploymentCommandNameUpdateDependencies    DeploymentCommandName = "update_dependencies"
	DeploymentCommandNameUpdateCustomCookbooks DeploymentCommandName = "update_custom_cookbooks"
	DeploymentCommandNameExecuteRecipes        DeploymentCommandName = "execute_recipes"
	DeploymentCommandNameConfigure             DeploymentCommandName = "configure"
	DeploymentCommandNameSetup                 DeploymentCommandName = "setup"
	DeploymentCommandNameDeploy                DeploymentCommandName = "deploy"
	DeploymentCommandNameRollback              DeploymentCommandName = "rollback"
	DeploymentCommandNameStart                 DeploymentCommandName = "start"
	DeploymentCommandNameStop                  DeploymentCommandName = "stop"
	DeploymentCommandNameRestart               DeploymentCommandName = "restart"
	DeploymentCommandNameUndeploy              DeploymentCommandName = "undeploy"
)

Enum values for DeploymentCommandName

func (DeploymentCommandName) MarshalValue added in v0.3.0

func (enum DeploymentCommandName) MarshalValue() (string, error)

func (DeploymentCommandName) MarshalValueBuf added in v0.3.0

func (enum DeploymentCommandName) MarshalValueBuf(b []byte) ([]byte, error)

type DeregisterEcsClusterInput

type DeregisterEcsClusterInput struct {

	// The cluster's Amazon Resource Number (ARN).
	//
	// EcsClusterArn is a required field
	EcsClusterArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeregisterEcsClusterInput) String

func (s DeregisterEcsClusterInput) String() string

String returns the string representation

func (*DeregisterEcsClusterInput) Validate

func (s *DeregisterEcsClusterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeregisterEcsClusterOutput

type DeregisterEcsClusterOutput struct {
	// contains filtered or unexported fields
}

func (DeregisterEcsClusterOutput) String

String returns the string representation

type DeregisterEcsClusterRequest

type DeregisterEcsClusterRequest struct {
	*aws.Request
	Input *DeregisterEcsClusterInput
	Copy  func(*DeregisterEcsClusterInput) DeregisterEcsClusterRequest
}

DeregisterEcsClusterRequest is the request type for the DeregisterEcsCluster API operation.

func (DeregisterEcsClusterRequest) Send

Send marshals and sends the DeregisterEcsCluster API request.

type DeregisterEcsClusterResponse added in v0.9.0

type DeregisterEcsClusterResponse struct {
	*DeregisterEcsClusterOutput
	// contains filtered or unexported fields
}

DeregisterEcsClusterResponse is the response type for the DeregisterEcsCluster API operation.

func (*DeregisterEcsClusterResponse) SDKResponseMetdata added in v0.9.0

func (r *DeregisterEcsClusterResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeregisterEcsCluster request.

type DeregisterElasticIpInput

type DeregisterElasticIpInput struct {

	// The Elastic IP address.
	//
	// ElasticIp is a required field
	ElasticIp *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeregisterElasticIpInput) String

func (s DeregisterElasticIpInput) String() string

String returns the string representation

func (*DeregisterElasticIpInput) Validate

func (s *DeregisterElasticIpInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeregisterElasticIpOutput

type DeregisterElasticIpOutput struct {
	// contains filtered or unexported fields
}

func (DeregisterElasticIpOutput) String

func (s DeregisterElasticIpOutput) String() string

String returns the string representation

type DeregisterElasticIpRequest

type DeregisterElasticIpRequest struct {
	*aws.Request
	Input *DeregisterElasticIpInput
	Copy  func(*DeregisterElasticIpInput) DeregisterElasticIpRequest
}

DeregisterElasticIpRequest is the request type for the DeregisterElasticIp API operation.

func (DeregisterElasticIpRequest) Send

Send marshals and sends the DeregisterElasticIp API request.

type DeregisterElasticIpResponse added in v0.9.0

type DeregisterElasticIpResponse struct {
	*DeregisterElasticIpOutput
	// contains filtered or unexported fields
}

DeregisterElasticIpResponse is the response type for the DeregisterElasticIp API operation.

func (*DeregisterElasticIpResponse) SDKResponseMetdata added in v0.9.0

func (r *DeregisterElasticIpResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeregisterElasticIp request.

type DeregisterInstanceInput

type DeregisterInstanceInput struct {

	// The instance ID.
	//
	// InstanceId is a required field
	InstanceId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeregisterInstanceInput) String

func (s DeregisterInstanceInput) String() string

String returns the string representation

func (*DeregisterInstanceInput) Validate

func (s *DeregisterInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeregisterInstanceOutput

type DeregisterInstanceOutput struct {
	// contains filtered or unexported fields
}

func (DeregisterInstanceOutput) String

func (s DeregisterInstanceOutput) String() string

String returns the string representation

type DeregisterInstanceRequest

type DeregisterInstanceRequest struct {
	*aws.Request
	Input *DeregisterInstanceInput
	Copy  func(*DeregisterInstanceInput) DeregisterInstanceRequest
}

DeregisterInstanceRequest is the request type for the DeregisterInstance API operation.

func (DeregisterInstanceRequest) Send

Send marshals and sends the DeregisterInstance API request.

type DeregisterInstanceResponse added in v0.9.0

type DeregisterInstanceResponse struct {
	*DeregisterInstanceOutput
	// contains filtered or unexported fields
}

DeregisterInstanceResponse is the response type for the DeregisterInstance API operation.

func (*DeregisterInstanceResponse) SDKResponseMetdata added in v0.9.0

func (r *DeregisterInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeregisterInstance request.

type DeregisterRdsDbInstanceInput

type DeregisterRdsDbInstanceInput struct {

	// The Amazon RDS instance's ARN.
	//
	// RdsDbInstanceArn is a required field
	RdsDbInstanceArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeregisterRdsDbInstanceInput) String

String returns the string representation

func (*DeregisterRdsDbInstanceInput) Validate

func (s *DeregisterRdsDbInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeregisterRdsDbInstanceOutput

type DeregisterRdsDbInstanceOutput struct {
	// contains filtered or unexported fields
}

func (DeregisterRdsDbInstanceOutput) String

String returns the string representation

type DeregisterRdsDbInstanceRequest

type DeregisterRdsDbInstanceRequest struct {
	*aws.Request
	Input *DeregisterRdsDbInstanceInput
	Copy  func(*DeregisterRdsDbInstanceInput) DeregisterRdsDbInstanceRequest
}

DeregisterRdsDbInstanceRequest is the request type for the DeregisterRdsDbInstance API operation.

func (DeregisterRdsDbInstanceRequest) Send

Send marshals and sends the DeregisterRdsDbInstance API request.

type DeregisterRdsDbInstanceResponse added in v0.9.0

type DeregisterRdsDbInstanceResponse struct {
	*DeregisterRdsDbInstanceOutput
	// contains filtered or unexported fields
}

DeregisterRdsDbInstanceResponse is the response type for the DeregisterRdsDbInstance API operation.

func (*DeregisterRdsDbInstanceResponse) SDKResponseMetdata added in v0.9.0

func (r *DeregisterRdsDbInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeregisterRdsDbInstance request.

type DeregisterVolumeInput

type DeregisterVolumeInput struct {

	// The AWS OpsWorks Stacks volume ID, which is the GUID that AWS OpsWorks Stacks
	// assigned to the instance when you registered the volume with the stack, not
	// the Amazon EC2 volume ID.
	//
	// VolumeId is a required field
	VolumeId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeregisterVolumeInput) String

func (s DeregisterVolumeInput) String() string

String returns the string representation

func (*DeregisterVolumeInput) Validate

func (s *DeregisterVolumeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DeregisterVolumeOutput

type DeregisterVolumeOutput struct {
	// contains filtered or unexported fields
}

func (DeregisterVolumeOutput) String

func (s DeregisterVolumeOutput) String() string

String returns the string representation

type DeregisterVolumeRequest

type DeregisterVolumeRequest struct {
	*aws.Request
	Input *DeregisterVolumeInput
	Copy  func(*DeregisterVolumeInput) DeregisterVolumeRequest
}

DeregisterVolumeRequest is the request type for the DeregisterVolume API operation.

func (DeregisterVolumeRequest) Send

Send marshals and sends the DeregisterVolume API request.

type DeregisterVolumeResponse added in v0.9.0

type DeregisterVolumeResponse struct {
	*DeregisterVolumeOutput
	// contains filtered or unexported fields
}

DeregisterVolumeResponse is the response type for the DeregisterVolume API operation.

func (*DeregisterVolumeResponse) SDKResponseMetdata added in v0.9.0

func (r *DeregisterVolumeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DeregisterVolume request.

type DescribeAgentVersionsInput

type DescribeAgentVersionsInput struct {

	// The configuration manager.
	ConfigurationManager *StackConfigurationManager `type:"structure"`

	// The stack ID.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeAgentVersionsInput) String

String returns the string representation

type DescribeAgentVersionsOutput

type DescribeAgentVersionsOutput struct {

	// The agent versions for the specified stack or configuration manager. Note
	// that this value is the complete version number, not the abbreviated number
	// used by the console.
	AgentVersions []AgentVersion `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeAgentVersions request.

func (DescribeAgentVersionsOutput) String

String returns the string representation

type DescribeAgentVersionsRequest

type DescribeAgentVersionsRequest struct {
	*aws.Request
	Input *DescribeAgentVersionsInput
	Copy  func(*DescribeAgentVersionsInput) DescribeAgentVersionsRequest
}

DescribeAgentVersionsRequest is the request type for the DescribeAgentVersions API operation.

func (DescribeAgentVersionsRequest) Send

Send marshals and sends the DescribeAgentVersions API request.

type DescribeAgentVersionsResponse added in v0.9.0

type DescribeAgentVersionsResponse struct {
	*DescribeAgentVersionsOutput
	// contains filtered or unexported fields
}

DescribeAgentVersionsResponse is the response type for the DescribeAgentVersions API operation.

func (*DescribeAgentVersionsResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeAgentVersionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeAgentVersions request.

type DescribeAppsInput

type DescribeAppsInput struct {

	// An array of app IDs for the apps to be described. If you use this parameter,
	// DescribeApps returns a description of the specified apps. Otherwise, it returns
	// a description of every app.
	AppIds []string `type:"list"`

	// The app stack ID. If you use this parameter, DescribeApps returns a description
	// of the apps in the specified stack.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeAppsInput) String

func (s DescribeAppsInput) String() string

String returns the string representation

type DescribeAppsOutput

type DescribeAppsOutput struct {

	// An array of App objects that describe the specified apps.
	Apps []App `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeApps request.

func (DescribeAppsOutput) String

func (s DescribeAppsOutput) String() string

String returns the string representation

type DescribeAppsRequest

type DescribeAppsRequest struct {
	*aws.Request
	Input *DescribeAppsInput
	Copy  func(*DescribeAppsInput) DescribeAppsRequest
}

DescribeAppsRequest is the request type for the DescribeApps API operation.

func (DescribeAppsRequest) Send

Send marshals and sends the DescribeApps API request.

type DescribeAppsResponse added in v0.9.0

type DescribeAppsResponse struct {
	*DescribeAppsOutput
	// contains filtered or unexported fields
}

DescribeAppsResponse is the response type for the DescribeApps API operation.

func (*DescribeAppsResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeAppsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeApps request.

type DescribeCommandsInput

type DescribeCommandsInput struct {

	// An array of command IDs. If you include this parameter, DescribeCommands
	// returns a description of the specified commands. Otherwise, it returns a
	// description of every command.
	CommandIds []string `type:"list"`

	// The deployment ID. If you include this parameter, DescribeCommands returns
	// a description of the commands associated with the specified deployment.
	DeploymentId *string `type:"string"`

	// The instance ID. If you include this parameter, DescribeCommands returns
	// a description of the commands associated with the specified instance.
	InstanceId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeCommandsInput) String

func (s DescribeCommandsInput) String() string

String returns the string representation

type DescribeCommandsOutput

type DescribeCommandsOutput struct {

	// An array of Command objects that describe each of the specified commands.
	Commands []Command `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeCommands request.

func (DescribeCommandsOutput) String

func (s DescribeCommandsOutput) String() string

String returns the string representation

type DescribeCommandsRequest

type DescribeCommandsRequest struct {
	*aws.Request
	Input *DescribeCommandsInput
	Copy  func(*DescribeCommandsInput) DescribeCommandsRequest
}

DescribeCommandsRequest is the request type for the DescribeCommands API operation.

func (DescribeCommandsRequest) Send

Send marshals and sends the DescribeCommands API request.

type DescribeCommandsResponse added in v0.9.0

type DescribeCommandsResponse struct {
	*DescribeCommandsOutput
	// contains filtered or unexported fields
}

DescribeCommandsResponse is the response type for the DescribeCommands API operation.

func (*DescribeCommandsResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeCommandsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeCommands request.

type DescribeDeploymentsInput

type DescribeDeploymentsInput struct {

	// The app ID. If you include this parameter, the command returns a description
	// of the commands associated with the specified app.
	AppId *string `type:"string"`

	// An array of deployment IDs to be described. If you include this parameter,
	// the command returns a description of the specified deployments. Otherwise,
	// it returns a description of every deployment.
	DeploymentIds []string `type:"list"`

	// The stack ID. If you include this parameter, the command returns a description
	// of the commands associated with the specified stack.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeDeploymentsInput) String

func (s DescribeDeploymentsInput) String() string

String returns the string representation

type DescribeDeploymentsOutput

type DescribeDeploymentsOutput struct {

	// An array of Deployment objects that describe the deployments.
	Deployments []Deployment `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeDeployments request.

func (DescribeDeploymentsOutput) String

func (s DescribeDeploymentsOutput) String() string

String returns the string representation

type DescribeDeploymentsRequest

type DescribeDeploymentsRequest struct {
	*aws.Request
	Input *DescribeDeploymentsInput
	Copy  func(*DescribeDeploymentsInput) DescribeDeploymentsRequest
}

DescribeDeploymentsRequest is the request type for the DescribeDeployments API operation.

func (DescribeDeploymentsRequest) Send

Send marshals and sends the DescribeDeployments API request.

type DescribeDeploymentsResponse added in v0.9.0

type DescribeDeploymentsResponse struct {
	*DescribeDeploymentsOutput
	// contains filtered or unexported fields
}

DescribeDeploymentsResponse is the response type for the DescribeDeployments API operation.

func (*DescribeDeploymentsResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeDeploymentsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeDeployments request.

type DescribeEcsClustersInput

type DescribeEcsClustersInput struct {

	// A list of ARNs, one for each cluster to be described.
	EcsClusterArns []string `type:"list"`

	// To receive a paginated response, use this parameter to specify the maximum
	// number of results to be returned with a single call. If the number of available
	// results exceeds this maximum, the response includes a NextToken value that
	// you can assign to the NextToken request parameter to get the next set of
	// results.
	MaxResults *int64 `type:"integer"`

	// If the previous paginated request did not return all of the remaining results,
	// the response object'sNextToken parameter value is set to a token. To retrieve
	// the next set of results, call DescribeEcsClusters again and assign that token
	// to the request object's NextToken parameter. If there are no remaining results,
	// the previous response object's NextToken parameter is set to null.
	NextToken *string `type:"string"`

	// A stack ID. DescribeEcsClusters returns a description of the cluster that
	// is registered with the stack.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeEcsClustersInput) String

func (s DescribeEcsClustersInput) String() string

String returns the string representation

type DescribeEcsClustersOutput

type DescribeEcsClustersOutput struct {

	// A list of EcsCluster objects containing the cluster descriptions.
	EcsClusters []EcsCluster `type:"list"`

	// If a paginated request does not return all of the remaining results, this
	// parameter is set to a token that you can assign to the request object's NextToken
	// parameter to retrieve the next set of results. If the previous paginated
	// request returned all of the remaining results, this parameter is set to null.
	NextToken *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeEcsClusters request.

func (DescribeEcsClustersOutput) String

func (s DescribeEcsClustersOutput) String() string

String returns the string representation

type DescribeEcsClustersPaginator added in v0.9.0

type DescribeEcsClustersPaginator struct {
	aws.Pager
}

DescribeEcsClustersPaginator is used to paginate the request. This can be done by calling Next and CurrentPage.

func NewDescribeEcsClustersPaginator added in v0.9.0

func NewDescribeEcsClustersPaginator(req DescribeEcsClustersRequest) DescribeEcsClustersPaginator

NewDescribeEcsClustersRequestPaginator returns a paginator for DescribeEcsClusters. Use Next method to get the next page, and CurrentPage to get the current response page from the paginator. Next will return false, if there are no more pages, or an error was encountered.

Note: This operation can generate multiple requests to a service.

// Example iterating over pages.
req := client.DescribeEcsClustersRequest(input)
p := opsworks.NewDescribeEcsClustersRequestPaginator(req)

for p.Next(context.TODO()) {
    page := p.CurrentPage()
}

if err := p.Err(); err != nil {
    return err
}

func (*DescribeEcsClustersPaginator) CurrentPage added in v0.9.0

type DescribeEcsClustersRequest

type DescribeEcsClustersRequest struct {
	*aws.Request
	Input *DescribeEcsClustersInput
	Copy  func(*DescribeEcsClustersInput) DescribeEcsClustersRequest
}

DescribeEcsClustersRequest is the request type for the DescribeEcsClusters API operation.

func (DescribeEcsClustersRequest) Send

Send marshals and sends the DescribeEcsClusters API request.

type DescribeEcsClustersResponse added in v0.9.0

type DescribeEcsClustersResponse struct {
	*DescribeEcsClustersOutput
	// contains filtered or unexported fields
}

DescribeEcsClustersResponse is the response type for the DescribeEcsClusters API operation.

func (*DescribeEcsClustersResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeEcsClustersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeEcsClusters request.

type DescribeElasticIpsInput

type DescribeElasticIpsInput struct {

	// The instance ID. If you include this parameter, DescribeElasticIps returns
	// a description of the Elastic IP addresses associated with the specified instance.
	InstanceId *string `type:"string"`

	// An array of Elastic IP addresses to be described. If you include this parameter,
	// DescribeElasticIps returns a description of the specified Elastic IP addresses.
	// Otherwise, it returns a description of every Elastic IP address.
	Ips []string `type:"list"`

	// A stack ID. If you include this parameter, DescribeElasticIps returns a description
	// of the Elastic IP addresses that are registered with the specified stack.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeElasticIpsInput) String

func (s DescribeElasticIpsInput) String() string

String returns the string representation

type DescribeElasticIpsOutput

type DescribeElasticIpsOutput struct {

	// An ElasticIps object that describes the specified Elastic IP addresses.
	ElasticIps []ElasticIp `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeElasticIps request.

func (DescribeElasticIpsOutput) String

func (s DescribeElasticIpsOutput) String() string

String returns the string representation

type DescribeElasticIpsRequest

type DescribeElasticIpsRequest struct {
	*aws.Request
	Input *DescribeElasticIpsInput
	Copy  func(*DescribeElasticIpsInput) DescribeElasticIpsRequest
}

DescribeElasticIpsRequest is the request type for the DescribeElasticIps API operation.

func (DescribeElasticIpsRequest) Send

Send marshals and sends the DescribeElasticIps API request.

type DescribeElasticIpsResponse added in v0.9.0

type DescribeElasticIpsResponse struct {
	*DescribeElasticIpsOutput
	// contains filtered or unexported fields
}

DescribeElasticIpsResponse is the response type for the DescribeElasticIps API operation.

func (*DescribeElasticIpsResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeElasticIpsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeElasticIps request.

type DescribeElasticLoadBalancersInput

type DescribeElasticLoadBalancersInput struct {

	// A list of layer IDs. The action describes the Elastic Load Balancing instances
	// for the specified layers.
	LayerIds []string `type:"list"`

	// A stack ID. The action describes the stack's Elastic Load Balancing instances.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeElasticLoadBalancersInput) String

String returns the string representation

type DescribeElasticLoadBalancersOutput

type DescribeElasticLoadBalancersOutput struct {

	// A list of ElasticLoadBalancer objects that describe the specified Elastic
	// Load Balancing instances.
	ElasticLoadBalancers []ElasticLoadBalancer `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeElasticLoadBalancers request.

func (DescribeElasticLoadBalancersOutput) String

String returns the string representation

type DescribeElasticLoadBalancersRequest

type DescribeElasticLoadBalancersRequest struct {
	*aws.Request
	Input *DescribeElasticLoadBalancersInput
	Copy  func(*DescribeElasticLoadBalancersInput) DescribeElasticLoadBalancersRequest
}

DescribeElasticLoadBalancersRequest is the request type for the DescribeElasticLoadBalancers API operation.

func (DescribeElasticLoadBalancersRequest) Send

Send marshals and sends the DescribeElasticLoadBalancers API request.

type DescribeElasticLoadBalancersResponse added in v0.9.0

type DescribeElasticLoadBalancersResponse struct {
	*DescribeElasticLoadBalancersOutput
	// contains filtered or unexported fields
}

DescribeElasticLoadBalancersResponse is the response type for the DescribeElasticLoadBalancers API operation.

func (*DescribeElasticLoadBalancersResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeElasticLoadBalancersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeElasticLoadBalancers request.

type DescribeInstancesInput

type DescribeInstancesInput struct {

	// An array of instance IDs to be described. If you use this parameter, DescribeInstances
	// returns a description of the specified instances. Otherwise, it returns a
	// description of every instance.
	InstanceIds []string `type:"list"`

	// A layer ID. If you use this parameter, DescribeInstances returns descriptions
	// of the instances associated with the specified layer.
	LayerId *string `type:"string"`

	// A stack ID. If you use this parameter, DescribeInstances returns descriptions
	// of the instances associated with the specified stack.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeInstancesInput) String

func (s DescribeInstancesInput) String() string

String returns the string representation

type DescribeInstancesOutput

type DescribeInstancesOutput struct {

	// An array of Instance objects that describe the instances.
	Instances []Instance `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeInstances request.

func (DescribeInstancesOutput) String

func (s DescribeInstancesOutput) String() string

String returns the string representation

type DescribeInstancesRequest

type DescribeInstancesRequest struct {
	*aws.Request
	Input *DescribeInstancesInput
	Copy  func(*DescribeInstancesInput) DescribeInstancesRequest
}

DescribeInstancesRequest is the request type for the DescribeInstances API operation.

func (DescribeInstancesRequest) Send

Send marshals and sends the DescribeInstances API request.

type DescribeInstancesResponse added in v0.9.0

type DescribeInstancesResponse struct {
	*DescribeInstancesOutput
	// contains filtered or unexported fields
}

DescribeInstancesResponse is the response type for the DescribeInstances API operation.

func (*DescribeInstancesResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeInstancesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeInstances request.

type DescribeLayersInput

type DescribeLayersInput struct {

	// An array of layer IDs that specify the layers to be described. If you omit
	// this parameter, DescribeLayers returns a description of every layer in the
	// specified stack.
	LayerIds []string `type:"list"`

	// The stack ID.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeLayersInput) String

func (s DescribeLayersInput) String() string

String returns the string representation

type DescribeLayersOutput

type DescribeLayersOutput struct {

	// An array of Layer objects that describe the layers.
	Layers []Layer `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeLayers request.

func (DescribeLayersOutput) String

func (s DescribeLayersOutput) String() string

String returns the string representation

type DescribeLayersRequest

type DescribeLayersRequest struct {
	*aws.Request
	Input *DescribeLayersInput
	Copy  func(*DescribeLayersInput) DescribeLayersRequest
}

DescribeLayersRequest is the request type for the DescribeLayers API operation.

func (DescribeLayersRequest) Send

Send marshals and sends the DescribeLayers API request.

type DescribeLayersResponse added in v0.9.0

type DescribeLayersResponse struct {
	*DescribeLayersOutput
	// contains filtered or unexported fields
}

DescribeLayersResponse is the response type for the DescribeLayers API operation.

func (*DescribeLayersResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeLayersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeLayers request.

type DescribeLoadBasedAutoScalingInput

type DescribeLoadBasedAutoScalingInput struct {

	// An array of layer IDs.
	//
	// LayerIds is a required field
	LayerIds []string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeLoadBasedAutoScalingInput) String

String returns the string representation

func (*DescribeLoadBasedAutoScalingInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeLoadBasedAutoScalingOutput

type DescribeLoadBasedAutoScalingOutput struct {

	// An array of LoadBasedAutoScalingConfiguration objects that describe each
	// layer's configuration.
	LoadBasedAutoScalingConfigurations []LoadBasedAutoScalingConfiguration `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeLoadBasedAutoScaling request.

func (DescribeLoadBasedAutoScalingOutput) String

String returns the string representation

type DescribeLoadBasedAutoScalingRequest

type DescribeLoadBasedAutoScalingRequest struct {
	*aws.Request
	Input *DescribeLoadBasedAutoScalingInput
	Copy  func(*DescribeLoadBasedAutoScalingInput) DescribeLoadBasedAutoScalingRequest
}

DescribeLoadBasedAutoScalingRequest is the request type for the DescribeLoadBasedAutoScaling API operation.

func (DescribeLoadBasedAutoScalingRequest) Send

Send marshals and sends the DescribeLoadBasedAutoScaling API request.

type DescribeLoadBasedAutoScalingResponse added in v0.9.0

type DescribeLoadBasedAutoScalingResponse struct {
	*DescribeLoadBasedAutoScalingOutput
	// contains filtered or unexported fields
}

DescribeLoadBasedAutoScalingResponse is the response type for the DescribeLoadBasedAutoScaling API operation.

func (*DescribeLoadBasedAutoScalingResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeLoadBasedAutoScalingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeLoadBasedAutoScaling request.

type DescribeMyUserProfileInput

type DescribeMyUserProfileInput struct {
	// contains filtered or unexported fields
}

func (DescribeMyUserProfileInput) String

String returns the string representation

type DescribeMyUserProfileOutput

type DescribeMyUserProfileOutput struct {

	// A UserProfile object that describes the user's SSH information.
	UserProfile *SelfUserProfile `type:"structure"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeMyUserProfile request.

func (DescribeMyUserProfileOutput) String

String returns the string representation

type DescribeMyUserProfileRequest

type DescribeMyUserProfileRequest struct {
	*aws.Request
	Input *DescribeMyUserProfileInput
	Copy  func(*DescribeMyUserProfileInput) DescribeMyUserProfileRequest
}

DescribeMyUserProfileRequest is the request type for the DescribeMyUserProfile API operation.

func (DescribeMyUserProfileRequest) Send

Send marshals and sends the DescribeMyUserProfile API request.

type DescribeMyUserProfileResponse added in v0.9.0

type DescribeMyUserProfileResponse struct {
	*DescribeMyUserProfileOutput
	// contains filtered or unexported fields
}

DescribeMyUserProfileResponse is the response type for the DescribeMyUserProfile API operation.

func (*DescribeMyUserProfileResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeMyUserProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeMyUserProfile request.

type DescribeOperatingSystemsInput added in v0.3.0

type DescribeOperatingSystemsInput struct {
	// contains filtered or unexported fields
}

func (DescribeOperatingSystemsInput) String added in v0.3.0

String returns the string representation

type DescribeOperatingSystemsOutput added in v0.3.0

type DescribeOperatingSystemsOutput struct {

	// Contains information in response to a DescribeOperatingSystems request.
	OperatingSystems []OperatingSystem `type:"list"`
	// contains filtered or unexported fields
}

The response to a DescribeOperatingSystems request.

func (DescribeOperatingSystemsOutput) String added in v0.3.0

String returns the string representation

type DescribeOperatingSystemsRequest added in v0.3.0

type DescribeOperatingSystemsRequest struct {
	*aws.Request
	Input *DescribeOperatingSystemsInput
	Copy  func(*DescribeOperatingSystemsInput) DescribeOperatingSystemsRequest
}

DescribeOperatingSystemsRequest is the request type for the DescribeOperatingSystems API operation.

func (DescribeOperatingSystemsRequest) Send added in v0.3.0

Send marshals and sends the DescribeOperatingSystems API request.

type DescribeOperatingSystemsResponse added in v0.9.0

type DescribeOperatingSystemsResponse struct {
	*DescribeOperatingSystemsOutput
	// contains filtered or unexported fields
}

DescribeOperatingSystemsResponse is the response type for the DescribeOperatingSystems API operation.

func (*DescribeOperatingSystemsResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeOperatingSystemsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeOperatingSystems request.

type DescribePermissionsInput

type DescribePermissionsInput struct {

	// The user's IAM ARN. This can also be a federated user's ARN. For more information
	// about IAM ARNs, see Using Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
	IamUserArn *string `type:"string"`

	// The stack ID.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribePermissionsInput) String

func (s DescribePermissionsInput) String() string

String returns the string representation

type DescribePermissionsOutput

type DescribePermissionsOutput struct {

	// An array of Permission objects that describe the stack permissions.
	//
	//    * If the request object contains only a stack ID, the array contains a
	//    Permission object with permissions for each of the stack IAM ARNs.
	//
	//    * If the request object contains only an IAM ARN, the array contains a
	//    Permission object with permissions for each of the user's stack IDs.
	//
	//    * If the request contains a stack ID and an IAM ARN, the array contains
	//    a single Permission object with permissions for the specified stack and
	//    IAM ARN.
	Permissions []Permission `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribePermissions request.

func (DescribePermissionsOutput) String

func (s DescribePermissionsOutput) String() string

String returns the string representation

type DescribePermissionsRequest

type DescribePermissionsRequest struct {
	*aws.Request
	Input *DescribePermissionsInput
	Copy  func(*DescribePermissionsInput) DescribePermissionsRequest
}

DescribePermissionsRequest is the request type for the DescribePermissions API operation.

func (DescribePermissionsRequest) Send

Send marshals and sends the DescribePermissions API request.

type DescribePermissionsResponse added in v0.9.0

type DescribePermissionsResponse struct {
	*DescribePermissionsOutput
	// contains filtered or unexported fields
}

DescribePermissionsResponse is the response type for the DescribePermissions API operation.

func (*DescribePermissionsResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribePermissionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribePermissions request.

type DescribeRaidArraysInput

type DescribeRaidArraysInput struct {

	// The instance ID. If you use this parameter, DescribeRaidArrays returns descriptions
	// of the RAID arrays associated with the specified instance.
	InstanceId *string `type:"string"`

	// An array of RAID array IDs. If you use this parameter, DescribeRaidArrays
	// returns descriptions of the specified arrays. Otherwise, it returns a description
	// of every array.
	RaidArrayIds []string `type:"list"`

	// The stack ID.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeRaidArraysInput) String

func (s DescribeRaidArraysInput) String() string

String returns the string representation

type DescribeRaidArraysOutput

type DescribeRaidArraysOutput struct {

	// A RaidArrays object that describes the specified RAID arrays.
	RaidArrays []RaidArray `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeRaidArrays request.

func (DescribeRaidArraysOutput) String

func (s DescribeRaidArraysOutput) String() string

String returns the string representation

type DescribeRaidArraysRequest

type DescribeRaidArraysRequest struct {
	*aws.Request
	Input *DescribeRaidArraysInput
	Copy  func(*DescribeRaidArraysInput) DescribeRaidArraysRequest
}

DescribeRaidArraysRequest is the request type for the DescribeRaidArrays API operation.

func (DescribeRaidArraysRequest) Send

Send marshals and sends the DescribeRaidArrays API request.

type DescribeRaidArraysResponse added in v0.9.0

type DescribeRaidArraysResponse struct {
	*DescribeRaidArraysOutput
	// contains filtered or unexported fields
}

DescribeRaidArraysResponse is the response type for the DescribeRaidArrays API operation.

func (*DescribeRaidArraysResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeRaidArraysResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeRaidArrays request.

type DescribeRdsDbInstancesInput

type DescribeRdsDbInstancesInput struct {

	// An array containing the ARNs of the instances to be described.
	RdsDbInstanceArns []string `type:"list"`

	// The ID of the stack with which the instances are registered. The operation
	// returns descriptions of all registered Amazon RDS instances.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeRdsDbInstancesInput) String

String returns the string representation

func (*DescribeRdsDbInstancesInput) Validate

func (s *DescribeRdsDbInstancesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeRdsDbInstancesOutput

type DescribeRdsDbInstancesOutput struct {

	// An a array of RdsDbInstance objects that describe the instances.
	RdsDbInstances []RdsDbInstance `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeRdsDbInstances request.

func (DescribeRdsDbInstancesOutput) String

String returns the string representation

type DescribeRdsDbInstancesRequest

type DescribeRdsDbInstancesRequest struct {
	*aws.Request
	Input *DescribeRdsDbInstancesInput
	Copy  func(*DescribeRdsDbInstancesInput) DescribeRdsDbInstancesRequest
}

DescribeRdsDbInstancesRequest is the request type for the DescribeRdsDbInstances API operation.

func (DescribeRdsDbInstancesRequest) Send

Send marshals and sends the DescribeRdsDbInstances API request.

type DescribeRdsDbInstancesResponse added in v0.9.0

type DescribeRdsDbInstancesResponse struct {
	*DescribeRdsDbInstancesOutput
	// contains filtered or unexported fields
}

DescribeRdsDbInstancesResponse is the response type for the DescribeRdsDbInstances API operation.

func (*DescribeRdsDbInstancesResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeRdsDbInstancesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeRdsDbInstances request.

type DescribeServiceErrorsInput

type DescribeServiceErrorsInput struct {

	// The instance ID. If you use this parameter, DescribeServiceErrors returns
	// descriptions of the errors associated with the specified instance.
	InstanceId *string `type:"string"`

	// An array of service error IDs. If you use this parameter, DescribeServiceErrors
	// returns descriptions of the specified errors. Otherwise, it returns a description
	// of every error.
	ServiceErrorIds []string `type:"list"`

	// The stack ID. If you use this parameter, DescribeServiceErrors returns descriptions
	// of the errors associated with the specified stack.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

func (DescribeServiceErrorsInput) String

String returns the string representation

type DescribeServiceErrorsOutput

type DescribeServiceErrorsOutput struct {

	// An array of ServiceError objects that describe the specified service errors.
	ServiceErrors []ServiceError `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeServiceErrors request.

func (DescribeServiceErrorsOutput) String

String returns the string representation

type DescribeServiceErrorsRequest

type DescribeServiceErrorsRequest struct {
	*aws.Request
	Input *DescribeServiceErrorsInput
	Copy  func(*DescribeServiceErrorsInput) DescribeServiceErrorsRequest
}

DescribeServiceErrorsRequest is the request type for the DescribeServiceErrors API operation.

func (DescribeServiceErrorsRequest) Send

Send marshals and sends the DescribeServiceErrors API request.

type DescribeServiceErrorsResponse added in v0.9.0

type DescribeServiceErrorsResponse struct {
	*DescribeServiceErrorsOutput
	// contains filtered or unexported fields
}

DescribeServiceErrorsResponse is the response type for the DescribeServiceErrors API operation.

func (*DescribeServiceErrorsResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeServiceErrorsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeServiceErrors request.

type DescribeStackProvisioningParametersInput

type DescribeStackProvisioningParametersInput struct {

	// The stack ID.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeStackProvisioningParametersInput) String

String returns the string representation

func (*DescribeStackProvisioningParametersInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeStackProvisioningParametersOutput

type DescribeStackProvisioningParametersOutput struct {

	// The AWS OpsWorks Stacks agent installer's URL.
	AgentInstallerUrl *string `type:"string"`

	// An embedded object that contains the provisioning parameters.
	Parameters map[string]string `type:"map"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeStackProvisioningParameters request.

func (DescribeStackProvisioningParametersOutput) String

String returns the string representation

type DescribeStackProvisioningParametersRequest

DescribeStackProvisioningParametersRequest is the request type for the DescribeStackProvisioningParameters API operation.

func (DescribeStackProvisioningParametersRequest) Send

Send marshals and sends the DescribeStackProvisioningParameters API request.

type DescribeStackProvisioningParametersResponse added in v0.9.0

type DescribeStackProvisioningParametersResponse struct {
	*DescribeStackProvisioningParametersOutput
	// contains filtered or unexported fields
}

DescribeStackProvisioningParametersResponse is the response type for the DescribeStackProvisioningParameters API operation.

func (*DescribeStackProvisioningParametersResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeStackProvisioningParametersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeStackProvisioningParameters request.

type DescribeStackSummaryInput

type DescribeStackSummaryInput struct {

	// The stack ID.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeStackSummaryInput) String

func (s DescribeStackSummaryInput) String() string

String returns the string representation

func (*DescribeStackSummaryInput) Validate

func (s *DescribeStackSummaryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DescribeStackSummaryOutput

type DescribeStackSummaryOutput struct {

	// A StackSummary object that contains the results.
	StackSummary *StackSummary `type:"structure"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeStackSummary request.

func (DescribeStackSummaryOutput) String

String returns the string representation

type DescribeStackSummaryRequest

type DescribeStackSummaryRequest struct {
	*aws.Request
	Input *DescribeStackSummaryInput
	Copy  func(*DescribeStackSummaryInput) DescribeStackSummaryRequest
}

DescribeStackSummaryRequest is the request type for the DescribeStackSummary API operation.

func (DescribeStackSummaryRequest) Send

Send marshals and sends the DescribeStackSummary API request.

type DescribeStackSummaryResponse added in v0.9.0

type DescribeStackSummaryResponse struct {
	*DescribeStackSummaryOutput
	// contains filtered or unexported fields
}

DescribeStackSummaryResponse is the response type for the DescribeStackSummary API operation.

func (*DescribeStackSummaryResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeStackSummaryResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeStackSummary request.

type DescribeStacksInput

type DescribeStacksInput struct {

	// An array of stack IDs that specify the stacks to be described. If you omit
	// this parameter, DescribeStacks returns a description of every stack.
	StackIds []string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeStacksInput) String

func (s DescribeStacksInput) String() string

String returns the string representation

type DescribeStacksOutput

type DescribeStacksOutput struct {

	// An array of Stack objects that describe the stacks.
	Stacks []Stack `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeStacks request.

func (DescribeStacksOutput) String

func (s DescribeStacksOutput) String() string

String returns the string representation

type DescribeStacksRequest

type DescribeStacksRequest struct {
	*aws.Request
	Input *DescribeStacksInput
	Copy  func(*DescribeStacksInput) DescribeStacksRequest
}

DescribeStacksRequest is the request type for the DescribeStacks API operation.

func (DescribeStacksRequest) Send

Send marshals and sends the DescribeStacks API request.

type DescribeStacksResponse added in v0.9.0

type DescribeStacksResponse struct {
	*DescribeStacksOutput
	// contains filtered or unexported fields
}

DescribeStacksResponse is the response type for the DescribeStacks API operation.

func (*DescribeStacksResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeStacksResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeStacks request.

type DescribeTimeBasedAutoScalingInput

type DescribeTimeBasedAutoScalingInput struct {

	// An array of instance IDs.
	//
	// InstanceIds is a required field
	InstanceIds []string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (DescribeTimeBasedAutoScalingInput) String

String returns the string representation

func (*DescribeTimeBasedAutoScalingInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type DescribeTimeBasedAutoScalingOutput

type DescribeTimeBasedAutoScalingOutput struct {

	// An array of TimeBasedAutoScalingConfiguration objects that describe the configuration
	// for the specified instances.
	TimeBasedAutoScalingConfigurations []TimeBasedAutoScalingConfiguration `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeTimeBasedAutoScaling request.

func (DescribeTimeBasedAutoScalingOutput) String

String returns the string representation

type DescribeTimeBasedAutoScalingRequest

type DescribeTimeBasedAutoScalingRequest struct {
	*aws.Request
	Input *DescribeTimeBasedAutoScalingInput
	Copy  func(*DescribeTimeBasedAutoScalingInput) DescribeTimeBasedAutoScalingRequest
}

DescribeTimeBasedAutoScalingRequest is the request type for the DescribeTimeBasedAutoScaling API operation.

func (DescribeTimeBasedAutoScalingRequest) Send

Send marshals and sends the DescribeTimeBasedAutoScaling API request.

type DescribeTimeBasedAutoScalingResponse added in v0.9.0

type DescribeTimeBasedAutoScalingResponse struct {
	*DescribeTimeBasedAutoScalingOutput
	// contains filtered or unexported fields
}

DescribeTimeBasedAutoScalingResponse is the response type for the DescribeTimeBasedAutoScaling API operation.

func (*DescribeTimeBasedAutoScalingResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeTimeBasedAutoScalingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeTimeBasedAutoScaling request.

type DescribeUserProfilesInput

type DescribeUserProfilesInput struct {

	// An array of IAM or federated user ARNs that identify the users to be described.
	IamUserArns []string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeUserProfilesInput) String

func (s DescribeUserProfilesInput) String() string

String returns the string representation

type DescribeUserProfilesOutput

type DescribeUserProfilesOutput struct {

	// A Users object that describes the specified users.
	UserProfiles []UserProfile `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeUserProfiles request.

func (DescribeUserProfilesOutput) String

String returns the string representation

type DescribeUserProfilesRequest

type DescribeUserProfilesRequest struct {
	*aws.Request
	Input *DescribeUserProfilesInput
	Copy  func(*DescribeUserProfilesInput) DescribeUserProfilesRequest
}

DescribeUserProfilesRequest is the request type for the DescribeUserProfiles API operation.

func (DescribeUserProfilesRequest) Send

Send marshals and sends the DescribeUserProfiles API request.

type DescribeUserProfilesResponse added in v0.9.0

type DescribeUserProfilesResponse struct {
	*DescribeUserProfilesOutput
	// contains filtered or unexported fields
}

DescribeUserProfilesResponse is the response type for the DescribeUserProfiles API operation.

func (*DescribeUserProfilesResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeUserProfilesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeUserProfiles request.

type DescribeVolumesInput

type DescribeVolumesInput struct {

	// The instance ID. If you use this parameter, DescribeVolumes returns descriptions
	// of the volumes associated with the specified instance.
	InstanceId *string `type:"string"`

	// The RAID array ID. If you use this parameter, DescribeVolumes returns descriptions
	// of the volumes associated with the specified RAID array.
	RaidArrayId *string `type:"string"`

	// A stack ID. The action describes the stack's registered Amazon EBS volumes.
	StackId *string `type:"string"`

	// Am array of volume IDs. If you use this parameter, DescribeVolumes returns
	// descriptions of the specified volumes. Otherwise, it returns a description
	// of every volume.
	VolumeIds []string `type:"list"`
	// contains filtered or unexported fields
}

func (DescribeVolumesInput) String

func (s DescribeVolumesInput) String() string

String returns the string representation

type DescribeVolumesOutput

type DescribeVolumesOutput struct {

	// An array of volume IDs.
	Volumes []Volume `type:"list"`
	// contains filtered or unexported fields
}

Contains the response to a DescribeVolumes request.

func (DescribeVolumesOutput) String

func (s DescribeVolumesOutput) String() string

String returns the string representation

type DescribeVolumesRequest

type DescribeVolumesRequest struct {
	*aws.Request
	Input *DescribeVolumesInput
	Copy  func(*DescribeVolumesInput) DescribeVolumesRequest
}

DescribeVolumesRequest is the request type for the DescribeVolumes API operation.

func (DescribeVolumesRequest) Send

Send marshals and sends the DescribeVolumes API request.

type DescribeVolumesResponse added in v0.9.0

type DescribeVolumesResponse struct {
	*DescribeVolumesOutput
	// contains filtered or unexported fields
}

DescribeVolumesResponse is the response type for the DescribeVolumes API operation.

func (*DescribeVolumesResponse) SDKResponseMetdata added in v0.9.0

func (r *DescribeVolumesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DescribeVolumes request.

type DetachElasticLoadBalancerInput

type DetachElasticLoadBalancerInput struct {

	// The Elastic Load Balancing instance's name.
	//
	// ElasticLoadBalancerName is a required field
	ElasticLoadBalancerName *string `type:"string" required:"true"`

	// The ID of the layer that the Elastic Load Balancing instance is attached
	// to.
	//
	// LayerId is a required field
	LayerId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DetachElasticLoadBalancerInput) String

String returns the string representation

func (*DetachElasticLoadBalancerInput) Validate

func (s *DetachElasticLoadBalancerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DetachElasticLoadBalancerOutput

type DetachElasticLoadBalancerOutput struct {
	// contains filtered or unexported fields
}

func (DetachElasticLoadBalancerOutput) String

String returns the string representation

type DetachElasticLoadBalancerRequest

type DetachElasticLoadBalancerRequest struct {
	*aws.Request
	Input *DetachElasticLoadBalancerInput
	Copy  func(*DetachElasticLoadBalancerInput) DetachElasticLoadBalancerRequest
}

DetachElasticLoadBalancerRequest is the request type for the DetachElasticLoadBalancer API operation.

func (DetachElasticLoadBalancerRequest) Send

Send marshals and sends the DetachElasticLoadBalancer API request.

type DetachElasticLoadBalancerResponse added in v0.9.0

type DetachElasticLoadBalancerResponse struct {
	*DetachElasticLoadBalancerOutput
	// contains filtered or unexported fields
}

DetachElasticLoadBalancerResponse is the response type for the DetachElasticLoadBalancer API operation.

func (*DetachElasticLoadBalancerResponse) SDKResponseMetdata added in v0.9.0

func (r *DetachElasticLoadBalancerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DetachElasticLoadBalancer request.

type DisassociateElasticIpInput

type DisassociateElasticIpInput struct {

	// The Elastic IP address.
	//
	// ElasticIp is a required field
	ElasticIp *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisassociateElasticIpInput) String

String returns the string representation

func (*DisassociateElasticIpInput) Validate

func (s *DisassociateElasticIpInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type DisassociateElasticIpOutput

type DisassociateElasticIpOutput struct {
	// contains filtered or unexported fields
}

func (DisassociateElasticIpOutput) String

String returns the string representation

type DisassociateElasticIpRequest

type DisassociateElasticIpRequest struct {
	*aws.Request
	Input *DisassociateElasticIpInput
	Copy  func(*DisassociateElasticIpInput) DisassociateElasticIpRequest
}

DisassociateElasticIpRequest is the request type for the DisassociateElasticIp API operation.

func (DisassociateElasticIpRequest) Send

Send marshals and sends the DisassociateElasticIp API request.

type DisassociateElasticIpResponse added in v0.9.0

type DisassociateElasticIpResponse struct {
	*DisassociateElasticIpOutput
	// contains filtered or unexported fields
}

DisassociateElasticIpResponse is the response type for the DisassociateElasticIp API operation.

func (*DisassociateElasticIpResponse) SDKResponseMetdata added in v0.9.0

func (r *DisassociateElasticIpResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the DisassociateElasticIp request.

type EbsBlockDevice

type EbsBlockDevice struct {

	// Whether the volume is deleted on instance termination.
	DeleteOnTermination *bool `type:"boolean"`

	// The number of I/O operations per second (IOPS) that the volume supports.
	// For more information, see EbsBlockDevice (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html).
	Iops *int64 `type:"integer"`

	// The snapshot ID.
	SnapshotId *string `type:"string"`

	// The volume size, in GiB. For more information, see EbsBlockDevice (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html).
	VolumeSize *int64 `type:"integer"`

	// The volume type. gp2 for General Purpose (SSD) volumes, io1 for Provisioned
	// IOPS (SSD) volumes, st1 for Throughput Optimized hard disk drives (HDD),
	// sc1 for Cold HDD,and standard for Magnetic volumes.
	//
	// If you specify the io1 volume type, you must also specify a value for the
	// Iops attribute. The maximum ratio of provisioned IOPS to requested volume
	// size (in GiB) is 50:1. AWS uses the default volume size (in GiB) specified
	// in the AMI attributes to set IOPS to 50 x (volume size).
	VolumeType VolumeType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes an Amazon EBS volume. This data type maps directly to the Amazon EC2 EbsBlockDevice (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html) data type.

func (EbsBlockDevice) String

func (s EbsBlockDevice) String() string

String returns the string representation

type EcsCluster

type EcsCluster struct {

	// The cluster's ARN.
	EcsClusterArn *string `type:"string"`

	// The cluster name.
	EcsClusterName *string `type:"string"`

	// The time and date that the cluster was registered with the stack.
	RegisteredAt *string `type:"string"`

	// The stack ID.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a registered Amazon ECS cluster.

func (EcsCluster) String

func (s EcsCluster) String() string

String returns the string representation

type ElasticIp

type ElasticIp struct {

	// The domain.
	Domain *string `type:"string"`

	// The ID of the instance that the address is attached to.
	InstanceId *string `type:"string"`

	// The IP address.
	Ip *string `type:"string"`

	// The name.
	Name *string `type:"string"`

	// The AWS region. For more information, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html).
	Region *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an Elastic IP address.

func (ElasticIp) String

func (s ElasticIp) String() string

String returns the string representation

type ElasticLoadBalancer

type ElasticLoadBalancer struct {

	// A list of Availability Zones.
	AvailabilityZones []string `type:"list"`

	// The instance's public DNS name.
	DnsName *string `type:"string"`

	// A list of the EC2 instances that the Elastic Load Balancing instance is managing
	// traffic for.
	Ec2InstanceIds []string `type:"list"`

	// The Elastic Load Balancing instance's name.
	ElasticLoadBalancerName *string `type:"string"`

	// The ID of the layer that the instance is attached to.
	LayerId *string `type:"string"`

	// The instance's AWS region.
	Region *string `type:"string"`

	// The ID of the stack that the instance is associated with.
	StackId *string `type:"string"`

	// A list of subnet IDs, if the stack is running in a VPC.
	SubnetIds []string `type:"list"`

	// The VPC ID.
	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an Elastic Load Balancing instance.

func (ElasticLoadBalancer) String

func (s ElasticLoadBalancer) String() string

String returns the string representation

type EnvironmentVariable

type EnvironmentVariable struct {

	// (Required) The environment variable's name, which can consist of up to 64
	// characters and must be specified. The name can contain upper- and lowercase
	// letters, numbers, and underscores (_), but it must start with a letter or
	// underscore.
	//
	// Key is a required field
	Key *string `type:"string" required:"true"`

	// (Optional) Whether the variable's value will be returned by the DescribeApps
	// action. To conceal an environment variable's value, set Secure to true. DescribeApps
	// then returns *****FILTERED***** instead of the actual value. The default
	// value for Secure is false.
	Secure *bool `type:"boolean"`

	// (Optional) The environment variable's value, which can be left empty. If
	// you specify a value, it can contain up to 256 characters, which must all
	// be printable.
	//
	// Value is a required field
	Value *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Represents an app's environment variable.

func (EnvironmentVariable) String

func (s EnvironmentVariable) String() string

String returns the string representation

func (*EnvironmentVariable) Validate

func (s *EnvironmentVariable) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetHostnameSuggestionInput

type GetHostnameSuggestionInput struct {

	// The layer ID.
	//
	// LayerId is a required field
	LayerId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetHostnameSuggestionInput) String

String returns the string representation

func (*GetHostnameSuggestionInput) Validate

func (s *GetHostnameSuggestionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetHostnameSuggestionOutput

type GetHostnameSuggestionOutput struct {

	// The generated host name.
	Hostname *string `type:"string"`

	// The layer ID.
	LayerId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the response to a GetHostnameSuggestion request.

func (GetHostnameSuggestionOutput) String

String returns the string representation

type GetHostnameSuggestionRequest

type GetHostnameSuggestionRequest struct {
	*aws.Request
	Input *GetHostnameSuggestionInput
	Copy  func(*GetHostnameSuggestionInput) GetHostnameSuggestionRequest
}

GetHostnameSuggestionRequest is the request type for the GetHostnameSuggestion API operation.

func (GetHostnameSuggestionRequest) Send

Send marshals and sends the GetHostnameSuggestion API request.

type GetHostnameSuggestionResponse added in v0.9.0

type GetHostnameSuggestionResponse struct {
	*GetHostnameSuggestionOutput
	// contains filtered or unexported fields
}

GetHostnameSuggestionResponse is the response type for the GetHostnameSuggestion API operation.

func (*GetHostnameSuggestionResponse) SDKResponseMetdata added in v0.9.0

func (r *GetHostnameSuggestionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetHostnameSuggestion request.

type GrantAccessInput

type GrantAccessInput struct {

	// The instance's AWS OpsWorks Stacks ID.
	//
	// InstanceId is a required field
	InstanceId *string `type:"string" required:"true"`

	// The length of time (in minutes) that the grant is valid. When the grant expires
	// at the end of this period, the user will no longer be able to use the credentials
	// to log in. If the user is logged in at the time, he or she automatically
	// will be logged out.
	ValidForInMinutes *int64 `min:"60" type:"integer"`
	// contains filtered or unexported fields
}

func (GrantAccessInput) String

func (s GrantAccessInput) String() string

String returns the string representation

func (*GrantAccessInput) Validate

func (s *GrantAccessInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GrantAccessOutput

type GrantAccessOutput struct {

	// A TemporaryCredential object that contains the data needed to log in to the
	// instance by RDP clients, such as the Microsoft Remote Desktop Connection.
	TemporaryCredential *TemporaryCredential `type:"structure"`
	// contains filtered or unexported fields
}

Contains the response to a GrantAccess request.

func (GrantAccessOutput) String

func (s GrantAccessOutput) String() string

String returns the string representation

type GrantAccessRequest

type GrantAccessRequest struct {
	*aws.Request
	Input *GrantAccessInput
	Copy  func(*GrantAccessInput) GrantAccessRequest
}

GrantAccessRequest is the request type for the GrantAccess API operation.

func (GrantAccessRequest) Send

Send marshals and sends the GrantAccess API request.

type GrantAccessResponse added in v0.9.0

type GrantAccessResponse struct {
	*GrantAccessOutput
	// contains filtered or unexported fields
}

GrantAccessResponse is the response type for the GrantAccess API operation.

func (*GrantAccessResponse) SDKResponseMetdata added in v0.9.0

func (r *GrantAccessResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GrantAccess request.

type Instance

type Instance struct {

	// The agent version. This parameter is set to INHERIT if the instance inherits
	// the default stack setting or to a a version number for a fixed agent version.
	AgentVersion *string `type:"string"`

	// A custom AMI ID to be used to create the instance. For more information,
	// see Instances (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html)
	AmiId *string `type:"string"`

	// The instance architecture: "i386" or "x86_64".
	Architecture Architecture `type:"string" enum:"true"`

	// The instance's Amazon Resource Number (ARN).
	Arn *string `type:"string"`

	// For load-based or time-based instances, the type.
	AutoScalingType AutoScalingType `type:"string" enum:"true"`

	// The instance Availability Zone. For more information, see Regions and Endpoints
	// (https://docs.aws.amazon.com/general/latest/gr/rande.html).
	AvailabilityZone *string `type:"string"`

	// An array of BlockDeviceMapping objects that specify the instance's block
	// device mappings.
	BlockDeviceMappings []BlockDeviceMapping `type:"list"`

	// The time that the instance was created.
	CreatedAt *string `type:"string"`

	// Whether this is an Amazon EBS-optimized instance.
	EbsOptimized *bool `type:"boolean"`

	// The ID of the associated Amazon EC2 instance.
	Ec2InstanceId *string `type:"string"`

	// For container instances, the Amazon ECS cluster's ARN.
	EcsClusterArn *string `type:"string"`

	// For container instances, the instance's ARN.
	EcsContainerInstanceArn *string `type:"string"`

	// The instance Elastic IP address (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html).
	ElasticIp *string `type:"string"`

	// The instance host name.
	Hostname *string `type:"string"`

	// For registered instances, the infrastructure class: ec2 or on-premises.
	InfrastructureClass *string `type:"string"`

	// Whether to install operating system and package updates when the instance
	// boots. The default value is true. If this value is set to false, you must
	// then update your instances manually by using CreateDeployment to run the
	// update_dependencies stack command or by manually running yum (Amazon Linux)
	// or apt-get (Ubuntu) on the instances.
	//
	// We strongly recommend using the default value of true, to ensure that your
	// instances have the latest security updates.
	InstallUpdatesOnBoot *bool `type:"boolean"`

	// The instance ID.
	InstanceId *string `type:"string"`

	// The ARN of the instance's IAM profile. For more information about IAM ARNs,
	// see Using Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
	InstanceProfileArn *string `type:"string"`

	// The instance type, such as t2.micro.
	InstanceType *string `type:"string"`

	// The ID of the last service error. For more information, call DescribeServiceErrors.
	LastServiceErrorId *string `type:"string"`

	// An array containing the instance layer IDs.
	LayerIds []string `type:"list"`

	// The instance's operating system.
	Os *string `type:"string"`

	// The instance's platform.
	Platform *string `type:"string"`

	// The instance's private DNS name.
	PrivateDns *string `type:"string"`

	// The instance's private IP address.
	PrivateIp *string `type:"string"`

	// The instance public DNS name.
	PublicDns *string `type:"string"`

	// The instance public IP address.
	PublicIp *string `type:"string"`

	// For registered instances, who performed the registration.
	RegisteredBy *string `type:"string"`

	// The instance's reported AWS OpsWorks Stacks agent version.
	ReportedAgentVersion *string `type:"string"`

	// For registered instances, the reported operating system.
	ReportedOs *ReportedOs `type:"structure"`

	// The instance's root device type. For more information, see Storage for the
	// Root Device (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device).
	RootDeviceType RootDeviceType `type:"string" enum:"true"`

	// The root device volume ID.
	RootDeviceVolumeId *string `type:"string"`

	// An array containing the instance security group IDs.
	SecurityGroupIds []string `type:"list"`

	// The SSH key's Deep Security Agent (DSA) fingerprint.
	SshHostDsaKeyFingerprint *string `type:"string"`

	// The SSH key's RSA fingerprint.
	SshHostRsaKeyFingerprint *string `type:"string"`

	// The instance's Amazon EC2 key-pair name.
	SshKeyName *string `type:"string"`

	// The stack ID.
	StackId *string `type:"string"`

	// The instance status:
	//
	//    * booting
	//
	//    * connection_lost
	//
	//    * online
	//
	//    * pending
	//
	//    * rebooting
	//
	//    * requested
	//
	//    * running_setup
	//
	//    * setup_failed
	//
	//    * shutting_down
	//
	//    * start_failed
	//
	//    * stop_failed
	//
	//    * stopped
	//
	//    * stopping
	//
	//    * terminated
	//
	//    * terminating
	Status *string `type:"string"`

	// The instance's subnet ID; applicable only if the stack is running in a VPC.
	SubnetId *string `type:"string"`

	// The instance's tenancy option, such as dedicated or host.
	Tenancy *string `type:"string"`

	// The instance's virtualization type: paravirtual or hvm.
	VirtualizationType VirtualizationType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes an instance.

func (Instance) String

func (s Instance) String() string

String returns the string representation

type InstanceIdentity

type InstanceIdentity struct {

	// A JSON document that contains the metadata.
	Document *string `type:"string"`

	// A signature that can be used to verify the document's accuracy and authenticity.
	Signature *string `type:"string"`
	// contains filtered or unexported fields
}

Contains a description of an Amazon EC2 instance from the Amazon EC2 metadata service. For more information, see Instance Metadata and User Data (https://docs.aws.amazon.com/sdkfornet/latest/apidocs/Index.html).

func (InstanceIdentity) String

func (s InstanceIdentity) String() string

String returns the string representation

type InstancesCount

type InstancesCount struct {

	// The number of instances in the Assigning state.
	Assigning *int64 `type:"integer"`

	// The number of instances with booting status.
	Booting *int64 `type:"integer"`

	// The number of instances with connection_lost status.
	ConnectionLost *int64 `type:"integer"`

	// The number of instances in the Deregistering state.
	Deregistering *int64 `type:"integer"`

	// The number of instances with online status.
	Online *int64 `type:"integer"`

	// The number of instances with pending status.
	Pending *int64 `type:"integer"`

	// The number of instances with rebooting status.
	Rebooting *int64 `type:"integer"`

	// The number of instances in the Registered state.
	Registered *int64 `type:"integer"`

	// The number of instances in the Registering state.
	Registering *int64 `type:"integer"`

	// The number of instances with requested status.
	Requested *int64 `type:"integer"`

	// The number of instances with running_setup status.
	RunningSetup *int64 `type:"integer"`

	// The number of instances with setup_failed status.
	SetupFailed *int64 `type:"integer"`

	// The number of instances with shutting_down status.
	ShuttingDown *int64 `type:"integer"`

	// The number of instances with start_failed status.
	StartFailed *int64 `type:"integer"`

	// The number of instances with stop_failed status.
	StopFailed *int64 `type:"integer"`

	// The number of instances with stopped status.
	Stopped *int64 `type:"integer"`

	// The number of instances with stopping status.
	Stopping *int64 `type:"integer"`

	// The number of instances with terminated status.
	Terminated *int64 `type:"integer"`

	// The number of instances with terminating status.
	Terminating *int64 `type:"integer"`

	// The number of instances in the Unassigning state.
	Unassigning *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Describes how many instances a stack has for each status.

func (InstancesCount) String

func (s InstancesCount) String() string

String returns the string representation

type Layer

type Layer struct {

	// The Amazon Resource Number (ARN) of a layer.
	Arn *string `type:"string"`

	// The layer attributes.
	//
	// For the HaproxyStatsPassword, MysqlRootPassword, and GangliaPassword attributes,
	// AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value
	//
	// For an ECS Cluster layer, AWS OpsWorks Stacks the EcsClusterArn attribute
	// is set to the cluster's ARN.
	Attributes map[string]string `type:"map"`

	// Whether to automatically assign an Elastic IP address (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html)
	// to the layer's instances. For more information, see How to Edit a Layer (https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html).
	AutoAssignElasticIps *bool `type:"boolean"`

	// For stacks that are running in a VPC, whether to automatically assign a public
	// IP address to the layer's instances. For more information, see How to Edit
	// a Layer (https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html).
	AutoAssignPublicIps *bool `type:"boolean"`

	// The Amazon CloudWatch Logs configuration settings for the layer.
	CloudWatchLogsConfiguration *CloudWatchLogsConfiguration `type:"structure"`

	// Date when the layer was created.
	CreatedAt *string `type:"string"`

	// The ARN of the default IAM profile to be used for the layer's EC2 instances.
	// For more information about IAM ARNs, see Using Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
	CustomInstanceProfileArn *string `type:"string"`

	// A JSON formatted string containing the layer's custom stack configuration
	// and deployment attributes.
	CustomJson *string `type:"string"`

	// A LayerCustomRecipes object that specifies the layer's custom recipes.
	CustomRecipes *Recipes `type:"structure"`

	// An array containing the layer's custom security group IDs.
	CustomSecurityGroupIds []string `type:"list"`

	// AWS OpsWorks Stacks supports five lifecycle events: setup, configuration,
	// deploy, undeploy, and shutdown. For each layer, AWS OpsWorks Stacks runs
	// a set of standard recipes for each event. You can also provide custom recipes
	// for any or all layers and events. AWS OpsWorks Stacks runs custom event recipes
	// after the standard recipes. LayerCustomRecipes specifies the custom recipes
	// for a particular layer to be run in response to each of the five events.
	//
	// To specify a recipe, use the cookbook's directory name in the repository
	// followed by two colons and the recipe name, which is the recipe's file name
	// without the .rb extension. For example: phpapp2::dbsetup specifies the dbsetup.rb
	// recipe in the repository's phpapp2 folder.
	DefaultRecipes *Recipes `type:"structure"`

	// An array containing the layer's security group names.
	DefaultSecurityGroupNames []string `type:"list"`

	// Whether auto healing is disabled for the layer.
	EnableAutoHealing *bool `type:"boolean"`

	// Whether to install operating system and package updates when the instance
	// boots. The default value is true. If this value is set to false, you must
	// then update your instances manually by using CreateDeployment to run the
	// update_dependencies stack command or manually running yum (Amazon Linux)
	// or apt-get (Ubuntu) on the instances.
	//
	// We strongly recommend using the default value of true, to ensure that your
	// instances have the latest security updates.
	InstallUpdatesOnBoot *bool `type:"boolean"`

	// The layer ID.
	LayerId *string `type:"string"`

	// A LifeCycleEventConfiguration object that specifies the Shutdown event configuration.
	LifecycleEventConfiguration *LifecycleEventConfiguration `type:"structure"`

	// The layer name.
	Name *string `type:"string"`

	// An array of Package objects that describe the layer's packages.
	Packages []string `type:"list"`

	// The layer short name.
	Shortname *string `type:"string"`

	// The layer stack ID.
	StackId *string `type:"string"`

	// The layer type.
	Type LayerType `type:"string" enum:"true"`

	// Whether the layer uses Amazon EBS-optimized instances.
	UseEbsOptimizedInstances *bool `type:"boolean"`

	// A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
	VolumeConfigurations []VolumeConfiguration `type:"list"`
	// contains filtered or unexported fields
}

Describes a layer.

func (Layer) String

func (s Layer) String() string

String returns the string representation

type LayerAttributesKeys

type LayerAttributesKeys string
const (
	LayerAttributesKeysEcsClusterArn               LayerAttributesKeys = "EcsClusterArn"
	LayerAttributesKeysEnableHaproxyStats          LayerAttributesKeys = "EnableHaproxyStats"
	LayerAttributesKeysHaproxyStatsUrl             LayerAttributesKeys = "HaproxyStatsUrl"
	LayerAttributesKeysHaproxyStatsUser            LayerAttributesKeys = "HaproxyStatsUser"
	LayerAttributesKeysHaproxyStatsPassword        LayerAttributesKeys = "HaproxyStatsPassword"
	LayerAttributesKeysHaproxyHealthCheckUrl       LayerAttributesKeys = "HaproxyHealthCheckUrl"
	LayerAttributesKeysHaproxyHealthCheckMethod    LayerAttributesKeys = "HaproxyHealthCheckMethod"
	LayerAttributesKeysMysqlRootPassword           LayerAttributesKeys = "MysqlRootPassword"
	LayerAttributesKeysMysqlRootPasswordUbiquitous LayerAttributesKeys = "MysqlRootPasswordUbiquitous"
	LayerAttributesKeysGangliaUrl                  LayerAttributesKeys = "GangliaUrl"
	LayerAttributesKeysGangliaUser                 LayerAttributesKeys = "GangliaUser"
	LayerAttributesKeysGangliaPassword             LayerAttributesKeys = "GangliaPassword"
	LayerAttributesKeysMemcachedMemory             LayerAttributesKeys = "MemcachedMemory"
	LayerAttributesKeysNodejsVersion               LayerAttributesKeys = "NodejsVersion"
	LayerAttributesKeysRubyVersion                 LayerAttributesKeys = "RubyVersion"
	LayerAttributesKeysRubygemsVersion             LayerAttributesKeys = "RubygemsVersion"
	LayerAttributesKeysManageBundler               LayerAttributesKeys = "ManageBundler"
	LayerAttributesKeysBundlerVersion              LayerAttributesKeys = "BundlerVersion"
	LayerAttributesKeysRailsStack                  LayerAttributesKeys = "RailsStack"
	LayerAttributesKeysPassengerVersion            LayerAttributesKeys = "PassengerVersion"
	LayerAttributesKeysJvm                         LayerAttributesKeys = "Jvm"
	LayerAttributesKeysJvmVersion                  LayerAttributesKeys = "JvmVersion"
	LayerAttributesKeysJvmOptions                  LayerAttributesKeys = "JvmOptions"
	LayerAttributesKeysJavaAppServer               LayerAttributesKeys = "JavaAppServer"
	LayerAttributesKeysJavaAppServerVersion        LayerAttributesKeys = "JavaAppServerVersion"
)

Enum values for LayerAttributesKeys

func (LayerAttributesKeys) MarshalValue added in v0.3.0

func (enum LayerAttributesKeys) MarshalValue() (string, error)

func (LayerAttributesKeys) MarshalValueBuf added in v0.3.0

func (enum LayerAttributesKeys) MarshalValueBuf(b []byte) ([]byte, error)

type LayerType

type LayerType string
const (
	LayerTypeAwsFlowRuby      LayerType = "aws-flow-ruby"
	LayerTypeEcsCluster       LayerType = "ecs-cluster"
	LayerTypeJavaApp          LayerType = "java-app"
	LayerTypeLb               LayerType = "lb"
	LayerTypeWeb              LayerType = "web"
	LayerTypePhpApp           LayerType = "php-app"
	LayerTypeRailsApp         LayerType = "rails-app"
	LayerTypeNodejsApp        LayerType = "nodejs-app"
	LayerTypeMemcached        LayerType = "memcached"
	LayerTypeDbMaster         LayerType = "db-master"
	LayerTypeMonitoringMaster LayerType = "monitoring-master"
	LayerTypeCustom           LayerType = "custom"
)

Enum values for LayerType

func (LayerType) MarshalValue added in v0.3.0

func (enum LayerType) MarshalValue() (string, error)

func (LayerType) MarshalValueBuf added in v0.3.0

func (enum LayerType) MarshalValueBuf(b []byte) ([]byte, error)

type LifecycleEventConfiguration

type LifecycleEventConfiguration struct {

	// A ShutdownEventConfiguration object that specifies the Shutdown event configuration.
	Shutdown *ShutdownEventConfiguration `type:"structure"`
	// contains filtered or unexported fields
}

Specifies the lifecycle event configuration

func (LifecycleEventConfiguration) String

String returns the string representation

type ListTagsInput

type ListTagsInput struct {

	// Do not use. A validation exception occurs if you add a MaxResults parameter
	// to a ListTagsRequest call.
	MaxResults *int64 `type:"integer"`

	// Do not use. A validation exception occurs if you add a NextToken parameter
	// to a ListTagsRequest call.
	NextToken *string `type:"string"`

	// The stack or layer's Amazon Resource Number (ARN).
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (ListTagsInput) String

func (s ListTagsInput) String() string

String returns the string representation

func (*ListTagsInput) Validate

func (s *ListTagsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ListTagsOutput

type ListTagsOutput struct {

	// If a paginated request does not return all of the remaining results, this
	// parameter is set to a token that you can assign to the request object's NextToken
	// parameter to get the next set of results. If the previous paginated request
	// returned all of the remaining results, this parameter is set to null.
	NextToken *string `type:"string"`

	// A set of key-value pairs that contain tag keys and tag values that are attached
	// to a stack or layer.
	Tags map[string]string `type:"map"`
	// contains filtered or unexported fields
}

Contains the response to a ListTags request.

func (ListTagsOutput) String

func (s ListTagsOutput) String() string

String returns the string representation

type ListTagsRequest

type ListTagsRequest struct {
	*aws.Request
	Input *ListTagsInput
	Copy  func(*ListTagsInput) ListTagsRequest
}

ListTagsRequest is the request type for the ListTags API operation.

func (ListTagsRequest) Send

Send marshals and sends the ListTags API request.

type ListTagsResponse added in v0.9.0

type ListTagsResponse struct {
	*ListTagsOutput
	// contains filtered or unexported fields
}

ListTagsResponse is the response type for the ListTags API operation.

func (*ListTagsResponse) SDKResponseMetdata added in v0.9.0

func (r *ListTagsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ListTags request.

type LoadBasedAutoScalingConfiguration

type LoadBasedAutoScalingConfiguration struct {

	// An AutoScalingThresholds object that describes the downscaling configuration,
	// which defines how and when AWS OpsWorks Stacks reduces the number of instances.
	DownScaling *AutoScalingThresholds `type:"structure"`

	// Whether load-based auto scaling is enabled for the layer.
	Enable *bool `type:"boolean"`

	// The layer ID.
	LayerId *string `type:"string"`

	// An AutoScalingThresholds object that describes the upscaling configuration,
	// which defines how and when AWS OpsWorks Stacks increases the number of instances.
	UpScaling *AutoScalingThresholds `type:"structure"`
	// contains filtered or unexported fields
}

Describes a layer's load-based auto scaling configuration.

func (LoadBasedAutoScalingConfiguration) String

String returns the string representation

type OperatingSystem added in v0.3.0

type OperatingSystem struct {

	// Supported configuration manager name and versions for an AWS OpsWorks Stacks
	// operating system.
	ConfigurationManagers []OperatingSystemConfigurationManager `type:"list"`

	// The ID of a supported operating system, such as Amazon Linux 2018.03.
	Id *string `type:"string"`

	// The name of the operating system, such as Amazon Linux 2018.03.
	Name *string `type:"string"`

	// A short name for the operating system manufacturer.
	ReportedName *string `type:"string"`

	// The version of the operating system, including the release and edition, if
	// applicable.
	ReportedVersion *string `type:"string"`

	// Indicates that an operating system is not supported for new instances.
	Supported *bool `type:"boolean"`

	// The type of a supported operating system, either Linux or Windows.
	Type *string `type:"string"`
	// contains filtered or unexported fields
}

Describes supported operating systems in AWS OpsWorks Stacks.

func (OperatingSystem) String added in v0.3.0

func (s OperatingSystem) String() string

String returns the string representation

type OperatingSystemConfigurationManager added in v0.3.0

type OperatingSystemConfigurationManager struct {

	// The name of the configuration manager, which is Chef.
	Name *string `type:"string"`

	// The versions of the configuration manager that are supported by an operating
	// system.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

A block that contains information about the configuration manager (Chef) and the versions of the configuration manager that are supported for an operating system.

func (OperatingSystemConfigurationManager) String added in v0.3.0

String returns the string representation

type Permission

type Permission struct {

	// Whether the user can use SSH.
	AllowSsh *bool `type:"boolean"`

	// Whether the user can use sudo.
	AllowSudo *bool `type:"boolean"`

	// The Amazon Resource Name (ARN) for an AWS Identity and Access Management
	// (IAM) role. For more information about IAM ARNs, see Using Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
	IamUserArn *string `type:"string"`

	// The user's permission level, which must be the following:
	//
	//    * deny
	//
	//    * show
	//
	//    * deploy
	//
	//    * manage
	//
	//    * iam_only
	//
	// For more information on the permissions associated with these levels, see
	// Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html)
	Level *string `type:"string"`

	// A stack ID.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

Describes stack or user permissions.

func (Permission) String

func (s Permission) String() string

String returns the string representation

type RaidArray

type RaidArray struct {

	// The array's Availability Zone. For more information, see Regions and Endpoints
	// (https://docs.aws.amazon.com/general/latest/gr/rande.html).
	AvailabilityZone *string `type:"string"`

	// When the RAID array was created.
	CreatedAt *string `type:"string"`

	// The array's Linux device. For example /dev/mdadm0.
	Device *string `type:"string"`

	// The instance ID.
	InstanceId *string `type:"string"`

	// For PIOPS volumes, the IOPS per disk.
	Iops *int64 `type:"integer"`

	// The array's mount point.
	MountPoint *string `type:"string"`

	// The array name.
	Name *string `type:"string"`

	// The number of disks in the array.
	NumberOfDisks *int64 `type:"integer"`

	// The array ID.
	RaidArrayId *string `type:"string"`

	// The RAID level (http://en.wikipedia.org/wiki/Standard_RAID_levels).
	RaidLevel *int64 `type:"integer"`

	// The array's size.
	Size *int64 `type:"integer"`

	// The stack ID.
	StackId *string `type:"string"`

	// The volume type, standard or PIOPS.
	VolumeType *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an instance's RAID array.

func (RaidArray) String

func (s RaidArray) String() string

String returns the string representation

type RdsDbInstance

type RdsDbInstance struct {

	// The instance's address.
	Address *string `type:"string"`

	// The DB instance identifier.
	DbInstanceIdentifier *string `type:"string"`

	// AWS OpsWorks Stacks returns *****FILTERED***** instead of the actual value.
	DbPassword *string `type:"string"`

	// The master user name.
	DbUser *string `type:"string"`

	// The instance's database engine.
	Engine *string `type:"string"`

	// Set to true if AWS OpsWorks Stacks is unable to discover the Amazon RDS instance.
	// AWS OpsWorks Stacks attempts to discover the instance only once. If this
	// value is set to true, you must deregister the instance, and then register
	// it again.
	MissingOnRds *bool `type:"boolean"`

	// The instance's ARN.
	RdsDbInstanceArn *string `type:"string"`

	// The instance's AWS region.
	Region *string `type:"string"`

	// The ID of the stack with which the instance is registered.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an Amazon RDS instance.

func (RdsDbInstance) String

func (s RdsDbInstance) String() string

String returns the string representation

type RebootInstanceInput

type RebootInstanceInput struct {

	// The instance ID.
	//
	// InstanceId is a required field
	InstanceId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RebootInstanceInput) String

func (s RebootInstanceInput) String() string

String returns the string representation

func (*RebootInstanceInput) Validate

func (s *RebootInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RebootInstanceOutput

type RebootInstanceOutput struct {
	// contains filtered or unexported fields
}

func (RebootInstanceOutput) String

func (s RebootInstanceOutput) String() string

String returns the string representation

type RebootInstanceRequest

type RebootInstanceRequest struct {
	*aws.Request
	Input *RebootInstanceInput
	Copy  func(*RebootInstanceInput) RebootInstanceRequest
}

RebootInstanceRequest is the request type for the RebootInstance API operation.

func (RebootInstanceRequest) Send

Send marshals and sends the RebootInstance API request.

type RebootInstanceResponse added in v0.9.0

type RebootInstanceResponse struct {
	*RebootInstanceOutput
	// contains filtered or unexported fields
}

RebootInstanceResponse is the response type for the RebootInstance API operation.

func (*RebootInstanceResponse) SDKResponseMetdata added in v0.9.0

func (r *RebootInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RebootInstance request.

type Recipes

type Recipes struct {

	// An array of custom recipe names to be run following a configure event.
	Configure []string `type:"list"`

	// An array of custom recipe names to be run following a deploy event.
	Deploy []string `type:"list"`

	// An array of custom recipe names to be run following a setup event.
	Setup []string `type:"list"`

	// An array of custom recipe names to be run following a shutdown event.
	Shutdown []string `type:"list"`

	// An array of custom recipe names to be run following a undeploy event.
	Undeploy []string `type:"list"`
	// contains filtered or unexported fields
}

AWS OpsWorks Stacks supports five lifecycle events: setup, configuration, deploy, undeploy, and shutdown. For each layer, AWS OpsWorks Stacks runs a set of standard recipes for each event. In addition, you can provide custom recipes for any or all layers and events. AWS OpsWorks Stacks runs custom event recipes after the standard recipes. LayerCustomRecipes specifies the custom recipes for a particular layer to be run in response to each of the five events.

To specify a recipe, use the cookbook's directory name in the repository followed by two colons and the recipe name, which is the recipe's file name without the .rb extension. For example: phpapp2::dbsetup specifies the dbsetup.rb recipe in the repository's phpapp2 folder.

func (Recipes) String

func (s Recipes) String() string

String returns the string representation

type RegisterEcsClusterInput

type RegisterEcsClusterInput struct {

	// The cluster's ARN.
	//
	// EcsClusterArn is a required field
	EcsClusterArn *string `type:"string" required:"true"`

	// The stack ID.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RegisterEcsClusterInput) String

func (s RegisterEcsClusterInput) String() string

String returns the string representation

func (*RegisterEcsClusterInput) Validate

func (s *RegisterEcsClusterInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegisterEcsClusterOutput

type RegisterEcsClusterOutput struct {

	// The cluster's ARN.
	EcsClusterArn *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the response to a RegisterEcsCluster request.

func (RegisterEcsClusterOutput) String

func (s RegisterEcsClusterOutput) String() string

String returns the string representation

type RegisterEcsClusterRequest

type RegisterEcsClusterRequest struct {
	*aws.Request
	Input *RegisterEcsClusterInput
	Copy  func(*RegisterEcsClusterInput) RegisterEcsClusterRequest
}

RegisterEcsClusterRequest is the request type for the RegisterEcsCluster API operation.

func (RegisterEcsClusterRequest) Send

Send marshals and sends the RegisterEcsCluster API request.

type RegisterEcsClusterResponse added in v0.9.0

type RegisterEcsClusterResponse struct {
	*RegisterEcsClusterOutput
	// contains filtered or unexported fields
}

RegisterEcsClusterResponse is the response type for the RegisterEcsCluster API operation.

func (*RegisterEcsClusterResponse) SDKResponseMetdata added in v0.9.0

func (r *RegisterEcsClusterResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RegisterEcsCluster request.

type RegisterElasticIpInput

type RegisterElasticIpInput struct {

	// The Elastic IP address.
	//
	// ElasticIp is a required field
	ElasticIp *string `type:"string" required:"true"`

	// The stack ID.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RegisterElasticIpInput) String

func (s RegisterElasticIpInput) String() string

String returns the string representation

func (*RegisterElasticIpInput) Validate

func (s *RegisterElasticIpInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegisterElasticIpOutput

type RegisterElasticIpOutput struct {

	// The Elastic IP address.
	ElasticIp *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the response to a RegisterElasticIp request.

func (RegisterElasticIpOutput) String

func (s RegisterElasticIpOutput) String() string

String returns the string representation

type RegisterElasticIpRequest

type RegisterElasticIpRequest struct {
	*aws.Request
	Input *RegisterElasticIpInput
	Copy  func(*RegisterElasticIpInput) RegisterElasticIpRequest
}

RegisterElasticIpRequest is the request type for the RegisterElasticIp API operation.

func (RegisterElasticIpRequest) Send

Send marshals and sends the RegisterElasticIp API request.

type RegisterElasticIpResponse added in v0.9.0

type RegisterElasticIpResponse struct {
	*RegisterElasticIpOutput
	// contains filtered or unexported fields
}

RegisterElasticIpResponse is the response type for the RegisterElasticIp API operation.

func (*RegisterElasticIpResponse) SDKResponseMetdata added in v0.9.0

func (r *RegisterElasticIpResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RegisterElasticIp request.

type RegisterInstanceInput

type RegisterInstanceInput struct {

	// The instance's hostname.
	Hostname *string `type:"string"`

	// An InstanceIdentity object that contains the instance's identity.
	InstanceIdentity *InstanceIdentity `type:"structure"`

	// The instance's private IP address.
	PrivateIp *string `type:"string"`

	// The instance's public IP address.
	PublicIp *string `type:"string"`

	// The instances public RSA key. This key is used to encrypt communication between
	// the instance and the service.
	RsaPublicKey *string `type:"string"`

	// The instances public RSA key fingerprint.
	RsaPublicKeyFingerprint *string `type:"string"`

	// The ID of the stack that the instance is to be registered with.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RegisterInstanceInput) String

func (s RegisterInstanceInput) String() string

String returns the string representation

func (*RegisterInstanceInput) Validate

func (s *RegisterInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegisterInstanceOutput

type RegisterInstanceOutput struct {

	// The registered instance's AWS OpsWorks Stacks ID.
	InstanceId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the response to a RegisterInstanceResult request.

func (RegisterInstanceOutput) String

func (s RegisterInstanceOutput) String() string

String returns the string representation

type RegisterInstanceRequest

type RegisterInstanceRequest struct {
	*aws.Request
	Input *RegisterInstanceInput
	Copy  func(*RegisterInstanceInput) RegisterInstanceRequest
}

RegisterInstanceRequest is the request type for the RegisterInstance API operation.

func (RegisterInstanceRequest) Send

Send marshals and sends the RegisterInstance API request.

type RegisterInstanceResponse added in v0.9.0

type RegisterInstanceResponse struct {
	*RegisterInstanceOutput
	// contains filtered or unexported fields
}

RegisterInstanceResponse is the response type for the RegisterInstance API operation.

func (*RegisterInstanceResponse) SDKResponseMetdata added in v0.9.0

func (r *RegisterInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RegisterInstance request.

type RegisterRdsDbInstanceInput

type RegisterRdsDbInstanceInput struct {

	// The database password.
	//
	// DbPassword is a required field
	DbPassword *string `type:"string" required:"true"`

	// The database's master user name.
	//
	// DbUser is a required field
	DbUser *string `type:"string" required:"true"`

	// The Amazon RDS instance's ARN.
	//
	// RdsDbInstanceArn is a required field
	RdsDbInstanceArn *string `type:"string" required:"true"`

	// The stack ID.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RegisterRdsDbInstanceInput) String

String returns the string representation

func (*RegisterRdsDbInstanceInput) Validate

func (s *RegisterRdsDbInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegisterRdsDbInstanceOutput

type RegisterRdsDbInstanceOutput struct {
	// contains filtered or unexported fields
}

func (RegisterRdsDbInstanceOutput) String

String returns the string representation

type RegisterRdsDbInstanceRequest

type RegisterRdsDbInstanceRequest struct {
	*aws.Request
	Input *RegisterRdsDbInstanceInput
	Copy  func(*RegisterRdsDbInstanceInput) RegisterRdsDbInstanceRequest
}

RegisterRdsDbInstanceRequest is the request type for the RegisterRdsDbInstance API operation.

func (RegisterRdsDbInstanceRequest) Send

Send marshals and sends the RegisterRdsDbInstance API request.

type RegisterRdsDbInstanceResponse added in v0.9.0

type RegisterRdsDbInstanceResponse struct {
	*RegisterRdsDbInstanceOutput
	// contains filtered or unexported fields
}

RegisterRdsDbInstanceResponse is the response type for the RegisterRdsDbInstance API operation.

func (*RegisterRdsDbInstanceResponse) SDKResponseMetdata added in v0.9.0

func (r *RegisterRdsDbInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RegisterRdsDbInstance request.

type RegisterVolumeInput

type RegisterVolumeInput struct {

	// The Amazon EBS volume ID.
	Ec2VolumeId *string `type:"string"`

	// The stack ID.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RegisterVolumeInput) String

func (s RegisterVolumeInput) String() string

String returns the string representation

func (*RegisterVolumeInput) Validate

func (s *RegisterVolumeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RegisterVolumeOutput

type RegisterVolumeOutput struct {

	// The volume ID.
	VolumeId *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the response to a RegisterVolume request.

func (RegisterVolumeOutput) String

func (s RegisterVolumeOutput) String() string

String returns the string representation

type RegisterVolumeRequest

type RegisterVolumeRequest struct {
	*aws.Request
	Input *RegisterVolumeInput
	Copy  func(*RegisterVolumeInput) RegisterVolumeRequest
}

RegisterVolumeRequest is the request type for the RegisterVolume API operation.

func (RegisterVolumeRequest) Send

Send marshals and sends the RegisterVolume API request.

type RegisterVolumeResponse added in v0.9.0

type RegisterVolumeResponse struct {
	*RegisterVolumeOutput
	// contains filtered or unexported fields
}

RegisterVolumeResponse is the response type for the RegisterVolume API operation.

func (*RegisterVolumeResponse) SDKResponseMetdata added in v0.9.0

func (r *RegisterVolumeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RegisterVolume request.

type ReportedOs

type ReportedOs struct {

	// The operating system family.
	Family *string `type:"string"`

	// The operating system name.
	Name *string `type:"string"`

	// The operating system version.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

A registered instance's reported operating system.

func (ReportedOs) String

func (s ReportedOs) String() string

String returns the string representation

type RootDeviceType

type RootDeviceType string
const (
	RootDeviceTypeEbs           RootDeviceType = "ebs"
	RootDeviceTypeInstanceStore RootDeviceType = "instance-store"
)

Enum values for RootDeviceType

func (RootDeviceType) MarshalValue added in v0.3.0

func (enum RootDeviceType) MarshalValue() (string, error)

func (RootDeviceType) MarshalValueBuf added in v0.3.0

func (enum RootDeviceType) MarshalValueBuf(b []byte) ([]byte, error)

type SelfUserProfile

type SelfUserProfile struct {

	// The user's IAM ARN.
	IamUserArn *string `type:"string"`

	// The user's name.
	Name *string `type:"string"`

	// The user's SSH public key.
	SshPublicKey *string `type:"string"`

	// The user's SSH user name.
	SshUsername *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a user's SSH information.

func (SelfUserProfile) String

func (s SelfUserProfile) String() string

String returns the string representation

type ServiceError

type ServiceError struct {

	// When the error occurred.
	CreatedAt *string `type:"string"`

	// The instance ID.
	InstanceId *string `type:"string"`

	// A message that describes the error.
	Message *string `type:"string"`

	// The error ID.
	ServiceErrorId *string `type:"string"`

	// The stack ID.
	StackId *string `type:"string"`

	// The error type.
	Type *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an AWS OpsWorks Stacks service error.

func (ServiceError) String

func (s ServiceError) String() string

String returns the string representation

type SetLoadBasedAutoScalingInput

type SetLoadBasedAutoScalingInput struct {

	// An AutoScalingThresholds object with the downscaling threshold configuration.
	// If the load falls below these thresholds for a specified amount of time,
	// AWS OpsWorks Stacks stops a specified number of instances.
	DownScaling *AutoScalingThresholds `type:"structure"`

	// Enables load-based auto scaling for the layer.
	Enable *bool `type:"boolean"`

	// The layer ID.
	//
	// LayerId is a required field
	LayerId *string `type:"string" required:"true"`

	// An AutoScalingThresholds object with the upscaling threshold configuration.
	// If the load exceeds these thresholds for a specified amount of time, AWS
	// OpsWorks Stacks starts a specified number of instances.
	UpScaling *AutoScalingThresholds `type:"structure"`
	// contains filtered or unexported fields
}

func (SetLoadBasedAutoScalingInput) String

String returns the string representation

func (*SetLoadBasedAutoScalingInput) Validate

func (s *SetLoadBasedAutoScalingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SetLoadBasedAutoScalingOutput

type SetLoadBasedAutoScalingOutput struct {
	// contains filtered or unexported fields
}

func (SetLoadBasedAutoScalingOutput) String

String returns the string representation

type SetLoadBasedAutoScalingRequest

type SetLoadBasedAutoScalingRequest struct {
	*aws.Request
	Input *SetLoadBasedAutoScalingInput
	Copy  func(*SetLoadBasedAutoScalingInput) SetLoadBasedAutoScalingRequest
}

SetLoadBasedAutoScalingRequest is the request type for the SetLoadBasedAutoScaling API operation.

func (SetLoadBasedAutoScalingRequest) Send

Send marshals and sends the SetLoadBasedAutoScaling API request.

type SetLoadBasedAutoScalingResponse added in v0.9.0

type SetLoadBasedAutoScalingResponse struct {
	*SetLoadBasedAutoScalingOutput
	// contains filtered or unexported fields
}

SetLoadBasedAutoScalingResponse is the response type for the SetLoadBasedAutoScaling API operation.

func (*SetLoadBasedAutoScalingResponse) SDKResponseMetdata added in v0.9.0

func (r *SetLoadBasedAutoScalingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the SetLoadBasedAutoScaling request.

type SetPermissionInput

type SetPermissionInput struct {

	// The user is allowed to use SSH to communicate with the instance.
	AllowSsh *bool `type:"boolean"`

	// The user is allowed to use sudo to elevate privileges.
	AllowSudo *bool `type:"boolean"`

	// The user's IAM ARN. This can also be a federated user's ARN.
	//
	// IamUserArn is a required field
	IamUserArn *string `type:"string" required:"true"`

	// The user's permission level, which must be set to one of the following strings.
	// You cannot set your own permissions level.
	//
	//    * deny
	//
	//    * show
	//
	//    * deploy
	//
	//    * manage
	//
	//    * iam_only
	//
	// For more information about the permissions associated with these levels,
	// see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
	Level *string `type:"string"`

	// The stack ID.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (SetPermissionInput) String

func (s SetPermissionInput) String() string

String returns the string representation

func (*SetPermissionInput) Validate

func (s *SetPermissionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SetPermissionOutput

type SetPermissionOutput struct {
	// contains filtered or unexported fields
}

func (SetPermissionOutput) String

func (s SetPermissionOutput) String() string

String returns the string representation

type SetPermissionRequest

type SetPermissionRequest struct {
	*aws.Request
	Input *SetPermissionInput
	Copy  func(*SetPermissionInput) SetPermissionRequest
}

SetPermissionRequest is the request type for the SetPermission API operation.

func (SetPermissionRequest) Send

Send marshals and sends the SetPermission API request.

type SetPermissionResponse added in v0.9.0

type SetPermissionResponse struct {
	*SetPermissionOutput
	// contains filtered or unexported fields
}

SetPermissionResponse is the response type for the SetPermission API operation.

func (*SetPermissionResponse) SDKResponseMetdata added in v0.9.0

func (r *SetPermissionResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the SetPermission request.

type SetTimeBasedAutoScalingInput

type SetTimeBasedAutoScalingInput struct {

	// An AutoScalingSchedule with the instance schedule.
	AutoScalingSchedule *WeeklyAutoScalingSchedule `type:"structure"`

	// The instance ID.
	//
	// InstanceId is a required field
	InstanceId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (SetTimeBasedAutoScalingInput) String

String returns the string representation

func (*SetTimeBasedAutoScalingInput) Validate

func (s *SetTimeBasedAutoScalingInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SetTimeBasedAutoScalingOutput

type SetTimeBasedAutoScalingOutput struct {
	// contains filtered or unexported fields
}

func (SetTimeBasedAutoScalingOutput) String

String returns the string representation

type SetTimeBasedAutoScalingRequest

type SetTimeBasedAutoScalingRequest struct {
	*aws.Request
	Input *SetTimeBasedAutoScalingInput
	Copy  func(*SetTimeBasedAutoScalingInput) SetTimeBasedAutoScalingRequest
}

SetTimeBasedAutoScalingRequest is the request type for the SetTimeBasedAutoScaling API operation.

func (SetTimeBasedAutoScalingRequest) Send

Send marshals and sends the SetTimeBasedAutoScaling API request.

type SetTimeBasedAutoScalingResponse added in v0.9.0

type SetTimeBasedAutoScalingResponse struct {
	*SetTimeBasedAutoScalingOutput
	// contains filtered or unexported fields
}

SetTimeBasedAutoScalingResponse is the response type for the SetTimeBasedAutoScaling API operation.

func (*SetTimeBasedAutoScalingResponse) SDKResponseMetdata added in v0.9.0

func (r *SetTimeBasedAutoScalingResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the SetTimeBasedAutoScaling request.

type ShutdownEventConfiguration

type ShutdownEventConfiguration struct {

	// Whether to enable Elastic Load Balancing connection draining. For more information,
	// see Connection Draining (https://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#conn-drain)
	DelayUntilElbConnectionsDrained *bool `type:"boolean"`

	// The time, in seconds, that AWS OpsWorks Stacks will wait after triggering
	// a Shutdown event before shutting down an instance.
	ExecutionTimeout *int64 `type:"integer"`
	// contains filtered or unexported fields
}

The Shutdown event configuration.

func (ShutdownEventConfiguration) String

String returns the string representation

type Source

type Source struct {

	// When included in a request, the parameter depends on the repository type.
	//
	//    * For Amazon S3 bundles, set Password to the appropriate IAM secret access
	//    key.
	//
	//    * For HTTP bundles and Subversion repositories, set Password to the password.
	//
	// For more information on how to safely handle IAM credentials, see https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html
	// (https://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html).
	//
	// In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the
	// actual value.
	Password *string `type:"string"`

	// The application's version. AWS OpsWorks Stacks enables you to easily deploy
	// new versions of an application. One of the simplest approaches is to have
	// branches or revisions in your repository that represent different versions
	// that can potentially be deployed.
	Revision *string `type:"string"`

	// In requests, the repository's SSH key.
	//
	// In responses, AWS OpsWorks Stacks returns *****FILTERED***** instead of the
	// actual value.
	SshKey *string `type:"string"`

	// The repository type.
	Type SourceType `type:"string" enum:"true"`

	// The source URL. The following is an example of an Amazon S3 source URL: https://s3.amazonaws.com/opsworks-demo-bucket/opsworks_cookbook_demo.tar.gz.
	Url *string `type:"string"`

	// This parameter depends on the repository type.
	//
	//    * For Amazon S3 bundles, set Username to the appropriate IAM access key
	//    ID.
	//
	//    * For HTTP bundles, Git repositories, and Subversion repositories, set
	//    Username to the user name.
	Username *string `type:"string"`
	// contains filtered or unexported fields
}

Contains the information required to retrieve an app or cookbook from a repository. For more information, see Creating Apps (https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html) or Custom Recipes and Cookbooks (https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html).

func (Source) String

func (s Source) String() string

String returns the string representation

type SourceType

type SourceType string
const (
	SourceTypeGit     SourceType = "git"
	SourceTypeSvn     SourceType = "svn"
	SourceTypeArchive SourceType = "archive"
	SourceTypeS3      SourceType = "s3"
)

Enum values for SourceType

func (SourceType) MarshalValue added in v0.3.0

func (enum SourceType) MarshalValue() (string, error)

func (SourceType) MarshalValueBuf added in v0.3.0

func (enum SourceType) MarshalValueBuf(b []byte) ([]byte, error)

type SslConfiguration

type SslConfiguration struct {

	// The contents of the certificate's domain.crt file.
	//
	// Certificate is a required field
	Certificate *string `type:"string" required:"true"`

	// Optional. Can be used to specify an intermediate certificate authority key
	// or client authentication.
	Chain *string `type:"string"`

	// The private key; the contents of the certificate's domain.kex file.
	//
	// PrivateKey is a required field
	PrivateKey *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

Describes an app's SSL configuration.

func (SslConfiguration) String

func (s SslConfiguration) String() string

String returns the string representation

func (*SslConfiguration) Validate

func (s *SslConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type Stack

type Stack struct {

	// The agent version. This parameter is set to LATEST for auto-update. or a
	// version number for a fixed agent version.
	AgentVersion *string `type:"string"`

	// The stack's ARN.
	Arn *string `type:"string"`

	// The stack's attributes.
	Attributes map[string]string `type:"map"`

	// A ChefConfiguration object that specifies whether to enable Berkshelf and
	// the Berkshelf version. For more information, see Create a New Stack (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
	ChefConfiguration *ChefConfiguration `type:"structure"`

	// The configuration manager.
	ConfigurationManager *StackConfigurationManager `type:"structure"`

	// The date when the stack was created.
	CreatedAt *string `type:"string"`

	// Contains the information required to retrieve an app or cookbook from a repository.
	// For more information, see Adding Apps (https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html)
	// or Cookbooks and Recipes (https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html).
	CustomCookbooksSource *Source `type:"structure"`

	// A JSON object that contains user-defined attributes to be added to the stack
	// configuration and deployment attributes. You can use custom JSON to override
	// the corresponding default stack configuration attribute values or to pass
	// data to recipes. The string should be in the following format:
	//
	// "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
	//
	// For more information on custom JSON, see Use Custom JSON to Modify the Stack
	// Configuration Attributes (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html).
	CustomJson *string `type:"string"`

	// The stack's default Availability Zone. For more information, see Regions
	// and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html).
	DefaultAvailabilityZone *string `type:"string"`

	// The ARN of an IAM profile that is the default profile for all of the stack's
	// EC2 instances. For more information about IAM ARNs, see Using Identifiers
	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
	DefaultInstanceProfileArn *string `type:"string"`

	// The stack's default operating system.
	DefaultOs *string `type:"string"`

	// The default root device type. This value is used by default for all instances
	// in the stack, but you can override it when you create an instance. For more
	// information, see Storage for the Root Device (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device).
	DefaultRootDeviceType RootDeviceType `type:"string" enum:"true"`

	// A default Amazon EC2 key pair for the stack's instances. You can override
	// this value when you create or update an instance.
	DefaultSshKeyName *string `type:"string"`

	// The default subnet ID; applicable only if the stack is running in a VPC.
	DefaultSubnetId *string `type:"string"`

	// The stack host name theme, with spaces replaced by underscores.
	HostnameTheme *string `type:"string"`

	// The stack name.
	Name *string `type:"string"`

	// The stack AWS region, such as "ap-northeast-2". For more information about
	// AWS regions, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html).
	Region *string `type:"string"`

	// The stack AWS Identity and Access Management (IAM) role.
	ServiceRoleArn *string `type:"string"`

	// The stack ID.
	StackId *string `type:"string"`

	// Whether the stack uses custom cookbooks.
	UseCustomCookbooks *bool `type:"boolean"`

	// Whether the stack automatically associates the AWS OpsWorks Stacks built-in
	// security groups with the stack's layers.
	UseOpsworksSecurityGroups *bool `type:"boolean"`

	// The VPC ID; applicable only if the stack is running in a VPC.
	VpcId *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a stack.

func (Stack) String

func (s Stack) String() string

String returns the string representation

type StackAttributesKeys

type StackAttributesKeys string
const (
	StackAttributesKeysColor StackAttributesKeys = "Color"
)

Enum values for StackAttributesKeys

func (StackAttributesKeys) MarshalValue added in v0.3.0

func (enum StackAttributesKeys) MarshalValue() (string, error)

func (StackAttributesKeys) MarshalValueBuf added in v0.3.0

func (enum StackAttributesKeys) MarshalValueBuf(b []byte) ([]byte, error)

type StackConfigurationManager

type StackConfigurationManager struct {

	// The name. This parameter must be set to "Chef".
	Name *string `type:"string"`

	// The Chef version. This parameter must be set to 12, 11.10, or 11.4 for Linux
	// stacks, and to 12.2 for Windows stacks. The default value for Linux stacks
	// is 11.4.
	Version *string `type:"string"`
	// contains filtered or unexported fields
}

Describes the configuration manager.

func (StackConfigurationManager) String

func (s StackConfigurationManager) String() string

String returns the string representation

type StackSummary

type StackSummary struct {

	// The number of apps.
	AppsCount *int64 `type:"integer"`

	// The stack's ARN.
	Arn *string `type:"string"`

	// An InstancesCount object with the number of instances in each status.
	InstancesCount *InstancesCount `type:"structure"`

	// The number of layers.
	LayersCount *int64 `type:"integer"`

	// The stack name.
	Name *string `type:"string"`

	// The stack ID.
	StackId *string `type:"string"`
	// contains filtered or unexported fields
}

Summarizes the number of layers, instances, and apps in a stack.

func (StackSummary) String

func (s StackSummary) String() string

String returns the string representation

type StartInstanceInput

type StartInstanceInput struct {

	// The instance ID.
	//
	// InstanceId is a required field
	InstanceId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartInstanceInput) String

func (s StartInstanceInput) String() string

String returns the string representation

func (*StartInstanceInput) Validate

func (s *StartInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartInstanceOutput

type StartInstanceOutput struct {
	// contains filtered or unexported fields
}

func (StartInstanceOutput) String

func (s StartInstanceOutput) String() string

String returns the string representation

type StartInstanceRequest

type StartInstanceRequest struct {
	*aws.Request
	Input *StartInstanceInput
	Copy  func(*StartInstanceInput) StartInstanceRequest
}

StartInstanceRequest is the request type for the StartInstance API operation.

func (StartInstanceRequest) Send

Send marshals and sends the StartInstance API request.

type StartInstanceResponse added in v0.9.0

type StartInstanceResponse struct {
	*StartInstanceOutput
	// contains filtered or unexported fields
}

StartInstanceResponse is the response type for the StartInstance API operation.

func (*StartInstanceResponse) SDKResponseMetdata added in v0.9.0

func (r *StartInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartInstance request.

type StartStackInput

type StartStackInput struct {

	// The stack ID.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartStackInput) String

func (s StartStackInput) String() string

String returns the string representation

func (*StartStackInput) Validate

func (s *StartStackInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartStackOutput

type StartStackOutput struct {
	// contains filtered or unexported fields
}

func (StartStackOutput) String

func (s StartStackOutput) String() string

String returns the string representation

type StartStackRequest

type StartStackRequest struct {
	*aws.Request
	Input *StartStackInput
	Copy  func(*StartStackInput) StartStackRequest
}

StartStackRequest is the request type for the StartStack API operation.

func (StartStackRequest) Send

Send marshals and sends the StartStack API request.

type StartStackResponse added in v0.9.0

type StartStackResponse struct {
	*StartStackOutput
	// contains filtered or unexported fields
}

StartStackResponse is the response type for the StartStack API operation.

func (*StartStackResponse) SDKResponseMetdata added in v0.9.0

func (r *StartStackResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartStack request.

type StopInstanceInput

type StopInstanceInput struct {

	// Specifies whether to force an instance to stop. If the instance's root device
	// type is ebs, or EBS-backed, adding the Force parameter to the StopInstances
	// API call disassociates the AWS OpsWorks Stacks instance from EC2, and forces
	// deletion of only the OpsWorks Stacks instance. You must also delete the formerly-associated
	// instance in EC2 after troubleshooting and replacing the AWS OpsWorks Stacks
	// instance with a new one.
	Force *bool `type:"boolean"`

	// The instance ID.
	//
	// InstanceId is a required field
	InstanceId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopInstanceInput) String

func (s StopInstanceInput) String() string

String returns the string representation

func (*StopInstanceInput) Validate

func (s *StopInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StopInstanceOutput

type StopInstanceOutput struct {
	// contains filtered or unexported fields
}

func (StopInstanceOutput) String

func (s StopInstanceOutput) String() string

String returns the string representation

type StopInstanceRequest

type StopInstanceRequest struct {
	*aws.Request
	Input *StopInstanceInput
	Copy  func(*StopInstanceInput) StopInstanceRequest
}

StopInstanceRequest is the request type for the StopInstance API operation.

func (StopInstanceRequest) Send

Send marshals and sends the StopInstance API request.

type StopInstanceResponse added in v0.9.0

type StopInstanceResponse struct {
	*StopInstanceOutput
	// contains filtered or unexported fields
}

StopInstanceResponse is the response type for the StopInstance API operation.

func (*StopInstanceResponse) SDKResponseMetdata added in v0.9.0

func (r *StopInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StopInstance request.

type StopStackInput

type StopStackInput struct {

	// The stack ID.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StopStackInput) String

func (s StopStackInput) String() string

String returns the string representation

func (*StopStackInput) Validate

func (s *StopStackInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StopStackOutput

type StopStackOutput struct {
	// contains filtered or unexported fields
}

func (StopStackOutput) String

func (s StopStackOutput) String() string

String returns the string representation

type StopStackRequest

type StopStackRequest struct {
	*aws.Request
	Input *StopStackInput
	Copy  func(*StopStackInput) StopStackRequest
}

StopStackRequest is the request type for the StopStack API operation.

func (StopStackRequest) Send

Send marshals and sends the StopStack API request.

type StopStackResponse added in v0.9.0

type StopStackResponse struct {
	*StopStackOutput
	// contains filtered or unexported fields
}

StopStackResponse is the response type for the StopStack API operation.

func (*StopStackResponse) SDKResponseMetdata added in v0.9.0

func (r *StopStackResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StopStack request.

type TagResourceInput

type TagResourceInput struct {

	// The stack or layer's Amazon Resource Number (ARN).
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`

	// A map that contains tag keys and tag values that are attached to a stack
	// or layer.
	//
	//    * The key cannot be empty.
	//
	//    * The key can be a maximum of 127 characters, and can contain only Unicode
	//    letters, numbers, or separators, or the following special characters:
	//    + - = . _ : /
	//
	//    * The value can be a maximum 255 characters, and contain only Unicode
	//    letters, numbers, or separators, or the following special characters:
	//    + - = . _ : /
	//
	//    * Leading and trailing white spaces are trimmed from both the key and
	//    value.
	//
	//    * A maximum of 40 tags is allowed for any resource.
	//
	// Tags is a required field
	Tags map[string]string `type:"map" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {
	// contains filtered or unexported fields
}

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TagResourceResponse added in v0.9.0

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type TemporaryCredential

type TemporaryCredential struct {

	// The instance's AWS OpsWorks Stacks ID.
	InstanceId *string `type:"string"`

	// The password.
	Password *string `type:"string"`

	// The user name.
	Username *string `type:"string"`

	// The length of time (in minutes) that the grant is valid. When the grant expires,
	// at the end of this period, the user will no longer be able to use the credentials
	// to log in. If they are logged in at the time, they will be automatically
	// logged out.
	ValidForInMinutes *int64 `type:"integer"`
	// contains filtered or unexported fields
}

Contains the data needed by RDP clients such as the Microsoft Remote Desktop Connection to log in to the instance.

func (TemporaryCredential) String

func (s TemporaryCredential) String() string

String returns the string representation

type TimeBasedAutoScalingConfiguration

type TimeBasedAutoScalingConfiguration struct {

	// A WeeklyAutoScalingSchedule object with the instance schedule.
	AutoScalingSchedule *WeeklyAutoScalingSchedule `type:"structure"`

	// The instance ID.
	InstanceId *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an instance's time-based auto scaling configuration.

func (TimeBasedAutoScalingConfiguration) String

String returns the string representation

type UnassignInstanceInput

type UnassignInstanceInput struct {

	// The instance ID.
	//
	// InstanceId is a required field
	InstanceId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UnassignInstanceInput) String

func (s UnassignInstanceInput) String() string

String returns the string representation

func (*UnassignInstanceInput) Validate

func (s *UnassignInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UnassignInstanceOutput

type UnassignInstanceOutput struct {
	// contains filtered or unexported fields
}

func (UnassignInstanceOutput) String

func (s UnassignInstanceOutput) String() string

String returns the string representation

type UnassignInstanceRequest

type UnassignInstanceRequest struct {
	*aws.Request
	Input *UnassignInstanceInput
	Copy  func(*UnassignInstanceInput) UnassignInstanceRequest
}

UnassignInstanceRequest is the request type for the UnassignInstance API operation.

func (UnassignInstanceRequest) Send

Send marshals and sends the UnassignInstance API request.

type UnassignInstanceResponse added in v0.9.0

type UnassignInstanceResponse struct {
	*UnassignInstanceOutput
	// contains filtered or unexported fields
}

UnassignInstanceResponse is the response type for the UnassignInstance API operation.

func (*UnassignInstanceResponse) SDKResponseMetdata added in v0.9.0

func (r *UnassignInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UnassignInstance request.

type UnassignVolumeInput

type UnassignVolumeInput struct {

	// The volume ID.
	//
	// VolumeId is a required field
	VolumeId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UnassignVolumeInput) String

func (s UnassignVolumeInput) String() string

String returns the string representation

func (*UnassignVolumeInput) Validate

func (s *UnassignVolumeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UnassignVolumeOutput

type UnassignVolumeOutput struct {
	// contains filtered or unexported fields
}

func (UnassignVolumeOutput) String

func (s UnassignVolumeOutput) String() string

String returns the string representation

type UnassignVolumeRequest

type UnassignVolumeRequest struct {
	*aws.Request
	Input *UnassignVolumeInput
	Copy  func(*UnassignVolumeInput) UnassignVolumeRequest
}

UnassignVolumeRequest is the request type for the UnassignVolume API operation.

func (UnassignVolumeRequest) Send

Send marshals and sends the UnassignVolume API request.

type UnassignVolumeResponse added in v0.9.0

type UnassignVolumeResponse struct {
	*UnassignVolumeOutput
	// contains filtered or unexported fields
}

UnassignVolumeResponse is the response type for the UnassignVolume API operation.

func (*UnassignVolumeResponse) SDKResponseMetdata added in v0.9.0

func (r *UnassignVolumeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UnassignVolume request.

type UntagResourceInput

type UntagResourceInput struct {

	// The stack or layer's Amazon Resource Number (ARN).
	//
	// ResourceArn is a required field
	ResourceArn *string `type:"string" required:"true"`

	// A list of the keys of tags to be removed from a stack or layer.
	//
	// TagKeys is a required field
	TagKeys []string `type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {
	// contains filtered or unexported fields
}

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UntagResourceResponse added in v0.9.0

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata added in v0.9.0

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateAppInput

type UpdateAppInput struct {

	// The app ID.
	//
	// AppId is a required field
	AppId *string `type:"string" required:"true"`

	// A Source object that specifies the app repository.
	AppSource *Source `type:"structure"`

	// One or more user-defined key/value pairs to be added to the stack attributes.
	Attributes map[string]string `type:"map"`

	// The app's data sources.
	DataSources []DataSource `type:"list"`

	// A description of the app.
	Description *string `type:"string"`

	// The app's virtual host settings, with multiple domains separated by commas.
	// For example: 'www.example.com, example.com'
	Domains []string `type:"list"`

	// Whether SSL is enabled for the app.
	EnableSsl *bool `type:"boolean"`

	// An array of EnvironmentVariable objects that specify environment variables
	// to be associated with the app. After you deploy the app, these variables
	// are defined on the associated app server instances.For more information,
	// see Environment Variables (https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html#workingapps-creating-environment).
	//
	// There is no specific limit on the number of environment variables. However,
	// the size of the associated data structure - which includes the variables'
	// names, values, and protected flag values - cannot exceed 20 KB. This limit
	// should accommodate most if not all use cases. Exceeding it will cause an
	// exception with the message, "Environment: is too large (maximum is 20 KB)."
	//
	// If you have specified one or more environment variables, you cannot modify
	// the stack's Chef version.
	Environment []EnvironmentVariable `type:"list"`

	// The app name.
	Name *string `type:"string"`

	// An SslConfiguration object with the SSL configuration.
	SslConfiguration *SslConfiguration `type:"structure"`

	// The app type.
	Type AppType `type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (UpdateAppInput) String

func (s UpdateAppInput) String() string

String returns the string representation

func (*UpdateAppInput) Validate

func (s *UpdateAppInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateAppOutput

type UpdateAppOutput struct {
	// contains filtered or unexported fields
}

func (UpdateAppOutput) String

func (s UpdateAppOutput) String() string

String returns the string representation

type UpdateAppRequest

type UpdateAppRequest struct {
	*aws.Request
	Input *UpdateAppInput
	Copy  func(*UpdateAppInput) UpdateAppRequest
}

UpdateAppRequest is the request type for the UpdateApp API operation.

func (UpdateAppRequest) Send

Send marshals and sends the UpdateApp API request.

type UpdateAppResponse added in v0.9.0

type UpdateAppResponse struct {
	*UpdateAppOutput
	// contains filtered or unexported fields
}

UpdateAppResponse is the response type for the UpdateApp API operation.

func (*UpdateAppResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateAppResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateApp request.

type UpdateElasticIpInput

type UpdateElasticIpInput struct {

	// The IP address for which you want to update the name.
	//
	// ElasticIp is a required field
	ElasticIp *string `type:"string" required:"true"`

	// The new name.
	Name *string `type:"string"`
	// contains filtered or unexported fields
}

func (UpdateElasticIpInput) String

func (s UpdateElasticIpInput) String() string

String returns the string representation

func (*UpdateElasticIpInput) Validate

func (s *UpdateElasticIpInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateElasticIpOutput

type UpdateElasticIpOutput struct {
	// contains filtered or unexported fields
}

func (UpdateElasticIpOutput) String

func (s UpdateElasticIpOutput) String() string

String returns the string representation

type UpdateElasticIpRequest

type UpdateElasticIpRequest struct {
	*aws.Request
	Input *UpdateElasticIpInput
	Copy  func(*UpdateElasticIpInput) UpdateElasticIpRequest
}

UpdateElasticIpRequest is the request type for the UpdateElasticIp API operation.

func (UpdateElasticIpRequest) Send

Send marshals and sends the UpdateElasticIp API request.

type UpdateElasticIpResponse added in v0.9.0

type UpdateElasticIpResponse struct {
	*UpdateElasticIpOutput
	// contains filtered or unexported fields
}

UpdateElasticIpResponse is the response type for the UpdateElasticIp API operation.

func (*UpdateElasticIpResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateElasticIpResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateElasticIp request.

type UpdateInstanceInput

type UpdateInstanceInput struct {

	// The default AWS OpsWorks Stacks agent version. You have the following options:
	//
	//    * INHERIT - Use the stack's default agent version setting.
	//
	//    * version_number - Use the specified agent version. This value overrides
	//    the stack's default setting. To update the agent version, you must edit
	//    the instance configuration and specify a new version. AWS OpsWorks Stacks
	//    then automatically installs that version on the instance.
	//
	// The default setting is INHERIT. To specify an agent version, you must use
	// the complete version number, not the abbreviated number shown on the console.
	// For a list of available agent version numbers, call DescribeAgentVersions.
	//
	// AgentVersion cannot be set to Chef 12.2.
	AgentVersion *string `type:"string"`

	// The ID of the AMI that was used to create the instance. The value of this
	// parameter must be the same AMI ID that the instance is already using. You
	// cannot apply a new AMI to an instance by running UpdateInstance. UpdateInstance
	// does not work on instances that are using custom AMIs.
	AmiId *string `type:"string"`

	// The instance architecture. Instance types do not necessarily support both
	// architectures. For a list of the architectures that are supported by the
	// different instance types, see Instance Families and Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html).
	Architecture Architecture `type:"string" enum:"true"`

	// For load-based or time-based instances, the type. Windows stacks can use
	// only time-based instances.
	AutoScalingType AutoScalingType `type:"string" enum:"true"`

	// This property cannot be updated.
	EbsOptimized *bool `type:"boolean"`

	// The instance host name.
	Hostname *string `type:"string"`

	// Whether to install operating system and package updates when the instance
	// boots. The default value is true. To control when updates are installed,
	// set this value to false. You must then update your instances manually by
	// using CreateDeployment to run the update_dependencies stack command or by
	// manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances.
	//
	// We strongly recommend using the default value of true, to ensure that your
	// instances have the latest security updates.
	InstallUpdatesOnBoot *bool `type:"boolean"`

	// The instance ID.
	//
	// InstanceId is a required field
	InstanceId *string `type:"string" required:"true"`

	// The instance type, such as t2.micro. For a list of supported instance types,
	// open the stack in the console, choose Instances, and choose + Instance. The
	// Size list contains the currently supported types. For more information, see
	// Instance Families and Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html).
	// The parameter values that you use to specify the various types are in the
	// API Name column of the Available Instance Types table.
	InstanceType *string `type:"string"`

	// The instance's layer IDs.
	LayerIds []string `type:"list"`

	// The instance's operating system, which must be set to one of the following.
	// You cannot update an instance that is using a custom AMI.
	//
	//    * A supported Linux operating system: An Amazon Linux version, such as
	//    Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon
	//    Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux
	//    2015.03.
	//
	//    * A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu
	//    14.04 LTS, or Ubuntu 12.04 LTS.
	//
	//    * CentOS Linux 7
	//
	//    * Red Hat Enterprise Linux 7
	//
	//    * A supported Windows operating system, such as Microsoft Windows Server
	//    2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express,
	//    Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft
	//    Windows Server 2012 R2 with SQL Server Web.
	//
	// For more information about supported operating systems, see AWS OpsWorks
	// Stacks Operating Systems (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html).
	//
	// The default option is the current Amazon Linux version. If you set this parameter
	// to Custom, you must use the AmiId parameter to specify the custom AMI that
	// you want to use. For more information about supported operating systems,
	// see Operating Systems (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html).
	// For more information about how to use custom AMIs with OpsWorks, see Using
	// Custom AMIs (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html).
	//
	// You can specify a different Linux operating system for the updated stack,
	// but you cannot change from Linux to Windows or Windows to Linux.
	Os *string `type:"string"`

	// The instance's Amazon EC2 key name.
	SshKeyName *string `type:"string"`
	// contains filtered or unexported fields
}

func (UpdateInstanceInput) String

func (s UpdateInstanceInput) String() string

String returns the string representation

func (*UpdateInstanceInput) Validate

func (s *UpdateInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateInstanceOutput

type UpdateInstanceOutput struct {
	// contains filtered or unexported fields
}

func (UpdateInstanceOutput) String

func (s UpdateInstanceOutput) String() string

String returns the string representation

type UpdateInstanceRequest

type UpdateInstanceRequest struct {
	*aws.Request
	Input *UpdateInstanceInput
	Copy  func(*UpdateInstanceInput) UpdateInstanceRequest
}

UpdateInstanceRequest is the request type for the UpdateInstance API operation.

func (UpdateInstanceRequest) Send

Send marshals and sends the UpdateInstance API request.

type UpdateInstanceResponse added in v0.9.0

type UpdateInstanceResponse struct {
	*UpdateInstanceOutput
	// contains filtered or unexported fields
}

UpdateInstanceResponse is the response type for the UpdateInstance API operation.

func (*UpdateInstanceResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateInstance request.

type UpdateLayerInput

type UpdateLayerInput struct {

	// One or more user-defined key/value pairs to be added to the stack attributes.
	Attributes map[string]string `type:"map"`

	// Whether to automatically assign an Elastic IP address (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html)
	// to the layer's instances. For more information, see How to Edit a Layer (https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html).
	AutoAssignElasticIps *bool `type:"boolean"`

	// For stacks that are running in a VPC, whether to automatically assign a public
	// IP address to the layer's instances. For more information, see How to Edit
	// a Layer (https://docs.aws.amazon.com/opsworks/latest/userguide/workinglayers-basics-edit.html).
	AutoAssignPublicIps *bool `type:"boolean"`

	// Specifies CloudWatch Logs configuration options for the layer. For more information,
	// see CloudWatchLogsLogStream.
	CloudWatchLogsConfiguration *CloudWatchLogsConfiguration `type:"structure"`

	// The ARN of an IAM profile to be used for all of the layer's EC2 instances.
	// For more information about IAM ARNs, see Using Identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
	CustomInstanceProfileArn *string `type:"string"`

	// A JSON-formatted string containing custom stack configuration and deployment
	// attributes to be installed on the layer's instances. For more information,
	// see Using Custom JSON (https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-json-override.html).
	CustomJson *string `type:"string"`

	// A LayerCustomRecipes object that specifies the layer's custom recipes.
	CustomRecipes *Recipes `type:"structure"`

	// An array containing the layer's custom security group IDs.
	CustomSecurityGroupIds []string `type:"list"`

	// Whether to disable auto healing for the layer.
	EnableAutoHealing *bool `type:"boolean"`

	// Whether to install operating system and package updates when the instance
	// boots. The default value is true. To control when updates are installed,
	// set this value to false. You must then update your instances manually by
	// using CreateDeployment to run the update_dependencies stack command or manually
	// running yum (Amazon Linux) or apt-get (Ubuntu) on the instances.
	//
	// We strongly recommend using the default value of true, to ensure that your
	// instances have the latest security updates.
	InstallUpdatesOnBoot *bool `type:"boolean"`

	// The layer ID.
	//
	// LayerId is a required field
	LayerId *string `type:"string" required:"true"`

	// Specifies the lifecycle event configuration
	LifecycleEventConfiguration *LifecycleEventConfiguration `type:"structure"`

	// The layer name, which is used by the console.
	Name *string `type:"string"`

	// An array of Package objects that describe the layer's packages.
	Packages []string `type:"list"`

	// For custom layers only, use this parameter to specify the layer's short name,
	// which is used internally by AWS OpsWorks Stacks and by Chef. The short name
	// is also used as the name for the directory where your app files are installed.
	// It can have a maximum of 200 characters and must be in the following format:
	// /\A[a-z0-9\-\_\.]+\Z/.
	//
	// The built-in layers' short names are defined by AWS OpsWorks Stacks. For
	// more information, see the Layer Reference (https://docs.aws.amazon.com/opsworks/latest/userguide/layers.html)
	Shortname *string `type:"string"`

	// Whether to use Amazon EBS-optimized instances.
	UseEbsOptimizedInstances *bool `type:"boolean"`

	// A VolumeConfigurations object that describes the layer's Amazon EBS volumes.
	VolumeConfigurations []VolumeConfiguration `type:"list"`
	// contains filtered or unexported fields
}

func (UpdateLayerInput) String

func (s UpdateLayerInput) String() string

String returns the string representation

func (*UpdateLayerInput) Validate

func (s *UpdateLayerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateLayerOutput

type UpdateLayerOutput struct {
	// contains filtered or unexported fields
}

func (UpdateLayerOutput) String

func (s UpdateLayerOutput) String() string

String returns the string representation

type UpdateLayerRequest

type UpdateLayerRequest struct {
	*aws.Request
	Input *UpdateLayerInput
	Copy  func(*UpdateLayerInput) UpdateLayerRequest
}

UpdateLayerRequest is the request type for the UpdateLayer API operation.

func (UpdateLayerRequest) Send

Send marshals and sends the UpdateLayer API request.

type UpdateLayerResponse added in v0.9.0

type UpdateLayerResponse struct {
	*UpdateLayerOutput
	// contains filtered or unexported fields
}

UpdateLayerResponse is the response type for the UpdateLayer API operation.

func (*UpdateLayerResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateLayerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateLayer request.

type UpdateMyUserProfileInput

type UpdateMyUserProfileInput struct {

	// The user's SSH public key.
	SshPublicKey *string `type:"string"`
	// contains filtered or unexported fields
}

func (UpdateMyUserProfileInput) String

func (s UpdateMyUserProfileInput) String() string

String returns the string representation

type UpdateMyUserProfileOutput

type UpdateMyUserProfileOutput struct {
	// contains filtered or unexported fields
}

func (UpdateMyUserProfileOutput) String

func (s UpdateMyUserProfileOutput) String() string

String returns the string representation

type UpdateMyUserProfileRequest

type UpdateMyUserProfileRequest struct {
	*aws.Request
	Input *UpdateMyUserProfileInput
	Copy  func(*UpdateMyUserProfileInput) UpdateMyUserProfileRequest
}

UpdateMyUserProfileRequest is the request type for the UpdateMyUserProfile API operation.

func (UpdateMyUserProfileRequest) Send

Send marshals and sends the UpdateMyUserProfile API request.

type UpdateMyUserProfileResponse added in v0.9.0

type UpdateMyUserProfileResponse struct {
	*UpdateMyUserProfileOutput
	// contains filtered or unexported fields
}

UpdateMyUserProfileResponse is the response type for the UpdateMyUserProfile API operation.

func (*UpdateMyUserProfileResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateMyUserProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateMyUserProfile request.

type UpdateRdsDbInstanceInput

type UpdateRdsDbInstanceInput struct {

	// The database password.
	DbPassword *string `type:"string"`

	// The master user name.
	DbUser *string `type:"string"`

	// The Amazon RDS instance's ARN.
	//
	// RdsDbInstanceArn is a required field
	RdsDbInstanceArn *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateRdsDbInstanceInput) String

func (s UpdateRdsDbInstanceInput) String() string

String returns the string representation

func (*UpdateRdsDbInstanceInput) Validate

func (s *UpdateRdsDbInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateRdsDbInstanceOutput

type UpdateRdsDbInstanceOutput struct {
	// contains filtered or unexported fields
}

func (UpdateRdsDbInstanceOutput) String

func (s UpdateRdsDbInstanceOutput) String() string

String returns the string representation

type UpdateRdsDbInstanceRequest

type UpdateRdsDbInstanceRequest struct {
	*aws.Request
	Input *UpdateRdsDbInstanceInput
	Copy  func(*UpdateRdsDbInstanceInput) UpdateRdsDbInstanceRequest
}

UpdateRdsDbInstanceRequest is the request type for the UpdateRdsDbInstance API operation.

func (UpdateRdsDbInstanceRequest) Send

Send marshals and sends the UpdateRdsDbInstance API request.

type UpdateRdsDbInstanceResponse added in v0.9.0

type UpdateRdsDbInstanceResponse struct {
	*UpdateRdsDbInstanceOutput
	// contains filtered or unexported fields
}

UpdateRdsDbInstanceResponse is the response type for the UpdateRdsDbInstance API operation.

func (*UpdateRdsDbInstanceResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateRdsDbInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateRdsDbInstance request.

type UpdateStackInput

type UpdateStackInput struct {

	// The default AWS OpsWorks Stacks agent version. You have the following options:
	//
	//    * Auto-update - Set this parameter to LATEST. AWS OpsWorks Stacks automatically
	//    installs new agent versions on the stack's instances as soon as they are
	//    available.
	//
	//    * Fixed version - Set this parameter to your preferred agent version.
	//    To update the agent version, you must edit the stack configuration and
	//    specify a new version. AWS OpsWorks Stacks then automatically installs
	//    that version on the stack's instances.
	//
	// The default setting is LATEST. To specify an agent version, you must use
	// the complete version number, not the abbreviated number shown on the console.
	// For a list of available agent version numbers, call DescribeAgentVersions.
	// AgentVersion cannot be set to Chef 12.2.
	//
	// You can also specify an agent version when you create or update an instance,
	// which overrides the stack's default setting.
	AgentVersion *string `type:"string"`

	// One or more user-defined key-value pairs to be added to the stack attributes.
	Attributes map[string]string `type:"map"`

	// A ChefConfiguration object that specifies whether to enable Berkshelf and
	// the Berkshelf version on Chef 11.10 stacks. For more information, see Create
	// a New Stack (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
	ChefConfiguration *ChefConfiguration `type:"structure"`

	// The configuration manager. When you update a stack, we recommend that you
	// use the configuration manager to specify the Chef version: 12, 11.10, or
	// 11.4 for Linux stacks, or 12.2 for Windows stacks. The default value for
	// Linux stacks is currently 12.
	ConfigurationManager *StackConfigurationManager `type:"structure"`

	// Contains the information required to retrieve an app or cookbook from a repository.
	// For more information, see Adding Apps (https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html)
	// or Cookbooks and Recipes (https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html).
	CustomCookbooksSource *Source `type:"structure"`

	// A string that contains user-defined, custom JSON. It can be used to override
	// the corresponding default stack configuration JSON values or to pass data
	// to recipes. The string should be in the following format:
	//
	// "{\"key1\": \"value1\", \"key2\": \"value2\",...}"
	//
	// For more information about custom JSON, see Use Custom JSON to Modify the
	// Stack Configuration Attributes (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.html).
	CustomJson *string `type:"string"`

	// The stack's default Availability Zone, which must be in the stack's region.
	// For more information, see Regions and Endpoints (https://docs.aws.amazon.com/general/latest/gr/rande.html).
	// If you also specify a value for DefaultSubnetId, the subnet must be in the
	// same zone. For more information, see CreateStack.
	DefaultAvailabilityZone *string `type:"string"`

	// The ARN of an IAM profile that is the default profile for all of the stack's
	// EC2 instances. For more information about IAM ARNs, see Using Identifiers
	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html).
	DefaultInstanceProfileArn *string `type:"string"`

	// The stack's operating system, which must be set to one of the following:
	//
	//    * A supported Linux operating system: An Amazon Linux version, such as
	//    Amazon Linux 2018.03, Amazon Linux 2017.09, Amazon Linux 2017.03, Amazon
	//    Linux 2016.09, Amazon Linux 2016.03, Amazon Linux 2015.09, or Amazon Linux
	//    2015.03.
	//
	//    * A supported Ubuntu operating system, such as Ubuntu 16.04 LTS, Ubuntu
	//    14.04 LTS, or Ubuntu 12.04 LTS.
	//
	//    * CentOS Linux 7
	//
	//    * Red Hat Enterprise Linux 7
	//
	//    * A supported Windows operating system, such as Microsoft Windows Server
	//    2012 R2 Base, Microsoft Windows Server 2012 R2 with SQL Server Express,
	//    Microsoft Windows Server 2012 R2 with SQL Server Standard, or Microsoft
	//    Windows Server 2012 R2 with SQL Server Web.
	//
	//    * A custom AMI: Custom. You specify the custom AMI you want to use when
	//    you create instances. For more information about how to use custom AMIs
	//    with OpsWorks, see Using Custom AMIs (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html).
	//
	// The default option is the stack's current operating system. For more information
	// about supported operating systems, see AWS OpsWorks Stacks Operating Systems
	// (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html).
	DefaultOs *string `type:"string"`

	// The default root device type. This value is used by default for all instances
	// in the stack, but you can override it when you create an instance. For more
	// information, see Storage for the Root Device (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ComponentsAMIs.html#storage-for-the-root-device).
	DefaultRootDeviceType RootDeviceType `type:"string" enum:"true"`

	// A default Amazon EC2 key-pair name. The default value is none. If you specify
	// a key-pair name, AWS OpsWorks Stacks installs the public key on the instance
	// and you can use the private key with an SSH client to log in to the instance.
	// For more information, see Using SSH to Communicate with an Instance (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html)
	// and Managing SSH Access (https://docs.aws.amazon.com/opsworks/latest/userguide/security-ssh-access.html).
	// You can override this setting by specifying a different key pair, or no key
	// pair, when you create an instance (https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-add.html).
	DefaultSshKeyName *string `type:"string"`

	// The stack's default VPC subnet ID. This parameter is required if you specify
	// a value for the VpcId parameter. All instances are launched into this subnet
	// unless you specify otherwise when you create the instance. If you also specify
	// a value for DefaultAvailabilityZone, the subnet must be in that zone. For
	// information on default values and when this parameter is required, see the
	// VpcId parameter description.
	DefaultSubnetId *string `type:"string"`

	// The stack's new host name theme, with spaces replaced by underscores. The
	// theme is used to generate host names for the stack's instances. By default,
	// HostnameTheme is set to Layer_Dependent, which creates host names by appending
	// integers to the layer's short name. The other themes are:
	//
	//    * Baked_Goods
	//
	//    * Clouds
	//
	//    * Europe_Cities
	//
	//    * Fruits
	//
	//    * Greek_Deities_and_Titans
	//
	//    * Legendary_creatures_from_Japan
	//
	//    * Planets_and_Moons
	//
	//    * Roman_Deities
	//
	//    * Scottish_Islands
	//
	//    * US_Cities
	//
	//    * Wild_Cats
	//
	// To obtain a generated host name, call GetHostNameSuggestion, which returns
	// a host name based on the current theme.
	HostnameTheme *string `type:"string"`

	// The stack's new name.
	Name *string `type:"string"`

	// Do not use this parameter. You cannot update a stack's service role.
	ServiceRoleArn *string `type:"string"`

	// The stack ID.
	//
	// StackId is a required field
	StackId *string `type:"string" required:"true"`

	// Whether the stack uses custom cookbooks.
	UseCustomCookbooks *bool `type:"boolean"`

	// Whether to associate the AWS OpsWorks Stacks built-in security groups with
	// the stack's layers.
	//
	// AWS OpsWorks Stacks provides a standard set of built-in security groups,
	// one for each layer, which are associated with layers by default. UseOpsworksSecurityGroups
	// allows you to provide your own custom security groups instead of using the
	// built-in groups. UseOpsworksSecurityGroups has the following settings:
	//
	//    * True - AWS OpsWorks Stacks automatically associates the appropriate
	//    built-in security group with each layer (default setting). You can associate
	//    additional security groups with a layer after you create it, but you cannot
	//    delete the built-in security group.
	//
	//    * False - AWS OpsWorks Stacks does not associate built-in security groups
	//    with layers. You must create appropriate EC2 security groups and associate
	//    a security group with each layer that you create. However, you can still
	//    manually associate a built-in security group with a layer on. Custom security
	//    groups are required only for those layers that need custom settings.
	//
	// For more information, see Create a New Stack (https://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html).
	UseOpsworksSecurityGroups *bool `type:"boolean"`
	// contains filtered or unexported fields
}

func (UpdateStackInput) String

func (s UpdateStackInput) String() string

String returns the string representation

func (*UpdateStackInput) Validate

func (s *UpdateStackInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateStackOutput

type UpdateStackOutput struct {
	// contains filtered or unexported fields
}

func (UpdateStackOutput) String

func (s UpdateStackOutput) String() string

String returns the string representation

type UpdateStackRequest

type UpdateStackRequest struct {
	*aws.Request
	Input *UpdateStackInput
	Copy  func(*UpdateStackInput) UpdateStackRequest
}

UpdateStackRequest is the request type for the UpdateStack API operation.

func (UpdateStackRequest) Send

Send marshals and sends the UpdateStack API request.

type UpdateStackResponse added in v0.9.0

type UpdateStackResponse struct {
	*UpdateStackOutput
	// contains filtered or unexported fields
}

UpdateStackResponse is the response type for the UpdateStack API operation.

func (*UpdateStackResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateStackResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateStack request.

type UpdateUserProfileInput

type UpdateUserProfileInput struct {

	// Whether users can specify their own SSH public key through the My Settings
	// page. For more information, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/security-settingsshkey.html).
	AllowSelfManagement *bool `type:"boolean"`

	// The user IAM ARN. This can also be a federated user's ARN.
	//
	// IamUserArn is a required field
	IamUserArn *string `type:"string" required:"true"`

	// The user's new SSH public key.
	SshPublicKey *string `type:"string"`

	// The user's SSH user name. The allowable characters are [a-z], [A-Z], [0-9],
	// '-', and '_'. If the specified name includes other punctuation marks, AWS
	// OpsWorks Stacks removes them. For example, my.name will be changed to myname.
	// If you do not specify an SSH user name, AWS OpsWorks Stacks generates one
	// from the IAM user name.
	SshUsername *string `type:"string"`
	// contains filtered or unexported fields
}

func (UpdateUserProfileInput) String

func (s UpdateUserProfileInput) String() string

String returns the string representation

func (*UpdateUserProfileInput) Validate

func (s *UpdateUserProfileInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateUserProfileOutput

type UpdateUserProfileOutput struct {
	// contains filtered or unexported fields
}

func (UpdateUserProfileOutput) String

func (s UpdateUserProfileOutput) String() string

String returns the string representation

type UpdateUserProfileRequest

type UpdateUserProfileRequest struct {
	*aws.Request
	Input *UpdateUserProfileInput
	Copy  func(*UpdateUserProfileInput) UpdateUserProfileRequest
}

UpdateUserProfileRequest is the request type for the UpdateUserProfile API operation.

func (UpdateUserProfileRequest) Send

Send marshals and sends the UpdateUserProfile API request.

type UpdateUserProfileResponse added in v0.9.0

type UpdateUserProfileResponse struct {
	*UpdateUserProfileOutput
	// contains filtered or unexported fields
}

UpdateUserProfileResponse is the response type for the UpdateUserProfile API operation.

func (*UpdateUserProfileResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateUserProfileResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateUserProfile request.

type UpdateVolumeInput

type UpdateVolumeInput struct {

	// The new mount point.
	MountPoint *string `type:"string"`

	// The new name.
	Name *string `type:"string"`

	// The volume ID.
	//
	// VolumeId is a required field
	VolumeId *string `type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateVolumeInput) String

func (s UpdateVolumeInput) String() string

String returns the string representation

func (*UpdateVolumeInput) Validate

func (s *UpdateVolumeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateVolumeOutput

type UpdateVolumeOutput struct {
	// contains filtered or unexported fields
}

func (UpdateVolumeOutput) String

func (s UpdateVolumeOutput) String() string

String returns the string representation

type UpdateVolumeRequest

type UpdateVolumeRequest struct {
	*aws.Request
	Input *UpdateVolumeInput
	Copy  func(*UpdateVolumeInput) UpdateVolumeRequest
}

UpdateVolumeRequest is the request type for the UpdateVolume API operation.

func (UpdateVolumeRequest) Send

Send marshals and sends the UpdateVolume API request.

type UpdateVolumeResponse added in v0.9.0

type UpdateVolumeResponse struct {
	*UpdateVolumeOutput
	// contains filtered or unexported fields
}

UpdateVolumeResponse is the response type for the UpdateVolume API operation.

func (*UpdateVolumeResponse) SDKResponseMetdata added in v0.9.0

func (r *UpdateVolumeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateVolume request.

type UserProfile

type UserProfile struct {

	// Whether users can specify their own SSH public key through the My Settings
	// page. For more information, see Managing User Permissions (https://docs.aws.amazon.com/opsworks/latest/userguide/security-settingsshkey.html).
	AllowSelfManagement *bool `type:"boolean"`

	// The user's IAM ARN.
	IamUserArn *string `type:"string"`

	// The user's name.
	Name *string `type:"string"`

	// The user's SSH public key.
	SshPublicKey *string `type:"string"`

	// The user's SSH user name.
	SshUsername *string `type:"string"`
	// contains filtered or unexported fields
}

Describes a user's SSH information.

func (UserProfile) String

func (s UserProfile) String() string

String returns the string representation

type VirtualizationType

type VirtualizationType string
const (
	VirtualizationTypeParavirtual VirtualizationType = "paravirtual"
	VirtualizationTypeHvm         VirtualizationType = "hvm"
)

Enum values for VirtualizationType

func (VirtualizationType) MarshalValue added in v0.3.0

func (enum VirtualizationType) MarshalValue() (string, error)

func (VirtualizationType) MarshalValueBuf added in v0.3.0

func (enum VirtualizationType) MarshalValueBuf(b []byte) ([]byte, error)

type Volume

type Volume struct {

	// The volume Availability Zone. For more information, see Regions and Endpoints
	// (https://docs.aws.amazon.com/general/latest/gr/rande.html).
	AvailabilityZone *string `type:"string"`

	// The device name.
	Device *string `type:"string"`

	// The Amazon EC2 volume ID.
	Ec2VolumeId *string `type:"string"`

	// Specifies whether an Amazon EBS volume is encrypted. For more information,
	// see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html).
	Encrypted *bool `type:"boolean"`

	// The instance ID.
	InstanceId *string `type:"string"`

	// For PIOPS volumes, the IOPS per disk.
	Iops *int64 `type:"integer"`

	// The volume mount point. For example, "/mnt/disk1".
	MountPoint *string `type:"string"`

	// The volume name.
	Name *string `type:"string"`

	// The RAID array ID.
	RaidArrayId *string `type:"string"`

	// The AWS region. For more information about AWS regions, see Regions and Endpoints
	// (https://docs.aws.amazon.com/general/latest/gr/rande.html).
	Region *string `type:"string"`

	// The volume size.
	Size *int64 `type:"integer"`

	// The value returned by DescribeVolumes (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeVolumes.html).
	Status *string `type:"string"`

	// The volume ID.
	VolumeId *string `type:"string"`

	// The volume type. For more information, see Amazon EBS Volume Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html).
	//
	//    * standard - Magnetic. Magnetic volumes must have a minimum size of 1
	//    GiB and a maximum size of 1024 GiB.
	//
	//    * io1 - Provisioned IOPS (SSD). PIOPS volumes must have a minimum size
	//    of 4 GiB and a maximum size of 16384 GiB.
	//
	//    * gp2 - General Purpose (SSD). General purpose volumes must have a minimum
	//    size of 1 GiB and a maximum size of 16384 GiB.
	//
	//    * st1 - Throughput Optimized hard disk drive (HDD). Throughput optimized
	//    HDD volumes must have a minimum size of 500 GiB and a maximum size of
	//    16384 GiB.
	//
	//    * sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB
	//    and a maximum size of 16384 GiB.
	VolumeType *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an instance's Amazon EBS volume.

func (Volume) String

func (s Volume) String() string

String returns the string representation

type VolumeConfiguration

type VolumeConfiguration struct {

	// Specifies whether an Amazon EBS volume is encrypted. For more information,
	// see Amazon EBS Encryption (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSEncryption.html).
	Encrypted *bool `type:"boolean"`

	// For PIOPS volumes, the IOPS per disk.
	Iops *int64 `type:"integer"`

	// The volume mount point. For example "/dev/sdh".
	//
	// MountPoint is a required field
	MountPoint *string `type:"string" required:"true"`

	// The number of disks in the volume.
	//
	// NumberOfDisks is a required field
	NumberOfDisks *int64 `type:"integer" required:"true"`

	// The volume RAID level (http://en.wikipedia.org/wiki/Standard_RAID_levels).
	RaidLevel *int64 `type:"integer"`

	// The volume size.
	//
	// Size is a required field
	Size *int64 `type:"integer" required:"true"`

	// The volume type. For more information, see Amazon EBS Volume Types (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html).
	//
	//    * standard - Magnetic. Magnetic volumes must have a minimum size of 1
	//    GiB and a maximum size of 1024 GiB.
	//
	//    * io1 - Provisioned IOPS (SSD). PIOPS volumes must have a minimum size
	//    of 4 GiB and a maximum size of 16384 GiB.
	//
	//    * gp2 - General Purpose (SSD). General purpose volumes must have a minimum
	//    size of 1 GiB and a maximum size of 16384 GiB.
	//
	//    * st1 - Throughput Optimized hard disk drive (HDD). Throughput optimized
	//    HDD volumes must have a minimum size of 500 GiB and a maximum size of
	//    16384 GiB.
	//
	//    * sc1 - Cold HDD. Cold HDD volumes must have a minimum size of 500 GiB
	//    and a maximum size of 16384 GiB.
	VolumeType *string `type:"string"`
	// contains filtered or unexported fields
}

Describes an Amazon EBS volume configuration.

func (VolumeConfiguration) String

func (s VolumeConfiguration) String() string

String returns the string representation

func (*VolumeConfiguration) Validate

func (s *VolumeConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type VolumeType

type VolumeType string
const (
	VolumeTypeGp2      VolumeType = "gp2"
	VolumeTypeIo1      VolumeType = "io1"
	VolumeTypeStandard VolumeType = "standard"
)

Enum values for VolumeType

func (VolumeType) MarshalValue added in v0.3.0

func (enum VolumeType) MarshalValue() (string, error)

func (VolumeType) MarshalValueBuf added in v0.3.0

func (enum VolumeType) MarshalValueBuf(b []byte) ([]byte, error)

type WeeklyAutoScalingSchedule

type WeeklyAutoScalingSchedule struct {

	// The schedule for Friday.
	Friday map[string]string `type:"map"`

	// The schedule for Monday.
	Monday map[string]string `type:"map"`

	// The schedule for Saturday.
	Saturday map[string]string `type:"map"`

	// The schedule for Sunday.
	Sunday map[string]string `type:"map"`

	// The schedule for Thursday.
	Thursday map[string]string `type:"map"`

	// The schedule for Tuesday.
	Tuesday map[string]string `type:"map"`

	// The schedule for Wednesday.
	Wednesday map[string]string `type:"map"`
	// contains filtered or unexported fields
}

Describes a time-based instance's auto scaling schedule. The schedule consists of a set of key-value pairs.

  • The key is the time period (a UTC hour) and must be an integer from 0 - 23.

  • The value indicates whether the instance should be online or offline for the specified period, and must be set to "on" or "off"

The default setting for all time periods is off, so you use the following parameters primarily to specify the online periods. You don't have to explicitly specify offline periods unless you want to change an online period to an offline period.

The following example specifies that the instance should be online for four hours, from UTC 1200 - 1600. It will be off for the remainder of the day.

{ "12":"on", "13":"on", "14":"on", "15":"on" }

func (WeeklyAutoScalingSchedule) String

func (s WeeklyAutoScalingSchedule) String() string

String returns the string representation

Source Files

Directories

Path Synopsis
Package opsworksiface provides an interface to enable mocking the AWS OpsWorks service client for testing your code.
Package opsworksiface provides an interface to enable mocking the AWS OpsWorks service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL