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:
AWS CLI (http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html)
AWS SDK for Java (http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/opsworks/AWSOpsWorksClient.html)
AWS SDK for .NET (http://docs.aws.amazon.com/sdkfornet/latest/apidocs/html/N_Amazon_OpsWorks.htm)
AWS SDK for PHP 2 (http://docs.aws.amazon.com/aws-sdk-php-2/latest/class-Aws.OpsWorks.OpsWorksClient.html)
AWS SDK for Ruby (http://docs.aws.amazon.com/sdkforruby/api/)
AWS SDK for Node.js (http://aws.amazon.com/documentation/sdkforjavascript/)
AWS SDK for Python(Boto) (http://docs.pythonboto.org/en/latest/ref/opsworks.html)
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.eu-west-1.amazonaws.com
opsworks.eu-west-2.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 (http://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 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 OpsWorks for more information on creating client for this service. https://docs.aws.amazon.com/sdk-for-go/api/service/opsworks/#New
Index ¶
- Constants
- type AgentVersion
- type App
- func (s App) GoString() string
- func (s *App) SetAppId(v string) *App
- func (s *App) SetAppSource(v *Source) *App
- func (s *App) SetAttributes(v map[string]string) *App
- func (s *App) SetCreatedAt(v string) *App
- func (s *App) SetDataSources(v []DataSource) *App
- func (s *App) SetDescription(v string) *App
- func (s *App) SetDomains(v []string) *App
- func (s *App) SetEnableSsl(v bool) *App
- func (s *App) SetEnvironment(v []EnvironmentVariable) *App
- func (s *App) SetName(v string) *App
- func (s *App) SetShortname(v string) *App
- func (s *App) SetSslConfiguration(v *SslConfiguration) *App
- func (s *App) SetStackId(v string) *App
- func (s *App) SetType(v AppType) *App
- func (s App) String() string
- type AppAttributesKeys
- type AppType
- type Architecture
- type AssignInstanceInput
- type AssignInstanceOutput
- type AssignInstanceRequest
- type AssignVolumeInput
- type AssignVolumeOutput
- type AssignVolumeRequest
- type AssociateElasticIpInput
- func (s AssociateElasticIpInput) GoString() string
- func (s *AssociateElasticIpInput) SetElasticIp(v string) *AssociateElasticIpInput
- func (s *AssociateElasticIpInput) SetInstanceId(v string) *AssociateElasticIpInput
- func (s AssociateElasticIpInput) String() string
- func (s *AssociateElasticIpInput) Validate() error
- type AssociateElasticIpOutput
- type AssociateElasticIpRequest
- type AttachElasticLoadBalancerInput
- func (s AttachElasticLoadBalancerInput) GoString() string
- func (s *AttachElasticLoadBalancerInput) SetElasticLoadBalancerName(v string) *AttachElasticLoadBalancerInput
- func (s *AttachElasticLoadBalancerInput) SetLayerId(v string) *AttachElasticLoadBalancerInput
- func (s AttachElasticLoadBalancerInput) String() string
- func (s *AttachElasticLoadBalancerInput) Validate() error
- type AttachElasticLoadBalancerOutput
- type AttachElasticLoadBalancerRequest
- type AutoScalingThresholds
- func (s AutoScalingThresholds) GoString() string
- func (s *AutoScalingThresholds) SetAlarms(v []string) *AutoScalingThresholds
- func (s *AutoScalingThresholds) SetCpuThreshold(v float64) *AutoScalingThresholds
- func (s *AutoScalingThresholds) SetIgnoreMetricsTime(v int64) *AutoScalingThresholds
- func (s *AutoScalingThresholds) SetInstanceCount(v int64) *AutoScalingThresholds
- func (s *AutoScalingThresholds) SetLoadThreshold(v float64) *AutoScalingThresholds
- func (s *AutoScalingThresholds) SetMemoryThreshold(v float64) *AutoScalingThresholds
- func (s *AutoScalingThresholds) SetThresholdsWaitTime(v int64) *AutoScalingThresholds
- func (s AutoScalingThresholds) String() string
- func (s *AutoScalingThresholds) Validate() error
- type AutoScalingType
- type BlockDeviceMapping
- func (s BlockDeviceMapping) GoString() string
- func (s *BlockDeviceMapping) SetDeviceName(v string) *BlockDeviceMapping
- func (s *BlockDeviceMapping) SetEbs(v *EbsBlockDevice) *BlockDeviceMapping
- func (s *BlockDeviceMapping) SetNoDevice(v string) *BlockDeviceMapping
- func (s *BlockDeviceMapping) SetVirtualName(v string) *BlockDeviceMapping
- func (s BlockDeviceMapping) String() string
- type ChefConfiguration
- type CloneStackInput
- func (s CloneStackInput) GoString() string
- func (s *CloneStackInput) SetAgentVersion(v string) *CloneStackInput
- func (s *CloneStackInput) SetAttributes(v map[string]string) *CloneStackInput
- func (s *CloneStackInput) SetChefConfiguration(v *ChefConfiguration) *CloneStackInput
- func (s *CloneStackInput) SetCloneAppIds(v []string) *CloneStackInput
- func (s *CloneStackInput) SetClonePermissions(v bool) *CloneStackInput
- func (s *CloneStackInput) SetConfigurationManager(v *StackConfigurationManager) *CloneStackInput
- func (s *CloneStackInput) SetCustomCookbooksSource(v *Source) *CloneStackInput
- func (s *CloneStackInput) SetCustomJson(v string) *CloneStackInput
- func (s *CloneStackInput) SetDefaultAvailabilityZone(v string) *CloneStackInput
- func (s *CloneStackInput) SetDefaultInstanceProfileArn(v string) *CloneStackInput
- func (s *CloneStackInput) SetDefaultOs(v string) *CloneStackInput
- func (s *CloneStackInput) SetDefaultRootDeviceType(v RootDeviceType) *CloneStackInput
- func (s *CloneStackInput) SetDefaultSshKeyName(v string) *CloneStackInput
- func (s *CloneStackInput) SetDefaultSubnetId(v string) *CloneStackInput
- func (s *CloneStackInput) SetHostnameTheme(v string) *CloneStackInput
- func (s *CloneStackInput) SetName(v string) *CloneStackInput
- func (s *CloneStackInput) SetRegion(v string) *CloneStackInput
- func (s *CloneStackInput) SetServiceRoleArn(v string) *CloneStackInput
- func (s *CloneStackInput) SetSourceStackId(v string) *CloneStackInput
- func (s *CloneStackInput) SetUseCustomCookbooks(v bool) *CloneStackInput
- func (s *CloneStackInput) SetUseOpsworksSecurityGroups(v bool) *CloneStackInput
- func (s *CloneStackInput) SetVpcId(v string) *CloneStackInput
- func (s CloneStackInput) String() string
- func (s *CloneStackInput) Validate() error
- type CloneStackOutput
- type CloneStackRequest
- type CloudWatchLogsConfiguration
- func (s CloudWatchLogsConfiguration) GoString() string
- func (s *CloudWatchLogsConfiguration) SetEnabled(v bool) *CloudWatchLogsConfiguration
- func (s *CloudWatchLogsConfiguration) SetLogStreams(v []CloudWatchLogsLogStream) *CloudWatchLogsConfiguration
- func (s CloudWatchLogsConfiguration) String() string
- type CloudWatchLogsEncoding
- type CloudWatchLogsInitialPosition
- type CloudWatchLogsLogStream
- func (s CloudWatchLogsLogStream) GoString() string
- func (s *CloudWatchLogsLogStream) SetBatchCount(v int64) *CloudWatchLogsLogStream
- func (s *CloudWatchLogsLogStream) SetBatchSize(v int64) *CloudWatchLogsLogStream
- func (s *CloudWatchLogsLogStream) SetBufferDuration(v int64) *CloudWatchLogsLogStream
- func (s *CloudWatchLogsLogStream) SetDatetimeFormat(v string) *CloudWatchLogsLogStream
- func (s *CloudWatchLogsLogStream) SetEncoding(v CloudWatchLogsEncoding) *CloudWatchLogsLogStream
- func (s *CloudWatchLogsLogStream) SetFile(v string) *CloudWatchLogsLogStream
- func (s *CloudWatchLogsLogStream) SetFileFingerprintLines(v string) *CloudWatchLogsLogStream
- func (s *CloudWatchLogsLogStream) SetInitialPosition(v CloudWatchLogsInitialPosition) *CloudWatchLogsLogStream
- func (s *CloudWatchLogsLogStream) SetLogGroupName(v string) *CloudWatchLogsLogStream
- func (s *CloudWatchLogsLogStream) SetMultiLineStartPattern(v string) *CloudWatchLogsLogStream
- func (s *CloudWatchLogsLogStream) SetTimeZone(v CloudWatchLogsTimeZone) *CloudWatchLogsLogStream
- func (s CloudWatchLogsLogStream) String() string
- type CloudWatchLogsTimeZone
- type Command
- func (s Command) GoString() string
- func (s *Command) SetAcknowledgedAt(v string) *Command
- func (s *Command) SetCommandId(v string) *Command
- func (s *Command) SetCompletedAt(v string) *Command
- func (s *Command) SetCreatedAt(v string) *Command
- func (s *Command) SetDeploymentId(v string) *Command
- func (s *Command) SetExitCode(v int64) *Command
- func (s *Command) SetInstanceId(v string) *Command
- func (s *Command) SetLogUrl(v string) *Command
- func (s *Command) SetStatus(v string) *Command
- func (s *Command) SetType(v string) *Command
- func (s Command) String() string
- type CreateAppInput
- func (s CreateAppInput) GoString() string
- func (s *CreateAppInput) SetAppSource(v *Source) *CreateAppInput
- func (s *CreateAppInput) SetAttributes(v map[string]string) *CreateAppInput
- func (s *CreateAppInput) SetDataSources(v []DataSource) *CreateAppInput
- func (s *CreateAppInput) SetDescription(v string) *CreateAppInput
- func (s *CreateAppInput) SetDomains(v []string) *CreateAppInput
- func (s *CreateAppInput) SetEnableSsl(v bool) *CreateAppInput
- func (s *CreateAppInput) SetEnvironment(v []EnvironmentVariable) *CreateAppInput
- func (s *CreateAppInput) SetName(v string) *CreateAppInput
- func (s *CreateAppInput) SetShortname(v string) *CreateAppInput
- func (s *CreateAppInput) SetSslConfiguration(v *SslConfiguration) *CreateAppInput
- func (s *CreateAppInput) SetStackId(v string) *CreateAppInput
- func (s *CreateAppInput) SetType(v AppType) *CreateAppInput
- func (s CreateAppInput) String() string
- func (s *CreateAppInput) Validate() error
- type CreateAppOutput
- type CreateAppRequest
- type CreateDeploymentInput
- func (s CreateDeploymentInput) GoString() string
- func (s *CreateDeploymentInput) SetAppId(v string) *CreateDeploymentInput
- func (s *CreateDeploymentInput) SetCommand(v *DeploymentCommand) *CreateDeploymentInput
- func (s *CreateDeploymentInput) SetComment(v string) *CreateDeploymentInput
- func (s *CreateDeploymentInput) SetCustomJson(v string) *CreateDeploymentInput
- func (s *CreateDeploymentInput) SetInstanceIds(v []string) *CreateDeploymentInput
- func (s *CreateDeploymentInput) SetLayerIds(v []string) *CreateDeploymentInput
- func (s *CreateDeploymentInput) SetStackId(v string) *CreateDeploymentInput
- func (s CreateDeploymentInput) String() string
- func (s *CreateDeploymentInput) Validate() error
- type CreateDeploymentOutput
- type CreateDeploymentRequest
- type CreateInstanceInput
- func (s CreateInstanceInput) GoString() string
- func (s *CreateInstanceInput) SetAgentVersion(v string) *CreateInstanceInput
- func (s *CreateInstanceInput) SetAmiId(v string) *CreateInstanceInput
- func (s *CreateInstanceInput) SetArchitecture(v Architecture) *CreateInstanceInput
- func (s *CreateInstanceInput) SetAutoScalingType(v AutoScalingType) *CreateInstanceInput
- func (s *CreateInstanceInput) SetAvailabilityZone(v string) *CreateInstanceInput
- func (s *CreateInstanceInput) SetBlockDeviceMappings(v []BlockDeviceMapping) *CreateInstanceInput
- func (s *CreateInstanceInput) SetEbsOptimized(v bool) *CreateInstanceInput
- func (s *CreateInstanceInput) SetHostname(v string) *CreateInstanceInput
- func (s *CreateInstanceInput) SetInstallUpdatesOnBoot(v bool) *CreateInstanceInput
- func (s *CreateInstanceInput) SetInstanceType(v string) *CreateInstanceInput
- func (s *CreateInstanceInput) SetLayerIds(v []string) *CreateInstanceInput
- func (s *CreateInstanceInput) SetOs(v string) *CreateInstanceInput
- func (s *CreateInstanceInput) SetRootDeviceType(v RootDeviceType) *CreateInstanceInput
- func (s *CreateInstanceInput) SetSshKeyName(v string) *CreateInstanceInput
- func (s *CreateInstanceInput) SetStackId(v string) *CreateInstanceInput
- func (s *CreateInstanceInput) SetSubnetId(v string) *CreateInstanceInput
- func (s *CreateInstanceInput) SetTenancy(v string) *CreateInstanceInput
- func (s *CreateInstanceInput) SetVirtualizationType(v string) *CreateInstanceInput
- func (s CreateInstanceInput) String() string
- func (s *CreateInstanceInput) Validate() error
- type CreateInstanceOutput
- type CreateInstanceRequest
- type CreateLayerInput
- func (s CreateLayerInput) GoString() string
- func (s *CreateLayerInput) SetAttributes(v map[string]string) *CreateLayerInput
- func (s *CreateLayerInput) SetAutoAssignElasticIps(v bool) *CreateLayerInput
- func (s *CreateLayerInput) SetAutoAssignPublicIps(v bool) *CreateLayerInput
- func (s *CreateLayerInput) SetCloudWatchLogsConfiguration(v *CloudWatchLogsConfiguration) *CreateLayerInput
- func (s *CreateLayerInput) SetCustomInstanceProfileArn(v string) *CreateLayerInput
- func (s *CreateLayerInput) SetCustomJson(v string) *CreateLayerInput
- func (s *CreateLayerInput) SetCustomRecipes(v *Recipes) *CreateLayerInput
- func (s *CreateLayerInput) SetCustomSecurityGroupIds(v []string) *CreateLayerInput
- func (s *CreateLayerInput) SetEnableAutoHealing(v bool) *CreateLayerInput
- func (s *CreateLayerInput) SetInstallUpdatesOnBoot(v bool) *CreateLayerInput
- func (s *CreateLayerInput) SetLifecycleEventConfiguration(v *LifecycleEventConfiguration) *CreateLayerInput
- func (s *CreateLayerInput) SetName(v string) *CreateLayerInput
- func (s *CreateLayerInput) SetPackages(v []string) *CreateLayerInput
- func (s *CreateLayerInput) SetShortname(v string) *CreateLayerInput
- func (s *CreateLayerInput) SetStackId(v string) *CreateLayerInput
- func (s *CreateLayerInput) SetType(v LayerType) *CreateLayerInput
- func (s *CreateLayerInput) SetUseEbsOptimizedInstances(v bool) *CreateLayerInput
- func (s *CreateLayerInput) SetVolumeConfigurations(v []VolumeConfiguration) *CreateLayerInput
- func (s CreateLayerInput) String() string
- func (s *CreateLayerInput) Validate() error
- type CreateLayerOutput
- type CreateLayerRequest
- type CreateStackInput
- func (s CreateStackInput) GoString() string
- func (s *CreateStackInput) SetAgentVersion(v string) *CreateStackInput
- func (s *CreateStackInput) SetAttributes(v map[string]string) *CreateStackInput
- func (s *CreateStackInput) SetChefConfiguration(v *ChefConfiguration) *CreateStackInput
- func (s *CreateStackInput) SetConfigurationManager(v *StackConfigurationManager) *CreateStackInput
- func (s *CreateStackInput) SetCustomCookbooksSource(v *Source) *CreateStackInput
- func (s *CreateStackInput) SetCustomJson(v string) *CreateStackInput
- func (s *CreateStackInput) SetDefaultAvailabilityZone(v string) *CreateStackInput
- func (s *CreateStackInput) SetDefaultInstanceProfileArn(v string) *CreateStackInput
- func (s *CreateStackInput) SetDefaultOs(v string) *CreateStackInput
- func (s *CreateStackInput) SetDefaultRootDeviceType(v RootDeviceType) *CreateStackInput
- func (s *CreateStackInput) SetDefaultSshKeyName(v string) *CreateStackInput
- func (s *CreateStackInput) SetDefaultSubnetId(v string) *CreateStackInput
- func (s *CreateStackInput) SetHostnameTheme(v string) *CreateStackInput
- func (s *CreateStackInput) SetName(v string) *CreateStackInput
- func (s *CreateStackInput) SetRegion(v string) *CreateStackInput
- func (s *CreateStackInput) SetServiceRoleArn(v string) *CreateStackInput
- func (s *CreateStackInput) SetUseCustomCookbooks(v bool) *CreateStackInput
- func (s *CreateStackInput) SetUseOpsworksSecurityGroups(v bool) *CreateStackInput
- func (s *CreateStackInput) SetVpcId(v string) *CreateStackInput
- func (s CreateStackInput) String() string
- func (s *CreateStackInput) Validate() error
- type CreateStackOutput
- type CreateStackRequest
- type CreateUserProfileInput
- func (s CreateUserProfileInput) GoString() string
- func (s *CreateUserProfileInput) SetAllowSelfManagement(v bool) *CreateUserProfileInput
- func (s *CreateUserProfileInput) SetIamUserArn(v string) *CreateUserProfileInput
- func (s *CreateUserProfileInput) SetSshPublicKey(v string) *CreateUserProfileInput
- func (s *CreateUserProfileInput) SetSshUsername(v string) *CreateUserProfileInput
- func (s CreateUserProfileInput) String() string
- func (s *CreateUserProfileInput) Validate() error
- type CreateUserProfileOutput
- type CreateUserProfileRequest
- type DataSource
- type DeleteAppInput
- type DeleteAppOutput
- type DeleteAppRequest
- type DeleteInstanceInput
- func (s DeleteInstanceInput) GoString() string
- func (s *DeleteInstanceInput) SetDeleteElasticIp(v bool) *DeleteInstanceInput
- func (s *DeleteInstanceInput) SetDeleteVolumes(v bool) *DeleteInstanceInput
- func (s *DeleteInstanceInput) SetInstanceId(v string) *DeleteInstanceInput
- func (s DeleteInstanceInput) String() string
- func (s *DeleteInstanceInput) Validate() error
- type DeleteInstanceOutput
- type DeleteInstanceRequest
- type DeleteLayerInput
- type DeleteLayerOutput
- type DeleteLayerRequest
- type DeleteStackInput
- type DeleteStackOutput
- type DeleteStackRequest
- type DeleteUserProfileInput
- type DeleteUserProfileOutput
- type DeleteUserProfileRequest
- type Deployment
- func (s Deployment) GoString() string
- func (s *Deployment) SetAppId(v string) *Deployment
- func (s *Deployment) SetCommand(v *DeploymentCommand) *Deployment
- func (s *Deployment) SetComment(v string) *Deployment
- func (s *Deployment) SetCompletedAt(v string) *Deployment
- func (s *Deployment) SetCreatedAt(v string) *Deployment
- func (s *Deployment) SetCustomJson(v string) *Deployment
- func (s *Deployment) SetDeploymentId(v string) *Deployment
- func (s *Deployment) SetDuration(v int64) *Deployment
- func (s *Deployment) SetIamUserArn(v string) *Deployment
- func (s *Deployment) SetInstanceIds(v []string) *Deployment
- func (s *Deployment) SetStackId(v string) *Deployment
- func (s *Deployment) SetStatus(v string) *Deployment
- func (s Deployment) String() string
- type DeploymentCommand
- type DeploymentCommandName
- type DeregisterEcsClusterInput
- type DeregisterEcsClusterOutput
- type DeregisterEcsClusterRequest
- type DeregisterElasticIpInput
- type DeregisterElasticIpOutput
- type DeregisterElasticIpRequest
- type DeregisterInstanceInput
- type DeregisterInstanceOutput
- type DeregisterInstanceRequest
- type DeregisterRdsDbInstanceInput
- type DeregisterRdsDbInstanceOutput
- type DeregisterRdsDbInstanceRequest
- type DeregisterVolumeInput
- type DeregisterVolumeOutput
- type DeregisterVolumeRequest
- type DescribeAgentVersionsInput
- func (s DescribeAgentVersionsInput) GoString() string
- func (s *DescribeAgentVersionsInput) SetConfigurationManager(v *StackConfigurationManager) *DescribeAgentVersionsInput
- func (s *DescribeAgentVersionsInput) SetStackId(v string) *DescribeAgentVersionsInput
- func (s DescribeAgentVersionsInput) String() string
- type DescribeAgentVersionsOutput
- type DescribeAgentVersionsRequest
- type DescribeAppsInput
- type DescribeAppsOutput
- type DescribeAppsRequest
- type DescribeCommandsInput
- func (s DescribeCommandsInput) GoString() string
- func (s *DescribeCommandsInput) SetCommandIds(v []string) *DescribeCommandsInput
- func (s *DescribeCommandsInput) SetDeploymentId(v string) *DescribeCommandsInput
- func (s *DescribeCommandsInput) SetInstanceId(v string) *DescribeCommandsInput
- func (s DescribeCommandsInput) String() string
- type DescribeCommandsOutput
- type DescribeCommandsRequest
- type DescribeDeploymentsInput
- func (s DescribeDeploymentsInput) GoString() string
- func (s *DescribeDeploymentsInput) SetAppId(v string) *DescribeDeploymentsInput
- func (s *DescribeDeploymentsInput) SetDeploymentIds(v []string) *DescribeDeploymentsInput
- func (s *DescribeDeploymentsInput) SetStackId(v string) *DescribeDeploymentsInput
- func (s DescribeDeploymentsInput) String() string
- type DescribeDeploymentsOutput
- type DescribeDeploymentsRequest
- type DescribeEcsClustersInput
- func (s DescribeEcsClustersInput) GoString() string
- func (s *DescribeEcsClustersInput) SetEcsClusterArns(v []string) *DescribeEcsClustersInput
- func (s *DescribeEcsClustersInput) SetMaxResults(v int64) *DescribeEcsClustersInput
- func (s *DescribeEcsClustersInput) SetNextToken(v string) *DescribeEcsClustersInput
- func (s *DescribeEcsClustersInput) SetStackId(v string) *DescribeEcsClustersInput
- func (s DescribeEcsClustersInput) String() string
- type DescribeEcsClustersOutput
- func (s DescribeEcsClustersOutput) GoString() string
- func (s DescribeEcsClustersOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeEcsClustersOutput) SetEcsClusters(v []EcsCluster) *DescribeEcsClustersOutput
- func (s *DescribeEcsClustersOutput) SetNextToken(v string) *DescribeEcsClustersOutput
- func (s DescribeEcsClustersOutput) String() string
- type DescribeEcsClustersRequest
- type DescribeElasticIpsInput
- func (s DescribeElasticIpsInput) GoString() string
- func (s *DescribeElasticIpsInput) SetInstanceId(v string) *DescribeElasticIpsInput
- func (s *DescribeElasticIpsInput) SetIps(v []string) *DescribeElasticIpsInput
- func (s *DescribeElasticIpsInput) SetStackId(v string) *DescribeElasticIpsInput
- func (s DescribeElasticIpsInput) String() string
- type DescribeElasticIpsOutput
- type DescribeElasticIpsRequest
- type DescribeElasticLoadBalancersInput
- func (s DescribeElasticLoadBalancersInput) GoString() string
- func (s *DescribeElasticLoadBalancersInput) SetLayerIds(v []string) *DescribeElasticLoadBalancersInput
- func (s *DescribeElasticLoadBalancersInput) SetStackId(v string) *DescribeElasticLoadBalancersInput
- func (s DescribeElasticLoadBalancersInput) String() string
- type DescribeElasticLoadBalancersOutput
- func (s DescribeElasticLoadBalancersOutput) GoString() string
- func (s DescribeElasticLoadBalancersOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeElasticLoadBalancersOutput) SetElasticLoadBalancers(v []ElasticLoadBalancer) *DescribeElasticLoadBalancersOutput
- func (s DescribeElasticLoadBalancersOutput) String() string
- type DescribeElasticLoadBalancersRequest
- type DescribeInstancesInput
- func (s DescribeInstancesInput) GoString() string
- func (s *DescribeInstancesInput) SetInstanceIds(v []string) *DescribeInstancesInput
- func (s *DescribeInstancesInput) SetLayerId(v string) *DescribeInstancesInput
- func (s *DescribeInstancesInput) SetStackId(v string) *DescribeInstancesInput
- func (s DescribeInstancesInput) String() string
- type DescribeInstancesOutput
- type DescribeInstancesRequest
- type DescribeLayersInput
- type DescribeLayersOutput
- type DescribeLayersRequest
- type DescribeLoadBasedAutoScalingInput
- type DescribeLoadBasedAutoScalingOutput
- func (s DescribeLoadBasedAutoScalingOutput) GoString() string
- func (s DescribeLoadBasedAutoScalingOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeLoadBasedAutoScalingOutput) SetLoadBasedAutoScalingConfigurations(v []LoadBasedAutoScalingConfiguration) *DescribeLoadBasedAutoScalingOutput
- func (s DescribeLoadBasedAutoScalingOutput) String() string
- type DescribeLoadBasedAutoScalingRequest
- type DescribeMyUserProfileInput
- type DescribeMyUserProfileOutput
- type DescribeMyUserProfileRequest
- type DescribePermissionsInput
- type DescribePermissionsOutput
- type DescribePermissionsRequest
- type DescribeRaidArraysInput
- func (s DescribeRaidArraysInput) GoString() string
- func (s *DescribeRaidArraysInput) SetInstanceId(v string) *DescribeRaidArraysInput
- func (s *DescribeRaidArraysInput) SetRaidArrayIds(v []string) *DescribeRaidArraysInput
- func (s *DescribeRaidArraysInput) SetStackId(v string) *DescribeRaidArraysInput
- func (s DescribeRaidArraysInput) String() string
- type DescribeRaidArraysOutput
- type DescribeRaidArraysRequest
- type DescribeRdsDbInstancesInput
- func (s DescribeRdsDbInstancesInput) GoString() string
- func (s *DescribeRdsDbInstancesInput) SetRdsDbInstanceArns(v []string) *DescribeRdsDbInstancesInput
- func (s *DescribeRdsDbInstancesInput) SetStackId(v string) *DescribeRdsDbInstancesInput
- func (s DescribeRdsDbInstancesInput) String() string
- func (s *DescribeRdsDbInstancesInput) Validate() error
- type DescribeRdsDbInstancesOutput
- type DescribeRdsDbInstancesRequest
- type DescribeServiceErrorsInput
- func (s DescribeServiceErrorsInput) GoString() string
- func (s *DescribeServiceErrorsInput) SetInstanceId(v string) *DescribeServiceErrorsInput
- func (s *DescribeServiceErrorsInput) SetServiceErrorIds(v []string) *DescribeServiceErrorsInput
- func (s *DescribeServiceErrorsInput) SetStackId(v string) *DescribeServiceErrorsInput
- func (s DescribeServiceErrorsInput) String() string
- type DescribeServiceErrorsOutput
- type DescribeServiceErrorsRequest
- type DescribeStackProvisioningParametersInput
- func (s DescribeStackProvisioningParametersInput) GoString() string
- func (s *DescribeStackProvisioningParametersInput) SetStackId(v string) *DescribeStackProvisioningParametersInput
- func (s DescribeStackProvisioningParametersInput) String() string
- func (s *DescribeStackProvisioningParametersInput) Validate() error
- type DescribeStackProvisioningParametersOutput
- func (s DescribeStackProvisioningParametersOutput) GoString() string
- func (s DescribeStackProvisioningParametersOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeStackProvisioningParametersOutput) SetAgentInstallerUrl(v string) *DescribeStackProvisioningParametersOutput
- func (s *DescribeStackProvisioningParametersOutput) SetParameters(v map[string]string) *DescribeStackProvisioningParametersOutput
- func (s DescribeStackProvisioningParametersOutput) String() string
- type DescribeStackProvisioningParametersRequest
- type DescribeStackSummaryInput
- type DescribeStackSummaryOutput
- type DescribeStackSummaryRequest
- type DescribeStacksInput
- type DescribeStacksOutput
- type DescribeStacksRequest
- type DescribeTimeBasedAutoScalingInput
- type DescribeTimeBasedAutoScalingOutput
- func (s DescribeTimeBasedAutoScalingOutput) GoString() string
- func (s DescribeTimeBasedAutoScalingOutput) SDKResponseMetadata() aws.Response
- func (s *DescribeTimeBasedAutoScalingOutput) SetTimeBasedAutoScalingConfigurations(v []TimeBasedAutoScalingConfiguration) *DescribeTimeBasedAutoScalingOutput
- func (s DescribeTimeBasedAutoScalingOutput) String() string
- type DescribeTimeBasedAutoScalingRequest
- type DescribeUserProfilesInput
- type DescribeUserProfilesOutput
- type DescribeUserProfilesRequest
- type DescribeVolumesInput
- func (s DescribeVolumesInput) GoString() string
- func (s *DescribeVolumesInput) SetInstanceId(v string) *DescribeVolumesInput
- func (s *DescribeVolumesInput) SetRaidArrayId(v string) *DescribeVolumesInput
- func (s *DescribeVolumesInput) SetStackId(v string) *DescribeVolumesInput
- func (s *DescribeVolumesInput) SetVolumeIds(v []string) *DescribeVolumesInput
- func (s DescribeVolumesInput) String() string
- type DescribeVolumesOutput
- type DescribeVolumesRequest
- type DetachElasticLoadBalancerInput
- func (s DetachElasticLoadBalancerInput) GoString() string
- func (s *DetachElasticLoadBalancerInput) SetElasticLoadBalancerName(v string) *DetachElasticLoadBalancerInput
- func (s *DetachElasticLoadBalancerInput) SetLayerId(v string) *DetachElasticLoadBalancerInput
- func (s DetachElasticLoadBalancerInput) String() string
- func (s *DetachElasticLoadBalancerInput) Validate() error
- type DetachElasticLoadBalancerOutput
- type DetachElasticLoadBalancerRequest
- type DisassociateElasticIpInput
- type DisassociateElasticIpOutput
- type DisassociateElasticIpRequest
- type EbsBlockDevice
- func (s EbsBlockDevice) GoString() string
- func (s *EbsBlockDevice) SetDeleteOnTermination(v bool) *EbsBlockDevice
- func (s *EbsBlockDevice) SetIops(v int64) *EbsBlockDevice
- func (s *EbsBlockDevice) SetSnapshotId(v string) *EbsBlockDevice
- func (s *EbsBlockDevice) SetVolumeSize(v int64) *EbsBlockDevice
- func (s *EbsBlockDevice) SetVolumeType(v VolumeType) *EbsBlockDevice
- func (s EbsBlockDevice) String() string
- type EcsCluster
- func (s EcsCluster) GoString() string
- func (s *EcsCluster) SetEcsClusterArn(v string) *EcsCluster
- func (s *EcsCluster) SetEcsClusterName(v string) *EcsCluster
- func (s *EcsCluster) SetRegisteredAt(v string) *EcsCluster
- func (s *EcsCluster) SetStackId(v string) *EcsCluster
- func (s EcsCluster) String() string
- type ElasticIp
- func (s ElasticIp) GoString() string
- func (s *ElasticIp) SetDomain(v string) *ElasticIp
- func (s *ElasticIp) SetInstanceId(v string) *ElasticIp
- func (s *ElasticIp) SetIp(v string) *ElasticIp
- func (s *ElasticIp) SetName(v string) *ElasticIp
- func (s *ElasticIp) SetRegion(v string) *ElasticIp
- func (s ElasticIp) String() string
- type ElasticLoadBalancer
- func (s ElasticLoadBalancer) GoString() string
- func (s *ElasticLoadBalancer) SetAvailabilityZones(v []string) *ElasticLoadBalancer
- func (s *ElasticLoadBalancer) SetDnsName(v string) *ElasticLoadBalancer
- func (s *ElasticLoadBalancer) SetEc2InstanceIds(v []string) *ElasticLoadBalancer
- func (s *ElasticLoadBalancer) SetElasticLoadBalancerName(v string) *ElasticLoadBalancer
- func (s *ElasticLoadBalancer) SetLayerId(v string) *ElasticLoadBalancer
- func (s *ElasticLoadBalancer) SetRegion(v string) *ElasticLoadBalancer
- func (s *ElasticLoadBalancer) SetStackId(v string) *ElasticLoadBalancer
- func (s *ElasticLoadBalancer) SetSubnetIds(v []string) *ElasticLoadBalancer
- func (s *ElasticLoadBalancer) SetVpcId(v string) *ElasticLoadBalancer
- func (s ElasticLoadBalancer) String() string
- type EnvironmentVariable
- func (s EnvironmentVariable) GoString() string
- func (s *EnvironmentVariable) SetKey(v string) *EnvironmentVariable
- func (s *EnvironmentVariable) SetSecure(v bool) *EnvironmentVariable
- func (s *EnvironmentVariable) SetValue(v string) *EnvironmentVariable
- func (s EnvironmentVariable) String() string
- func (s *EnvironmentVariable) Validate() error
- type GetHostnameSuggestionInput
- type GetHostnameSuggestionOutput
- func (s GetHostnameSuggestionOutput) GoString() string
- func (s GetHostnameSuggestionOutput) SDKResponseMetadata() aws.Response
- func (s *GetHostnameSuggestionOutput) SetHostname(v string) *GetHostnameSuggestionOutput
- func (s *GetHostnameSuggestionOutput) SetLayerId(v string) *GetHostnameSuggestionOutput
- func (s GetHostnameSuggestionOutput) String() string
- type GetHostnameSuggestionRequest
- type GrantAccessInput
- type GrantAccessOutput
- type GrantAccessRequest
- type Instance
- func (s Instance) GoString() string
- func (s *Instance) SetAgentVersion(v string) *Instance
- func (s *Instance) SetAmiId(v string) *Instance
- func (s *Instance) SetArchitecture(v Architecture) *Instance
- func (s *Instance) SetArn(v string) *Instance
- func (s *Instance) SetAutoScalingType(v AutoScalingType) *Instance
- func (s *Instance) SetAvailabilityZone(v string) *Instance
- func (s *Instance) SetBlockDeviceMappings(v []BlockDeviceMapping) *Instance
- func (s *Instance) SetCreatedAt(v string) *Instance
- func (s *Instance) SetEbsOptimized(v bool) *Instance
- func (s *Instance) SetEc2InstanceId(v string) *Instance
- func (s *Instance) SetEcsClusterArn(v string) *Instance
- func (s *Instance) SetEcsContainerInstanceArn(v string) *Instance
- func (s *Instance) SetElasticIp(v string) *Instance
- func (s *Instance) SetHostname(v string) *Instance
- func (s *Instance) SetInfrastructureClass(v string) *Instance
- func (s *Instance) SetInstallUpdatesOnBoot(v bool) *Instance
- func (s *Instance) SetInstanceId(v string) *Instance
- func (s *Instance) SetInstanceProfileArn(v string) *Instance
- func (s *Instance) SetInstanceType(v string) *Instance
- func (s *Instance) SetLastServiceErrorId(v string) *Instance
- func (s *Instance) SetLayerIds(v []string) *Instance
- func (s *Instance) SetOs(v string) *Instance
- func (s *Instance) SetPlatform(v string) *Instance
- func (s *Instance) SetPrivateDns(v string) *Instance
- func (s *Instance) SetPrivateIp(v string) *Instance
- func (s *Instance) SetPublicDns(v string) *Instance
- func (s *Instance) SetPublicIp(v string) *Instance
- func (s *Instance) SetRegisteredBy(v string) *Instance
- func (s *Instance) SetReportedAgentVersion(v string) *Instance
- func (s *Instance) SetReportedOs(v *ReportedOs) *Instance
- func (s *Instance) SetRootDeviceType(v RootDeviceType) *Instance
- func (s *Instance) SetRootDeviceVolumeId(v string) *Instance
- func (s *Instance) SetSecurityGroupIds(v []string) *Instance
- func (s *Instance) SetSshHostDsaKeyFingerprint(v string) *Instance
- func (s *Instance) SetSshHostRsaKeyFingerprint(v string) *Instance
- func (s *Instance) SetSshKeyName(v string) *Instance
- func (s *Instance) SetStackId(v string) *Instance
- func (s *Instance) SetStatus(v string) *Instance
- func (s *Instance) SetSubnetId(v string) *Instance
- func (s *Instance) SetTenancy(v string) *Instance
- func (s *Instance) SetVirtualizationType(v VirtualizationType) *Instance
- func (s Instance) String() string
- type InstanceIdentity
- type InstancesCount
- func (s InstancesCount) GoString() string
- func (s *InstancesCount) SetAssigning(v int64) *InstancesCount
- func (s *InstancesCount) SetBooting(v int64) *InstancesCount
- func (s *InstancesCount) SetConnectionLost(v int64) *InstancesCount
- func (s *InstancesCount) SetDeregistering(v int64) *InstancesCount
- func (s *InstancesCount) SetOnline(v int64) *InstancesCount
- func (s *InstancesCount) SetPending(v int64) *InstancesCount
- func (s *InstancesCount) SetRebooting(v int64) *InstancesCount
- func (s *InstancesCount) SetRegistered(v int64) *InstancesCount
- func (s *InstancesCount) SetRegistering(v int64) *InstancesCount
- func (s *InstancesCount) SetRequested(v int64) *InstancesCount
- func (s *InstancesCount) SetRunningSetup(v int64) *InstancesCount
- func (s *InstancesCount) SetSetupFailed(v int64) *InstancesCount
- func (s *InstancesCount) SetShuttingDown(v int64) *InstancesCount
- func (s *InstancesCount) SetStartFailed(v int64) *InstancesCount
- func (s *InstancesCount) SetStopped(v int64) *InstancesCount
- func (s *InstancesCount) SetStopping(v int64) *InstancesCount
- func (s *InstancesCount) SetTerminated(v int64) *InstancesCount
- func (s *InstancesCount) SetTerminating(v int64) *InstancesCount
- func (s *InstancesCount) SetUnassigning(v int64) *InstancesCount
- func (s InstancesCount) String() string
- type Layer
- func (s Layer) GoString() string
- func (s *Layer) SetArn(v string) *Layer
- func (s *Layer) SetAttributes(v map[string]string) *Layer
- func (s *Layer) SetAutoAssignElasticIps(v bool) *Layer
- func (s *Layer) SetAutoAssignPublicIps(v bool) *Layer
- func (s *Layer) SetCloudWatchLogsConfiguration(v *CloudWatchLogsConfiguration) *Layer
- func (s *Layer) SetCreatedAt(v string) *Layer
- func (s *Layer) SetCustomInstanceProfileArn(v string) *Layer
- func (s *Layer) SetCustomJson(v string) *Layer
- func (s *Layer) SetCustomRecipes(v *Recipes) *Layer
- func (s *Layer) SetCustomSecurityGroupIds(v []string) *Layer
- func (s *Layer) SetDefaultRecipes(v *Recipes) *Layer
- func (s *Layer) SetDefaultSecurityGroupNames(v []string) *Layer
- func (s *Layer) SetEnableAutoHealing(v bool) *Layer
- func (s *Layer) SetInstallUpdatesOnBoot(v bool) *Layer
- func (s *Layer) SetLayerId(v string) *Layer
- func (s *Layer) SetLifecycleEventConfiguration(v *LifecycleEventConfiguration) *Layer
- func (s *Layer) SetName(v string) *Layer
- func (s *Layer) SetPackages(v []string) *Layer
- func (s *Layer) SetShortname(v string) *Layer
- func (s *Layer) SetStackId(v string) *Layer
- func (s *Layer) SetType(v LayerType) *Layer
- func (s *Layer) SetUseEbsOptimizedInstances(v bool) *Layer
- func (s *Layer) SetVolumeConfigurations(v []VolumeConfiguration) *Layer
- func (s Layer) String() string
- type LayerAttributesKeys
- type LayerType
- type LifecycleEventConfiguration
- type ListTagsInput
- func (s ListTagsInput) GoString() string
- func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput
- func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput
- func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput
- func (s ListTagsInput) String() string
- func (s *ListTagsInput) Validate() error
- type ListTagsOutput
- type ListTagsRequest
- type LoadBasedAutoScalingConfiguration
- func (s LoadBasedAutoScalingConfiguration) GoString() string
- func (s *LoadBasedAutoScalingConfiguration) SetDownScaling(v *AutoScalingThresholds) *LoadBasedAutoScalingConfiguration
- func (s *LoadBasedAutoScalingConfiguration) SetEnable(v bool) *LoadBasedAutoScalingConfiguration
- func (s *LoadBasedAutoScalingConfiguration) SetLayerId(v string) *LoadBasedAutoScalingConfiguration
- func (s *LoadBasedAutoScalingConfiguration) SetUpScaling(v *AutoScalingThresholds) *LoadBasedAutoScalingConfiguration
- func (s LoadBasedAutoScalingConfiguration) String() string
- type OpsWorks
- func (c *OpsWorks) AssignInstanceRequest(input *AssignInstanceInput) AssignInstanceRequest
- func (c *OpsWorks) AssignVolumeRequest(input *AssignVolumeInput) AssignVolumeRequest
- func (c *OpsWorks) AssociateElasticIpRequest(input *AssociateElasticIpInput) AssociateElasticIpRequest
- func (c *OpsWorks) AttachElasticLoadBalancerRequest(input *AttachElasticLoadBalancerInput) AttachElasticLoadBalancerRequest
- func (c *OpsWorks) CloneStackRequest(input *CloneStackInput) CloneStackRequest
- func (c *OpsWorks) CreateAppRequest(input *CreateAppInput) CreateAppRequest
- func (c *OpsWorks) CreateDeploymentRequest(input *CreateDeploymentInput) CreateDeploymentRequest
- func (c *OpsWorks) CreateInstanceRequest(input *CreateInstanceInput) CreateInstanceRequest
- func (c *OpsWorks) CreateLayerRequest(input *CreateLayerInput) CreateLayerRequest
- func (c *OpsWorks) CreateStackRequest(input *CreateStackInput) CreateStackRequest
- func (c *OpsWorks) CreateUserProfileRequest(input *CreateUserProfileInput) CreateUserProfileRequest
- func (c *OpsWorks) DeleteAppRequest(input *DeleteAppInput) DeleteAppRequest
- func (c *OpsWorks) DeleteInstanceRequest(input *DeleteInstanceInput) DeleteInstanceRequest
- func (c *OpsWorks) DeleteLayerRequest(input *DeleteLayerInput) DeleteLayerRequest
- func (c *OpsWorks) DeleteStackRequest(input *DeleteStackInput) DeleteStackRequest
- func (c *OpsWorks) DeleteUserProfileRequest(input *DeleteUserProfileInput) DeleteUserProfileRequest
- func (c *OpsWorks) DeregisterEcsClusterRequest(input *DeregisterEcsClusterInput) DeregisterEcsClusterRequest
- func (c *OpsWorks) DeregisterElasticIpRequest(input *DeregisterElasticIpInput) DeregisterElasticIpRequest
- func (c *OpsWorks) DeregisterInstanceRequest(input *DeregisterInstanceInput) DeregisterInstanceRequest
- func (c *OpsWorks) DeregisterRdsDbInstanceRequest(input *DeregisterRdsDbInstanceInput) DeregisterRdsDbInstanceRequest
- func (c *OpsWorks) DeregisterVolumeRequest(input *DeregisterVolumeInput) DeregisterVolumeRequest
- func (c *OpsWorks) DescribeAgentVersionsRequest(input *DescribeAgentVersionsInput) DescribeAgentVersionsRequest
- func (c *OpsWorks) DescribeAppsRequest(input *DescribeAppsInput) DescribeAppsRequest
- func (c *OpsWorks) DescribeCommandsRequest(input *DescribeCommandsInput) DescribeCommandsRequest
- func (c *OpsWorks) DescribeDeploymentsRequest(input *DescribeDeploymentsInput) DescribeDeploymentsRequest
- func (c *OpsWorks) DescribeEcsClustersPages(input *DescribeEcsClustersInput, ...) error
- func (c *OpsWorks) DescribeEcsClustersPagesWithContext(ctx aws.Context, input *DescribeEcsClustersInput, ...) error
- func (c *OpsWorks) DescribeEcsClustersRequest(input *DescribeEcsClustersInput) DescribeEcsClustersRequest
- func (c *OpsWorks) DescribeElasticIpsRequest(input *DescribeElasticIpsInput) DescribeElasticIpsRequest
- func (c *OpsWorks) DescribeElasticLoadBalancersRequest(input *DescribeElasticLoadBalancersInput) DescribeElasticLoadBalancersRequest
- func (c *OpsWorks) DescribeInstancesRequest(input *DescribeInstancesInput) DescribeInstancesRequest
- func (c *OpsWorks) DescribeLayersRequest(input *DescribeLayersInput) DescribeLayersRequest
- func (c *OpsWorks) DescribeLoadBasedAutoScalingRequest(input *DescribeLoadBasedAutoScalingInput) DescribeLoadBasedAutoScalingRequest
- func (c *OpsWorks) DescribeMyUserProfileRequest(input *DescribeMyUserProfileInput) DescribeMyUserProfileRequest
- func (c *OpsWorks) DescribePermissionsRequest(input *DescribePermissionsInput) DescribePermissionsRequest
- func (c *OpsWorks) DescribeRaidArraysRequest(input *DescribeRaidArraysInput) DescribeRaidArraysRequest
- func (c *OpsWorks) DescribeRdsDbInstancesRequest(input *DescribeRdsDbInstancesInput) DescribeRdsDbInstancesRequest
- func (c *OpsWorks) DescribeServiceErrorsRequest(input *DescribeServiceErrorsInput) DescribeServiceErrorsRequest
- func (c *OpsWorks) DescribeStackProvisioningParametersRequest(input *DescribeStackProvisioningParametersInput) DescribeStackProvisioningParametersRequest
- func (c *OpsWorks) DescribeStackSummaryRequest(input *DescribeStackSummaryInput) DescribeStackSummaryRequest
- func (c *OpsWorks) DescribeStacksRequest(input *DescribeStacksInput) DescribeStacksRequest
- func (c *OpsWorks) DescribeTimeBasedAutoScalingRequest(input *DescribeTimeBasedAutoScalingInput) DescribeTimeBasedAutoScalingRequest
- func (c *OpsWorks) DescribeUserProfilesRequest(input *DescribeUserProfilesInput) DescribeUserProfilesRequest
- func (c *OpsWorks) DescribeVolumesRequest(input *DescribeVolumesInput) DescribeVolumesRequest
- func (c *OpsWorks) DetachElasticLoadBalancerRequest(input *DetachElasticLoadBalancerInput) DetachElasticLoadBalancerRequest
- func (c *OpsWorks) DisassociateElasticIpRequest(input *DisassociateElasticIpInput) DisassociateElasticIpRequest
- func (c *OpsWorks) GetHostnameSuggestionRequest(input *GetHostnameSuggestionInput) GetHostnameSuggestionRequest
- func (c *OpsWorks) GrantAccessRequest(input *GrantAccessInput) GrantAccessRequest
- func (c *OpsWorks) ListTagsRequest(input *ListTagsInput) ListTagsRequest
- func (c *OpsWorks) RebootInstanceRequest(input *RebootInstanceInput) RebootInstanceRequest
- func (c *OpsWorks) RegisterEcsClusterRequest(input *RegisterEcsClusterInput) RegisterEcsClusterRequest
- func (c *OpsWorks) RegisterElasticIpRequest(input *RegisterElasticIpInput) RegisterElasticIpRequest
- func (c *OpsWorks) RegisterInstanceRequest(input *RegisterInstanceInput) RegisterInstanceRequest
- func (c *OpsWorks) RegisterRdsDbInstanceRequest(input *RegisterRdsDbInstanceInput) RegisterRdsDbInstanceRequest
- func (c *OpsWorks) RegisterVolumeRequest(input *RegisterVolumeInput) RegisterVolumeRequest
- func (c *OpsWorks) SetLoadBasedAutoScalingRequest(input *SetLoadBasedAutoScalingInput) SetLoadBasedAutoScalingRequest
- func (c *OpsWorks) SetPermissionRequest(input *SetPermissionInput) SetPermissionRequest
- func (c *OpsWorks) SetTimeBasedAutoScalingRequest(input *SetTimeBasedAutoScalingInput) SetTimeBasedAutoScalingRequest
- func (c *OpsWorks) StartInstanceRequest(input *StartInstanceInput) StartInstanceRequest
- func (c *OpsWorks) StartStackRequest(input *StartStackInput) StartStackRequest
- func (c *OpsWorks) StopInstanceRequest(input *StopInstanceInput) StopInstanceRequest
- func (c *OpsWorks) StopStackRequest(input *StopStackInput) StopStackRequest
- func (c *OpsWorks) TagResourceRequest(input *TagResourceInput) TagResourceRequest
- func (c *OpsWorks) UnassignInstanceRequest(input *UnassignInstanceInput) UnassignInstanceRequest
- func (c *OpsWorks) UnassignVolumeRequest(input *UnassignVolumeInput) UnassignVolumeRequest
- func (c *OpsWorks) UntagResourceRequest(input *UntagResourceInput) UntagResourceRequest
- func (c *OpsWorks) UpdateAppRequest(input *UpdateAppInput) UpdateAppRequest
- func (c *OpsWorks) UpdateElasticIpRequest(input *UpdateElasticIpInput) UpdateElasticIpRequest
- func (c *OpsWorks) UpdateInstanceRequest(input *UpdateInstanceInput) UpdateInstanceRequest
- func (c *OpsWorks) UpdateLayerRequest(input *UpdateLayerInput) UpdateLayerRequest
- func (c *OpsWorks) UpdateMyUserProfileRequest(input *UpdateMyUserProfileInput) UpdateMyUserProfileRequest
- func (c *OpsWorks) UpdateRdsDbInstanceRequest(input *UpdateRdsDbInstanceInput) UpdateRdsDbInstanceRequest
- func (c *OpsWorks) UpdateStackRequest(input *UpdateStackInput) UpdateStackRequest
- func (c *OpsWorks) UpdateUserProfileRequest(input *UpdateUserProfileInput) UpdateUserProfileRequest
- func (c *OpsWorks) UpdateVolumeRequest(input *UpdateVolumeInput) UpdateVolumeRequest
- func (c *OpsWorks) WaitUntilAppExists(input *DescribeAppsInput) error
- func (c *OpsWorks) WaitUntilAppExistsWithContext(ctx aws.Context, input *DescribeAppsInput, opts ...aws.WaiterOption) error
- func (c *OpsWorks) WaitUntilDeploymentSuccessful(input *DescribeDeploymentsInput) error
- func (c *OpsWorks) WaitUntilDeploymentSuccessfulWithContext(ctx aws.Context, input *DescribeDeploymentsInput, opts ...aws.WaiterOption) error
- func (c *OpsWorks) WaitUntilInstanceOnline(input *DescribeInstancesInput) error
- func (c *OpsWorks) WaitUntilInstanceOnlineWithContext(ctx aws.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
- func (c *OpsWorks) WaitUntilInstanceRegistered(input *DescribeInstancesInput) error
- func (c *OpsWorks) WaitUntilInstanceRegisteredWithContext(ctx aws.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
- func (c *OpsWorks) WaitUntilInstanceStopped(input *DescribeInstancesInput) error
- func (c *OpsWorks) WaitUntilInstanceStoppedWithContext(ctx aws.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
- func (c *OpsWorks) WaitUntilInstanceTerminated(input *DescribeInstancesInput) error
- func (c *OpsWorks) WaitUntilInstanceTerminatedWithContext(ctx aws.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
- type Permission
- func (s Permission) GoString() string
- func (s *Permission) SetAllowSsh(v bool) *Permission
- func (s *Permission) SetAllowSudo(v bool) *Permission
- func (s *Permission) SetIamUserArn(v string) *Permission
- func (s *Permission) SetLevel(v string) *Permission
- func (s *Permission) SetStackId(v string) *Permission
- func (s Permission) String() string
- type RaidArray
- func (s RaidArray) GoString() string
- func (s *RaidArray) SetAvailabilityZone(v string) *RaidArray
- func (s *RaidArray) SetCreatedAt(v string) *RaidArray
- func (s *RaidArray) SetDevice(v string) *RaidArray
- func (s *RaidArray) SetInstanceId(v string) *RaidArray
- func (s *RaidArray) SetIops(v int64) *RaidArray
- func (s *RaidArray) SetMountPoint(v string) *RaidArray
- func (s *RaidArray) SetName(v string) *RaidArray
- func (s *RaidArray) SetNumberOfDisks(v int64) *RaidArray
- func (s *RaidArray) SetRaidArrayId(v string) *RaidArray
- func (s *RaidArray) SetRaidLevel(v int64) *RaidArray
- func (s *RaidArray) SetSize(v int64) *RaidArray
- func (s *RaidArray) SetStackId(v string) *RaidArray
- func (s *RaidArray) SetVolumeType(v string) *RaidArray
- func (s RaidArray) String() string
- type RdsDbInstance
- func (s RdsDbInstance) GoString() string
- func (s *RdsDbInstance) SetAddress(v string) *RdsDbInstance
- func (s *RdsDbInstance) SetDbInstanceIdentifier(v string) *RdsDbInstance
- func (s *RdsDbInstance) SetDbPassword(v string) *RdsDbInstance
- func (s *RdsDbInstance) SetDbUser(v string) *RdsDbInstance
- func (s *RdsDbInstance) SetEngine(v string) *RdsDbInstance
- func (s *RdsDbInstance) SetMissingOnRds(v bool) *RdsDbInstance
- func (s *RdsDbInstance) SetRdsDbInstanceArn(v string) *RdsDbInstance
- func (s *RdsDbInstance) SetRegion(v string) *RdsDbInstance
- func (s *RdsDbInstance) SetStackId(v string) *RdsDbInstance
- func (s RdsDbInstance) String() string
- type RebootInstanceInput
- type RebootInstanceOutput
- type RebootInstanceRequest
- type Recipes
- func (s Recipes) GoString() string
- func (s *Recipes) SetConfigure(v []string) *Recipes
- func (s *Recipes) SetDeploy(v []string) *Recipes
- func (s *Recipes) SetSetup(v []string) *Recipes
- func (s *Recipes) SetShutdown(v []string) *Recipes
- func (s *Recipes) SetUndeploy(v []string) *Recipes
- func (s Recipes) String() string
- type RegisterEcsClusterInput
- func (s RegisterEcsClusterInput) GoString() string
- func (s *RegisterEcsClusterInput) SetEcsClusterArn(v string) *RegisterEcsClusterInput
- func (s *RegisterEcsClusterInput) SetStackId(v string) *RegisterEcsClusterInput
- func (s RegisterEcsClusterInput) String() string
- func (s *RegisterEcsClusterInput) Validate() error
- type RegisterEcsClusterOutput
- type RegisterEcsClusterRequest
- type RegisterElasticIpInput
- func (s RegisterElasticIpInput) GoString() string
- func (s *RegisterElasticIpInput) SetElasticIp(v string) *RegisterElasticIpInput
- func (s *RegisterElasticIpInput) SetStackId(v string) *RegisterElasticIpInput
- func (s RegisterElasticIpInput) String() string
- func (s *RegisterElasticIpInput) Validate() error
- type RegisterElasticIpOutput
- type RegisterElasticIpRequest
- type RegisterInstanceInput
- func (s RegisterInstanceInput) GoString() string
- func (s *RegisterInstanceInput) SetHostname(v string) *RegisterInstanceInput
- func (s *RegisterInstanceInput) SetInstanceIdentity(v *InstanceIdentity) *RegisterInstanceInput
- func (s *RegisterInstanceInput) SetPrivateIp(v string) *RegisterInstanceInput
- func (s *RegisterInstanceInput) SetPublicIp(v string) *RegisterInstanceInput
- func (s *RegisterInstanceInput) SetRsaPublicKey(v string) *RegisterInstanceInput
- func (s *RegisterInstanceInput) SetRsaPublicKeyFingerprint(v string) *RegisterInstanceInput
- func (s *RegisterInstanceInput) SetStackId(v string) *RegisterInstanceInput
- func (s RegisterInstanceInput) String() string
- func (s *RegisterInstanceInput) Validate() error
- type RegisterInstanceOutput
- type RegisterInstanceRequest
- type RegisterRdsDbInstanceInput
- func (s RegisterRdsDbInstanceInput) GoString() string
- func (s *RegisterRdsDbInstanceInput) SetDbPassword(v string) *RegisterRdsDbInstanceInput
- func (s *RegisterRdsDbInstanceInput) SetDbUser(v string) *RegisterRdsDbInstanceInput
- func (s *RegisterRdsDbInstanceInput) SetRdsDbInstanceArn(v string) *RegisterRdsDbInstanceInput
- func (s *RegisterRdsDbInstanceInput) SetStackId(v string) *RegisterRdsDbInstanceInput
- func (s RegisterRdsDbInstanceInput) String() string
- func (s *RegisterRdsDbInstanceInput) Validate() error
- type RegisterRdsDbInstanceOutput
- type RegisterRdsDbInstanceRequest
- type RegisterVolumeInput
- type RegisterVolumeOutput
- type RegisterVolumeRequest
- type ReportedOs
- type RootDeviceType
- type SelfUserProfile
- func (s SelfUserProfile) GoString() string
- func (s *SelfUserProfile) SetIamUserArn(v string) *SelfUserProfile
- func (s *SelfUserProfile) SetName(v string) *SelfUserProfile
- func (s *SelfUserProfile) SetSshPublicKey(v string) *SelfUserProfile
- func (s *SelfUserProfile) SetSshUsername(v string) *SelfUserProfile
- func (s SelfUserProfile) String() string
- type ServiceError
- func (s ServiceError) GoString() string
- func (s *ServiceError) SetCreatedAt(v string) *ServiceError
- func (s *ServiceError) SetInstanceId(v string) *ServiceError
- func (s *ServiceError) SetMessage(v string) *ServiceError
- func (s *ServiceError) SetServiceErrorId(v string) *ServiceError
- func (s *ServiceError) SetStackId(v string) *ServiceError
- func (s *ServiceError) SetType(v string) *ServiceError
- func (s ServiceError) String() string
- type SetLoadBasedAutoScalingInput
- func (s SetLoadBasedAutoScalingInput) GoString() string
- func (s *SetLoadBasedAutoScalingInput) SetDownScaling(v *AutoScalingThresholds) *SetLoadBasedAutoScalingInput
- func (s *SetLoadBasedAutoScalingInput) SetEnable(v bool) *SetLoadBasedAutoScalingInput
- func (s *SetLoadBasedAutoScalingInput) SetLayerId(v string) *SetLoadBasedAutoScalingInput
- func (s *SetLoadBasedAutoScalingInput) SetUpScaling(v *AutoScalingThresholds) *SetLoadBasedAutoScalingInput
- func (s SetLoadBasedAutoScalingInput) String() string
- func (s *SetLoadBasedAutoScalingInput) Validate() error
- type SetLoadBasedAutoScalingOutput
- type SetLoadBasedAutoScalingRequest
- type SetPermissionInput
- func (s SetPermissionInput) GoString() string
- func (s *SetPermissionInput) SetAllowSsh(v bool) *SetPermissionInput
- func (s *SetPermissionInput) SetAllowSudo(v bool) *SetPermissionInput
- func (s *SetPermissionInput) SetIamUserArn(v string) *SetPermissionInput
- func (s *SetPermissionInput) SetLevel(v string) *SetPermissionInput
- func (s *SetPermissionInput) SetStackId(v string) *SetPermissionInput
- func (s SetPermissionInput) String() string
- func (s *SetPermissionInput) Validate() error
- type SetPermissionOutput
- type SetPermissionRequest
- type SetTimeBasedAutoScalingInput
- func (s SetTimeBasedAutoScalingInput) GoString() string
- func (s *SetTimeBasedAutoScalingInput) SetAutoScalingSchedule(v *WeeklyAutoScalingSchedule) *SetTimeBasedAutoScalingInput
- func (s *SetTimeBasedAutoScalingInput) SetInstanceId(v string) *SetTimeBasedAutoScalingInput
- func (s SetTimeBasedAutoScalingInput) String() string
- func (s *SetTimeBasedAutoScalingInput) Validate() error
- type SetTimeBasedAutoScalingOutput
- type SetTimeBasedAutoScalingRequest
- type ShutdownEventConfiguration
- func (s ShutdownEventConfiguration) GoString() string
- func (s *ShutdownEventConfiguration) SetDelayUntilElbConnectionsDrained(v bool) *ShutdownEventConfiguration
- func (s *ShutdownEventConfiguration) SetExecutionTimeout(v int64) *ShutdownEventConfiguration
- func (s ShutdownEventConfiguration) String() string
- type Source
- func (s Source) GoString() string
- func (s *Source) SetPassword(v string) *Source
- func (s *Source) SetRevision(v string) *Source
- func (s *Source) SetSshKey(v string) *Source
- func (s *Source) SetType(v SourceType) *Source
- func (s *Source) SetUrl(v string) *Source
- func (s *Source) SetUsername(v string) *Source
- func (s Source) String() string
- type SourceType
- type SslConfiguration
- func (s SslConfiguration) GoString() string
- func (s *SslConfiguration) SetCertificate(v string) *SslConfiguration
- func (s *SslConfiguration) SetChain(v string) *SslConfiguration
- func (s *SslConfiguration) SetPrivateKey(v string) *SslConfiguration
- func (s SslConfiguration) String() string
- func (s *SslConfiguration) Validate() error
- type Stack
- func (s Stack) GoString() string
- func (s *Stack) SetAgentVersion(v string) *Stack
- func (s *Stack) SetArn(v string) *Stack
- func (s *Stack) SetAttributes(v map[string]string) *Stack
- func (s *Stack) SetChefConfiguration(v *ChefConfiguration) *Stack
- func (s *Stack) SetConfigurationManager(v *StackConfigurationManager) *Stack
- func (s *Stack) SetCreatedAt(v string) *Stack
- func (s *Stack) SetCustomCookbooksSource(v *Source) *Stack
- func (s *Stack) SetCustomJson(v string) *Stack
- func (s *Stack) SetDefaultAvailabilityZone(v string) *Stack
- func (s *Stack) SetDefaultInstanceProfileArn(v string) *Stack
- func (s *Stack) SetDefaultOs(v string) *Stack
- func (s *Stack) SetDefaultRootDeviceType(v RootDeviceType) *Stack
- func (s *Stack) SetDefaultSshKeyName(v string) *Stack
- func (s *Stack) SetDefaultSubnetId(v string) *Stack
- func (s *Stack) SetHostnameTheme(v string) *Stack
- func (s *Stack) SetName(v string) *Stack
- func (s *Stack) SetRegion(v string) *Stack
- func (s *Stack) SetServiceRoleArn(v string) *Stack
- func (s *Stack) SetStackId(v string) *Stack
- func (s *Stack) SetUseCustomCookbooks(v bool) *Stack
- func (s *Stack) SetUseOpsworksSecurityGroups(v bool) *Stack
- func (s *Stack) SetVpcId(v string) *Stack
- func (s Stack) String() string
- type StackAttributesKeys
- type StackConfigurationManager
- type StackSummary
- func (s StackSummary) GoString() string
- func (s *StackSummary) SetAppsCount(v int64) *StackSummary
- func (s *StackSummary) SetArn(v string) *StackSummary
- func (s *StackSummary) SetInstancesCount(v *InstancesCount) *StackSummary
- func (s *StackSummary) SetLayersCount(v int64) *StackSummary
- func (s *StackSummary) SetName(v string) *StackSummary
- func (s *StackSummary) SetStackId(v string) *StackSummary
- func (s StackSummary) String() string
- type StartInstanceInput
- type StartInstanceOutput
- type StartInstanceRequest
- type StartStackInput
- type StartStackOutput
- type StartStackRequest
- type StopInstanceInput
- type StopInstanceOutput
- type StopInstanceRequest
- type StopStackInput
- type StopStackOutput
- type StopStackRequest
- type TagResourceInput
- type TagResourceOutput
- type TagResourceRequest
- type TemporaryCredential
- func (s TemporaryCredential) GoString() string
- func (s *TemporaryCredential) SetInstanceId(v string) *TemporaryCredential
- func (s *TemporaryCredential) SetPassword(v string) *TemporaryCredential
- func (s *TemporaryCredential) SetUsername(v string) *TemporaryCredential
- func (s *TemporaryCredential) SetValidForInMinutes(v int64) *TemporaryCredential
- func (s TemporaryCredential) String() string
- type TimeBasedAutoScalingConfiguration
- func (s TimeBasedAutoScalingConfiguration) GoString() string
- func (s *TimeBasedAutoScalingConfiguration) SetAutoScalingSchedule(v *WeeklyAutoScalingSchedule) *TimeBasedAutoScalingConfiguration
- func (s *TimeBasedAutoScalingConfiguration) SetInstanceId(v string) *TimeBasedAutoScalingConfiguration
- func (s TimeBasedAutoScalingConfiguration) String() string
- type UnassignInstanceInput
- type UnassignInstanceOutput
- type UnassignInstanceRequest
- type UnassignVolumeInput
- type UnassignVolumeOutput
- type UnassignVolumeRequest
- type UntagResourceInput
- type UntagResourceOutput
- type UntagResourceRequest
- type UpdateAppInput
- func (s UpdateAppInput) GoString() string
- func (s *UpdateAppInput) SetAppId(v string) *UpdateAppInput
- func (s *UpdateAppInput) SetAppSource(v *Source) *UpdateAppInput
- func (s *UpdateAppInput) SetAttributes(v map[string]string) *UpdateAppInput
- func (s *UpdateAppInput) SetDataSources(v []DataSource) *UpdateAppInput
- func (s *UpdateAppInput) SetDescription(v string) *UpdateAppInput
- func (s *UpdateAppInput) SetDomains(v []string) *UpdateAppInput
- func (s *UpdateAppInput) SetEnableSsl(v bool) *UpdateAppInput
- func (s *UpdateAppInput) SetEnvironment(v []EnvironmentVariable) *UpdateAppInput
- func (s *UpdateAppInput) SetName(v string) *UpdateAppInput
- func (s *UpdateAppInput) SetSslConfiguration(v *SslConfiguration) *UpdateAppInput
- func (s *UpdateAppInput) SetType(v AppType) *UpdateAppInput
- func (s UpdateAppInput) String() string
- func (s *UpdateAppInput) Validate() error
- type UpdateAppOutput
- type UpdateAppRequest
- type UpdateElasticIpInput
- type UpdateElasticIpOutput
- type UpdateElasticIpRequest
- type UpdateInstanceInput
- func (s UpdateInstanceInput) GoString() string
- func (s *UpdateInstanceInput) SetAgentVersion(v string) *UpdateInstanceInput
- func (s *UpdateInstanceInput) SetAmiId(v string) *UpdateInstanceInput
- func (s *UpdateInstanceInput) SetArchitecture(v Architecture) *UpdateInstanceInput
- func (s *UpdateInstanceInput) SetAutoScalingType(v AutoScalingType) *UpdateInstanceInput
- func (s *UpdateInstanceInput) SetEbsOptimized(v bool) *UpdateInstanceInput
- func (s *UpdateInstanceInput) SetHostname(v string) *UpdateInstanceInput
- func (s *UpdateInstanceInput) SetInstallUpdatesOnBoot(v bool) *UpdateInstanceInput
- func (s *UpdateInstanceInput) SetInstanceId(v string) *UpdateInstanceInput
- func (s *UpdateInstanceInput) SetInstanceType(v string) *UpdateInstanceInput
- func (s *UpdateInstanceInput) SetLayerIds(v []string) *UpdateInstanceInput
- func (s *UpdateInstanceInput) SetOs(v string) *UpdateInstanceInput
- func (s *UpdateInstanceInput) SetSshKeyName(v string) *UpdateInstanceInput
- func (s UpdateInstanceInput) String() string
- func (s *UpdateInstanceInput) Validate() error
- type UpdateInstanceOutput
- type UpdateInstanceRequest
- type UpdateLayerInput
- func (s UpdateLayerInput) GoString() string
- func (s *UpdateLayerInput) SetAttributes(v map[string]string) *UpdateLayerInput
- func (s *UpdateLayerInput) SetAutoAssignElasticIps(v bool) *UpdateLayerInput
- func (s *UpdateLayerInput) SetAutoAssignPublicIps(v bool) *UpdateLayerInput
- func (s *UpdateLayerInput) SetCloudWatchLogsConfiguration(v *CloudWatchLogsConfiguration) *UpdateLayerInput
- func (s *UpdateLayerInput) SetCustomInstanceProfileArn(v string) *UpdateLayerInput
- func (s *UpdateLayerInput) SetCustomJson(v string) *UpdateLayerInput
- func (s *UpdateLayerInput) SetCustomRecipes(v *Recipes) *UpdateLayerInput
- func (s *UpdateLayerInput) SetCustomSecurityGroupIds(v []string) *UpdateLayerInput
- func (s *UpdateLayerInput) SetEnableAutoHealing(v bool) *UpdateLayerInput
- func (s *UpdateLayerInput) SetInstallUpdatesOnBoot(v bool) *UpdateLayerInput
- func (s *UpdateLayerInput) SetLayerId(v string) *UpdateLayerInput
- func (s *UpdateLayerInput) SetLifecycleEventConfiguration(v *LifecycleEventConfiguration) *UpdateLayerInput
- func (s *UpdateLayerInput) SetName(v string) *UpdateLayerInput
- func (s *UpdateLayerInput) SetPackages(v []string) *UpdateLayerInput
- func (s *UpdateLayerInput) SetShortname(v string) *UpdateLayerInput
- func (s *UpdateLayerInput) SetUseEbsOptimizedInstances(v bool) *UpdateLayerInput
- func (s *UpdateLayerInput) SetVolumeConfigurations(v []VolumeConfiguration) *UpdateLayerInput
- func (s UpdateLayerInput) String() string
- func (s *UpdateLayerInput) Validate() error
- type UpdateLayerOutput
- type UpdateLayerRequest
- type UpdateMyUserProfileInput
- type UpdateMyUserProfileOutput
- type UpdateMyUserProfileRequest
- type UpdateRdsDbInstanceInput
- func (s UpdateRdsDbInstanceInput) GoString() string
- func (s *UpdateRdsDbInstanceInput) SetDbPassword(v string) *UpdateRdsDbInstanceInput
- func (s *UpdateRdsDbInstanceInput) SetDbUser(v string) *UpdateRdsDbInstanceInput
- func (s *UpdateRdsDbInstanceInput) SetRdsDbInstanceArn(v string) *UpdateRdsDbInstanceInput
- func (s UpdateRdsDbInstanceInput) String() string
- func (s *UpdateRdsDbInstanceInput) Validate() error
- type UpdateRdsDbInstanceOutput
- type UpdateRdsDbInstanceRequest
- type UpdateStackInput
- func (s UpdateStackInput) GoString() string
- func (s *UpdateStackInput) SetAgentVersion(v string) *UpdateStackInput
- func (s *UpdateStackInput) SetAttributes(v map[string]string) *UpdateStackInput
- func (s *UpdateStackInput) SetChefConfiguration(v *ChefConfiguration) *UpdateStackInput
- func (s *UpdateStackInput) SetConfigurationManager(v *StackConfigurationManager) *UpdateStackInput
- func (s *UpdateStackInput) SetCustomCookbooksSource(v *Source) *UpdateStackInput
- func (s *UpdateStackInput) SetCustomJson(v string) *UpdateStackInput
- func (s *UpdateStackInput) SetDefaultAvailabilityZone(v string) *UpdateStackInput
- func (s *UpdateStackInput) SetDefaultInstanceProfileArn(v string) *UpdateStackInput
- func (s *UpdateStackInput) SetDefaultOs(v string) *UpdateStackInput
- func (s *UpdateStackInput) SetDefaultRootDeviceType(v RootDeviceType) *UpdateStackInput
- func (s *UpdateStackInput) SetDefaultSshKeyName(v string) *UpdateStackInput
- func (s *UpdateStackInput) SetDefaultSubnetId(v string) *UpdateStackInput
- func (s *UpdateStackInput) SetHostnameTheme(v string) *UpdateStackInput
- func (s *UpdateStackInput) SetName(v string) *UpdateStackInput
- func (s *UpdateStackInput) SetServiceRoleArn(v string) *UpdateStackInput
- func (s *UpdateStackInput) SetStackId(v string) *UpdateStackInput
- func (s *UpdateStackInput) SetUseCustomCookbooks(v bool) *UpdateStackInput
- func (s *UpdateStackInput) SetUseOpsworksSecurityGroups(v bool) *UpdateStackInput
- func (s UpdateStackInput) String() string
- func (s *UpdateStackInput) Validate() error
- type UpdateStackOutput
- type UpdateStackRequest
- type UpdateUserProfileInput
- func (s UpdateUserProfileInput) GoString() string
- func (s *UpdateUserProfileInput) SetAllowSelfManagement(v bool) *UpdateUserProfileInput
- func (s *UpdateUserProfileInput) SetIamUserArn(v string) *UpdateUserProfileInput
- func (s *UpdateUserProfileInput) SetSshPublicKey(v string) *UpdateUserProfileInput
- func (s *UpdateUserProfileInput) SetSshUsername(v string) *UpdateUserProfileInput
- func (s UpdateUserProfileInput) String() string
- func (s *UpdateUserProfileInput) Validate() error
- type UpdateUserProfileOutput
- type UpdateUserProfileRequest
- type UpdateVolumeInput
- func (s UpdateVolumeInput) GoString() string
- func (s *UpdateVolumeInput) SetMountPoint(v string) *UpdateVolumeInput
- func (s *UpdateVolumeInput) SetName(v string) *UpdateVolumeInput
- func (s *UpdateVolumeInput) SetVolumeId(v string) *UpdateVolumeInput
- func (s UpdateVolumeInput) String() string
- func (s *UpdateVolumeInput) Validate() error
- type UpdateVolumeOutput
- type UpdateVolumeRequest
- type UserProfile
- func (s UserProfile) GoString() string
- func (s *UserProfile) SetAllowSelfManagement(v bool) *UserProfile
- func (s *UserProfile) SetIamUserArn(v string) *UserProfile
- func (s *UserProfile) SetName(v string) *UserProfile
- func (s *UserProfile) SetSshPublicKey(v string) *UserProfile
- func (s *UserProfile) SetSshUsername(v string) *UserProfile
- func (s UserProfile) String() string
- type VirtualizationType
- type Volume
- func (s Volume) GoString() string
- func (s *Volume) SetAvailabilityZone(v string) *Volume
- func (s *Volume) SetDevice(v string) *Volume
- func (s *Volume) SetEc2VolumeId(v string) *Volume
- func (s *Volume) SetInstanceId(v string) *Volume
- func (s *Volume) SetIops(v int64) *Volume
- func (s *Volume) SetMountPoint(v string) *Volume
- func (s *Volume) SetName(v string) *Volume
- func (s *Volume) SetRaidArrayId(v string) *Volume
- func (s *Volume) SetRegion(v string) *Volume
- func (s *Volume) SetSize(v int64) *Volume
- func (s *Volume) SetStatus(v string) *Volume
- func (s *Volume) SetVolumeId(v string) *Volume
- func (s *Volume) SetVolumeType(v string) *Volume
- func (s Volume) String() string
- type VolumeConfiguration
- func (s VolumeConfiguration) GoString() string
- func (s *VolumeConfiguration) SetIops(v int64) *VolumeConfiguration
- func (s *VolumeConfiguration) SetMountPoint(v string) *VolumeConfiguration
- func (s *VolumeConfiguration) SetNumberOfDisks(v int64) *VolumeConfiguration
- func (s *VolumeConfiguration) SetRaidLevel(v int64) *VolumeConfiguration
- func (s *VolumeConfiguration) SetSize(v int64) *VolumeConfiguration
- func (s *VolumeConfiguration) SetVolumeType(v string) *VolumeConfiguration
- func (s VolumeConfiguration) String() string
- func (s *VolumeConfiguration) Validate() error
- type VolumeType
- type WeeklyAutoScalingSchedule
- func (s WeeklyAutoScalingSchedule) GoString() string
- func (s *WeeklyAutoScalingSchedule) SetFriday(v map[string]string) *WeeklyAutoScalingSchedule
- func (s *WeeklyAutoScalingSchedule) SetMonday(v map[string]string) *WeeklyAutoScalingSchedule
- func (s *WeeklyAutoScalingSchedule) SetSaturday(v map[string]string) *WeeklyAutoScalingSchedule
- func (s *WeeklyAutoScalingSchedule) SetSunday(v map[string]string) *WeeklyAutoScalingSchedule
- func (s *WeeklyAutoScalingSchedule) SetThursday(v map[string]string) *WeeklyAutoScalingSchedule
- func (s *WeeklyAutoScalingSchedule) SetTuesday(v map[string]string) *WeeklyAutoScalingSchedule
- func (s *WeeklyAutoScalingSchedule) SetWednesday(v map[string]string) *WeeklyAutoScalingSchedule
- func (s WeeklyAutoScalingSchedule) String() string
Constants ¶
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" )
const ( ServiceName = "opsworks" // Service endpoint prefix API calls made to. EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata. )
Service information constants
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AgentVersion
func (AgentVersion) GoString ¶
func (s AgentVersion) GoString() string
GoString returns the string representation
func (*AgentVersion) SetConfigurationManager ¶
func (s *AgentVersion) SetConfigurationManager(v *StackConfigurationManager) *AgentVersion
SetConfigurationManager sets the ConfigurationManager field's value.
func (*AgentVersion) SetVersion ¶
func (s *AgentVersion) SetVersion(v string) *AgentVersion
SetVersion sets the Version field's value.
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 (http://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 10 KB (10240 Bytes). 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 10KB)" 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/App
func (*App) SetAppSource ¶
SetAppSource sets the AppSource field's value.
func (*App) SetAttributes ¶
SetAttributes sets the Attributes field's value.
func (*App) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field's value.
func (*App) SetDataSources ¶
func (s *App) SetDataSources(v []DataSource) *App
SetDataSources sets the DataSources field's value.
func (*App) SetDescription ¶
SetDescription sets the Description field's value.
func (*App) SetDomains ¶
SetDomains sets the Domains field's value.
func (*App) SetEnableSsl ¶
SetEnableSsl sets the EnableSsl field's value.
func (*App) SetEnvironment ¶
func (s *App) SetEnvironment(v []EnvironmentVariable) *App
SetEnvironment sets the Environment field's value.
func (*App) SetShortname ¶
SetShortname sets the Shortname field's value.
func (*App) SetSslConfiguration ¶
func (s *App) SetSslConfiguration(v *SslConfiguration) *App
SetSslConfiguration sets the SslConfiguration field's value.
func (*App) SetStackId ¶
SetStackId sets the StackId field's value.
type AppAttributesKeys ¶
type AppAttributesKeys string
const ( AppAttributesKeysDocumentRoot AppAttributesKeys = "DocumentRoot" AppAttributesKeysRailsEnv AppAttributesKeys = "RailsEnv" AppAttributesKeysAutoBundleOnDeploy AppAttributesKeys = "AutoBundleOnDeploy" AppAttributesKeysAwsFlowRubySettings AppAttributesKeys = "AwsFlowRubySettings" )
Enum values for AppAttributesKeys
type Architecture ¶
type Architecture string
const ( ArchitectureX8664 Architecture = "x86_64" ArchitectureI386 Architecture = "i386" )
Enum values for Architecture
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstanceRequest
func (AssignInstanceInput) GoString ¶
func (s AssignInstanceInput) GoString() string
GoString returns the string representation
func (*AssignInstanceInput) SetInstanceId ¶
func (s *AssignInstanceInput) SetInstanceId(v string) *AssignInstanceInput
SetInstanceId sets the InstanceId field's value.
func (*AssignInstanceInput) SetLayerIds ¶
func (s *AssignInstanceInput) SetLayerIds(v []string) *AssignInstanceInput
SetLayerIds sets the LayerIds field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstanceOutput
func (AssignInstanceOutput) GoString ¶
func (s AssignInstanceOutput) GoString() string
GoString returns the string representation
func (AssignInstanceOutput) SDKResponseMetadata ¶
func (s AssignInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AssignInstanceOutput) String ¶
func (s AssignInstanceOutput) String() string
String returns the string representation
type AssignInstanceRequest ¶
type AssignInstanceRequest struct { *aws.Request Input *AssignInstanceInput }
AssignInstanceRequest is a API request type for the AssignInstance API operation.
func (AssignInstanceRequest) Send ¶
func (r AssignInstanceRequest) Send() (*AssignInstanceOutput, error)
Send marshals and sends the AssignInstance API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolumeRequest
func (AssignVolumeInput) GoString ¶
func (s AssignVolumeInput) GoString() string
GoString returns the string representation
func (*AssignVolumeInput) SetInstanceId ¶
func (s *AssignVolumeInput) SetInstanceId(v string) *AssignVolumeInput
SetInstanceId sets the InstanceId field's value.
func (*AssignVolumeInput) SetVolumeId ¶
func (s *AssignVolumeInput) SetVolumeId(v string) *AssignVolumeInput
SetVolumeId sets the VolumeId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolumeOutput
func (AssignVolumeOutput) GoString ¶
func (s AssignVolumeOutput) GoString() string
GoString returns the string representation
func (AssignVolumeOutput) SDKResponseMetadata ¶
func (s AssignVolumeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AssignVolumeOutput) String ¶
func (s AssignVolumeOutput) String() string
String returns the string representation
type AssignVolumeRequest ¶
type AssignVolumeRequest struct { *aws.Request Input *AssignVolumeInput }
AssignVolumeRequest is a API request type for the AssignVolume API operation.
func (AssignVolumeRequest) Send ¶
func (r AssignVolumeRequest) Send() (*AssignVolumeOutput, error)
Send marshals and sends the AssignVolume API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIpRequest
func (AssociateElasticIpInput) GoString ¶
func (s AssociateElasticIpInput) GoString() string
GoString returns the string representation
func (*AssociateElasticIpInput) SetElasticIp ¶
func (s *AssociateElasticIpInput) SetElasticIp(v string) *AssociateElasticIpInput
SetElasticIp sets the ElasticIp field's value.
func (*AssociateElasticIpInput) SetInstanceId ¶
func (s *AssociateElasticIpInput) SetInstanceId(v string) *AssociateElasticIpInput
SetInstanceId sets the InstanceId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIpOutput
func (AssociateElasticIpOutput) GoString ¶
func (s AssociateElasticIpOutput) GoString() string
GoString returns the string representation
func (AssociateElasticIpOutput) SDKResponseMetadata ¶
func (s AssociateElasticIpOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AssociateElasticIpOutput) String ¶
func (s AssociateElasticIpOutput) String() string
String returns the string representation
type AssociateElasticIpRequest ¶
type AssociateElasticIpRequest struct { *aws.Request Input *AssociateElasticIpInput }
AssociateElasticIpRequest is a API request type for the AssociateElasticIp API operation.
func (AssociateElasticIpRequest) Send ¶
func (r AssociateElasticIpRequest) Send() (*AssociateElasticIpOutput, error)
Send marshals and sends the AssociateElasticIp API 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 that the Elastic Load Balancing instance is to be attached // to. // // LayerId is a required field LayerId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancerRequest
func (AttachElasticLoadBalancerInput) GoString ¶
func (s AttachElasticLoadBalancerInput) GoString() string
GoString returns the string representation
func (*AttachElasticLoadBalancerInput) SetElasticLoadBalancerName ¶
func (s *AttachElasticLoadBalancerInput) SetElasticLoadBalancerName(v string) *AttachElasticLoadBalancerInput
SetElasticLoadBalancerName sets the ElasticLoadBalancerName field's value.
func (*AttachElasticLoadBalancerInput) SetLayerId ¶
func (s *AttachElasticLoadBalancerInput) SetLayerId(v string) *AttachElasticLoadBalancerInput
SetLayerId sets the LayerId field's value.
func (AttachElasticLoadBalancerInput) String ¶
func (s AttachElasticLoadBalancerInput) String() 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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancerOutput
func (AttachElasticLoadBalancerOutput) GoString ¶
func (s AttachElasticLoadBalancerOutput) GoString() string
GoString returns the string representation
func (AttachElasticLoadBalancerOutput) SDKResponseMetadata ¶
func (s AttachElasticLoadBalancerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (AttachElasticLoadBalancerOutput) String ¶
func (s AttachElasticLoadBalancerOutput) String() string
String returns the string representation
type AttachElasticLoadBalancerRequest ¶
type AttachElasticLoadBalancerRequest struct { *aws.Request Input *AttachElasticLoadBalancerInput }
AttachElasticLoadBalancerRequest is a API request type for the AttachElasticLoadBalancer API operation.
func (AttachElasticLoadBalancerRequest) Send ¶
func (r AttachElasticLoadBalancerRequest) Send() (*AttachElasticLoadBalancerOutput, error)
Send marshals and sends the AttachElasticLoadBalancer API 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 (http://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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AutoScalingThresholds
func (AutoScalingThresholds) GoString ¶
func (s AutoScalingThresholds) GoString() string
GoString returns the string representation
func (*AutoScalingThresholds) SetAlarms ¶
func (s *AutoScalingThresholds) SetAlarms(v []string) *AutoScalingThresholds
SetAlarms sets the Alarms field's value.
func (*AutoScalingThresholds) SetCpuThreshold ¶
func (s *AutoScalingThresholds) SetCpuThreshold(v float64) *AutoScalingThresholds
SetCpuThreshold sets the CpuThreshold field's value.
func (*AutoScalingThresholds) SetIgnoreMetricsTime ¶
func (s *AutoScalingThresholds) SetIgnoreMetricsTime(v int64) *AutoScalingThresholds
SetIgnoreMetricsTime sets the IgnoreMetricsTime field's value.
func (*AutoScalingThresholds) SetInstanceCount ¶
func (s *AutoScalingThresholds) SetInstanceCount(v int64) *AutoScalingThresholds
SetInstanceCount sets the InstanceCount field's value.
func (*AutoScalingThresholds) SetLoadThreshold ¶
func (s *AutoScalingThresholds) SetLoadThreshold(v float64) *AutoScalingThresholds
SetLoadThreshold sets the LoadThreshold field's value.
func (*AutoScalingThresholds) SetMemoryThreshold ¶
func (s *AutoScalingThresholds) SetMemoryThreshold(v float64) *AutoScalingThresholds
SetMemoryThreshold sets the MemoryThreshold field's value.
func (*AutoScalingThresholds) SetThresholdsWaitTime ¶
func (s *AutoScalingThresholds) SetThresholdsWaitTime(v int64) *AutoScalingThresholds
SetThresholdsWaitTime sets the ThresholdsWaitTime field's value.
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
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 (http://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 (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_BlockDeviceMapping.html) data type. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/BlockDeviceMapping
func (BlockDeviceMapping) GoString ¶
func (s BlockDeviceMapping) GoString() string
GoString returns the string representation
func (*BlockDeviceMapping) SetDeviceName ¶
func (s *BlockDeviceMapping) SetDeviceName(v string) *BlockDeviceMapping
SetDeviceName sets the DeviceName field's value.
func (*BlockDeviceMapping) SetEbs ¶
func (s *BlockDeviceMapping) SetEbs(v *EbsBlockDevice) *BlockDeviceMapping
SetEbs sets the Ebs field's value.
func (*BlockDeviceMapping) SetNoDevice ¶
func (s *BlockDeviceMapping) SetNoDevice(v string) *BlockDeviceMapping
SetNoDevice sets the NoDevice field's value.
func (*BlockDeviceMapping) SetVirtualName ¶
func (s *BlockDeviceMapping) SetVirtualName(v string) *BlockDeviceMapping
SetVirtualName sets the VirtualName field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ChefConfiguration
func (ChefConfiguration) GoString ¶
func (s ChefConfiguration) GoString() string
GoString returns the string representation
func (*ChefConfiguration) SetBerkshelfVersion ¶
func (s *ChefConfiguration) SetBerkshelfVersion(v string) *ChefConfiguration
SetBerkshelfVersion sets the BerkshelfVersion field's value.
func (*ChefConfiguration) SetManageBerkshelf ¶
func (s *ChefConfiguration) SetManageBerkshelf(v bool) *ChefConfiguration
SetManageBerkshelf sets the ManageBerkshelf field's value.
func (ChefConfiguration) String ¶
func (s ChefConfiguration) String() string
String returns the string representation
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 (http://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 Creating Apps (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html) // or Custom Recipes and Cookbooks (http://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 on custom JSON, see Use Custom JSON to Modify the Stack // Configuration Attributes (http://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 (http://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 (http://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 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 on how to use custom AMIs with // OpsWorks, see Using Custom AMIs (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html). // // The default option is the parent stack's operating system. For more information // on the supported operating systems, see AWS OpsWorks Stacks Operating Systems // (http://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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html) // and Managing SSH Access (http://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 (http://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 // // * 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 (http://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 (http://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 (http://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 on how to use AWS OpsWorks Stacks with a VPC, see Running // a Stack in a VPC (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-vpc.html). // For more information on default VPC and EC2 Classic, see Supported Platforms // (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html). VpcId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStackRequest
func (CloneStackInput) GoString ¶
func (s CloneStackInput) GoString() string
GoString returns the string representation
func (*CloneStackInput) SetAgentVersion ¶
func (s *CloneStackInput) SetAgentVersion(v string) *CloneStackInput
SetAgentVersion sets the AgentVersion field's value.
func (*CloneStackInput) SetAttributes ¶
func (s *CloneStackInput) SetAttributes(v map[string]string) *CloneStackInput
SetAttributes sets the Attributes field's value.
func (*CloneStackInput) SetChefConfiguration ¶
func (s *CloneStackInput) SetChefConfiguration(v *ChefConfiguration) *CloneStackInput
SetChefConfiguration sets the ChefConfiguration field's value.
func (*CloneStackInput) SetCloneAppIds ¶
func (s *CloneStackInput) SetCloneAppIds(v []string) *CloneStackInput
SetCloneAppIds sets the CloneAppIds field's value.
func (*CloneStackInput) SetClonePermissions ¶
func (s *CloneStackInput) SetClonePermissions(v bool) *CloneStackInput
SetClonePermissions sets the ClonePermissions field's value.
func (*CloneStackInput) SetConfigurationManager ¶
func (s *CloneStackInput) SetConfigurationManager(v *StackConfigurationManager) *CloneStackInput
SetConfigurationManager sets the ConfigurationManager field's value.
func (*CloneStackInput) SetCustomCookbooksSource ¶
func (s *CloneStackInput) SetCustomCookbooksSource(v *Source) *CloneStackInput
SetCustomCookbooksSource sets the CustomCookbooksSource field's value.
func (*CloneStackInput) SetCustomJson ¶
func (s *CloneStackInput) SetCustomJson(v string) *CloneStackInput
SetCustomJson sets the CustomJson field's value.
func (*CloneStackInput) SetDefaultAvailabilityZone ¶
func (s *CloneStackInput) SetDefaultAvailabilityZone(v string) *CloneStackInput
SetDefaultAvailabilityZone sets the DefaultAvailabilityZone field's value.
func (*CloneStackInput) SetDefaultInstanceProfileArn ¶
func (s *CloneStackInput) SetDefaultInstanceProfileArn(v string) *CloneStackInput
SetDefaultInstanceProfileArn sets the DefaultInstanceProfileArn field's value.
func (*CloneStackInput) SetDefaultOs ¶
func (s *CloneStackInput) SetDefaultOs(v string) *CloneStackInput
SetDefaultOs sets the DefaultOs field's value.
func (*CloneStackInput) SetDefaultRootDeviceType ¶
func (s *CloneStackInput) SetDefaultRootDeviceType(v RootDeviceType) *CloneStackInput
SetDefaultRootDeviceType sets the DefaultRootDeviceType field's value.
func (*CloneStackInput) SetDefaultSshKeyName ¶
func (s *CloneStackInput) SetDefaultSshKeyName(v string) *CloneStackInput
SetDefaultSshKeyName sets the DefaultSshKeyName field's value.
func (*CloneStackInput) SetDefaultSubnetId ¶
func (s *CloneStackInput) SetDefaultSubnetId(v string) *CloneStackInput
SetDefaultSubnetId sets the DefaultSubnetId field's value.
func (*CloneStackInput) SetHostnameTheme ¶
func (s *CloneStackInput) SetHostnameTheme(v string) *CloneStackInput
SetHostnameTheme sets the HostnameTheme field's value.
func (*CloneStackInput) SetName ¶
func (s *CloneStackInput) SetName(v string) *CloneStackInput
SetName sets the Name field's value.
func (*CloneStackInput) SetRegion ¶
func (s *CloneStackInput) SetRegion(v string) *CloneStackInput
SetRegion sets the Region field's value.
func (*CloneStackInput) SetServiceRoleArn ¶
func (s *CloneStackInput) SetServiceRoleArn(v string) *CloneStackInput
SetServiceRoleArn sets the ServiceRoleArn field's value.
func (*CloneStackInput) SetSourceStackId ¶
func (s *CloneStackInput) SetSourceStackId(v string) *CloneStackInput
SetSourceStackId sets the SourceStackId field's value.
func (*CloneStackInput) SetUseCustomCookbooks ¶
func (s *CloneStackInput) SetUseCustomCookbooks(v bool) *CloneStackInput
SetUseCustomCookbooks sets the UseCustomCookbooks field's value.
func (*CloneStackInput) SetUseOpsworksSecurityGroups ¶
func (s *CloneStackInput) SetUseOpsworksSecurityGroups(v bool) *CloneStackInput
SetUseOpsworksSecurityGroups sets the UseOpsworksSecurityGroups field's value.
func (*CloneStackInput) SetVpcId ¶
func (s *CloneStackInput) SetVpcId(v string) *CloneStackInput
SetVpcId sets the VpcId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStackResult
func (CloneStackOutput) GoString ¶
func (s CloneStackOutput) GoString() string
GoString returns the string representation
func (CloneStackOutput) SDKResponseMetadata ¶
func (s CloneStackOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CloneStackOutput) SetStackId ¶
func (s *CloneStackOutput) SetStackId(v string) *CloneStackOutput
SetStackId sets the StackId field's value.
func (CloneStackOutput) String ¶
func (s CloneStackOutput) String() string
String returns the string representation
type CloneStackRequest ¶
type CloneStackRequest struct { *aws.Request Input *CloneStackInput }
CloneStackRequest is a API request type for the CloneStack API operation.
func (CloneStackRequest) Send ¶
func (r CloneStackRequest) Send() (*CloneStackOutput, error)
Send marshals and sends the CloneStack API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloudWatchLogsConfiguration
func (CloudWatchLogsConfiguration) GoString ¶
func (s CloudWatchLogsConfiguration) GoString() string
GoString returns the string representation
func (*CloudWatchLogsConfiguration) SetEnabled ¶
func (s *CloudWatchLogsConfiguration) SetEnabled(v bool) *CloudWatchLogsConfiguration
SetEnabled sets the Enabled field's value.
func (*CloudWatchLogsConfiguration) SetLogStreams ¶
func (s *CloudWatchLogsConfiguration) SetLogStreams(v []CloudWatchLogsLogStream) *CloudWatchLogsConfiguration
SetLogStreams sets the LogStreams field's value.
func (CloudWatchLogsConfiguration) String ¶
func (s CloudWatchLogsConfiguration) String() 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
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
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 (http://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 (http://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html). Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloudWatchLogsLogStream
func (CloudWatchLogsLogStream) GoString ¶
func (s CloudWatchLogsLogStream) GoString() string
GoString returns the string representation
func (*CloudWatchLogsLogStream) SetBatchCount ¶
func (s *CloudWatchLogsLogStream) SetBatchCount(v int64) *CloudWatchLogsLogStream
SetBatchCount sets the BatchCount field's value.
func (*CloudWatchLogsLogStream) SetBatchSize ¶
func (s *CloudWatchLogsLogStream) SetBatchSize(v int64) *CloudWatchLogsLogStream
SetBatchSize sets the BatchSize field's value.
func (*CloudWatchLogsLogStream) SetBufferDuration ¶
func (s *CloudWatchLogsLogStream) SetBufferDuration(v int64) *CloudWatchLogsLogStream
SetBufferDuration sets the BufferDuration field's value.
func (*CloudWatchLogsLogStream) SetDatetimeFormat ¶
func (s *CloudWatchLogsLogStream) SetDatetimeFormat(v string) *CloudWatchLogsLogStream
SetDatetimeFormat sets the DatetimeFormat field's value.
func (*CloudWatchLogsLogStream) SetEncoding ¶
func (s *CloudWatchLogsLogStream) SetEncoding(v CloudWatchLogsEncoding) *CloudWatchLogsLogStream
SetEncoding sets the Encoding field's value.
func (*CloudWatchLogsLogStream) SetFile ¶
func (s *CloudWatchLogsLogStream) SetFile(v string) *CloudWatchLogsLogStream
SetFile sets the File field's value.
func (*CloudWatchLogsLogStream) SetFileFingerprintLines ¶
func (s *CloudWatchLogsLogStream) SetFileFingerprintLines(v string) *CloudWatchLogsLogStream
SetFileFingerprintLines sets the FileFingerprintLines field's value.
func (*CloudWatchLogsLogStream) SetInitialPosition ¶
func (s *CloudWatchLogsLogStream) SetInitialPosition(v CloudWatchLogsInitialPosition) *CloudWatchLogsLogStream
SetInitialPosition sets the InitialPosition field's value.
func (*CloudWatchLogsLogStream) SetLogGroupName ¶
func (s *CloudWatchLogsLogStream) SetLogGroupName(v string) *CloudWatchLogsLogStream
SetLogGroupName sets the LogGroupName field's value.
func (*CloudWatchLogsLogStream) SetMultiLineStartPattern ¶
func (s *CloudWatchLogsLogStream) SetMultiLineStartPattern(v string) *CloudWatchLogsLogStream
SetMultiLineStartPattern sets the MultiLineStartPattern field's value.
func (*CloudWatchLogsLogStream) SetTimeZone ¶
func (s *CloudWatchLogsLogStream) SetTimeZone(v CloudWatchLogsTimeZone) *CloudWatchLogsLogStream
SetTimeZone sets the TimeZone field's value.
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
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Command
func (*Command) SetAcknowledgedAt ¶
SetAcknowledgedAt sets the AcknowledgedAt field's value.
func (*Command) SetCommandId ¶
SetCommandId sets the CommandId field's value.
func (*Command) SetCompletedAt ¶
SetCompletedAt sets the CompletedAt field's value.
func (*Command) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field's value.
func (*Command) SetDeploymentId ¶
SetDeploymentId sets the DeploymentId field's value.
func (*Command) SetExitCode ¶
SetExitCode sets the ExitCode field's value.
func (*Command) SetInstanceId ¶
SetInstanceId sets the InstanceId field's value.
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 (http://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 10 KB (10240 Bytes). // 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 10KB)." // // This parameter is supported only by Chef 11.10 stacks. 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateAppRequest
func (CreateAppInput) GoString ¶
func (s CreateAppInput) GoString() string
GoString returns the string representation
func (*CreateAppInput) SetAppSource ¶
func (s *CreateAppInput) SetAppSource(v *Source) *CreateAppInput
SetAppSource sets the AppSource field's value.
func (*CreateAppInput) SetAttributes ¶
func (s *CreateAppInput) SetAttributes(v map[string]string) *CreateAppInput
SetAttributes sets the Attributes field's value.
func (*CreateAppInput) SetDataSources ¶
func (s *CreateAppInput) SetDataSources(v []DataSource) *CreateAppInput
SetDataSources sets the DataSources field's value.
func (*CreateAppInput) SetDescription ¶
func (s *CreateAppInput) SetDescription(v string) *CreateAppInput
SetDescription sets the Description field's value.
func (*CreateAppInput) SetDomains ¶
func (s *CreateAppInput) SetDomains(v []string) *CreateAppInput
SetDomains sets the Domains field's value.
func (*CreateAppInput) SetEnableSsl ¶
func (s *CreateAppInput) SetEnableSsl(v bool) *CreateAppInput
SetEnableSsl sets the EnableSsl field's value.
func (*CreateAppInput) SetEnvironment ¶
func (s *CreateAppInput) SetEnvironment(v []EnvironmentVariable) *CreateAppInput
SetEnvironment sets the Environment field's value.
func (*CreateAppInput) SetName ¶
func (s *CreateAppInput) SetName(v string) *CreateAppInput
SetName sets the Name field's value.
func (*CreateAppInput) SetShortname ¶
func (s *CreateAppInput) SetShortname(v string) *CreateAppInput
SetShortname sets the Shortname field's value.
func (*CreateAppInput) SetSslConfiguration ¶
func (s *CreateAppInput) SetSslConfiguration(v *SslConfiguration) *CreateAppInput
SetSslConfiguration sets the SslConfiguration field's value.
func (*CreateAppInput) SetStackId ¶
func (s *CreateAppInput) SetStackId(v string) *CreateAppInput
SetStackId sets the StackId field's value.
func (*CreateAppInput) SetType ¶
func (s *CreateAppInput) SetType(v AppType) *CreateAppInput
SetType sets the Type field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateAppResult
func (CreateAppOutput) GoString ¶
func (s CreateAppOutput) GoString() string
GoString returns the string representation
func (CreateAppOutput) SDKResponseMetadata ¶
func (s CreateAppOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateAppOutput) SetAppId ¶
func (s *CreateAppOutput) SetAppId(v string) *CreateAppOutput
SetAppId sets the AppId field's value.
func (CreateAppOutput) String ¶
func (s CreateAppOutput) String() string
String returns the string representation
type CreateAppRequest ¶
type CreateAppRequest struct { *aws.Request Input *CreateAppInput }
CreateAppRequest is a API request type for the CreateApp API operation.
func (CreateAppRequest) Send ¶
func (r CreateAppRequest) Send() (*CreateAppOutput, error)
Send marshals and sends the CreateApp API 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. 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 on custom JSON, see Use Custom JSON to Modify the Stack // Configuration Attributes (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-json.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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeploymentRequest
func (CreateDeploymentInput) GoString ¶
func (s CreateDeploymentInput) GoString() string
GoString returns the string representation
func (*CreateDeploymentInput) SetAppId ¶
func (s *CreateDeploymentInput) SetAppId(v string) *CreateDeploymentInput
SetAppId sets the AppId field's value.
func (*CreateDeploymentInput) SetCommand ¶
func (s *CreateDeploymentInput) SetCommand(v *DeploymentCommand) *CreateDeploymentInput
SetCommand sets the Command field's value.
func (*CreateDeploymentInput) SetComment ¶
func (s *CreateDeploymentInput) SetComment(v string) *CreateDeploymentInput
SetComment sets the Comment field's value.
func (*CreateDeploymentInput) SetCustomJson ¶
func (s *CreateDeploymentInput) SetCustomJson(v string) *CreateDeploymentInput
SetCustomJson sets the CustomJson field's value.
func (*CreateDeploymentInput) SetInstanceIds ¶
func (s *CreateDeploymentInput) SetInstanceIds(v []string) *CreateDeploymentInput
SetInstanceIds sets the InstanceIds field's value.
func (*CreateDeploymentInput) SetLayerIds ¶
func (s *CreateDeploymentInput) SetLayerIds(v []string) *CreateDeploymentInput
SetLayerIds sets the LayerIds field's value.
func (*CreateDeploymentInput) SetStackId ¶
func (s *CreateDeploymentInput) SetStackId(v string) *CreateDeploymentInput
SetStackId sets the StackId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeploymentResult
func (CreateDeploymentOutput) GoString ¶
func (s CreateDeploymentOutput) GoString() string
GoString returns the string representation
func (CreateDeploymentOutput) SDKResponseMetadata ¶
func (s CreateDeploymentOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateDeploymentOutput) SetDeploymentId ¶
func (s *CreateDeploymentOutput) SetDeploymentId(v string) *CreateDeploymentOutput
SetDeploymentId sets the DeploymentId field's value.
func (CreateDeploymentOutput) String ¶
func (s CreateDeploymentOutput) String() string
String returns the string representation
type CreateDeploymentRequest ¶
type CreateDeploymentRequest struct { *aws.Request Input *CreateDeploymentInput }
CreateDeploymentRequest is a API request type for the CreateDeployment API operation.
func (CreateDeploymentRequest) Send ¶
func (r CreateDeploymentRequest) Send() (*CreateDeploymentOutput, error)
Send marshals and sends the CreateDeployment API 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 (http://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 (http://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 // (http://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 (http://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 (http://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 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 on the supported operating systems, see AWS OpsWorks // Stacks Operating Systems (http://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 on the supported operating systems, // see Operating Systems (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html)For // more information on how to use custom AMIs with AWS OpsWorks Stacks, see // Using Custom AMIs (http://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 (http://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 (http://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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstanceRequest
func (CreateInstanceInput) GoString ¶
func (s CreateInstanceInput) GoString() string
GoString returns the string representation
func (*CreateInstanceInput) SetAgentVersion ¶
func (s *CreateInstanceInput) SetAgentVersion(v string) *CreateInstanceInput
SetAgentVersion sets the AgentVersion field's value.
func (*CreateInstanceInput) SetAmiId ¶
func (s *CreateInstanceInput) SetAmiId(v string) *CreateInstanceInput
SetAmiId sets the AmiId field's value.
func (*CreateInstanceInput) SetArchitecture ¶
func (s *CreateInstanceInput) SetArchitecture(v Architecture) *CreateInstanceInput
SetArchitecture sets the Architecture field's value.
func (*CreateInstanceInput) SetAutoScalingType ¶
func (s *CreateInstanceInput) SetAutoScalingType(v AutoScalingType) *CreateInstanceInput
SetAutoScalingType sets the AutoScalingType field's value.
func (*CreateInstanceInput) SetAvailabilityZone ¶
func (s *CreateInstanceInput) SetAvailabilityZone(v string) *CreateInstanceInput
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*CreateInstanceInput) SetBlockDeviceMappings ¶
func (s *CreateInstanceInput) SetBlockDeviceMappings(v []BlockDeviceMapping) *CreateInstanceInput
SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
func (*CreateInstanceInput) SetEbsOptimized ¶
func (s *CreateInstanceInput) SetEbsOptimized(v bool) *CreateInstanceInput
SetEbsOptimized sets the EbsOptimized field's value.
func (*CreateInstanceInput) SetHostname ¶
func (s *CreateInstanceInput) SetHostname(v string) *CreateInstanceInput
SetHostname sets the Hostname field's value.
func (*CreateInstanceInput) SetInstallUpdatesOnBoot ¶
func (s *CreateInstanceInput) SetInstallUpdatesOnBoot(v bool) *CreateInstanceInput
SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value.
func (*CreateInstanceInput) SetInstanceType ¶
func (s *CreateInstanceInput) SetInstanceType(v string) *CreateInstanceInput
SetInstanceType sets the InstanceType field's value.
func (*CreateInstanceInput) SetLayerIds ¶
func (s *CreateInstanceInput) SetLayerIds(v []string) *CreateInstanceInput
SetLayerIds sets the LayerIds field's value.
func (*CreateInstanceInput) SetOs ¶
func (s *CreateInstanceInput) SetOs(v string) *CreateInstanceInput
SetOs sets the Os field's value.
func (*CreateInstanceInput) SetRootDeviceType ¶
func (s *CreateInstanceInput) SetRootDeviceType(v RootDeviceType) *CreateInstanceInput
SetRootDeviceType sets the RootDeviceType field's value.
func (*CreateInstanceInput) SetSshKeyName ¶
func (s *CreateInstanceInput) SetSshKeyName(v string) *CreateInstanceInput
SetSshKeyName sets the SshKeyName field's value.
func (*CreateInstanceInput) SetStackId ¶
func (s *CreateInstanceInput) SetStackId(v string) *CreateInstanceInput
SetStackId sets the StackId field's value.
func (*CreateInstanceInput) SetSubnetId ¶
func (s *CreateInstanceInput) SetSubnetId(v string) *CreateInstanceInput
SetSubnetId sets the SubnetId field's value.
func (*CreateInstanceInput) SetTenancy ¶
func (s *CreateInstanceInput) SetTenancy(v string) *CreateInstanceInput
SetTenancy sets the Tenancy field's value.
func (*CreateInstanceInput) SetVirtualizationType ¶
func (s *CreateInstanceInput) SetVirtualizationType(v string) *CreateInstanceInput
SetVirtualizationType sets the VirtualizationType field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstanceResult
func (CreateInstanceOutput) GoString ¶
func (s CreateInstanceOutput) GoString() string
GoString returns the string representation
func (CreateInstanceOutput) SDKResponseMetadata ¶
func (s CreateInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateInstanceOutput) SetInstanceId ¶
func (s *CreateInstanceOutput) SetInstanceId(v string) *CreateInstanceOutput
SetInstanceId sets the InstanceId field's value.
func (CreateInstanceOutput) String ¶
func (s CreateInstanceOutput) String() string
String returns the string representation
type CreateInstanceRequest ¶
type CreateInstanceRequest struct { *aws.Request Input *CreateInstanceInput }
CreateInstanceRequest is a API request type for the CreateInstance API operation.
func (CreateInstanceRequest) Send ¶
func (r CreateInstanceRequest) Send() (*CreateInstanceOutput, error)
Send marshals and sends the CreateInstance API 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 (http://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 (http://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 (http://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 (http://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 (http://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 (http://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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayerRequest
func (CreateLayerInput) GoString ¶
func (s CreateLayerInput) GoString() string
GoString returns the string representation
func (*CreateLayerInput) SetAttributes ¶
func (s *CreateLayerInput) SetAttributes(v map[string]string) *CreateLayerInput
SetAttributes sets the Attributes field's value.
func (*CreateLayerInput) SetAutoAssignElasticIps ¶
func (s *CreateLayerInput) SetAutoAssignElasticIps(v bool) *CreateLayerInput
SetAutoAssignElasticIps sets the AutoAssignElasticIps field's value.
func (*CreateLayerInput) SetAutoAssignPublicIps ¶
func (s *CreateLayerInput) SetAutoAssignPublicIps(v bool) *CreateLayerInput
SetAutoAssignPublicIps sets the AutoAssignPublicIps field's value.
func (*CreateLayerInput) SetCloudWatchLogsConfiguration ¶
func (s *CreateLayerInput) SetCloudWatchLogsConfiguration(v *CloudWatchLogsConfiguration) *CreateLayerInput
SetCloudWatchLogsConfiguration sets the CloudWatchLogsConfiguration field's value.
func (*CreateLayerInput) SetCustomInstanceProfileArn ¶
func (s *CreateLayerInput) SetCustomInstanceProfileArn(v string) *CreateLayerInput
SetCustomInstanceProfileArn sets the CustomInstanceProfileArn field's value.
func (*CreateLayerInput) SetCustomJson ¶
func (s *CreateLayerInput) SetCustomJson(v string) *CreateLayerInput
SetCustomJson sets the CustomJson field's value.
func (*CreateLayerInput) SetCustomRecipes ¶
func (s *CreateLayerInput) SetCustomRecipes(v *Recipes) *CreateLayerInput
SetCustomRecipes sets the CustomRecipes field's value.
func (*CreateLayerInput) SetCustomSecurityGroupIds ¶
func (s *CreateLayerInput) SetCustomSecurityGroupIds(v []string) *CreateLayerInput
SetCustomSecurityGroupIds sets the CustomSecurityGroupIds field's value.
func (*CreateLayerInput) SetEnableAutoHealing ¶
func (s *CreateLayerInput) SetEnableAutoHealing(v bool) *CreateLayerInput
SetEnableAutoHealing sets the EnableAutoHealing field's value.
func (*CreateLayerInput) SetInstallUpdatesOnBoot ¶
func (s *CreateLayerInput) SetInstallUpdatesOnBoot(v bool) *CreateLayerInput
SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value.
func (*CreateLayerInput) SetLifecycleEventConfiguration ¶
func (s *CreateLayerInput) SetLifecycleEventConfiguration(v *LifecycleEventConfiguration) *CreateLayerInput
SetLifecycleEventConfiguration sets the LifecycleEventConfiguration field's value.
func (*CreateLayerInput) SetName ¶
func (s *CreateLayerInput) SetName(v string) *CreateLayerInput
SetName sets the Name field's value.
func (*CreateLayerInput) SetPackages ¶
func (s *CreateLayerInput) SetPackages(v []string) *CreateLayerInput
SetPackages sets the Packages field's value.
func (*CreateLayerInput) SetShortname ¶
func (s *CreateLayerInput) SetShortname(v string) *CreateLayerInput
SetShortname sets the Shortname field's value.
func (*CreateLayerInput) SetStackId ¶
func (s *CreateLayerInput) SetStackId(v string) *CreateLayerInput
SetStackId sets the StackId field's value.
func (*CreateLayerInput) SetType ¶
func (s *CreateLayerInput) SetType(v LayerType) *CreateLayerInput
SetType sets the Type field's value.
func (*CreateLayerInput) SetUseEbsOptimizedInstances ¶
func (s *CreateLayerInput) SetUseEbsOptimizedInstances(v bool) *CreateLayerInput
SetUseEbsOptimizedInstances sets the UseEbsOptimizedInstances field's value.
func (*CreateLayerInput) SetVolumeConfigurations ¶
func (s *CreateLayerInput) SetVolumeConfigurations(v []VolumeConfiguration) *CreateLayerInput
SetVolumeConfigurations sets the VolumeConfigurations field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayerResult
func (CreateLayerOutput) GoString ¶
func (s CreateLayerOutput) GoString() string
GoString returns the string representation
func (CreateLayerOutput) SDKResponseMetadata ¶
func (s CreateLayerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateLayerOutput) SetLayerId ¶
func (s *CreateLayerOutput) SetLayerId(v string) *CreateLayerOutput
SetLayerId sets the LayerId field's value.
func (CreateLayerOutput) String ¶
func (s CreateLayerOutput) String() string
String returns the string representation
type CreateLayerRequest ¶
type CreateLayerRequest struct { *aws.Request Input *CreateLayerInput }
CreateLayerRequest is a API request type for the CreateLayer API operation.
func (CreateLayerRequest) Send ¶
func (r CreateLayerRequest) Send() (*CreateLayerOutput, error)
Send marshals and sends the CreateLayer API 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 (http://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 11.4. ConfigurationManager *StackConfigurationManager `type:"structure"` // Contains the information required to retrieve an app or cookbook from a repository. // For more information, see Creating Apps (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html) // or Custom Recipes and Cookbooks (http://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 on custom JSON, see Use Custom JSON to Modify the Stack // Configuration Attributes (http://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 (http://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 (http://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 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html). // // The default option is the current Amazon Linux version. For more information // on the supported operating systems, see AWS OpsWorks Stacks Operating Systems // (http://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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html) // and Managing SSH Access (http://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 (http://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 // // * 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 (http://docs.aws.amazon.com/general/latest/gr/rande.html). // // 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 (http://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 (http://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 on how to use AWS OpsWorks Stacks with a VPC, see Running // a Stack in a VPC (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-vpc.html). // For more information on default VPC and EC2-Classic, see Supported Platforms // (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-platforms.html). VpcId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStackRequest
func (CreateStackInput) GoString ¶
func (s CreateStackInput) GoString() string
GoString returns the string representation
func (*CreateStackInput) SetAgentVersion ¶
func (s *CreateStackInput) SetAgentVersion(v string) *CreateStackInput
SetAgentVersion sets the AgentVersion field's value.
func (*CreateStackInput) SetAttributes ¶
func (s *CreateStackInput) SetAttributes(v map[string]string) *CreateStackInput
SetAttributes sets the Attributes field's value.
func (*CreateStackInput) SetChefConfiguration ¶
func (s *CreateStackInput) SetChefConfiguration(v *ChefConfiguration) *CreateStackInput
SetChefConfiguration sets the ChefConfiguration field's value.
func (*CreateStackInput) SetConfigurationManager ¶
func (s *CreateStackInput) SetConfigurationManager(v *StackConfigurationManager) *CreateStackInput
SetConfigurationManager sets the ConfigurationManager field's value.
func (*CreateStackInput) SetCustomCookbooksSource ¶
func (s *CreateStackInput) SetCustomCookbooksSource(v *Source) *CreateStackInput
SetCustomCookbooksSource sets the CustomCookbooksSource field's value.
func (*CreateStackInput) SetCustomJson ¶
func (s *CreateStackInput) SetCustomJson(v string) *CreateStackInput
SetCustomJson sets the CustomJson field's value.
func (*CreateStackInput) SetDefaultAvailabilityZone ¶
func (s *CreateStackInput) SetDefaultAvailabilityZone(v string) *CreateStackInput
SetDefaultAvailabilityZone sets the DefaultAvailabilityZone field's value.
func (*CreateStackInput) SetDefaultInstanceProfileArn ¶
func (s *CreateStackInput) SetDefaultInstanceProfileArn(v string) *CreateStackInput
SetDefaultInstanceProfileArn sets the DefaultInstanceProfileArn field's value.
func (*CreateStackInput) SetDefaultOs ¶
func (s *CreateStackInput) SetDefaultOs(v string) *CreateStackInput
SetDefaultOs sets the DefaultOs field's value.
func (*CreateStackInput) SetDefaultRootDeviceType ¶
func (s *CreateStackInput) SetDefaultRootDeviceType(v RootDeviceType) *CreateStackInput
SetDefaultRootDeviceType sets the DefaultRootDeviceType field's value.
func (*CreateStackInput) SetDefaultSshKeyName ¶
func (s *CreateStackInput) SetDefaultSshKeyName(v string) *CreateStackInput
SetDefaultSshKeyName sets the DefaultSshKeyName field's value.
func (*CreateStackInput) SetDefaultSubnetId ¶
func (s *CreateStackInput) SetDefaultSubnetId(v string) *CreateStackInput
SetDefaultSubnetId sets the DefaultSubnetId field's value.
func (*CreateStackInput) SetHostnameTheme ¶
func (s *CreateStackInput) SetHostnameTheme(v string) *CreateStackInput
SetHostnameTheme sets the HostnameTheme field's value.
func (*CreateStackInput) SetName ¶
func (s *CreateStackInput) SetName(v string) *CreateStackInput
SetName sets the Name field's value.
func (*CreateStackInput) SetRegion ¶
func (s *CreateStackInput) SetRegion(v string) *CreateStackInput
SetRegion sets the Region field's value.
func (*CreateStackInput) SetServiceRoleArn ¶
func (s *CreateStackInput) SetServiceRoleArn(v string) *CreateStackInput
SetServiceRoleArn sets the ServiceRoleArn field's value.
func (*CreateStackInput) SetUseCustomCookbooks ¶
func (s *CreateStackInput) SetUseCustomCookbooks(v bool) *CreateStackInput
SetUseCustomCookbooks sets the UseCustomCookbooks field's value.
func (*CreateStackInput) SetUseOpsworksSecurityGroups ¶
func (s *CreateStackInput) SetUseOpsworksSecurityGroups(v bool) *CreateStackInput
SetUseOpsworksSecurityGroups sets the UseOpsworksSecurityGroups field's value.
func (*CreateStackInput) SetVpcId ¶
func (s *CreateStackInput) SetVpcId(v string) *CreateStackInput
SetVpcId sets the VpcId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStackResult
func (CreateStackOutput) GoString ¶
func (s CreateStackOutput) GoString() string
GoString returns the string representation
func (CreateStackOutput) SDKResponseMetadata ¶
func (s CreateStackOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateStackOutput) SetStackId ¶
func (s *CreateStackOutput) SetStackId(v string) *CreateStackOutput
SetStackId sets the StackId field's value.
func (CreateStackOutput) String ¶
func (s CreateStackOutput) String() string
String returns the string representation
type CreateStackRequest ¶
type CreateStackRequest struct { *aws.Request Input *CreateStackInput }
CreateStackRequest is a API request type for the CreateStack API operation.
func (CreateStackRequest) Send ¶
func (r CreateStackRequest) Send() (*CreateStackOutput, error)
Send marshals and sends the CreateStack API 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 (http://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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfileRequest
func (CreateUserProfileInput) GoString ¶
func (s CreateUserProfileInput) GoString() string
GoString returns the string representation
func (*CreateUserProfileInput) SetAllowSelfManagement ¶
func (s *CreateUserProfileInput) SetAllowSelfManagement(v bool) *CreateUserProfileInput
SetAllowSelfManagement sets the AllowSelfManagement field's value.
func (*CreateUserProfileInput) SetIamUserArn ¶
func (s *CreateUserProfileInput) SetIamUserArn(v string) *CreateUserProfileInput
SetIamUserArn sets the IamUserArn field's value.
func (*CreateUserProfileInput) SetSshPublicKey ¶
func (s *CreateUserProfileInput) SetSshPublicKey(v string) *CreateUserProfileInput
SetSshPublicKey sets the SshPublicKey field's value.
func (*CreateUserProfileInput) SetSshUsername ¶
func (s *CreateUserProfileInput) SetSshUsername(v string) *CreateUserProfileInput
SetSshUsername sets the SshUsername field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfileResult
func (CreateUserProfileOutput) GoString ¶
func (s CreateUserProfileOutput) GoString() string
GoString returns the string representation
func (CreateUserProfileOutput) SDKResponseMetadata ¶
func (s CreateUserProfileOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*CreateUserProfileOutput) SetIamUserArn ¶
func (s *CreateUserProfileOutput) SetIamUserArn(v string) *CreateUserProfileOutput
SetIamUserArn sets the IamUserArn field's value.
func (CreateUserProfileOutput) String ¶
func (s CreateUserProfileOutput) String() string
String returns the string representation
type CreateUserProfileRequest ¶
type CreateUserProfileRequest struct { *aws.Request Input *CreateUserProfileInput }
CreateUserProfileRequest is a API request type for the CreateUserProfile API operation.
func (CreateUserProfileRequest) Send ¶
func (r CreateUserProfileRequest) Send() (*CreateUserProfileOutput, error)
Send marshals and sends the CreateUserProfile API 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, // or RdsDbInstance. Type *string `type:"string"` // contains filtered or unexported fields }
Describes an app's data source. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DataSource
func (DataSource) GoString ¶
func (s DataSource) GoString() string
GoString returns the string representation
func (*DataSource) SetArn ¶
func (s *DataSource) SetArn(v string) *DataSource
SetArn sets the Arn field's value.
func (*DataSource) SetDatabaseName ¶
func (s *DataSource) SetDatabaseName(v string) *DataSource
SetDatabaseName sets the DatabaseName field's value.
func (*DataSource) SetType ¶
func (s *DataSource) SetType(v string) *DataSource
SetType sets the Type field's value.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteAppRequest
func (DeleteAppInput) GoString ¶
func (s DeleteAppInput) GoString() string
GoString returns the string representation
func (*DeleteAppInput) SetAppId ¶
func (s *DeleteAppInput) SetAppId(v string) *DeleteAppInput
SetAppId sets the AppId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteAppOutput
func (DeleteAppOutput) GoString ¶
func (s DeleteAppOutput) GoString() string
GoString returns the string representation
func (DeleteAppOutput) SDKResponseMetadata ¶
func (s DeleteAppOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteAppOutput) String ¶
func (s DeleteAppOutput) String() string
String returns the string representation
type DeleteAppRequest ¶
type DeleteAppRequest struct { *aws.Request Input *DeleteAppInput }
DeleteAppRequest is a API request type for the DeleteApp API operation.
func (DeleteAppRequest) Send ¶
func (r DeleteAppRequest) Send() (*DeleteAppOutput, error)
Send marshals and sends the DeleteApp API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstanceRequest
func (DeleteInstanceInput) GoString ¶
func (s DeleteInstanceInput) GoString() string
GoString returns the string representation
func (*DeleteInstanceInput) SetDeleteElasticIp ¶
func (s *DeleteInstanceInput) SetDeleteElasticIp(v bool) *DeleteInstanceInput
SetDeleteElasticIp sets the DeleteElasticIp field's value.
func (*DeleteInstanceInput) SetDeleteVolumes ¶
func (s *DeleteInstanceInput) SetDeleteVolumes(v bool) *DeleteInstanceInput
SetDeleteVolumes sets the DeleteVolumes field's value.
func (*DeleteInstanceInput) SetInstanceId ¶
func (s *DeleteInstanceInput) SetInstanceId(v string) *DeleteInstanceInput
SetInstanceId sets the InstanceId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstanceOutput
func (DeleteInstanceOutput) GoString ¶
func (s DeleteInstanceOutput) GoString() string
GoString returns the string representation
func (DeleteInstanceOutput) SDKResponseMetadata ¶
func (s DeleteInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteInstanceOutput) String ¶
func (s DeleteInstanceOutput) String() string
String returns the string representation
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct { *aws.Request Input *DeleteInstanceInput }
DeleteInstanceRequest is a API request type for the DeleteInstance API operation.
func (DeleteInstanceRequest) Send ¶
func (r DeleteInstanceRequest) Send() (*DeleteInstanceOutput, error)
Send marshals and sends the DeleteInstance API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayerRequest
func (DeleteLayerInput) GoString ¶
func (s DeleteLayerInput) GoString() string
GoString returns the string representation
func (*DeleteLayerInput) SetLayerId ¶
func (s *DeleteLayerInput) SetLayerId(v string) *DeleteLayerInput
SetLayerId sets the LayerId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayerOutput
func (DeleteLayerOutput) GoString ¶
func (s DeleteLayerOutput) GoString() string
GoString returns the string representation
func (DeleteLayerOutput) SDKResponseMetadata ¶
func (s DeleteLayerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteLayerOutput) String ¶
func (s DeleteLayerOutput) String() string
String returns the string representation
type DeleteLayerRequest ¶
type DeleteLayerRequest struct { *aws.Request Input *DeleteLayerInput }
DeleteLayerRequest is a API request type for the DeleteLayer API operation.
func (DeleteLayerRequest) Send ¶
func (r DeleteLayerRequest) Send() (*DeleteLayerOutput, error)
Send marshals and sends the DeleteLayer API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStackRequest
func (DeleteStackInput) GoString ¶
func (s DeleteStackInput) GoString() string
GoString returns the string representation
func (*DeleteStackInput) SetStackId ¶
func (s *DeleteStackInput) SetStackId(v string) *DeleteStackInput
SetStackId sets the StackId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStackOutput
func (DeleteStackOutput) GoString ¶
func (s DeleteStackOutput) GoString() string
GoString returns the string representation
func (DeleteStackOutput) SDKResponseMetadata ¶
func (s DeleteStackOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteStackOutput) String ¶
func (s DeleteStackOutput) String() string
String returns the string representation
type DeleteStackRequest ¶
type DeleteStackRequest struct { *aws.Request Input *DeleteStackInput }
DeleteStackRequest is a API request type for the DeleteStack API operation.
func (DeleteStackRequest) Send ¶
func (r DeleteStackRequest) Send() (*DeleteStackOutput, error)
Send marshals and sends the DeleteStack API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfileRequest
func (DeleteUserProfileInput) GoString ¶
func (s DeleteUserProfileInput) GoString() string
GoString returns the string representation
func (*DeleteUserProfileInput) SetIamUserArn ¶
func (s *DeleteUserProfileInput) SetIamUserArn(v string) *DeleteUserProfileInput
SetIamUserArn sets the IamUserArn field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfileOutput
func (DeleteUserProfileOutput) GoString ¶
func (s DeleteUserProfileOutput) GoString() string
GoString returns the string representation
func (DeleteUserProfileOutput) SDKResponseMetadata ¶
func (s DeleteUserProfileOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeleteUserProfileOutput) String ¶
func (s DeleteUserProfileOutput) String() string
String returns the string representation
type DeleteUserProfileRequest ¶
type DeleteUserProfileRequest struct { *aws.Request Input *DeleteUserProfileInput }
DeleteUserProfileRequest is a API request type for the DeleteUserProfile API operation.
func (DeleteUserProfileRequest) Send ¶
func (r DeleteUserProfileRequest) Send() (*DeleteUserProfileOutput, error)
Send marshals and sends the DeleteUserProfile API 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 (http://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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Deployment
func (Deployment) GoString ¶
func (s Deployment) GoString() string
GoString returns the string representation
func (*Deployment) SetAppId ¶
func (s *Deployment) SetAppId(v string) *Deployment
SetAppId sets the AppId field's value.
func (*Deployment) SetCommand ¶
func (s *Deployment) SetCommand(v *DeploymentCommand) *Deployment
SetCommand sets the Command field's value.
func (*Deployment) SetComment ¶
func (s *Deployment) SetComment(v string) *Deployment
SetComment sets the Comment field's value.
func (*Deployment) SetCompletedAt ¶
func (s *Deployment) SetCompletedAt(v string) *Deployment
SetCompletedAt sets the CompletedAt field's value.
func (*Deployment) SetCreatedAt ¶
func (s *Deployment) SetCreatedAt(v string) *Deployment
SetCreatedAt sets the CreatedAt field's value.
func (*Deployment) SetCustomJson ¶
func (s *Deployment) SetCustomJson(v string) *Deployment
SetCustomJson sets the CustomJson field's value.
func (*Deployment) SetDeploymentId ¶
func (s *Deployment) SetDeploymentId(v string) *Deployment
SetDeploymentId sets the DeploymentId field's value.
func (*Deployment) SetDuration ¶
func (s *Deployment) SetDuration(v int64) *Deployment
SetDuration sets the Duration field's value.
func (*Deployment) SetIamUserArn ¶
func (s *Deployment) SetIamUserArn(v string) *Deployment
SetIamUserArn sets the IamUserArn field's value.
func (*Deployment) SetInstanceIds ¶
func (s *Deployment) SetInstanceIds(v []string) *Deployment
SetInstanceIds sets the InstanceIds field's value.
func (*Deployment) SetStackId ¶
func (s *Deployment) SetStackId(v string) *Deployment
SetStackId sets the StackId field's value.
func (*Deployment) SetStatus ¶
func (s *Deployment) SetStatus(v string) *Deployment
SetStatus sets the Status field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeploymentCommand
func (DeploymentCommand) GoString ¶
func (s DeploymentCommand) GoString() string
GoString returns the string representation
func (*DeploymentCommand) SetArgs ¶
func (s *DeploymentCommand) SetArgs(v map[string][]string) *DeploymentCommand
SetArgs sets the Args field's value.
func (*DeploymentCommand) SetName ¶
func (s *DeploymentCommand) SetName(v DeploymentCommandName) *DeploymentCommand
SetName sets the Name field's value.
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
type DeregisterEcsClusterInput ¶
type DeregisterEcsClusterInput struct { // The cluster's ARN. // // EcsClusterArn is a required field EcsClusterArn *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsClusterRequest
func (DeregisterEcsClusterInput) GoString ¶
func (s DeregisterEcsClusterInput) GoString() string
GoString returns the string representation
func (*DeregisterEcsClusterInput) SetEcsClusterArn ¶
func (s *DeregisterEcsClusterInput) SetEcsClusterArn(v string) *DeregisterEcsClusterInput
SetEcsClusterArn sets the EcsClusterArn field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsClusterOutput
func (DeregisterEcsClusterOutput) GoString ¶
func (s DeregisterEcsClusterOutput) GoString() string
GoString returns the string representation
func (DeregisterEcsClusterOutput) SDKResponseMetadata ¶
func (s DeregisterEcsClusterOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeregisterEcsClusterOutput) String ¶
func (s DeregisterEcsClusterOutput) String() string
String returns the string representation
type DeregisterEcsClusterRequest ¶
type DeregisterEcsClusterRequest struct { *aws.Request Input *DeregisterEcsClusterInput }
DeregisterEcsClusterRequest is a API request type for the DeregisterEcsCluster API operation.
func (DeregisterEcsClusterRequest) Send ¶
func (r DeregisterEcsClusterRequest) Send() (*DeregisterEcsClusterOutput, error)
Send marshals and sends the DeregisterEcsCluster API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIpRequest
func (DeregisterElasticIpInput) GoString ¶
func (s DeregisterElasticIpInput) GoString() string
GoString returns the string representation
func (*DeregisterElasticIpInput) SetElasticIp ¶
func (s *DeregisterElasticIpInput) SetElasticIp(v string) *DeregisterElasticIpInput
SetElasticIp sets the ElasticIp field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIpOutput
func (DeregisterElasticIpOutput) GoString ¶
func (s DeregisterElasticIpOutput) GoString() string
GoString returns the string representation
func (DeregisterElasticIpOutput) SDKResponseMetadata ¶
func (s DeregisterElasticIpOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeregisterElasticIpOutput) String ¶
func (s DeregisterElasticIpOutput) String() string
String returns the string representation
type DeregisterElasticIpRequest ¶
type DeregisterElasticIpRequest struct { *aws.Request Input *DeregisterElasticIpInput }
DeregisterElasticIpRequest is a API request type for the DeregisterElasticIp API operation.
func (DeregisterElasticIpRequest) Send ¶
func (r DeregisterElasticIpRequest) Send() (*DeregisterElasticIpOutput, error)
Send marshals and sends the DeregisterElasticIp API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstanceRequest
func (DeregisterInstanceInput) GoString ¶
func (s DeregisterInstanceInput) GoString() string
GoString returns the string representation
func (*DeregisterInstanceInput) SetInstanceId ¶
func (s *DeregisterInstanceInput) SetInstanceId(v string) *DeregisterInstanceInput
SetInstanceId sets the InstanceId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstanceOutput
func (DeregisterInstanceOutput) GoString ¶
func (s DeregisterInstanceOutput) GoString() string
GoString returns the string representation
func (DeregisterInstanceOutput) SDKResponseMetadata ¶
func (s DeregisterInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeregisterInstanceOutput) String ¶
func (s DeregisterInstanceOutput) String() string
String returns the string representation
type DeregisterInstanceRequest ¶
type DeregisterInstanceRequest struct { *aws.Request Input *DeregisterInstanceInput }
DeregisterInstanceRequest is a API request type for the DeregisterInstance API operation.
func (DeregisterInstanceRequest) Send ¶
func (r DeregisterInstanceRequest) Send() (*DeregisterInstanceOutput, error)
Send marshals and sends the DeregisterInstance API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstanceRequest
func (DeregisterRdsDbInstanceInput) GoString ¶
func (s DeregisterRdsDbInstanceInput) GoString() string
GoString returns the string representation
func (*DeregisterRdsDbInstanceInput) SetRdsDbInstanceArn ¶
func (s *DeregisterRdsDbInstanceInput) SetRdsDbInstanceArn(v string) *DeregisterRdsDbInstanceInput
SetRdsDbInstanceArn sets the RdsDbInstanceArn field's value.
func (DeregisterRdsDbInstanceInput) String ¶
func (s DeregisterRdsDbInstanceInput) String() 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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstanceOutput
func (DeregisterRdsDbInstanceOutput) GoString ¶
func (s DeregisterRdsDbInstanceOutput) GoString() string
GoString returns the string representation
func (DeregisterRdsDbInstanceOutput) SDKResponseMetadata ¶
func (s DeregisterRdsDbInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeregisterRdsDbInstanceOutput) String ¶
func (s DeregisterRdsDbInstanceOutput) String() string
String returns the string representation
type DeregisterRdsDbInstanceRequest ¶
type DeregisterRdsDbInstanceRequest struct { *aws.Request Input *DeregisterRdsDbInstanceInput }
DeregisterRdsDbInstanceRequest is a API request type for the DeregisterRdsDbInstance API operation.
func (DeregisterRdsDbInstanceRequest) Send ¶
func (r DeregisterRdsDbInstanceRequest) Send() (*DeregisterRdsDbInstanceOutput, error)
Send marshals and sends the DeregisterRdsDbInstance API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolumeRequest
func (DeregisterVolumeInput) GoString ¶
func (s DeregisterVolumeInput) GoString() string
GoString returns the string representation
func (*DeregisterVolumeInput) SetVolumeId ¶
func (s *DeregisterVolumeInput) SetVolumeId(v string) *DeregisterVolumeInput
SetVolumeId sets the VolumeId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolumeOutput
func (DeregisterVolumeOutput) GoString ¶
func (s DeregisterVolumeOutput) GoString() string
GoString returns the string representation
func (DeregisterVolumeOutput) SDKResponseMetadata ¶
func (s DeregisterVolumeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DeregisterVolumeOutput) String ¶
func (s DeregisterVolumeOutput) String() string
String returns the string representation
type DeregisterVolumeRequest ¶
type DeregisterVolumeRequest struct { *aws.Request Input *DeregisterVolumeInput }
DeregisterVolumeRequest is a API request type for the DeregisterVolume API operation.
func (DeregisterVolumeRequest) Send ¶
func (r DeregisterVolumeRequest) Send() (*DeregisterVolumeOutput, error)
Send marshals and sends the DeregisterVolume API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersionsRequest
func (DescribeAgentVersionsInput) GoString ¶
func (s DescribeAgentVersionsInput) GoString() string
GoString returns the string representation
func (*DescribeAgentVersionsInput) SetConfigurationManager ¶
func (s *DescribeAgentVersionsInput) SetConfigurationManager(v *StackConfigurationManager) *DescribeAgentVersionsInput
SetConfigurationManager sets the ConfigurationManager field's value.
func (*DescribeAgentVersionsInput) SetStackId ¶
func (s *DescribeAgentVersionsInput) SetStackId(v string) *DescribeAgentVersionsInput
SetStackId sets the StackId field's value.
func (DescribeAgentVersionsInput) String ¶
func (s DescribeAgentVersionsInput) String() 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersionsResult
func (DescribeAgentVersionsOutput) GoString ¶
func (s DescribeAgentVersionsOutput) GoString() string
GoString returns the string representation
func (DescribeAgentVersionsOutput) SDKResponseMetadata ¶
func (s DescribeAgentVersionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeAgentVersionsOutput) SetAgentVersions ¶
func (s *DescribeAgentVersionsOutput) SetAgentVersions(v []AgentVersion) *DescribeAgentVersionsOutput
SetAgentVersions sets the AgentVersions field's value.
func (DescribeAgentVersionsOutput) String ¶
func (s DescribeAgentVersionsOutput) String() string
String returns the string representation
type DescribeAgentVersionsRequest ¶
type DescribeAgentVersionsRequest struct { *aws.Request Input *DescribeAgentVersionsInput }
DescribeAgentVersionsRequest is a API request type for the DescribeAgentVersions API operation.
func (DescribeAgentVersionsRequest) Send ¶
func (r DescribeAgentVersionsRequest) Send() (*DescribeAgentVersionsOutput, error)
Send marshals and sends the DescribeAgentVersions API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAppsRequest
func (DescribeAppsInput) GoString ¶
func (s DescribeAppsInput) GoString() string
GoString returns the string representation
func (*DescribeAppsInput) SetAppIds ¶
func (s *DescribeAppsInput) SetAppIds(v []string) *DescribeAppsInput
SetAppIds sets the AppIds field's value.
func (*DescribeAppsInput) SetStackId ¶
func (s *DescribeAppsInput) SetStackId(v string) *DescribeAppsInput
SetStackId sets the StackId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAppsResult
func (DescribeAppsOutput) GoString ¶
func (s DescribeAppsOutput) GoString() string
GoString returns the string representation
func (DescribeAppsOutput) SDKResponseMetadata ¶
func (s DescribeAppsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeAppsOutput) SetApps ¶
func (s *DescribeAppsOutput) SetApps(v []App) *DescribeAppsOutput
SetApps sets the Apps field's value.
func (DescribeAppsOutput) String ¶
func (s DescribeAppsOutput) String() string
String returns the string representation
type DescribeAppsRequest ¶
type DescribeAppsRequest struct { *aws.Request Input *DescribeAppsInput }
DescribeAppsRequest is a API request type for the DescribeApps API operation.
func (DescribeAppsRequest) Send ¶
func (r DescribeAppsRequest) Send() (*DescribeAppsOutput, error)
Send marshals and sends the DescribeApps API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommandsRequest
func (DescribeCommandsInput) GoString ¶
func (s DescribeCommandsInput) GoString() string
GoString returns the string representation
func (*DescribeCommandsInput) SetCommandIds ¶
func (s *DescribeCommandsInput) SetCommandIds(v []string) *DescribeCommandsInput
SetCommandIds sets the CommandIds field's value.
func (*DescribeCommandsInput) SetDeploymentId ¶
func (s *DescribeCommandsInput) SetDeploymentId(v string) *DescribeCommandsInput
SetDeploymentId sets the DeploymentId field's value.
func (*DescribeCommandsInput) SetInstanceId ¶
func (s *DescribeCommandsInput) SetInstanceId(v string) *DescribeCommandsInput
SetInstanceId sets the InstanceId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommandsResult
func (DescribeCommandsOutput) GoString ¶
func (s DescribeCommandsOutput) GoString() string
GoString returns the string representation
func (DescribeCommandsOutput) SDKResponseMetadata ¶
func (s DescribeCommandsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeCommandsOutput) SetCommands ¶
func (s *DescribeCommandsOutput) SetCommands(v []Command) *DescribeCommandsOutput
SetCommands sets the Commands field's value.
func (DescribeCommandsOutput) String ¶
func (s DescribeCommandsOutput) String() string
String returns the string representation
type DescribeCommandsRequest ¶
type DescribeCommandsRequest struct { *aws.Request Input *DescribeCommandsInput }
DescribeCommandsRequest is a API request type for the DescribeCommands API operation.
func (DescribeCommandsRequest) Send ¶
func (r DescribeCommandsRequest) Send() (*DescribeCommandsOutput, error)
Send marshals and sends the DescribeCommands API request.
type DescribeDeploymentsInput ¶
type DescribeDeploymentsInput struct { // The app ID. If you include this parameter, DescribeDeployments 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, // DescribeDeployments 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, DescribeDeployments returns // a description of the commands associated with the specified stack. StackId *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeploymentsRequest
func (DescribeDeploymentsInput) GoString ¶
func (s DescribeDeploymentsInput) GoString() string
GoString returns the string representation
func (*DescribeDeploymentsInput) SetAppId ¶
func (s *DescribeDeploymentsInput) SetAppId(v string) *DescribeDeploymentsInput
SetAppId sets the AppId field's value.
func (*DescribeDeploymentsInput) SetDeploymentIds ¶
func (s *DescribeDeploymentsInput) SetDeploymentIds(v []string) *DescribeDeploymentsInput
SetDeploymentIds sets the DeploymentIds field's value.
func (*DescribeDeploymentsInput) SetStackId ¶
func (s *DescribeDeploymentsInput) SetStackId(v string) *DescribeDeploymentsInput
SetStackId sets the StackId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeploymentsResult
func (DescribeDeploymentsOutput) GoString ¶
func (s DescribeDeploymentsOutput) GoString() string
GoString returns the string representation
func (DescribeDeploymentsOutput) SDKResponseMetadata ¶
func (s DescribeDeploymentsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeDeploymentsOutput) SetDeployments ¶
func (s *DescribeDeploymentsOutput) SetDeployments(v []Deployment) *DescribeDeploymentsOutput
SetDeployments sets the Deployments field's value.
func (DescribeDeploymentsOutput) String ¶
func (s DescribeDeploymentsOutput) String() string
String returns the string representation
type DescribeDeploymentsRequest ¶
type DescribeDeploymentsRequest struct { *aws.Request Input *DescribeDeploymentsInput }
DescribeDeploymentsRequest is a API request type for the DescribeDeployments API operation.
func (DescribeDeploymentsRequest) Send ¶
func (r DescribeDeploymentsRequest) Send() (*DescribeDeploymentsOutput, error)
Send marshals and sends the DescribeDeployments API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClustersRequest
func (DescribeEcsClustersInput) GoString ¶
func (s DescribeEcsClustersInput) GoString() string
GoString returns the string representation
func (*DescribeEcsClustersInput) SetEcsClusterArns ¶
func (s *DescribeEcsClustersInput) SetEcsClusterArns(v []string) *DescribeEcsClustersInput
SetEcsClusterArns sets the EcsClusterArns field's value.
func (*DescribeEcsClustersInput) SetMaxResults ¶
func (s *DescribeEcsClustersInput) SetMaxResults(v int64) *DescribeEcsClustersInput
SetMaxResults sets the MaxResults field's value.
func (*DescribeEcsClustersInput) SetNextToken ¶
func (s *DescribeEcsClustersInput) SetNextToken(v string) *DescribeEcsClustersInput
SetNextToken sets the NextToken field's value.
func (*DescribeEcsClustersInput) SetStackId ¶
func (s *DescribeEcsClustersInput) SetStackId(v string) *DescribeEcsClustersInput
SetStackId sets the StackId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClustersResult
func (DescribeEcsClustersOutput) GoString ¶
func (s DescribeEcsClustersOutput) GoString() string
GoString returns the string representation
func (DescribeEcsClustersOutput) SDKResponseMetadata ¶
func (s DescribeEcsClustersOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeEcsClustersOutput) SetEcsClusters ¶
func (s *DescribeEcsClustersOutput) SetEcsClusters(v []EcsCluster) *DescribeEcsClustersOutput
SetEcsClusters sets the EcsClusters field's value.
func (*DescribeEcsClustersOutput) SetNextToken ¶
func (s *DescribeEcsClustersOutput) SetNextToken(v string) *DescribeEcsClustersOutput
SetNextToken sets the NextToken field's value.
func (DescribeEcsClustersOutput) String ¶
func (s DescribeEcsClustersOutput) String() string
String returns the string representation
type DescribeEcsClustersRequest ¶
type DescribeEcsClustersRequest struct { *aws.Request Input *DescribeEcsClustersInput }
DescribeEcsClustersRequest is a API request type for the DescribeEcsClusters API operation.
func (DescribeEcsClustersRequest) Send ¶
func (r DescribeEcsClustersRequest) Send() (*DescribeEcsClustersOutput, error)
Send marshals and sends the DescribeEcsClusters API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIpsRequest
func (DescribeElasticIpsInput) GoString ¶
func (s DescribeElasticIpsInput) GoString() string
GoString returns the string representation
func (*DescribeElasticIpsInput) SetInstanceId ¶
func (s *DescribeElasticIpsInput) SetInstanceId(v string) *DescribeElasticIpsInput
SetInstanceId sets the InstanceId field's value.
func (*DescribeElasticIpsInput) SetIps ¶
func (s *DescribeElasticIpsInput) SetIps(v []string) *DescribeElasticIpsInput
SetIps sets the Ips field's value.
func (*DescribeElasticIpsInput) SetStackId ¶
func (s *DescribeElasticIpsInput) SetStackId(v string) *DescribeElasticIpsInput
SetStackId sets the StackId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIpsResult
func (DescribeElasticIpsOutput) GoString ¶
func (s DescribeElasticIpsOutput) GoString() string
GoString returns the string representation
func (DescribeElasticIpsOutput) SDKResponseMetadata ¶
func (s DescribeElasticIpsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeElasticIpsOutput) SetElasticIps ¶
func (s *DescribeElasticIpsOutput) SetElasticIps(v []ElasticIp) *DescribeElasticIpsOutput
SetElasticIps sets the ElasticIps field's value.
func (DescribeElasticIpsOutput) String ¶
func (s DescribeElasticIpsOutput) String() string
String returns the string representation
type DescribeElasticIpsRequest ¶
type DescribeElasticIpsRequest struct { *aws.Request Input *DescribeElasticIpsInput }
DescribeElasticIpsRequest is a API request type for the DescribeElasticIps API operation.
func (DescribeElasticIpsRequest) Send ¶
func (r DescribeElasticIpsRequest) Send() (*DescribeElasticIpsOutput, error)
Send marshals and sends the DescribeElasticIps API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancersRequest
func (DescribeElasticLoadBalancersInput) GoString ¶
func (s DescribeElasticLoadBalancersInput) GoString() string
GoString returns the string representation
func (*DescribeElasticLoadBalancersInput) SetLayerIds ¶
func (s *DescribeElasticLoadBalancersInput) SetLayerIds(v []string) *DescribeElasticLoadBalancersInput
SetLayerIds sets the LayerIds field's value.
func (*DescribeElasticLoadBalancersInput) SetStackId ¶
func (s *DescribeElasticLoadBalancersInput) SetStackId(v string) *DescribeElasticLoadBalancersInput
SetStackId sets the StackId field's value.
func (DescribeElasticLoadBalancersInput) String ¶
func (s DescribeElasticLoadBalancersInput) String() 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancersResult
func (DescribeElasticLoadBalancersOutput) GoString ¶
func (s DescribeElasticLoadBalancersOutput) GoString() string
GoString returns the string representation
func (DescribeElasticLoadBalancersOutput) SDKResponseMetadata ¶
func (s DescribeElasticLoadBalancersOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeElasticLoadBalancersOutput) SetElasticLoadBalancers ¶
func (s *DescribeElasticLoadBalancersOutput) SetElasticLoadBalancers(v []ElasticLoadBalancer) *DescribeElasticLoadBalancersOutput
SetElasticLoadBalancers sets the ElasticLoadBalancers field's value.
func (DescribeElasticLoadBalancersOutput) String ¶
func (s DescribeElasticLoadBalancersOutput) String() string
String returns the string representation
type DescribeElasticLoadBalancersRequest ¶
type DescribeElasticLoadBalancersRequest struct { *aws.Request Input *DescribeElasticLoadBalancersInput }
DescribeElasticLoadBalancersRequest is a API request type for the DescribeElasticLoadBalancers API operation.
func (DescribeElasticLoadBalancersRequest) Send ¶
func (r DescribeElasticLoadBalancersRequest) Send() (*DescribeElasticLoadBalancersOutput, error)
Send marshals and sends the DescribeElasticLoadBalancers API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstancesRequest
func (DescribeInstancesInput) GoString ¶
func (s DescribeInstancesInput) GoString() string
GoString returns the string representation
func (*DescribeInstancesInput) SetInstanceIds ¶
func (s *DescribeInstancesInput) SetInstanceIds(v []string) *DescribeInstancesInput
SetInstanceIds sets the InstanceIds field's value.
func (*DescribeInstancesInput) SetLayerId ¶
func (s *DescribeInstancesInput) SetLayerId(v string) *DescribeInstancesInput
SetLayerId sets the LayerId field's value.
func (*DescribeInstancesInput) SetStackId ¶
func (s *DescribeInstancesInput) SetStackId(v string) *DescribeInstancesInput
SetStackId sets the StackId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstancesResult
func (DescribeInstancesOutput) GoString ¶
func (s DescribeInstancesOutput) GoString() string
GoString returns the string representation
func (DescribeInstancesOutput) SDKResponseMetadata ¶
func (s DescribeInstancesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeInstancesOutput) SetInstances ¶
func (s *DescribeInstancesOutput) SetInstances(v []Instance) *DescribeInstancesOutput
SetInstances sets the Instances field's value.
func (DescribeInstancesOutput) String ¶
func (s DescribeInstancesOutput) String() string
String returns the string representation
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { *aws.Request Input *DescribeInstancesInput }
DescribeInstancesRequest is a API request type for the DescribeInstances API operation.
func (DescribeInstancesRequest) Send ¶
func (r DescribeInstancesRequest) Send() (*DescribeInstancesOutput, error)
Send marshals and sends the DescribeInstances API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayersRequest
func (DescribeLayersInput) GoString ¶
func (s DescribeLayersInput) GoString() string
GoString returns the string representation
func (*DescribeLayersInput) SetLayerIds ¶
func (s *DescribeLayersInput) SetLayerIds(v []string) *DescribeLayersInput
SetLayerIds sets the LayerIds field's value.
func (*DescribeLayersInput) SetStackId ¶
func (s *DescribeLayersInput) SetStackId(v string) *DescribeLayersInput
SetStackId sets the StackId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayersResult
func (DescribeLayersOutput) GoString ¶
func (s DescribeLayersOutput) GoString() string
GoString returns the string representation
func (DescribeLayersOutput) SDKResponseMetadata ¶
func (s DescribeLayersOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeLayersOutput) SetLayers ¶
func (s *DescribeLayersOutput) SetLayers(v []Layer) *DescribeLayersOutput
SetLayers sets the Layers field's value.
func (DescribeLayersOutput) String ¶
func (s DescribeLayersOutput) String() string
String returns the string representation
type DescribeLayersRequest ¶
type DescribeLayersRequest struct { *aws.Request Input *DescribeLayersInput }
DescribeLayersRequest is a API request type for the DescribeLayers API operation.
func (DescribeLayersRequest) Send ¶
func (r DescribeLayersRequest) Send() (*DescribeLayersOutput, error)
Send marshals and sends the DescribeLayers API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScalingRequest
func (DescribeLoadBasedAutoScalingInput) GoString ¶
func (s DescribeLoadBasedAutoScalingInput) GoString() string
GoString returns the string representation
func (*DescribeLoadBasedAutoScalingInput) SetLayerIds ¶
func (s *DescribeLoadBasedAutoScalingInput) SetLayerIds(v []string) *DescribeLoadBasedAutoScalingInput
SetLayerIds sets the LayerIds field's value.
func (DescribeLoadBasedAutoScalingInput) String ¶
func (s DescribeLoadBasedAutoScalingInput) String() string
String returns the string representation
func (*DescribeLoadBasedAutoScalingInput) Validate ¶
func (s *DescribeLoadBasedAutoScalingInput) Validate() error
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScalingResult
func (DescribeLoadBasedAutoScalingOutput) GoString ¶
func (s DescribeLoadBasedAutoScalingOutput) GoString() string
GoString returns the string representation
func (DescribeLoadBasedAutoScalingOutput) SDKResponseMetadata ¶
func (s DescribeLoadBasedAutoScalingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeLoadBasedAutoScalingOutput) SetLoadBasedAutoScalingConfigurations ¶
func (s *DescribeLoadBasedAutoScalingOutput) SetLoadBasedAutoScalingConfigurations(v []LoadBasedAutoScalingConfiguration) *DescribeLoadBasedAutoScalingOutput
SetLoadBasedAutoScalingConfigurations sets the LoadBasedAutoScalingConfigurations field's value.
func (DescribeLoadBasedAutoScalingOutput) String ¶
func (s DescribeLoadBasedAutoScalingOutput) String() string
String returns the string representation
type DescribeLoadBasedAutoScalingRequest ¶
type DescribeLoadBasedAutoScalingRequest struct { *aws.Request Input *DescribeLoadBasedAutoScalingInput }
DescribeLoadBasedAutoScalingRequest is a API request type for the DescribeLoadBasedAutoScaling API operation.
func (DescribeLoadBasedAutoScalingRequest) Send ¶
func (r DescribeLoadBasedAutoScalingRequest) Send() (*DescribeLoadBasedAutoScalingOutput, error)
Send marshals and sends the DescribeLoadBasedAutoScaling API request.
type DescribeMyUserProfileInput ¶
type DescribeMyUserProfileInput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeMyUserProfileInput
func (DescribeMyUserProfileInput) GoString ¶
func (s DescribeMyUserProfileInput) GoString() string
GoString returns the string representation
func (DescribeMyUserProfileInput) String ¶
func (s DescribeMyUserProfileInput) String() 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeMyUserProfileResult
func (DescribeMyUserProfileOutput) GoString ¶
func (s DescribeMyUserProfileOutput) GoString() string
GoString returns the string representation
func (DescribeMyUserProfileOutput) SDKResponseMetadata ¶
func (s DescribeMyUserProfileOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeMyUserProfileOutput) SetUserProfile ¶
func (s *DescribeMyUserProfileOutput) SetUserProfile(v *SelfUserProfile) *DescribeMyUserProfileOutput
SetUserProfile sets the UserProfile field's value.
func (DescribeMyUserProfileOutput) String ¶
func (s DescribeMyUserProfileOutput) String() string
String returns the string representation
type DescribeMyUserProfileRequest ¶
type DescribeMyUserProfileRequest struct { *aws.Request Input *DescribeMyUserProfileInput }
DescribeMyUserProfileRequest is a API request type for the DescribeMyUserProfile API operation.
func (DescribeMyUserProfileRequest) Send ¶
func (r DescribeMyUserProfileRequest) Send() (*DescribeMyUserProfileOutput, error)
Send marshals and sends the DescribeMyUserProfile API 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 (http://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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissionsRequest
func (DescribePermissionsInput) GoString ¶
func (s DescribePermissionsInput) GoString() string
GoString returns the string representation
func (*DescribePermissionsInput) SetIamUserArn ¶
func (s *DescribePermissionsInput) SetIamUserArn(v string) *DescribePermissionsInput
SetIamUserArn sets the IamUserArn field's value.
func (*DescribePermissionsInput) SetStackId ¶
func (s *DescribePermissionsInput) SetStackId(v string) *DescribePermissionsInput
SetStackId sets the StackId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissionsResult
func (DescribePermissionsOutput) GoString ¶
func (s DescribePermissionsOutput) GoString() string
GoString returns the string representation
func (DescribePermissionsOutput) SDKResponseMetadata ¶
func (s DescribePermissionsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribePermissionsOutput) SetPermissions ¶
func (s *DescribePermissionsOutput) SetPermissions(v []Permission) *DescribePermissionsOutput
SetPermissions sets the Permissions field's value.
func (DescribePermissionsOutput) String ¶
func (s DescribePermissionsOutput) String() string
String returns the string representation
type DescribePermissionsRequest ¶
type DescribePermissionsRequest struct { *aws.Request Input *DescribePermissionsInput }
DescribePermissionsRequest is a API request type for the DescribePermissions API operation.
func (DescribePermissionsRequest) Send ¶
func (r DescribePermissionsRequest) Send() (*DescribePermissionsOutput, error)
Send marshals and sends the DescribePermissions API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArraysRequest
func (DescribeRaidArraysInput) GoString ¶
func (s DescribeRaidArraysInput) GoString() string
GoString returns the string representation
func (*DescribeRaidArraysInput) SetInstanceId ¶
func (s *DescribeRaidArraysInput) SetInstanceId(v string) *DescribeRaidArraysInput
SetInstanceId sets the InstanceId field's value.
func (*DescribeRaidArraysInput) SetRaidArrayIds ¶
func (s *DescribeRaidArraysInput) SetRaidArrayIds(v []string) *DescribeRaidArraysInput
SetRaidArrayIds sets the RaidArrayIds field's value.
func (*DescribeRaidArraysInput) SetStackId ¶
func (s *DescribeRaidArraysInput) SetStackId(v string) *DescribeRaidArraysInput
SetStackId sets the StackId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArraysResult
func (DescribeRaidArraysOutput) GoString ¶
func (s DescribeRaidArraysOutput) GoString() string
GoString returns the string representation
func (DescribeRaidArraysOutput) SDKResponseMetadata ¶
func (s DescribeRaidArraysOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeRaidArraysOutput) SetRaidArrays ¶
func (s *DescribeRaidArraysOutput) SetRaidArrays(v []RaidArray) *DescribeRaidArraysOutput
SetRaidArrays sets the RaidArrays field's value.
func (DescribeRaidArraysOutput) String ¶
func (s DescribeRaidArraysOutput) String() string
String returns the string representation
type DescribeRaidArraysRequest ¶
type DescribeRaidArraysRequest struct { *aws.Request Input *DescribeRaidArraysInput }
DescribeRaidArraysRequest is a API request type for the DescribeRaidArrays API operation.
func (DescribeRaidArraysRequest) Send ¶
func (r DescribeRaidArraysRequest) Send() (*DescribeRaidArraysOutput, error)
Send marshals and sends the DescribeRaidArrays API request.
type DescribeRdsDbInstancesInput ¶
type DescribeRdsDbInstancesInput struct { // An array containing the ARNs of the instances to be described. RdsDbInstanceArns []string `type:"list"` // The stack ID that the instances are registered with. 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstancesRequest
func (DescribeRdsDbInstancesInput) GoString ¶
func (s DescribeRdsDbInstancesInput) GoString() string
GoString returns the string representation
func (*DescribeRdsDbInstancesInput) SetRdsDbInstanceArns ¶
func (s *DescribeRdsDbInstancesInput) SetRdsDbInstanceArns(v []string) *DescribeRdsDbInstancesInput
SetRdsDbInstanceArns sets the RdsDbInstanceArns field's value.
func (*DescribeRdsDbInstancesInput) SetStackId ¶
func (s *DescribeRdsDbInstancesInput) SetStackId(v string) *DescribeRdsDbInstancesInput
SetStackId sets the StackId field's value.
func (DescribeRdsDbInstancesInput) String ¶
func (s DescribeRdsDbInstancesInput) String() 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstancesResult
func (DescribeRdsDbInstancesOutput) GoString ¶
func (s DescribeRdsDbInstancesOutput) GoString() string
GoString returns the string representation
func (DescribeRdsDbInstancesOutput) SDKResponseMetadata ¶
func (s DescribeRdsDbInstancesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeRdsDbInstancesOutput) SetRdsDbInstances ¶
func (s *DescribeRdsDbInstancesOutput) SetRdsDbInstances(v []RdsDbInstance) *DescribeRdsDbInstancesOutput
SetRdsDbInstances sets the RdsDbInstances field's value.
func (DescribeRdsDbInstancesOutput) String ¶
func (s DescribeRdsDbInstancesOutput) String() string
String returns the string representation
type DescribeRdsDbInstancesRequest ¶
type DescribeRdsDbInstancesRequest struct { *aws.Request Input *DescribeRdsDbInstancesInput }
DescribeRdsDbInstancesRequest is a API request type for the DescribeRdsDbInstances API operation.
func (DescribeRdsDbInstancesRequest) Send ¶
func (r DescribeRdsDbInstancesRequest) Send() (*DescribeRdsDbInstancesOutput, error)
Send marshals and sends the DescribeRdsDbInstances API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrorsRequest
func (DescribeServiceErrorsInput) GoString ¶
func (s DescribeServiceErrorsInput) GoString() string
GoString returns the string representation
func (*DescribeServiceErrorsInput) SetInstanceId ¶
func (s *DescribeServiceErrorsInput) SetInstanceId(v string) *DescribeServiceErrorsInput
SetInstanceId sets the InstanceId field's value.
func (*DescribeServiceErrorsInput) SetServiceErrorIds ¶
func (s *DescribeServiceErrorsInput) SetServiceErrorIds(v []string) *DescribeServiceErrorsInput
SetServiceErrorIds sets the ServiceErrorIds field's value.
func (*DescribeServiceErrorsInput) SetStackId ¶
func (s *DescribeServiceErrorsInput) SetStackId(v string) *DescribeServiceErrorsInput
SetStackId sets the StackId field's value.
func (DescribeServiceErrorsInput) String ¶
func (s DescribeServiceErrorsInput) String() 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrorsResult
func (DescribeServiceErrorsOutput) GoString ¶
func (s DescribeServiceErrorsOutput) GoString() string
GoString returns the string representation
func (DescribeServiceErrorsOutput) SDKResponseMetadata ¶
func (s DescribeServiceErrorsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeServiceErrorsOutput) SetServiceErrors ¶
func (s *DescribeServiceErrorsOutput) SetServiceErrors(v []ServiceError) *DescribeServiceErrorsOutput
SetServiceErrors sets the ServiceErrors field's value.
func (DescribeServiceErrorsOutput) String ¶
func (s DescribeServiceErrorsOutput) String() string
String returns the string representation
type DescribeServiceErrorsRequest ¶
type DescribeServiceErrorsRequest struct { *aws.Request Input *DescribeServiceErrorsInput }
DescribeServiceErrorsRequest is a API request type for the DescribeServiceErrors API operation.
func (DescribeServiceErrorsRequest) Send ¶
func (r DescribeServiceErrorsRequest) Send() (*DescribeServiceErrorsOutput, error)
Send marshals and sends the DescribeServiceErrors API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParametersRequest
func (DescribeStackProvisioningParametersInput) GoString ¶
func (s DescribeStackProvisioningParametersInput) GoString() string
GoString returns the string representation
func (*DescribeStackProvisioningParametersInput) SetStackId ¶
func (s *DescribeStackProvisioningParametersInput) SetStackId(v string) *DescribeStackProvisioningParametersInput
SetStackId sets the StackId field's value.
func (DescribeStackProvisioningParametersInput) String ¶
func (s DescribeStackProvisioningParametersInput) String() string
String returns the string representation
func (*DescribeStackProvisioningParametersInput) Validate ¶
func (s *DescribeStackProvisioningParametersInput) Validate() error
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParametersResult
func (DescribeStackProvisioningParametersOutput) GoString ¶
func (s DescribeStackProvisioningParametersOutput) GoString() string
GoString returns the string representation
func (DescribeStackProvisioningParametersOutput) SDKResponseMetadata ¶
func (s DescribeStackProvisioningParametersOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeStackProvisioningParametersOutput) SetAgentInstallerUrl ¶
func (s *DescribeStackProvisioningParametersOutput) SetAgentInstallerUrl(v string) *DescribeStackProvisioningParametersOutput
SetAgentInstallerUrl sets the AgentInstallerUrl field's value.
func (*DescribeStackProvisioningParametersOutput) SetParameters ¶
func (s *DescribeStackProvisioningParametersOutput) SetParameters(v map[string]string) *DescribeStackProvisioningParametersOutput
SetParameters sets the Parameters field's value.
func (DescribeStackProvisioningParametersOutput) String ¶
func (s DescribeStackProvisioningParametersOutput) String() string
String returns the string representation
type DescribeStackProvisioningParametersRequest ¶
type DescribeStackProvisioningParametersRequest struct { *aws.Request Input *DescribeStackProvisioningParametersInput }
DescribeStackProvisioningParametersRequest is a API request type for the DescribeStackProvisioningParameters API operation.
func (DescribeStackProvisioningParametersRequest) Send ¶
func (r DescribeStackProvisioningParametersRequest) Send() (*DescribeStackProvisioningParametersOutput, error)
Send marshals and sends the DescribeStackProvisioningParameters API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummaryRequest
func (DescribeStackSummaryInput) GoString ¶
func (s DescribeStackSummaryInput) GoString() string
GoString returns the string representation
func (*DescribeStackSummaryInput) SetStackId ¶
func (s *DescribeStackSummaryInput) SetStackId(v string) *DescribeStackSummaryInput
SetStackId sets the StackId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummaryResult
func (DescribeStackSummaryOutput) GoString ¶
func (s DescribeStackSummaryOutput) GoString() string
GoString returns the string representation
func (DescribeStackSummaryOutput) SDKResponseMetadata ¶
func (s DescribeStackSummaryOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeStackSummaryOutput) SetStackSummary ¶
func (s *DescribeStackSummaryOutput) SetStackSummary(v *StackSummary) *DescribeStackSummaryOutput
SetStackSummary sets the StackSummary field's value.
func (DescribeStackSummaryOutput) String ¶
func (s DescribeStackSummaryOutput) String() string
String returns the string representation
type DescribeStackSummaryRequest ¶
type DescribeStackSummaryRequest struct { *aws.Request Input *DescribeStackSummaryInput }
DescribeStackSummaryRequest is a API request type for the DescribeStackSummary API operation.
func (DescribeStackSummaryRequest) Send ¶
func (r DescribeStackSummaryRequest) Send() (*DescribeStackSummaryOutput, error)
Send marshals and sends the DescribeStackSummary API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacksRequest
func (DescribeStacksInput) GoString ¶
func (s DescribeStacksInput) GoString() string
GoString returns the string representation
func (*DescribeStacksInput) SetStackIds ¶
func (s *DescribeStacksInput) SetStackIds(v []string) *DescribeStacksInput
SetStackIds sets the StackIds field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacksResult
func (DescribeStacksOutput) GoString ¶
func (s DescribeStacksOutput) GoString() string
GoString returns the string representation
func (DescribeStacksOutput) SDKResponseMetadata ¶
func (s DescribeStacksOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeStacksOutput) SetStacks ¶
func (s *DescribeStacksOutput) SetStacks(v []Stack) *DescribeStacksOutput
SetStacks sets the Stacks field's value.
func (DescribeStacksOutput) String ¶
func (s DescribeStacksOutput) String() string
String returns the string representation
type DescribeStacksRequest ¶
type DescribeStacksRequest struct { *aws.Request Input *DescribeStacksInput }
DescribeStacksRequest is a API request type for the DescribeStacks API operation.
func (DescribeStacksRequest) Send ¶
func (r DescribeStacksRequest) Send() (*DescribeStacksOutput, error)
Send marshals and sends the DescribeStacks API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScalingRequest
func (DescribeTimeBasedAutoScalingInput) GoString ¶
func (s DescribeTimeBasedAutoScalingInput) GoString() string
GoString returns the string representation
func (*DescribeTimeBasedAutoScalingInput) SetInstanceIds ¶
func (s *DescribeTimeBasedAutoScalingInput) SetInstanceIds(v []string) *DescribeTimeBasedAutoScalingInput
SetInstanceIds sets the InstanceIds field's value.
func (DescribeTimeBasedAutoScalingInput) String ¶
func (s DescribeTimeBasedAutoScalingInput) String() string
String returns the string representation
func (*DescribeTimeBasedAutoScalingInput) Validate ¶
func (s *DescribeTimeBasedAutoScalingInput) Validate() error
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScalingResult
func (DescribeTimeBasedAutoScalingOutput) GoString ¶
func (s DescribeTimeBasedAutoScalingOutput) GoString() string
GoString returns the string representation
func (DescribeTimeBasedAutoScalingOutput) SDKResponseMetadata ¶
func (s DescribeTimeBasedAutoScalingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeTimeBasedAutoScalingOutput) SetTimeBasedAutoScalingConfigurations ¶
func (s *DescribeTimeBasedAutoScalingOutput) SetTimeBasedAutoScalingConfigurations(v []TimeBasedAutoScalingConfiguration) *DescribeTimeBasedAutoScalingOutput
SetTimeBasedAutoScalingConfigurations sets the TimeBasedAutoScalingConfigurations field's value.
func (DescribeTimeBasedAutoScalingOutput) String ¶
func (s DescribeTimeBasedAutoScalingOutput) String() string
String returns the string representation
type DescribeTimeBasedAutoScalingRequest ¶
type DescribeTimeBasedAutoScalingRequest struct { *aws.Request Input *DescribeTimeBasedAutoScalingInput }
DescribeTimeBasedAutoScalingRequest is a API request type for the DescribeTimeBasedAutoScaling API operation.
func (DescribeTimeBasedAutoScalingRequest) Send ¶
func (r DescribeTimeBasedAutoScalingRequest) Send() (*DescribeTimeBasedAutoScalingOutput, error)
Send marshals and sends the DescribeTimeBasedAutoScaling API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfilesRequest
func (DescribeUserProfilesInput) GoString ¶
func (s DescribeUserProfilesInput) GoString() string
GoString returns the string representation
func (*DescribeUserProfilesInput) SetIamUserArns ¶
func (s *DescribeUserProfilesInput) SetIamUserArns(v []string) *DescribeUserProfilesInput
SetIamUserArns sets the IamUserArns field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfilesResult
func (DescribeUserProfilesOutput) GoString ¶
func (s DescribeUserProfilesOutput) GoString() string
GoString returns the string representation
func (DescribeUserProfilesOutput) SDKResponseMetadata ¶
func (s DescribeUserProfilesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeUserProfilesOutput) SetUserProfiles ¶
func (s *DescribeUserProfilesOutput) SetUserProfiles(v []UserProfile) *DescribeUserProfilesOutput
SetUserProfiles sets the UserProfiles field's value.
func (DescribeUserProfilesOutput) String ¶
func (s DescribeUserProfilesOutput) String() string
String returns the string representation
type DescribeUserProfilesRequest ¶
type DescribeUserProfilesRequest struct { *aws.Request Input *DescribeUserProfilesInput }
DescribeUserProfilesRequest is a API request type for the DescribeUserProfiles API operation.
func (DescribeUserProfilesRequest) Send ¶
func (r DescribeUserProfilesRequest) Send() (*DescribeUserProfilesOutput, error)
Send marshals and sends the DescribeUserProfiles API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumesRequest
func (DescribeVolumesInput) GoString ¶
func (s DescribeVolumesInput) GoString() string
GoString returns the string representation
func (*DescribeVolumesInput) SetInstanceId ¶
func (s *DescribeVolumesInput) SetInstanceId(v string) *DescribeVolumesInput
SetInstanceId sets the InstanceId field's value.
func (*DescribeVolumesInput) SetRaidArrayId ¶
func (s *DescribeVolumesInput) SetRaidArrayId(v string) *DescribeVolumesInput
SetRaidArrayId sets the RaidArrayId field's value.
func (*DescribeVolumesInput) SetStackId ¶
func (s *DescribeVolumesInput) SetStackId(v string) *DescribeVolumesInput
SetStackId sets the StackId field's value.
func (*DescribeVolumesInput) SetVolumeIds ¶
func (s *DescribeVolumesInput) SetVolumeIds(v []string) *DescribeVolumesInput
SetVolumeIds sets the VolumeIds field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumesResult
func (DescribeVolumesOutput) GoString ¶
func (s DescribeVolumesOutput) GoString() string
GoString returns the string representation
func (DescribeVolumesOutput) SDKResponseMetadata ¶
func (s DescribeVolumesOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*DescribeVolumesOutput) SetVolumes ¶
func (s *DescribeVolumesOutput) SetVolumes(v []Volume) *DescribeVolumesOutput
SetVolumes sets the Volumes field's value.
func (DescribeVolumesOutput) String ¶
func (s DescribeVolumesOutput) String() string
String returns the string representation
type DescribeVolumesRequest ¶
type DescribeVolumesRequest struct { *aws.Request Input *DescribeVolumesInput }
DescribeVolumesRequest is a API request type for the DescribeVolumes API operation.
func (DescribeVolumesRequest) Send ¶
func (r DescribeVolumesRequest) Send() (*DescribeVolumesOutput, error)
Send marshals and sends the DescribeVolumes API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancerRequest
func (DetachElasticLoadBalancerInput) GoString ¶
func (s DetachElasticLoadBalancerInput) GoString() string
GoString returns the string representation
func (*DetachElasticLoadBalancerInput) SetElasticLoadBalancerName ¶
func (s *DetachElasticLoadBalancerInput) SetElasticLoadBalancerName(v string) *DetachElasticLoadBalancerInput
SetElasticLoadBalancerName sets the ElasticLoadBalancerName field's value.
func (*DetachElasticLoadBalancerInput) SetLayerId ¶
func (s *DetachElasticLoadBalancerInput) SetLayerId(v string) *DetachElasticLoadBalancerInput
SetLayerId sets the LayerId field's value.
func (DetachElasticLoadBalancerInput) String ¶
func (s DetachElasticLoadBalancerInput) String() 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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancerOutput
func (DetachElasticLoadBalancerOutput) GoString ¶
func (s DetachElasticLoadBalancerOutput) GoString() string
GoString returns the string representation
func (DetachElasticLoadBalancerOutput) SDKResponseMetadata ¶
func (s DetachElasticLoadBalancerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DetachElasticLoadBalancerOutput) String ¶
func (s DetachElasticLoadBalancerOutput) String() string
String returns the string representation
type DetachElasticLoadBalancerRequest ¶
type DetachElasticLoadBalancerRequest struct { *aws.Request Input *DetachElasticLoadBalancerInput }
DetachElasticLoadBalancerRequest is a API request type for the DetachElasticLoadBalancer API operation.
func (DetachElasticLoadBalancerRequest) Send ¶
func (r DetachElasticLoadBalancerRequest) Send() (*DetachElasticLoadBalancerOutput, error)
Send marshals and sends the DetachElasticLoadBalancer API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIpRequest
func (DisassociateElasticIpInput) GoString ¶
func (s DisassociateElasticIpInput) GoString() string
GoString returns the string representation
func (*DisassociateElasticIpInput) SetElasticIp ¶
func (s *DisassociateElasticIpInput) SetElasticIp(v string) *DisassociateElasticIpInput
SetElasticIp sets the ElasticIp field's value.
func (DisassociateElasticIpInput) String ¶
func (s DisassociateElasticIpInput) String() 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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIpOutput
func (DisassociateElasticIpOutput) GoString ¶
func (s DisassociateElasticIpOutput) GoString() string
GoString returns the string representation
func (DisassociateElasticIpOutput) SDKResponseMetadata ¶
func (s DisassociateElasticIpOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (DisassociateElasticIpOutput) String ¶
func (s DisassociateElasticIpOutput) String() string
String returns the string representation
type DisassociateElasticIpRequest ¶
type DisassociateElasticIpRequest struct { *aws.Request Input *DisassociateElasticIpInput }
DisassociateElasticIpRequest is a API request type for the DisassociateElasticIp API operation.
func (DisassociateElasticIpRequest) Send ¶
func (r DisassociateElasticIpRequest) Send() (*DisassociateElasticIpOutput, error)
Send marshals and sends the DisassociateElasticIp API 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 (http://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 (http://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, and standard for Magnetic volumes. 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 (http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_EbsBlockDevice.html) data type. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/EbsBlockDevice
func (EbsBlockDevice) GoString ¶
func (s EbsBlockDevice) GoString() string
GoString returns the string representation
func (*EbsBlockDevice) SetDeleteOnTermination ¶
func (s *EbsBlockDevice) SetDeleteOnTermination(v bool) *EbsBlockDevice
SetDeleteOnTermination sets the DeleteOnTermination field's value.
func (*EbsBlockDevice) SetIops ¶
func (s *EbsBlockDevice) SetIops(v int64) *EbsBlockDevice
SetIops sets the Iops field's value.
func (*EbsBlockDevice) SetSnapshotId ¶
func (s *EbsBlockDevice) SetSnapshotId(v string) *EbsBlockDevice
SetSnapshotId sets the SnapshotId field's value.
func (*EbsBlockDevice) SetVolumeSize ¶
func (s *EbsBlockDevice) SetVolumeSize(v int64) *EbsBlockDevice
SetVolumeSize sets the VolumeSize field's value.
func (*EbsBlockDevice) SetVolumeType ¶
func (s *EbsBlockDevice) SetVolumeType(v VolumeType) *EbsBlockDevice
SetVolumeType sets the VolumeType field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/EcsCluster
func (EcsCluster) GoString ¶
func (s EcsCluster) GoString() string
GoString returns the string representation
func (*EcsCluster) SetEcsClusterArn ¶
func (s *EcsCluster) SetEcsClusterArn(v string) *EcsCluster
SetEcsClusterArn sets the EcsClusterArn field's value.
func (*EcsCluster) SetEcsClusterName ¶
func (s *EcsCluster) SetEcsClusterName(v string) *EcsCluster
SetEcsClusterName sets the EcsClusterName field's value.
func (*EcsCluster) SetRegisteredAt ¶
func (s *EcsCluster) SetRegisteredAt(v string) *EcsCluster
SetRegisteredAt sets the RegisteredAt field's value.
func (*EcsCluster) SetStackId ¶
func (s *EcsCluster) SetStackId(v string) *EcsCluster
SetStackId sets the StackId field's value.
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 (http://docs.aws.amazon.com/general/latest/gr/rande.html). Region *string `type:"string"` // contains filtered or unexported fields }
Describes an Elastic IP address. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ElasticIp
func (*ElasticIp) SetInstanceId ¶
SetInstanceId sets the InstanceId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ElasticLoadBalancer
func (ElasticLoadBalancer) GoString ¶
func (s ElasticLoadBalancer) GoString() string
GoString returns the string representation
func (*ElasticLoadBalancer) SetAvailabilityZones ¶
func (s *ElasticLoadBalancer) SetAvailabilityZones(v []string) *ElasticLoadBalancer
SetAvailabilityZones sets the AvailabilityZones field's value.
func (*ElasticLoadBalancer) SetDnsName ¶
func (s *ElasticLoadBalancer) SetDnsName(v string) *ElasticLoadBalancer
SetDnsName sets the DnsName field's value.
func (*ElasticLoadBalancer) SetEc2InstanceIds ¶
func (s *ElasticLoadBalancer) SetEc2InstanceIds(v []string) *ElasticLoadBalancer
SetEc2InstanceIds sets the Ec2InstanceIds field's value.
func (*ElasticLoadBalancer) SetElasticLoadBalancerName ¶
func (s *ElasticLoadBalancer) SetElasticLoadBalancerName(v string) *ElasticLoadBalancer
SetElasticLoadBalancerName sets the ElasticLoadBalancerName field's value.
func (*ElasticLoadBalancer) SetLayerId ¶
func (s *ElasticLoadBalancer) SetLayerId(v string) *ElasticLoadBalancer
SetLayerId sets the LayerId field's value.
func (*ElasticLoadBalancer) SetRegion ¶
func (s *ElasticLoadBalancer) SetRegion(v string) *ElasticLoadBalancer
SetRegion sets the Region field's value.
func (*ElasticLoadBalancer) SetStackId ¶
func (s *ElasticLoadBalancer) SetStackId(v string) *ElasticLoadBalancer
SetStackId sets the StackId field's value.
func (*ElasticLoadBalancer) SetSubnetIds ¶
func (s *ElasticLoadBalancer) SetSubnetIds(v []string) *ElasticLoadBalancer
SetSubnetIds sets the SubnetIds field's value.
func (*ElasticLoadBalancer) SetVpcId ¶
func (s *ElasticLoadBalancer) SetVpcId(v string) *ElasticLoadBalancer
SetVpcId sets the VpcId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/EnvironmentVariable
func (EnvironmentVariable) GoString ¶
func (s EnvironmentVariable) GoString() string
GoString returns the string representation
func (*EnvironmentVariable) SetKey ¶
func (s *EnvironmentVariable) SetKey(v string) *EnvironmentVariable
SetKey sets the Key field's value.
func (*EnvironmentVariable) SetSecure ¶
func (s *EnvironmentVariable) SetSecure(v bool) *EnvironmentVariable
SetSecure sets the Secure field's value.
func (*EnvironmentVariable) SetValue ¶
func (s *EnvironmentVariable) SetValue(v string) *EnvironmentVariable
SetValue sets the Value field's value.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestionRequest
func (GetHostnameSuggestionInput) GoString ¶
func (s GetHostnameSuggestionInput) GoString() string
GoString returns the string representation
func (*GetHostnameSuggestionInput) SetLayerId ¶
func (s *GetHostnameSuggestionInput) SetLayerId(v string) *GetHostnameSuggestionInput
SetLayerId sets the LayerId field's value.
func (GetHostnameSuggestionInput) String ¶
func (s GetHostnameSuggestionInput) String() 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestionResult
func (GetHostnameSuggestionOutput) GoString ¶
func (s GetHostnameSuggestionOutput) GoString() string
GoString returns the string representation
func (GetHostnameSuggestionOutput) SDKResponseMetadata ¶
func (s GetHostnameSuggestionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GetHostnameSuggestionOutput) SetHostname ¶
func (s *GetHostnameSuggestionOutput) SetHostname(v string) *GetHostnameSuggestionOutput
SetHostname sets the Hostname field's value.
func (*GetHostnameSuggestionOutput) SetLayerId ¶
func (s *GetHostnameSuggestionOutput) SetLayerId(v string) *GetHostnameSuggestionOutput
SetLayerId sets the LayerId field's value.
func (GetHostnameSuggestionOutput) String ¶
func (s GetHostnameSuggestionOutput) String() string
String returns the string representation
type GetHostnameSuggestionRequest ¶
type GetHostnameSuggestionRequest struct { *aws.Request Input *GetHostnameSuggestionInput }
GetHostnameSuggestionRequest is a API request type for the GetHostnameSuggestion API operation.
func (GetHostnameSuggestionRequest) Send ¶
func (r GetHostnameSuggestionRequest) Send() (*GetHostnameSuggestionOutput, error)
Send marshals and sends the GetHostnameSuggestion API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccessRequest
func (GrantAccessInput) GoString ¶
func (s GrantAccessInput) GoString() string
GoString returns the string representation
func (*GrantAccessInput) SetInstanceId ¶
func (s *GrantAccessInput) SetInstanceId(v string) *GrantAccessInput
SetInstanceId sets the InstanceId field's value.
func (*GrantAccessInput) SetValidForInMinutes ¶
func (s *GrantAccessInput) SetValidForInMinutes(v int64) *GrantAccessInput
SetValidForInMinutes sets the ValidForInMinutes field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccessResult
func (GrantAccessOutput) GoString ¶
func (s GrantAccessOutput) GoString() string
GoString returns the string representation
func (GrantAccessOutput) SDKResponseMetadata ¶
func (s GrantAccessOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*GrantAccessOutput) SetTemporaryCredential ¶
func (s *GrantAccessOutput) SetTemporaryCredential(v *TemporaryCredential) *GrantAccessOutput
SetTemporaryCredential sets the TemporaryCredential field's value.
func (GrantAccessOutput) String ¶
func (s GrantAccessOutput) String() string
String returns the string representation
type GrantAccessRequest ¶
type GrantAccessRequest struct { *aws.Request Input *GrantAccessInput }
GrantAccessRequest is a API request type for the GrantAccess API operation.
func (GrantAccessRequest) Send ¶
func (r GrantAccessRequest) Send() (*GrantAccessOutput, error)
Send marshals and sends the GrantAccess API 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 (http://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"` 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 // (http://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 (http://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 (http://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 (http://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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Instance
func (*Instance) SetAgentVersion ¶
SetAgentVersion sets the AgentVersion field's value.
func (*Instance) SetArchitecture ¶
func (s *Instance) SetArchitecture(v Architecture) *Instance
SetArchitecture sets the Architecture field's value.
func (*Instance) SetAutoScalingType ¶
func (s *Instance) SetAutoScalingType(v AutoScalingType) *Instance
SetAutoScalingType sets the AutoScalingType field's value.
func (*Instance) SetAvailabilityZone ¶
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*Instance) SetBlockDeviceMappings ¶
func (s *Instance) SetBlockDeviceMappings(v []BlockDeviceMapping) *Instance
SetBlockDeviceMappings sets the BlockDeviceMappings field's value.
func (*Instance) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field's value.
func (*Instance) SetEbsOptimized ¶
SetEbsOptimized sets the EbsOptimized field's value.
func (*Instance) SetEc2InstanceId ¶
SetEc2InstanceId sets the Ec2InstanceId field's value.
func (*Instance) SetEcsClusterArn ¶
SetEcsClusterArn sets the EcsClusterArn field's value.
func (*Instance) SetEcsContainerInstanceArn ¶
SetEcsContainerInstanceArn sets the EcsContainerInstanceArn field's value.
func (*Instance) SetElasticIp ¶
SetElasticIp sets the ElasticIp field's value.
func (*Instance) SetHostname ¶
SetHostname sets the Hostname field's value.
func (*Instance) SetInfrastructureClass ¶
SetInfrastructureClass sets the InfrastructureClass field's value.
func (*Instance) SetInstallUpdatesOnBoot ¶
SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value.
func (*Instance) SetInstanceId ¶
SetInstanceId sets the InstanceId field's value.
func (*Instance) SetInstanceProfileArn ¶
SetInstanceProfileArn sets the InstanceProfileArn field's value.
func (*Instance) SetInstanceType ¶
SetInstanceType sets the InstanceType field's value.
func (*Instance) SetLastServiceErrorId ¶
SetLastServiceErrorId sets the LastServiceErrorId field's value.
func (*Instance) SetLayerIds ¶
SetLayerIds sets the LayerIds field's value.
func (*Instance) SetPlatform ¶
SetPlatform sets the Platform field's value.
func (*Instance) SetPrivateDns ¶
SetPrivateDns sets the PrivateDns field's value.
func (*Instance) SetPrivateIp ¶
SetPrivateIp sets the PrivateIp field's value.
func (*Instance) SetPublicDns ¶
SetPublicDns sets the PublicDns field's value.
func (*Instance) SetPublicIp ¶
SetPublicIp sets the PublicIp field's value.
func (*Instance) SetRegisteredBy ¶
SetRegisteredBy sets the RegisteredBy field's value.
func (*Instance) SetReportedAgentVersion ¶
SetReportedAgentVersion sets the ReportedAgentVersion field's value.
func (*Instance) SetReportedOs ¶
func (s *Instance) SetReportedOs(v *ReportedOs) *Instance
SetReportedOs sets the ReportedOs field's value.
func (*Instance) SetRootDeviceType ¶
func (s *Instance) SetRootDeviceType(v RootDeviceType) *Instance
SetRootDeviceType sets the RootDeviceType field's value.
func (*Instance) SetRootDeviceVolumeId ¶
SetRootDeviceVolumeId sets the RootDeviceVolumeId field's value.
func (*Instance) SetSecurityGroupIds ¶
SetSecurityGroupIds sets the SecurityGroupIds field's value.
func (*Instance) SetSshHostDsaKeyFingerprint ¶
SetSshHostDsaKeyFingerprint sets the SshHostDsaKeyFingerprint field's value.
func (*Instance) SetSshHostRsaKeyFingerprint ¶
SetSshHostRsaKeyFingerprint sets the SshHostRsaKeyFingerprint field's value.
func (*Instance) SetSshKeyName ¶
SetSshKeyName sets the SshKeyName field's value.
func (*Instance) SetStackId ¶
SetStackId sets the StackId field's value.
func (*Instance) SetSubnetId ¶
SetSubnetId sets the SubnetId field's value.
func (*Instance) SetTenancy ¶
SetTenancy sets the Tenancy field's value.
func (*Instance) SetVirtualizationType ¶
func (s *Instance) SetVirtualizationType(v VirtualizationType) *Instance
SetVirtualizationType sets the VirtualizationType field's value.
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 (http://docs.aws.amazon.com/sdkfornet/latest/apidocs/Index.html). Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/InstanceIdentity
func (InstanceIdentity) GoString ¶
func (s InstanceIdentity) GoString() string
GoString returns the string representation
func (*InstanceIdentity) SetDocument ¶
func (s *InstanceIdentity) SetDocument(v string) *InstanceIdentity
SetDocument sets the Document field's value.
func (*InstanceIdentity) SetSignature ¶
func (s *InstanceIdentity) SetSignature(v string) *InstanceIdentity
SetSignature sets the Signature field's value.
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 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/InstancesCount
func (InstancesCount) GoString ¶
func (s InstancesCount) GoString() string
GoString returns the string representation
func (*InstancesCount) SetAssigning ¶
func (s *InstancesCount) SetAssigning(v int64) *InstancesCount
SetAssigning sets the Assigning field's value.
func (*InstancesCount) SetBooting ¶
func (s *InstancesCount) SetBooting(v int64) *InstancesCount
SetBooting sets the Booting field's value.
func (*InstancesCount) SetConnectionLost ¶
func (s *InstancesCount) SetConnectionLost(v int64) *InstancesCount
SetConnectionLost sets the ConnectionLost field's value.
func (*InstancesCount) SetDeregistering ¶
func (s *InstancesCount) SetDeregistering(v int64) *InstancesCount
SetDeregistering sets the Deregistering field's value.
func (*InstancesCount) SetOnline ¶
func (s *InstancesCount) SetOnline(v int64) *InstancesCount
SetOnline sets the Online field's value.
func (*InstancesCount) SetPending ¶
func (s *InstancesCount) SetPending(v int64) *InstancesCount
SetPending sets the Pending field's value.
func (*InstancesCount) SetRebooting ¶
func (s *InstancesCount) SetRebooting(v int64) *InstancesCount
SetRebooting sets the Rebooting field's value.
func (*InstancesCount) SetRegistered ¶
func (s *InstancesCount) SetRegistered(v int64) *InstancesCount
SetRegistered sets the Registered field's value.
func (*InstancesCount) SetRegistering ¶
func (s *InstancesCount) SetRegistering(v int64) *InstancesCount
SetRegistering sets the Registering field's value.
func (*InstancesCount) SetRequested ¶
func (s *InstancesCount) SetRequested(v int64) *InstancesCount
SetRequested sets the Requested field's value.
func (*InstancesCount) SetRunningSetup ¶
func (s *InstancesCount) SetRunningSetup(v int64) *InstancesCount
SetRunningSetup sets the RunningSetup field's value.
func (*InstancesCount) SetSetupFailed ¶
func (s *InstancesCount) SetSetupFailed(v int64) *InstancesCount
SetSetupFailed sets the SetupFailed field's value.
func (*InstancesCount) SetShuttingDown ¶
func (s *InstancesCount) SetShuttingDown(v int64) *InstancesCount
SetShuttingDown sets the ShuttingDown field's value.
func (*InstancesCount) SetStartFailed ¶
func (s *InstancesCount) SetStartFailed(v int64) *InstancesCount
SetStartFailed sets the StartFailed field's value.
func (*InstancesCount) SetStopped ¶
func (s *InstancesCount) SetStopped(v int64) *InstancesCount
SetStopped sets the Stopped field's value.
func (*InstancesCount) SetStopping ¶
func (s *InstancesCount) SetStopping(v int64) *InstancesCount
SetStopping sets the Stopping field's value.
func (*InstancesCount) SetTerminated ¶
func (s *InstancesCount) SetTerminated(v int64) *InstancesCount
SetTerminated sets the Terminated field's value.
func (*InstancesCount) SetTerminating ¶
func (s *InstancesCount) SetTerminating(v int64) *InstancesCount
SetTerminating sets the Terminating field's value.
func (*InstancesCount) SetUnassigning ¶
func (s *InstancesCount) SetUnassigning(v int64) *InstancesCount
SetUnassigning sets the Unassigning field's value.
func (InstancesCount) String ¶
func (s InstancesCount) String() string
String returns the string representation
type Layer ¶
type Layer struct { 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 (http://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 (http://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 (http://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 (http://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. 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. 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Layer
func (*Layer) SetAttributes ¶
SetAttributes sets the Attributes field's value.
func (*Layer) SetAutoAssignElasticIps ¶
SetAutoAssignElasticIps sets the AutoAssignElasticIps field's value.
func (*Layer) SetAutoAssignPublicIps ¶
SetAutoAssignPublicIps sets the AutoAssignPublicIps field's value.
func (*Layer) SetCloudWatchLogsConfiguration ¶
func (s *Layer) SetCloudWatchLogsConfiguration(v *CloudWatchLogsConfiguration) *Layer
SetCloudWatchLogsConfiguration sets the CloudWatchLogsConfiguration field's value.
func (*Layer) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field's value.
func (*Layer) SetCustomInstanceProfileArn ¶
SetCustomInstanceProfileArn sets the CustomInstanceProfileArn field's value.
func (*Layer) SetCustomJson ¶
SetCustomJson sets the CustomJson field's value.
func (*Layer) SetCustomRecipes ¶
SetCustomRecipes sets the CustomRecipes field's value.
func (*Layer) SetCustomSecurityGroupIds ¶
SetCustomSecurityGroupIds sets the CustomSecurityGroupIds field's value.
func (*Layer) SetDefaultRecipes ¶
SetDefaultRecipes sets the DefaultRecipes field's value.
func (*Layer) SetDefaultSecurityGroupNames ¶
SetDefaultSecurityGroupNames sets the DefaultSecurityGroupNames field's value.
func (*Layer) SetEnableAutoHealing ¶
SetEnableAutoHealing sets the EnableAutoHealing field's value.
func (*Layer) SetInstallUpdatesOnBoot ¶
SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value.
func (*Layer) SetLayerId ¶
SetLayerId sets the LayerId field's value.
func (*Layer) SetLifecycleEventConfiguration ¶
func (s *Layer) SetLifecycleEventConfiguration(v *LifecycleEventConfiguration) *Layer
SetLifecycleEventConfiguration sets the LifecycleEventConfiguration field's value.
func (*Layer) SetPackages ¶
SetPackages sets the Packages field's value.
func (*Layer) SetShortname ¶
SetShortname sets the Shortname field's value.
func (*Layer) SetStackId ¶
SetStackId sets the StackId field's value.
func (*Layer) SetUseEbsOptimizedInstances ¶
SetUseEbsOptimizedInstances sets the UseEbsOptimizedInstances field's value.
func (*Layer) SetVolumeConfigurations ¶
func (s *Layer) SetVolumeConfigurations(v []VolumeConfiguration) *Layer
SetVolumeConfigurations sets the VolumeConfigurations field's value.
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
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
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 Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/LifecycleEventConfiguration
func (LifecycleEventConfiguration) GoString ¶
func (s LifecycleEventConfiguration) GoString() string
GoString returns the string representation
func (*LifecycleEventConfiguration) SetShutdown ¶
func (s *LifecycleEventConfiguration) SetShutdown(v *ShutdownEventConfiguration) *LifecycleEventConfiguration
SetShutdown sets the Shutdown field's value.
func (LifecycleEventConfiguration) String ¶
func (s LifecycleEventConfiguration) String() 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTagsRequest
func (ListTagsInput) GoString ¶
func (s ListTagsInput) GoString() string
GoString returns the string representation
func (*ListTagsInput) SetMaxResults ¶
func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput
SetMaxResults sets the MaxResults field's value.
func (*ListTagsInput) SetNextToken ¶
func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput
SetNextToken sets the NextToken field's value.
func (*ListTagsInput) SetResourceArn ¶
func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput
SetResourceArn sets the ResourceArn field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTagsResult
func (ListTagsOutput) GoString ¶
func (s ListTagsOutput) GoString() string
GoString returns the string representation
func (ListTagsOutput) SDKResponseMetadata ¶
func (s ListTagsOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*ListTagsOutput) SetNextToken ¶
func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput
SetNextToken sets the NextToken field's value.
func (*ListTagsOutput) SetTags ¶
func (s *ListTagsOutput) SetTags(v map[string]string) *ListTagsOutput
SetTags sets the Tags field's value.
func (ListTagsOutput) String ¶
func (s ListTagsOutput) String() string
String returns the string representation
type ListTagsRequest ¶
type ListTagsRequest struct { *aws.Request Input *ListTagsInput }
ListTagsRequest is a API request type for the ListTags API operation.
func (ListTagsRequest) Send ¶
func (r ListTagsRequest) Send() (*ListTagsOutput, error)
Send marshals and sends the ListTags API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/LoadBasedAutoScalingConfiguration
func (LoadBasedAutoScalingConfiguration) GoString ¶
func (s LoadBasedAutoScalingConfiguration) GoString() string
GoString returns the string representation
func (*LoadBasedAutoScalingConfiguration) SetDownScaling ¶
func (s *LoadBasedAutoScalingConfiguration) SetDownScaling(v *AutoScalingThresholds) *LoadBasedAutoScalingConfiguration
SetDownScaling sets the DownScaling field's value.
func (*LoadBasedAutoScalingConfiguration) SetEnable ¶
func (s *LoadBasedAutoScalingConfiguration) SetEnable(v bool) *LoadBasedAutoScalingConfiguration
SetEnable sets the Enable field's value.
func (*LoadBasedAutoScalingConfiguration) SetLayerId ¶
func (s *LoadBasedAutoScalingConfiguration) SetLayerId(v string) *LoadBasedAutoScalingConfiguration
SetLayerId sets the LayerId field's value.
func (*LoadBasedAutoScalingConfiguration) SetUpScaling ¶
func (s *LoadBasedAutoScalingConfiguration) SetUpScaling(v *AutoScalingThresholds) *LoadBasedAutoScalingConfiguration
SetUpScaling sets the UpScaling field's value.
func (LoadBasedAutoScalingConfiguration) String ¶
func (s LoadBasedAutoScalingConfiguration) String() string
String returns the string representation
type OpsWorks ¶
OpsWorks provides the API operation methods for making requests to AWS OpsWorks. See this package's package overview docs for details on the service.
OpsWorks methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.
func New ¶
New creates a new instance of the OpsWorks client with a config. If additional configuration is needed for the client instance use the optional aws.Config parameter to add your extra config.
Example:
// Create a OpsWorks client from just a config. svc := opsworks.New(myConfig) // Create a OpsWorks client with additional configuration svc := opsworks.New(myConfig, aws.NewConfig().WithRegion("us-west-2"))
func (*OpsWorks) AssignInstanceRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the AssignInstanceRequest method. req := client.AssignInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignInstance
func (*OpsWorks) AssignVolumeRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the AssignVolumeRequest method. req := client.AssignVolumeRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssignVolume
func (*OpsWorks) AssociateElasticIpRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the AssociateElasticIpRequest method. req := client.AssociateElasticIpRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AssociateElasticIp
func (*OpsWorks) AttachElasticLoadBalancerRequest ¶
func (c *OpsWorks) 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 (http://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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the AttachElasticLoadBalancerRequest method. req := client.AttachElasticLoadBalancerRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancer
func (*OpsWorks) CloneStackRequest ¶
func (c *OpsWorks) 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 (http://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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the CloneStackRequest method. req := client.CloneStackRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CloneStack
func (*OpsWorks) CreateAppRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the CreateAppRequest method. req := client.CreateAppRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateApp
func (*OpsWorks) CreateDeploymentRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-deploying.html) and Run Stack Commands (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the CreateDeploymentRequest method. req := client.CreateDeploymentRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateDeployment
func (*OpsWorks) CreateInstanceRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the CreateInstanceRequest method. req := client.CreateInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateInstance
func (*OpsWorks) CreateLayerRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the CreateLayerRequest method. req := client.CreateLayerRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateLayer
func (*OpsWorks) CreateStackRequest ¶
func (c *OpsWorks) 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 (http://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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the CreateStackRequest method. req := client.CreateStackRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateStack
func (*OpsWorks) CreateUserProfileRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the CreateUserProfileRequest method. req := client.CreateUserProfileRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/CreateUserProfile
func (*OpsWorks) DeleteAppRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DeleteAppRequest method. req := client.DeleteAppRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteApp
func (*OpsWorks) DeleteInstanceRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DeleteInstanceRequest method. req := client.DeleteInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteInstance
func (*OpsWorks) DeleteLayerRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DeleteLayerRequest method. req := client.DeleteLayerRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteLayer
func (*OpsWorks) DeleteStackRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DeleteStackRequest method. req := client.DeleteStackRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteStack
func (*OpsWorks) DeleteUserProfileRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DeleteUserProfileRequest method. req := client.DeleteUserProfileRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeleteUserProfile
func (*OpsWorks) DeregisterEcsClusterRequest ¶
func (c *OpsWorks) 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 (http://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 http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DeregisterEcsClusterRequest method. req := client.DeregisterEcsClusterRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterEcsCluster
func (*OpsWorks) DeregisterElasticIpRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DeregisterElasticIpRequest method. req := client.DeregisterElasticIpRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterElasticIp
func (*OpsWorks) DeregisterInstanceRequest ¶
func (c *OpsWorks) 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 can not 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DeregisterInstanceRequest method. req := client.DeregisterInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterInstance
func (*OpsWorks) DeregisterRdsDbInstanceRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DeregisterRdsDbInstanceRequest method. req := client.DeregisterRdsDbInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterRdsDbInstance
func (*OpsWorks) DeregisterVolumeRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DeregisterVolumeRequest method. req := client.DeregisterVolumeRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DeregisterVolume
func (*OpsWorks) DescribeAgentVersionsRequest ¶
func (c *OpsWorks) 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 the DescribeAgentVersionsRequest method. req := client.DescribeAgentVersionsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeAgentVersions
func (*OpsWorks) DescribeAppsRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeAppsRequest method. req := client.DescribeAppsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeApps
func (*OpsWorks) DescribeCommandsRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeCommandsRequest method. req := client.DescribeCommandsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeCommands
func (*OpsWorks) DescribeDeploymentsRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeDeploymentsRequest method. req := client.DescribeDeploymentsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeDeployments
func (*OpsWorks) DescribeEcsClustersPages ¶
func (c *OpsWorks) DescribeEcsClustersPages(input *DescribeEcsClustersInput, fn func(*DescribeEcsClustersOutput, bool) bool) error
DescribeEcsClustersPages iterates over the pages of a DescribeEcsClusters operation, calling the "fn" function with the response data for each page. To stop iterating, return false from the fn function.
See DescribeEcsClusters method for more information on how to use this operation.
Note: This operation can generate multiple requests to a service.
// Example iterating over at most 3 pages of a DescribeEcsClusters operation. pageNum := 0 err := client.DescribeEcsClustersPages(params, func(page *DescribeEcsClustersOutput, lastPage bool) bool { pageNum++ fmt.Println(page) return pageNum <= 3 })
func (*OpsWorks) DescribeEcsClustersPagesWithContext ¶
func (c *OpsWorks) DescribeEcsClustersPagesWithContext(ctx aws.Context, input *DescribeEcsClustersInput, fn func(*DescribeEcsClustersOutput, bool) bool, opts ...aws.Option) error
DescribeEcsClustersPagesWithContext same as DescribeEcsClustersPages except it takes a Context and allows setting request options on the pages.
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 (*OpsWorks) DescribeEcsClustersRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
This call accepts only one resource-identifying parameter.
// Example sending a request using the DescribeEcsClustersRequest method. req := client.DescribeEcsClustersRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeEcsClusters
func (*OpsWorks) DescribeElasticIpsRequest ¶
func (c *OpsWorks) DescribeElasticIpsRequest(input *DescribeElasticIpsInput) DescribeElasticIpsRequest
DescribeElasticIpsRequest returns a request value for making API operation for AWS OpsWorks.
Describes Elastic IP addresses (http://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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeElasticIpsRequest method. req := client.DescribeElasticIpsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticIps
func (*OpsWorks) DescribeElasticLoadBalancersRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeElasticLoadBalancersRequest method. req := client.DescribeElasticLoadBalancersRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeElasticLoadBalancers
func (*OpsWorks) DescribeInstancesRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeInstancesRequest method. req := client.DescribeInstancesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeInstances
func (*OpsWorks) DescribeLayersRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeLayersRequest method. req := client.DescribeLayersRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLayers
func (*OpsWorks) DescribeLoadBasedAutoScalingRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeLoadBasedAutoScalingRequest method. req := client.DescribeLoadBasedAutoScalingRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeLoadBasedAutoScaling
func (*OpsWorks) DescribeMyUserProfileRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeMyUserProfileRequest method. req := client.DescribeMyUserProfileRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeMyUserProfile
func (*OpsWorks) DescribePermissionsRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribePermissionsRequest method. req := client.DescribePermissionsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribePermissions
func (*OpsWorks) DescribeRaidArraysRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeRaidArraysRequest method. req := client.DescribeRaidArraysRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRaidArrays
func (*OpsWorks) DescribeRdsDbInstancesRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
This call accepts only one resource-identifying parameter.
// Example sending a request using the DescribeRdsDbInstancesRequest method. req := client.DescribeRdsDbInstancesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeRdsDbInstances
func (*OpsWorks) DescribeServiceErrorsRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
This call accepts only one resource-identifying parameter.
// Example sending a request using the DescribeServiceErrorsRequest method. req := client.DescribeServiceErrorsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeServiceErrors
func (*OpsWorks) DescribeStackProvisioningParametersRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeStackProvisioningParametersRequest method. req := client.DescribeStackProvisioningParametersRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackProvisioningParameters
func (*OpsWorks) DescribeStackSummaryRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeStackSummaryRequest method. req := client.DescribeStackSummaryRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStackSummary
func (*OpsWorks) DescribeStacksRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeStacksRequest method. req := client.DescribeStacksRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeStacks
func (*OpsWorks) DescribeTimeBasedAutoScalingRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeTimeBasedAutoScalingRequest method. req := client.DescribeTimeBasedAutoScalingRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeTimeBasedAutoScaling
func (*OpsWorks) DescribeUserProfilesRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeUserProfilesRequest method. req := client.DescribeUserProfilesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeUserProfiles
func (*OpsWorks) DescribeVolumesRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DescribeVolumesRequest method. req := client.DescribeVolumesRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DescribeVolumes
func (*OpsWorks) DetachElasticLoadBalancerRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DetachElasticLoadBalancerRequest method. req := client.DetachElasticLoadBalancerRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DetachElasticLoadBalancer
func (*OpsWorks) DisassociateElasticIpRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the DisassociateElasticIpRequest method. req := client.DisassociateElasticIpRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/DisassociateElasticIp
func (*OpsWorks) GetHostnameSuggestionRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the GetHostnameSuggestionRequest method. req := client.GetHostnameSuggestionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GetHostnameSuggestion
func (*OpsWorks) GrantAccessRequest ¶
func (c *OpsWorks) 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 the GrantAccessRequest method. req := client.GrantAccessRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/GrantAccess
func (*OpsWorks) ListTagsRequest ¶
func (c *OpsWorks) 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 the ListTagsRequest method. req := client.ListTagsRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ListTags
func (*OpsWorks) RebootInstanceRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the RebootInstanceRequest method. req := client.RebootInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstance
func (*OpsWorks) RegisterEcsClusterRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the RegisterEcsClusterRequest method. req := client.RegisterEcsClusterRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsCluster
func (*OpsWorks) RegisterElasticIpRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the RegisterElasticIpRequest method. req := client.RegisterElasticIpRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIp
func (*OpsWorks) RegisterInstanceRequest ¶
func (c *OpsWorks) 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 (http://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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the RegisterInstanceRequest method. req := client.RegisterInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstance
func (*OpsWorks) RegisterRdsDbInstanceRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the RegisterRdsDbInstanceRequest method. req := client.RegisterRdsDbInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstance
func (*OpsWorks) RegisterVolumeRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the RegisterVolumeRequest method. req := client.RegisterVolumeRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolume
func (*OpsWorks) SetLoadBasedAutoScalingRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the SetLoadBasedAutoScalingRequest method. req := client.SetLoadBasedAutoScalingRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScaling
func (*OpsWorks) SetPermissionRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the SetPermissionRequest method. req := client.SetPermissionRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermission
func (*OpsWorks) SetTimeBasedAutoScalingRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the SetTimeBasedAutoScalingRequest method. req := client.SetTimeBasedAutoScalingRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScaling
func (*OpsWorks) StartInstanceRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the StartInstanceRequest method. req := client.StartInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstance
func (*OpsWorks) StartStackRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the StartStackRequest method. req := client.StartStackRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStack
func (*OpsWorks) StopInstanceRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the StopInstanceRequest method. req := client.StopInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstance
func (*OpsWorks) StopStackRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the StopStackRequest method. req := client.StopStackRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStack
func (*OpsWorks) TagResourceRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/tagging.html) in the AWS OpsWorks User Guide.
// Example sending a request using the TagResourceRequest method. req := client.TagResourceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResource
func (*OpsWorks) UnassignInstanceRequest ¶
func (c *OpsWorks) UnassignInstanceRequest(input *UnassignInstanceInput) UnassignInstanceRequest
UnassignInstanceRequest returns a request value for making API operation for AWS OpsWorks.
Unassigns a registered instance from all of it's layers. 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the UnassignInstanceRequest method. req := client.UnassignInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstance
func (*OpsWorks) UnassignVolumeRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the UnassignVolumeRequest method. req := client.UnassignVolumeRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolume
func (*OpsWorks) UntagResourceRequest ¶
func (c *OpsWorks) 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 the UntagResourceRequest method. req := client.UntagResourceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResource
func (*OpsWorks) UpdateAppRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the UpdateAppRequest method. req := client.UpdateAppRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateApp
func (*OpsWorks) UpdateElasticIpRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the UpdateElasticIpRequest method. req := client.UpdateElasticIpRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIp
func (*OpsWorks) UpdateInstanceRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the UpdateInstanceRequest method. req := client.UpdateInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstance
func (*OpsWorks) UpdateLayerRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the UpdateLayerRequest method. req := client.UpdateLayerRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayer
func (*OpsWorks) UpdateMyUserProfileRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the UpdateMyUserProfileRequest method. req := client.UpdateMyUserProfileRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfile
func (*OpsWorks) UpdateRdsDbInstanceRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the UpdateRdsDbInstanceRequest method. req := client.UpdateRdsDbInstanceRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstance
func (*OpsWorks) UpdateStackRequest ¶
func (c *OpsWorks) 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the UpdateStackRequest method. req := client.UpdateStackRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStack
func (*OpsWorks) UpdateUserProfileRequest ¶
func (c *OpsWorks) 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 on user permissions, see Managing User Permissions (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the UpdateUserProfileRequest method. req := client.UpdateUserProfileRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfile
func (*OpsWorks) UpdateVolumeRequest ¶
func (c *OpsWorks) 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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html).
// Example sending a request using the UpdateVolumeRequest method. req := client.UpdateVolumeRequest(params) resp, err := req.Send() if err == nil { fmt.Println(resp) }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolume
func (*OpsWorks) WaitUntilAppExists ¶
func (c *OpsWorks) WaitUntilAppExists(input *DescribeAppsInput) 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.
func (*OpsWorks) WaitUntilAppExistsWithContext ¶
func (c *OpsWorks) WaitUntilAppExistsWithContext(ctx aws.Context, input *DescribeAppsInput, opts ...aws.WaiterOption) error
WaitUntilAppExistsWithContext is an extended version of WaitUntilAppExists. With the support for passing in a context and options to configure the Waiter and the underlying request options.
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 (*OpsWorks) WaitUntilDeploymentSuccessful ¶
func (c *OpsWorks) WaitUntilDeploymentSuccessful(input *DescribeDeploymentsInput) 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.
func (*OpsWorks) WaitUntilDeploymentSuccessfulWithContext ¶
func (c *OpsWorks) WaitUntilDeploymentSuccessfulWithContext(ctx aws.Context, input *DescribeDeploymentsInput, opts ...aws.WaiterOption) error
WaitUntilDeploymentSuccessfulWithContext is an extended version of WaitUntilDeploymentSuccessful. With the support for passing in a context and options to configure the Waiter and the underlying request options.
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 (*OpsWorks) WaitUntilInstanceOnline ¶
func (c *OpsWorks) WaitUntilInstanceOnline(input *DescribeInstancesInput) 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.
func (*OpsWorks) WaitUntilInstanceOnlineWithContext ¶
func (c *OpsWorks) WaitUntilInstanceOnlineWithContext(ctx aws.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
WaitUntilInstanceOnlineWithContext is an extended version of WaitUntilInstanceOnline. With the support for passing in a context and options to configure the Waiter and the underlying request options.
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 (*OpsWorks) WaitUntilInstanceRegistered ¶
func (c *OpsWorks) WaitUntilInstanceRegistered(input *DescribeInstancesInput) 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.
func (*OpsWorks) WaitUntilInstanceRegisteredWithContext ¶
func (c *OpsWorks) WaitUntilInstanceRegisteredWithContext(ctx aws.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
WaitUntilInstanceRegisteredWithContext is an extended version of WaitUntilInstanceRegistered. With the support for passing in a context and options to configure the Waiter and the underlying request options.
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 (*OpsWorks) WaitUntilInstanceStopped ¶
func (c *OpsWorks) WaitUntilInstanceStopped(input *DescribeInstancesInput) 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.
func (*OpsWorks) WaitUntilInstanceStoppedWithContext ¶
func (c *OpsWorks) WaitUntilInstanceStoppedWithContext(ctx aws.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
WaitUntilInstanceStoppedWithContext is an extended version of WaitUntilInstanceStopped. With the support for passing in a context and options to configure the Waiter and the underlying request options.
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 (*OpsWorks) WaitUntilInstanceTerminated ¶
func (c *OpsWorks) WaitUntilInstanceTerminated(input *DescribeInstancesInput) 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.
func (*OpsWorks) WaitUntilInstanceTerminatedWithContext ¶
func (c *OpsWorks) WaitUntilInstanceTerminatedWithContext(ctx aws.Context, input *DescribeInstancesInput, opts ...aws.WaiterOption) error
WaitUntilInstanceTerminatedWithContext is an extended version of WaitUntilInstanceTerminated. With the support for passing in a context and options to configure the Waiter and the underlying request options.
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 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 (http://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 (http://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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Permission
func (Permission) GoString ¶
func (s Permission) GoString() string
GoString returns the string representation
func (*Permission) SetAllowSsh ¶
func (s *Permission) SetAllowSsh(v bool) *Permission
SetAllowSsh sets the AllowSsh field's value.
func (*Permission) SetAllowSudo ¶
func (s *Permission) SetAllowSudo(v bool) *Permission
SetAllowSudo sets the AllowSudo field's value.
func (*Permission) SetIamUserArn ¶
func (s *Permission) SetIamUserArn(v string) *Permission
SetIamUserArn sets the IamUserArn field's value.
func (*Permission) SetLevel ¶
func (s *Permission) SetLevel(v string) *Permission
SetLevel sets the Level field's value.
func (*Permission) SetStackId ¶
func (s *Permission) SetStackId(v string) *Permission
SetStackId sets the StackId field's value.
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 // (http://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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RaidArray
func (*RaidArray) SetAvailabilityZone ¶
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*RaidArray) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field's value.
func (*RaidArray) SetInstanceId ¶
SetInstanceId sets the InstanceId field's value.
func (*RaidArray) SetMountPoint ¶
SetMountPoint sets the MountPoint field's value.
func (*RaidArray) SetNumberOfDisks ¶
SetNumberOfDisks sets the NumberOfDisks field's value.
func (*RaidArray) SetRaidArrayId ¶
SetRaidArrayId sets the RaidArrayId field's value.
func (*RaidArray) SetRaidLevel ¶
SetRaidLevel sets the RaidLevel field's value.
func (*RaidArray) SetStackId ¶
SetStackId sets the StackId field's value.
func (*RaidArray) SetVolumeType ¶
SetVolumeType sets the VolumeType field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RdsDbInstance
func (RdsDbInstance) GoString ¶
func (s RdsDbInstance) GoString() string
GoString returns the string representation
func (*RdsDbInstance) SetAddress ¶
func (s *RdsDbInstance) SetAddress(v string) *RdsDbInstance
SetAddress sets the Address field's value.
func (*RdsDbInstance) SetDbInstanceIdentifier ¶
func (s *RdsDbInstance) SetDbInstanceIdentifier(v string) *RdsDbInstance
SetDbInstanceIdentifier sets the DbInstanceIdentifier field's value.
func (*RdsDbInstance) SetDbPassword ¶
func (s *RdsDbInstance) SetDbPassword(v string) *RdsDbInstance
SetDbPassword sets the DbPassword field's value.
func (*RdsDbInstance) SetDbUser ¶
func (s *RdsDbInstance) SetDbUser(v string) *RdsDbInstance
SetDbUser sets the DbUser field's value.
func (*RdsDbInstance) SetEngine ¶
func (s *RdsDbInstance) SetEngine(v string) *RdsDbInstance
SetEngine sets the Engine field's value.
func (*RdsDbInstance) SetMissingOnRds ¶
func (s *RdsDbInstance) SetMissingOnRds(v bool) *RdsDbInstance
SetMissingOnRds sets the MissingOnRds field's value.
func (*RdsDbInstance) SetRdsDbInstanceArn ¶
func (s *RdsDbInstance) SetRdsDbInstanceArn(v string) *RdsDbInstance
SetRdsDbInstanceArn sets the RdsDbInstanceArn field's value.
func (*RdsDbInstance) SetRegion ¶
func (s *RdsDbInstance) SetRegion(v string) *RdsDbInstance
SetRegion sets the Region field's value.
func (*RdsDbInstance) SetStackId ¶
func (s *RdsDbInstance) SetStackId(v string) *RdsDbInstance
SetStackId sets the StackId field's value.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstanceRequest
func (RebootInstanceInput) GoString ¶
func (s RebootInstanceInput) GoString() string
GoString returns the string representation
func (*RebootInstanceInput) SetInstanceId ¶
func (s *RebootInstanceInput) SetInstanceId(v string) *RebootInstanceInput
SetInstanceId sets the InstanceId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RebootInstanceOutput
func (RebootInstanceOutput) GoString ¶
func (s RebootInstanceOutput) GoString() string
GoString returns the string representation
func (RebootInstanceOutput) SDKResponseMetadata ¶
func (s RebootInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RebootInstanceOutput) String ¶
func (s RebootInstanceOutput) String() string
String returns the string representation
type RebootInstanceRequest ¶
type RebootInstanceRequest struct { *aws.Request Input *RebootInstanceInput }
RebootInstanceRequest is a API request type for the RebootInstance API operation.
func (RebootInstanceRequest) Send ¶
func (r RebootInstanceRequest) Send() (*RebootInstanceOutput, error)
Send marshals and sends the RebootInstance API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Recipes
func (*Recipes) SetConfigure ¶
SetConfigure sets the Configure field's value.
func (*Recipes) SetShutdown ¶
SetShutdown sets the Shutdown field's value.
func (*Recipes) SetUndeploy ¶
SetUndeploy sets the Undeploy field's value.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsClusterRequest
func (RegisterEcsClusterInput) GoString ¶
func (s RegisterEcsClusterInput) GoString() string
GoString returns the string representation
func (*RegisterEcsClusterInput) SetEcsClusterArn ¶
func (s *RegisterEcsClusterInput) SetEcsClusterArn(v string) *RegisterEcsClusterInput
SetEcsClusterArn sets the EcsClusterArn field's value.
func (*RegisterEcsClusterInput) SetStackId ¶
func (s *RegisterEcsClusterInput) SetStackId(v string) *RegisterEcsClusterInput
SetStackId sets the StackId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterEcsClusterResult
func (RegisterEcsClusterOutput) GoString ¶
func (s RegisterEcsClusterOutput) GoString() string
GoString returns the string representation
func (RegisterEcsClusterOutput) SDKResponseMetadata ¶
func (s RegisterEcsClusterOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*RegisterEcsClusterOutput) SetEcsClusterArn ¶
func (s *RegisterEcsClusterOutput) SetEcsClusterArn(v string) *RegisterEcsClusterOutput
SetEcsClusterArn sets the EcsClusterArn field's value.
func (RegisterEcsClusterOutput) String ¶
func (s RegisterEcsClusterOutput) String() string
String returns the string representation
type RegisterEcsClusterRequest ¶
type RegisterEcsClusterRequest struct { *aws.Request Input *RegisterEcsClusterInput }
RegisterEcsClusterRequest is a API request type for the RegisterEcsCluster API operation.
func (RegisterEcsClusterRequest) Send ¶
func (r RegisterEcsClusterRequest) Send() (*RegisterEcsClusterOutput, error)
Send marshals and sends the RegisterEcsCluster API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIpRequest
func (RegisterElasticIpInput) GoString ¶
func (s RegisterElasticIpInput) GoString() string
GoString returns the string representation
func (*RegisterElasticIpInput) SetElasticIp ¶
func (s *RegisterElasticIpInput) SetElasticIp(v string) *RegisterElasticIpInput
SetElasticIp sets the ElasticIp field's value.
func (*RegisterElasticIpInput) SetStackId ¶
func (s *RegisterElasticIpInput) SetStackId(v string) *RegisterElasticIpInput
SetStackId sets the StackId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterElasticIpResult
func (RegisterElasticIpOutput) GoString ¶
func (s RegisterElasticIpOutput) GoString() string
GoString returns the string representation
func (RegisterElasticIpOutput) SDKResponseMetadata ¶
func (s RegisterElasticIpOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*RegisterElasticIpOutput) SetElasticIp ¶
func (s *RegisterElasticIpOutput) SetElasticIp(v string) *RegisterElasticIpOutput
SetElasticIp sets the ElasticIp field's value.
func (RegisterElasticIpOutput) String ¶
func (s RegisterElasticIpOutput) String() string
String returns the string representation
type RegisterElasticIpRequest ¶
type RegisterElasticIpRequest struct { *aws.Request Input *RegisterElasticIpInput }
RegisterElasticIpRequest is a API request type for the RegisterElasticIp API operation.
func (RegisterElasticIpRequest) Send ¶
func (r RegisterElasticIpRequest) Send() (*RegisterElasticIpOutput, error)
Send marshals and sends the RegisterElasticIp API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstanceRequest
func (RegisterInstanceInput) GoString ¶
func (s RegisterInstanceInput) GoString() string
GoString returns the string representation
func (*RegisterInstanceInput) SetHostname ¶
func (s *RegisterInstanceInput) SetHostname(v string) *RegisterInstanceInput
SetHostname sets the Hostname field's value.
func (*RegisterInstanceInput) SetInstanceIdentity ¶
func (s *RegisterInstanceInput) SetInstanceIdentity(v *InstanceIdentity) *RegisterInstanceInput
SetInstanceIdentity sets the InstanceIdentity field's value.
func (*RegisterInstanceInput) SetPrivateIp ¶
func (s *RegisterInstanceInput) SetPrivateIp(v string) *RegisterInstanceInput
SetPrivateIp sets the PrivateIp field's value.
func (*RegisterInstanceInput) SetPublicIp ¶
func (s *RegisterInstanceInput) SetPublicIp(v string) *RegisterInstanceInput
SetPublicIp sets the PublicIp field's value.
func (*RegisterInstanceInput) SetRsaPublicKey ¶
func (s *RegisterInstanceInput) SetRsaPublicKey(v string) *RegisterInstanceInput
SetRsaPublicKey sets the RsaPublicKey field's value.
func (*RegisterInstanceInput) SetRsaPublicKeyFingerprint ¶
func (s *RegisterInstanceInput) SetRsaPublicKeyFingerprint(v string) *RegisterInstanceInput
SetRsaPublicKeyFingerprint sets the RsaPublicKeyFingerprint field's value.
func (*RegisterInstanceInput) SetStackId ¶
func (s *RegisterInstanceInput) SetStackId(v string) *RegisterInstanceInput
SetStackId sets the StackId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterInstanceResult
func (RegisterInstanceOutput) GoString ¶
func (s RegisterInstanceOutput) GoString() string
GoString returns the string representation
func (RegisterInstanceOutput) SDKResponseMetadata ¶
func (s RegisterInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*RegisterInstanceOutput) SetInstanceId ¶
func (s *RegisterInstanceOutput) SetInstanceId(v string) *RegisterInstanceOutput
SetInstanceId sets the InstanceId field's value.
func (RegisterInstanceOutput) String ¶
func (s RegisterInstanceOutput) String() string
String returns the string representation
type RegisterInstanceRequest ¶
type RegisterInstanceRequest struct { *aws.Request Input *RegisterInstanceInput }
RegisterInstanceRequest is a API request type for the RegisterInstance API operation.
func (RegisterInstanceRequest) Send ¶
func (r RegisterInstanceRequest) Send() (*RegisterInstanceOutput, error)
Send marshals and sends the RegisterInstance API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstanceRequest
func (RegisterRdsDbInstanceInput) GoString ¶
func (s RegisterRdsDbInstanceInput) GoString() string
GoString returns the string representation
func (*RegisterRdsDbInstanceInput) SetDbPassword ¶
func (s *RegisterRdsDbInstanceInput) SetDbPassword(v string) *RegisterRdsDbInstanceInput
SetDbPassword sets the DbPassword field's value.
func (*RegisterRdsDbInstanceInput) SetDbUser ¶
func (s *RegisterRdsDbInstanceInput) SetDbUser(v string) *RegisterRdsDbInstanceInput
SetDbUser sets the DbUser field's value.
func (*RegisterRdsDbInstanceInput) SetRdsDbInstanceArn ¶
func (s *RegisterRdsDbInstanceInput) SetRdsDbInstanceArn(v string) *RegisterRdsDbInstanceInput
SetRdsDbInstanceArn sets the RdsDbInstanceArn field's value.
func (*RegisterRdsDbInstanceInput) SetStackId ¶
func (s *RegisterRdsDbInstanceInput) SetStackId(v string) *RegisterRdsDbInstanceInput
SetStackId sets the StackId field's value.
func (RegisterRdsDbInstanceInput) String ¶
func (s RegisterRdsDbInstanceInput) String() 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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterRdsDbInstanceOutput
func (RegisterRdsDbInstanceOutput) GoString ¶
func (s RegisterRdsDbInstanceOutput) GoString() string
GoString returns the string representation
func (RegisterRdsDbInstanceOutput) SDKResponseMetadata ¶
func (s RegisterRdsDbInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (RegisterRdsDbInstanceOutput) String ¶
func (s RegisterRdsDbInstanceOutput) String() string
String returns the string representation
type RegisterRdsDbInstanceRequest ¶
type RegisterRdsDbInstanceRequest struct { *aws.Request Input *RegisterRdsDbInstanceInput }
RegisterRdsDbInstanceRequest is a API request type for the RegisterRdsDbInstance API operation.
func (RegisterRdsDbInstanceRequest) Send ¶
func (r RegisterRdsDbInstanceRequest) Send() (*RegisterRdsDbInstanceOutput, error)
Send marshals and sends the RegisterRdsDbInstance API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolumeRequest
func (RegisterVolumeInput) GoString ¶
func (s RegisterVolumeInput) GoString() string
GoString returns the string representation
func (*RegisterVolumeInput) SetEc2VolumeId ¶
func (s *RegisterVolumeInput) SetEc2VolumeId(v string) *RegisterVolumeInput
SetEc2VolumeId sets the Ec2VolumeId field's value.
func (*RegisterVolumeInput) SetStackId ¶
func (s *RegisterVolumeInput) SetStackId(v string) *RegisterVolumeInput
SetStackId sets the StackId field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/RegisterVolumeResult
func (RegisterVolumeOutput) GoString ¶
func (s RegisterVolumeOutput) GoString() string
GoString returns the string representation
func (RegisterVolumeOutput) SDKResponseMetadata ¶
func (s RegisterVolumeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (*RegisterVolumeOutput) SetVolumeId ¶
func (s *RegisterVolumeOutput) SetVolumeId(v string) *RegisterVolumeOutput
SetVolumeId sets the VolumeId field's value.
func (RegisterVolumeOutput) String ¶
func (s RegisterVolumeOutput) String() string
String returns the string representation
type RegisterVolumeRequest ¶
type RegisterVolumeRequest struct { *aws.Request Input *RegisterVolumeInput }
RegisterVolumeRequest is a API request type for the RegisterVolume API operation.
func (RegisterVolumeRequest) Send ¶
func (r RegisterVolumeRequest) Send() (*RegisterVolumeOutput, error)
Send marshals and sends the RegisterVolume API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ReportedOs
func (ReportedOs) GoString ¶
func (s ReportedOs) GoString() string
GoString returns the string representation
func (*ReportedOs) SetFamily ¶
func (s *ReportedOs) SetFamily(v string) *ReportedOs
SetFamily sets the Family field's value.
func (*ReportedOs) SetName ¶
func (s *ReportedOs) SetName(v string) *ReportedOs
SetName sets the Name field's value.
func (*ReportedOs) SetVersion ¶
func (s *ReportedOs) SetVersion(v string) *ReportedOs
SetVersion sets the Version field's value.
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
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SelfUserProfile
func (SelfUserProfile) GoString ¶
func (s SelfUserProfile) GoString() string
GoString returns the string representation
func (*SelfUserProfile) SetIamUserArn ¶
func (s *SelfUserProfile) SetIamUserArn(v string) *SelfUserProfile
SetIamUserArn sets the IamUserArn field's value.
func (*SelfUserProfile) SetName ¶
func (s *SelfUserProfile) SetName(v string) *SelfUserProfile
SetName sets the Name field's value.
func (*SelfUserProfile) SetSshPublicKey ¶
func (s *SelfUserProfile) SetSshPublicKey(v string) *SelfUserProfile
SetSshPublicKey sets the SshPublicKey field's value.
func (*SelfUserProfile) SetSshUsername ¶
func (s *SelfUserProfile) SetSshUsername(v string) *SelfUserProfile
SetSshUsername sets the SshUsername field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ServiceError
func (ServiceError) GoString ¶
func (s ServiceError) GoString() string
GoString returns the string representation
func (*ServiceError) SetCreatedAt ¶
func (s *ServiceError) SetCreatedAt(v string) *ServiceError
SetCreatedAt sets the CreatedAt field's value.
func (*ServiceError) SetInstanceId ¶
func (s *ServiceError) SetInstanceId(v string) *ServiceError
SetInstanceId sets the InstanceId field's value.
func (*ServiceError) SetMessage ¶
func (s *ServiceError) SetMessage(v string) *ServiceError
SetMessage sets the Message field's value.
func (*ServiceError) SetServiceErrorId ¶
func (s *ServiceError) SetServiceErrorId(v string) *ServiceError
SetServiceErrorId sets the ServiceErrorId field's value.
func (*ServiceError) SetStackId ¶
func (s *ServiceError) SetStackId(v string) *ServiceError
SetStackId sets the StackId field's value.
func (*ServiceError) SetType ¶
func (s *ServiceError) SetType(v string) *ServiceError
SetType sets the Type field's value.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScalingRequest
func (SetLoadBasedAutoScalingInput) GoString ¶
func (s SetLoadBasedAutoScalingInput) GoString() string
GoString returns the string representation
func (*SetLoadBasedAutoScalingInput) SetDownScaling ¶
func (s *SetLoadBasedAutoScalingInput) SetDownScaling(v *AutoScalingThresholds) *SetLoadBasedAutoScalingInput
SetDownScaling sets the DownScaling field's value.
func (*SetLoadBasedAutoScalingInput) SetEnable ¶
func (s *SetLoadBasedAutoScalingInput) SetEnable(v bool) *SetLoadBasedAutoScalingInput
SetEnable sets the Enable field's value.
func (*SetLoadBasedAutoScalingInput) SetLayerId ¶
func (s *SetLoadBasedAutoScalingInput) SetLayerId(v string) *SetLoadBasedAutoScalingInput
SetLayerId sets the LayerId field's value.
func (*SetLoadBasedAutoScalingInput) SetUpScaling ¶
func (s *SetLoadBasedAutoScalingInput) SetUpScaling(v *AutoScalingThresholds) *SetLoadBasedAutoScalingInput
SetUpScaling sets the UpScaling field's value.
func (SetLoadBasedAutoScalingInput) String ¶
func (s SetLoadBasedAutoScalingInput) String() 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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetLoadBasedAutoScalingOutput
func (SetLoadBasedAutoScalingOutput) GoString ¶
func (s SetLoadBasedAutoScalingOutput) GoString() string
GoString returns the string representation
func (SetLoadBasedAutoScalingOutput) SDKResponseMetadata ¶
func (s SetLoadBasedAutoScalingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (SetLoadBasedAutoScalingOutput) String ¶
func (s SetLoadBasedAutoScalingOutput) String() string
String returns the string representation
type SetLoadBasedAutoScalingRequest ¶
type SetLoadBasedAutoScalingRequest struct { *aws.Request Input *SetLoadBasedAutoScalingInput }
SetLoadBasedAutoScalingRequest is a API request type for the SetLoadBasedAutoScaling API operation.
func (SetLoadBasedAutoScalingRequest) Send ¶
func (r SetLoadBasedAutoScalingRequest) Send() (*SetLoadBasedAutoScalingOutput, error)
Send marshals and sends the SetLoadBasedAutoScaling API 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 on the permissions associated with these levels, see // Managing User Permissions (http://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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermissionRequest
func (SetPermissionInput) GoString ¶
func (s SetPermissionInput) GoString() string
GoString returns the string representation
func (*SetPermissionInput) SetAllowSsh ¶
func (s *SetPermissionInput) SetAllowSsh(v bool) *SetPermissionInput
SetAllowSsh sets the AllowSsh field's value.
func (*SetPermissionInput) SetAllowSudo ¶
func (s *SetPermissionInput) SetAllowSudo(v bool) *SetPermissionInput
SetAllowSudo sets the AllowSudo field's value.
func (*SetPermissionInput) SetIamUserArn ¶
func (s *SetPermissionInput) SetIamUserArn(v string) *SetPermissionInput
SetIamUserArn sets the IamUserArn field's value.
func (*SetPermissionInput) SetLevel ¶
func (s *SetPermissionInput) SetLevel(v string) *SetPermissionInput
SetLevel sets the Level field's value.
func (*SetPermissionInput) SetStackId ¶
func (s *SetPermissionInput) SetStackId(v string) *SetPermissionInput
SetStackId sets the StackId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetPermissionOutput
func (SetPermissionOutput) GoString ¶
func (s SetPermissionOutput) GoString() string
GoString returns the string representation
func (SetPermissionOutput) SDKResponseMetadata ¶
func (s SetPermissionOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (SetPermissionOutput) String ¶
func (s SetPermissionOutput) String() string
String returns the string representation
type SetPermissionRequest ¶
type SetPermissionRequest struct { *aws.Request Input *SetPermissionInput }
SetPermissionRequest is a API request type for the SetPermission API operation.
func (SetPermissionRequest) Send ¶
func (r SetPermissionRequest) Send() (*SetPermissionOutput, error)
Send marshals and sends the SetPermission API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScalingRequest
func (SetTimeBasedAutoScalingInput) GoString ¶
func (s SetTimeBasedAutoScalingInput) GoString() string
GoString returns the string representation
func (*SetTimeBasedAutoScalingInput) SetAutoScalingSchedule ¶
func (s *SetTimeBasedAutoScalingInput) SetAutoScalingSchedule(v *WeeklyAutoScalingSchedule) *SetTimeBasedAutoScalingInput
SetAutoScalingSchedule sets the AutoScalingSchedule field's value.
func (*SetTimeBasedAutoScalingInput) SetInstanceId ¶
func (s *SetTimeBasedAutoScalingInput) SetInstanceId(v string) *SetTimeBasedAutoScalingInput
SetInstanceId sets the InstanceId field's value.
func (SetTimeBasedAutoScalingInput) String ¶
func (s SetTimeBasedAutoScalingInput) String() 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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SetTimeBasedAutoScalingOutput
func (SetTimeBasedAutoScalingOutput) GoString ¶
func (s SetTimeBasedAutoScalingOutput) GoString() string
GoString returns the string representation
func (SetTimeBasedAutoScalingOutput) SDKResponseMetadata ¶
func (s SetTimeBasedAutoScalingOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (SetTimeBasedAutoScalingOutput) String ¶
func (s SetTimeBasedAutoScalingOutput) String() string
String returns the string representation
type SetTimeBasedAutoScalingRequest ¶
type SetTimeBasedAutoScalingRequest struct { *aws.Request Input *SetTimeBasedAutoScalingInput }
SetTimeBasedAutoScalingRequest is a API request type for the SetTimeBasedAutoScaling API operation.
func (SetTimeBasedAutoScalingRequest) Send ¶
func (r SetTimeBasedAutoScalingRequest) Send() (*SetTimeBasedAutoScalingOutput, error)
Send marshals and sends the SetTimeBasedAutoScaling API request.
type ShutdownEventConfiguration ¶
type ShutdownEventConfiguration struct { // Whether to enable Elastic Load Balancing connection draining. For more information, // see Connection Draining (http://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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/ShutdownEventConfiguration
func (ShutdownEventConfiguration) GoString ¶
func (s ShutdownEventConfiguration) GoString() string
GoString returns the string representation
func (*ShutdownEventConfiguration) SetDelayUntilElbConnectionsDrained ¶
func (s *ShutdownEventConfiguration) SetDelayUntilElbConnectionsDrained(v bool) *ShutdownEventConfiguration
SetDelayUntilElbConnectionsDrained sets the DelayUntilElbConnectionsDrained field's value.
func (*ShutdownEventConfiguration) SetExecutionTimeout ¶
func (s *ShutdownEventConfiguration) SetExecutionTimeout(v int64) *ShutdownEventConfiguration
SetExecutionTimeout sets the ExecutionTimeout field's value.
func (ShutdownEventConfiguration) String ¶
func (s ShutdownEventConfiguration) String() 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 http://docs.aws.amazon.com/general/latest/gr/aws-access-keys-best-practices.html // (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html) or Custom Recipes and Cookbooks (http://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html). Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Source
func (*Source) SetPassword ¶
SetPassword sets the Password field's value.
func (*Source) SetRevision ¶
SetRevision sets the Revision field's value.
func (*Source) SetType ¶
func (s *Source) SetType(v SourceType) *Source
SetType sets the Type field's value.
func (*Source) SetUsername ¶
SetUsername sets the Username field's value.
type SourceType ¶
type SourceType string
const ( SourceTypeGit SourceType = "git" SourceTypeSvn SourceType = "svn" SourceTypeArchive SourceType = "archive" SourceTypeS3 SourceType = "s3" )
Enum values for SourceType
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/SslConfiguration
func (SslConfiguration) GoString ¶
func (s SslConfiguration) GoString() string
GoString returns the string representation
func (*SslConfiguration) SetCertificate ¶
func (s *SslConfiguration) SetCertificate(v string) *SslConfiguration
SetCertificate sets the Certificate field's value.
func (*SslConfiguration) SetChain ¶
func (s *SslConfiguration) SetChain(v string) *SslConfiguration
SetChain sets the Chain field's value.
func (*SslConfiguration) SetPrivateKey ¶
func (s *SslConfiguration) SetPrivateKey(v string) *SslConfiguration
SetPrivateKey sets the PrivateKey field's value.
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 (http://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 Creating Apps (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html) // or Custom Recipes and Cookbooks (http://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 (http://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 (http://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 // (http://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 (http://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 (http://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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Stack
func (*Stack) SetAgentVersion ¶
SetAgentVersion sets the AgentVersion field's value.
func (*Stack) SetAttributes ¶
SetAttributes sets the Attributes field's value.
func (*Stack) SetChefConfiguration ¶
func (s *Stack) SetChefConfiguration(v *ChefConfiguration) *Stack
SetChefConfiguration sets the ChefConfiguration field's value.
func (*Stack) SetConfigurationManager ¶
func (s *Stack) SetConfigurationManager(v *StackConfigurationManager) *Stack
SetConfigurationManager sets the ConfigurationManager field's value.
func (*Stack) SetCreatedAt ¶
SetCreatedAt sets the CreatedAt field's value.
func (*Stack) SetCustomCookbooksSource ¶
SetCustomCookbooksSource sets the CustomCookbooksSource field's value.
func (*Stack) SetCustomJson ¶
SetCustomJson sets the CustomJson field's value.
func (*Stack) SetDefaultAvailabilityZone ¶
SetDefaultAvailabilityZone sets the DefaultAvailabilityZone field's value.
func (*Stack) SetDefaultInstanceProfileArn ¶
SetDefaultInstanceProfileArn sets the DefaultInstanceProfileArn field's value.
func (*Stack) SetDefaultOs ¶
SetDefaultOs sets the DefaultOs field's value.
func (*Stack) SetDefaultRootDeviceType ¶
func (s *Stack) SetDefaultRootDeviceType(v RootDeviceType) *Stack
SetDefaultRootDeviceType sets the DefaultRootDeviceType field's value.
func (*Stack) SetDefaultSshKeyName ¶
SetDefaultSshKeyName sets the DefaultSshKeyName field's value.
func (*Stack) SetDefaultSubnetId ¶
SetDefaultSubnetId sets the DefaultSubnetId field's value.
func (*Stack) SetHostnameTheme ¶
SetHostnameTheme sets the HostnameTheme field's value.
func (*Stack) SetServiceRoleArn ¶
SetServiceRoleArn sets the ServiceRoleArn field's value.
func (*Stack) SetStackId ¶
SetStackId sets the StackId field's value.
func (*Stack) SetUseCustomCookbooks ¶
SetUseCustomCookbooks sets the UseCustomCookbooks field's value.
func (*Stack) SetUseOpsworksSecurityGroups ¶
SetUseOpsworksSecurityGroups sets the UseOpsworksSecurityGroups field's value.
type StackAttributesKeys ¶
type StackAttributesKeys string
const (
StackAttributesKeysColor StackAttributesKeys = "Color"
)
Enum values for StackAttributesKeys
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StackConfigurationManager
func (StackConfigurationManager) GoString ¶
func (s StackConfigurationManager) GoString() string
GoString returns the string representation
func (*StackConfigurationManager) SetName ¶
func (s *StackConfigurationManager) SetName(v string) *StackConfigurationManager
SetName sets the Name field's value.
func (*StackConfigurationManager) SetVersion ¶
func (s *StackConfigurationManager) SetVersion(v string) *StackConfigurationManager
SetVersion sets the Version field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StackSummary
func (StackSummary) GoString ¶
func (s StackSummary) GoString() string
GoString returns the string representation
func (*StackSummary) SetAppsCount ¶
func (s *StackSummary) SetAppsCount(v int64) *StackSummary
SetAppsCount sets the AppsCount field's value.
func (*StackSummary) SetArn ¶
func (s *StackSummary) SetArn(v string) *StackSummary
SetArn sets the Arn field's value.
func (*StackSummary) SetInstancesCount ¶
func (s *StackSummary) SetInstancesCount(v *InstancesCount) *StackSummary
SetInstancesCount sets the InstancesCount field's value.
func (*StackSummary) SetLayersCount ¶
func (s *StackSummary) SetLayersCount(v int64) *StackSummary
SetLayersCount sets the LayersCount field's value.
func (*StackSummary) SetName ¶
func (s *StackSummary) SetName(v string) *StackSummary
SetName sets the Name field's value.
func (*StackSummary) SetStackId ¶
func (s *StackSummary) SetStackId(v string) *StackSummary
SetStackId sets the StackId field's value.
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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstanceRequest
func (StartInstanceInput) GoString ¶
func (s StartInstanceInput) GoString() string
GoString returns the string representation
func (*StartInstanceInput) SetInstanceId ¶
func (s *StartInstanceInput) SetInstanceId(v string) *StartInstanceInput
SetInstanceId sets the InstanceId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartInstanceOutput
func (StartInstanceOutput) GoString ¶
func (s StartInstanceOutput) GoString() string
GoString returns the string representation
func (StartInstanceOutput) SDKResponseMetadata ¶
func (s StartInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (StartInstanceOutput) String ¶
func (s StartInstanceOutput) String() string
String returns the string representation
type StartInstanceRequest ¶
type StartInstanceRequest struct { *aws.Request Input *StartInstanceInput }
StartInstanceRequest is a API request type for the StartInstance API operation.
func (StartInstanceRequest) Send ¶
func (r StartInstanceRequest) Send() (*StartInstanceOutput, error)
Send marshals and sends the StartInstance API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStackRequest
func (StartStackInput) GoString ¶
func (s StartStackInput) GoString() string
GoString returns the string representation
func (*StartStackInput) SetStackId ¶
func (s *StartStackInput) SetStackId(v string) *StartStackInput
SetStackId sets the StackId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StartStackOutput
func (StartStackOutput) GoString ¶
func (s StartStackOutput) GoString() string
GoString returns the string representation
func (StartStackOutput) SDKResponseMetadata ¶
func (s StartStackOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (StartStackOutput) String ¶
func (s StartStackOutput) String() string
String returns the string representation
type StartStackRequest ¶
type StartStackRequest struct { *aws.Request Input *StartStackInput }
StartStackRequest is a API request type for the StartStack API operation.
func (StartStackRequest) Send ¶
func (r StartStackRequest) Send() (*StartStackOutput, error)
Send marshals and sends the StartStack API request.
type StopInstanceInput ¶
type StopInstanceInput struct { // The instance ID. // // InstanceId is a required field InstanceId *string `type:"string" required:"true"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstanceRequest
func (StopInstanceInput) GoString ¶
func (s StopInstanceInput) GoString() string
GoString returns the string representation
func (*StopInstanceInput) SetInstanceId ¶
func (s *StopInstanceInput) SetInstanceId(v string) *StopInstanceInput
SetInstanceId sets the InstanceId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopInstanceOutput
func (StopInstanceOutput) GoString ¶
func (s StopInstanceOutput) GoString() string
GoString returns the string representation
func (StopInstanceOutput) SDKResponseMetadata ¶
func (s StopInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (StopInstanceOutput) String ¶
func (s StopInstanceOutput) String() string
String returns the string representation
type StopInstanceRequest ¶
type StopInstanceRequest struct { *aws.Request Input *StopInstanceInput }
StopInstanceRequest is a API request type for the StopInstance API operation.
func (StopInstanceRequest) Send ¶
func (r StopInstanceRequest) Send() (*StopInstanceOutput, error)
Send marshals and sends the StopInstance API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStackRequest
func (StopStackInput) GoString ¶
func (s StopStackInput) GoString() string
GoString returns the string representation
func (*StopStackInput) SetStackId ¶
func (s *StopStackInput) SetStackId(v string) *StopStackInput
SetStackId sets the StackId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/StopStackOutput
func (StopStackOutput) GoString ¶
func (s StopStackOutput) GoString() string
GoString returns the string representation
func (StopStackOutput) SDKResponseMetadata ¶
func (s StopStackOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (StopStackOutput) String ¶
func (s StopStackOutput) String() string
String returns the string representation
type StopStackRequest ¶
type StopStackRequest struct { *aws.Request Input *StopStackInput }
StopStackRequest is a API request type for the StopStack API operation.
func (StopStackRequest) Send ¶
func (r StopStackRequest) Send() (*StopStackOutput, error)
Send marshals and sends the StopStack API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResourceRequest
func (TagResourceInput) GoString ¶
func (s TagResourceInput) GoString() string
GoString returns the string representation
func (*TagResourceInput) SetResourceArn ¶
func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*TagResourceInput) SetTags ¶
func (s *TagResourceInput) SetTags(v map[string]string) *TagResourceInput
SetTags sets the Tags field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TagResourceOutput
func (TagResourceOutput) GoString ¶
func (s TagResourceOutput) GoString() string
GoString returns the string representation
func (TagResourceOutput) SDKResponseMetadata ¶
func (s TagResourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (TagResourceOutput) String ¶
func (s TagResourceOutput) String() string
String returns the string representation
type TagResourceRequest ¶
type TagResourceRequest struct { *aws.Request Input *TagResourceInput }
TagResourceRequest is a API request type for the TagResource API operation.
func (TagResourceRequest) Send ¶
func (r TagResourceRequest) Send() (*TagResourceOutput, error)
Send marshals and sends the TagResource API 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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TemporaryCredential
func (TemporaryCredential) GoString ¶
func (s TemporaryCredential) GoString() string
GoString returns the string representation
func (*TemporaryCredential) SetInstanceId ¶
func (s *TemporaryCredential) SetInstanceId(v string) *TemporaryCredential
SetInstanceId sets the InstanceId field's value.
func (*TemporaryCredential) SetPassword ¶
func (s *TemporaryCredential) SetPassword(v string) *TemporaryCredential
SetPassword sets the Password field's value.
func (*TemporaryCredential) SetUsername ¶
func (s *TemporaryCredential) SetUsername(v string) *TemporaryCredential
SetUsername sets the Username field's value.
func (*TemporaryCredential) SetValidForInMinutes ¶
func (s *TemporaryCredential) SetValidForInMinutes(v int64) *TemporaryCredential
SetValidForInMinutes sets the ValidForInMinutes field's value.
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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/TimeBasedAutoScalingConfiguration
func (TimeBasedAutoScalingConfiguration) GoString ¶
func (s TimeBasedAutoScalingConfiguration) GoString() string
GoString returns the string representation
func (*TimeBasedAutoScalingConfiguration) SetAutoScalingSchedule ¶
func (s *TimeBasedAutoScalingConfiguration) SetAutoScalingSchedule(v *WeeklyAutoScalingSchedule) *TimeBasedAutoScalingConfiguration
SetAutoScalingSchedule sets the AutoScalingSchedule field's value.
func (*TimeBasedAutoScalingConfiguration) SetInstanceId ¶
func (s *TimeBasedAutoScalingConfiguration) SetInstanceId(v string) *TimeBasedAutoScalingConfiguration
SetInstanceId sets the InstanceId field's value.
func (TimeBasedAutoScalingConfiguration) String ¶
func (s TimeBasedAutoScalingConfiguration) String() 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstanceRequest
func (UnassignInstanceInput) GoString ¶
func (s UnassignInstanceInput) GoString() string
GoString returns the string representation
func (*UnassignInstanceInput) SetInstanceId ¶
func (s *UnassignInstanceInput) SetInstanceId(v string) *UnassignInstanceInput
SetInstanceId sets the InstanceId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignInstanceOutput
func (UnassignInstanceOutput) GoString ¶
func (s UnassignInstanceOutput) GoString() string
GoString returns the string representation
func (UnassignInstanceOutput) SDKResponseMetadata ¶
func (s UnassignInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UnassignInstanceOutput) String ¶
func (s UnassignInstanceOutput) String() string
String returns the string representation
type UnassignInstanceRequest ¶
type UnassignInstanceRequest struct { *aws.Request Input *UnassignInstanceInput }
UnassignInstanceRequest is a API request type for the UnassignInstance API operation.
func (UnassignInstanceRequest) Send ¶
func (r UnassignInstanceRequest) Send() (*UnassignInstanceOutput, error)
Send marshals and sends the UnassignInstance API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolumeRequest
func (UnassignVolumeInput) GoString ¶
func (s UnassignVolumeInput) GoString() string
GoString returns the string representation
func (*UnassignVolumeInput) SetVolumeId ¶
func (s *UnassignVolumeInput) SetVolumeId(v string) *UnassignVolumeInput
SetVolumeId sets the VolumeId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UnassignVolumeOutput
func (UnassignVolumeOutput) GoString ¶
func (s UnassignVolumeOutput) GoString() string
GoString returns the string representation
func (UnassignVolumeOutput) SDKResponseMetadata ¶
func (s UnassignVolumeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UnassignVolumeOutput) String ¶
func (s UnassignVolumeOutput) String() string
String returns the string representation
type UnassignVolumeRequest ¶
type UnassignVolumeRequest struct { *aws.Request Input *UnassignVolumeInput }
UnassignVolumeRequest is a API request type for the UnassignVolume API operation.
func (UnassignVolumeRequest) Send ¶
func (r UnassignVolumeRequest) Send() (*UnassignVolumeOutput, error)
Send marshals and sends the UnassignVolume API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResourceRequest
func (UntagResourceInput) GoString ¶
func (s UntagResourceInput) GoString() string
GoString returns the string representation
func (*UntagResourceInput) SetResourceArn ¶
func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput
SetResourceArn sets the ResourceArn field's value.
func (*UntagResourceInput) SetTagKeys ¶
func (s *UntagResourceInput) SetTagKeys(v []string) *UntagResourceInput
SetTagKeys sets the TagKeys field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UntagResourceOutput
func (UntagResourceOutput) GoString ¶
func (s UntagResourceOutput) GoString() string
GoString returns the string representation
func (UntagResourceOutput) SDKResponseMetadata ¶
func (s UntagResourceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UntagResourceOutput) String ¶
func (s UntagResourceOutput) String() string
String returns the string representation
type UntagResourceRequest ¶
type UntagResourceRequest struct { *aws.Request Input *UntagResourceInput }
UntagResourceRequest is a API request type for the UntagResource API operation.
func (UntagResourceRequest) Send ¶
func (r UntagResourceRequest) Send() (*UntagResourceOutput, error)
Send marshals and sends the UntagResource API 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 (http://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 10 KB (10240 Bytes). // 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 10KB)." // // This parameter is supported only by Chef 11.10 stacks. 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateAppRequest
func (UpdateAppInput) GoString ¶
func (s UpdateAppInput) GoString() string
GoString returns the string representation
func (*UpdateAppInput) SetAppId ¶
func (s *UpdateAppInput) SetAppId(v string) *UpdateAppInput
SetAppId sets the AppId field's value.
func (*UpdateAppInput) SetAppSource ¶
func (s *UpdateAppInput) SetAppSource(v *Source) *UpdateAppInput
SetAppSource sets the AppSource field's value.
func (*UpdateAppInput) SetAttributes ¶
func (s *UpdateAppInput) SetAttributes(v map[string]string) *UpdateAppInput
SetAttributes sets the Attributes field's value.
func (*UpdateAppInput) SetDataSources ¶
func (s *UpdateAppInput) SetDataSources(v []DataSource) *UpdateAppInput
SetDataSources sets the DataSources field's value.
func (*UpdateAppInput) SetDescription ¶
func (s *UpdateAppInput) SetDescription(v string) *UpdateAppInput
SetDescription sets the Description field's value.
func (*UpdateAppInput) SetDomains ¶
func (s *UpdateAppInput) SetDomains(v []string) *UpdateAppInput
SetDomains sets the Domains field's value.
func (*UpdateAppInput) SetEnableSsl ¶
func (s *UpdateAppInput) SetEnableSsl(v bool) *UpdateAppInput
SetEnableSsl sets the EnableSsl field's value.
func (*UpdateAppInput) SetEnvironment ¶
func (s *UpdateAppInput) SetEnvironment(v []EnvironmentVariable) *UpdateAppInput
SetEnvironment sets the Environment field's value.
func (*UpdateAppInput) SetName ¶
func (s *UpdateAppInput) SetName(v string) *UpdateAppInput
SetName sets the Name field's value.
func (*UpdateAppInput) SetSslConfiguration ¶
func (s *UpdateAppInput) SetSslConfiguration(v *SslConfiguration) *UpdateAppInput
SetSslConfiguration sets the SslConfiguration field's value.
func (*UpdateAppInput) SetType ¶
func (s *UpdateAppInput) SetType(v AppType) *UpdateAppInput
SetType sets the Type field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateAppOutput
func (UpdateAppOutput) GoString ¶
func (s UpdateAppOutput) GoString() string
GoString returns the string representation
func (UpdateAppOutput) SDKResponseMetadata ¶
func (s UpdateAppOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateAppOutput) String ¶
func (s UpdateAppOutput) String() string
String returns the string representation
type UpdateAppRequest ¶
type UpdateAppRequest struct { *aws.Request Input *UpdateAppInput }
UpdateAppRequest is a API request type for the UpdateApp API operation.
func (UpdateAppRequest) Send ¶
func (r UpdateAppRequest) Send() (*UpdateAppOutput, error)
Send marshals and sends the UpdateApp API request.
type UpdateElasticIpInput ¶
type UpdateElasticIpInput struct { // The address. // // ElasticIp is a required field ElasticIp *string `type:"string" required:"true"` // The new name. Name *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIpRequest
func (UpdateElasticIpInput) GoString ¶
func (s UpdateElasticIpInput) GoString() string
GoString returns the string representation
func (*UpdateElasticIpInput) SetElasticIp ¶
func (s *UpdateElasticIpInput) SetElasticIp(v string) *UpdateElasticIpInput
SetElasticIp sets the ElasticIp field's value.
func (*UpdateElasticIpInput) SetName ¶
func (s *UpdateElasticIpInput) SetName(v string) *UpdateElasticIpInput
SetName sets the Name field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateElasticIpOutput
func (UpdateElasticIpOutput) GoString ¶
func (s UpdateElasticIpOutput) GoString() string
GoString returns the string representation
func (UpdateElasticIpOutput) SDKResponseMetadata ¶
func (s UpdateElasticIpOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateElasticIpOutput) String ¶
func (s UpdateElasticIpOutput) String() string
String returns the string representation
type UpdateElasticIpRequest ¶
type UpdateElasticIpRequest struct { *aws.Request Input *UpdateElasticIpInput }
UpdateElasticIpRequest is a API request type for the UpdateElasticIp API operation.
func (UpdateElasticIpRequest) Send ¶
func (r UpdateElasticIpRequest) Send() (*UpdateElasticIpOutput, error)
Send marshals and sends the UpdateElasticIp API 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 (http://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 (http://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 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 on the supported operating systems, see AWS OpsWorks // Stacks Operating Systems (http://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 on the supported operating systems, // see Operating Systems (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-os.html). // For more information on how to use custom AMIs with OpsWorks, see Using Custom // AMIs (http://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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstanceRequest
func (UpdateInstanceInput) GoString ¶
func (s UpdateInstanceInput) GoString() string
GoString returns the string representation
func (*UpdateInstanceInput) SetAgentVersion ¶
func (s *UpdateInstanceInput) SetAgentVersion(v string) *UpdateInstanceInput
SetAgentVersion sets the AgentVersion field's value.
func (*UpdateInstanceInput) SetAmiId ¶
func (s *UpdateInstanceInput) SetAmiId(v string) *UpdateInstanceInput
SetAmiId sets the AmiId field's value.
func (*UpdateInstanceInput) SetArchitecture ¶
func (s *UpdateInstanceInput) SetArchitecture(v Architecture) *UpdateInstanceInput
SetArchitecture sets the Architecture field's value.
func (*UpdateInstanceInput) SetAutoScalingType ¶
func (s *UpdateInstanceInput) SetAutoScalingType(v AutoScalingType) *UpdateInstanceInput
SetAutoScalingType sets the AutoScalingType field's value.
func (*UpdateInstanceInput) SetEbsOptimized ¶
func (s *UpdateInstanceInput) SetEbsOptimized(v bool) *UpdateInstanceInput
SetEbsOptimized sets the EbsOptimized field's value.
func (*UpdateInstanceInput) SetHostname ¶
func (s *UpdateInstanceInput) SetHostname(v string) *UpdateInstanceInput
SetHostname sets the Hostname field's value.
func (*UpdateInstanceInput) SetInstallUpdatesOnBoot ¶
func (s *UpdateInstanceInput) SetInstallUpdatesOnBoot(v bool) *UpdateInstanceInput
SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value.
func (*UpdateInstanceInput) SetInstanceId ¶
func (s *UpdateInstanceInput) SetInstanceId(v string) *UpdateInstanceInput
SetInstanceId sets the InstanceId field's value.
func (*UpdateInstanceInput) SetInstanceType ¶
func (s *UpdateInstanceInput) SetInstanceType(v string) *UpdateInstanceInput
SetInstanceType sets the InstanceType field's value.
func (*UpdateInstanceInput) SetLayerIds ¶
func (s *UpdateInstanceInput) SetLayerIds(v []string) *UpdateInstanceInput
SetLayerIds sets the LayerIds field's value.
func (*UpdateInstanceInput) SetOs ¶
func (s *UpdateInstanceInput) SetOs(v string) *UpdateInstanceInput
SetOs sets the Os field's value.
func (*UpdateInstanceInput) SetSshKeyName ¶
func (s *UpdateInstanceInput) SetSshKeyName(v string) *UpdateInstanceInput
SetSshKeyName sets the SshKeyName field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateInstanceOutput
func (UpdateInstanceOutput) GoString ¶
func (s UpdateInstanceOutput) GoString() string
GoString returns the string representation
func (UpdateInstanceOutput) SDKResponseMetadata ¶
func (s UpdateInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateInstanceOutput) String ¶
func (s UpdateInstanceOutput) String() string
String returns the string representation
type UpdateInstanceRequest ¶
type UpdateInstanceRequest struct { *aws.Request Input *UpdateInstanceInput }
UpdateInstanceRequest is a API request type for the UpdateInstance API operation.
func (UpdateInstanceRequest) Send ¶
func (r UpdateInstanceRequest) Send() (*UpdateInstanceOutput, error)
Send marshals and sends the UpdateInstance API 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 (http://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 (http://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 (http://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 (http://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 (http://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 (http://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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayerRequest
func (UpdateLayerInput) GoString ¶
func (s UpdateLayerInput) GoString() string
GoString returns the string representation
func (*UpdateLayerInput) SetAttributes ¶
func (s *UpdateLayerInput) SetAttributes(v map[string]string) *UpdateLayerInput
SetAttributes sets the Attributes field's value.
func (*UpdateLayerInput) SetAutoAssignElasticIps ¶
func (s *UpdateLayerInput) SetAutoAssignElasticIps(v bool) *UpdateLayerInput
SetAutoAssignElasticIps sets the AutoAssignElasticIps field's value.
func (*UpdateLayerInput) SetAutoAssignPublicIps ¶
func (s *UpdateLayerInput) SetAutoAssignPublicIps(v bool) *UpdateLayerInput
SetAutoAssignPublicIps sets the AutoAssignPublicIps field's value.
func (*UpdateLayerInput) SetCloudWatchLogsConfiguration ¶
func (s *UpdateLayerInput) SetCloudWatchLogsConfiguration(v *CloudWatchLogsConfiguration) *UpdateLayerInput
SetCloudWatchLogsConfiguration sets the CloudWatchLogsConfiguration field's value.
func (*UpdateLayerInput) SetCustomInstanceProfileArn ¶
func (s *UpdateLayerInput) SetCustomInstanceProfileArn(v string) *UpdateLayerInput
SetCustomInstanceProfileArn sets the CustomInstanceProfileArn field's value.
func (*UpdateLayerInput) SetCustomJson ¶
func (s *UpdateLayerInput) SetCustomJson(v string) *UpdateLayerInput
SetCustomJson sets the CustomJson field's value.
func (*UpdateLayerInput) SetCustomRecipes ¶
func (s *UpdateLayerInput) SetCustomRecipes(v *Recipes) *UpdateLayerInput
SetCustomRecipes sets the CustomRecipes field's value.
func (*UpdateLayerInput) SetCustomSecurityGroupIds ¶
func (s *UpdateLayerInput) SetCustomSecurityGroupIds(v []string) *UpdateLayerInput
SetCustomSecurityGroupIds sets the CustomSecurityGroupIds field's value.
func (*UpdateLayerInput) SetEnableAutoHealing ¶
func (s *UpdateLayerInput) SetEnableAutoHealing(v bool) *UpdateLayerInput
SetEnableAutoHealing sets the EnableAutoHealing field's value.
func (*UpdateLayerInput) SetInstallUpdatesOnBoot ¶
func (s *UpdateLayerInput) SetInstallUpdatesOnBoot(v bool) *UpdateLayerInput
SetInstallUpdatesOnBoot sets the InstallUpdatesOnBoot field's value.
func (*UpdateLayerInput) SetLayerId ¶
func (s *UpdateLayerInput) SetLayerId(v string) *UpdateLayerInput
SetLayerId sets the LayerId field's value.
func (*UpdateLayerInput) SetLifecycleEventConfiguration ¶
func (s *UpdateLayerInput) SetLifecycleEventConfiguration(v *LifecycleEventConfiguration) *UpdateLayerInput
SetLifecycleEventConfiguration sets the LifecycleEventConfiguration field's value.
func (*UpdateLayerInput) SetName ¶
func (s *UpdateLayerInput) SetName(v string) *UpdateLayerInput
SetName sets the Name field's value.
func (*UpdateLayerInput) SetPackages ¶
func (s *UpdateLayerInput) SetPackages(v []string) *UpdateLayerInput
SetPackages sets the Packages field's value.
func (*UpdateLayerInput) SetShortname ¶
func (s *UpdateLayerInput) SetShortname(v string) *UpdateLayerInput
SetShortname sets the Shortname field's value.
func (*UpdateLayerInput) SetUseEbsOptimizedInstances ¶
func (s *UpdateLayerInput) SetUseEbsOptimizedInstances(v bool) *UpdateLayerInput
SetUseEbsOptimizedInstances sets the UseEbsOptimizedInstances field's value.
func (*UpdateLayerInput) SetVolumeConfigurations ¶
func (s *UpdateLayerInput) SetVolumeConfigurations(v []VolumeConfiguration) *UpdateLayerInput
SetVolumeConfigurations sets the VolumeConfigurations field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateLayerOutput
func (UpdateLayerOutput) GoString ¶
func (s UpdateLayerOutput) GoString() string
GoString returns the string representation
func (UpdateLayerOutput) SDKResponseMetadata ¶
func (s UpdateLayerOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateLayerOutput) String ¶
func (s UpdateLayerOutput) String() string
String returns the string representation
type UpdateLayerRequest ¶
type UpdateLayerRequest struct { *aws.Request Input *UpdateLayerInput }
UpdateLayerRequest is a API request type for the UpdateLayer API operation.
func (UpdateLayerRequest) Send ¶
func (r UpdateLayerRequest) Send() (*UpdateLayerOutput, error)
Send marshals and sends the UpdateLayer API request.
type UpdateMyUserProfileInput ¶
type UpdateMyUserProfileInput struct { // The user's SSH public key. SshPublicKey *string `type:"string"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfileRequest
func (UpdateMyUserProfileInput) GoString ¶
func (s UpdateMyUserProfileInput) GoString() string
GoString returns the string representation
func (*UpdateMyUserProfileInput) SetSshPublicKey ¶
func (s *UpdateMyUserProfileInput) SetSshPublicKey(v string) *UpdateMyUserProfileInput
SetSshPublicKey sets the SshPublicKey field's value.
func (UpdateMyUserProfileInput) String ¶
func (s UpdateMyUserProfileInput) String() string
String returns the string representation
type UpdateMyUserProfileOutput ¶
type UpdateMyUserProfileOutput struct {
// contains filtered or unexported fields
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateMyUserProfileOutput
func (UpdateMyUserProfileOutput) GoString ¶
func (s UpdateMyUserProfileOutput) GoString() string
GoString returns the string representation
func (UpdateMyUserProfileOutput) SDKResponseMetadata ¶
func (s UpdateMyUserProfileOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateMyUserProfileOutput) String ¶
func (s UpdateMyUserProfileOutput) String() string
String returns the string representation
type UpdateMyUserProfileRequest ¶
type UpdateMyUserProfileRequest struct { *aws.Request Input *UpdateMyUserProfileInput }
UpdateMyUserProfileRequest is a API request type for the UpdateMyUserProfile API operation.
func (UpdateMyUserProfileRequest) Send ¶
func (r UpdateMyUserProfileRequest) Send() (*UpdateMyUserProfileOutput, error)
Send marshals and sends the UpdateMyUserProfile API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstanceRequest
func (UpdateRdsDbInstanceInput) GoString ¶
func (s UpdateRdsDbInstanceInput) GoString() string
GoString returns the string representation
func (*UpdateRdsDbInstanceInput) SetDbPassword ¶
func (s *UpdateRdsDbInstanceInput) SetDbPassword(v string) *UpdateRdsDbInstanceInput
SetDbPassword sets the DbPassword field's value.
func (*UpdateRdsDbInstanceInput) SetDbUser ¶
func (s *UpdateRdsDbInstanceInput) SetDbUser(v string) *UpdateRdsDbInstanceInput
SetDbUser sets the DbUser field's value.
func (*UpdateRdsDbInstanceInput) SetRdsDbInstanceArn ¶
func (s *UpdateRdsDbInstanceInput) SetRdsDbInstanceArn(v string) *UpdateRdsDbInstanceInput
SetRdsDbInstanceArn sets the RdsDbInstanceArn field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateRdsDbInstanceOutput
func (UpdateRdsDbInstanceOutput) GoString ¶
func (s UpdateRdsDbInstanceOutput) GoString() string
GoString returns the string representation
func (UpdateRdsDbInstanceOutput) SDKResponseMetadata ¶
func (s UpdateRdsDbInstanceOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateRdsDbInstanceOutput) String ¶
func (s UpdateRdsDbInstanceOutput) String() string
String returns the string representation
type UpdateRdsDbInstanceRequest ¶
type UpdateRdsDbInstanceRequest struct { *aws.Request Input *UpdateRdsDbInstanceInput }
UpdateRdsDbInstanceRequest is a API request type for the UpdateRdsDbInstance API operation.
func (UpdateRdsDbInstanceRequest) Send ¶
func (r UpdateRdsDbInstanceRequest) Send() (*UpdateRdsDbInstanceOutput, error)
Send marshals and sends the UpdateRdsDbInstance API 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 (http://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 11.4. ConfigurationManager *StackConfigurationManager `type:"structure"` // Contains the information required to retrieve an app or cookbook from a repository. // For more information, see Creating Apps (http://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html) // or Custom Recipes and Cookbooks (http://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 on custom JSON, see Use Custom JSON to Modify the Stack // Configuration Attributes (http://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 (http://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 // (http://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 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 on how to use custom AMIs with // OpsWorks, see Using Custom AMIs (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html). // // The default option is the stack's current operating system. For more information // on the supported operating systems, see AWS OpsWorks Stacks Operating Systems // (http://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 (http://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 (http://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-ssh.html) // and Managing SSH Access (http://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 (http://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 // // * 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 (http://docs.aws.amazon.com/opsworks/latest/userguide/workingstacks-creating.html). UseOpsworksSecurityGroups *bool `type:"boolean"` // contains filtered or unexported fields }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStackRequest
func (UpdateStackInput) GoString ¶
func (s UpdateStackInput) GoString() string
GoString returns the string representation
func (*UpdateStackInput) SetAgentVersion ¶
func (s *UpdateStackInput) SetAgentVersion(v string) *UpdateStackInput
SetAgentVersion sets the AgentVersion field's value.
func (*UpdateStackInput) SetAttributes ¶
func (s *UpdateStackInput) SetAttributes(v map[string]string) *UpdateStackInput
SetAttributes sets the Attributes field's value.
func (*UpdateStackInput) SetChefConfiguration ¶
func (s *UpdateStackInput) SetChefConfiguration(v *ChefConfiguration) *UpdateStackInput
SetChefConfiguration sets the ChefConfiguration field's value.
func (*UpdateStackInput) SetConfigurationManager ¶
func (s *UpdateStackInput) SetConfigurationManager(v *StackConfigurationManager) *UpdateStackInput
SetConfigurationManager sets the ConfigurationManager field's value.
func (*UpdateStackInput) SetCustomCookbooksSource ¶
func (s *UpdateStackInput) SetCustomCookbooksSource(v *Source) *UpdateStackInput
SetCustomCookbooksSource sets the CustomCookbooksSource field's value.
func (*UpdateStackInput) SetCustomJson ¶
func (s *UpdateStackInput) SetCustomJson(v string) *UpdateStackInput
SetCustomJson sets the CustomJson field's value.
func (*UpdateStackInput) SetDefaultAvailabilityZone ¶
func (s *UpdateStackInput) SetDefaultAvailabilityZone(v string) *UpdateStackInput
SetDefaultAvailabilityZone sets the DefaultAvailabilityZone field's value.
func (*UpdateStackInput) SetDefaultInstanceProfileArn ¶
func (s *UpdateStackInput) SetDefaultInstanceProfileArn(v string) *UpdateStackInput
SetDefaultInstanceProfileArn sets the DefaultInstanceProfileArn field's value.
func (*UpdateStackInput) SetDefaultOs ¶
func (s *UpdateStackInput) SetDefaultOs(v string) *UpdateStackInput
SetDefaultOs sets the DefaultOs field's value.
func (*UpdateStackInput) SetDefaultRootDeviceType ¶
func (s *UpdateStackInput) SetDefaultRootDeviceType(v RootDeviceType) *UpdateStackInput
SetDefaultRootDeviceType sets the DefaultRootDeviceType field's value.
func (*UpdateStackInput) SetDefaultSshKeyName ¶
func (s *UpdateStackInput) SetDefaultSshKeyName(v string) *UpdateStackInput
SetDefaultSshKeyName sets the DefaultSshKeyName field's value.
func (*UpdateStackInput) SetDefaultSubnetId ¶
func (s *UpdateStackInput) SetDefaultSubnetId(v string) *UpdateStackInput
SetDefaultSubnetId sets the DefaultSubnetId field's value.
func (*UpdateStackInput) SetHostnameTheme ¶
func (s *UpdateStackInput) SetHostnameTheme(v string) *UpdateStackInput
SetHostnameTheme sets the HostnameTheme field's value.
func (*UpdateStackInput) SetName ¶
func (s *UpdateStackInput) SetName(v string) *UpdateStackInput
SetName sets the Name field's value.
func (*UpdateStackInput) SetServiceRoleArn ¶
func (s *UpdateStackInput) SetServiceRoleArn(v string) *UpdateStackInput
SetServiceRoleArn sets the ServiceRoleArn field's value.
func (*UpdateStackInput) SetStackId ¶
func (s *UpdateStackInput) SetStackId(v string) *UpdateStackInput
SetStackId sets the StackId field's value.
func (*UpdateStackInput) SetUseCustomCookbooks ¶
func (s *UpdateStackInput) SetUseCustomCookbooks(v bool) *UpdateStackInput
SetUseCustomCookbooks sets the UseCustomCookbooks field's value.
func (*UpdateStackInput) SetUseOpsworksSecurityGroups ¶
func (s *UpdateStackInput) SetUseOpsworksSecurityGroups(v bool) *UpdateStackInput
SetUseOpsworksSecurityGroups sets the UseOpsworksSecurityGroups field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateStackOutput
func (UpdateStackOutput) GoString ¶
func (s UpdateStackOutput) GoString() string
GoString returns the string representation
func (UpdateStackOutput) SDKResponseMetadata ¶
func (s UpdateStackOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateStackOutput) String ¶
func (s UpdateStackOutput) String() string
String returns the string representation
type UpdateStackRequest ¶
type UpdateStackRequest struct { *aws.Request Input *UpdateStackInput }
UpdateStackRequest is a API request type for the UpdateStack API operation.
func (UpdateStackRequest) Send ¶
func (r UpdateStackRequest) Send() (*UpdateStackOutput, error)
Send marshals and sends the UpdateStack API 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 (http://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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfileRequest
func (UpdateUserProfileInput) GoString ¶
func (s UpdateUserProfileInput) GoString() string
GoString returns the string representation
func (*UpdateUserProfileInput) SetAllowSelfManagement ¶
func (s *UpdateUserProfileInput) SetAllowSelfManagement(v bool) *UpdateUserProfileInput
SetAllowSelfManagement sets the AllowSelfManagement field's value.
func (*UpdateUserProfileInput) SetIamUserArn ¶
func (s *UpdateUserProfileInput) SetIamUserArn(v string) *UpdateUserProfileInput
SetIamUserArn sets the IamUserArn field's value.
func (*UpdateUserProfileInput) SetSshPublicKey ¶
func (s *UpdateUserProfileInput) SetSshPublicKey(v string) *UpdateUserProfileInput
SetSshPublicKey sets the SshPublicKey field's value.
func (*UpdateUserProfileInput) SetSshUsername ¶
func (s *UpdateUserProfileInput) SetSshUsername(v string) *UpdateUserProfileInput
SetSshUsername sets the SshUsername field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateUserProfileOutput
func (UpdateUserProfileOutput) GoString ¶
func (s UpdateUserProfileOutput) GoString() string
GoString returns the string representation
func (UpdateUserProfileOutput) SDKResponseMetadata ¶
func (s UpdateUserProfileOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateUserProfileOutput) String ¶
func (s UpdateUserProfileOutput) String() string
String returns the string representation
type UpdateUserProfileRequest ¶
type UpdateUserProfileRequest struct { *aws.Request Input *UpdateUserProfileInput }
UpdateUserProfileRequest is a API request type for the UpdateUserProfile API operation.
func (UpdateUserProfileRequest) Send ¶
func (r UpdateUserProfileRequest) Send() (*UpdateUserProfileOutput, error)
Send marshals and sends the UpdateUserProfile API 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 }
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolumeRequest
func (UpdateVolumeInput) GoString ¶
func (s UpdateVolumeInput) GoString() string
GoString returns the string representation
func (*UpdateVolumeInput) SetMountPoint ¶
func (s *UpdateVolumeInput) SetMountPoint(v string) *UpdateVolumeInput
SetMountPoint sets the MountPoint field's value.
func (*UpdateVolumeInput) SetName ¶
func (s *UpdateVolumeInput) SetName(v string) *UpdateVolumeInput
SetName sets the Name field's value.
func (*UpdateVolumeInput) SetVolumeId ¶
func (s *UpdateVolumeInput) SetVolumeId(v string) *UpdateVolumeInput
SetVolumeId sets the VolumeId field's value.
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
}
Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UpdateVolumeOutput
func (UpdateVolumeOutput) GoString ¶
func (s UpdateVolumeOutput) GoString() string
GoString returns the string representation
func (UpdateVolumeOutput) SDKResponseMetadata ¶
func (s UpdateVolumeOutput) SDKResponseMetadata() aws.Response
SDKResponseMetdata return sthe response metadata for the API.
func (UpdateVolumeOutput) String ¶
func (s UpdateVolumeOutput) String() string
String returns the string representation
type UpdateVolumeRequest ¶
type UpdateVolumeRequest struct { *aws.Request Input *UpdateVolumeInput }
UpdateVolumeRequest is a API request type for the UpdateVolume API operation.
func (UpdateVolumeRequest) Send ¶
func (r UpdateVolumeRequest) Send() (*UpdateVolumeOutput, error)
Send marshals and sends the UpdateVolume API 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 (http://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. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/UserProfile
func (UserProfile) GoString ¶
func (s UserProfile) GoString() string
GoString returns the string representation
func (*UserProfile) SetAllowSelfManagement ¶
func (s *UserProfile) SetAllowSelfManagement(v bool) *UserProfile
SetAllowSelfManagement sets the AllowSelfManagement field's value.
func (*UserProfile) SetIamUserArn ¶
func (s *UserProfile) SetIamUserArn(v string) *UserProfile
SetIamUserArn sets the IamUserArn field's value.
func (*UserProfile) SetName ¶
func (s *UserProfile) SetName(v string) *UserProfile
SetName sets the Name field's value.
func (*UserProfile) SetSshPublicKey ¶
func (s *UserProfile) SetSshPublicKey(v string) *UserProfile
SetSshPublicKey sets the SshPublicKey field's value.
func (*UserProfile) SetSshUsername ¶
func (s *UserProfile) SetSshUsername(v string) *UserProfile
SetSshUsername sets the SshUsername field's value.
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
type Volume ¶
type Volume struct { // The volume Availability Zone. For more information, see Regions and Endpoints // (http://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"` // 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 // (http://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 (http://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, standard or PIOPS. VolumeType *string `type:"string"` // contains filtered or unexported fields }
Describes an instance's Amazon EBS volume. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/Volume
func (*Volume) SetAvailabilityZone ¶
SetAvailabilityZone sets the AvailabilityZone field's value.
func (*Volume) SetEc2VolumeId ¶
SetEc2VolumeId sets the Ec2VolumeId field's value.
func (*Volume) SetInstanceId ¶
SetInstanceId sets the InstanceId field's value.
func (*Volume) SetMountPoint ¶
SetMountPoint sets the MountPoint field's value.
func (*Volume) SetRaidArrayId ¶
SetRaidArrayId sets the RaidArrayId field's value.
func (*Volume) SetVolumeId ¶
SetVolumeId sets the VolumeId field's value.
func (*Volume) SetVolumeType ¶
SetVolumeType sets the VolumeType field's value.
type VolumeConfiguration ¶
type VolumeConfiguration struct { // 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: // // * standard - Magnetic // // * io1 - Provisioned IOPS (SSD) // // * gp2 - General Purpose (SSD) VolumeType *string `type:"string"` // contains filtered or unexported fields }
Describes an Amazon EBS volume configuration. Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/VolumeConfiguration
func (VolumeConfiguration) GoString ¶
func (s VolumeConfiguration) GoString() string
GoString returns the string representation
func (*VolumeConfiguration) SetIops ¶
func (s *VolumeConfiguration) SetIops(v int64) *VolumeConfiguration
SetIops sets the Iops field's value.
func (*VolumeConfiguration) SetMountPoint ¶
func (s *VolumeConfiguration) SetMountPoint(v string) *VolumeConfiguration
SetMountPoint sets the MountPoint field's value.
func (*VolumeConfiguration) SetNumberOfDisks ¶
func (s *VolumeConfiguration) SetNumberOfDisks(v int64) *VolumeConfiguration
SetNumberOfDisks sets the NumberOfDisks field's value.
func (*VolumeConfiguration) SetRaidLevel ¶
func (s *VolumeConfiguration) SetRaidLevel(v int64) *VolumeConfiguration
SetRaidLevel sets the RaidLevel field's value.
func (*VolumeConfiguration) SetSize ¶
func (s *VolumeConfiguration) SetSize(v int64) *VolumeConfiguration
SetSize sets the Size field's value.
func (*VolumeConfiguration) SetVolumeType ¶
func (s *VolumeConfiguration) SetVolumeType(v string) *VolumeConfiguration
SetVolumeType sets the VolumeType field's value.
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
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" } Please also see https://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/WeeklyAutoScalingSchedule
func (WeeklyAutoScalingSchedule) GoString ¶
func (s WeeklyAutoScalingSchedule) GoString() string
GoString returns the string representation
func (*WeeklyAutoScalingSchedule) SetFriday ¶
func (s *WeeklyAutoScalingSchedule) SetFriday(v map[string]string) *WeeklyAutoScalingSchedule
SetFriday sets the Friday field's value.
func (*WeeklyAutoScalingSchedule) SetMonday ¶
func (s *WeeklyAutoScalingSchedule) SetMonday(v map[string]string) *WeeklyAutoScalingSchedule
SetMonday sets the Monday field's value.
func (*WeeklyAutoScalingSchedule) SetSaturday ¶
func (s *WeeklyAutoScalingSchedule) SetSaturday(v map[string]string) *WeeklyAutoScalingSchedule
SetSaturday sets the Saturday field's value.
func (*WeeklyAutoScalingSchedule) SetSunday ¶
func (s *WeeklyAutoScalingSchedule) SetSunday(v map[string]string) *WeeklyAutoScalingSchedule
SetSunday sets the Sunday field's value.
func (*WeeklyAutoScalingSchedule) SetThursday ¶
func (s *WeeklyAutoScalingSchedule) SetThursday(v map[string]string) *WeeklyAutoScalingSchedule
SetThursday sets the Thursday field's value.
func (*WeeklyAutoScalingSchedule) SetTuesday ¶
func (s *WeeklyAutoScalingSchedule) SetTuesday(v map[string]string) *WeeklyAutoScalingSchedule
SetTuesday sets the Tuesday field's value.
func (*WeeklyAutoScalingSchedule) SetWednesday ¶
func (s *WeeklyAutoScalingSchedule) SetWednesday(v map[string]string) *WeeklyAutoScalingSchedule
SetWednesday sets the Wednesday field's value.
func (WeeklyAutoScalingSchedule) String ¶
func (s WeeklyAutoScalingSchedule) String() string
String returns the string representation
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. |