package types
import "github.com/aws/aws-sdk-go-v2/service/opsworkscm/types"
Index ¶
- type AccountAttribute
- type Backup
- type BackupStatus
- type BackupType
- type EngineAttribute
- type InvalidNextTokenException
- func (e *InvalidNextTokenException) Error() string
- func (e *InvalidNextTokenException) ErrorCode() string
- func (e *InvalidNextTokenException) ErrorFault() smithy.ErrorFault
- func (e *InvalidNextTokenException) ErrorMessage() string
- type InvalidStateException
- func (e *InvalidStateException) Error() string
- func (e *InvalidStateException) ErrorCode() string
- func (e *InvalidStateException) ErrorFault() smithy.ErrorFault
- func (e *InvalidStateException) ErrorMessage() string
- type LimitExceededException
- func (e *LimitExceededException) Error() string
- func (e *LimitExceededException) ErrorCode() string
- func (e *LimitExceededException) ErrorFault() smithy.ErrorFault
- func (e *LimitExceededException) ErrorMessage() string
- type MaintenanceStatus
- type NodeAssociationStatus
- type ResourceAlreadyExistsException
- func (e *ResourceAlreadyExistsException) Error() string
- func (e *ResourceAlreadyExistsException) ErrorCode() string
- func (e *ResourceAlreadyExistsException) ErrorFault() smithy.ErrorFault
- func (e *ResourceAlreadyExistsException) ErrorMessage() string
- type ResourceNotFoundException
- func (e *ResourceNotFoundException) Error() string
- func (e *ResourceNotFoundException) ErrorCode() string
- func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *ResourceNotFoundException) ErrorMessage() string
- type Server
- type ServerEvent
- type ServerStatus
- type Tag
- type ValidationException
Types ¶
type AccountAttribute ¶
type AccountAttribute struct { // The maximum allowed value. Maximum *int32 // The attribute name. The following are supported attribute names. // // * ServerLimit: // The number of current servers/maximum number of servers allowed. By default, you // can have a maximum of 10 servers. // // * ManualBackupLimit: The number of current // manual backups/maximum number of backups allowed. By default, you can have a // maximum of 50 manual backups saved. Name *string // The current usage, such as the current number of servers that are associated // with the account. Used *int32 // contains filtered or unexported fields }
Stores account attributes.
type Backup ¶
type Backup struct { // The ARN of the backup. BackupArn *string // The generated ID of the backup. Example: myServerName-yyyyMMddHHmmssSSS BackupId *string // The backup type. Valid values are automated or manual. BackupType BackupType // The time stamp when the backup was created in the database. Example: // 2016-07-29T13:38:47.520Z CreatedAt *time.Time // A user-provided description for a manual backup. This field is empty for // automated backups. Description *string // The engine type that is obtained from the server when the backup is created. Engine *string // The engine model that is obtained from the server when the backup is created. EngineModel *string // The engine version that is obtained from the server when the backup is created. EngineVersion *string // The EC2 instance profile ARN that is obtained from the server when the backup is // created. Because this value is stored, you are not required to provide the // InstanceProfileArn again if you restore a backup. InstanceProfileArn *string // The instance type that is obtained from the server when the backup is created. InstanceType *string // The key pair that is obtained from the server when the backup is created. KeyPair *string // The preferred backup period that is obtained from the server when the backup is // created. PreferredBackupWindow *string // The preferred maintenance period that is obtained from the server when the // backup is created. PreferredMaintenanceWindow *string // This field is deprecated and is no longer used. // // Deprecated: This member has been deprecated. S3DataSize *int32 // This field is deprecated and is no longer used. // // Deprecated: This member has been deprecated. S3DataUrl *string // The Amazon S3 URL of the backup's log file. S3LogUrl *string // The security group IDs that are obtained from the server when the backup is // created. SecurityGroupIds []string // The name of the server from which the backup was made. ServerName *string // The service role ARN that is obtained from the server when the backup is // created. ServiceRoleArn *string // The status of a backup while in progress. Status BackupStatus // An informational message about backup status. StatusDescription *string // The subnet IDs that are obtained from the server when the backup is created. SubnetIds []string // The version of AWS OpsWorks CM-specific tools that is obtained from the server // when the backup is created. ToolsVersion *string // The IAM user ARN of the requester for manual backups. This field is empty for // automated backups. UserArn *string // contains filtered or unexported fields }
Describes a single backup.
type BackupStatus ¶
type BackupStatus string
const ( BackupStatusInProgress BackupStatus = "IN_PROGRESS" BackupStatusOk BackupStatus = "OK" BackupStatusFailed BackupStatus = "FAILED" BackupStatusDeleting BackupStatus = "DELETING" )
Enum values for BackupStatus
func (BackupStatus) Values ¶
func (BackupStatus) Values() []BackupStatus
Values returns all known values for BackupStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type BackupType ¶
type BackupType string
const ( BackupTypeAutomated BackupType = "AUTOMATED" BackupTypeManual BackupType = "MANUAL" )
Enum values for BackupType
func (BackupType) Values ¶
func (BackupType) Values() []BackupType
Values returns all known values for BackupType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type EngineAttribute ¶
type EngineAttribute struct { // The name of the engine attribute. Name *string // The value of the engine attribute. Value *string // contains filtered or unexported fields }
A name and value pair that is specific to the engine of the server.
type InvalidNextTokenException ¶
type InvalidNextTokenException struct { Message *string // contains filtered or unexported fields }
This occurs when the provided nextToken is not valid.
func (*InvalidNextTokenException) Error ¶
func (e *InvalidNextTokenException) Error() string
func (*InvalidNextTokenException) ErrorCode ¶
func (e *InvalidNextTokenException) ErrorCode() string
func (*InvalidNextTokenException) ErrorFault ¶
func (e *InvalidNextTokenException) ErrorFault() smithy.ErrorFault
func (*InvalidNextTokenException) ErrorMessage ¶
func (e *InvalidNextTokenException) ErrorMessage() string
type InvalidStateException ¶
type InvalidStateException struct { Message *string // contains filtered or unexported fields }
The resource is in a state that does not allow you to perform a specified action.
func (*InvalidStateException) Error ¶
func (e *InvalidStateException) Error() string
func (*InvalidStateException) ErrorCode ¶
func (e *InvalidStateException) ErrorCode() string
func (*InvalidStateException) ErrorFault ¶
func (e *InvalidStateException) ErrorFault() smithy.ErrorFault
func (*InvalidStateException) ErrorMessage ¶
func (e *InvalidStateException) ErrorMessage() string
type LimitExceededException ¶
type LimitExceededException struct { Message *string // contains filtered or unexported fields }
The limit of servers or backups has been reached.
func (*LimitExceededException) Error ¶
func (e *LimitExceededException) Error() string
func (*LimitExceededException) ErrorCode ¶
func (e *LimitExceededException) ErrorCode() string
func (*LimitExceededException) ErrorFault ¶
func (e *LimitExceededException) ErrorFault() smithy.ErrorFault
func (*LimitExceededException) ErrorMessage ¶
func (e *LimitExceededException) ErrorMessage() string
type MaintenanceStatus ¶
type MaintenanceStatus string
const ( MaintenanceStatusSuccess MaintenanceStatus = "SUCCESS" MaintenanceStatusFailed MaintenanceStatus = "FAILED" )
Enum values for MaintenanceStatus
func (MaintenanceStatus) Values ¶
func (MaintenanceStatus) Values() []MaintenanceStatus
Values returns all known values for MaintenanceStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type NodeAssociationStatus ¶
type NodeAssociationStatus string
const ( NodeAssociationStatusSuccess NodeAssociationStatus = "SUCCESS" NodeAssociationStatusFailed NodeAssociationStatus = "FAILED" NodeAssociationStatusInProgress NodeAssociationStatus = "IN_PROGRESS" )
Enum values for NodeAssociationStatus
func (NodeAssociationStatus) Values ¶
func (NodeAssociationStatus) Values() []NodeAssociationStatus
Values returns all known values for NodeAssociationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type ResourceAlreadyExistsException ¶
type ResourceAlreadyExistsException struct { Message *string // contains filtered or unexported fields }
The requested resource cannot be created because it already exists.
func (*ResourceAlreadyExistsException) Error ¶
func (e *ResourceAlreadyExistsException) Error() string
func (*ResourceAlreadyExistsException) ErrorCode ¶
func (e *ResourceAlreadyExistsException) ErrorCode() string
func (*ResourceAlreadyExistsException) ErrorFault ¶
func (e *ResourceAlreadyExistsException) ErrorFault() smithy.ErrorFault
func (*ResourceAlreadyExistsException) ErrorMessage ¶
func (e *ResourceAlreadyExistsException) ErrorMessage() string
type ResourceNotFoundException ¶
type ResourceNotFoundException struct { Message *string // contains filtered or unexported fields }
The requested resource does not exist, or access was denied.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type Server ¶
type Server struct { // Associate a public IP address with a server that you are launching. AssociatePublicIpAddress *bool // The number of automated backups to keep. BackupRetentionCount *int32 // The ARN of the CloudFormation stack that was used to create the server. CloudFormationStackArn *string // Time stamp of server creation. Example 2016-07-29T13:38:47.520Z CreatedAt *time.Time // An optional public endpoint of a server, such as https://aws.my-company.com. You // cannot access the server by using the Endpoint value if the server has a // CustomDomain specified. CustomDomain *string // Disables automated backups. The number of stored backups is dependent on the // value of PreferredBackupCount. DisableAutomatedBackup *bool // A DNS name that can be used to access the engine. Example: // myserver-asdfghjkl.us-east-1.opsworks.io. You cannot access the server by using // the Endpoint value if the server has a CustomDomain specified. Endpoint *string // The engine type of the server. Valid values in this release include ChefAutomate // and Puppet. Engine *string // The response of a createServer() request returns the master credential to access // the server in EngineAttributes. These credentials are not stored by AWS OpsWorks // CM; they are returned only as part of the result of createServer(). Attributes // returned in a createServer response for Chef // // * CHEF_AUTOMATE_PIVOTAL_KEY: A // base64-encoded RSA private key that is generated by AWS OpsWorks for Chef // Automate. This private key is required to access the Chef API. // // * // CHEF_STARTER_KIT: A base64-encoded ZIP file. The ZIP file contains a Chef // starter kit, which includes a README, a configuration file, and the required RSA // private key. Save this file, unzip it, and then change to the directory where // you've unzipped the file contents. From this directory, you can run Knife // commands. // // Attributes returned in a createServer response for Puppet // // * // PUPPET_STARTER_KIT: A base64-encoded ZIP file. The ZIP file contains a Puppet // starter kit, including a README and a required private key. Save this file, // unzip it, and then change to the directory where you've unzipped the file // contents. // // * PUPPET_ADMIN_PASSWORD: An administrator password that you can use // to sign in to the Puppet Enterprise console after the server is online. EngineAttributes []EngineAttribute // The engine model of the server. Valid values in this release include Monolithic // for Puppet and Single for Chef. EngineModel *string // The engine version of the server. For a Chef server, the valid value for // EngineVersion is currently 2. For a Puppet server, specify either 2019 or 2017. EngineVersion *string // The instance profile ARN of the server. InstanceProfileArn *string // The instance type for the server, as specified in the CloudFormation stack. This // might not be the same instance type that is shown in the EC2 console. InstanceType *string // The key pair associated with the server. KeyPair *string // The status of the most recent server maintenance run. Shows SUCCESS or FAILED. MaintenanceStatus MaintenanceStatus // The preferred backup period specified for the server. PreferredBackupWindow *string // The preferred maintenance period specified for the server. PreferredMaintenanceWindow *string // The security group IDs for the server, as specified in the CloudFormation stack. // These might not be the same security groups that are shown in the EC2 console. SecurityGroupIds []string // The ARN of the server. ServerArn *string // The name of the server. ServerName *string // The service role ARN used to create the server. ServiceRoleArn *string // The server's status. This field displays the states of actions in progress, such // as creating, running, or backing up the server, as well as the server's health // state. Status ServerStatus // Depending on the server status, this field has either a human-readable message // (such as a create or backup error), or an escaped block of JSON (used for health // check results). StatusReason *string // The subnet IDs specified in a CreateServer request. SubnetIds []string // contains filtered or unexported fields }
Describes a configuration management server.
type ServerEvent ¶
type ServerEvent struct { // The time when the event occurred. CreatedAt *time.Time // The Amazon S3 URL of the event's log file. LogUrl *string // A human-readable informational or status message. Message *string // The name of the server on or for which the event occurred. ServerName *string // contains filtered or unexported fields }
An event that is related to the server, such as the start of maintenance or backup.
type ServerStatus ¶
type ServerStatus string
const ( ServerStatusBackingUp ServerStatus = "BACKING_UP" ServerStatusConnectionLost ServerStatus = "CONNECTION_LOST" ServerStatusCreating ServerStatus = "CREATING" ServerStatusDeleting ServerStatus = "DELETING" ServerStatusModifying ServerStatus = "MODIFYING" ServerStatusFailed ServerStatus = "FAILED" ServerStatusHealthy ServerStatus = "HEALTHY" ServerStatusRunning ServerStatus = "RUNNING" ServerStatusRestoring ServerStatus = "RESTORING" ServerStatusSetup ServerStatus = "SETUP" ServerStatusUnderMaintenance ServerStatus = "UNDER_MAINTENANCE" ServerStatusUnhealthy ServerStatus = "UNHEALTHY" ServerStatusTerminated ServerStatus = "TERMINATED" )
Enum values for ServerStatus
func (ServerStatus) Values ¶
func (ServerStatus) Values() []ServerStatus
Values returns all known values for ServerStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.
type Tag ¶
type Tag struct { // A tag key, such as Stage or Name. A tag 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: + - = . _ : / // // This member is required. Key *string // An optional tag value, such as Production or test-owcm-server. The value can be // a maximum of 255 characters, and contain only Unicode letters, numbers, or // separators, or the following special characters: + - = . _ : / // // This member is required. Value *string // contains filtered or unexported fields }
A map that contains tag keys and tag values to attach to an AWS OpsWorks for Chef Automate or AWS OpsWorks for Puppet Enterprise server. Leading and trailing white spaces are trimmed from both the key and value. A maximum of 50 user-applied tags is allowed for tag-supported AWS OpsWorks-CM resources.
type ValidationException ¶
type ValidationException struct { Message *string // contains filtered or unexported fields }
One or more of the provided request parameters are not valid.
func (*ValidationException) Error ¶
func (e *ValidationException) Error() string
func (*ValidationException) ErrorCode ¶
func (e *ValidationException) ErrorCode() string
func (*ValidationException) ErrorFault ¶
func (e *ValidationException) ErrorFault() smithy.ErrorFault
func (*ValidationException) ErrorMessage ¶
func (e *ValidationException) ErrorMessage() string
Source Files ¶
- Version
- v1.6.1
- Published
- Sep 17, 2021
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 hour ago –
Tools for package owners.