Documentation ¶
Overview ¶
Package opsworks provides a client for AWS OpsWorks.
Index ¶
- Constants
- type App
- type AssignInstanceRequest
- type AssignVolumeRequest
- type AssociateElasticIPRequest
- type AttachElasticLoadBalancerRequest
- type AutoScalingThresholds
- type ChefConfiguration
- type CloneStackRequest
- type CloneStackResult
- type Command
- type CreateAppRequest
- type CreateAppResult
- type CreateDeploymentRequest
- type CreateDeploymentResult
- type CreateInstanceRequest
- type CreateInstanceResult
- type CreateLayerRequest
- type CreateLayerResult
- type CreateStackRequest
- type CreateStackResult
- type CreateUserProfileRequest
- type CreateUserProfileResult
- type DataSource
- type DeleteAppRequest
- type DeleteInstanceRequest
- type DeleteLayerRequest
- type DeleteStackRequest
- type DeleteUserProfileRequest
- type Deployment
- type DeploymentCommand
- type DeregisterElasticIPRequest
- type DeregisterInstanceRequest
- type DeregisterRDSDBInstanceRequest
- type DeregisterVolumeRequest
- type DescribeAppsRequest
- type DescribeAppsResult
- type DescribeCommandsRequest
- type DescribeCommandsResult
- type DescribeDeploymentsRequest
- type DescribeDeploymentsResult
- type DescribeElasticIPsRequest
- type DescribeElasticIPsResult
- type DescribeElasticLoadBalancersRequest
- type DescribeElasticLoadBalancersResult
- type DescribeInstancesRequest
- type DescribeInstancesResult
- type DescribeLayersRequest
- type DescribeLayersResult
- type DescribeLoadBasedAutoScalingRequest
- type DescribeLoadBasedAutoScalingResult
- type DescribeMyUserProfileResult
- type DescribePermissionsRequest
- type DescribePermissionsResult
- type DescribeRAIDArraysRequest
- type DescribeRAIDArraysResult
- type DescribeRDSDBInstancesRequest
- type DescribeRDSDBInstancesResult
- type DescribeServiceErrorsRequest
- type DescribeServiceErrorsResult
- type DescribeStackProvisioningParametersRequest
- type DescribeStackProvisioningParametersResult
- type DescribeStackSummaryRequest
- type DescribeStackSummaryResult
- type DescribeStacksRequest
- type DescribeStacksResult
- type DescribeTimeBasedAutoScalingRequest
- type DescribeTimeBasedAutoScalingResult
- type DescribeUserProfilesRequest
- type DescribeUserProfilesResult
- type DescribeVolumesRequest
- type DescribeVolumesResult
- type DetachElasticLoadBalancerRequest
- type DisassociateElasticIPRequest
- type ElasticIP
- type ElasticLoadBalancer
- type EnvironmentVariable
- type GetHostnameSuggestionRequest
- type GetHostnameSuggestionResult
- type Instance
- type InstanceIdentity
- type InstancesCount
- type Layer
- type LifecycleEventConfiguration
- type LoadBasedAutoScalingConfiguration
- type OpsWorks
- func (c *OpsWorks) AssignInstance(req *AssignInstanceRequest) (err error)
- func (c *OpsWorks) AssignVolume(req *AssignVolumeRequest) (err error)
- func (c *OpsWorks) AssociateElasticIP(req *AssociateElasticIPRequest) (err error)
- func (c *OpsWorks) AttachElasticLoadBalancer(req *AttachElasticLoadBalancerRequest) (err error)
- func (c *OpsWorks) CloneStack(req *CloneStackRequest) (resp *CloneStackResult, err error)
- func (c *OpsWorks) CreateApp(req *CreateAppRequest) (resp *CreateAppResult, err error)
- func (c *OpsWorks) CreateDeployment(req *CreateDeploymentRequest) (resp *CreateDeploymentResult, err error)
- func (c *OpsWorks) CreateInstance(req *CreateInstanceRequest) (resp *CreateInstanceResult, err error)
- func (c *OpsWorks) CreateLayer(req *CreateLayerRequest) (resp *CreateLayerResult, err error)
- func (c *OpsWorks) CreateStack(req *CreateStackRequest) (resp *CreateStackResult, err error)
- func (c *OpsWorks) CreateUserProfile(req *CreateUserProfileRequest) (resp *CreateUserProfileResult, err error)
- func (c *OpsWorks) DeleteApp(req *DeleteAppRequest) (err error)
- func (c *OpsWorks) DeleteInstance(req *DeleteInstanceRequest) (err error)
- func (c *OpsWorks) DeleteLayer(req *DeleteLayerRequest) (err error)
- func (c *OpsWorks) DeleteStack(req *DeleteStackRequest) (err error)
- func (c *OpsWorks) DeleteUserProfile(req *DeleteUserProfileRequest) (err error)
- func (c *OpsWorks) DeregisterElasticIP(req *DeregisterElasticIPRequest) (err error)
- func (c *OpsWorks) DeregisterInstance(req *DeregisterInstanceRequest) (err error)
- func (c *OpsWorks) DeregisterRDSDBInstance(req *DeregisterRDSDBInstanceRequest) (err error)
- func (c *OpsWorks) DeregisterVolume(req *DeregisterVolumeRequest) (err error)
- func (c *OpsWorks) DescribeApps(req *DescribeAppsRequest) (resp *DescribeAppsResult, err error)
- func (c *OpsWorks) DescribeCommands(req *DescribeCommandsRequest) (resp *DescribeCommandsResult, err error)
- func (c *OpsWorks) DescribeDeployments(req *DescribeDeploymentsRequest) (resp *DescribeDeploymentsResult, err error)
- func (c *OpsWorks) DescribeElasticIPs(req *DescribeElasticIPsRequest) (resp *DescribeElasticIPsResult, err error)
- func (c *OpsWorks) DescribeElasticLoadBalancers(req *DescribeElasticLoadBalancersRequest) (resp *DescribeElasticLoadBalancersResult, err error)
- func (c *OpsWorks) DescribeInstances(req *DescribeInstancesRequest) (resp *DescribeInstancesResult, err error)
- func (c *OpsWorks) DescribeLayers(req *DescribeLayersRequest) (resp *DescribeLayersResult, err error)
- func (c *OpsWorks) DescribeLoadBasedAutoScaling(req *DescribeLoadBasedAutoScalingRequest) (resp *DescribeLoadBasedAutoScalingResult, err error)
- func (c *OpsWorks) DescribeMyUserProfile() (resp *DescribeMyUserProfileResult, err error)
- func (c *OpsWorks) DescribePermissions(req *DescribePermissionsRequest) (resp *DescribePermissionsResult, err error)
- func (c *OpsWorks) DescribeRAIDArrays(req *DescribeRAIDArraysRequest) (resp *DescribeRAIDArraysResult, err error)
- func (c *OpsWorks) DescribeRDSDBInstances(req *DescribeRDSDBInstancesRequest) (resp *DescribeRDSDBInstancesResult, err error)
- func (c *OpsWorks) DescribeServiceErrors(req *DescribeServiceErrorsRequest) (resp *DescribeServiceErrorsResult, err error)
- func (c *OpsWorks) DescribeStackProvisioningParameters(req *DescribeStackProvisioningParametersRequest) (resp *DescribeStackProvisioningParametersResult, err error)
- func (c *OpsWorks) DescribeStackSummary(req *DescribeStackSummaryRequest) (resp *DescribeStackSummaryResult, err error)
- func (c *OpsWorks) DescribeStacks(req *DescribeStacksRequest) (resp *DescribeStacksResult, err error)
- func (c *OpsWorks) DescribeTimeBasedAutoScaling(req *DescribeTimeBasedAutoScalingRequest) (resp *DescribeTimeBasedAutoScalingResult, err error)
- func (c *OpsWorks) DescribeUserProfiles(req *DescribeUserProfilesRequest) (resp *DescribeUserProfilesResult, err error)
- func (c *OpsWorks) DescribeVolumes(req *DescribeVolumesRequest) (resp *DescribeVolumesResult, err error)
- func (c *OpsWorks) DetachElasticLoadBalancer(req *DetachElasticLoadBalancerRequest) (err error)
- func (c *OpsWorks) DisassociateElasticIP(req *DisassociateElasticIPRequest) (err error)
- func (c *OpsWorks) GetHostnameSuggestion(req *GetHostnameSuggestionRequest) (resp *GetHostnameSuggestionResult, err error)
- func (c *OpsWorks) RebootInstance(req *RebootInstanceRequest) (err error)
- func (c *OpsWorks) RegisterElasticIP(req *RegisterElasticIPRequest) (resp *RegisterElasticIPResult, err error)
- func (c *OpsWorks) RegisterInstance(req *RegisterInstanceRequest) (resp *RegisterInstanceResult, err error)
- func (c *OpsWorks) RegisterRDSDBInstance(req *RegisterRDSDBInstanceRequest) (err error)
- func (c *OpsWorks) RegisterVolume(req *RegisterVolumeRequest) (resp *RegisterVolumeResult, err error)
- func (c *OpsWorks) SetLoadBasedAutoScaling(req *SetLoadBasedAutoScalingRequest) (err error)
- func (c *OpsWorks) SetPermission(req *SetPermissionRequest) (err error)
- func (c *OpsWorks) SetTimeBasedAutoScaling(req *SetTimeBasedAutoScalingRequest) (err error)
- func (c *OpsWorks) StartInstance(req *StartInstanceRequest) (err error)
- func (c *OpsWorks) StartStack(req *StartStackRequest) (err error)
- func (c *OpsWorks) StopInstance(req *StopInstanceRequest) (err error)
- func (c *OpsWorks) StopStack(req *StopStackRequest) (err error)
- func (c *OpsWorks) UnassignInstance(req *UnassignInstanceRequest) (err error)
- func (c *OpsWorks) UnassignVolume(req *UnassignVolumeRequest) (err error)
- func (c *OpsWorks) UpdateApp(req *UpdateAppRequest) (err error)
- func (c *OpsWorks) UpdateElasticIP(req *UpdateElasticIPRequest) (err error)
- func (c *OpsWorks) UpdateInstance(req *UpdateInstanceRequest) (err error)
- func (c *OpsWorks) UpdateLayer(req *UpdateLayerRequest) (err error)
- func (c *OpsWorks) UpdateMyUserProfile(req *UpdateMyUserProfileRequest) (err error)
- func (c *OpsWorks) UpdateRDSDBInstance(req *UpdateRDSDBInstanceRequest) (err error)
- func (c *OpsWorks) UpdateStack(req *UpdateStackRequest) (err error)
- func (c *OpsWorks) UpdateUserProfile(req *UpdateUserProfileRequest) (err error)
- func (c *OpsWorks) UpdateVolume(req *UpdateVolumeRequest) (err error)
- type Permission
- type RAIDArray
- type RDSDBInstance
- type RebootInstanceRequest
- type Recipes
- type RegisterElasticIPRequest
- type RegisterElasticIPResult
- type RegisterInstanceRequest
- type RegisterInstanceResult
- type RegisterRDSDBInstanceRequest
- type RegisterVolumeRequest
- type RegisterVolumeResult
- type ReportedOS
- type SSLConfiguration
- type SelfUserProfile
- type ServiceError
- type SetLoadBasedAutoScalingRequest
- type SetPermissionRequest
- type SetTimeBasedAutoScalingRequest
- type ShutdownEventConfiguration
- type Source
- type Stack
- type StackConfigurationManager
- type StackSummary
- type StartInstanceRequest
- type StartStackRequest
- type StopInstanceRequest
- type StopStackRequest
- type TimeBasedAutoScalingConfiguration
- type UnassignInstanceRequest
- type UnassignVolumeRequest
- type UpdateAppRequest
- type UpdateElasticIPRequest
- type UpdateInstanceRequest
- type UpdateLayerRequest
- type UpdateMyUserProfileRequest
- type UpdateRDSDBInstanceRequest
- type UpdateStackRequest
- type UpdateUserProfileRequest
- type UpdateVolumeRequest
- type UserProfile
- type Volume
- type VolumeConfiguration
- type WeeklyAutoScalingSchedule
Constants ¶
const ( AppAttributesKeysAutoBundleOnDeploy = "AutoBundleOnDeploy" AppAttributesKeysDocumentRoot = "DocumentRoot" AppAttributesKeysRailsEnv = "RailsEnv" )
Possible values for OpsWorks.
const ( AppTypeJava = "java" AppTypeNodejs = "nodejs" AppTypeOther = "other" AppTypePHP = "php" AppTypeRails = "rails" AppTypeStatic = "static" )
Possible values for OpsWorks.
const ( ArchitectureI386 = "i386" ArchitectureX8664 = "x86_64" )
Possible values for OpsWorks.
const ( AutoScalingTypeLoad = "load" AutoScalingTypeTimer = "timer" )
Possible values for OpsWorks.
const ( DeploymentCommandNameDeploy = "deploy" DeploymentCommandNameExecuteRecipes = "execute_recipes" DeploymentCommandNameInstallDependencies = "install_dependencies" DeploymentCommandNameRestart = "restart" DeploymentCommandNameRollback = "rollback" DeploymentCommandNameStart = "start" DeploymentCommandNameStop = "stop" DeploymentCommandNameUndeploy = "undeploy" DeploymentCommandNameUpdateCustomCookbooks = "update_custom_cookbooks" DeploymentCommandNameUpdateDependencies = "update_dependencies" )
Possible values for OpsWorks.
const ( LayerAttributesKeysBundlerVersion = "BundlerVersion" LayerAttributesKeysEnableHaproxyStats = "EnableHaproxyStats" LayerAttributesKeysGangliaPassword = "GangliaPassword" LayerAttributesKeysGangliaURL = "GangliaUrl" LayerAttributesKeysGangliaUser = "GangliaUser" LayerAttributesKeysHaproxyHealthCheckMethod = "HaproxyHealthCheckMethod" LayerAttributesKeysHaproxyHealthCheckURL = "HaproxyHealthCheckUrl" LayerAttributesKeysHaproxyStatsPassword = "HaproxyStatsPassword" LayerAttributesKeysHaproxyStatsURL = "HaproxyStatsUrl" LayerAttributesKeysHaproxyStatsUser = "HaproxyStatsUser" LayerAttributesKeysJVM = "Jvm" LayerAttributesKeysJVMOptions = "JvmOptions" LayerAttributesKeysJVMVersion = "JvmVersion" LayerAttributesKeysJavaAppServer = "JavaAppServer" LayerAttributesKeysJavaAppServerVersion = "JavaAppServerVersion" LayerAttributesKeysManageBundler = "ManageBundler" LayerAttributesKeysMemcachedMemory = "MemcachedMemory" LayerAttributesKeysMysqlRootPassword = "MysqlRootPassword" LayerAttributesKeysMysqlRootPasswordUbiquitous = "MysqlRootPasswordUbiquitous" LayerAttributesKeysNodejsVersion = "NodejsVersion" LayerAttributesKeysPassengerVersion = "PassengerVersion" LayerAttributesKeysRailsStack = "RailsStack" LayerAttributesKeysRubyVersion = "RubyVersion" LayerAttributesKeysRubygemsVersion = "RubygemsVersion" )
Possible values for OpsWorks.
const ( LayerTypeCustom = "custom" LayerTypeDBMaster = "db-master" LayerTypeJavaApp = "java-app" LayerTypeLb = "lb" LayerTypeMemcached = "memcached" LayerTypeMonitoringMaster = "monitoring-master" LayerTypeNodejsApp = "nodejs-app" LayerTypePHPApp = "php-app" LayerTypeRailsApp = "rails-app" LayerTypeWeb = "web" )
Possible values for OpsWorks.
const ( RootDeviceTypeEBS = "ebs" RootDeviceTypeInstanceStore = "instance-store" )
Possible values for OpsWorks.
const ( SourceTypeArchive = "archive" SourceTypeGit = "git" SourceTypeS3 = "s3" SourceTypeSVN = "svn" )
Possible values for OpsWorks.
const ( VirtualizationTypeHVM = "hvm" VirtualizationTypeParavirtual = "paravirtual" )
Possible values for OpsWorks.
const (
StackAttributesKeysColor = "Color"
)
Possible values for OpsWorks.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { AppID aws.StringValue `json:"AppId,omitempty"` AppSource *Source `json:"AppSource,omitempty"` Attributes map[string]string `json:"Attributes,omitempty"` CreatedAt aws.StringValue `json:"CreatedAt,omitempty"` DataSources []DataSource `json:"DataSources,omitempty"` Description aws.StringValue `json:"Description,omitempty"` Domains []string `json:"Domains,omitempty"` EnableSSL aws.BooleanValue `json:"EnableSsl,omitempty"` Environment []EnvironmentVariable `json:"Environment,omitempty"` Name aws.StringValue `json:"Name,omitempty"` Shortname aws.StringValue `json:"Shortname,omitempty"` SSLConfiguration *SSLConfiguration `json:"SslConfiguration,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` Type aws.StringValue `json:"Type,omitempty"` }
App is undocumented.
type AssignInstanceRequest ¶
type AssignInstanceRequest struct { InstanceID aws.StringValue `json:"InstanceId"` LayerIDs []string `json:"LayerIds"` }
AssignInstanceRequest is undocumented.
type AssignVolumeRequest ¶
type AssignVolumeRequest struct { InstanceID aws.StringValue `json:"InstanceId,omitempty"` VolumeID aws.StringValue `json:"VolumeId"` }
AssignVolumeRequest is undocumented.
type AssociateElasticIPRequest ¶
type AssociateElasticIPRequest struct { ElasticIP aws.StringValue `json:"ElasticIp"` InstanceID aws.StringValue `json:"InstanceId,omitempty"` }
AssociateElasticIPRequest is undocumented.
type AttachElasticLoadBalancerRequest ¶
type AttachElasticLoadBalancerRequest struct { ElasticLoadBalancerName aws.StringValue `json:"ElasticLoadBalancerName"` LayerID aws.StringValue `json:"LayerId"` }
AttachElasticLoadBalancerRequest is undocumented.
type AutoScalingThresholds ¶
type AutoScalingThresholds struct { CPUThreshold aws.DoubleValue `json:"CpuThreshold,omitempty"` IgnoreMetricsTime aws.IntegerValue `json:"IgnoreMetricsTime,omitempty"` InstanceCount aws.IntegerValue `json:"InstanceCount,omitempty"` LoadThreshold aws.DoubleValue `json:"LoadThreshold,omitempty"` MemoryThreshold aws.DoubleValue `json:"MemoryThreshold,omitempty"` ThresholdsWaitTime aws.IntegerValue `json:"ThresholdsWaitTime,omitempty"` }
AutoScalingThresholds is undocumented.
type ChefConfiguration ¶
type ChefConfiguration struct { BerkshelfVersion aws.StringValue `json:"BerkshelfVersion,omitempty"` ManageBerkshelf aws.BooleanValue `json:"ManageBerkshelf,omitempty"` }
ChefConfiguration is undocumented.
type CloneStackRequest ¶
type CloneStackRequest struct { Attributes map[string]string `json:"Attributes,omitempty"` ChefConfiguration *ChefConfiguration `json:"ChefConfiguration,omitempty"` CloneAppIDs []string `json:"CloneAppIds,omitempty"` ClonePermissions aws.BooleanValue `json:"ClonePermissions,omitempty"` ConfigurationManager *StackConfigurationManager `json:"ConfigurationManager,omitempty"` CustomCookbooksSource *Source `json:"CustomCookbooksSource,omitempty"` CustomJSON aws.StringValue `json:"CustomJson,omitempty"` DefaultAvailabilityZone aws.StringValue `json:"DefaultAvailabilityZone,omitempty"` DefaultInstanceProfileARN aws.StringValue `json:"DefaultInstanceProfileArn,omitempty"` DefaultOS aws.StringValue `json:"DefaultOs,omitempty"` DefaultRootDeviceType aws.StringValue `json:"DefaultRootDeviceType,omitempty"` DefaultSSHKeyName aws.StringValue `json:"DefaultSshKeyName,omitempty"` DefaultSubnetID aws.StringValue `json:"DefaultSubnetId,omitempty"` HostnameTheme aws.StringValue `json:"HostnameTheme,omitempty"` Name aws.StringValue `json:"Name,omitempty"` Region aws.StringValue `json:"Region,omitempty"` ServiceRoleARN aws.StringValue `json:"ServiceRoleArn"` SourceStackID aws.StringValue `json:"SourceStackId"` UseCustomCookbooks aws.BooleanValue `json:"UseCustomCookbooks,omitempty"` UseOpsworksSecurityGroups aws.BooleanValue `json:"UseOpsworksSecurityGroups,omitempty"` VPCID aws.StringValue `json:"VpcId,omitempty"` }
CloneStackRequest is undocumented.
type CloneStackResult ¶
type CloneStackResult struct {
StackID aws.StringValue `json:"StackId,omitempty"`
}
CloneStackResult is undocumented.
type Command ¶
type Command struct { AcknowledgedAt aws.StringValue `json:"AcknowledgedAt,omitempty"` CommandID aws.StringValue `json:"CommandId,omitempty"` CompletedAt aws.StringValue `json:"CompletedAt,omitempty"` CreatedAt aws.StringValue `json:"CreatedAt,omitempty"` DeploymentID aws.StringValue `json:"DeploymentId,omitempty"` ExitCode aws.IntegerValue `json:"ExitCode,omitempty"` InstanceID aws.StringValue `json:"InstanceId,omitempty"` LogURL aws.StringValue `json:"LogUrl,omitempty"` Status aws.StringValue `json:"Status,omitempty"` Type aws.StringValue `json:"Type,omitempty"` }
Command is undocumented.
type CreateAppRequest ¶
type CreateAppRequest struct { AppSource *Source `json:"AppSource,omitempty"` Attributes map[string]string `json:"Attributes,omitempty"` DataSources []DataSource `json:"DataSources,omitempty"` Description aws.StringValue `json:"Description,omitempty"` Domains []string `json:"Domains,omitempty"` EnableSSL aws.BooleanValue `json:"EnableSsl,omitempty"` Environment []EnvironmentVariable `json:"Environment,omitempty"` Name aws.StringValue `json:"Name"` Shortname aws.StringValue `json:"Shortname,omitempty"` SSLConfiguration *SSLConfiguration `json:"SslConfiguration,omitempty"` StackID aws.StringValue `json:"StackId"` Type aws.StringValue `json:"Type"` }
CreateAppRequest is undocumented.
type CreateAppResult ¶
type CreateAppResult struct {
AppID aws.StringValue `json:"AppId,omitempty"`
}
CreateAppResult is undocumented.
type CreateDeploymentRequest ¶
type CreateDeploymentRequest struct { AppID aws.StringValue `json:"AppId,omitempty"` Command *DeploymentCommand `json:"Command"` Comment aws.StringValue `json:"Comment,omitempty"` CustomJSON aws.StringValue `json:"CustomJson,omitempty"` InstanceIDs []string `json:"InstanceIds,omitempty"` StackID aws.StringValue `json:"StackId"` }
CreateDeploymentRequest is undocumented.
type CreateDeploymentResult ¶
type CreateDeploymentResult struct {
DeploymentID aws.StringValue `json:"DeploymentId,omitempty"`
}
CreateDeploymentResult is undocumented.
type CreateInstanceRequest ¶
type CreateInstanceRequest struct { AMIID aws.StringValue `json:"AmiId,omitempty"` Architecture aws.StringValue `json:"Architecture,omitempty"` AutoScalingType aws.StringValue `json:"AutoScalingType,omitempty"` AvailabilityZone aws.StringValue `json:"AvailabilityZone,omitempty"` EBSOptimized aws.BooleanValue `json:"EbsOptimized,omitempty"` Hostname aws.StringValue `json:"Hostname,omitempty"` InstallUpdatesOnBoot aws.BooleanValue `json:"InstallUpdatesOnBoot,omitempty"` InstanceType aws.StringValue `json:"InstanceType"` LayerIDs []string `json:"LayerIds"` OS aws.StringValue `json:"Os,omitempty"` RootDeviceType aws.StringValue `json:"RootDeviceType,omitempty"` SSHKeyName aws.StringValue `json:"SshKeyName,omitempty"` StackID aws.StringValue `json:"StackId"` SubnetID aws.StringValue `json:"SubnetId,omitempty"` VirtualizationType aws.StringValue `json:"VirtualizationType,omitempty"` }
CreateInstanceRequest is undocumented.
type CreateInstanceResult ¶
type CreateInstanceResult struct {
InstanceID aws.StringValue `json:"InstanceId,omitempty"`
}
CreateInstanceResult is undocumented.
type CreateLayerRequest ¶
type CreateLayerRequest struct { Attributes map[string]string `json:"Attributes,omitempty"` AutoAssignElasticIPs aws.BooleanValue `json:"AutoAssignElasticIps,omitempty"` AutoAssignPublicIPs aws.BooleanValue `json:"AutoAssignPublicIps,omitempty"` CustomInstanceProfileARN aws.StringValue `json:"CustomInstanceProfileArn,omitempty"` CustomRecipes *Recipes `json:"CustomRecipes,omitempty"` CustomSecurityGroupIDs []string `json:"CustomSecurityGroupIds,omitempty"` EnableAutoHealing aws.BooleanValue `json:"EnableAutoHealing,omitempty"` InstallUpdatesOnBoot aws.BooleanValue `json:"InstallUpdatesOnBoot,omitempty"` LifecycleEventConfiguration *LifecycleEventConfiguration `json:"LifecycleEventConfiguration,omitempty"` Name aws.StringValue `json:"Name"` Packages []string `json:"Packages,omitempty"` Shortname aws.StringValue `json:"Shortname"` StackID aws.StringValue `json:"StackId"` Type aws.StringValue `json:"Type"` UseEBSOptimizedInstances aws.BooleanValue `json:"UseEbsOptimizedInstances,omitempty"` VolumeConfigurations []VolumeConfiguration `json:"VolumeConfigurations,omitempty"` }
CreateLayerRequest is undocumented.
type CreateLayerResult ¶
type CreateLayerResult struct {
LayerID aws.StringValue `json:"LayerId,omitempty"`
}
CreateLayerResult is undocumented.
type CreateStackRequest ¶
type CreateStackRequest struct { Attributes map[string]string `json:"Attributes,omitempty"` ChefConfiguration *ChefConfiguration `json:"ChefConfiguration,omitempty"` ConfigurationManager *StackConfigurationManager `json:"ConfigurationManager,omitempty"` CustomCookbooksSource *Source `json:"CustomCookbooksSource,omitempty"` CustomJSON aws.StringValue `json:"CustomJson,omitempty"` DefaultAvailabilityZone aws.StringValue `json:"DefaultAvailabilityZone,omitempty"` DefaultInstanceProfileARN aws.StringValue `json:"DefaultInstanceProfileArn"` DefaultOS aws.StringValue `json:"DefaultOs,omitempty"` DefaultRootDeviceType aws.StringValue `json:"DefaultRootDeviceType,omitempty"` DefaultSSHKeyName aws.StringValue `json:"DefaultSshKeyName,omitempty"` DefaultSubnetID aws.StringValue `json:"DefaultSubnetId,omitempty"` HostnameTheme aws.StringValue `json:"HostnameTheme,omitempty"` Name aws.StringValue `json:"Name"` Region aws.StringValue `json:"Region"` ServiceRoleARN aws.StringValue `json:"ServiceRoleArn"` UseCustomCookbooks aws.BooleanValue `json:"UseCustomCookbooks,omitempty"` UseOpsworksSecurityGroups aws.BooleanValue `json:"UseOpsworksSecurityGroups,omitempty"` VPCID aws.StringValue `json:"VpcId,omitempty"` }
CreateStackRequest is undocumented.
type CreateStackResult ¶
type CreateStackResult struct {
StackID aws.StringValue `json:"StackId,omitempty"`
}
CreateStackResult is undocumented.
type CreateUserProfileRequest ¶
type CreateUserProfileRequest struct { AllowSelfManagement aws.BooleanValue `json:"AllowSelfManagement,omitempty"` IAMUserARN aws.StringValue `json:"IamUserArn"` SSHPublicKey aws.StringValue `json:"SshPublicKey,omitempty"` SSHUsername aws.StringValue `json:"SshUsername,omitempty"` }
CreateUserProfileRequest is undocumented.
type CreateUserProfileResult ¶
type CreateUserProfileResult struct {
IAMUserARN aws.StringValue `json:"IamUserArn,omitempty"`
}
CreateUserProfileResult is undocumented.
type DataSource ¶
type DataSource struct { ARN aws.StringValue `json:"Arn,omitempty"` DatabaseName aws.StringValue `json:"DatabaseName,omitempty"` Type aws.StringValue `json:"Type,omitempty"` }
DataSource is undocumented.
type DeleteAppRequest ¶
type DeleteAppRequest struct {
AppID aws.StringValue `json:"AppId"`
}
DeleteAppRequest is undocumented.
type DeleteInstanceRequest ¶
type DeleteInstanceRequest struct { DeleteElasticIP aws.BooleanValue `json:"DeleteElasticIp,omitempty"` DeleteVolumes aws.BooleanValue `json:"DeleteVolumes,omitempty"` InstanceID aws.StringValue `json:"InstanceId"` }
DeleteInstanceRequest is undocumented.
type DeleteLayerRequest ¶
type DeleteLayerRequest struct {
LayerID aws.StringValue `json:"LayerId"`
}
DeleteLayerRequest is undocumented.
type DeleteStackRequest ¶
type DeleteStackRequest struct {
StackID aws.StringValue `json:"StackId"`
}
DeleteStackRequest is undocumented.
type DeleteUserProfileRequest ¶
type DeleteUserProfileRequest struct {
IAMUserARN aws.StringValue `json:"IamUserArn"`
}
DeleteUserProfileRequest is undocumented.
type Deployment ¶
type Deployment struct { AppID aws.StringValue `json:"AppId,omitempty"` Command *DeploymentCommand `json:"Command,omitempty"` Comment aws.StringValue `json:"Comment,omitempty"` CompletedAt aws.StringValue `json:"CompletedAt,omitempty"` CreatedAt aws.StringValue `json:"CreatedAt,omitempty"` CustomJSON aws.StringValue `json:"CustomJson,omitempty"` DeploymentID aws.StringValue `json:"DeploymentId,omitempty"` Duration aws.IntegerValue `json:"Duration,omitempty"` IAMUserARN aws.StringValue `json:"IamUserArn,omitempty"` InstanceIDs []string `json:"InstanceIds,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` Status aws.StringValue `json:"Status,omitempty"` }
Deployment is undocumented.
type DeploymentCommand ¶
type DeploymentCommand struct { Args map[string][]string `json:"Args,omitempty"` Name aws.StringValue `json:"Name"` }
DeploymentCommand is undocumented.
type DeregisterElasticIPRequest ¶
type DeregisterElasticIPRequest struct {
ElasticIP aws.StringValue `json:"ElasticIp"`
}
DeregisterElasticIPRequest is undocumented.
type DeregisterInstanceRequest ¶
type DeregisterInstanceRequest struct {
InstanceID aws.StringValue `json:"InstanceId"`
}
DeregisterInstanceRequest is undocumented.
type DeregisterRDSDBInstanceRequest ¶
type DeregisterRDSDBInstanceRequest struct {
RDSDBInstanceARN aws.StringValue `json:"RdsDbInstanceArn"`
}
DeregisterRDSDBInstanceRequest is undocumented.
type DeregisterVolumeRequest ¶
type DeregisterVolumeRequest struct {
VolumeID aws.StringValue `json:"VolumeId"`
}
DeregisterVolumeRequest is undocumented.
type DescribeAppsRequest ¶
type DescribeAppsRequest struct { AppIDs []string `json:"AppIds,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` }
DescribeAppsRequest is undocumented.
type DescribeAppsResult ¶
type DescribeAppsResult struct {
Apps []App `json:"Apps,omitempty"`
}
DescribeAppsResult is undocumented.
type DescribeCommandsRequest ¶
type DescribeCommandsRequest struct { CommandIDs []string `json:"CommandIds,omitempty"` DeploymentID aws.StringValue `json:"DeploymentId,omitempty"` InstanceID aws.StringValue `json:"InstanceId,omitempty"` }
DescribeCommandsRequest is undocumented.
type DescribeCommandsResult ¶
type DescribeCommandsResult struct {
Commands []Command `json:"Commands,omitempty"`
}
DescribeCommandsResult is undocumented.
type DescribeDeploymentsRequest ¶
type DescribeDeploymentsRequest struct { AppID aws.StringValue `json:"AppId,omitempty"` DeploymentIDs []string `json:"DeploymentIds,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` }
DescribeDeploymentsRequest is undocumented.
type DescribeDeploymentsResult ¶
type DescribeDeploymentsResult struct {
Deployments []Deployment `json:"Deployments,omitempty"`
}
DescribeDeploymentsResult is undocumented.
type DescribeElasticIPsRequest ¶
type DescribeElasticIPsRequest struct { InstanceID aws.StringValue `json:"InstanceId,omitempty"` IPs []string `json:"Ips,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` }
DescribeElasticIPsRequest is undocumented.
type DescribeElasticIPsResult ¶
type DescribeElasticIPsResult struct {
ElasticIPs []ElasticIP `json:"ElasticIps,omitempty"`
}
DescribeElasticIPsResult is undocumented.
type DescribeElasticLoadBalancersRequest ¶
type DescribeElasticLoadBalancersRequest struct { LayerIDs []string `json:"LayerIds,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` }
DescribeElasticLoadBalancersRequest is undocumented.
type DescribeElasticLoadBalancersResult ¶
type DescribeElasticLoadBalancersResult struct {
ElasticLoadBalancers []ElasticLoadBalancer `json:"ElasticLoadBalancers,omitempty"`
}
DescribeElasticLoadBalancersResult is undocumented.
type DescribeInstancesRequest ¶
type DescribeInstancesRequest struct { InstanceIDs []string `json:"InstanceIds,omitempty"` LayerID aws.StringValue `json:"LayerId,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` }
DescribeInstancesRequest is undocumented.
type DescribeInstancesResult ¶
type DescribeInstancesResult struct {
Instances []Instance `json:"Instances,omitempty"`
}
DescribeInstancesResult is undocumented.
type DescribeLayersRequest ¶
type DescribeLayersRequest struct { LayerIDs []string `json:"LayerIds,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` }
DescribeLayersRequest is undocumented.
type DescribeLayersResult ¶
type DescribeLayersResult struct {
Layers []Layer `json:"Layers,omitempty"`
}
DescribeLayersResult is undocumented.
type DescribeLoadBasedAutoScalingRequest ¶
type DescribeLoadBasedAutoScalingRequest struct {
LayerIDs []string `json:"LayerIds"`
}
DescribeLoadBasedAutoScalingRequest is undocumented.
type DescribeLoadBasedAutoScalingResult ¶
type DescribeLoadBasedAutoScalingResult struct {
LoadBasedAutoScalingConfigurations []LoadBasedAutoScalingConfiguration `json:"LoadBasedAutoScalingConfigurations,omitempty"`
}
DescribeLoadBasedAutoScalingResult is undocumented.
type DescribeMyUserProfileResult ¶
type DescribeMyUserProfileResult struct {
UserProfile *SelfUserProfile `json:"UserProfile,omitempty"`
}
DescribeMyUserProfileResult is undocumented.
type DescribePermissionsRequest ¶
type DescribePermissionsRequest struct { IAMUserARN aws.StringValue `json:"IamUserArn,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` }
DescribePermissionsRequest is undocumented.
type DescribePermissionsResult ¶
type DescribePermissionsResult struct {
Permissions []Permission `json:"Permissions,omitempty"`
}
DescribePermissionsResult is undocumented.
type DescribeRAIDArraysRequest ¶
type DescribeRAIDArraysRequest struct { InstanceID aws.StringValue `json:"InstanceId,omitempty"` RAIDArrayIDs []string `json:"RaidArrayIds,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` }
DescribeRAIDArraysRequest is undocumented.
type DescribeRAIDArraysResult ¶
type DescribeRAIDArraysResult struct {
RAIDArrays []RAIDArray `json:"RaidArrays,omitempty"`
}
DescribeRAIDArraysResult is undocumented.
type DescribeRDSDBInstancesRequest ¶
type DescribeRDSDBInstancesRequest struct { RDSDBInstanceARNs []string `json:"RdsDbInstanceArns,omitempty"` StackID aws.StringValue `json:"StackId"` }
DescribeRDSDBInstancesRequest is undocumented.
type DescribeRDSDBInstancesResult ¶
type DescribeRDSDBInstancesResult struct {
RDSDBInstances []RDSDBInstance `json:"RdsDbInstances,omitempty"`
}
DescribeRDSDBInstancesResult is undocumented.
type DescribeServiceErrorsRequest ¶
type DescribeServiceErrorsRequest struct { InstanceID aws.StringValue `json:"InstanceId,omitempty"` ServiceErrorIDs []string `json:"ServiceErrorIds,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` }
DescribeServiceErrorsRequest is undocumented.
type DescribeServiceErrorsResult ¶
type DescribeServiceErrorsResult struct {
ServiceErrors []ServiceError `json:"ServiceErrors,omitempty"`
}
DescribeServiceErrorsResult is undocumented.
type DescribeStackProvisioningParametersRequest ¶
type DescribeStackProvisioningParametersRequest struct {
StackID aws.StringValue `json:"StackId"`
}
DescribeStackProvisioningParametersRequest is undocumented.
type DescribeStackProvisioningParametersResult ¶
type DescribeStackProvisioningParametersResult struct { AgentInstallerURL aws.StringValue `json:"AgentInstallerUrl,omitempty"` Parameters map[string]string `json:"Parameters,omitempty"` }
DescribeStackProvisioningParametersResult is undocumented.
type DescribeStackSummaryRequest ¶
type DescribeStackSummaryRequest struct {
StackID aws.StringValue `json:"StackId"`
}
DescribeStackSummaryRequest is undocumented.
type DescribeStackSummaryResult ¶
type DescribeStackSummaryResult struct {
StackSummary *StackSummary `json:"StackSummary,omitempty"`
}
DescribeStackSummaryResult is undocumented.
type DescribeStacksRequest ¶
type DescribeStacksRequest struct {
StackIDs []string `json:"StackIds,omitempty"`
}
DescribeStacksRequest is undocumented.
type DescribeStacksResult ¶
type DescribeStacksResult struct {
Stacks []Stack `json:"Stacks,omitempty"`
}
DescribeStacksResult is undocumented.
type DescribeTimeBasedAutoScalingRequest ¶
type DescribeTimeBasedAutoScalingRequest struct {
InstanceIDs []string `json:"InstanceIds"`
}
DescribeTimeBasedAutoScalingRequest is undocumented.
type DescribeTimeBasedAutoScalingResult ¶
type DescribeTimeBasedAutoScalingResult struct {
TimeBasedAutoScalingConfigurations []TimeBasedAutoScalingConfiguration `json:"TimeBasedAutoScalingConfigurations,omitempty"`
}
DescribeTimeBasedAutoScalingResult is undocumented.
type DescribeUserProfilesRequest ¶
type DescribeUserProfilesRequest struct {
IAMUserARNs []string `json:"IamUserArns,omitempty"`
}
DescribeUserProfilesRequest is undocumented.
type DescribeUserProfilesResult ¶
type DescribeUserProfilesResult struct {
UserProfiles []UserProfile `json:"UserProfiles,omitempty"`
}
DescribeUserProfilesResult is undocumented.
type DescribeVolumesRequest ¶
type DescribeVolumesRequest struct { InstanceID aws.StringValue `json:"InstanceId,omitempty"` RAIDArrayID aws.StringValue `json:"RaidArrayId,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` VolumeIDs []string `json:"VolumeIds,omitempty"` }
DescribeVolumesRequest is undocumented.
type DescribeVolumesResult ¶
type DescribeVolumesResult struct {
Volumes []Volume `json:"Volumes,omitempty"`
}
DescribeVolumesResult is undocumented.
type DetachElasticLoadBalancerRequest ¶
type DetachElasticLoadBalancerRequest struct { ElasticLoadBalancerName aws.StringValue `json:"ElasticLoadBalancerName"` LayerID aws.StringValue `json:"LayerId"` }
DetachElasticLoadBalancerRequest is undocumented.
type DisassociateElasticIPRequest ¶
type DisassociateElasticIPRequest struct {
ElasticIP aws.StringValue `json:"ElasticIp"`
}
DisassociateElasticIPRequest is undocumented.
type ElasticIP ¶
type ElasticIP struct { Domain aws.StringValue `json:"Domain,omitempty"` InstanceID aws.StringValue `json:"InstanceId,omitempty"` IP aws.StringValue `json:"Ip,omitempty"` Name aws.StringValue `json:"Name,omitempty"` Region aws.StringValue `json:"Region,omitempty"` }
ElasticIP is undocumented.
type ElasticLoadBalancer ¶
type ElasticLoadBalancer struct { AvailabilityZones []string `json:"AvailabilityZones,omitempty"` DNSName aws.StringValue `json:"DnsName,omitempty"` EC2InstanceIDs []string `json:"Ec2InstanceIds,omitempty"` ElasticLoadBalancerName aws.StringValue `json:"ElasticLoadBalancerName,omitempty"` LayerID aws.StringValue `json:"LayerId,omitempty"` Region aws.StringValue `json:"Region,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` SubnetIDs []string `json:"SubnetIds,omitempty"` VPCID aws.StringValue `json:"VpcId,omitempty"` }
ElasticLoadBalancer is undocumented.
type EnvironmentVariable ¶
type EnvironmentVariable struct { Key aws.StringValue `json:"Key"` Secure aws.BooleanValue `json:"Secure,omitempty"` Value aws.StringValue `json:"Value"` }
EnvironmentVariable is undocumented.
type GetHostnameSuggestionRequest ¶
type GetHostnameSuggestionRequest struct {
LayerID aws.StringValue `json:"LayerId"`
}
GetHostnameSuggestionRequest is undocumented.
type GetHostnameSuggestionResult ¶
type GetHostnameSuggestionResult struct { Hostname aws.StringValue `json:"Hostname,omitempty"` LayerID aws.StringValue `json:"LayerId,omitempty"` }
GetHostnameSuggestionResult is undocumented.
type Instance ¶
type Instance struct { AMIID aws.StringValue `json:"AmiId,omitempty"` Architecture aws.StringValue `json:"Architecture,omitempty"` AutoScalingType aws.StringValue `json:"AutoScalingType,omitempty"` AvailabilityZone aws.StringValue `json:"AvailabilityZone,omitempty"` CreatedAt aws.StringValue `json:"CreatedAt,omitempty"` EBSOptimized aws.BooleanValue `json:"EbsOptimized,omitempty"` EC2InstanceID aws.StringValue `json:"Ec2InstanceId,omitempty"` ElasticIP aws.StringValue `json:"ElasticIp,omitempty"` Hostname aws.StringValue `json:"Hostname,omitempty"` InfrastructureClass aws.StringValue `json:"InfrastructureClass,omitempty"` InstallUpdatesOnBoot aws.BooleanValue `json:"InstallUpdatesOnBoot,omitempty"` InstanceID aws.StringValue `json:"InstanceId,omitempty"` InstanceProfileARN aws.StringValue `json:"InstanceProfileArn,omitempty"` InstanceType aws.StringValue `json:"InstanceType,omitempty"` LastServiceErrorID aws.StringValue `json:"LastServiceErrorId,omitempty"` LayerIDs []string `json:"LayerIds,omitempty"` OS aws.StringValue `json:"Os,omitempty"` PrivateDNS aws.StringValue `json:"PrivateDns,omitempty"` PrivateIP aws.StringValue `json:"PrivateIp,omitempty"` PublicDNS aws.StringValue `json:"PublicDns,omitempty"` PublicIP aws.StringValue `json:"PublicIp,omitempty"` RegisteredBy aws.StringValue `json:"RegisteredBy,omitempty"` ReportedOS *ReportedOS `json:"ReportedOs,omitempty"` RootDeviceType aws.StringValue `json:"RootDeviceType,omitempty"` RootDeviceVolumeID aws.StringValue `json:"RootDeviceVolumeId,omitempty"` SecurityGroupIDs []string `json:"SecurityGroupIds,omitempty"` SSHHostDsaKeyFingerprint aws.StringValue `json:"SshHostDsaKeyFingerprint,omitempty"` SSHHostRsaKeyFingerprint aws.StringValue `json:"SshHostRsaKeyFingerprint,omitempty"` SSHKeyName aws.StringValue `json:"SshKeyName,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` Status aws.StringValue `json:"Status,omitempty"` SubnetID aws.StringValue `json:"SubnetId,omitempty"` VirtualizationType aws.StringValue `json:"VirtualizationType,omitempty"` }
Instance is undocumented.
type InstanceIdentity ¶
type InstanceIdentity struct { Document aws.StringValue `json:"Document,omitempty"` Signature aws.StringValue `json:"Signature,omitempty"` }
InstanceIdentity is undocumented.
type InstancesCount ¶
type InstancesCount struct { Assigning aws.IntegerValue `json:"Assigning,omitempty"` Booting aws.IntegerValue `json:"Booting,omitempty"` ConnectionLost aws.IntegerValue `json:"ConnectionLost,omitempty"` Deregistering aws.IntegerValue `json:"Deregistering,omitempty"` Online aws.IntegerValue `json:"Online,omitempty"` Pending aws.IntegerValue `json:"Pending,omitempty"` Rebooting aws.IntegerValue `json:"Rebooting,omitempty"` Registered aws.IntegerValue `json:"Registered,omitempty"` Registering aws.IntegerValue `json:"Registering,omitempty"` Requested aws.IntegerValue `json:"Requested,omitempty"` RunningSetup aws.IntegerValue `json:"RunningSetup,omitempty"` SetupFailed aws.IntegerValue `json:"SetupFailed,omitempty"` ShuttingDown aws.IntegerValue `json:"ShuttingDown,omitempty"` StartFailed aws.IntegerValue `json:"StartFailed,omitempty"` Stopped aws.IntegerValue `json:"Stopped,omitempty"` Stopping aws.IntegerValue `json:"Stopping,omitempty"` Terminated aws.IntegerValue `json:"Terminated,omitempty"` Terminating aws.IntegerValue `json:"Terminating,omitempty"` Unassigning aws.IntegerValue `json:"Unassigning,omitempty"` }
InstancesCount is undocumented.
type Layer ¶
type Layer struct { Attributes map[string]string `json:"Attributes,omitempty"` AutoAssignElasticIPs aws.BooleanValue `json:"AutoAssignElasticIps,omitempty"` AutoAssignPublicIPs aws.BooleanValue `json:"AutoAssignPublicIps,omitempty"` CreatedAt aws.StringValue `json:"CreatedAt,omitempty"` CustomInstanceProfileARN aws.StringValue `json:"CustomInstanceProfileArn,omitempty"` CustomRecipes *Recipes `json:"CustomRecipes,omitempty"` CustomSecurityGroupIDs []string `json:"CustomSecurityGroupIds,omitempty"` DefaultRecipes *Recipes `json:"DefaultRecipes,omitempty"` DefaultSecurityGroupNames []string `json:"DefaultSecurityGroupNames,omitempty"` EnableAutoHealing aws.BooleanValue `json:"EnableAutoHealing,omitempty"` InstallUpdatesOnBoot aws.BooleanValue `json:"InstallUpdatesOnBoot,omitempty"` LayerID aws.StringValue `json:"LayerId,omitempty"` LifecycleEventConfiguration *LifecycleEventConfiguration `json:"LifecycleEventConfiguration,omitempty"` Name aws.StringValue `json:"Name,omitempty"` Packages []string `json:"Packages,omitempty"` Shortname aws.StringValue `json:"Shortname,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` Type aws.StringValue `json:"Type,omitempty"` UseEBSOptimizedInstances aws.BooleanValue `json:"UseEbsOptimizedInstances,omitempty"` VolumeConfigurations []VolumeConfiguration `json:"VolumeConfigurations,omitempty"` }
Layer is undocumented.
type LifecycleEventConfiguration ¶
type LifecycleEventConfiguration struct {
Shutdown *ShutdownEventConfiguration `json:"Shutdown,omitempty"`
}
LifecycleEventConfiguration is undocumented.
type LoadBasedAutoScalingConfiguration ¶
type LoadBasedAutoScalingConfiguration struct { DownScaling *AutoScalingThresholds `json:"DownScaling,omitempty"` Enable aws.BooleanValue `json:"Enable,omitempty"` LayerID aws.StringValue `json:"LayerId,omitempty"` UpScaling *AutoScalingThresholds `json:"UpScaling,omitempty"` }
LoadBasedAutoScalingConfiguration is undocumented.
type OpsWorks ¶
type OpsWorks struct {
// contains filtered or unexported fields
}
OpsWorks is a client for AWS OpsWorks.
func (*OpsWorks) AssignInstance ¶
func (c *OpsWorks) AssignInstance(req *AssignInstanceRequest) (err error)
AssignInstance assign a registered instance to a custom layer. You cannot use this action with instances that were created with AWS OpsWorks. 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
func (*OpsWorks) AssignVolume ¶
func (c *OpsWorks) AssignVolume(req *AssignVolumeRequest) (err error)
AssignVolume 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 . For more information, see Resource Management 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
func (*OpsWorks) AssociateElasticIP ¶
func (c *OpsWorks) AssociateElasticIP(req *AssociateElasticIPRequest) (err error)
AssociateElasticIP 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 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
func (*OpsWorks) AttachElasticLoadBalancer ¶
func (c *OpsWorks) AttachElasticLoadBalancer(req *AttachElasticLoadBalancerRequest) (err error)
AttachElasticLoadBalancer attaches an Elastic Load Balancing load balancer to a specified layer. For more information, see Elastic Load Balancing You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, or For more information, see Elastic Load Balancing Developer Guide 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
func (*OpsWorks) CloneStack ¶
func (c *OpsWorks) CloneStack(req *CloneStackRequest) (resp *CloneStackResult, err error)
CloneStack creates a clone of a specified stack. For more information, see Clone a 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
func (*OpsWorks) CreateApp ¶
func (c *OpsWorks) CreateApp(req *CreateAppRequest) (resp *CreateAppResult, err error)
CreateApp creates an app for a specified stack. For more information, see Creating Apps 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
func (*OpsWorks) CreateDeployment ¶
func (c *OpsWorks) CreateDeployment(req *CreateDeploymentRequest) (resp *CreateDeploymentResult, err error)
CreateDeployment runs deployment or stack commands. For more information, see Deploying Apps and Run Stack Commands 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
func (*OpsWorks) CreateInstance ¶
func (c *OpsWorks) CreateInstance(req *CreateInstanceRequest) (resp *CreateInstanceResult, err error)
CreateInstance creates an instance in a specified stack. For more information, see Adding an Instance to a 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
func (*OpsWorks) CreateLayer ¶
func (c *OpsWorks) CreateLayer(req *CreateLayerRequest) (resp *CreateLayerResult, err error)
CreateLayer creates a layer. For more information, see How to Create a Layer 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
func (*OpsWorks) CreateStack ¶
func (c *OpsWorks) CreateStack(req *CreateStackRequest) (resp *CreateStackResult, err error)
CreateStack creates a new stack. For more information, see Create a New 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
func (*OpsWorks) CreateUserProfile ¶
func (c *OpsWorks) CreateUserProfile(req *CreateUserProfileRequest) (resp *CreateUserProfileResult, err error)
CreateUserProfile 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
func (*OpsWorks) DeleteApp ¶
func (c *OpsWorks) DeleteApp(req *DeleteAppRequest) (err error)
DeleteApp 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
func (*OpsWorks) DeleteInstance ¶
func (c *OpsWorks) DeleteInstance(req *DeleteInstanceRequest) (err error)
DeleteInstance 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 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
func (*OpsWorks) DeleteLayer ¶
func (c *OpsWorks) DeleteLayer(req *DeleteLayerRequest) (err error)
DeleteLayer 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 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
func (*OpsWorks) DeleteStack ¶
func (c *OpsWorks) DeleteStack(req *DeleteStackRequest) (err error)
DeleteStack 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 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
func (*OpsWorks) DeleteUserProfile ¶
func (c *OpsWorks) DeleteUserProfile(req *DeleteUserProfileRequest) (err error)
DeleteUserProfile 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
func (*OpsWorks) DeregisterElasticIP ¶
func (c *OpsWorks) DeregisterElasticIP(req *DeregisterElasticIPRequest) (err error)
DeregisterElasticIP deregisters a specified Elastic IP address. The address can then be registered by another stack. For more information, see Resource Management 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
func (*OpsWorks) DeregisterInstance ¶
func (c *OpsWorks) DeregisterInstance(req *DeregisterInstanceRequest) (err error)
DeregisterInstance 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. 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
func (*OpsWorks) DeregisterRDSDBInstance ¶
func (c *OpsWorks) DeregisterRDSDBInstance(req *DeregisterRDSDBInstanceRequest) (err error)
DeregisterRDSDBInstance 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
func (*OpsWorks) DeregisterVolume ¶
func (c *OpsWorks) DeregisterVolume(req *DeregisterVolumeRequest) (err error)
DeregisterVolume deregisters an Amazon EBS volume. The volume can then be registered by another stack. For more information, see Resource Management 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
func (*OpsWorks) DescribeApps ¶
func (c *OpsWorks) DescribeApps(req *DescribeAppsRequest) (resp *DescribeAppsResult, err error)
DescribeApps 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
func (*OpsWorks) DescribeCommands ¶
func (c *OpsWorks) DescribeCommands(req *DescribeCommandsRequest) (resp *DescribeCommandsResult, err error)
DescribeCommands 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
func (*OpsWorks) DescribeDeployments ¶
func (c *OpsWorks) DescribeDeployments(req *DescribeDeploymentsRequest) (resp *DescribeDeploymentsResult, err error)
DescribeDeployments requests a description of a specified set of deployments. 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
func (*OpsWorks) DescribeElasticIPs ¶
func (c *OpsWorks) DescribeElasticIPs(req *DescribeElasticIPsRequest) (resp *DescribeElasticIPsResult, err error)
DescribeElasticIPs 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
func (*OpsWorks) DescribeElasticLoadBalancers ¶
func (c *OpsWorks) DescribeElasticLoadBalancers(req *DescribeElasticLoadBalancersRequest) (resp *DescribeElasticLoadBalancersResult, err error)
DescribeElasticLoadBalancers describes a stack's Elastic Load Balancing 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
func (*OpsWorks) DescribeInstances ¶
func (c *OpsWorks) DescribeInstances(req *DescribeInstancesRequest) (resp *DescribeInstancesResult, err error)
DescribeInstances 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
func (*OpsWorks) DescribeLayers ¶
func (c *OpsWorks) DescribeLayers(req *DescribeLayersRequest) (resp *DescribeLayersResult, err error)
DescribeLayers requests a description of one or more layers in a specified stack. 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
func (*OpsWorks) DescribeLoadBasedAutoScaling ¶
func (c *OpsWorks) DescribeLoadBasedAutoScaling(req *DescribeLoadBasedAutoScalingRequest) (resp *DescribeLoadBasedAutoScalingResult, err error)
DescribeLoadBasedAutoScaling 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
func (*OpsWorks) DescribeMyUserProfile ¶
func (c *OpsWorks) DescribeMyUserProfile() (resp *DescribeMyUserProfileResult, err error)
DescribeMyUserProfile 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
func (*OpsWorks) DescribePermissions ¶
func (c *OpsWorks) DescribePermissions(req *DescribePermissionsRequest) (resp *DescribePermissionsResult, err error)
DescribePermissions 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
func (*OpsWorks) DescribeRAIDArrays ¶
func (c *OpsWorks) DescribeRAIDArrays(req *DescribeRAIDArraysRequest) (resp *DescribeRAIDArraysResult, err error)
DescribeRAIDArrays 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
func (*OpsWorks) DescribeRDSDBInstances ¶
func (c *OpsWorks) DescribeRDSDBInstances(req *DescribeRDSDBInstancesRequest) (resp *DescribeRDSDBInstancesResult, err error)
DescribeRDSDBInstances 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
func (*OpsWorks) DescribeServiceErrors ¶
func (c *OpsWorks) DescribeServiceErrors(req *DescribeServiceErrorsRequest) (resp *DescribeServiceErrorsResult, err error)
DescribeServiceErrors describes AWS OpsWorks 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
func (*OpsWorks) DescribeStackProvisioningParameters ¶
func (c *OpsWorks) DescribeStackProvisioningParameters(req *DescribeStackProvisioningParametersRequest) (resp *DescribeStackProvisioningParametersResult, err error)
DescribeStackProvisioningParameters 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
func (*OpsWorks) DescribeStackSummary ¶
func (c *OpsWorks) DescribeStackSummary(req *DescribeStackSummaryRequest) (resp *DescribeStackSummaryResult, err error)
DescribeStackSummary 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
func (*OpsWorks) DescribeStacks ¶
func (c *OpsWorks) DescribeStacks(req *DescribeStacksRequest) (resp *DescribeStacksResult, err error)
DescribeStacks 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
func (*OpsWorks) DescribeTimeBasedAutoScaling ¶
func (c *OpsWorks) DescribeTimeBasedAutoScaling(req *DescribeTimeBasedAutoScalingRequest) (resp *DescribeTimeBasedAutoScalingResult, err error)
DescribeTimeBasedAutoScaling 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
func (*OpsWorks) DescribeUserProfiles ¶
func (c *OpsWorks) DescribeUserProfiles(req *DescribeUserProfilesRequest) (resp *DescribeUserProfilesResult, err error)
DescribeUserProfiles 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
func (*OpsWorks) DescribeVolumes ¶
func (c *OpsWorks) DescribeVolumes(req *DescribeVolumesRequest) (resp *DescribeVolumesResult, err error)
DescribeVolumes 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
func (*OpsWorks) DetachElasticLoadBalancer ¶
func (c *OpsWorks) DetachElasticLoadBalancer(req *DetachElasticLoadBalancerRequest) (err error)
DetachElasticLoadBalancer 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
func (*OpsWorks) DisassociateElasticIP ¶
func (c *OpsWorks) DisassociateElasticIP(req *DisassociateElasticIPRequest) (err error)
DisassociateElasticIP disassociates an Elastic IP address from its instance. The address remains registered with the stack. For more information, see Resource Management 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
func (*OpsWorks) GetHostnameSuggestion ¶
func (c *OpsWorks) GetHostnameSuggestion(req *GetHostnameSuggestionRequest) (resp *GetHostnameSuggestionResult, err error)
GetHostnameSuggestion 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
func (*OpsWorks) RebootInstance ¶
func (c *OpsWorks) RebootInstance(req *RebootInstanceRequest) (err error)
RebootInstance reboots a specified instance. For more information, see Starting, Stopping, and Rebooting 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
func (*OpsWorks) RegisterElasticIP ¶
func (c *OpsWorks) RegisterElasticIP(req *RegisterElasticIPRequest) (resp *RegisterElasticIPResult, err error)
RegisterElasticIP 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 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
func (*OpsWorks) RegisterInstance ¶
func (c *OpsWorks) RegisterInstance(req *RegisterInstanceRequest) (resp *RegisterInstanceResult, err error)
RegisterInstance registers instances with a specified stack that were created outside of AWS OpsWorks. We do not recommend using this action to register instances. The complete registration operation has two primary steps, installing the AWS OpsWorks 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. 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
func (*OpsWorks) RegisterRDSDBInstance ¶
func (c *OpsWorks) RegisterRDSDBInstance(req *RegisterRDSDBInstanceRequest) (err error)
RegisterRDSDBInstance 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
func (*OpsWorks) RegisterVolume ¶
func (c *OpsWorks) RegisterVolume(req *RegisterVolumeRequest) (resp *RegisterVolumeResult, err error)
RegisterVolume 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 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
func (*OpsWorks) SetLoadBasedAutoScaling ¶
func (c *OpsWorks) SetLoadBasedAutoScaling(req *SetLoadBasedAutoScalingRequest) (err error)
SetLoadBasedAutoScaling specify the load-based auto scaling configuration for a specified layer. For more information, see Managing Load with Time-based and Load-based Instances 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
func (*OpsWorks) SetPermission ¶
func (c *OpsWorks) SetPermission(req *SetPermissionRequest) (err error)
SetPermission specifies a user's permissions. For more information, see Security and Permissions 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
func (*OpsWorks) SetTimeBasedAutoScaling ¶
func (c *OpsWorks) SetTimeBasedAutoScaling(req *SetTimeBasedAutoScalingRequest) (err error)
SetTimeBasedAutoScaling specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based 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
func (*OpsWorks) StartInstance ¶
func (c *OpsWorks) StartInstance(req *StartInstanceRequest) (err error)
StartInstance starts a specified instance. For more information, see Starting, Stopping, and Rebooting 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
func (*OpsWorks) StartStack ¶
func (c *OpsWorks) StartStack(req *StartStackRequest) (err error)
StartStack 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
func (*OpsWorks) StopInstance ¶
func (c *OpsWorks) StopInstance(req *StopInstanceRequest) (err error)
StopInstance 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 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
func (*OpsWorks) StopStack ¶
func (c *OpsWorks) StopStack(req *StopStackRequest) (err error)
StopStack 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
func (*OpsWorks) UnassignInstance ¶
func (c *OpsWorks) UnassignInstance(req *UnassignInstanceRequest) (err error)
UnassignInstance 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. 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
func (*OpsWorks) UnassignVolume ¶
func (c *OpsWorks) UnassignVolume(req *UnassignVolumeRequest) (err error)
UnassignVolume unassigns an assigned Amazon EBS volume. The volume remains registered with the stack. For more information, see Resource Management 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
func (*OpsWorks) UpdateApp ¶
func (c *OpsWorks) UpdateApp(req *UpdateAppRequest) (err error)
UpdateApp 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
func (*OpsWorks) UpdateElasticIP ¶
func (c *OpsWorks) UpdateElasticIP(req *UpdateElasticIPRequest) (err error)
UpdateElasticIP updates a registered Elastic IP address's name. For more information, see Resource Management 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
func (*OpsWorks) UpdateInstance ¶
func (c *OpsWorks) UpdateInstance(req *UpdateInstanceRequest) (err error)
UpdateInstance 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
func (*OpsWorks) UpdateLayer ¶
func (c *OpsWorks) UpdateLayer(req *UpdateLayerRequest) (err error)
UpdateLayer 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
func (*OpsWorks) UpdateMyUserProfile ¶
func (c *OpsWorks) UpdateMyUserProfile(req *UpdateMyUserProfileRequest) (err error)
UpdateMyUserProfile 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
func (*OpsWorks) UpdateRDSDBInstance ¶
func (c *OpsWorks) UpdateRDSDBInstance(req *UpdateRDSDBInstanceRequest) (err error)
UpdateRDSDBInstance 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
func (*OpsWorks) UpdateStack ¶
func (c *OpsWorks) UpdateStack(req *UpdateStackRequest) (err error)
UpdateStack 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
func (*OpsWorks) UpdateUserProfile ¶
func (c *OpsWorks) UpdateUserProfile(req *UpdateUserProfileRequest) (err error)
UpdateUserProfile 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
func (*OpsWorks) UpdateVolume ¶
func (c *OpsWorks) UpdateVolume(req *UpdateVolumeRequest) (err error)
UpdateVolume updates an Amazon EBS volume's name or mount point. For more information, see Resource Management 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
type Permission ¶
type Permission struct { AllowSSH aws.BooleanValue `json:"AllowSsh,omitempty"` AllowSudo aws.BooleanValue `json:"AllowSudo,omitempty"` IAMUserARN aws.StringValue `json:"IamUserArn,omitempty"` Level aws.StringValue `json:"Level,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` }
Permission is undocumented.
type RAIDArray ¶
type RAIDArray struct { AvailabilityZone aws.StringValue `json:"AvailabilityZone,omitempty"` CreatedAt aws.StringValue `json:"CreatedAt,omitempty"` Device aws.StringValue `json:"Device,omitempty"` InstanceID aws.StringValue `json:"InstanceId,omitempty"` IOPS aws.IntegerValue `json:"Iops,omitempty"` MountPoint aws.StringValue `json:"MountPoint,omitempty"` Name aws.StringValue `json:"Name,omitempty"` NumberOfDisks aws.IntegerValue `json:"NumberOfDisks,omitempty"` RAIDArrayID aws.StringValue `json:"RaidArrayId,omitempty"` RAIDLevel aws.IntegerValue `json:"RaidLevel,omitempty"` Size aws.IntegerValue `json:"Size,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` VolumeType aws.StringValue `json:"VolumeType,omitempty"` }
RAIDArray is undocumented.
type RDSDBInstance ¶
type RDSDBInstance struct { Address aws.StringValue `json:"Address,omitempty"` DBInstanceIdentifier aws.StringValue `json:"DbInstanceIdentifier,omitempty"` DBPassword aws.StringValue `json:"DbPassword,omitempty"` DBUser aws.StringValue `json:"DbUser,omitempty"` Engine aws.StringValue `json:"Engine,omitempty"` MissingOnRDS aws.BooleanValue `json:"MissingOnRds,omitempty"` RDSDBInstanceARN aws.StringValue `json:"RdsDbInstanceArn,omitempty"` Region aws.StringValue `json:"Region,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` }
RDSDBInstance is undocumented.
type RebootInstanceRequest ¶
type RebootInstanceRequest struct {
InstanceID aws.StringValue `json:"InstanceId"`
}
RebootInstanceRequest is undocumented.
type Recipes ¶
type Recipes struct { Configure []string `json:"Configure,omitempty"` Deploy []string `json:"Deploy,omitempty"` Setup []string `json:"Setup,omitempty"` Shutdown []string `json:"Shutdown,omitempty"` Undeploy []string `json:"Undeploy,omitempty"` }
Recipes is undocumented.
type RegisterElasticIPRequest ¶
type RegisterElasticIPRequest struct { ElasticIP aws.StringValue `json:"ElasticIp"` StackID aws.StringValue `json:"StackId"` }
RegisterElasticIPRequest is undocumented.
type RegisterElasticIPResult ¶
type RegisterElasticIPResult struct {
ElasticIP aws.StringValue `json:"ElasticIp,omitempty"`
}
RegisterElasticIPResult is undocumented.
type RegisterInstanceRequest ¶
type RegisterInstanceRequest struct { Hostname aws.StringValue `json:"Hostname,omitempty"` InstanceIdentity *InstanceIdentity `json:"InstanceIdentity,omitempty"` PrivateIP aws.StringValue `json:"PrivateIp,omitempty"` PublicIP aws.StringValue `json:"PublicIp,omitempty"` RsaPublicKey aws.StringValue `json:"RsaPublicKey,omitempty"` RsaPublicKeyFingerprint aws.StringValue `json:"RsaPublicKeyFingerprint,omitempty"` StackID aws.StringValue `json:"StackId"` }
RegisterInstanceRequest is undocumented.
type RegisterInstanceResult ¶
type RegisterInstanceResult struct {
InstanceID aws.StringValue `json:"InstanceId,omitempty"`
}
RegisterInstanceResult is undocumented.
type RegisterRDSDBInstanceRequest ¶
type RegisterRDSDBInstanceRequest struct { DBPassword aws.StringValue `json:"DbPassword"` DBUser aws.StringValue `json:"DbUser"` RDSDBInstanceARN aws.StringValue `json:"RdsDbInstanceArn"` StackID aws.StringValue `json:"StackId"` }
RegisterRDSDBInstanceRequest is undocumented.
type RegisterVolumeRequest ¶
type RegisterVolumeRequest struct { EC2VolumeID aws.StringValue `json:"Ec2VolumeId,omitempty"` StackID aws.StringValue `json:"StackId"` }
RegisterVolumeRequest is undocumented.
type RegisterVolumeResult ¶
type RegisterVolumeResult struct {
VolumeID aws.StringValue `json:"VolumeId,omitempty"`
}
RegisterVolumeResult is undocumented.
type ReportedOS ¶
type ReportedOS struct { Family aws.StringValue `json:"Family,omitempty"` Name aws.StringValue `json:"Name,omitempty"` Version aws.StringValue `json:"Version,omitempty"` }
ReportedOS is undocumented.
type SSLConfiguration ¶
type SSLConfiguration struct { Certificate aws.StringValue `json:"Certificate"` Chain aws.StringValue `json:"Chain,omitempty"` PrivateKey aws.StringValue `json:"PrivateKey"` }
SSLConfiguration is undocumented.
type SelfUserProfile ¶
type SelfUserProfile struct { IAMUserARN aws.StringValue `json:"IamUserArn,omitempty"` Name aws.StringValue `json:"Name,omitempty"` SSHPublicKey aws.StringValue `json:"SshPublicKey,omitempty"` SSHUsername aws.StringValue `json:"SshUsername,omitempty"` }
SelfUserProfile is undocumented.
type ServiceError ¶
type ServiceError struct { CreatedAt aws.StringValue `json:"CreatedAt,omitempty"` InstanceID aws.StringValue `json:"InstanceId,omitempty"` Message aws.StringValue `json:"Message,omitempty"` ServiceErrorID aws.StringValue `json:"ServiceErrorId,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` Type aws.StringValue `json:"Type,omitempty"` }
ServiceError is undocumented.
type SetLoadBasedAutoScalingRequest ¶
type SetLoadBasedAutoScalingRequest struct { DownScaling *AutoScalingThresholds `json:"DownScaling,omitempty"` Enable aws.BooleanValue `json:"Enable,omitempty"` LayerID aws.StringValue `json:"LayerId"` UpScaling *AutoScalingThresholds `json:"UpScaling,omitempty"` }
SetLoadBasedAutoScalingRequest is undocumented.
type SetPermissionRequest ¶
type SetPermissionRequest struct { AllowSSH aws.BooleanValue `json:"AllowSsh,omitempty"` AllowSudo aws.BooleanValue `json:"AllowSudo,omitempty"` IAMUserARN aws.StringValue `json:"IamUserArn"` Level aws.StringValue `json:"Level,omitempty"` StackID aws.StringValue `json:"StackId"` }
SetPermissionRequest is undocumented.
type SetTimeBasedAutoScalingRequest ¶
type SetTimeBasedAutoScalingRequest struct { AutoScalingSchedule *WeeklyAutoScalingSchedule `json:"AutoScalingSchedule,omitempty"` InstanceID aws.StringValue `json:"InstanceId"` }
SetTimeBasedAutoScalingRequest is undocumented.
type ShutdownEventConfiguration ¶
type ShutdownEventConfiguration struct { DelayUntilElbConnectionsDrained aws.BooleanValue `json:"DelayUntilElbConnectionsDrained,omitempty"` ExecutionTimeout aws.IntegerValue `json:"ExecutionTimeout,omitempty"` }
ShutdownEventConfiguration is undocumented.
type Source ¶
type Source struct { Password aws.StringValue `json:"Password,omitempty"` Revision aws.StringValue `json:"Revision,omitempty"` SSHKey aws.StringValue `json:"SshKey,omitempty"` Type aws.StringValue `json:"Type,omitempty"` URL aws.StringValue `json:"Url,omitempty"` Username aws.StringValue `json:"Username,omitempty"` }
Source is undocumented.
type Stack ¶
type Stack struct { ARN aws.StringValue `json:"Arn,omitempty"` Attributes map[string]string `json:"Attributes,omitempty"` ChefConfiguration *ChefConfiguration `json:"ChefConfiguration,omitempty"` ConfigurationManager *StackConfigurationManager `json:"ConfigurationManager,omitempty"` CreatedAt aws.StringValue `json:"CreatedAt,omitempty"` CustomCookbooksSource *Source `json:"CustomCookbooksSource,omitempty"` CustomJSON aws.StringValue `json:"CustomJson,omitempty"` DefaultAvailabilityZone aws.StringValue `json:"DefaultAvailabilityZone,omitempty"` DefaultInstanceProfileARN aws.StringValue `json:"DefaultInstanceProfileArn,omitempty"` DefaultOS aws.StringValue `json:"DefaultOs,omitempty"` DefaultRootDeviceType aws.StringValue `json:"DefaultRootDeviceType,omitempty"` DefaultSSHKeyName aws.StringValue `json:"DefaultSshKeyName,omitempty"` DefaultSubnetID aws.StringValue `json:"DefaultSubnetId,omitempty"` HostnameTheme aws.StringValue `json:"HostnameTheme,omitempty"` Name aws.StringValue `json:"Name,omitempty"` Region aws.StringValue `json:"Region,omitempty"` ServiceRoleARN aws.StringValue `json:"ServiceRoleArn,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` UseCustomCookbooks aws.BooleanValue `json:"UseCustomCookbooks,omitempty"` UseOpsworksSecurityGroups aws.BooleanValue `json:"UseOpsworksSecurityGroups,omitempty"` VPCID aws.StringValue `json:"VpcId,omitempty"` }
Stack is undocumented.
type StackConfigurationManager ¶
type StackConfigurationManager struct { Name aws.StringValue `json:"Name,omitempty"` Version aws.StringValue `json:"Version,omitempty"` }
StackConfigurationManager is undocumented.
type StackSummary ¶
type StackSummary struct { AppsCount aws.IntegerValue `json:"AppsCount,omitempty"` ARN aws.StringValue `json:"Arn,omitempty"` InstancesCount *InstancesCount `json:"InstancesCount,omitempty"` LayersCount aws.IntegerValue `json:"LayersCount,omitempty"` Name aws.StringValue `json:"Name,omitempty"` StackID aws.StringValue `json:"StackId,omitempty"` }
StackSummary is undocumented.
type StartInstanceRequest ¶
type StartInstanceRequest struct {
InstanceID aws.StringValue `json:"InstanceId"`
}
StartInstanceRequest is undocumented.
type StartStackRequest ¶
type StartStackRequest struct {
StackID aws.StringValue `json:"StackId"`
}
StartStackRequest is undocumented.
type StopInstanceRequest ¶
type StopInstanceRequest struct {
InstanceID aws.StringValue `json:"InstanceId"`
}
StopInstanceRequest is undocumented.
type StopStackRequest ¶
type StopStackRequest struct {
StackID aws.StringValue `json:"StackId"`
}
StopStackRequest is undocumented.
type TimeBasedAutoScalingConfiguration ¶
type TimeBasedAutoScalingConfiguration struct { AutoScalingSchedule *WeeklyAutoScalingSchedule `json:"AutoScalingSchedule,omitempty"` InstanceID aws.StringValue `json:"InstanceId,omitempty"` }
TimeBasedAutoScalingConfiguration is undocumented.
type UnassignInstanceRequest ¶
type UnassignInstanceRequest struct {
InstanceID aws.StringValue `json:"InstanceId"`
}
UnassignInstanceRequest is undocumented.
type UnassignVolumeRequest ¶
type UnassignVolumeRequest struct {
VolumeID aws.StringValue `json:"VolumeId"`
}
UnassignVolumeRequest is undocumented.
type UpdateAppRequest ¶
type UpdateAppRequest struct { AppID aws.StringValue `json:"AppId"` AppSource *Source `json:"AppSource,omitempty"` Attributes map[string]string `json:"Attributes,omitempty"` DataSources []DataSource `json:"DataSources,omitempty"` Description aws.StringValue `json:"Description,omitempty"` Domains []string `json:"Domains,omitempty"` EnableSSL aws.BooleanValue `json:"EnableSsl,omitempty"` Environment []EnvironmentVariable `json:"Environment,omitempty"` Name aws.StringValue `json:"Name,omitempty"` SSLConfiguration *SSLConfiguration `json:"SslConfiguration,omitempty"` Type aws.StringValue `json:"Type,omitempty"` }
UpdateAppRequest is undocumented.
type UpdateElasticIPRequest ¶
type UpdateElasticIPRequest struct { ElasticIP aws.StringValue `json:"ElasticIp"` Name aws.StringValue `json:"Name,omitempty"` }
UpdateElasticIPRequest is undocumented.
type UpdateInstanceRequest ¶
type UpdateInstanceRequest struct { AMIID aws.StringValue `json:"AmiId,omitempty"` Architecture aws.StringValue `json:"Architecture,omitempty"` AutoScalingType aws.StringValue `json:"AutoScalingType,omitempty"` EBSOptimized aws.BooleanValue `json:"EbsOptimized,omitempty"` Hostname aws.StringValue `json:"Hostname,omitempty"` InstallUpdatesOnBoot aws.BooleanValue `json:"InstallUpdatesOnBoot,omitempty"` InstanceID aws.StringValue `json:"InstanceId"` InstanceType aws.StringValue `json:"InstanceType,omitempty"` LayerIDs []string `json:"LayerIds,omitempty"` OS aws.StringValue `json:"Os,omitempty"` SSHKeyName aws.StringValue `json:"SshKeyName,omitempty"` }
UpdateInstanceRequest is undocumented.
type UpdateLayerRequest ¶
type UpdateLayerRequest struct { Attributes map[string]string `json:"Attributes,omitempty"` AutoAssignElasticIPs aws.BooleanValue `json:"AutoAssignElasticIps,omitempty"` AutoAssignPublicIPs aws.BooleanValue `json:"AutoAssignPublicIps,omitempty"` CustomInstanceProfileARN aws.StringValue `json:"CustomInstanceProfileArn,omitempty"` CustomRecipes *Recipes `json:"CustomRecipes,omitempty"` CustomSecurityGroupIDs []string `json:"CustomSecurityGroupIds,omitempty"` EnableAutoHealing aws.BooleanValue `json:"EnableAutoHealing,omitempty"` InstallUpdatesOnBoot aws.BooleanValue `json:"InstallUpdatesOnBoot,omitempty"` LayerID aws.StringValue `json:"LayerId"` LifecycleEventConfiguration *LifecycleEventConfiguration `json:"LifecycleEventConfiguration,omitempty"` Name aws.StringValue `json:"Name,omitempty"` Packages []string `json:"Packages,omitempty"` Shortname aws.StringValue `json:"Shortname,omitempty"` UseEBSOptimizedInstances aws.BooleanValue `json:"UseEbsOptimizedInstances,omitempty"` VolumeConfigurations []VolumeConfiguration `json:"VolumeConfigurations,omitempty"` }
UpdateLayerRequest is undocumented.
type UpdateMyUserProfileRequest ¶
type UpdateMyUserProfileRequest struct {
SSHPublicKey aws.StringValue `json:"SshPublicKey,omitempty"`
}
UpdateMyUserProfileRequest is undocumented.
type UpdateRDSDBInstanceRequest ¶
type UpdateRDSDBInstanceRequest struct { DBPassword aws.StringValue `json:"DbPassword,omitempty"` DBUser aws.StringValue `json:"DbUser,omitempty"` RDSDBInstanceARN aws.StringValue `json:"RdsDbInstanceArn"` }
UpdateRDSDBInstanceRequest is undocumented.
type UpdateStackRequest ¶
type UpdateStackRequest struct { Attributes map[string]string `json:"Attributes,omitempty"` ChefConfiguration *ChefConfiguration `json:"ChefConfiguration,omitempty"` ConfigurationManager *StackConfigurationManager `json:"ConfigurationManager,omitempty"` CustomCookbooksSource *Source `json:"CustomCookbooksSource,omitempty"` CustomJSON aws.StringValue `json:"CustomJson,omitempty"` DefaultAvailabilityZone aws.StringValue `json:"DefaultAvailabilityZone,omitempty"` DefaultInstanceProfileARN aws.StringValue `json:"DefaultInstanceProfileArn,omitempty"` DefaultOS aws.StringValue `json:"DefaultOs,omitempty"` DefaultRootDeviceType aws.StringValue `json:"DefaultRootDeviceType,omitempty"` DefaultSSHKeyName aws.StringValue `json:"DefaultSshKeyName,omitempty"` DefaultSubnetID aws.StringValue `json:"DefaultSubnetId,omitempty"` HostnameTheme aws.StringValue `json:"HostnameTheme,omitempty"` Name aws.StringValue `json:"Name,omitempty"` ServiceRoleARN aws.StringValue `json:"ServiceRoleArn,omitempty"` StackID aws.StringValue `json:"StackId"` UseCustomCookbooks aws.BooleanValue `json:"UseCustomCookbooks,omitempty"` UseOpsworksSecurityGroups aws.BooleanValue `json:"UseOpsworksSecurityGroups,omitempty"` }
UpdateStackRequest is undocumented.
type UpdateUserProfileRequest ¶
type UpdateUserProfileRequest struct { AllowSelfManagement aws.BooleanValue `json:"AllowSelfManagement,omitempty"` IAMUserARN aws.StringValue `json:"IamUserArn"` SSHPublicKey aws.StringValue `json:"SshPublicKey,omitempty"` SSHUsername aws.StringValue `json:"SshUsername,omitempty"` }
UpdateUserProfileRequest is undocumented.
type UpdateVolumeRequest ¶
type UpdateVolumeRequest struct { MountPoint aws.StringValue `json:"MountPoint,omitempty"` Name aws.StringValue `json:"Name,omitempty"` VolumeID aws.StringValue `json:"VolumeId"` }
UpdateVolumeRequest is undocumented.
type UserProfile ¶
type UserProfile struct { AllowSelfManagement aws.BooleanValue `json:"AllowSelfManagement,omitempty"` IAMUserARN aws.StringValue `json:"IamUserArn,omitempty"` Name aws.StringValue `json:"Name,omitempty"` SSHPublicKey aws.StringValue `json:"SshPublicKey,omitempty"` SSHUsername aws.StringValue `json:"SshUsername,omitempty"` }
UserProfile is undocumented.
type Volume ¶
type Volume struct { AvailabilityZone aws.StringValue `json:"AvailabilityZone,omitempty"` Device aws.StringValue `json:"Device,omitempty"` EC2VolumeID aws.StringValue `json:"Ec2VolumeId,omitempty"` InstanceID aws.StringValue `json:"InstanceId,omitempty"` IOPS aws.IntegerValue `json:"Iops,omitempty"` MountPoint aws.StringValue `json:"MountPoint,omitempty"` Name aws.StringValue `json:"Name,omitempty"` RAIDArrayID aws.StringValue `json:"RaidArrayId,omitempty"` Region aws.StringValue `json:"Region,omitempty"` Size aws.IntegerValue `json:"Size,omitempty"` Status aws.StringValue `json:"Status,omitempty"` VolumeID aws.StringValue `json:"VolumeId,omitempty"` VolumeType aws.StringValue `json:"VolumeType,omitempty"` }
Volume is undocumented.
type VolumeConfiguration ¶
type VolumeConfiguration struct { IOPS aws.IntegerValue `json:"Iops,omitempty"` MountPoint aws.StringValue `json:"MountPoint"` NumberOfDisks aws.IntegerValue `json:"NumberOfDisks"` RAIDLevel aws.IntegerValue `json:"RaidLevel,omitempty"` Size aws.IntegerValue `json:"Size"` VolumeType aws.StringValue `json:"VolumeType,omitempty"` }
VolumeConfiguration is undocumented.
type WeeklyAutoScalingSchedule ¶
type WeeklyAutoScalingSchedule struct { Friday map[string]string `json:"Friday,omitempty"` Monday map[string]string `json:"Monday,omitempty"` Saturday map[string]string `json:"Saturday,omitempty"` Sunday map[string]string `json:"Sunday,omitempty"` Thursday map[string]string `json:"Thursday,omitempty"` Tuesday map[string]string `json:"Tuesday,omitempty"` Wednesday map[string]string `json:"Wednesday,omitempty"` }
WeeklyAutoScalingSchedule is undocumented.