lightsail

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2019 License: Apache-2.0 Imports: 6 Imported by: 61

Documentation

Overview

Package lightsail provides the client and types for making API requests to Amazon Lightsail.

Amazon Lightsail is the easiest way to get started with AWS for developers who just need virtual private servers. Lightsail includes everything you need to launch your project quickly - a virtual machine, SSD-based storage, data transfer, DNS management, and a static IP - for a low, predictable price. You manage those Lightsail servers through the Lightsail console or by using the API or command-line interface (CLI).

For more information about Lightsail concepts and tasks, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/all).

To use the Lightsail API or the CLI, you will need to use AWS Identity and Access Management (IAM) to generate access keys. For details about how to set this up, see the Lightsail Dev Guide (http://lightsail.aws.amazon.com/ls/docs/how-to/article/lightsail-how-to-set-up-access-keys-to-use-sdk-api-cli).

See https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28 for more information on this service.

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

Using the Client

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

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

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

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

Index

Constants

View Source
const (

	// ErrCodeAccessDeniedException for service response error code
	// "AccessDeniedException".
	//
	// Lightsail throws this exception when the user cannot be authenticated or
	// uses invalid credentials to access a resource.
	ErrCodeAccessDeniedException = "AccessDeniedException"

	// ErrCodeAccountSetupInProgressException for service response error code
	// "AccountSetupInProgressException".
	//
	// Lightsail throws this exception when an account is still in the setup in
	// progress state.
	ErrCodeAccountSetupInProgressException = "AccountSetupInProgressException"

	// ErrCodeInvalidInputException for service response error code
	// "InvalidInputException".
	//
	// Lightsail throws this exception when user input does not conform to the validation
	// rules of an input field.
	//
	// Domain-related APIs are only available in the N. Virginia (us-east-1) Region.
	// Please set your AWS Region configuration to us-east-1 to create, view, or
	// edit these resources.
	ErrCodeInvalidInputException = "InvalidInputException"

	// ErrCodeNotFoundException for service response error code
	// "NotFoundException".
	//
	// Lightsail throws this exception when it cannot find a resource.
	ErrCodeNotFoundException = "NotFoundException"

	// ErrCodeOperationFailureException for service response error code
	// "OperationFailureException".
	//
	// Lightsail throws this exception when an operation fails to execute.
	ErrCodeOperationFailureException = "OperationFailureException"

	// ErrCodeServiceException for service response error code
	// "ServiceException".
	//
	// A general service exception.
	ErrCodeServiceException = "ServiceException"

	// ErrCodeUnauthenticatedException for service response error code
	// "UnauthenticatedException".
	//
	// Lightsail throws this exception when the user has not been authenticated.
	ErrCodeUnauthenticatedException = "UnauthenticatedException"
)
View Source
const (
	ServiceName = "lightsail" // Service endpoint prefix API calls made to.
	EndpointsID = ServiceName // Service ID for Regions and Endpoints metadata.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessDirection

type AccessDirection string
const (
	AccessDirectionInbound  AccessDirection = "inbound"
	AccessDirectionOutbound AccessDirection = "outbound"
)

Enum values for AccessDirection

func (AccessDirection) MarshalValue added in v0.3.0

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

func (AccessDirection) MarshalValueBuf added in v0.3.0

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

type AllocateStaticIpInput

type AllocateStaticIpInput struct {

	// The name of the static IP address.
	//
	// StaticIpName is a required field
	StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIpRequest

func (AllocateStaticIpInput) GoString

func (s AllocateStaticIpInput) GoString() string

GoString returns the string representation

func (AllocateStaticIpInput) String

func (s AllocateStaticIpInput) String() string

String returns the string representation

func (*AllocateStaticIpInput) Validate

func (s *AllocateStaticIpInput) Validate() error

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

type AllocateStaticIpOutput

type AllocateStaticIpOutput struct {

	// An array of key-value pairs containing information about the static IP address
	// you allocated.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIpResult

func (AllocateStaticIpOutput) GoString

func (s AllocateStaticIpOutput) GoString() string

GoString returns the string representation

func (AllocateStaticIpOutput) SDKResponseMetadata

func (s AllocateStaticIpOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AllocateStaticIpOutput) String

func (s AllocateStaticIpOutput) String() string

String returns the string representation

type AllocateStaticIpRequest

type AllocateStaticIpRequest struct {
	*aws.Request
	Input *AllocateStaticIpInput
	Copy  func(*AllocateStaticIpInput) AllocateStaticIpRequest
}

AllocateStaticIpRequest is a API request type for the AllocateStaticIp API operation.

func (AllocateStaticIpRequest) Send

Send marshals and sends the AllocateStaticIp API request.

type AttachDiskInput added in v0.2.0

type AttachDiskInput struct {

	// The unique Lightsail disk name (e.g., my-disk).
	//
	// DiskName is a required field
	DiskName *string `locationName:"diskName" type:"string" required:"true"`

	// The disk path to expose to the instance (e.g., /dev/xvdf).
	//
	// DiskPath is a required field
	DiskPath *string `locationName:"diskPath" type:"string" required:"true"`

	// The name of the Lightsail instance where you want to utilize the storage
	// disk.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachDiskRequest

func (AttachDiskInput) GoString added in v0.2.0

func (s AttachDiskInput) GoString() string

GoString returns the string representation

func (AttachDiskInput) String added in v0.2.0

func (s AttachDiskInput) String() string

String returns the string representation

func (*AttachDiskInput) Validate added in v0.2.0

func (s *AttachDiskInput) Validate() error

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

type AttachDiskOutput added in v0.2.0

type AttachDiskOutput struct {

	// An object describing the API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachDiskResult

func (AttachDiskOutput) GoString added in v0.2.0

func (s AttachDiskOutput) GoString() string

GoString returns the string representation

func (AttachDiskOutput) SDKResponseMetadata added in v0.2.0

func (s AttachDiskOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AttachDiskOutput) String added in v0.2.0

func (s AttachDiskOutput) String() string

String returns the string representation

type AttachDiskRequest added in v0.2.0

type AttachDiskRequest struct {
	*aws.Request
	Input *AttachDiskInput
	Copy  func(*AttachDiskInput) AttachDiskRequest
}

AttachDiskRequest is a API request type for the AttachDisk API operation.

func (AttachDiskRequest) Send added in v0.2.0

Send marshals and sends the AttachDisk API request.

type AttachInstancesToLoadBalancerInput added in v0.2.0

type AttachInstancesToLoadBalancerInput struct {

	// An array of strings representing the instance name(s) you want to attach
	// to your load balancer.
	//
	// An instance must be running before you can attach it to your load balancer.
	//
	// There are no additional limits on the number of instances you can attach
	// to your load balancer, aside from the limit of Lightsail instances you can
	// create in your account (20).
	//
	// InstanceNames is a required field
	InstanceNames []string `locationName:"instanceNames" type:"list" required:"true"`

	// The name of the load balancer.
	//
	// LoadBalancerName is a required field
	LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachInstancesToLoadBalancerRequest

func (AttachInstancesToLoadBalancerInput) GoString added in v0.2.0

GoString returns the string representation

func (AttachInstancesToLoadBalancerInput) String added in v0.2.0

String returns the string representation

func (*AttachInstancesToLoadBalancerInput) Validate added in v0.2.0

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

type AttachInstancesToLoadBalancerOutput added in v0.2.0

type AttachInstancesToLoadBalancerOutput struct {

	// An object representing the API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachInstancesToLoadBalancerResult

func (AttachInstancesToLoadBalancerOutput) GoString added in v0.2.0

GoString returns the string representation

func (AttachInstancesToLoadBalancerOutput) SDKResponseMetadata added in v0.2.0

func (s AttachInstancesToLoadBalancerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AttachInstancesToLoadBalancerOutput) String added in v0.2.0

String returns the string representation

type AttachInstancesToLoadBalancerRequest added in v0.2.0

type AttachInstancesToLoadBalancerRequest struct {
	*aws.Request
	Input *AttachInstancesToLoadBalancerInput
	Copy  func(*AttachInstancesToLoadBalancerInput) AttachInstancesToLoadBalancerRequest
}

AttachInstancesToLoadBalancerRequest is a API request type for the AttachInstancesToLoadBalancer API operation.

func (AttachInstancesToLoadBalancerRequest) Send added in v0.2.0

Send marshals and sends the AttachInstancesToLoadBalancer API request.

type AttachLoadBalancerTlsCertificateInput added in v0.2.0

type AttachLoadBalancerTlsCertificateInput struct {

	// The name of your SSL/TLS certificate.
	//
	// CertificateName is a required field
	CertificateName *string `locationName:"certificateName" type:"string" required:"true"`

	// The name of the load balancer to which you want to associate the SSL/TLS
	// certificate.
	//
	// LoadBalancerName is a required field
	LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachLoadBalancerTlsCertificateRequest

func (AttachLoadBalancerTlsCertificateInput) GoString added in v0.2.0

GoString returns the string representation

func (AttachLoadBalancerTlsCertificateInput) String added in v0.2.0

String returns the string representation

func (*AttachLoadBalancerTlsCertificateInput) Validate added in v0.2.0

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

type AttachLoadBalancerTlsCertificateOutput added in v0.2.0

type AttachLoadBalancerTlsCertificateOutput struct {

	// An object representing the API operations.
	//
	// These SSL/TLS certificates are only usable by Lightsail load balancers. You
	// can't get the certificate and use it for another purpose.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachLoadBalancerTlsCertificateResult

func (AttachLoadBalancerTlsCertificateOutput) GoString added in v0.2.0

GoString returns the string representation

func (AttachLoadBalancerTlsCertificateOutput) SDKResponseMetadata added in v0.2.0

func (s AttachLoadBalancerTlsCertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AttachLoadBalancerTlsCertificateOutput) String added in v0.2.0

String returns the string representation

type AttachLoadBalancerTlsCertificateRequest added in v0.2.0

type AttachLoadBalancerTlsCertificateRequest struct {
	*aws.Request
	Input *AttachLoadBalancerTlsCertificateInput
	Copy  func(*AttachLoadBalancerTlsCertificateInput) AttachLoadBalancerTlsCertificateRequest
}

AttachLoadBalancerTlsCertificateRequest is a API request type for the AttachLoadBalancerTlsCertificate API operation.

func (AttachLoadBalancerTlsCertificateRequest) Send added in v0.2.0

Send marshals and sends the AttachLoadBalancerTlsCertificate API request.

type AttachStaticIpInput

type AttachStaticIpInput struct {

	// The instance name to which you want to attach the static IP address.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`

	// The name of the static IP.
	//
	// StaticIpName is a required field
	StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIpRequest

func (AttachStaticIpInput) GoString

func (s AttachStaticIpInput) GoString() string

GoString returns the string representation

func (AttachStaticIpInput) String

func (s AttachStaticIpInput) String() string

String returns the string representation

func (*AttachStaticIpInput) Validate

func (s *AttachStaticIpInput) Validate() error

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

type AttachStaticIpOutput

type AttachStaticIpOutput struct {

	// An array of key-value pairs containing information about your API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIpResult

func (AttachStaticIpOutput) GoString

func (s AttachStaticIpOutput) GoString() string

GoString returns the string representation

func (AttachStaticIpOutput) SDKResponseMetadata

func (s AttachStaticIpOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AttachStaticIpOutput) String

func (s AttachStaticIpOutput) String() string

String returns the string representation

type AttachStaticIpRequest

type AttachStaticIpRequest struct {
	*aws.Request
	Input *AttachStaticIpInput
	Copy  func(*AttachStaticIpInput) AttachStaticIpRequest
}

AttachStaticIpRequest is a API request type for the AttachStaticIp API operation.

func (AttachStaticIpRequest) Send

Send marshals and sends the AttachStaticIp API request.

type AvailabilityZone

type AvailabilityZone struct {

	// The state of the Availability Zone.
	State *string `locationName:"state" type:"string"`

	// The name of the Availability Zone. The format is us-east-2a (case-sensitive).
	ZoneName *string `locationName:"zoneName" type:"string"`
	// contains filtered or unexported fields
}

Describes an Availability Zone. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AvailabilityZone

func (AvailabilityZone) GoString

func (s AvailabilityZone) GoString() string

GoString returns the string representation

func (AvailabilityZone) String

func (s AvailabilityZone) String() string

String returns the string representation

type Blueprint

type Blueprint struct {

	// The ID for the virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0).
	BlueprintId *string `locationName:"blueprintId" type:"string"`

	// The description of the blueprint.
	Description *string `locationName:"description" type:"string"`

	// The group name of the blueprint (e.g., amazon-linux).
	Group *string `locationName:"group" type:"string"`

	// A Boolean value indicating whether the blueprint is active. Inactive blueprints
	// are listed to support customers with existing instances but are not necessarily
	// available for launch of new instances. Blueprints are marked inactive when
	// they become outdated due to operating system updates or new application releases.
	IsActive *bool `locationName:"isActive" type:"boolean"`

	// The end-user license agreement URL for the image or blueprint.
	LicenseUrl *string `locationName:"licenseUrl" type:"string"`

	// The minimum bundle power required to run this blueprint. For example, you
	// need a bundle with a power value of 500 or more to create an instance that
	// uses a blueprint with a minimum power value of 500. 0 indicates that the
	// blueprint runs on all instance sizes.
	MinPower *int64 `locationName:"minPower" type:"integer"`

	// The friendly name of the blueprint (e.g., Amazon Linux).
	Name *string `locationName:"name" type:"string"`

	// The operating system platform (either Linux/Unix-based or Windows Server-based)
	// of the blueprint.
	Platform InstancePlatform `locationName:"platform" type:"string" enum:"true"`

	// The product URL to learn more about the image or blueprint.
	ProductUrl *string `locationName:"productUrl" type:"string"`

	// The type of the blueprint (e.g., os or app).
	Type BlueprintType `locationName:"type" type:"string" enum:"true"`

	// The version number of the operating system, application, or stack (e.g.,
	// 2016.03.0).
	Version *string `locationName:"version" type:"string"`

	// The version code.
	VersionCode *string `locationName:"versionCode" type:"string"`
	// contains filtered or unexported fields
}

Describes a blueprint (a virtual private server image). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Blueprint

func (Blueprint) GoString

func (s Blueprint) GoString() string

GoString returns the string representation

func (Blueprint) String

func (s Blueprint) String() string

String returns the string representation

type BlueprintType

type BlueprintType string
const (
	BlueprintTypeOs  BlueprintType = "os"
	BlueprintTypeApp BlueprintType = "app"
)

Enum values for BlueprintType

func (BlueprintType) MarshalValue added in v0.3.0

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

func (BlueprintType) MarshalValueBuf added in v0.3.0

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

type Bundle

type Bundle struct {

	// The bundle ID (e.g., micro_1_0).
	BundleId *string `locationName:"bundleId" type:"string"`

	// The number of vCPUs included in the bundle (e.g., 2).
	CpuCount *int64 `locationName:"cpuCount" type:"integer"`

	// The size of the SSD (e.g., 30).
	DiskSizeInGb *int64 `locationName:"diskSizeInGb" type:"integer"`

	// The Amazon EC2 instance type (e.g., t2.micro).
	InstanceType *string `locationName:"instanceType" type:"string"`

	// A Boolean value indicating whether the bundle is active.
	IsActive *bool `locationName:"isActive" type:"boolean"`

	// A friendly name for the bundle (e.g., Micro).
	Name *string `locationName:"name" type:"string"`

	// A numeric value that represents the power of the bundle (e.g., 500). You
	// can use the bundle's power value in conjunction with a blueprint's minimum
	// power value to determine whether the blueprint will run on the bundle. For
	// example, you need a bundle with a power value of 500 or more to create an
	// instance that uses a blueprint with a minimum power value of 500.
	Power *int64 `locationName:"power" type:"integer"`

	// The price in US dollars (e.g., 5.0).
	Price *float64 `locationName:"price" type:"float"`

	// The amount of RAM in GB (e.g., 2.0).
	RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"`

	// The operating system platform (Linux/Unix-based or Windows Server-based)
	// that the bundle supports. You can only launch a WINDOWS bundle on a blueprint
	// that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX
	// bundle.
	SupportedPlatforms []InstancePlatform `locationName:"supportedPlatforms" type:"list"`

	// The data transfer rate per month in GB (e.g., 2000).
	TransferPerMonthInGb *int64 `locationName:"transferPerMonthInGb" type:"integer"`
	// contains filtered or unexported fields
}

Describes a bundle, which is a set of specs describing your virtual private server (or instance). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Bundle

func (Bundle) GoString

func (s Bundle) GoString() string

GoString returns the string representation

func (Bundle) String

func (s Bundle) String() string

String returns the string representation

type CloseInstancePublicPortsInput

type CloseInstancePublicPortsInput struct {

	// The name of the instance on which you're attempting to close the public ports.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`

	// Information about the public port you are trying to close.
	//
	// PortInfo is a required field
	PortInfo *PortInfo `locationName:"portInfo" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPortsRequest

func (CloseInstancePublicPortsInput) GoString

GoString returns the string representation

func (CloseInstancePublicPortsInput) String

String returns the string representation

func (*CloseInstancePublicPortsInput) Validate

func (s *CloseInstancePublicPortsInput) Validate() error

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

type CloseInstancePublicPortsOutput

type CloseInstancePublicPortsOutput struct {

	// An array of key-value pairs that contains information about the operation.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPortsResult

func (CloseInstancePublicPortsOutput) GoString

GoString returns the string representation

func (CloseInstancePublicPortsOutput) SDKResponseMetadata

func (s CloseInstancePublicPortsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CloseInstancePublicPortsOutput) String

String returns the string representation

type CloseInstancePublicPortsRequest

type CloseInstancePublicPortsRequest struct {
	*aws.Request
	Input *CloseInstancePublicPortsInput
	Copy  func(*CloseInstancePublicPortsInput) CloseInstancePublicPortsRequest
}

CloseInstancePublicPortsRequest is a API request type for the CloseInstancePublicPorts API operation.

func (CloseInstancePublicPortsRequest) Send

Send marshals and sends the CloseInstancePublicPorts API request.

type CloudFormationStackRecord added in v0.6.0

type CloudFormationStackRecord struct {

	// The Amazon Resource Name (ARN) of the CloudFormation stack record.
	Arn *string `locationName:"arn" type:"string"`

	// The date when the CloudFormation stack record was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// A list of objects describing the destination service, which is AWS CloudFormation,
	// and the Amazon Resource Name (ARN) of the AWS CloudFormation stack.
	DestinationInfo *DestinationInfo `locationName:"destinationInfo" type:"structure"`

	// A list of objects describing the Availability Zone and AWS Region of the
	// CloudFormation stack record.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the CloudFormation stack record. It starts with CloudFormationStackRecord
	// followed by a GUID.
	Name *string `locationName:"name" type:"string"`

	// The Lightsail resource type (e.g., CloudFormationStackRecord).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// A list of objects describing the source of the CloudFormation stack record.
	SourceInfo []CloudFormationStackRecordSourceInfo `locationName:"sourceInfo" type:"list"`

	// The current state of the CloudFormation stack record.
	State RecordState `locationName:"state" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes a CloudFormation stack record created as a result of the create cloud formation stack operation.

A CloudFormation stack record provides information about the AWS CloudFormation stack used to create a new Amazon Elastic Compute Cloud instance from an exported Lightsail instance snapshot. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloudFormationStackRecord

func (CloudFormationStackRecord) GoString added in v0.6.0

func (s CloudFormationStackRecord) GoString() string

GoString returns the string representation

func (CloudFormationStackRecord) String added in v0.6.0

func (s CloudFormationStackRecord) String() string

String returns the string representation

type CloudFormationStackRecordSourceInfo added in v0.6.0

type CloudFormationStackRecordSourceInfo struct {

	// The Amazon Resource Name (ARN) of the export snapshot record.
	Arn *string `locationName:"arn" type:"string"`

	// The name of the record.
	Name *string `locationName:"name" type:"string"`

	// The Lightsail resource type (e.g., ExportSnapshotRecord).
	ResourceType CloudFormationStackRecordSourceType `locationName:"resourceType" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes the source of a CloudFormation stack record (i.e., the export snapshot record). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloudFormationStackRecordSourceInfo

func (CloudFormationStackRecordSourceInfo) GoString added in v0.6.0

GoString returns the string representation

func (CloudFormationStackRecordSourceInfo) String added in v0.6.0

String returns the string representation

type CloudFormationStackRecordSourceType added in v0.6.0

type CloudFormationStackRecordSourceType string
const (
	CloudFormationStackRecordSourceTypeExportSnapshotRecord CloudFormationStackRecordSourceType = "ExportSnapshotRecord"
)

Enum values for CloudFormationStackRecordSourceType

func (CloudFormationStackRecordSourceType) MarshalValue added in v0.6.0

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

func (CloudFormationStackRecordSourceType) MarshalValueBuf added in v0.6.0

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

type CopySnapshotInput added in v0.6.0

type CopySnapshotInput struct {

	// The AWS Region where the source snapshot is located.
	//
	// SourceRegion is a required field
	SourceRegion RegionName `locationName:"sourceRegion" type:"string" required:"true" enum:"true"`

	// The name of the source instance or disk snapshot to be copied.
	//
	// SourceSnapshotName is a required field
	SourceSnapshotName *string `locationName:"sourceSnapshotName" type:"string" required:"true"`

	// The name of the new instance or disk snapshot to be created as a copy.
	//
	// TargetSnapshotName is a required field
	TargetSnapshotName *string `locationName:"targetSnapshotName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CopySnapshotRequest

func (CopySnapshotInput) GoString added in v0.6.0

func (s CopySnapshotInput) GoString() string

GoString returns the string representation

func (CopySnapshotInput) String added in v0.6.0

func (s CopySnapshotInput) String() string

String returns the string representation

func (*CopySnapshotInput) Validate added in v0.6.0

func (s *CopySnapshotInput) Validate() error

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

type CopySnapshotOutput added in v0.6.0

type CopySnapshotOutput struct {

	// A list of objects describing the API operation.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CopySnapshotResult

func (CopySnapshotOutput) GoString added in v0.6.0

func (s CopySnapshotOutput) GoString() string

GoString returns the string representation

func (CopySnapshotOutput) SDKResponseMetadata added in v0.6.0

func (s CopySnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CopySnapshotOutput) String added in v0.6.0

func (s CopySnapshotOutput) String() string

String returns the string representation

type CopySnapshotRequest added in v0.6.0

type CopySnapshotRequest struct {
	*aws.Request
	Input *CopySnapshotInput
	Copy  func(*CopySnapshotInput) CopySnapshotRequest
}

CopySnapshotRequest is a API request type for the CopySnapshot API operation.

func (CopySnapshotRequest) Send added in v0.6.0

Send marshals and sends the CopySnapshot API request.

type CreateCloudFormationStackInput added in v0.6.0

type CreateCloudFormationStackInput struct {

	// An array of parameters that will be used to create the new Amazon EC2 instance.
	// You can only pass one instance entry at a time in this array. You will get
	// an invalid parameter error if you pass more than one instance entry in this
	// array.
	//
	// Instances is a required field
	Instances []InstanceEntry `locationName:"instances" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateCloudFormationStackRequest

func (CreateCloudFormationStackInput) GoString added in v0.6.0

GoString returns the string representation

func (CreateCloudFormationStackInput) String added in v0.6.0

String returns the string representation

func (*CreateCloudFormationStackInput) Validate added in v0.6.0

func (s *CreateCloudFormationStackInput) Validate() error

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

type CreateCloudFormationStackOutput added in v0.6.0

type CreateCloudFormationStackOutput struct {

	// A list of objects describing the API operation.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateCloudFormationStackResult

func (CreateCloudFormationStackOutput) GoString added in v0.6.0

GoString returns the string representation

func (CreateCloudFormationStackOutput) SDKResponseMetadata added in v0.6.0

func (s CreateCloudFormationStackOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateCloudFormationStackOutput) String added in v0.6.0

String returns the string representation

type CreateCloudFormationStackRequest added in v0.6.0

type CreateCloudFormationStackRequest struct {
	*aws.Request
	Input *CreateCloudFormationStackInput
	Copy  func(*CreateCloudFormationStackInput) CreateCloudFormationStackRequest
}

CreateCloudFormationStackRequest is a API request type for the CreateCloudFormationStack API operation.

func (CreateCloudFormationStackRequest) Send added in v0.6.0

Send marshals and sends the CreateCloudFormationStack API request.

type CreateDiskFromSnapshotInput added in v0.2.0

type CreateDiskFromSnapshotInput struct {

	// The Availability Zone where you want to create the disk (e.g., us-east-2a).
	// Choose the same Availability Zone as the Lightsail instance where you want
	// to create the disk.
	//
	// Use the GetRegions operation to list the Availability Zones where Lightsail
	// is currently available.
	//
	// AvailabilityZone is a required field
	AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"`

	// The unique Lightsail disk name (e.g., my-disk).
	//
	// DiskName is a required field
	DiskName *string `locationName:"diskName" type:"string" required:"true"`

	// The name of the disk snapshot (e.g., my-snapshot) from which to create the
	// new storage disk.
	//
	// DiskSnapshotName is a required field
	DiskSnapshotName *string `locationName:"diskSnapshotName" type:"string" required:"true"`

	// The size of the disk in GB (e.g., 32).
	//
	// SizeInGb is a required field
	SizeInGb *int64 `locationName:"sizeInGb" type:"integer" required:"true"`

	// The tag keys and optional values to add to the resource during create.
	//
	// To tag a resource after it has been created, see the tag resource operation.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshotRequest

func (CreateDiskFromSnapshotInput) GoString added in v0.2.0

func (s CreateDiskFromSnapshotInput) GoString() string

GoString returns the string representation

func (CreateDiskFromSnapshotInput) String added in v0.2.0

String returns the string representation

func (*CreateDiskFromSnapshotInput) Validate added in v0.2.0

func (s *CreateDiskFromSnapshotInput) Validate() error

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

type CreateDiskFromSnapshotOutput added in v0.2.0

type CreateDiskFromSnapshotOutput struct {

	// An object describing the API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshotResult

func (CreateDiskFromSnapshotOutput) GoString added in v0.2.0

func (s CreateDiskFromSnapshotOutput) GoString() string

GoString returns the string representation

func (CreateDiskFromSnapshotOutput) SDKResponseMetadata added in v0.2.0

func (s CreateDiskFromSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateDiskFromSnapshotOutput) String added in v0.2.0

String returns the string representation

type CreateDiskFromSnapshotRequest added in v0.2.0

type CreateDiskFromSnapshotRequest struct {
	*aws.Request
	Input *CreateDiskFromSnapshotInput
	Copy  func(*CreateDiskFromSnapshotInput) CreateDiskFromSnapshotRequest
}

CreateDiskFromSnapshotRequest is a API request type for the CreateDiskFromSnapshot API operation.

func (CreateDiskFromSnapshotRequest) Send added in v0.2.0

Send marshals and sends the CreateDiskFromSnapshot API request.

type CreateDiskInput added in v0.2.0

type CreateDiskInput struct {

	// The Availability Zone where you want to create the disk (e.g., us-east-2a).
	// Choose the same Availability Zone as the Lightsail instance where you want
	// to create the disk.
	//
	// Use the GetRegions operation to list the Availability Zones where Lightsail
	// is currently available.
	//
	// AvailabilityZone is a required field
	AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"`

	// The unique Lightsail disk name (e.g., my-disk).
	//
	// DiskName is a required field
	DiskName *string `locationName:"diskName" type:"string" required:"true"`

	// The size of the disk in GB (e.g., 32).
	//
	// SizeInGb is a required field
	SizeInGb *int64 `locationName:"sizeInGb" type:"integer" required:"true"`

	// The tag keys and optional values to add to the resource during create.
	//
	// To tag a resource after it has been created, see the tag resource operation.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskRequest

func (CreateDiskInput) GoString added in v0.2.0

func (s CreateDiskInput) GoString() string

GoString returns the string representation

func (CreateDiskInput) String added in v0.2.0

func (s CreateDiskInput) String() string

String returns the string representation

func (*CreateDiskInput) Validate added in v0.2.0

func (s *CreateDiskInput) Validate() error

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

type CreateDiskOutput added in v0.2.0

type CreateDiskOutput struct {

	// An object describing the API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskResult

func (CreateDiskOutput) GoString added in v0.2.0

func (s CreateDiskOutput) GoString() string

GoString returns the string representation

func (CreateDiskOutput) SDKResponseMetadata added in v0.2.0

func (s CreateDiskOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateDiskOutput) String added in v0.2.0

func (s CreateDiskOutput) String() string

String returns the string representation

type CreateDiskRequest added in v0.2.0

type CreateDiskRequest struct {
	*aws.Request
	Input *CreateDiskInput
	Copy  func(*CreateDiskInput) CreateDiskRequest
}

CreateDiskRequest is a API request type for the CreateDisk API operation.

func (CreateDiskRequest) Send added in v0.2.0

Send marshals and sends the CreateDisk API request.

type CreateDiskSnapshotInput added in v0.2.0

type CreateDiskSnapshotInput struct {

	// The unique name of the source disk (e.g., my-source-disk).
	//
	// DiskName is a required field
	DiskName *string `locationName:"diskName" type:"string" required:"true"`

	// The name of the destination disk snapshot (e.g., my-disk-snapshot) based
	// on the source disk.
	//
	// DiskSnapshotName is a required field
	DiskSnapshotName *string `locationName:"diskSnapshotName" type:"string" required:"true"`

	// The tag keys and optional values to add to the resource during create.
	//
	// To tag a resource after it has been created, see the tag resource operation.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshotRequest

func (CreateDiskSnapshotInput) GoString added in v0.2.0

func (s CreateDiskSnapshotInput) GoString() string

GoString returns the string representation

func (CreateDiskSnapshotInput) String added in v0.2.0

func (s CreateDiskSnapshotInput) String() string

String returns the string representation

func (*CreateDiskSnapshotInput) Validate added in v0.2.0

func (s *CreateDiskSnapshotInput) Validate() error

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

type CreateDiskSnapshotOutput added in v0.2.0

type CreateDiskSnapshotOutput struct {

	// An object describing the API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshotResult

func (CreateDiskSnapshotOutput) GoString added in v0.2.0

func (s CreateDiskSnapshotOutput) GoString() string

GoString returns the string representation

func (CreateDiskSnapshotOutput) SDKResponseMetadata added in v0.2.0

func (s CreateDiskSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateDiskSnapshotOutput) String added in v0.2.0

func (s CreateDiskSnapshotOutput) String() string

String returns the string representation

type CreateDiskSnapshotRequest added in v0.2.0

type CreateDiskSnapshotRequest struct {
	*aws.Request
	Input *CreateDiskSnapshotInput
	Copy  func(*CreateDiskSnapshotInput) CreateDiskSnapshotRequest
}

CreateDiskSnapshotRequest is a API request type for the CreateDiskSnapshot API operation.

func (CreateDiskSnapshotRequest) Send added in v0.2.0

Send marshals and sends the CreateDiskSnapshot API request.

type CreateDomainEntryInput

type CreateDomainEntryInput struct {

	// An array of key-value pairs containing information about the domain entry
	// request.
	//
	// DomainEntry is a required field
	DomainEntry *DomainEntry `locationName:"domainEntry" type:"structure" required:"true"`

	// The domain name (e.g., example.com) for which you want to create the domain
	// entry.
	//
	// DomainName is a required field
	DomainName *string `locationName:"domainName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntryRequest

func (CreateDomainEntryInput) GoString

func (s CreateDomainEntryInput) GoString() string

GoString returns the string representation

func (CreateDomainEntryInput) String

func (s CreateDomainEntryInput) String() string

String returns the string representation

func (*CreateDomainEntryInput) Validate

func (s *CreateDomainEntryInput) Validate() error

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

type CreateDomainEntryOutput

type CreateDomainEntryOutput struct {

	// An array of key-value pairs containing information about the operation.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntryResult

func (CreateDomainEntryOutput) GoString

func (s CreateDomainEntryOutput) GoString() string

GoString returns the string representation

func (CreateDomainEntryOutput) SDKResponseMetadata

func (s CreateDomainEntryOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateDomainEntryOutput) String

func (s CreateDomainEntryOutput) String() string

String returns the string representation

type CreateDomainEntryRequest

type CreateDomainEntryRequest struct {
	*aws.Request
	Input *CreateDomainEntryInput
	Copy  func(*CreateDomainEntryInput) CreateDomainEntryRequest
}

CreateDomainEntryRequest is a API request type for the CreateDomainEntry API operation.

func (CreateDomainEntryRequest) Send

Send marshals and sends the CreateDomainEntry API request.

type CreateDomainInput

type CreateDomainInput struct {

	// The domain name to manage (e.g., example.com).
	//
	// You cannot register a new domain name using Lightsail. You must register
	// a domain name using Amazon Route 53 or another domain name registrar. If
	// you have already registered your domain, you can enter its name in this parameter
	// to manage the DNS records for that domain.
	//
	// DomainName is a required field
	DomainName *string `locationName:"domainName" type:"string" required:"true"`

	// The tag keys and optional values to add to the resource during create.
	//
	// To tag a resource after it has been created, see the tag resource operation.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainRequest

func (CreateDomainInput) GoString

func (s CreateDomainInput) GoString() string

GoString returns the string representation

func (CreateDomainInput) String

func (s CreateDomainInput) String() string

String returns the string representation

func (*CreateDomainInput) Validate

func (s *CreateDomainInput) Validate() error

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

type CreateDomainOutput

type CreateDomainOutput struct {

	// An array of key-value pairs containing information about the domain resource
	// you created.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainResult

func (CreateDomainOutput) GoString

func (s CreateDomainOutput) GoString() string

GoString returns the string representation

func (CreateDomainOutput) SDKResponseMetadata

func (s CreateDomainOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateDomainOutput) String

func (s CreateDomainOutput) String() string

String returns the string representation

type CreateDomainRequest

type CreateDomainRequest struct {
	*aws.Request
	Input *CreateDomainInput
	Copy  func(*CreateDomainInput) CreateDomainRequest
}

CreateDomainRequest is a API request type for the CreateDomain API operation.

func (CreateDomainRequest) Send

Send marshals and sends the CreateDomain API request.

type CreateInstanceSnapshotInput

type CreateInstanceSnapshotInput struct {

	// The Lightsail instance on which to base your snapshot.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`

	// The name for your new snapshot.
	//
	// InstanceSnapshotName is a required field
	InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"`

	// The tag keys and optional values to add to the resource during create.
	//
	// To tag a resource after it has been created, see the tag resource operation.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshotRequest

func (CreateInstanceSnapshotInput) GoString

func (s CreateInstanceSnapshotInput) GoString() string

GoString returns the string representation

func (CreateInstanceSnapshotInput) String

String returns the string representation

func (*CreateInstanceSnapshotInput) Validate

func (s *CreateInstanceSnapshotInput) Validate() error

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

type CreateInstanceSnapshotOutput

type CreateInstanceSnapshotOutput struct {

	// An array of key-value pairs containing information about the results of your
	// create instances snapshot request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshotResult

func (CreateInstanceSnapshotOutput) GoString

func (s CreateInstanceSnapshotOutput) GoString() string

GoString returns the string representation

func (CreateInstanceSnapshotOutput) SDKResponseMetadata

func (s CreateInstanceSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateInstanceSnapshotOutput) String

String returns the string representation

type CreateInstanceSnapshotRequest

type CreateInstanceSnapshotRequest struct {
	*aws.Request
	Input *CreateInstanceSnapshotInput
	Copy  func(*CreateInstanceSnapshotInput) CreateInstanceSnapshotRequest
}

CreateInstanceSnapshotRequest is a API request type for the CreateInstanceSnapshot API operation.

func (CreateInstanceSnapshotRequest) Send

Send marshals and sends the CreateInstanceSnapshot API request.

type CreateInstancesFromSnapshotInput

type CreateInstancesFromSnapshotInput struct {

	// An object containing information about one or more disk mappings.
	AttachedDiskMapping map[string][]DiskMap `locationName:"attachedDiskMapping" type:"map"`

	// The Availability Zone where you want to create your instances. Use the following
	// formatting: us-east-2a (case sensitive). You can get a list of Availability
	// Zones by using the get regions (http://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRegions.html)
	// operation. Be sure to add the include Availability Zones parameter to your
	// request.
	//
	// AvailabilityZone is a required field
	AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"`

	// The bundle of specification information for your virtual private server (or
	// instance), including the pricing plan (e.g., micro_1_0).
	//
	// BundleId is a required field
	BundleId *string `locationName:"bundleId" type:"string" required:"true"`

	// The names for your new instances.
	//
	// InstanceNames is a required field
	InstanceNames []string `locationName:"instanceNames" type:"list" required:"true"`

	// The name of the instance snapshot on which you are basing your new instances.
	// Use the get instance snapshots operation to return information about your
	// existing snapshots.
	//
	// InstanceSnapshotName is a required field
	InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"`

	// The name for your key pair.
	KeyPairName *string `locationName:"keyPairName" type:"string"`

	// The tag keys and optional values to add to the resource during create.
	//
	// To tag a resource after it has been created, see the tag resource operation.
	Tags []Tag `locationName:"tags" type:"list"`

	// You can create a launch script that configures a server with additional user
	// data. For example, apt-get -y update.
	//
	// Depending on the machine image you choose, the command to get software on
	// your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu
	// use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide
	// (https://lightsail.aws.amazon.com/ls/docs/getting-started/article/compare-options-choose-lightsail-instance-image).
	UserData *string `locationName:"userData" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshotRequest

func (CreateInstancesFromSnapshotInput) GoString

GoString returns the string representation

func (CreateInstancesFromSnapshotInput) String

String returns the string representation

func (*CreateInstancesFromSnapshotInput) Validate

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

type CreateInstancesFromSnapshotOutput

type CreateInstancesFromSnapshotOutput struct {

	// An array of key-value pairs containing information about the results of your
	// create instances from snapshot request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshotResult

func (CreateInstancesFromSnapshotOutput) GoString

GoString returns the string representation

func (CreateInstancesFromSnapshotOutput) SDKResponseMetadata

func (s CreateInstancesFromSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateInstancesFromSnapshotOutput) String

String returns the string representation

type CreateInstancesFromSnapshotRequest

type CreateInstancesFromSnapshotRequest struct {
	*aws.Request
	Input *CreateInstancesFromSnapshotInput
	Copy  func(*CreateInstancesFromSnapshotInput) CreateInstancesFromSnapshotRequest
}

CreateInstancesFromSnapshotRequest is a API request type for the CreateInstancesFromSnapshot API operation.

func (CreateInstancesFromSnapshotRequest) Send

Send marshals and sends the CreateInstancesFromSnapshot API request.

type CreateInstancesInput

type CreateInstancesInput struct {

	// The Availability Zone in which to create your instance. Use the following
	// format: us-east-2a (case sensitive). You can get a list of Availability Zones
	// by using the get regions (http://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRegions.html)
	// operation. Be sure to add the include Availability Zones parameter to your
	// request.
	//
	// AvailabilityZone is a required field
	AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"`

	// The ID for a virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0).
	// Use the get blueprints operation to return a list of available images (or
	// blueprints).
	//
	// BlueprintId is a required field
	BlueprintId *string `locationName:"blueprintId" type:"string" required:"true"`

	// The bundle of specification information for your virtual private server (or
	// instance), including the pricing plan (e.g., micro_1_0).
	//
	// BundleId is a required field
	BundleId *string `locationName:"bundleId" type:"string" required:"true"`

	// (Deprecated) The name for your custom image.
	//
	// In releases prior to June 12, 2017, this parameter was ignored by the API.
	// It is now deprecated.
	CustomImageName *string `locationName:"customImageName" deprecated:"true" type:"string"`

	// The names to use for your new Lightsail instances. Separate multiple values
	// using quotation marks and commas, for example: ["MyFirstInstance","MySecondInstance"]
	//
	// InstanceNames is a required field
	InstanceNames []string `locationName:"instanceNames" type:"list" required:"true"`

	// The name of your key pair.
	KeyPairName *string `locationName:"keyPairName" type:"string"`

	// The tag keys and optional values to add to the resource during create.
	//
	// To tag a resource after it has been created, see the tag resource operation.
	Tags []Tag `locationName:"tags" type:"list"`

	// A launch script you can create that configures a server with additional user
	// data. For example, you might want to run apt-get -y update.
	//
	// Depending on the machine image you choose, the command to get software on
	// your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu
	// use apt-get, and FreeBSD uses pkg. For a complete list, see the Dev Guide
	// (https://lightsail.aws.amazon.com/ls/docs/getting-started/article/compare-options-choose-lightsail-instance-image).
	UserData *string `locationName:"userData" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesRequest

func (CreateInstancesInput) GoString

func (s CreateInstancesInput) GoString() string

GoString returns the string representation

func (CreateInstancesInput) String

func (s CreateInstancesInput) String() string

String returns the string representation

func (*CreateInstancesInput) Validate

func (s *CreateInstancesInput) Validate() error

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

type CreateInstancesOutput

type CreateInstancesOutput struct {

	// An array of key-value pairs containing information about the results of your
	// create instances request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesResult

func (CreateInstancesOutput) GoString

func (s CreateInstancesOutput) GoString() string

GoString returns the string representation

func (CreateInstancesOutput) SDKResponseMetadata

func (s CreateInstancesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateInstancesOutput) String

func (s CreateInstancesOutput) String() string

String returns the string representation

type CreateInstancesRequest

type CreateInstancesRequest struct {
	*aws.Request
	Input *CreateInstancesInput
	Copy  func(*CreateInstancesInput) CreateInstancesRequest
}

CreateInstancesRequest is a API request type for the CreateInstances API operation.

func (CreateInstancesRequest) Send

Send marshals and sends the CreateInstances API request.

type CreateKeyPairInput

type CreateKeyPairInput struct {

	// The name for your new key pair.
	//
	// KeyPairName is a required field
	KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"`

	// The tag keys and optional values to add to the resource during create.
	//
	// To tag a resource after it has been created, see the tag resource operation.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPairRequest

func (CreateKeyPairInput) GoString

func (s CreateKeyPairInput) GoString() string

GoString returns the string representation

func (CreateKeyPairInput) String

func (s CreateKeyPairInput) String() string

String returns the string representation

func (*CreateKeyPairInput) Validate

func (s *CreateKeyPairInput) Validate() error

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

type CreateKeyPairOutput

type CreateKeyPairOutput struct {

	// An array of key-value pairs containing information about the new key pair
	// you just created.
	KeyPair *KeyPair `locationName:"keyPair" type:"structure"`

	// An array of key-value pairs containing information about the results of your
	// create key pair request.
	Operation *Operation `locationName:"operation" type:"structure"`

	// A base64-encoded RSA private key.
	PrivateKeyBase64 *string `locationName:"privateKeyBase64" type:"string"`

	// A base64-encoded public key of the ssh-rsa type.
	PublicKeyBase64 *string `locationName:"publicKeyBase64" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPairResult

func (CreateKeyPairOutput) GoString

func (s CreateKeyPairOutput) GoString() string

GoString returns the string representation

func (CreateKeyPairOutput) SDKResponseMetadata

func (s CreateKeyPairOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateKeyPairOutput) String

func (s CreateKeyPairOutput) String() string

String returns the string representation

type CreateKeyPairRequest

type CreateKeyPairRequest struct {
	*aws.Request
	Input *CreateKeyPairInput
	Copy  func(*CreateKeyPairInput) CreateKeyPairRequest
}

CreateKeyPairRequest is a API request type for the CreateKeyPair API operation.

func (CreateKeyPairRequest) Send

Send marshals and sends the CreateKeyPair API request.

type CreateLoadBalancerInput added in v0.2.0

type CreateLoadBalancerInput struct {

	// The optional alternative domains and subdomains to use with your SSL/TLS
	// certificate (e.g., www.example.com, example.com, m.example.com, blog.example.com).
	CertificateAlternativeNames []string `locationName:"certificateAlternativeNames" type:"list"`

	// The domain name with which your certificate is associated (e.g., example.com).
	//
	// If you specify certificateDomainName, then certificateName is required (and
	// vice-versa).
	CertificateDomainName *string `locationName:"certificateDomainName" type:"string"`

	// The name of the SSL/TLS certificate.
	//
	// If you specify certificateName, then certificateDomainName is required (and
	// vice-versa).
	CertificateName *string `locationName:"certificateName" type:"string"`

	// The path you provided to perform the load balancer health check. If you didn't
	// specify a health check path, Lightsail uses the root path of your website
	// (e.g., "/").
	//
	// You may want to specify a custom health check path other than the root of
	// your application if your home page loads slowly or has a lot of media or
	// scripting on it.
	HealthCheckPath *string `locationName:"healthCheckPath" type:"string"`

	// The instance port where you're creating your load balancer.
	//
	// InstancePort is a required field
	InstancePort *int64 `locationName:"instancePort" type:"integer" required:"true"`

	// The name of your load balancer.
	//
	// LoadBalancerName is a required field
	LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"`

	// The tag keys and optional values to add to the resource during create.
	//
	// To tag a resource after it has been created, see the tag resource operation.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerRequest

func (CreateLoadBalancerInput) GoString added in v0.2.0

func (s CreateLoadBalancerInput) GoString() string

GoString returns the string representation

func (CreateLoadBalancerInput) String added in v0.2.0

func (s CreateLoadBalancerInput) String() string

String returns the string representation

func (*CreateLoadBalancerInput) Validate added in v0.2.0

func (s *CreateLoadBalancerInput) Validate() error

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

type CreateLoadBalancerOutput added in v0.2.0

type CreateLoadBalancerOutput struct {

	// An object containing information about the API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerResult

func (CreateLoadBalancerOutput) GoString added in v0.2.0

func (s CreateLoadBalancerOutput) GoString() string

GoString returns the string representation

func (CreateLoadBalancerOutput) SDKResponseMetadata added in v0.2.0

func (s CreateLoadBalancerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateLoadBalancerOutput) String added in v0.2.0

func (s CreateLoadBalancerOutput) String() string

String returns the string representation

type CreateLoadBalancerRequest added in v0.2.0

type CreateLoadBalancerRequest struct {
	*aws.Request
	Input *CreateLoadBalancerInput
	Copy  func(*CreateLoadBalancerInput) CreateLoadBalancerRequest
}

CreateLoadBalancerRequest is a API request type for the CreateLoadBalancer API operation.

func (CreateLoadBalancerRequest) Send added in v0.2.0

Send marshals and sends the CreateLoadBalancer API request.

type CreateLoadBalancerTlsCertificateInput added in v0.2.0

type CreateLoadBalancerTlsCertificateInput struct {

	// An array of strings listing alternative domains and subdomains for your SSL/TLS
	// certificate. Lightsail will de-dupe the names for you. You can have a maximum
	// of 9 alternative names (in addition to the 1 primary domain). We do not support
	// wildcards (e.g., *.example.com).
	CertificateAlternativeNames []string `locationName:"certificateAlternativeNames" type:"list"`

	// The domain name (e.g., example.com) for your SSL/TLS certificate.
	//
	// CertificateDomainName is a required field
	CertificateDomainName *string `locationName:"certificateDomainName" type:"string" required:"true"`

	// The SSL/TLS certificate name.
	//
	// You can have up to 10 certificates in your account at one time. Each Lightsail
	// load balancer can have up to 2 certificates associated with it at one time.
	// There is also an overall limit to the number of certificates that can be
	// issue in a 365-day period. For more information, see Limits (http://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html).
	//
	// CertificateName is a required field
	CertificateName *string `locationName:"certificateName" type:"string" required:"true"`

	// The load balancer name where you want to create the SSL/TLS certificate.
	//
	// LoadBalancerName is a required field
	LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"`

	// The tag keys and optional values to add to the resource during create.
	//
	// To tag a resource after it has been created, see the tag resource operation.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificateRequest

func (CreateLoadBalancerTlsCertificateInput) GoString added in v0.2.0

GoString returns the string representation

func (CreateLoadBalancerTlsCertificateInput) String added in v0.2.0

String returns the string representation

func (*CreateLoadBalancerTlsCertificateInput) Validate added in v0.2.0

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

type CreateLoadBalancerTlsCertificateOutput added in v0.2.0

type CreateLoadBalancerTlsCertificateOutput struct {

	// An object containing information about the API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificateResult

func (CreateLoadBalancerTlsCertificateOutput) GoString added in v0.2.0

GoString returns the string representation

func (CreateLoadBalancerTlsCertificateOutput) SDKResponseMetadata added in v0.2.0

func (s CreateLoadBalancerTlsCertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateLoadBalancerTlsCertificateOutput) String added in v0.2.0

String returns the string representation

type CreateLoadBalancerTlsCertificateRequest added in v0.2.0

type CreateLoadBalancerTlsCertificateRequest struct {
	*aws.Request
	Input *CreateLoadBalancerTlsCertificateInput
	Copy  func(*CreateLoadBalancerTlsCertificateInput) CreateLoadBalancerTlsCertificateRequest
}

CreateLoadBalancerTlsCertificateRequest is a API request type for the CreateLoadBalancerTlsCertificate API operation.

func (CreateLoadBalancerTlsCertificateRequest) Send added in v0.2.0

Send marshals and sends the CreateLoadBalancerTlsCertificate API request.

type CreateRelationalDatabaseFromSnapshotInput added in v0.6.0

type CreateRelationalDatabaseFromSnapshotInput struct {

	// The Availability Zone in which to create your new database. Use the us-east-2a
	// case-sensitive format.
	//
	// You can get a list of Availability Zones by using the get regions operation.
	// Be sure to add the include relational database Availability Zones parameter
	// to your request.
	AvailabilityZone *string `locationName:"availabilityZone" type:"string"`

	// Specifies the accessibility options for your new database. A value of true
	// specifies a database that is available to resources outside of your Lightsail
	// account. A value of false specifies a database that is available only to
	// your Lightsail resources in the same region as your database.
	PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"`

	// The bundle ID for your new database. A bundle describes the performance specifications
	// for your database.
	//
	// You can get a list of database bundle IDs by using the get relational database
	// bundles operation.
	//
	// When creating a new database from a snapshot, you cannot choose a bundle
	// that is smaller than the bundle of the source database.
	RelationalDatabaseBundleId *string `locationName:"relationalDatabaseBundleId" type:"string"`

	// The name to use for your new database.
	//
	// Constraints:
	//
	//    * Must contain from 2 to 255 alphanumeric characters, or hyphens.
	//
	//    * The first and last character must be a letter or number.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`

	// The name of the database snapshot from which to create your new database.
	RelationalDatabaseSnapshotName *string `locationName:"relationalDatabaseSnapshotName" type:"string"`

	// The date and time to restore your database from.
	//
	// Constraints:
	//
	//    * Must be before the latest restorable time for the database.
	//
	//    * Cannot be specified if the use latest restorable time parameter is true.
	//
	//    * Specified in Universal Coordinated Time (UTC).
	//
	//    * Specified in the Unix time format.
	//
	// For example, if you wish to use a restore time of October 1, 2018, at 8 PM
	//    UTC, then you input 1538424000 as the restore time.
	RestoreTime *time.Time `locationName:"restoreTime" type:"timestamp" timestampFormat:"unix"`

	// The name of the source database.
	SourceRelationalDatabaseName *string `locationName:"sourceRelationalDatabaseName" type:"string"`

	// The tag keys and optional values to add to the resource during create.
	//
	// To tag a resource after it has been created, see the tag resource operation.
	Tags []Tag `locationName:"tags" type:"list"`

	// Specifies whether your database is restored from the latest backup time.
	// A value of true restores from the latest backup time.
	//
	// Default: false
	//
	// Constraints: Cannot be specified if the restore time parameter is provided.
	UseLatestRestorableTime *bool `locationName:"useLatestRestorableTime" type:"boolean"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseFromSnapshotRequest

func (CreateRelationalDatabaseFromSnapshotInput) GoString added in v0.6.0

GoString returns the string representation

func (CreateRelationalDatabaseFromSnapshotInput) String added in v0.6.0

String returns the string representation

func (*CreateRelationalDatabaseFromSnapshotInput) Validate added in v0.6.0

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

type CreateRelationalDatabaseFromSnapshotOutput added in v0.6.0

type CreateRelationalDatabaseFromSnapshotOutput struct {

	// An object describing the result of your create relational database from snapshot
	// request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseFromSnapshotResult

func (CreateRelationalDatabaseFromSnapshotOutput) GoString added in v0.6.0

GoString returns the string representation

func (CreateRelationalDatabaseFromSnapshotOutput) SDKResponseMetadata added in v0.6.0

SDKResponseMetdata return sthe response metadata for the API.

func (CreateRelationalDatabaseFromSnapshotOutput) String added in v0.6.0

String returns the string representation

type CreateRelationalDatabaseFromSnapshotRequest added in v0.6.0

CreateRelationalDatabaseFromSnapshotRequest is a API request type for the CreateRelationalDatabaseFromSnapshot API operation.

func (CreateRelationalDatabaseFromSnapshotRequest) Send added in v0.6.0

Send marshals and sends the CreateRelationalDatabaseFromSnapshot API request.

type CreateRelationalDatabaseInput added in v0.6.0

type CreateRelationalDatabaseInput struct {

	// The Availability Zone in which to create your new database. Use the us-east-2a
	// case-sensitive format.
	//
	// You can get a list of Availability Zones by using the get regions operation.
	// Be sure to add the include relational database Availability Zones parameter
	// to your request.
	AvailabilityZone *string `locationName:"availabilityZone" type:"string"`

	// The name of the master database created when the Lightsail database resource
	// is created.
	//
	// Constraints:
	//
	//    * Must contain from 1 to 64 alphanumeric characters.
	//
	//    * Cannot be a word reserved by the specified database engine
	//
	// MasterDatabaseName is a required field
	MasterDatabaseName *string `locationName:"masterDatabaseName" type:"string" required:"true"`

	// The password for the master user of your new database. The password can include
	// any printable ASCII character except "/", """, or "@".
	//
	// Constraints: Must contain 8 to 41 characters.
	MasterUserPassword *string `locationName:"masterUserPassword" type:"string"`

	// The master user name for your new database.
	//
	// Constraints:
	//
	//    * Master user name is required.
	//
	//    * Must contain from 1 to 16 alphanumeric characters.
	//
	//    * The first character must be a letter.
	//
	//    * Cannot be a reserved word for the database engine you choose.
	//
	// For more information about reserved words in MySQL 5.6 or 5.7, see the Keywords
	//    and Reserved Words articles for MySQL 5.6 (https://dev.mysql.com/doc/refman/5.6/en/keywords.html)
	//    or MySQL 5.7 (https://dev.mysql.com/doc/refman/5.7/en/keywords.html) respectively.
	//
	// MasterUsername is a required field
	MasterUsername *string `locationName:"masterUsername" type:"string" required:"true"`

	// The daily time range during which automated backups are created for your
	// new database if automated backups are enabled.
	//
	// The default is a 30-minute window selected at random from an 8-hour block
	// of time for each AWS Region. For more information about the preferred backup
	// window time blocks for each region, see the Working With Backups (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow)
	// guide in the Amazon Relational Database Service (Amazon RDS) documentation.
	//
	// Constraints:
	//
	//    * Must be in the hh24:mi-hh24:mi format.
	//
	// Example: 16:00-16:30
	//
	//    * Specified in Universal Coordinated Time (UTC).
	//
	//    * Must not conflict with the preferred maintenance window.
	//
	//    * Must be at least 30 minutes.
	PreferredBackupWindow *string `locationName:"preferredBackupWindow" type:"string"`

	// The weekly time range during which system maintenance can occur on your new
	// database.
	//
	// The default is a 30-minute window selected at random from an 8-hour block
	// of time for each AWS Region, occurring on a random day of the week.
	//
	// Constraints:
	//
	//    * Must be in the ddd:hh24:mi-ddd:hh24:mi format.
	//
	//    * Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
	//
	//    * Must be at least 30 minutes.
	//
	//    * Specified in Universal Coordinated Time (UTC).
	//
	//    * Example: Tue:17:00-Tue:17:30
	PreferredMaintenanceWindow *string `locationName:"preferredMaintenanceWindow" type:"string"`

	// Specifies the accessibility options for your new database. A value of true
	// specifies a database that is available to resources outside of your Lightsail
	// account. A value of false specifies a database that is available only to
	// your Lightsail resources in the same region as your database.
	PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"`

	// The blueprint ID for your new database. A blueprint describes the major engine
	// version of a database.
	//
	// You can get a list of database blueprints IDs by using the get relational
	// database blueprints operation.
	//
	// RelationalDatabaseBlueprintId is a required field
	RelationalDatabaseBlueprintId *string `locationName:"relationalDatabaseBlueprintId" type:"string" required:"true"`

	// The bundle ID for your new database. A bundle describes the performance specifications
	// for your database.
	//
	// You can get a list of database bundle IDs by using the get relational database
	// bundles operation.
	//
	// RelationalDatabaseBundleId is a required field
	RelationalDatabaseBundleId *string `locationName:"relationalDatabaseBundleId" type:"string" required:"true"`

	// The name to use for your new database.
	//
	// Constraints:
	//
	//    * Must contain from 2 to 255 alphanumeric characters, or hyphens.
	//
	//    * The first and last character must be a letter or number.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`

	// The tag keys and optional values to add to the resource during create.
	//
	// To tag a resource after it has been created, see the tag resource operation.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseRequest

func (CreateRelationalDatabaseInput) GoString added in v0.6.0

GoString returns the string representation

func (CreateRelationalDatabaseInput) String added in v0.6.0

String returns the string representation

func (*CreateRelationalDatabaseInput) Validate added in v0.6.0

func (s *CreateRelationalDatabaseInput) Validate() error

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

type CreateRelationalDatabaseOutput added in v0.6.0

type CreateRelationalDatabaseOutput struct {

	// An object describing the result of your create relational database request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseResult

func (CreateRelationalDatabaseOutput) GoString added in v0.6.0

GoString returns the string representation

func (CreateRelationalDatabaseOutput) SDKResponseMetadata added in v0.6.0

func (s CreateRelationalDatabaseOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateRelationalDatabaseOutput) String added in v0.6.0

String returns the string representation

type CreateRelationalDatabaseRequest added in v0.6.0

type CreateRelationalDatabaseRequest struct {
	*aws.Request
	Input *CreateRelationalDatabaseInput
	Copy  func(*CreateRelationalDatabaseInput) CreateRelationalDatabaseRequest
}

CreateRelationalDatabaseRequest is a API request type for the CreateRelationalDatabase API operation.

func (CreateRelationalDatabaseRequest) Send added in v0.6.0

Send marshals and sends the CreateRelationalDatabase API request.

type CreateRelationalDatabaseSnapshotInput added in v0.6.0

type CreateRelationalDatabaseSnapshotInput struct {

	// The name of the database on which to base your new snapshot.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`

	// The name for your new database snapshot.
	//
	// Constraints:
	//
	//    * Must contain from 2 to 255 alphanumeric characters, or hyphens.
	//
	//    * The first and last character must be a letter or number.
	//
	// RelationalDatabaseSnapshotName is a required field
	RelationalDatabaseSnapshotName *string `locationName:"relationalDatabaseSnapshotName" type:"string" required:"true"`

	// The tag keys and optional values to add to the resource during create.
	//
	// To tag a resource after it has been created, see the tag resource operation.
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseSnapshotRequest

func (CreateRelationalDatabaseSnapshotInput) GoString added in v0.6.0

GoString returns the string representation

func (CreateRelationalDatabaseSnapshotInput) String added in v0.6.0

String returns the string representation

func (*CreateRelationalDatabaseSnapshotInput) Validate added in v0.6.0

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

type CreateRelationalDatabaseSnapshotOutput added in v0.6.0

type CreateRelationalDatabaseSnapshotOutput struct {

	// An object describing the result of your create relational database snapshot
	// request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseSnapshotResult

func (CreateRelationalDatabaseSnapshotOutput) GoString added in v0.6.0

GoString returns the string representation

func (CreateRelationalDatabaseSnapshotOutput) SDKResponseMetadata added in v0.6.0

func (s CreateRelationalDatabaseSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateRelationalDatabaseSnapshotOutput) String added in v0.6.0

String returns the string representation

type CreateRelationalDatabaseSnapshotRequest added in v0.6.0

type CreateRelationalDatabaseSnapshotRequest struct {
	*aws.Request
	Input *CreateRelationalDatabaseSnapshotInput
	Copy  func(*CreateRelationalDatabaseSnapshotInput) CreateRelationalDatabaseSnapshotRequest
}

CreateRelationalDatabaseSnapshotRequest is a API request type for the CreateRelationalDatabaseSnapshot API operation.

func (CreateRelationalDatabaseSnapshotRequest) Send added in v0.6.0

Send marshals and sends the CreateRelationalDatabaseSnapshot API request.

type DeleteDiskInput added in v0.2.0

type DeleteDiskInput struct {

	// The unique name of the disk you want to delete (e.g., my-disk).
	//
	// DiskName is a required field
	DiskName *string `locationName:"diskName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskRequest

func (DeleteDiskInput) GoString added in v0.2.0

func (s DeleteDiskInput) GoString() string

GoString returns the string representation

func (DeleteDiskInput) String added in v0.2.0

func (s DeleteDiskInput) String() string

String returns the string representation

func (*DeleteDiskInput) Validate added in v0.2.0

func (s *DeleteDiskInput) Validate() error

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

type DeleteDiskOutput added in v0.2.0

type DeleteDiskOutput struct {

	// An object describing the API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskResult

func (DeleteDiskOutput) GoString added in v0.2.0

func (s DeleteDiskOutput) GoString() string

GoString returns the string representation

func (DeleteDiskOutput) SDKResponseMetadata added in v0.2.0

func (s DeleteDiskOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteDiskOutput) String added in v0.2.0

func (s DeleteDiskOutput) String() string

String returns the string representation

type DeleteDiskRequest added in v0.2.0

type DeleteDiskRequest struct {
	*aws.Request
	Input *DeleteDiskInput
	Copy  func(*DeleteDiskInput) DeleteDiskRequest
}

DeleteDiskRequest is a API request type for the DeleteDisk API operation.

func (DeleteDiskRequest) Send added in v0.2.0

Send marshals and sends the DeleteDisk API request.

type DeleteDiskSnapshotInput added in v0.2.0

type DeleteDiskSnapshotInput struct {

	// The name of the disk snapshot you want to delete (e.g., my-disk-snapshot).
	//
	// DiskSnapshotName is a required field
	DiskSnapshotName *string `locationName:"diskSnapshotName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskSnapshotRequest

func (DeleteDiskSnapshotInput) GoString added in v0.2.0

func (s DeleteDiskSnapshotInput) GoString() string

GoString returns the string representation

func (DeleteDiskSnapshotInput) String added in v0.2.0

func (s DeleteDiskSnapshotInput) String() string

String returns the string representation

func (*DeleteDiskSnapshotInput) Validate added in v0.2.0

func (s *DeleteDiskSnapshotInput) Validate() error

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

type DeleteDiskSnapshotOutput added in v0.2.0

type DeleteDiskSnapshotOutput struct {

	// An object describing the API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskSnapshotResult

func (DeleteDiskSnapshotOutput) GoString added in v0.2.0

func (s DeleteDiskSnapshotOutput) GoString() string

GoString returns the string representation

func (DeleteDiskSnapshotOutput) SDKResponseMetadata added in v0.2.0

func (s DeleteDiskSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteDiskSnapshotOutput) String added in v0.2.0

func (s DeleteDiskSnapshotOutput) String() string

String returns the string representation

type DeleteDiskSnapshotRequest added in v0.2.0

type DeleteDiskSnapshotRequest struct {
	*aws.Request
	Input *DeleteDiskSnapshotInput
	Copy  func(*DeleteDiskSnapshotInput) DeleteDiskSnapshotRequest
}

DeleteDiskSnapshotRequest is a API request type for the DeleteDiskSnapshot API operation.

func (DeleteDiskSnapshotRequest) Send added in v0.2.0

Send marshals and sends the DeleteDiskSnapshot API request.

type DeleteDomainEntryInput

type DeleteDomainEntryInput struct {

	// An array of key-value pairs containing information about your domain entries.
	//
	// DomainEntry is a required field
	DomainEntry *DomainEntry `locationName:"domainEntry" type:"structure" required:"true"`

	// The name of the domain entry to delete.
	//
	// DomainName is a required field
	DomainName *string `locationName:"domainName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntryRequest

func (DeleteDomainEntryInput) GoString

func (s DeleteDomainEntryInput) GoString() string

GoString returns the string representation

func (DeleteDomainEntryInput) String

func (s DeleteDomainEntryInput) String() string

String returns the string representation

func (*DeleteDomainEntryInput) Validate

func (s *DeleteDomainEntryInput) Validate() error

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

type DeleteDomainEntryOutput

type DeleteDomainEntryOutput struct {

	// An array of key-value pairs containing information about the results of your
	// delete domain entry request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntryResult

func (DeleteDomainEntryOutput) GoString

func (s DeleteDomainEntryOutput) GoString() string

GoString returns the string representation

func (DeleteDomainEntryOutput) SDKResponseMetadata

func (s DeleteDomainEntryOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteDomainEntryOutput) String

func (s DeleteDomainEntryOutput) String() string

String returns the string representation

type DeleteDomainEntryRequest

type DeleteDomainEntryRequest struct {
	*aws.Request
	Input *DeleteDomainEntryInput
	Copy  func(*DeleteDomainEntryInput) DeleteDomainEntryRequest
}

DeleteDomainEntryRequest is a API request type for the DeleteDomainEntry API operation.

func (DeleteDomainEntryRequest) Send

Send marshals and sends the DeleteDomainEntry API request.

type DeleteDomainInput

type DeleteDomainInput struct {

	// The specific domain name to delete.
	//
	// DomainName is a required field
	DomainName *string `locationName:"domainName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainRequest

func (DeleteDomainInput) GoString

func (s DeleteDomainInput) GoString() string

GoString returns the string representation

func (DeleteDomainInput) String

func (s DeleteDomainInput) String() string

String returns the string representation

func (*DeleteDomainInput) Validate

func (s *DeleteDomainInput) Validate() error

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

type DeleteDomainOutput

type DeleteDomainOutput struct {

	// An array of key-value pairs containing information about the results of your
	// delete domain request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainResult

func (DeleteDomainOutput) GoString

func (s DeleteDomainOutput) GoString() string

GoString returns the string representation

func (DeleteDomainOutput) SDKResponseMetadata

func (s DeleteDomainOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteDomainOutput) String

func (s DeleteDomainOutput) String() string

String returns the string representation

type DeleteDomainRequest

type DeleteDomainRequest struct {
	*aws.Request
	Input *DeleteDomainInput
	Copy  func(*DeleteDomainInput) DeleteDomainRequest
}

DeleteDomainRequest is a API request type for the DeleteDomain API operation.

func (DeleteDomainRequest) Send

Send marshals and sends the DeleteDomain API request.

type DeleteInstanceInput

type DeleteInstanceInput struct {

	// The name of the instance to delete.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceRequest

func (DeleteInstanceInput) GoString

func (s DeleteInstanceInput) GoString() string

GoString returns the string representation

func (DeleteInstanceInput) String

func (s DeleteInstanceInput) String() string

String returns the string representation

func (*DeleteInstanceInput) Validate

func (s *DeleteInstanceInput) Validate() error

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

type DeleteInstanceOutput

type DeleteInstanceOutput struct {

	// An array of key-value pairs containing information about the results of your
	// delete instance request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceResult

func (DeleteInstanceOutput) GoString

func (s DeleteInstanceOutput) GoString() string

GoString returns the string representation

func (DeleteInstanceOutput) SDKResponseMetadata

func (s DeleteInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteInstanceOutput) String

func (s DeleteInstanceOutput) String() string

String returns the string representation

type DeleteInstanceRequest

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

DeleteInstanceRequest is a API request type for the DeleteInstance API operation.

func (DeleteInstanceRequest) Send

Send marshals and sends the DeleteInstance API request.

type DeleteInstanceSnapshotInput

type DeleteInstanceSnapshotInput struct {

	// The name of the snapshot to delete.
	//
	// InstanceSnapshotName is a required field
	InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshotRequest

func (DeleteInstanceSnapshotInput) GoString

func (s DeleteInstanceSnapshotInput) GoString() string

GoString returns the string representation

func (DeleteInstanceSnapshotInput) String

String returns the string representation

func (*DeleteInstanceSnapshotInput) Validate

func (s *DeleteInstanceSnapshotInput) Validate() error

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

type DeleteInstanceSnapshotOutput

type DeleteInstanceSnapshotOutput struct {

	// An array of key-value pairs containing information about the results of your
	// delete instance snapshot request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshotResult

func (DeleteInstanceSnapshotOutput) GoString

func (s DeleteInstanceSnapshotOutput) GoString() string

GoString returns the string representation

func (DeleteInstanceSnapshotOutput) SDKResponseMetadata

func (s DeleteInstanceSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteInstanceSnapshotOutput) String

String returns the string representation

type DeleteInstanceSnapshotRequest

type DeleteInstanceSnapshotRequest struct {
	*aws.Request
	Input *DeleteInstanceSnapshotInput
	Copy  func(*DeleteInstanceSnapshotInput) DeleteInstanceSnapshotRequest
}

DeleteInstanceSnapshotRequest is a API request type for the DeleteInstanceSnapshot API operation.

func (DeleteInstanceSnapshotRequest) Send

Send marshals and sends the DeleteInstanceSnapshot API request.

type DeleteKeyPairInput

type DeleteKeyPairInput struct {

	// The name of the key pair to delete.
	//
	// KeyPairName is a required field
	KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPairRequest

func (DeleteKeyPairInput) GoString

func (s DeleteKeyPairInput) GoString() string

GoString returns the string representation

func (DeleteKeyPairInput) String

func (s DeleteKeyPairInput) String() string

String returns the string representation

func (*DeleteKeyPairInput) Validate

func (s *DeleteKeyPairInput) Validate() error

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

type DeleteKeyPairOutput

type DeleteKeyPairOutput struct {

	// An array of key-value pairs containing information about the results of your
	// delete key pair request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPairResult

func (DeleteKeyPairOutput) GoString

func (s DeleteKeyPairOutput) GoString() string

GoString returns the string representation

func (DeleteKeyPairOutput) SDKResponseMetadata

func (s DeleteKeyPairOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteKeyPairOutput) String

func (s DeleteKeyPairOutput) String() string

String returns the string representation

type DeleteKeyPairRequest

type DeleteKeyPairRequest struct {
	*aws.Request
	Input *DeleteKeyPairInput
	Copy  func(*DeleteKeyPairInput) DeleteKeyPairRequest
}

DeleteKeyPairRequest is a API request type for the DeleteKeyPair API operation.

func (DeleteKeyPairRequest) Send

Send marshals and sends the DeleteKeyPair API request.

type DeleteLoadBalancerInput added in v0.2.0

type DeleteLoadBalancerInput struct {

	// The name of the load balancer you want to delete.
	//
	// LoadBalancerName is a required field
	LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerRequest

func (DeleteLoadBalancerInput) GoString added in v0.2.0

func (s DeleteLoadBalancerInput) GoString() string

GoString returns the string representation

func (DeleteLoadBalancerInput) String added in v0.2.0

func (s DeleteLoadBalancerInput) String() string

String returns the string representation

func (*DeleteLoadBalancerInput) Validate added in v0.2.0

func (s *DeleteLoadBalancerInput) Validate() error

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

type DeleteLoadBalancerOutput added in v0.2.0

type DeleteLoadBalancerOutput struct {

	// An object describing the API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerResult

func (DeleteLoadBalancerOutput) GoString added in v0.2.0

func (s DeleteLoadBalancerOutput) GoString() string

GoString returns the string representation

func (DeleteLoadBalancerOutput) SDKResponseMetadata added in v0.2.0

func (s DeleteLoadBalancerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteLoadBalancerOutput) String added in v0.2.0

func (s DeleteLoadBalancerOutput) String() string

String returns the string representation

type DeleteLoadBalancerRequest added in v0.2.0

type DeleteLoadBalancerRequest struct {
	*aws.Request
	Input *DeleteLoadBalancerInput
	Copy  func(*DeleteLoadBalancerInput) DeleteLoadBalancerRequest
}

DeleteLoadBalancerRequest is a API request type for the DeleteLoadBalancer API operation.

func (DeleteLoadBalancerRequest) Send added in v0.2.0

Send marshals and sends the DeleteLoadBalancer API request.

type DeleteLoadBalancerTlsCertificateInput added in v0.2.0

type DeleteLoadBalancerTlsCertificateInput struct {

	// The SSL/TLS certificate name.
	//
	// CertificateName is a required field
	CertificateName *string `locationName:"certificateName" type:"string" required:"true"`

	// When true, forces the deletion of an SSL/TLS certificate.
	//
	// There can be two certificates associated with a Lightsail load balancer:
	// the primary and the backup. The force parameter is required when the primary
	// SSL/TLS certificate is in use by an instance attached to the load balancer.
	Force *bool `locationName:"force" type:"boolean"`

	// The load balancer name.
	//
	// LoadBalancerName is a required field
	LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerTlsCertificateRequest

func (DeleteLoadBalancerTlsCertificateInput) GoString added in v0.2.0

GoString returns the string representation

func (DeleteLoadBalancerTlsCertificateInput) String added in v0.2.0

String returns the string representation

func (*DeleteLoadBalancerTlsCertificateInput) Validate added in v0.2.0

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

type DeleteLoadBalancerTlsCertificateOutput added in v0.2.0

type DeleteLoadBalancerTlsCertificateOutput struct {

	// An object describing the API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerTlsCertificateResult

func (DeleteLoadBalancerTlsCertificateOutput) GoString added in v0.2.0

GoString returns the string representation

func (DeleteLoadBalancerTlsCertificateOutput) SDKResponseMetadata added in v0.2.0

func (s DeleteLoadBalancerTlsCertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteLoadBalancerTlsCertificateOutput) String added in v0.2.0

String returns the string representation

type DeleteLoadBalancerTlsCertificateRequest added in v0.2.0

type DeleteLoadBalancerTlsCertificateRequest struct {
	*aws.Request
	Input *DeleteLoadBalancerTlsCertificateInput
	Copy  func(*DeleteLoadBalancerTlsCertificateInput) DeleteLoadBalancerTlsCertificateRequest
}

DeleteLoadBalancerTlsCertificateRequest is a API request type for the DeleteLoadBalancerTlsCertificate API operation.

func (DeleteLoadBalancerTlsCertificateRequest) Send added in v0.2.0

Send marshals and sends the DeleteLoadBalancerTlsCertificate API request.

type DeleteRelationalDatabaseInput added in v0.6.0

type DeleteRelationalDatabaseInput struct {

	// The name of the database snapshot created if skip final snapshot is false,
	// which is the default value for that parameter.
	//
	// Specifying this parameter and also specifying the skip final snapshot parameter
	// to true results in an error.
	//
	// Constraints:
	//
	//    * Must contain from 2 to 255 alphanumeric characters, or hyphens.
	//
	//    * The first and last character must be a letter or number.
	FinalRelationalDatabaseSnapshotName *string `locationName:"finalRelationalDatabaseSnapshotName" type:"string"`

	// The name of the database that you are deleting.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`

	// Determines whether a final database snapshot is created before your database
	// is deleted. If true is specified, no database snapshot is created. If false
	// is specified, a database snapshot is created before your database is deleted.
	//
	// You must specify the final relational database snapshot name parameter if
	// the skip final snapshot parameter is false.
	//
	// Default: false
	SkipFinalSnapshot *bool `locationName:"skipFinalSnapshot" type:"boolean"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteRelationalDatabaseRequest

func (DeleteRelationalDatabaseInput) GoString added in v0.6.0

GoString returns the string representation

func (DeleteRelationalDatabaseInput) String added in v0.6.0

String returns the string representation

func (*DeleteRelationalDatabaseInput) Validate added in v0.6.0

func (s *DeleteRelationalDatabaseInput) Validate() error

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

type DeleteRelationalDatabaseOutput added in v0.6.0

type DeleteRelationalDatabaseOutput struct {

	// An object describing the result of your delete relational database request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteRelationalDatabaseResult

func (DeleteRelationalDatabaseOutput) GoString added in v0.6.0

GoString returns the string representation

func (DeleteRelationalDatabaseOutput) SDKResponseMetadata added in v0.6.0

func (s DeleteRelationalDatabaseOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteRelationalDatabaseOutput) String added in v0.6.0

String returns the string representation

type DeleteRelationalDatabaseRequest added in v0.6.0

type DeleteRelationalDatabaseRequest struct {
	*aws.Request
	Input *DeleteRelationalDatabaseInput
	Copy  func(*DeleteRelationalDatabaseInput) DeleteRelationalDatabaseRequest
}

DeleteRelationalDatabaseRequest is a API request type for the DeleteRelationalDatabase API operation.

func (DeleteRelationalDatabaseRequest) Send added in v0.6.0

Send marshals and sends the DeleteRelationalDatabase API request.

type DeleteRelationalDatabaseSnapshotInput added in v0.6.0

type DeleteRelationalDatabaseSnapshotInput struct {

	// The name of the database snapshot that you are deleting.
	//
	// RelationalDatabaseSnapshotName is a required field
	RelationalDatabaseSnapshotName *string `locationName:"relationalDatabaseSnapshotName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteRelationalDatabaseSnapshotRequest

func (DeleteRelationalDatabaseSnapshotInput) GoString added in v0.6.0

GoString returns the string representation

func (DeleteRelationalDatabaseSnapshotInput) String added in v0.6.0

String returns the string representation

func (*DeleteRelationalDatabaseSnapshotInput) Validate added in v0.6.0

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

type DeleteRelationalDatabaseSnapshotOutput added in v0.6.0

type DeleteRelationalDatabaseSnapshotOutput struct {

	// An object describing the result of your delete relational database snapshot
	// request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteRelationalDatabaseSnapshotResult

func (DeleteRelationalDatabaseSnapshotOutput) GoString added in v0.6.0

GoString returns the string representation

func (DeleteRelationalDatabaseSnapshotOutput) SDKResponseMetadata added in v0.6.0

func (s DeleteRelationalDatabaseSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteRelationalDatabaseSnapshotOutput) String added in v0.6.0

String returns the string representation

type DeleteRelationalDatabaseSnapshotRequest added in v0.6.0

type DeleteRelationalDatabaseSnapshotRequest struct {
	*aws.Request
	Input *DeleteRelationalDatabaseSnapshotInput
	Copy  func(*DeleteRelationalDatabaseSnapshotInput) DeleteRelationalDatabaseSnapshotRequest
}

DeleteRelationalDatabaseSnapshotRequest is a API request type for the DeleteRelationalDatabaseSnapshot API operation.

func (DeleteRelationalDatabaseSnapshotRequest) Send added in v0.6.0

Send marshals and sends the DeleteRelationalDatabaseSnapshot API request.

type DestinationInfo added in v0.6.0

type DestinationInfo struct {

	// The ID of the resource created at the destination.
	Id *string `locationName:"id" type:"string"`

	// The destination service of the record.
	Service *string `locationName:"service" type:"string"`
	// contains filtered or unexported fields
}

Describes the destination of a record. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DestinationInfo

func (DestinationInfo) GoString added in v0.6.0

func (s DestinationInfo) GoString() string

GoString returns the string representation

func (DestinationInfo) String added in v0.6.0

func (s DestinationInfo) String() string

String returns the string representation

type DetachDiskInput added in v0.2.0

type DetachDiskInput struct {

	// The unique name of the disk you want to detach from your instance (e.g.,
	// my-disk).
	//
	// DiskName is a required field
	DiskName *string `locationName:"diskName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachDiskRequest

func (DetachDiskInput) GoString added in v0.2.0

func (s DetachDiskInput) GoString() string

GoString returns the string representation

func (DetachDiskInput) String added in v0.2.0

func (s DetachDiskInput) String() string

String returns the string representation

func (*DetachDiskInput) Validate added in v0.2.0

func (s *DetachDiskInput) Validate() error

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

type DetachDiskOutput added in v0.2.0

type DetachDiskOutput struct {

	// An object describing the API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachDiskResult

func (DetachDiskOutput) GoString added in v0.2.0

func (s DetachDiskOutput) GoString() string

GoString returns the string representation

func (DetachDiskOutput) SDKResponseMetadata added in v0.2.0

func (s DetachDiskOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DetachDiskOutput) String added in v0.2.0

func (s DetachDiskOutput) String() string

String returns the string representation

type DetachDiskRequest added in v0.2.0

type DetachDiskRequest struct {
	*aws.Request
	Input *DetachDiskInput
	Copy  func(*DetachDiskInput) DetachDiskRequest
}

DetachDiskRequest is a API request type for the DetachDisk API operation.

func (DetachDiskRequest) Send added in v0.2.0

Send marshals and sends the DetachDisk API request.

type DetachInstancesFromLoadBalancerInput added in v0.2.0

type DetachInstancesFromLoadBalancerInput struct {

	// An array of strings containing the names of the instances you want to detach
	// from the load balancer.
	//
	// InstanceNames is a required field
	InstanceNames []string `locationName:"instanceNames" type:"list" required:"true"`

	// The name of the Lightsail load balancer.
	//
	// LoadBalancerName is a required field
	LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachInstancesFromLoadBalancerRequest

func (DetachInstancesFromLoadBalancerInput) GoString added in v0.2.0

GoString returns the string representation

func (DetachInstancesFromLoadBalancerInput) String added in v0.2.0

String returns the string representation

func (*DetachInstancesFromLoadBalancerInput) Validate added in v0.2.0

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

type DetachInstancesFromLoadBalancerOutput added in v0.2.0

type DetachInstancesFromLoadBalancerOutput struct {

	// An object describing the API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachInstancesFromLoadBalancerResult

func (DetachInstancesFromLoadBalancerOutput) GoString added in v0.2.0

GoString returns the string representation

func (DetachInstancesFromLoadBalancerOutput) SDKResponseMetadata added in v0.2.0

func (s DetachInstancesFromLoadBalancerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DetachInstancesFromLoadBalancerOutput) String added in v0.2.0

String returns the string representation

type DetachInstancesFromLoadBalancerRequest added in v0.2.0

type DetachInstancesFromLoadBalancerRequest struct {
	*aws.Request
	Input *DetachInstancesFromLoadBalancerInput
	Copy  func(*DetachInstancesFromLoadBalancerInput) DetachInstancesFromLoadBalancerRequest
}

DetachInstancesFromLoadBalancerRequest is a API request type for the DetachInstancesFromLoadBalancer API operation.

func (DetachInstancesFromLoadBalancerRequest) Send added in v0.2.0

Send marshals and sends the DetachInstancesFromLoadBalancer API request.

type DetachStaticIpInput

type DetachStaticIpInput struct {

	// The name of the static IP to detach from the instance.
	//
	// StaticIpName is a required field
	StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIpRequest

func (DetachStaticIpInput) GoString

func (s DetachStaticIpInput) GoString() string

GoString returns the string representation

func (DetachStaticIpInput) String

func (s DetachStaticIpInput) String() string

String returns the string representation

func (*DetachStaticIpInput) Validate

func (s *DetachStaticIpInput) Validate() error

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

type DetachStaticIpOutput

type DetachStaticIpOutput struct {

	// An array of key-value pairs containing information about the results of your
	// detach static IP request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIpResult

func (DetachStaticIpOutput) GoString

func (s DetachStaticIpOutput) GoString() string

GoString returns the string representation

func (DetachStaticIpOutput) SDKResponseMetadata

func (s DetachStaticIpOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DetachStaticIpOutput) String

func (s DetachStaticIpOutput) String() string

String returns the string representation

type DetachStaticIpRequest

type DetachStaticIpRequest struct {
	*aws.Request
	Input *DetachStaticIpInput
	Copy  func(*DetachStaticIpInput) DetachStaticIpRequest
}

DetachStaticIpRequest is a API request type for the DetachStaticIp API operation.

func (DetachStaticIpRequest) Send

Send marshals and sends the DetachStaticIp API request.

type Disk

type Disk struct {

	// The Amazon Resource Name (ARN) of the disk.
	Arn *string `locationName:"arn" type:"string"`

	// The resources to which the disk is attached.
	AttachedTo *string `locationName:"attachedTo" type:"string"`

	// (Deprecated) The attachment state of the disk.
	//
	// In releases prior to November 14, 2017, this parameter returned attached
	// for system disks in the API response. It is now deprecated, but still included
	// in the response. Use isAttached instead.
	AttachmentState *string `locationName:"attachmentState" deprecated:"true" type:"string"`

	// The date when the disk was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// (Deprecated) The number of GB in use by the disk.
	//
	// In releases prior to November 14, 2017, this parameter was not included in
	// the API response. It is now deprecated.
	GbInUse *int64 `locationName:"gbInUse" deprecated:"true" type:"integer"`

	// The input/output operations per second (IOPS) of the disk.
	Iops *int64 `locationName:"iops" type:"integer"`

	// A Boolean value indicating whether the disk is attached.
	IsAttached *bool `locationName:"isAttached" type:"boolean"`

	// A Boolean value indicating whether this disk is a system disk (has an operating
	// system loaded on it).
	IsSystemDisk *bool `locationName:"isSystemDisk" type:"boolean"`

	// The AWS Region and Availability Zone where the disk is located.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The unique name of the disk.
	Name *string `locationName:"name" type:"string"`

	// The disk path.
	Path *string `locationName:"path" type:"string"`

	// The Lightsail resource type (e.g., Disk).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The size of the disk in GB.
	SizeInGb *int64 `locationName:"sizeInGb" type:"integer"`

	// Describes the status of the disk.
	State DiskState `locationName:"state" type:"string" enum:"true"`

	// The support code. Include this code in your email to support when you have
	// questions about an instance or another resource in Lightsail. This code enables
	// our support team to look up your Lightsail information more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Describes a system disk or an block storage disk. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Disk

func (Disk) GoString

func (s Disk) GoString() string

GoString returns the string representation

func (Disk) String

func (s Disk) String() string

String returns the string representation

type DiskInfo added in v0.6.0

type DiskInfo struct {

	// A Boolean value indicating whether this disk is a system disk (has an operating
	// system loaded on it).
	IsSystemDisk *bool `locationName:"isSystemDisk" type:"boolean"`

	// The disk name.
	Name *string `locationName:"name" type:"string"`

	// The disk path.
	Path *string `locationName:"path" type:"string"`

	// The size of the disk in GB (e.g., 32).
	SizeInGb *int64 `locationName:"sizeInGb" type:"integer"`
	// contains filtered or unexported fields
}

Describes a disk. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskInfo

func (DiskInfo) GoString added in v0.6.0

func (s DiskInfo) GoString() string

GoString returns the string representation

func (DiskInfo) String added in v0.6.0

func (s DiskInfo) String() string

String returns the string representation

type DiskMap added in v0.2.0

type DiskMap struct {

	// The new disk name (e.g., my-new-disk).
	NewDiskName *string `locationName:"newDiskName" type:"string"`

	// The original disk path exposed to the instance (for example, /dev/sdh).
	OriginalDiskPath *string `locationName:"originalDiskPath" type:"string"`
	// contains filtered or unexported fields
}

Describes a block storage disk mapping. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskMap

func (DiskMap) GoString added in v0.2.0

func (s DiskMap) GoString() string

GoString returns the string representation

func (DiskMap) String added in v0.2.0

func (s DiskMap) String() string

String returns the string representation

type DiskSnapshot added in v0.2.0

type DiskSnapshot struct {

	// The Amazon Resource Name (ARN) of the disk snapshot.
	Arn *string `locationName:"arn" type:"string"`

	// The date when the disk snapshot was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The Amazon Resource Name (ARN) of the source disk from which you are creating
	// the disk snapshot.
	FromDiskArn *string `locationName:"fromDiskArn" type:"string"`

	// The unique name of the source disk from which you are creating the disk snapshot.
	FromDiskName *string `locationName:"fromDiskName" type:"string"`

	// The AWS Region and Availability Zone where the disk snapshot was created.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the disk snapshot (e.g., my-disk-snapshot).
	Name *string `locationName:"name" type:"string"`

	// The progress of the disk snapshot operation.
	Progress *string `locationName:"progress" type:"string"`

	// The Lightsail resource type (e.g., DiskSnapshot).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The size of the disk in GB.
	SizeInGb *int64 `locationName:"sizeInGb" type:"integer"`

	// The status of the disk snapshot operation.
	State DiskSnapshotState `locationName:"state" type:"string" enum:"true"`

	// The support code. Include this code in your email to support when you have
	// questions about an instance or another resource in Lightsail. This code enables
	// our support team to look up your Lightsail information more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Describes a block storage disk snapshot. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskSnapshot

func (DiskSnapshot) GoString added in v0.2.0

func (s DiskSnapshot) GoString() string

GoString returns the string representation

func (DiskSnapshot) String added in v0.2.0

func (s DiskSnapshot) String() string

String returns the string representation

type DiskSnapshotInfo added in v0.6.0

type DiskSnapshotInfo struct {

	// The size of the disk in GB (e.g., 32).
	SizeInGb *int64 `locationName:"sizeInGb" type:"integer"`
	// contains filtered or unexported fields
}

Describes a disk snapshot. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskSnapshotInfo

func (DiskSnapshotInfo) GoString added in v0.6.0

func (s DiskSnapshotInfo) GoString() string

GoString returns the string representation

func (DiskSnapshotInfo) String added in v0.6.0

func (s DiskSnapshotInfo) String() string

String returns the string representation

type DiskSnapshotState added in v0.2.0

type DiskSnapshotState string
const (
	DiskSnapshotStatePending   DiskSnapshotState = "pending"
	DiskSnapshotStateCompleted DiskSnapshotState = "completed"
	DiskSnapshotStateError     DiskSnapshotState = "error"
	DiskSnapshotStateUnknown   DiskSnapshotState = "unknown"
)

Enum values for DiskSnapshotState

func (DiskSnapshotState) MarshalValue added in v0.3.0

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

func (DiskSnapshotState) MarshalValueBuf added in v0.3.0

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

type DiskState added in v0.2.0

type DiskState string
const (
	DiskStatePending   DiskState = "pending"
	DiskStateError     DiskState = "error"
	DiskStateAvailable DiskState = "available"
	DiskStateInUse     DiskState = "in-use"
	DiskStateUnknown   DiskState = "unknown"
)

Enum values for DiskState

func (DiskState) MarshalValue added in v0.3.0

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

func (DiskState) MarshalValueBuf added in v0.3.0

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

type Domain

type Domain struct {

	// The Amazon Resource Name (ARN) of the domain recordset (e.g., arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE).
	Arn *string `locationName:"arn" type:"string"`

	// The date when the domain recordset was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// An array of key-value pairs containing information about the domain entries.
	DomainEntries []DomainEntry `locationName:"domainEntries" type:"list"`

	// The AWS Region and Availability Zones where the domain recordset was created.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the domain.
	Name *string `locationName:"name" type:"string"`

	// The resource type.
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The support code. Include this code in your email to support when you have
	// questions about an instance or another resource in Lightsail. This code enables
	// our support team to look up your Lightsail information more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Describes a domain where you are storing recordsets in Lightsail. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Domain

func (Domain) GoString

func (s Domain) GoString() string

GoString returns the string representation

func (Domain) String

func (s Domain) String() string

String returns the string representation

type DomainEntry

type DomainEntry struct {

	// The ID of the domain recordset entry.
	Id *string `locationName:"id" type:"string"`

	// When true, specifies whether the domain entry is an alias used by the Lightsail
	// load balancer. You can include an alias (A type) record in your request,
	// which points to a load balancer DNS name and routes traffic to your load
	// balancer
	IsAlias *bool `locationName:"isAlias" type:"boolean"`

	// The name of the domain.
	Name *string `locationName:"name" type:"string"`

	// (Deprecated) The options for the domain entry.
	//
	// In releases prior to November 29, 2017, this parameter was not included in
	// the API response. It is now deprecated.
	Options map[string]string `locationName:"options" deprecated:"true" type:"map"`

	// The target AWS name server (e.g., ns-111.awsdns-22.com.).
	//
	// For Lightsail load balancers, the value looks like ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com.
	// Be sure to also set isAlias to true when setting up an A record for a load
	// balancer.
	Target *string `locationName:"target" type:"string"`

	// The type of domain entry (e.g., SOA or NS).
	Type *string `locationName:"type" type:"string"`
	// contains filtered or unexported fields
}

Describes a domain recordset entry. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DomainEntry

func (DomainEntry) GoString

func (s DomainEntry) GoString() string

GoString returns the string representation

func (DomainEntry) String

func (s DomainEntry) String() string

String returns the string representation

type DownloadDefaultKeyPairInput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPairRequest

func (DownloadDefaultKeyPairInput) GoString

func (s DownloadDefaultKeyPairInput) GoString() string

GoString returns the string representation

func (DownloadDefaultKeyPairInput) String

String returns the string representation

type DownloadDefaultKeyPairOutput

type DownloadDefaultKeyPairOutput struct {

	// A base64-encoded RSA private key.
	PrivateKeyBase64 *string `locationName:"privateKeyBase64" type:"string"`

	// A base64-encoded public key of the ssh-rsa type.
	PublicKeyBase64 *string `locationName:"publicKeyBase64" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPairResult

func (DownloadDefaultKeyPairOutput) GoString

func (s DownloadDefaultKeyPairOutput) GoString() string

GoString returns the string representation

func (DownloadDefaultKeyPairOutput) SDKResponseMetadata

func (s DownloadDefaultKeyPairOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DownloadDefaultKeyPairOutput) String

String returns the string representation

type DownloadDefaultKeyPairRequest

type DownloadDefaultKeyPairRequest struct {
	*aws.Request
	Input *DownloadDefaultKeyPairInput
	Copy  func(*DownloadDefaultKeyPairInput) DownloadDefaultKeyPairRequest
}

DownloadDefaultKeyPairRequest is a API request type for the DownloadDefaultKeyPair API operation.

func (DownloadDefaultKeyPairRequest) Send

Send marshals and sends the DownloadDefaultKeyPair API request.

type ExportSnapshotInput added in v0.6.0

type ExportSnapshotInput struct {

	// The name of the instance or disk snapshot to be exported to Amazon EC2.
	//
	// SourceSnapshotName is a required field
	SourceSnapshotName *string `locationName:"sourceSnapshotName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ExportSnapshotRequest

func (ExportSnapshotInput) GoString added in v0.6.0

func (s ExportSnapshotInput) GoString() string

GoString returns the string representation

func (ExportSnapshotInput) String added in v0.6.0

func (s ExportSnapshotInput) String() string

String returns the string representation

func (*ExportSnapshotInput) Validate added in v0.6.0

func (s *ExportSnapshotInput) Validate() error

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

type ExportSnapshotOutput added in v0.6.0

type ExportSnapshotOutput struct {

	// A list of objects describing the API operation.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ExportSnapshotResult

func (ExportSnapshotOutput) GoString added in v0.6.0

func (s ExportSnapshotOutput) GoString() string

GoString returns the string representation

func (ExportSnapshotOutput) SDKResponseMetadata added in v0.6.0

func (s ExportSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ExportSnapshotOutput) String added in v0.6.0

func (s ExportSnapshotOutput) String() string

String returns the string representation

type ExportSnapshotRecord added in v0.6.0

type ExportSnapshotRecord struct {

	// The Amazon Resource Name (ARN) of the export snapshot record.
	Arn *string `locationName:"arn" type:"string"`

	// The date when the export snapshot record was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// A list of objects describing the destination of the export snapshot record.
	DestinationInfo *DestinationInfo `locationName:"destinationInfo" type:"structure"`

	// The AWS Region and Availability Zone where the export snapshot record is
	// located.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The export snapshot record name.
	Name *string `locationName:"name" type:"string"`

	// The Lightsail resource type (e.g., ExportSnapshotRecord).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// A list of objects describing the source of the export snapshot record.
	SourceInfo *ExportSnapshotRecordSourceInfo `locationName:"sourceInfo" type:"structure"`

	// The state of the export snapshot record.
	State RecordState `locationName:"state" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes an export snapshot record. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ExportSnapshotRecord

func (ExportSnapshotRecord) GoString added in v0.6.0

func (s ExportSnapshotRecord) GoString() string

GoString returns the string representation

func (ExportSnapshotRecord) String added in v0.6.0

func (s ExportSnapshotRecord) String() string

String returns the string representation

type ExportSnapshotRecordSourceInfo added in v0.6.0

type ExportSnapshotRecordSourceInfo struct {

	// The Amazon Resource Name (ARN) of the source instance or disk snapshot.
	Arn *string `locationName:"arn" type:"string"`

	// The date when the source instance or disk snapshot was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// A list of objects describing a disk snapshot.
	DiskSnapshotInfo *DiskSnapshotInfo `locationName:"diskSnapshotInfo" type:"structure"`

	// The Amazon Resource Name (ARN) of the snapshot's source instance or disk.
	FromResourceArn *string `locationName:"fromResourceArn" type:"string"`

	// The name of the snapshot's source instance or disk.
	FromResourceName *string `locationName:"fromResourceName" type:"string"`

	// A list of objects describing an instance snapshot.
	InstanceSnapshotInfo *InstanceSnapshotInfo `locationName:"instanceSnapshotInfo" type:"structure"`

	// The name of the source instance or disk snapshot.
	Name *string `locationName:"name" type:"string"`

	// The Lightsail resource type (e.g., InstanceSnapshot or DiskSnapshot).
	ResourceType ExportSnapshotRecordSourceType `locationName:"resourceType" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes the source of an export snapshot record. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ExportSnapshotRecordSourceInfo

func (ExportSnapshotRecordSourceInfo) GoString added in v0.6.0

GoString returns the string representation

func (ExportSnapshotRecordSourceInfo) String added in v0.6.0

String returns the string representation

type ExportSnapshotRecordSourceType added in v0.6.0

type ExportSnapshotRecordSourceType string
const (
	ExportSnapshotRecordSourceTypeInstanceSnapshot ExportSnapshotRecordSourceType = "InstanceSnapshot"
	ExportSnapshotRecordSourceTypeDiskSnapshot     ExportSnapshotRecordSourceType = "DiskSnapshot"
)

Enum values for ExportSnapshotRecordSourceType

func (ExportSnapshotRecordSourceType) MarshalValue added in v0.6.0

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

func (ExportSnapshotRecordSourceType) MarshalValueBuf added in v0.6.0

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

type ExportSnapshotRequest added in v0.6.0

type ExportSnapshotRequest struct {
	*aws.Request
	Input *ExportSnapshotInput
	Copy  func(*ExportSnapshotInput) ExportSnapshotRequest
}

ExportSnapshotRequest is a API request type for the ExportSnapshot API operation.

func (ExportSnapshotRequest) Send added in v0.6.0

Send marshals and sends the ExportSnapshot API request.

type GetActiveNamesInput

type GetActiveNamesInput struct {

	// A token used for paginating results from your get active names request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNamesRequest

func (GetActiveNamesInput) GoString

func (s GetActiveNamesInput) GoString() string

GoString returns the string representation

func (GetActiveNamesInput) String

func (s GetActiveNamesInput) String() string

String returns the string representation

type GetActiveNamesOutput

type GetActiveNamesOutput struct {

	// The list of active names returned by the get active names request.
	ActiveNames []string `locationName:"activeNames" type:"list"`

	// A token used for advancing to the next page of results from your get active
	// names request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNamesResult

func (GetActiveNamesOutput) GoString

func (s GetActiveNamesOutput) GoString() string

GoString returns the string representation

func (GetActiveNamesOutput) SDKResponseMetadata

func (s GetActiveNamesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetActiveNamesOutput) String

func (s GetActiveNamesOutput) String() string

String returns the string representation

type GetActiveNamesRequest

type GetActiveNamesRequest struct {
	*aws.Request
	Input *GetActiveNamesInput
	Copy  func(*GetActiveNamesInput) GetActiveNamesRequest
}

GetActiveNamesRequest is a API request type for the GetActiveNames API operation.

func (GetActiveNamesRequest) Send

Send marshals and sends the GetActiveNames API request.

type GetBlueprintsInput

type GetBlueprintsInput struct {

	// A Boolean value indicating whether to include inactive results in your request.
	IncludeInactive *bool `locationName:"includeInactive" type:"boolean"`

	// A token used for advancing to the next page of results from your get blueprints
	// request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprintsRequest

func (GetBlueprintsInput) GoString

func (s GetBlueprintsInput) GoString() string

GoString returns the string representation

func (GetBlueprintsInput) String

func (s GetBlueprintsInput) String() string

String returns the string representation

type GetBlueprintsOutput

type GetBlueprintsOutput struct {

	// An array of key-value pairs that contains information about the available
	// blueprints.
	Blueprints []Blueprint `locationName:"blueprints" type:"list"`

	// A token used for advancing to the next page of results from your get blueprints
	// request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprintsResult

func (GetBlueprintsOutput) GoString

func (s GetBlueprintsOutput) GoString() string

GoString returns the string representation

func (GetBlueprintsOutput) SDKResponseMetadata

func (s GetBlueprintsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetBlueprintsOutput) String

func (s GetBlueprintsOutput) String() string

String returns the string representation

type GetBlueprintsRequest

type GetBlueprintsRequest struct {
	*aws.Request
	Input *GetBlueprintsInput
	Copy  func(*GetBlueprintsInput) GetBlueprintsRequest
}

GetBlueprintsRequest is a API request type for the GetBlueprints API operation.

func (GetBlueprintsRequest) Send

Send marshals and sends the GetBlueprints API request.

type GetBundlesInput

type GetBundlesInput struct {

	// A Boolean value that indicates whether to include inactive bundle results
	// in your request.
	IncludeInactive *bool `locationName:"includeInactive" type:"boolean"`

	// A token used for advancing to the next page of results from your get bundles
	// request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundlesRequest

func (GetBundlesInput) GoString

func (s GetBundlesInput) GoString() string

GoString returns the string representation

func (GetBundlesInput) String

func (s GetBundlesInput) String() string

String returns the string representation

type GetBundlesOutput

type GetBundlesOutput struct {

	// An array of key-value pairs that contains information about the available
	// bundles.
	Bundles []Bundle `locationName:"bundles" type:"list"`

	// A token used for advancing to the next page of results from your get active
	// names request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundlesResult

func (GetBundlesOutput) GoString

func (s GetBundlesOutput) GoString() string

GoString returns the string representation

func (GetBundlesOutput) SDKResponseMetadata

func (s GetBundlesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetBundlesOutput) String

func (s GetBundlesOutput) String() string

String returns the string representation

type GetBundlesRequest

type GetBundlesRequest struct {
	*aws.Request
	Input *GetBundlesInput
	Copy  func(*GetBundlesInput) GetBundlesRequest
}

GetBundlesRequest is a API request type for the GetBundles API operation.

func (GetBundlesRequest) Send

Send marshals and sends the GetBundles API request.

type GetCloudFormationStackRecordsInput added in v0.6.0

type GetCloudFormationStackRecordsInput struct {

	// A token used for advancing to a specific page of results for your get cloud
	// formation stack records request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetCloudFormationStackRecordsRequest

func (GetCloudFormationStackRecordsInput) GoString added in v0.6.0

GoString returns the string representation

func (GetCloudFormationStackRecordsInput) String added in v0.6.0

String returns the string representation

type GetCloudFormationStackRecordsOutput added in v0.6.0

type GetCloudFormationStackRecordsOutput struct {

	// A list of objects describing the CloudFormation stack records.
	CloudFormationStackRecords []CloudFormationStackRecord `locationName:"cloudFormationStackRecords" type:"list"`

	// A token used for advancing to the next page of results of your get relational
	// database bundles request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetCloudFormationStackRecordsResult

func (GetCloudFormationStackRecordsOutput) GoString added in v0.6.0

GoString returns the string representation

func (GetCloudFormationStackRecordsOutput) SDKResponseMetadata added in v0.6.0

func (s GetCloudFormationStackRecordsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetCloudFormationStackRecordsOutput) String added in v0.6.0

String returns the string representation

type GetCloudFormationStackRecordsRequest added in v0.6.0

type GetCloudFormationStackRecordsRequest struct {
	*aws.Request
	Input *GetCloudFormationStackRecordsInput
	Copy  func(*GetCloudFormationStackRecordsInput) GetCloudFormationStackRecordsRequest
}

GetCloudFormationStackRecordsRequest is a API request type for the GetCloudFormationStackRecords API operation.

func (GetCloudFormationStackRecordsRequest) Send added in v0.6.0

Send marshals and sends the GetCloudFormationStackRecords API request.

type GetDiskInput added in v0.2.0

type GetDiskInput struct {

	// The name of the disk (e.g., my-disk).
	//
	// DiskName is a required field
	DiskName *string `locationName:"diskName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskRequest

func (GetDiskInput) GoString added in v0.2.0

func (s GetDiskInput) GoString() string

GoString returns the string representation

func (GetDiskInput) String added in v0.2.0

func (s GetDiskInput) String() string

String returns the string representation

func (*GetDiskInput) Validate added in v0.2.0

func (s *GetDiskInput) Validate() error

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

type GetDiskOutput added in v0.2.0

type GetDiskOutput struct {

	// An object containing information about the disk.
	Disk *Disk `locationName:"disk" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskResult

func (GetDiskOutput) GoString added in v0.2.0

func (s GetDiskOutput) GoString() string

GoString returns the string representation

func (GetDiskOutput) SDKResponseMetadata added in v0.2.0

func (s GetDiskOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDiskOutput) String added in v0.2.0

func (s GetDiskOutput) String() string

String returns the string representation

type GetDiskRequest added in v0.2.0

type GetDiskRequest struct {
	*aws.Request
	Input *GetDiskInput
	Copy  func(*GetDiskInput) GetDiskRequest
}

GetDiskRequest is a API request type for the GetDisk API operation.

func (GetDiskRequest) Send added in v0.2.0

func (r GetDiskRequest) Send() (*GetDiskOutput, error)

Send marshals and sends the GetDisk API request.

type GetDiskSnapshotInput added in v0.2.0

type GetDiskSnapshotInput struct {

	// The name of the disk snapshot (e.g., my-disk-snapshot).
	//
	// DiskSnapshotName is a required field
	DiskSnapshotName *string `locationName:"diskSnapshotName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotRequest

func (GetDiskSnapshotInput) GoString added in v0.2.0

func (s GetDiskSnapshotInput) GoString() string

GoString returns the string representation

func (GetDiskSnapshotInput) String added in v0.2.0

func (s GetDiskSnapshotInput) String() string

String returns the string representation

func (*GetDiskSnapshotInput) Validate added in v0.2.0

func (s *GetDiskSnapshotInput) Validate() error

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

type GetDiskSnapshotOutput added in v0.2.0

type GetDiskSnapshotOutput struct {

	// An object containing information about the disk snapshot.
	DiskSnapshot *DiskSnapshot `locationName:"diskSnapshot" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotResult

func (GetDiskSnapshotOutput) GoString added in v0.2.0

func (s GetDiskSnapshotOutput) GoString() string

GoString returns the string representation

func (GetDiskSnapshotOutput) SDKResponseMetadata added in v0.2.0

func (s GetDiskSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDiskSnapshotOutput) String added in v0.2.0

func (s GetDiskSnapshotOutput) String() string

String returns the string representation

type GetDiskSnapshotRequest added in v0.2.0

type GetDiskSnapshotRequest struct {
	*aws.Request
	Input *GetDiskSnapshotInput
	Copy  func(*GetDiskSnapshotInput) GetDiskSnapshotRequest
}

GetDiskSnapshotRequest is a API request type for the GetDiskSnapshot API operation.

func (GetDiskSnapshotRequest) Send added in v0.2.0

Send marshals and sends the GetDiskSnapshot API request.

type GetDiskSnapshotsInput added in v0.2.0

type GetDiskSnapshotsInput struct {

	// A token used for advancing to the next page of results from your GetDiskSnapshots
	// request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotsRequest

func (GetDiskSnapshotsInput) GoString added in v0.2.0

func (s GetDiskSnapshotsInput) GoString() string

GoString returns the string representation

func (GetDiskSnapshotsInput) String added in v0.2.0

func (s GetDiskSnapshotsInput) String() string

String returns the string representation

type GetDiskSnapshotsOutput added in v0.2.0

type GetDiskSnapshotsOutput struct {

	// An array of objects containing information about all block storage disk snapshots.
	DiskSnapshots []DiskSnapshot `locationName:"diskSnapshots" type:"list"`

	// A token used for advancing to the next page of results from your GetDiskSnapshots
	// request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshotsResult

func (GetDiskSnapshotsOutput) GoString added in v0.2.0

func (s GetDiskSnapshotsOutput) GoString() string

GoString returns the string representation

func (GetDiskSnapshotsOutput) SDKResponseMetadata added in v0.2.0

func (s GetDiskSnapshotsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDiskSnapshotsOutput) String added in v0.2.0

func (s GetDiskSnapshotsOutput) String() string

String returns the string representation

type GetDiskSnapshotsRequest added in v0.2.0

type GetDiskSnapshotsRequest struct {
	*aws.Request
	Input *GetDiskSnapshotsInput
	Copy  func(*GetDiskSnapshotsInput) GetDiskSnapshotsRequest
}

GetDiskSnapshotsRequest is a API request type for the GetDiskSnapshots API operation.

func (GetDiskSnapshotsRequest) Send added in v0.2.0

Send marshals and sends the GetDiskSnapshots API request.

type GetDisksInput added in v0.2.0

type GetDisksInput struct {

	// A token used for advancing to the next page of results from your GetDisks
	// request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisksRequest

func (GetDisksInput) GoString added in v0.2.0

func (s GetDisksInput) GoString() string

GoString returns the string representation

func (GetDisksInput) String added in v0.2.0

func (s GetDisksInput) String() string

String returns the string representation

type GetDisksOutput added in v0.2.0

type GetDisksOutput struct {

	// An array of objects containing information about all block storage disks.
	Disks []Disk `locationName:"disks" type:"list"`

	// A token used for advancing to the next page of results from your GetDisks
	// request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisksResult

func (GetDisksOutput) GoString added in v0.2.0

func (s GetDisksOutput) GoString() string

GoString returns the string representation

func (GetDisksOutput) SDKResponseMetadata added in v0.2.0

func (s GetDisksOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDisksOutput) String added in v0.2.0

func (s GetDisksOutput) String() string

String returns the string representation

type GetDisksRequest added in v0.2.0

type GetDisksRequest struct {
	*aws.Request
	Input *GetDisksInput
	Copy  func(*GetDisksInput) GetDisksRequest
}

GetDisksRequest is a API request type for the GetDisks API operation.

func (GetDisksRequest) Send added in v0.2.0

func (r GetDisksRequest) Send() (*GetDisksOutput, error)

Send marshals and sends the GetDisks API request.

type GetDomainInput

type GetDomainInput struct {

	// The domain name for which your want to return information about.
	//
	// DomainName is a required field
	DomainName *string `locationName:"domainName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainRequest

func (GetDomainInput) GoString

func (s GetDomainInput) GoString() string

GoString returns the string representation

func (GetDomainInput) String

func (s GetDomainInput) String() string

String returns the string representation

func (*GetDomainInput) Validate

func (s *GetDomainInput) Validate() error

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

type GetDomainOutput

type GetDomainOutput struct {

	// An array of key-value pairs containing information about your get domain
	// request.
	Domain *Domain `locationName:"domain" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainResult

func (GetDomainOutput) GoString

func (s GetDomainOutput) GoString() string

GoString returns the string representation

func (GetDomainOutput) SDKResponseMetadata

func (s GetDomainOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDomainOutput) String

func (s GetDomainOutput) String() string

String returns the string representation

type GetDomainRequest

type GetDomainRequest struct {
	*aws.Request
	Input *GetDomainInput
	Copy  func(*GetDomainInput) GetDomainRequest
}

GetDomainRequest is a API request type for the GetDomain API operation.

func (GetDomainRequest) Send

func (r GetDomainRequest) Send() (*GetDomainOutput, error)

Send marshals and sends the GetDomain API request.

type GetDomainsInput

type GetDomainsInput struct {

	// A token used for advancing to the next page of results from your get domains
	// request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainsRequest

func (GetDomainsInput) GoString

func (s GetDomainsInput) GoString() string

GoString returns the string representation

func (GetDomainsInput) String

func (s GetDomainsInput) String() string

String returns the string representation

type GetDomainsOutput

type GetDomainsOutput struct {

	// An array of key-value pairs containing information about each of the domain
	// entries in the user's account.
	Domains []Domain `locationName:"domains" type:"list"`

	// A token used for advancing to the next page of results from your get active
	// names request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomainsResult

func (GetDomainsOutput) GoString

func (s GetDomainsOutput) GoString() string

GoString returns the string representation

func (GetDomainsOutput) SDKResponseMetadata

func (s GetDomainsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDomainsOutput) String

func (s GetDomainsOutput) String() string

String returns the string representation

type GetDomainsRequest

type GetDomainsRequest struct {
	*aws.Request
	Input *GetDomainsInput
	Copy  func(*GetDomainsInput) GetDomainsRequest
}

GetDomainsRequest is a API request type for the GetDomains API operation.

func (GetDomainsRequest) Send

Send marshals and sends the GetDomains API request.

type GetExportSnapshotRecordsInput added in v0.6.0

type GetExportSnapshotRecordsInput struct {

	// A token used for advancing to a specific page of results for your get export
	// snapshot records request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetExportSnapshotRecordsRequest

func (GetExportSnapshotRecordsInput) GoString added in v0.6.0

GoString returns the string representation

func (GetExportSnapshotRecordsInput) String added in v0.6.0

String returns the string representation

type GetExportSnapshotRecordsOutput added in v0.6.0

type GetExportSnapshotRecordsOutput struct {

	// A list of objects describing the export snapshot records.
	ExportSnapshotRecords []ExportSnapshotRecord `locationName:"exportSnapshotRecords" type:"list"`

	// A token used for advancing to the next page of results of your get relational
	// database bundles request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetExportSnapshotRecordsResult

func (GetExportSnapshotRecordsOutput) GoString added in v0.6.0

GoString returns the string representation

func (GetExportSnapshotRecordsOutput) SDKResponseMetadata added in v0.6.0

func (s GetExportSnapshotRecordsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetExportSnapshotRecordsOutput) String added in v0.6.0

String returns the string representation

type GetExportSnapshotRecordsRequest added in v0.6.0

type GetExportSnapshotRecordsRequest struct {
	*aws.Request
	Input *GetExportSnapshotRecordsInput
	Copy  func(*GetExportSnapshotRecordsInput) GetExportSnapshotRecordsRequest
}

GetExportSnapshotRecordsRequest is a API request type for the GetExportSnapshotRecords API operation.

func (GetExportSnapshotRecordsRequest) Send added in v0.6.0

Send marshals and sends the GetExportSnapshotRecords API request.

type GetInstanceAccessDetailsInput

type GetInstanceAccessDetailsInput struct {

	// The name of the instance to access.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`

	// The protocol to use to connect to your instance. Defaults to ssh.
	Protocol InstanceAccessProtocol `locationName:"protocol" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetailsRequest

func (GetInstanceAccessDetailsInput) GoString

GoString returns the string representation

func (GetInstanceAccessDetailsInput) String

String returns the string representation

func (*GetInstanceAccessDetailsInput) Validate

func (s *GetInstanceAccessDetailsInput) Validate() error

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

type GetInstanceAccessDetailsOutput

type GetInstanceAccessDetailsOutput struct {

	// An array of key-value pairs containing information about a get instance access
	// request.
	AccessDetails *InstanceAccessDetails `locationName:"accessDetails" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetailsResult

func (GetInstanceAccessDetailsOutput) GoString

GoString returns the string representation

func (GetInstanceAccessDetailsOutput) SDKResponseMetadata

func (s GetInstanceAccessDetailsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstanceAccessDetailsOutput) String

String returns the string representation

type GetInstanceAccessDetailsRequest

type GetInstanceAccessDetailsRequest struct {
	*aws.Request
	Input *GetInstanceAccessDetailsInput
	Copy  func(*GetInstanceAccessDetailsInput) GetInstanceAccessDetailsRequest
}

GetInstanceAccessDetailsRequest is a API request type for the GetInstanceAccessDetails API operation.

func (GetInstanceAccessDetailsRequest) Send

Send marshals and sends the GetInstanceAccessDetails API request.

type GetInstanceInput

type GetInstanceInput struct {

	// The name of the instance.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceRequest

func (GetInstanceInput) GoString

func (s GetInstanceInput) GoString() string

GoString returns the string representation

func (GetInstanceInput) String

func (s GetInstanceInput) String() string

String returns the string representation

func (*GetInstanceInput) Validate

func (s *GetInstanceInput) Validate() error

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

type GetInstanceMetricDataInput

type GetInstanceMetricDataInput struct {

	// The end time of the time period.
	//
	// EndTime is a required field
	EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix" required:"true"`

	// The name of the instance for which you want to get metrics data.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`

	// The metric name to get data about.
	//
	// MetricName is a required field
	MetricName InstanceMetricName `locationName:"metricName" type:"string" required:"true" enum:"true"`

	// The granularity, in seconds, of the returned data points.
	//
	// Period is a required field
	Period *int64 `locationName:"period" min:"60" type:"integer" required:"true"`

	// The start time of the time period.
	//
	// StartTime is a required field
	StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix" required:"true"`

	// The instance statistics.
	//
	// Statistics is a required field
	Statistics []MetricStatistic `locationName:"statistics" type:"list" required:"true"`

	// The unit. The list of valid values is below.
	//
	// Unit is a required field
	Unit MetricUnit `locationName:"unit" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricDataRequest

func (GetInstanceMetricDataInput) GoString

func (s GetInstanceMetricDataInput) GoString() string

GoString returns the string representation

func (GetInstanceMetricDataInput) String

String returns the string representation

func (*GetInstanceMetricDataInput) Validate

func (s *GetInstanceMetricDataInput) Validate() error

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

type GetInstanceMetricDataOutput

type GetInstanceMetricDataOutput struct {

	// An array of key-value pairs containing information about the results of your
	// get instance metric data request.
	MetricData []MetricDatapoint `locationName:"metricData" type:"list"`

	// The metric name to return data for.
	MetricName InstanceMetricName `locationName:"metricName" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricDataResult

func (GetInstanceMetricDataOutput) GoString

func (s GetInstanceMetricDataOutput) GoString() string

GoString returns the string representation

func (GetInstanceMetricDataOutput) SDKResponseMetadata

func (s GetInstanceMetricDataOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstanceMetricDataOutput) String

String returns the string representation

type GetInstanceMetricDataRequest

type GetInstanceMetricDataRequest struct {
	*aws.Request
	Input *GetInstanceMetricDataInput
	Copy  func(*GetInstanceMetricDataInput) GetInstanceMetricDataRequest
}

GetInstanceMetricDataRequest is a API request type for the GetInstanceMetricData API operation.

func (GetInstanceMetricDataRequest) Send

Send marshals and sends the GetInstanceMetricData API request.

type GetInstanceOutput

type GetInstanceOutput struct {

	// An array of key-value pairs containing information about the specified instance.
	Instance *Instance `locationName:"instance" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceResult

func (GetInstanceOutput) GoString

func (s GetInstanceOutput) GoString() string

GoString returns the string representation

func (GetInstanceOutput) SDKResponseMetadata

func (s GetInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstanceOutput) String

func (s GetInstanceOutput) String() string

String returns the string representation

type GetInstancePortStatesInput

type GetInstancePortStatesInput struct {

	// The name of the instance.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStatesRequest

func (GetInstancePortStatesInput) GoString

func (s GetInstancePortStatesInput) GoString() string

GoString returns the string representation

func (GetInstancePortStatesInput) String

String returns the string representation

func (*GetInstancePortStatesInput) Validate

func (s *GetInstancePortStatesInput) Validate() error

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

type GetInstancePortStatesOutput

type GetInstancePortStatesOutput struct {

	// Information about the port states resulting from your request.
	PortStates []InstancePortState `locationName:"portStates" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStatesResult

func (GetInstancePortStatesOutput) GoString

func (s GetInstancePortStatesOutput) GoString() string

GoString returns the string representation

func (GetInstancePortStatesOutput) SDKResponseMetadata

func (s GetInstancePortStatesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstancePortStatesOutput) String

String returns the string representation

type GetInstancePortStatesRequest

type GetInstancePortStatesRequest struct {
	*aws.Request
	Input *GetInstancePortStatesInput
	Copy  func(*GetInstancePortStatesInput) GetInstancePortStatesRequest
}

GetInstancePortStatesRequest is a API request type for the GetInstancePortStates API operation.

func (GetInstancePortStatesRequest) Send

Send marshals and sends the GetInstancePortStates API request.

type GetInstanceRequest

type GetInstanceRequest struct {
	*aws.Request
	Input *GetInstanceInput
	Copy  func(*GetInstanceInput) GetInstanceRequest
}

GetInstanceRequest is a API request type for the GetInstance API operation.

func (GetInstanceRequest) Send

Send marshals and sends the GetInstance API request.

type GetInstanceSnapshotInput

type GetInstanceSnapshotInput struct {

	// The name of the snapshot for which you are requesting information.
	//
	// InstanceSnapshotName is a required field
	InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotRequest

func (GetInstanceSnapshotInput) GoString

func (s GetInstanceSnapshotInput) GoString() string

GoString returns the string representation

func (GetInstanceSnapshotInput) String

func (s GetInstanceSnapshotInput) String() string

String returns the string representation

func (*GetInstanceSnapshotInput) Validate

func (s *GetInstanceSnapshotInput) Validate() error

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

type GetInstanceSnapshotOutput

type GetInstanceSnapshotOutput struct {

	// An array of key-value pairs containing information about the results of your
	// get instance snapshot request.
	InstanceSnapshot *InstanceSnapshot `locationName:"instanceSnapshot" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotResult

func (GetInstanceSnapshotOutput) GoString

func (s GetInstanceSnapshotOutput) GoString() string

GoString returns the string representation

func (GetInstanceSnapshotOutput) SDKResponseMetadata

func (s GetInstanceSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstanceSnapshotOutput) String

func (s GetInstanceSnapshotOutput) String() string

String returns the string representation

type GetInstanceSnapshotRequest

type GetInstanceSnapshotRequest struct {
	*aws.Request
	Input *GetInstanceSnapshotInput
	Copy  func(*GetInstanceSnapshotInput) GetInstanceSnapshotRequest
}

GetInstanceSnapshotRequest is a API request type for the GetInstanceSnapshot API operation.

func (GetInstanceSnapshotRequest) Send

Send marshals and sends the GetInstanceSnapshot API request.

type GetInstanceSnapshotsInput

type GetInstanceSnapshotsInput struct {

	// A token used for advancing to the next page of results from your get instance
	// snapshots request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotsRequest

func (GetInstanceSnapshotsInput) GoString

func (s GetInstanceSnapshotsInput) GoString() string

GoString returns the string representation

func (GetInstanceSnapshotsInput) String

func (s GetInstanceSnapshotsInput) String() string

String returns the string representation

type GetInstanceSnapshotsOutput

type GetInstanceSnapshotsOutput struct {

	// An array of key-value pairs containing information about the results of your
	// get instance snapshots request.
	InstanceSnapshots []InstanceSnapshot `locationName:"instanceSnapshots" type:"list"`

	// A token used for advancing to the next page of results from your get instance
	// snapshots request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshotsResult

func (GetInstanceSnapshotsOutput) GoString

func (s GetInstanceSnapshotsOutput) GoString() string

GoString returns the string representation

func (GetInstanceSnapshotsOutput) SDKResponseMetadata

func (s GetInstanceSnapshotsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstanceSnapshotsOutput) String

String returns the string representation

type GetInstanceSnapshotsRequest

type GetInstanceSnapshotsRequest struct {
	*aws.Request
	Input *GetInstanceSnapshotsInput
	Copy  func(*GetInstanceSnapshotsInput) GetInstanceSnapshotsRequest
}

GetInstanceSnapshotsRequest is a API request type for the GetInstanceSnapshots API operation.

func (GetInstanceSnapshotsRequest) Send

Send marshals and sends the GetInstanceSnapshots API request.

type GetInstanceStateInput

type GetInstanceStateInput struct {

	// The name of the instance to get state information about.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceStateRequest

func (GetInstanceStateInput) GoString

func (s GetInstanceStateInput) GoString() string

GoString returns the string representation

func (GetInstanceStateInput) String

func (s GetInstanceStateInput) String() string

String returns the string representation

func (*GetInstanceStateInput) Validate

func (s *GetInstanceStateInput) Validate() error

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

type GetInstanceStateOutput

type GetInstanceStateOutput struct {

	// The state of the instance.
	State *InstanceState `locationName:"state" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceStateResult

func (GetInstanceStateOutput) GoString

func (s GetInstanceStateOutput) GoString() string

GoString returns the string representation

func (GetInstanceStateOutput) SDKResponseMetadata

func (s GetInstanceStateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstanceStateOutput) String

func (s GetInstanceStateOutput) String() string

String returns the string representation

type GetInstanceStateRequest

type GetInstanceStateRequest struct {
	*aws.Request
	Input *GetInstanceStateInput
	Copy  func(*GetInstanceStateInput) GetInstanceStateRequest
}

GetInstanceStateRequest is a API request type for the GetInstanceState API operation.

func (GetInstanceStateRequest) Send

Send marshals and sends the GetInstanceState API request.

type GetInstancesInput

type GetInstancesInput struct {

	// A token used for advancing to the next page of results from your get instances
	// request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancesRequest

func (GetInstancesInput) GoString

func (s GetInstancesInput) GoString() string

GoString returns the string representation

func (GetInstancesInput) String

func (s GetInstancesInput) String() string

String returns the string representation

type GetInstancesOutput

type GetInstancesOutput struct {

	// An array of key-value pairs containing information about your instances.
	Instances []Instance `locationName:"instances" type:"list"`

	// A token used for advancing to the next page of results from your get instances
	// request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancesResult

func (GetInstancesOutput) GoString

func (s GetInstancesOutput) GoString() string

GoString returns the string representation

func (GetInstancesOutput) SDKResponseMetadata

func (s GetInstancesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstancesOutput) String

func (s GetInstancesOutput) String() string

String returns the string representation

type GetInstancesRequest

type GetInstancesRequest struct {
	*aws.Request
	Input *GetInstancesInput
	Copy  func(*GetInstancesInput) GetInstancesRequest
}

GetInstancesRequest is a API request type for the GetInstances API operation.

func (GetInstancesRequest) Send

Send marshals and sends the GetInstances API request.

type GetKeyPairInput

type GetKeyPairInput struct {

	// The name of the key pair for which you are requesting information.
	//
	// KeyPairName is a required field
	KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairRequest

func (GetKeyPairInput) GoString

func (s GetKeyPairInput) GoString() string

GoString returns the string representation

func (GetKeyPairInput) String

func (s GetKeyPairInput) String() string

String returns the string representation

func (*GetKeyPairInput) Validate

func (s *GetKeyPairInput) Validate() error

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

type GetKeyPairOutput

type GetKeyPairOutput struct {

	// An array of key-value pairs containing information about the key pair.
	KeyPair *KeyPair `locationName:"keyPair" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairResult

func (GetKeyPairOutput) GoString

func (s GetKeyPairOutput) GoString() string

GoString returns the string representation

func (GetKeyPairOutput) SDKResponseMetadata

func (s GetKeyPairOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetKeyPairOutput) String

func (s GetKeyPairOutput) String() string

String returns the string representation

type GetKeyPairRequest

type GetKeyPairRequest struct {
	*aws.Request
	Input *GetKeyPairInput
	Copy  func(*GetKeyPairInput) GetKeyPairRequest
}

GetKeyPairRequest is a API request type for the GetKeyPair API operation.

func (GetKeyPairRequest) Send

Send marshals and sends the GetKeyPair API request.

type GetKeyPairsInput

type GetKeyPairsInput struct {

	// A token used for advancing to the next page of results from your get key
	// pairs request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairsRequest

func (GetKeyPairsInput) GoString

func (s GetKeyPairsInput) GoString() string

GoString returns the string representation

func (GetKeyPairsInput) String

func (s GetKeyPairsInput) String() string

String returns the string representation

type GetKeyPairsOutput

type GetKeyPairsOutput struct {

	// An array of key-value pairs containing information about the key pairs.
	KeyPairs []KeyPair `locationName:"keyPairs" type:"list"`

	// A token used for advancing to the next page of results from your get key
	// pairs request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairsResult

func (GetKeyPairsOutput) GoString

func (s GetKeyPairsOutput) GoString() string

GoString returns the string representation

func (GetKeyPairsOutput) SDKResponseMetadata

func (s GetKeyPairsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetKeyPairsOutput) String

func (s GetKeyPairsOutput) String() string

String returns the string representation

type GetKeyPairsRequest

type GetKeyPairsRequest struct {
	*aws.Request
	Input *GetKeyPairsInput
	Copy  func(*GetKeyPairsInput) GetKeyPairsRequest
}

GetKeyPairsRequest is a API request type for the GetKeyPairs API operation.

func (GetKeyPairsRequest) Send

Send marshals and sends the GetKeyPairs API request.

type GetLoadBalancerInput added in v0.2.0

type GetLoadBalancerInput struct {

	// The name of the load balancer.
	//
	// LoadBalancerName is a required field
	LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerRequest

func (GetLoadBalancerInput) GoString added in v0.2.0

func (s GetLoadBalancerInput) GoString() string

GoString returns the string representation

func (GetLoadBalancerInput) String added in v0.2.0

func (s GetLoadBalancerInput) String() string

String returns the string representation

func (*GetLoadBalancerInput) Validate added in v0.2.0

func (s *GetLoadBalancerInput) Validate() error

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

type GetLoadBalancerMetricDataInput added in v0.2.0

type GetLoadBalancerMetricDataInput struct {

	// The end time of the period.
	//
	// EndTime is a required field
	EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix" required:"true"`

	// The name of the load balancer.
	//
	// LoadBalancerName is a required field
	LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"`

	// The metric about which you want to return information. Valid values are listed
	// below, along with the most useful statistics to include in your request.
	//
	//    * ClientTLSNegotiationErrorCount - The number of TLS connections initiated
	//    by the client that did not establish a session with the load balancer.
	//    Possible causes include a mismatch of ciphers or protocols.
	//
	// Statistics: The most useful statistic is Sum.
	//
	//    * HealthyHostCount - The number of target instances that are considered
	//    healthy.
	//
	// Statistics: The most useful statistic are Average, Minimum, and Maximum.
	//
	//    * UnhealthyHostCount - The number of target instances that are considered
	//    unhealthy.
	//
	// Statistics: The most useful statistic are Average, Minimum, and Maximum.
	//
	//    * HTTPCode_LB_4XX_Count - The number of HTTP 4XX client error codes that
	//    originate from the load balancer. Client errors are generated when requests
	//    are malformed or incomplete. These requests have not been received by
	//    the target instance. This count does not include any response codes generated
	//    by the target instances.
	//
	// Statistics: The most useful statistic is Sum. Note that Minimum, Maximum,
	//    and Average all return 1.
	//
	//    * HTTPCode_LB_5XX_Count - The number of HTTP 5XX server error codes that
	//    originate from the load balancer. This count does not include any response
	//    codes generated by the target instances.
	//
	// Statistics: The most useful statistic is Sum. Note that Minimum, Maximum,
	//    and Average all return 1. Note that Minimum, Maximum, and Average all
	//    return 1.
	//
	//    * HTTPCode_Instance_2XX_Count - The number of HTTP response codes generated
	//    by the target instances. This does not include any response codes generated
	//    by the load balancer.
	//
	// Statistics: The most useful statistic is Sum. Note that Minimum, Maximum,
	//    and Average all return 1.
	//
	//    * HTTPCode_Instance_3XX_Count - The number of HTTP response codes generated
	//    by the target instances. This does not include any response codes generated
	//    by the load balancer.
	//
	// Statistics: The most useful statistic is Sum. Note that Minimum, Maximum,
	//    and Average all return 1.
	//
	//    * HTTPCode_Instance_4XX_Count - The number of HTTP response codes generated
	//    by the target instances. This does not include any response codes generated
	//    by the load balancer.
	//
	// Statistics: The most useful statistic is Sum. Note that Minimum, Maximum,
	//    and Average all return 1.
	//
	//    * HTTPCode_Instance_5XX_Count - The number of HTTP response codes generated
	//    by the target instances. This does not include any response codes generated
	//    by the load balancer.
	//
	// Statistics: The most useful statistic is Sum. Note that Minimum, Maximum,
	//    and Average all return 1.
	//
	//    * InstanceResponseTime - The time elapsed, in seconds, after the request
	//    leaves the load balancer until a response from the target instance is
	//    received.
	//
	// Statistics: The most useful statistic is Average.
	//
	//    * RejectedConnectionCount - The number of connections that were rejected
	//    because the load balancer had reached its maximum number of connections.
	//
	// Statistics: The most useful statistic is Sum.
	//
	//    * RequestCount - The number of requests processed over IPv4. This count
	//    includes only the requests with a response generated by a target instance
	//    of the load balancer.
	//
	// Statistics: The most useful statistic is Sum. Note that Minimum, Maximum,
	//    and Average all return 1.
	//
	// MetricName is a required field
	MetricName LoadBalancerMetricName `locationName:"metricName" type:"string" required:"true" enum:"true"`

	// The granularity, in seconds, of the returned data points.
	//
	// Period is a required field
	Period *int64 `locationName:"period" min:"60" type:"integer" required:"true"`

	// The start time of the period.
	//
	// StartTime is a required field
	StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix" required:"true"`

	// An array of statistics that you want to request metrics for. Valid values
	// are listed below.
	//
	//    * SampleCount - The count (number) of data points used for the statistical
	//    calculation.
	//
	//    * Average - The value of Sum / SampleCount during the specified period.
	//    By comparing this statistic with the Minimum and Maximum, you can determine
	//    the full scope of a metric and how close the average use is to the Minimum
	//    and Maximum. This comparison helps you to know when to increase or decrease
	//    your resources as needed.
	//
	//    * Sum - All values submitted for the matching metric added together. This
	//    statistic can be useful for determining the total volume of a metric.
	//
	//    * Minimum - The lowest value observed during the specified period. You
	//    can use this value to determine low volumes of activity for your application.
	//
	//    * Maximum - The highest value observed during the specified period. You
	//    can use this value to determine high volumes of activity for your application.
	//
	// Statistics is a required field
	Statistics []MetricStatistic `locationName:"statistics" type:"list" required:"true"`

	// The unit for the time period request. Valid values are listed below.
	//
	// Unit is a required field
	Unit MetricUnit `locationName:"unit" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricDataRequest

func (GetLoadBalancerMetricDataInput) GoString added in v0.2.0

GoString returns the string representation

func (GetLoadBalancerMetricDataInput) String added in v0.2.0

String returns the string representation

func (*GetLoadBalancerMetricDataInput) Validate added in v0.2.0

func (s *GetLoadBalancerMetricDataInput) Validate() error

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

type GetLoadBalancerMetricDataOutput added in v0.2.0

type GetLoadBalancerMetricDataOutput struct {

	// An array of metric datapoint objects.
	MetricData []MetricDatapoint `locationName:"metricData" type:"list"`

	// The metric about which you are receiving information. Valid values are listed
	// below, along with the most useful statistics to include in your request.
	//
	//    * ClientTLSNegotiationErrorCount - The number of TLS connections initiated
	//    by the client that did not establish a session with the load balancer.
	//    Possible causes include a mismatch of ciphers or protocols.
	//
	// Statistics: The most useful statistic is Sum.
	//
	//    * HealthyHostCount - The number of target instances that are considered
	//    healthy.
	//
	// Statistics: The most useful statistic are Average, Minimum, and Maximum.
	//
	//    * UnhealthyHostCount - The number of target instances that are considered
	//    unhealthy.
	//
	// Statistics: The most useful statistic are Average, Minimum, and Maximum.
	//
	//    * HTTPCode_LB_4XX_Count - The number of HTTP 4XX client error codes that
	//    originate from the load balancer. Client errors are generated when requests
	//    are malformed or incomplete. These requests have not been received by
	//    the target instance. This count does not include any response codes generated
	//    by the target instances.
	//
	// Statistics: The most useful statistic is Sum. Note that Minimum, Maximum,
	//    and Average all return 1.
	//
	//    * HTTPCode_LB_5XX_Count - The number of HTTP 5XX server error codes that
	//    originate from the load balancer. This count does not include any response
	//    codes generated by the target instances.
	//
	// Statistics: The most useful statistic is Sum. Note that Minimum, Maximum,
	//    and Average all return 1. Note that Minimum, Maximum, and Average all
	//    return 1.
	//
	//    * HTTPCode_Instance_2XX_Count - The number of HTTP response codes generated
	//    by the target instances. This does not include any response codes generated
	//    by the load balancer.
	//
	// Statistics: The most useful statistic is Sum. Note that Minimum, Maximum,
	//    and Average all return 1.
	//
	//    * HTTPCode_Instance_3XX_Count - The number of HTTP response codes generated
	//    by the target instances. This does not include any response codes generated
	//    by the load balancer.
	//
	// Statistics: The most useful statistic is Sum. Note that Minimum, Maximum,
	//    and Average all return 1.
	//
	//    * HTTPCode_Instance_4XX_Count - The number of HTTP response codes generated
	//    by the target instances. This does not include any response codes generated
	//    by the load balancer.
	//
	// Statistics: The most useful statistic is Sum. Note that Minimum, Maximum,
	//    and Average all return 1.
	//
	//    * HTTPCode_Instance_5XX_Count - The number of HTTP response codes generated
	//    by the target instances. This does not include any response codes generated
	//    by the load balancer.
	//
	// Statistics: The most useful statistic is Sum. Note that Minimum, Maximum,
	//    and Average all return 1.
	//
	//    * InstanceResponseTime - The time elapsed, in seconds, after the request
	//    leaves the load balancer until a response from the target instance is
	//    received.
	//
	// Statistics: The most useful statistic is Average.
	//
	//    * RejectedConnectionCount - The number of connections that were rejected
	//    because the load balancer had reached its maximum number of connections.
	//
	// Statistics: The most useful statistic is Sum.
	//
	//    * RequestCount - The number of requests processed over IPv4. This count
	//    includes only the requests with a response generated by a target instance
	//    of the load balancer.
	//
	// Statistics: The most useful statistic is Sum. Note that Minimum, Maximum,
	//    and Average all return 1.
	MetricName LoadBalancerMetricName `locationName:"metricName" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricDataResult

func (GetLoadBalancerMetricDataOutput) GoString added in v0.2.0

GoString returns the string representation

func (GetLoadBalancerMetricDataOutput) SDKResponseMetadata added in v0.2.0

func (s GetLoadBalancerMetricDataOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetLoadBalancerMetricDataOutput) String added in v0.2.0

String returns the string representation

type GetLoadBalancerMetricDataRequest added in v0.2.0

type GetLoadBalancerMetricDataRequest struct {
	*aws.Request
	Input *GetLoadBalancerMetricDataInput
	Copy  func(*GetLoadBalancerMetricDataInput) GetLoadBalancerMetricDataRequest
}

GetLoadBalancerMetricDataRequest is a API request type for the GetLoadBalancerMetricData API operation.

func (GetLoadBalancerMetricDataRequest) Send added in v0.2.0

Send marshals and sends the GetLoadBalancerMetricData API request.

type GetLoadBalancerOutput added in v0.2.0

type GetLoadBalancerOutput struct {

	// An object containing information about your load balancer.
	LoadBalancer *LoadBalancer `locationName:"loadBalancer" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerResult

func (GetLoadBalancerOutput) GoString added in v0.2.0

func (s GetLoadBalancerOutput) GoString() string

GoString returns the string representation

func (GetLoadBalancerOutput) SDKResponseMetadata added in v0.2.0

func (s GetLoadBalancerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetLoadBalancerOutput) String added in v0.2.0

func (s GetLoadBalancerOutput) String() string

String returns the string representation

type GetLoadBalancerRequest added in v0.2.0

type GetLoadBalancerRequest struct {
	*aws.Request
	Input *GetLoadBalancerInput
	Copy  func(*GetLoadBalancerInput) GetLoadBalancerRequest
}

GetLoadBalancerRequest is a API request type for the GetLoadBalancer API operation.

func (GetLoadBalancerRequest) Send added in v0.2.0

Send marshals and sends the GetLoadBalancer API request.

type GetLoadBalancerTlsCertificatesInput added in v0.2.0

type GetLoadBalancerTlsCertificatesInput struct {

	// The name of the load balancer you associated with your SSL/TLS certificate.
	//
	// LoadBalancerName is a required field
	LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsCertificatesRequest

func (GetLoadBalancerTlsCertificatesInput) GoString added in v0.2.0

GoString returns the string representation

func (GetLoadBalancerTlsCertificatesInput) String added in v0.2.0

String returns the string representation

func (*GetLoadBalancerTlsCertificatesInput) Validate added in v0.2.0

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

type GetLoadBalancerTlsCertificatesOutput added in v0.2.0

type GetLoadBalancerTlsCertificatesOutput struct {

	// An array of LoadBalancerTlsCertificate objects describing your SSL/TLS certificates.
	TlsCertificates []LoadBalancerTlsCertificate `locationName:"tlsCertificates" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsCertificatesResult

func (GetLoadBalancerTlsCertificatesOutput) GoString added in v0.2.0

GoString returns the string representation

func (GetLoadBalancerTlsCertificatesOutput) SDKResponseMetadata added in v0.2.0

func (s GetLoadBalancerTlsCertificatesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetLoadBalancerTlsCertificatesOutput) String added in v0.2.0

String returns the string representation

type GetLoadBalancerTlsCertificatesRequest added in v0.2.0

type GetLoadBalancerTlsCertificatesRequest struct {
	*aws.Request
	Input *GetLoadBalancerTlsCertificatesInput
	Copy  func(*GetLoadBalancerTlsCertificatesInput) GetLoadBalancerTlsCertificatesRequest
}

GetLoadBalancerTlsCertificatesRequest is a API request type for the GetLoadBalancerTlsCertificates API operation.

func (GetLoadBalancerTlsCertificatesRequest) Send added in v0.2.0

Send marshals and sends the GetLoadBalancerTlsCertificates API request.

type GetLoadBalancersInput added in v0.2.0

type GetLoadBalancersInput struct {

	// A token used for paginating the results from your GetLoadBalancers request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancersRequest

func (GetLoadBalancersInput) GoString added in v0.2.0

func (s GetLoadBalancersInput) GoString() string

GoString returns the string representation

func (GetLoadBalancersInput) String added in v0.2.0

func (s GetLoadBalancersInput) String() string

String returns the string representation

type GetLoadBalancersOutput added in v0.2.0

type GetLoadBalancersOutput struct {

	// An array of LoadBalancer objects describing your load balancers.
	LoadBalancers []LoadBalancer `locationName:"loadBalancers" type:"list"`

	// A token used for advancing to the next page of results from your GetLoadBalancers
	// request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancersResult

func (GetLoadBalancersOutput) GoString added in v0.2.0

func (s GetLoadBalancersOutput) GoString() string

GoString returns the string representation

func (GetLoadBalancersOutput) SDKResponseMetadata added in v0.2.0

func (s GetLoadBalancersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetLoadBalancersOutput) String added in v0.2.0

func (s GetLoadBalancersOutput) String() string

String returns the string representation

type GetLoadBalancersRequest added in v0.2.0

type GetLoadBalancersRequest struct {
	*aws.Request
	Input *GetLoadBalancersInput
	Copy  func(*GetLoadBalancersInput) GetLoadBalancersRequest
}

GetLoadBalancersRequest is a API request type for the GetLoadBalancers API operation.

func (GetLoadBalancersRequest) Send added in v0.2.0

Send marshals and sends the GetLoadBalancers API request.

type GetOperationInput

type GetOperationInput struct {

	// A GUID used to identify the operation.
	//
	// OperationId is a required field
	OperationId *string `locationName:"operationId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationRequest

func (GetOperationInput) GoString

func (s GetOperationInput) GoString() string

GoString returns the string representation

func (GetOperationInput) String

func (s GetOperationInput) String() string

String returns the string representation

func (*GetOperationInput) Validate

func (s *GetOperationInput) Validate() error

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

type GetOperationOutput

type GetOperationOutput struct {

	// An array of key-value pairs containing information about the results of your
	// get operation request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationResult

func (GetOperationOutput) GoString

func (s GetOperationOutput) GoString() string

GoString returns the string representation

func (GetOperationOutput) SDKResponseMetadata

func (s GetOperationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetOperationOutput) String

func (s GetOperationOutput) String() string

String returns the string representation

type GetOperationRequest

type GetOperationRequest struct {
	*aws.Request
	Input *GetOperationInput
	Copy  func(*GetOperationInput) GetOperationRequest
}

GetOperationRequest is a API request type for the GetOperation API operation.

func (GetOperationRequest) Send

Send marshals and sends the GetOperation API request.

type GetOperationsForResourceInput

type GetOperationsForResourceInput struct {

	// A token used for advancing to the next page of results from your get operations
	// for resource request.
	PageToken *string `locationName:"pageToken" type:"string"`

	// The name of the resource for which you are requesting information.
	//
	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResourceRequest

func (GetOperationsForResourceInput) GoString

GoString returns the string representation

func (GetOperationsForResourceInput) String

String returns the string representation

func (*GetOperationsForResourceInput) Validate

func (s *GetOperationsForResourceInput) Validate() error

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

type GetOperationsForResourceOutput

type GetOperationsForResourceOutput struct {

	// (Deprecated) Returns the number of pages of results that remain.
	//
	// In releases prior to June 12, 2017, this parameter returned null by the API.
	// It is now deprecated, and the API returns the next page token parameter instead.
	NextPageCount *string `locationName:"nextPageCount" deprecated:"true" type:"string"`

	// An identifier that was returned from the previous call to this operation,
	// which can be used to return the next set of items in the list.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`

	// An array of key-value pairs containing information about the results of your
	// get operations for resource request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResourceResult

func (GetOperationsForResourceOutput) GoString

GoString returns the string representation

func (GetOperationsForResourceOutput) SDKResponseMetadata

func (s GetOperationsForResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetOperationsForResourceOutput) String

String returns the string representation

type GetOperationsForResourceRequest

type GetOperationsForResourceRequest struct {
	*aws.Request
	Input *GetOperationsForResourceInput
	Copy  func(*GetOperationsForResourceInput) GetOperationsForResourceRequest
}

GetOperationsForResourceRequest is a API request type for the GetOperationsForResource API operation.

func (GetOperationsForResourceRequest) Send

Send marshals and sends the GetOperationsForResource API request.

type GetOperationsInput

type GetOperationsInput struct {

	// A token used for advancing to the next page of results from your get operations
	// request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsRequest

func (GetOperationsInput) GoString

func (s GetOperationsInput) GoString() string

GoString returns the string representation

func (GetOperationsInput) String

func (s GetOperationsInput) String() string

String returns the string representation

type GetOperationsOutput

type GetOperationsOutput struct {

	// A token used for advancing to the next page of results from your get operations
	// request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`

	// An array of key-value pairs containing information about the results of your
	// get operations request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsResult

func (GetOperationsOutput) GoString

func (s GetOperationsOutput) GoString() string

GoString returns the string representation

func (GetOperationsOutput) SDKResponseMetadata

func (s GetOperationsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetOperationsOutput) String

func (s GetOperationsOutput) String() string

String returns the string representation

type GetOperationsRequest

type GetOperationsRequest struct {
	*aws.Request
	Input *GetOperationsInput
	Copy  func(*GetOperationsInput) GetOperationsRequest
}

GetOperationsRequest is a API request type for the GetOperations API operation.

func (GetOperationsRequest) Send

Send marshals and sends the GetOperations API request.

type GetRegionsInput

type GetRegionsInput struct {

	// A Boolean value indicating whether to also include Availability Zones in
	// your get regions request. Availability Zones are indicated with a letter:
	// e.g., us-east-2a.
	IncludeAvailabilityZones *bool `locationName:"includeAvailabilityZones" type:"boolean"`

	// >A Boolean value indicating whether to also include Availability Zones for
	// databases in your get regions request. Availability Zones are indicated with
	// a letter (e.g., us-east-2a).
	IncludeRelationalDatabaseAvailabilityZones *bool `locationName:"includeRelationalDatabaseAvailabilityZones" type:"boolean"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegionsRequest

func (GetRegionsInput) GoString

func (s GetRegionsInput) GoString() string

GoString returns the string representation

func (GetRegionsInput) String

func (s GetRegionsInput) String() string

String returns the string representation

type GetRegionsOutput

type GetRegionsOutput struct {

	// An array of key-value pairs containing information about your get regions
	// request.
	Regions []Region `locationName:"regions" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegionsResult

func (GetRegionsOutput) GoString

func (s GetRegionsOutput) GoString() string

GoString returns the string representation

func (GetRegionsOutput) SDKResponseMetadata

func (s GetRegionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetRegionsOutput) String

func (s GetRegionsOutput) String() string

String returns the string representation

type GetRegionsRequest

type GetRegionsRequest struct {
	*aws.Request
	Input *GetRegionsInput
	Copy  func(*GetRegionsInput) GetRegionsRequest
}

GetRegionsRequest is a API request type for the GetRegions API operation.

func (GetRegionsRequest) Send

Send marshals and sends the GetRegions API request.

type GetRelationalDatabaseBlueprintsInput added in v0.6.0

type GetRelationalDatabaseBlueprintsInput struct {

	// A token used for advancing to a specific page of results for your get relational
	// database blueprints request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseBlueprintsRequest

func (GetRelationalDatabaseBlueprintsInput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseBlueprintsInput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabaseBlueprintsOutput added in v0.6.0

type GetRelationalDatabaseBlueprintsOutput struct {

	// An object describing the result of your get relational database blueprints
	// request.
	Blueprints []RelationalDatabaseBlueprint `locationName:"blueprints" type:"list"`

	// A token used for advancing to the next page of results of your get relational
	// database blueprints request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseBlueprintsResult

func (GetRelationalDatabaseBlueprintsOutput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseBlueprintsOutput) SDKResponseMetadata added in v0.6.0

func (s GetRelationalDatabaseBlueprintsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetRelationalDatabaseBlueprintsOutput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabaseBlueprintsRequest added in v0.6.0

type GetRelationalDatabaseBlueprintsRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseBlueprintsInput
	Copy  func(*GetRelationalDatabaseBlueprintsInput) GetRelationalDatabaseBlueprintsRequest
}

GetRelationalDatabaseBlueprintsRequest is a API request type for the GetRelationalDatabaseBlueprints API operation.

func (GetRelationalDatabaseBlueprintsRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseBlueprints API request.

type GetRelationalDatabaseBundlesInput added in v0.6.0

type GetRelationalDatabaseBundlesInput struct {

	// A token used for advancing to a specific page of results for your get relational
	// database bundles request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseBundlesRequest

func (GetRelationalDatabaseBundlesInput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseBundlesInput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabaseBundlesOutput added in v0.6.0

type GetRelationalDatabaseBundlesOutput struct {

	// An object describing the result of your get relational database bundles request.
	Bundles []RelationalDatabaseBundle `locationName:"bundles" type:"list"`

	// A token used for advancing to the next page of results of your get relational
	// database bundles request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseBundlesResult

func (GetRelationalDatabaseBundlesOutput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseBundlesOutput) SDKResponseMetadata added in v0.6.0

func (s GetRelationalDatabaseBundlesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetRelationalDatabaseBundlesOutput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabaseBundlesRequest added in v0.6.0

type GetRelationalDatabaseBundlesRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseBundlesInput
	Copy  func(*GetRelationalDatabaseBundlesInput) GetRelationalDatabaseBundlesRequest
}

GetRelationalDatabaseBundlesRequest is a API request type for the GetRelationalDatabaseBundles API operation.

func (GetRelationalDatabaseBundlesRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseBundles API request.

type GetRelationalDatabaseEventsInput added in v0.6.0

type GetRelationalDatabaseEventsInput struct {

	// The number of minutes in the past from which to retrieve events. For example,
	// to get all events from the past 2 hours, enter 120.
	//
	// Default: 60
	//
	// The minimum is 1 and the maximum is 14 days (20160 minutes).
	DurationInMinutes *int64 `locationName:"durationInMinutes" type:"integer"`

	// A token used for advancing to a specific page of results from for get relational
	// database events request.
	PageToken *string `locationName:"pageToken" type:"string"`

	// The name of the database from which to get events.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseEventsRequest

func (GetRelationalDatabaseEventsInput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseEventsInput) String added in v0.6.0

String returns the string representation

func (*GetRelationalDatabaseEventsInput) Validate added in v0.6.0

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

type GetRelationalDatabaseEventsOutput added in v0.6.0

type GetRelationalDatabaseEventsOutput struct {

	// A token used for advancing to the next page of results from your get relational
	// database events request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`

	// An object describing the result of your get relational database events request.
	RelationalDatabaseEvents []RelationalDatabaseEvent `locationName:"relationalDatabaseEvents" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseEventsResult

func (GetRelationalDatabaseEventsOutput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseEventsOutput) SDKResponseMetadata added in v0.6.0

func (s GetRelationalDatabaseEventsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetRelationalDatabaseEventsOutput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabaseEventsRequest added in v0.6.0

type GetRelationalDatabaseEventsRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseEventsInput
	Copy  func(*GetRelationalDatabaseEventsInput) GetRelationalDatabaseEventsRequest
}

GetRelationalDatabaseEventsRequest is a API request type for the GetRelationalDatabaseEvents API operation.

func (GetRelationalDatabaseEventsRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseEvents API request.

type GetRelationalDatabaseInput added in v0.6.0

type GetRelationalDatabaseInput struct {

	// The name of the database that you are looking up.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseRequest

func (GetRelationalDatabaseInput) GoString added in v0.6.0

func (s GetRelationalDatabaseInput) GoString() string

GoString returns the string representation

func (GetRelationalDatabaseInput) String added in v0.6.0

String returns the string representation

func (*GetRelationalDatabaseInput) Validate added in v0.6.0

func (s *GetRelationalDatabaseInput) Validate() error

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

type GetRelationalDatabaseLogEventsInput added in v0.6.0

type GetRelationalDatabaseLogEventsInput struct {

	// The end of the time interval from which to get log events.
	//
	// Constraints:
	//
	//    * Specified in Universal Coordinated Time (UTC).
	//
	//    * Specified in the Unix time format.
	//
	// For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC,
	//    then you input 1538424000 as the end time.
	EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix"`

	// The name of the log stream.
	//
	// Use the get relational database log streams operation to get a list of available
	// log streams.
	//
	// LogStreamName is a required field
	LogStreamName *string `locationName:"logStreamName" type:"string" required:"true"`

	// A token used for advancing to a specific page of results for your get relational
	// database log events request.
	PageToken *string `locationName:"pageToken" type:"string"`

	// The name of your database for which to get log events.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`

	// Parameter to specify if the log should start from head or tail. If true is
	// specified, the log event starts from the head of the log. If false is specified,
	// the log event starts from the tail of the log.
	//
	// Default: false
	StartFromHead *bool `locationName:"startFromHead" type:"boolean"`

	// The start of the time interval from which to get log events.
	//
	// Constraints:
	//
	//    * Specified in Universal Coordinated Time (UTC).
	//
	//    * Specified in the Unix time format.
	//
	// For example, if you wish to use a start time of October 1, 2018, at 8 PM
	//    UTC, then you input 1538424000 as the start time.
	StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseLogEventsRequest

func (GetRelationalDatabaseLogEventsInput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseLogEventsInput) String added in v0.6.0

String returns the string representation

func (*GetRelationalDatabaseLogEventsInput) Validate added in v0.6.0

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

type GetRelationalDatabaseLogEventsOutput added in v0.6.0

type GetRelationalDatabaseLogEventsOutput struct {

	// A token used for advancing to the previous page of results from your get
	// relational database log events request.
	NextBackwardToken *string `locationName:"nextBackwardToken" type:"string"`

	// A token used for advancing to the next page of results from your get relational
	// database log events request.
	NextForwardToken *string `locationName:"nextForwardToken" type:"string"`

	// An object describing the result of your get relational database log events
	// request.
	ResourceLogEvents []LogEvent `locationName:"resourceLogEvents" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseLogEventsResult

func (GetRelationalDatabaseLogEventsOutput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseLogEventsOutput) SDKResponseMetadata added in v0.6.0

func (s GetRelationalDatabaseLogEventsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetRelationalDatabaseLogEventsOutput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabaseLogEventsRequest added in v0.6.0

type GetRelationalDatabaseLogEventsRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseLogEventsInput
	Copy  func(*GetRelationalDatabaseLogEventsInput) GetRelationalDatabaseLogEventsRequest
}

GetRelationalDatabaseLogEventsRequest is a API request type for the GetRelationalDatabaseLogEvents API operation.

func (GetRelationalDatabaseLogEventsRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseLogEvents API request.

type GetRelationalDatabaseLogStreamsInput added in v0.6.0

type GetRelationalDatabaseLogStreamsInput struct {

	// The name of your database for which to get log streams.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseLogStreamsRequest

func (GetRelationalDatabaseLogStreamsInput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseLogStreamsInput) String added in v0.6.0

String returns the string representation

func (*GetRelationalDatabaseLogStreamsInput) Validate added in v0.6.0

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

type GetRelationalDatabaseLogStreamsOutput added in v0.6.0

type GetRelationalDatabaseLogStreamsOutput struct {

	// An object describing the result of your get relational database log streams
	// request.
	LogStreams []string `locationName:"logStreams" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseLogStreamsResult

func (GetRelationalDatabaseLogStreamsOutput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseLogStreamsOutput) SDKResponseMetadata added in v0.6.0

func (s GetRelationalDatabaseLogStreamsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetRelationalDatabaseLogStreamsOutput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabaseLogStreamsRequest added in v0.6.0

type GetRelationalDatabaseLogStreamsRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseLogStreamsInput
	Copy  func(*GetRelationalDatabaseLogStreamsInput) GetRelationalDatabaseLogStreamsRequest
}

GetRelationalDatabaseLogStreamsRequest is a API request type for the GetRelationalDatabaseLogStreams API operation.

func (GetRelationalDatabaseLogStreamsRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseLogStreams API request.

type GetRelationalDatabaseMasterUserPasswordInput added in v0.6.0

type GetRelationalDatabaseMasterUserPasswordInput struct {

	// The password version to return.
	//
	// Specifying CURRENT or PREVIOUS returns the current or previous passwords
	// respectively. Specifying PENDING returns the newest version of the password
	// that will rotate to CURRENT. After the PENDING password rotates to CURRENT,
	// the PENDING password is no longer available.
	//
	// Default: CURRENT
	PasswordVersion RelationalDatabasePasswordVersion `locationName:"passwordVersion" type:"string" enum:"true"`

	// The name of your database for which to get the master user password.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseMasterUserPasswordRequest

func (GetRelationalDatabaseMasterUserPasswordInput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseMasterUserPasswordInput) String added in v0.6.0

String returns the string representation

func (*GetRelationalDatabaseMasterUserPasswordInput) Validate added in v0.6.0

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

type GetRelationalDatabaseMasterUserPasswordOutput added in v0.6.0

type GetRelationalDatabaseMasterUserPasswordOutput struct {

	// The timestamp when the specified version of the master user password was
	// created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The master user password for the password version specified.
	MasterUserPassword *string `locationName:"masterUserPassword" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseMasterUserPasswordResult

func (GetRelationalDatabaseMasterUserPasswordOutput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseMasterUserPasswordOutput) SDKResponseMetadata added in v0.6.0

SDKResponseMetdata return sthe response metadata for the API.

func (GetRelationalDatabaseMasterUserPasswordOutput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabaseMasterUserPasswordRequest added in v0.6.0

GetRelationalDatabaseMasterUserPasswordRequest is a API request type for the GetRelationalDatabaseMasterUserPassword API operation.

func (GetRelationalDatabaseMasterUserPasswordRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseMasterUserPassword API request.

type GetRelationalDatabaseMetricDataInput added in v0.6.0

type GetRelationalDatabaseMetricDataInput struct {

	// The end of the time interval from which to get metric data.
	//
	// Constraints:
	//
	//    * Specified in Universal Coordinated Time (UTC).
	//
	//    * Specified in the Unix time format.
	//
	// For example, if you wish to use an end time of October 1, 2018, at 8 PM UTC,
	//    then you input 1538424000 as the end time.
	//
	// EndTime is a required field
	EndTime *time.Time `locationName:"endTime" type:"timestamp" timestampFormat:"unix" required:"true"`

	// The name of the metric data to return.
	//
	// MetricName is a required field
	MetricName RelationalDatabaseMetricName `locationName:"metricName" type:"string" required:"true" enum:"true"`

	// The granularity, in seconds, of the returned data points.
	//
	// Period is a required field
	Period *int64 `locationName:"period" min:"60" type:"integer" required:"true"`

	// The name of your database from which to get metric data.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`

	// The start of the time interval from which to get metric data.
	//
	// Constraints:
	//
	//    * Specified in Universal Coordinated Time (UTC).
	//
	//    * Specified in the Unix time format.
	//
	// For example, if you wish to use a start time of October 1, 2018, at 8 PM
	//    UTC, then you input 1538424000 as the start time.
	//
	// StartTime is a required field
	StartTime *time.Time `locationName:"startTime" type:"timestamp" timestampFormat:"unix" required:"true"`

	// The array of statistics for your metric data request.
	//
	// Statistics is a required field
	Statistics []MetricStatistic `locationName:"statistics" type:"list" required:"true"`

	// The unit for the metric data request.
	//
	// Unit is a required field
	Unit MetricUnit `locationName:"unit" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseMetricDataRequest

func (GetRelationalDatabaseMetricDataInput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseMetricDataInput) String added in v0.6.0

String returns the string representation

func (*GetRelationalDatabaseMetricDataInput) Validate added in v0.6.0

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

type GetRelationalDatabaseMetricDataOutput added in v0.6.0

type GetRelationalDatabaseMetricDataOutput struct {

	// An object describing the result of your get relational database metric data
	// request.
	MetricData []MetricDatapoint `locationName:"metricData" type:"list"`

	// The name of the metric.
	MetricName RelationalDatabaseMetricName `locationName:"metricName" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseMetricDataResult

func (GetRelationalDatabaseMetricDataOutput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseMetricDataOutput) SDKResponseMetadata added in v0.6.0

func (s GetRelationalDatabaseMetricDataOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetRelationalDatabaseMetricDataOutput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabaseMetricDataRequest added in v0.6.0

type GetRelationalDatabaseMetricDataRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseMetricDataInput
	Copy  func(*GetRelationalDatabaseMetricDataInput) GetRelationalDatabaseMetricDataRequest
}

GetRelationalDatabaseMetricDataRequest is a API request type for the GetRelationalDatabaseMetricData API operation.

func (GetRelationalDatabaseMetricDataRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseMetricData API request.

type GetRelationalDatabaseOutput added in v0.6.0

type GetRelationalDatabaseOutput struct {

	// An object describing the specified database.
	RelationalDatabase *RelationalDatabase `locationName:"relationalDatabase" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseResult

func (GetRelationalDatabaseOutput) GoString added in v0.6.0

func (s GetRelationalDatabaseOutput) GoString() string

GoString returns the string representation

func (GetRelationalDatabaseOutput) SDKResponseMetadata added in v0.6.0

func (s GetRelationalDatabaseOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetRelationalDatabaseOutput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabaseParametersInput added in v0.6.0

type GetRelationalDatabaseParametersInput struct {

	// A token used for advancing to a specific page of results for your get relational
	// database parameters request.
	PageToken *string `locationName:"pageToken" type:"string"`

	// The name of your database for which to get parameters.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseParametersRequest

func (GetRelationalDatabaseParametersInput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseParametersInput) String added in v0.6.0

String returns the string representation

func (*GetRelationalDatabaseParametersInput) Validate added in v0.6.0

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

type GetRelationalDatabaseParametersOutput added in v0.6.0

type GetRelationalDatabaseParametersOutput struct {

	// A token used for advancing to the next page of results from your get static
	// IPs request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`

	// An object describing the result of your get relational database parameters
	// request.
	Parameters []RelationalDatabaseParameter `locationName:"parameters" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseParametersResult

func (GetRelationalDatabaseParametersOutput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseParametersOutput) SDKResponseMetadata added in v0.6.0

func (s GetRelationalDatabaseParametersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetRelationalDatabaseParametersOutput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabaseParametersRequest added in v0.6.0

type GetRelationalDatabaseParametersRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseParametersInput
	Copy  func(*GetRelationalDatabaseParametersInput) GetRelationalDatabaseParametersRequest
}

GetRelationalDatabaseParametersRequest is a API request type for the GetRelationalDatabaseParameters API operation.

func (GetRelationalDatabaseParametersRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseParameters API request.

type GetRelationalDatabaseRequest added in v0.6.0

type GetRelationalDatabaseRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseInput
	Copy  func(*GetRelationalDatabaseInput) GetRelationalDatabaseRequest
}

GetRelationalDatabaseRequest is a API request type for the GetRelationalDatabase API operation.

func (GetRelationalDatabaseRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabase API request.

type GetRelationalDatabaseSnapshotInput added in v0.6.0

type GetRelationalDatabaseSnapshotInput struct {

	// The name of the database snapshot for which to get information.
	//
	// RelationalDatabaseSnapshotName is a required field
	RelationalDatabaseSnapshotName *string `locationName:"relationalDatabaseSnapshotName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseSnapshotRequest

func (GetRelationalDatabaseSnapshotInput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseSnapshotInput) String added in v0.6.0

String returns the string representation

func (*GetRelationalDatabaseSnapshotInput) Validate added in v0.6.0

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

type GetRelationalDatabaseSnapshotOutput added in v0.6.0

type GetRelationalDatabaseSnapshotOutput struct {

	// An object describing the specified database snapshot.
	RelationalDatabaseSnapshot *RelationalDatabaseSnapshot `locationName:"relationalDatabaseSnapshot" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseSnapshotResult

func (GetRelationalDatabaseSnapshotOutput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseSnapshotOutput) SDKResponseMetadata added in v0.6.0

func (s GetRelationalDatabaseSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetRelationalDatabaseSnapshotOutput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabaseSnapshotRequest added in v0.6.0

type GetRelationalDatabaseSnapshotRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseSnapshotInput
	Copy  func(*GetRelationalDatabaseSnapshotInput) GetRelationalDatabaseSnapshotRequest
}

GetRelationalDatabaseSnapshotRequest is a API request type for the GetRelationalDatabaseSnapshot API operation.

func (GetRelationalDatabaseSnapshotRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseSnapshot API request.

type GetRelationalDatabaseSnapshotsInput added in v0.6.0

type GetRelationalDatabaseSnapshotsInput struct {

	// A token used for advancing to a specific page of results for your get relational
	// database snapshots request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseSnapshotsRequest

func (GetRelationalDatabaseSnapshotsInput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseSnapshotsInput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabaseSnapshotsOutput added in v0.6.0

type GetRelationalDatabaseSnapshotsOutput struct {

	// A token used for advancing to the next page of results from your get relational
	// database snapshots request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`

	// An object describing the result of your get relational database snapshots
	// request.
	RelationalDatabaseSnapshots []RelationalDatabaseSnapshot `locationName:"relationalDatabaseSnapshots" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseSnapshotsResult

func (GetRelationalDatabaseSnapshotsOutput) GoString added in v0.6.0

GoString returns the string representation

func (GetRelationalDatabaseSnapshotsOutput) SDKResponseMetadata added in v0.6.0

func (s GetRelationalDatabaseSnapshotsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetRelationalDatabaseSnapshotsOutput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabaseSnapshotsRequest added in v0.6.0

type GetRelationalDatabaseSnapshotsRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseSnapshotsInput
	Copy  func(*GetRelationalDatabaseSnapshotsInput) GetRelationalDatabaseSnapshotsRequest
}

GetRelationalDatabaseSnapshotsRequest is a API request type for the GetRelationalDatabaseSnapshots API operation.

func (GetRelationalDatabaseSnapshotsRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseSnapshots API request.

type GetRelationalDatabasesInput added in v0.6.0

type GetRelationalDatabasesInput struct {

	// A token used for advancing to a specific page of results for your get relational
	// database request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabasesRequest

func (GetRelationalDatabasesInput) GoString added in v0.6.0

func (s GetRelationalDatabasesInput) GoString() string

GoString returns the string representation

func (GetRelationalDatabasesInput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabasesOutput added in v0.6.0

type GetRelationalDatabasesOutput struct {

	// A token used for advancing to the next page of results from your get relational
	// databases request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`

	// An object describing the result of your get relational databases request.
	RelationalDatabases []RelationalDatabase `locationName:"relationalDatabases" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabasesResult

func (GetRelationalDatabasesOutput) GoString added in v0.6.0

func (s GetRelationalDatabasesOutput) GoString() string

GoString returns the string representation

func (GetRelationalDatabasesOutput) SDKResponseMetadata added in v0.6.0

func (s GetRelationalDatabasesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetRelationalDatabasesOutput) String added in v0.6.0

String returns the string representation

type GetRelationalDatabasesRequest added in v0.6.0

type GetRelationalDatabasesRequest struct {
	*aws.Request
	Input *GetRelationalDatabasesInput
	Copy  func(*GetRelationalDatabasesInput) GetRelationalDatabasesRequest
}

GetRelationalDatabasesRequest is a API request type for the GetRelationalDatabases API operation.

func (GetRelationalDatabasesRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabases API request.

type GetStaticIpInput

type GetStaticIpInput struct {

	// The name of the static IP in Lightsail.
	//
	// StaticIpName is a required field
	StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpRequest

func (GetStaticIpInput) GoString

func (s GetStaticIpInput) GoString() string

GoString returns the string representation

func (GetStaticIpInput) String

func (s GetStaticIpInput) String() string

String returns the string representation

func (*GetStaticIpInput) Validate

func (s *GetStaticIpInput) Validate() error

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

type GetStaticIpOutput

type GetStaticIpOutput struct {

	// An array of key-value pairs containing information about the requested static
	// IP.
	StaticIp *StaticIp `locationName:"staticIp" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpResult

func (GetStaticIpOutput) GoString

func (s GetStaticIpOutput) GoString() string

GoString returns the string representation

func (GetStaticIpOutput) SDKResponseMetadata

func (s GetStaticIpOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetStaticIpOutput) String

func (s GetStaticIpOutput) String() string

String returns the string representation

type GetStaticIpRequest

type GetStaticIpRequest struct {
	*aws.Request
	Input *GetStaticIpInput
	Copy  func(*GetStaticIpInput) GetStaticIpRequest
}

GetStaticIpRequest is a API request type for the GetStaticIp API operation.

func (GetStaticIpRequest) Send

Send marshals and sends the GetStaticIp API request.

type GetStaticIpsInput

type GetStaticIpsInput struct {

	// A token used for advancing to the next page of results from your get static
	// IPs request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpsRequest

func (GetStaticIpsInput) GoString

func (s GetStaticIpsInput) GoString() string

GoString returns the string representation

func (GetStaticIpsInput) String

func (s GetStaticIpsInput) String() string

String returns the string representation

type GetStaticIpsOutput

type GetStaticIpsOutput struct {

	// A token used for advancing to the next page of results from your get static
	// IPs request.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`

	// An array of key-value pairs containing information about your get static
	// IPs request.
	StaticIps []StaticIp `locationName:"staticIps" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIpsResult

func (GetStaticIpsOutput) GoString

func (s GetStaticIpsOutput) GoString() string

GoString returns the string representation

func (GetStaticIpsOutput) SDKResponseMetadata

func (s GetStaticIpsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetStaticIpsOutput) String

func (s GetStaticIpsOutput) String() string

String returns the string representation

type GetStaticIpsRequest

type GetStaticIpsRequest struct {
	*aws.Request
	Input *GetStaticIpsInput
	Copy  func(*GetStaticIpsInput) GetStaticIpsRequest
}

GetStaticIpsRequest is a API request type for the GetStaticIps API operation.

func (GetStaticIpsRequest) Send

Send marshals and sends the GetStaticIps API request.

type ImportKeyPairInput

type ImportKeyPairInput struct {

	// The name of the key pair for which you want to import the public key.
	//
	// KeyPairName is a required field
	KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"`

	// A base64-encoded public key of the ssh-rsa type.
	//
	// PublicKeyBase64 is a required field
	PublicKeyBase64 *string `locationName:"publicKeyBase64" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPairRequest

func (ImportKeyPairInput) GoString

func (s ImportKeyPairInput) GoString() string

GoString returns the string representation

func (ImportKeyPairInput) String

func (s ImportKeyPairInput) String() string

String returns the string representation

func (*ImportKeyPairInput) Validate

func (s *ImportKeyPairInput) Validate() error

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

type ImportKeyPairOutput

type ImportKeyPairOutput struct {

	// An array of key-value pairs containing information about the request operation.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPairResult

func (ImportKeyPairOutput) GoString

func (s ImportKeyPairOutput) GoString() string

GoString returns the string representation

func (ImportKeyPairOutput) SDKResponseMetadata

func (s ImportKeyPairOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ImportKeyPairOutput) String

func (s ImportKeyPairOutput) String() string

String returns the string representation

type ImportKeyPairRequest

type ImportKeyPairRequest struct {
	*aws.Request
	Input *ImportKeyPairInput
	Copy  func(*ImportKeyPairInput) ImportKeyPairRequest
}

ImportKeyPairRequest is a API request type for the ImportKeyPair API operation.

func (ImportKeyPairRequest) Send

Send marshals and sends the ImportKeyPair API request.

type Instance

type Instance struct {

	// The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).
	Arn *string `locationName:"arn" type:"string"`

	// The blueprint ID (e.g., os_amlinux_2016_03).
	BlueprintId *string `locationName:"blueprintId" type:"string"`

	// The friendly name of the blueprint (e.g., Amazon Linux).
	BlueprintName *string `locationName:"blueprintName" type:"string"`

	// The bundle for the instance (e.g., micro_1_0).
	BundleId *string `locationName:"bundleId" type:"string"`

	// The timestamp when the instance was created (e.g., 1479734909.17).
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The size of the vCPU and the amount of RAM for the instance.
	Hardware *InstanceHardware `locationName:"hardware" type:"structure"`

	// The IPv6 address of the instance.
	Ipv6Address *string `locationName:"ipv6Address" type:"string"`

	// A Boolean value indicating whether this instance has a static IP assigned
	// to it.
	IsStaticIp *bool `locationName:"isStaticIp" type:"boolean"`

	// The region name and Availability Zone where the instance is located.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).
	Name *string `locationName:"name" type:"string"`

	// Information about the public ports and monthly data transfer rates for the
	// instance.
	Networking *InstanceNetworking `locationName:"networking" type:"structure"`

	// The private IP address of the instance.
	PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"`

	// The public IP address of the instance.
	PublicIpAddress *string `locationName:"publicIpAddress" type:"string"`

	// The type of resource (usually Instance).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair).
	SshKeyName *string `locationName:"sshKeyName" type:"string"`

	// The status code and the state (e.g., running) for the instance.
	State *InstanceState `locationName:"state" type:"structure"`

	// The support code. Include this code in your email to support when you have
	// questions about an instance or another resource in Lightsail. This code enables
	// our support team to look up your Lightsail information more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`

	// The user name for connecting to the instance (e.g., ec2-user).
	Username *string `locationName:"username" type:"string"`
	// contains filtered or unexported fields
}

Describes an instance (a virtual private server). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Instance

func (Instance) GoString

func (s Instance) GoString() string

GoString returns the string representation

func (Instance) String

func (s Instance) String() string

String returns the string representation

type InstanceAccessDetails

type InstanceAccessDetails struct {

	// For SSH access, the public key to use when accessing your instance For OpenSSH
	// clients (e.g., command line SSH), you should save this value to tempkey-cert.pub.
	CertKey *string `locationName:"certKey" type:"string"`

	// For SSH access, the date on which the temporary keys expire.
	ExpiresAt *time.Time `locationName:"expiresAt" type:"timestamp" timestampFormat:"unix"`

	// The name of this Amazon Lightsail instance.
	InstanceName *string `locationName:"instanceName" type:"string"`

	// The public IP address of the Amazon Lightsail instance.
	IpAddress *string `locationName:"ipAddress" type:"string"`

	// For RDP access, the password for your Amazon Lightsail instance. Password
	// will be an empty string if the password for your new instance is not ready
	// yet. When you create an instance, it can take up to 15 minutes for the instance
	// to be ready.
	//
	// If you create an instance using any key pair other than the default (LightsailDefaultKeyPair),
	// password will always be an empty string.
	//
	// If you change the Administrator password on the instance, Lightsail will
	// continue to return the original password value. When accessing the instance
	// using RDP, you need to manually enter the Administrator password after changing
	// it from the default.
	Password *string `locationName:"password" type:"string"`

	// For a Windows Server-based instance, an object with the data you can use
	// to retrieve your password. This is only needed if password is empty and the
	// instance is not new (and therefore the password is not ready yet). When you
	// create an instance, it can take up to 15 minutes for the instance to be ready.
	PasswordData *PasswordData `locationName:"passwordData" type:"structure"`

	// For SSH access, the temporary private key. For OpenSSH clients (e.g., command
	// line SSH), you should save this value to tempkey).
	PrivateKey *string `locationName:"privateKey" type:"string"`

	// The protocol for these Amazon Lightsail instance access details.
	Protocol InstanceAccessProtocol `locationName:"protocol" type:"string" enum:"true"`

	// The user name to use when logging in to the Amazon Lightsail instance.
	Username *string `locationName:"username" type:"string"`
	// contains filtered or unexported fields
}

The parameters for gaining temporary access to one of your Amazon Lightsail instances. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceAccessDetails

func (InstanceAccessDetails) GoString

func (s InstanceAccessDetails) GoString() string

GoString returns the string representation

func (InstanceAccessDetails) String

func (s InstanceAccessDetails) String() string

String returns the string representation

type InstanceAccessProtocol

type InstanceAccessProtocol string
const (
	InstanceAccessProtocolSsh InstanceAccessProtocol = "ssh"
	InstanceAccessProtocolRdp InstanceAccessProtocol = "rdp"
)

Enum values for InstanceAccessProtocol

func (InstanceAccessProtocol) MarshalValue added in v0.3.0

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

func (InstanceAccessProtocol) MarshalValueBuf added in v0.3.0

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

type InstanceEntry added in v0.6.0

type InstanceEntry struct {

	// The Availability Zone for the new Amazon EC2 instance.
	//
	// AvailabilityZone is a required field
	AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"`

	// The instance type (e.g., t2.micro) to use for the new Amazon EC2 instance.
	//
	// InstanceType is a required field
	InstanceType *string `locationName:"instanceType" type:"string" required:"true"`

	// The port configuration to use for the new Amazon EC2 instance.
	//
	// The following configuration options are available:
	//
	//    * DEFAULT — Use the default firewall settings from the image.
	//
	//    * INSTANCE — Use the firewall settings from the source Lightsail instance.
	//
	//    * NONE — Default to Amazon EC2.
	//
	// PortInfoSource is a required field
	PortInfoSource PortInfoSourceType `locationName:"portInfoSource" type:"string" required:"true" enum:"true"`

	// The name of the export snapshot record, which contains the exported Lightsail
	// instance snapshot that will be used as the source of the new Amazon EC2 instance.
	//
	// Use the get export snapshot records operation to get a list of export snapshot
	// records that you can use to create a CloudFormation stack.
	//
	// SourceName is a required field
	SourceName *string `locationName:"sourceName" type:"string" required:"true"`

	// A launch script you can create that configures a server with additional user
	// data. For example, you might want to run apt-get -y update.
	//
	// Depending on the machine image you choose, the command to get software on
	// your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu
	// use apt-get, and FreeBSD uses pkg.
	UserData *string `locationName:"userData" type:"string"`
	// contains filtered or unexported fields
}

Describes the Amazon Elastic Compute Cloud instance and related resources to be created using the create cloud formation stack operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceEntry

func (InstanceEntry) GoString added in v0.6.0

func (s InstanceEntry) GoString() string

GoString returns the string representation

func (InstanceEntry) String added in v0.6.0

func (s InstanceEntry) String() string

String returns the string representation

func (*InstanceEntry) Validate added in v0.6.0

func (s *InstanceEntry) Validate() error

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

type InstanceHardware

type InstanceHardware struct {

	// The number of vCPUs the instance has.
	CpuCount *int64 `locationName:"cpuCount" type:"integer"`

	// The disks attached to the instance.
	Disks []Disk `locationName:"disks" type:"list"`

	// The amount of RAM in GB on the instance (e.g., 1.0).
	RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"`
	// contains filtered or unexported fields
}

Describes the hardware for the instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceHardware

func (InstanceHardware) GoString

func (s InstanceHardware) GoString() string

GoString returns the string representation

func (InstanceHardware) String

func (s InstanceHardware) String() string

String returns the string representation

type InstanceHealthReason added in v0.2.0

type InstanceHealthReason string
const (
	InstanceHealthReasonLbRegistrationInProgress         InstanceHealthReason = "Lb.RegistrationInProgress"
	InstanceHealthReasonLbInitialHealthChecking          InstanceHealthReason = "Lb.InitialHealthChecking"
	InstanceHealthReasonLbInternalError                  InstanceHealthReason = "Lb.InternalError"
	InstanceHealthReasonInstanceResponseCodeMismatch     InstanceHealthReason = "Instance.ResponseCodeMismatch"
	InstanceHealthReasonInstanceTimeout                  InstanceHealthReason = "Instance.Timeout"
	InstanceHealthReasonInstanceFailedHealthChecks       InstanceHealthReason = "Instance.FailedHealthChecks"
	InstanceHealthReasonInstanceNotRegistered            InstanceHealthReason = "Instance.NotRegistered"
	InstanceHealthReasonInstanceNotInUse                 InstanceHealthReason = "Instance.NotInUse"
	InstanceHealthReasonInstanceDeregistrationInProgress InstanceHealthReason = "Instance.DeregistrationInProgress"
	InstanceHealthReasonInstanceInvalidState             InstanceHealthReason = "Instance.InvalidState"
	InstanceHealthReasonInstanceIpUnusable               InstanceHealthReason = "Instance.IpUnusable"
)

Enum values for InstanceHealthReason

func (InstanceHealthReason) MarshalValue added in v0.3.0

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

func (InstanceHealthReason) MarshalValueBuf added in v0.3.0

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

type InstanceHealthState added in v0.2.0

type InstanceHealthState string
const (
	InstanceHealthStateInitial     InstanceHealthState = "initial"
	InstanceHealthStateHealthy     InstanceHealthState = "healthy"
	InstanceHealthStateUnhealthy   InstanceHealthState = "unhealthy"
	InstanceHealthStateUnused      InstanceHealthState = "unused"
	InstanceHealthStateDraining    InstanceHealthState = "draining"
	InstanceHealthStateUnavailable InstanceHealthState = "unavailable"
)

Enum values for InstanceHealthState

func (InstanceHealthState) MarshalValue added in v0.3.0

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

func (InstanceHealthState) MarshalValueBuf added in v0.3.0

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

type InstanceHealthSummary added in v0.2.0

type InstanceHealthSummary struct {

	// Describes the overall instance health. Valid values are below.
	InstanceHealth InstanceHealthState `locationName:"instanceHealth" type:"string" enum:"true"`

	// More information about the instance health. If the instanceHealth is healthy,
	// then an instanceHealthReason value is not provided.
	//
	// If instanceHealth is initial, the instanceHealthReason value can be one of
	// the following:
	//
	//    * Lb.RegistrationInProgress - The target instance is in the process of
	//    being registered with the load balancer.
	//
	//    * Lb.InitialHealthChecking - The Lightsail load balancer is still sending
	//    the target instance the minimum number of health checks required to determine
	//    its health status.
	//
	// If instanceHealth is unhealthy, the instanceHealthReason value can be one
	// of the following:
	//
	//    * Instance.ResponseCodeMismatch - The health checks did not return an
	//    expected HTTP code.
	//
	//    * Instance.Timeout - The health check requests timed out.
	//
	//    * Instance.FailedHealthChecks - The health checks failed because the connection
	//    to the target instance timed out, the target instance response was malformed,
	//    or the target instance failed the health check for an unknown reason.
	//
	//    * Lb.InternalError - The health checks failed due to an internal error.
	//
	// If instanceHealth is unused, the instanceHealthReason value can be one of
	// the following:
	//
	//    * Instance.NotRegistered - The target instance is not registered with
	//    the target group.
	//
	//    * Instance.NotInUse - The target group is not used by any load balancer,
	//    or the target instance is in an Availability Zone that is not enabled
	//    for its load balancer.
	//
	//    * Instance.IpUnusable - The target IP address is reserved for use by a
	//    Lightsail load balancer.
	//
	//    * Instance.InvalidState - The target is in the stopped or terminated state.
	//
	// If instanceHealth is draining, the instanceHealthReason value can be one
	// of the following:
	//
	//    * Instance.DeregistrationInProgress - The target instance is in the process
	//    of being deregistered and the deregistration delay period has not expired.
	InstanceHealthReason InstanceHealthReason `locationName:"instanceHealthReason" type:"string" enum:"true"`

	// The name of the Lightsail instance for which you are requesting health check
	// data.
	InstanceName *string `locationName:"instanceName" type:"string"`
	// contains filtered or unexported fields
}

Describes information about the health of the instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceHealthSummary

func (InstanceHealthSummary) GoString added in v0.2.0

func (s InstanceHealthSummary) GoString() string

GoString returns the string representation

func (InstanceHealthSummary) String added in v0.2.0

func (s InstanceHealthSummary) String() string

String returns the string representation

type InstanceMetricName

type InstanceMetricName string
const (
	InstanceMetricNameCpuutilization            InstanceMetricName = "CPUUtilization"
	InstanceMetricNameNetworkIn                 InstanceMetricName = "NetworkIn"
	InstanceMetricNameNetworkOut                InstanceMetricName = "NetworkOut"
	InstanceMetricNameStatusCheckFailed         InstanceMetricName = "StatusCheckFailed"
	InstanceMetricNameStatusCheckFailedInstance InstanceMetricName = "StatusCheckFailed_Instance"
	InstanceMetricNameStatusCheckFailedSystem   InstanceMetricName = "StatusCheckFailed_System"
)

Enum values for InstanceMetricName

func (InstanceMetricName) MarshalValue added in v0.3.0

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

func (InstanceMetricName) MarshalValueBuf added in v0.3.0

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

type InstanceNetworking

type InstanceNetworking struct {

	// The amount of data in GB allocated for monthly data transfers.
	MonthlyTransfer *MonthlyTransfer `locationName:"monthlyTransfer" type:"structure"`

	// An array of key-value pairs containing information about the ports on the
	// instance.
	Ports []InstancePortInfo `locationName:"ports" type:"list"`
	// contains filtered or unexported fields
}

Describes monthly data transfer rates and port information for an instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceNetworking

func (InstanceNetworking) GoString

func (s InstanceNetworking) GoString() string

GoString returns the string representation

func (InstanceNetworking) String

func (s InstanceNetworking) String() string

String returns the string representation

type InstancePlatform added in v0.2.0

type InstancePlatform string
const (
	InstancePlatformLinuxUnix InstancePlatform = "LINUX_UNIX"
	InstancePlatformWindows   InstancePlatform = "WINDOWS"
)

Enum values for InstancePlatform

func (InstancePlatform) MarshalValue added in v0.3.0

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

func (InstancePlatform) MarshalValueBuf added in v0.3.0

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

type InstancePortInfo

type InstancePortInfo struct {

	// The access direction (inbound or outbound).
	AccessDirection AccessDirection `locationName:"accessDirection" type:"string" enum:"true"`

	// The location from which access is allowed (e.g., Anywhere (0.0.0.0/0)).
	AccessFrom *string `locationName:"accessFrom" type:"string"`

	// The type of access (Public or Private).
	AccessType PortAccessType `locationName:"accessType" type:"string" enum:"true"`

	// The common name.
	CommonName *string `locationName:"commonName" type:"string"`

	// The first port in the range.
	FromPort *int64 `locationName:"fromPort" type:"integer"`

	// The protocol being used. Can be one of the following.
	//
	//    * tcp - Transmission Control Protocol (TCP) provides reliable, ordered,
	//    and error-checked delivery of streamed data between applications running
	//    on hosts communicating by an IP network. If you have an application that
	//    doesn't require reliable data stream service, use UDP instead.
	//
	//    * all - All transport layer protocol types. For more general information,
	//    see Transport layer (https://en.wikipedia.org/wiki/Transport_layer) on
	//    Wikipedia.
	//
	//    * udp - With User Datagram Protocol (UDP), computer applications can send
	//    messages (or datagrams) to other hosts on an Internet Protocol (IP) network.
	//    Prior communications are not required to set up transmission channels
	//    or data paths. Applications that don't require reliable data stream service
	//    can use UDP, which provides a connectionless datagram service that emphasizes
	//    reduced latency over reliability. If you do require reliable data stream
	//    service, use TCP instead.
	Protocol NetworkProtocol `locationName:"protocol" type:"string" enum:"true"`

	// The last port in the range.
	ToPort *int64 `locationName:"toPort" type:"integer"`
	// contains filtered or unexported fields
}

Describes information about the instance ports. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortInfo

func (InstancePortInfo) GoString

func (s InstancePortInfo) GoString() string

GoString returns the string representation

func (InstancePortInfo) String

func (s InstancePortInfo) String() string

String returns the string representation

type InstancePortState

type InstancePortState struct {

	// The first port in the range.
	FromPort *int64 `locationName:"fromPort" type:"integer"`

	// The protocol being used. Can be one of the following.
	//
	//    * tcp - Transmission Control Protocol (TCP) provides reliable, ordered,
	//    and error-checked delivery of streamed data between applications running
	//    on hosts communicating by an IP network. If you have an application that
	//    doesn't require reliable data stream service, use UDP instead.
	//
	//    * all - All transport layer protocol types. For more general information,
	//    see Transport layer (https://en.wikipedia.org/wiki/Transport_layer) on
	//    Wikipedia.
	//
	//    * udp - With User Datagram Protocol (UDP), computer applications can send
	//    messages (or datagrams) to other hosts on an Internet Protocol (IP) network.
	//    Prior communications are not required to set up transmission channels
	//    or data paths. Applications that don't require reliable data stream service
	//    can use UDP, which provides a connectionless datagram service that emphasizes
	//    reduced latency over reliability. If you do require reliable data stream
	//    service, use TCP instead.
	Protocol NetworkProtocol `locationName:"protocol" type:"string" enum:"true"`

	// Specifies whether the instance port is open or closed.
	State PortState `locationName:"state" type:"string" enum:"true"`

	// The last port in the range.
	ToPort *int64 `locationName:"toPort" type:"integer"`
	// contains filtered or unexported fields
}

Describes the port state. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortState

func (InstancePortState) GoString

func (s InstancePortState) GoString() string

GoString returns the string representation

func (InstancePortState) String

func (s InstancePortState) String() string

String returns the string representation

type InstanceSnapshot

type InstanceSnapshot struct {

	// The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).
	Arn *string `locationName:"arn" type:"string"`

	// The timestamp when the snapshot was created (e.g., 1479907467.024).
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// An array of disk objects containing information about all block storage disks.
	FromAttachedDisks []Disk `locationName:"fromAttachedDisks" type:"list"`

	// The blueprint ID from which you created the snapshot (e.g., os_debian_8_3).
	// A blueprint is a virtual private server (or instance) image used to create
	// instances quickly.
	FromBlueprintId *string `locationName:"fromBlueprintId" type:"string"`

	// The bundle ID from which you created the snapshot (e.g., micro_1_0).
	FromBundleId *string `locationName:"fromBundleId" type:"string"`

	// The Amazon Resource Name (ARN) of the instance from which the snapshot was
	// created (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE).
	FromInstanceArn *string `locationName:"fromInstanceArn" type:"string"`

	// The instance from which the snapshot was created.
	FromInstanceName *string `locationName:"fromInstanceName" type:"string"`

	// The region name and Availability Zone where you created the snapshot.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the snapshot.
	Name *string `locationName:"name" type:"string"`

	// The progress of the snapshot.
	Progress *string `locationName:"progress" type:"string"`

	// The type of resource (usually InstanceSnapshot).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The size in GB of the SSD.
	SizeInGb *int64 `locationName:"sizeInGb" type:"integer"`

	// The state the snapshot is in.
	State InstanceSnapshotState `locationName:"state" type:"string" enum:"true"`

	// The support code. Include this code in your email to support when you have
	// questions about an instance or another resource in Lightsail. This code enables
	// our support team to look up your Lightsail information more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Describes the snapshot of the virtual private server, or instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceSnapshot

func (InstanceSnapshot) GoString

func (s InstanceSnapshot) GoString() string

GoString returns the string representation

func (InstanceSnapshot) String

func (s InstanceSnapshot) String() string

String returns the string representation

type InstanceSnapshotInfo added in v0.6.0

type InstanceSnapshotInfo struct {

	// The blueprint ID from which the source instance (e.g., os_debian_8_3).
	FromBlueprintId *string `locationName:"fromBlueprintId" type:"string"`

	// The bundle ID from which the source instance was created (e.g., micro_1_0).
	FromBundleId *string `locationName:"fromBundleId" type:"string"`

	// A list of objects describing the disks that were attached to the source instance.
	FromDiskInfo []DiskInfo `locationName:"fromDiskInfo" type:"list"`
	// contains filtered or unexported fields
}

Describes an instance snapshot. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceSnapshotInfo

func (InstanceSnapshotInfo) GoString added in v0.6.0

func (s InstanceSnapshotInfo) GoString() string

GoString returns the string representation

func (InstanceSnapshotInfo) String added in v0.6.0

func (s InstanceSnapshotInfo) String() string

String returns the string representation

type InstanceSnapshotState

type InstanceSnapshotState string
const (
	InstanceSnapshotStatePending   InstanceSnapshotState = "pending"
	InstanceSnapshotStateError     InstanceSnapshotState = "error"
	InstanceSnapshotStateAvailable InstanceSnapshotState = "available"
)

Enum values for InstanceSnapshotState

func (InstanceSnapshotState) MarshalValue added in v0.3.0

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

func (InstanceSnapshotState) MarshalValueBuf added in v0.3.0

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

type InstanceState

type InstanceState struct {

	// The status code for the instance.
	Code *int64 `locationName:"code" type:"integer"`

	// The state of the instance (e.g., running or pending).
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Describes the virtual private server (or instance) status. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceState

func (InstanceState) GoString

func (s InstanceState) GoString() string

GoString returns the string representation

func (InstanceState) String

func (s InstanceState) String() string

String returns the string representation

type IsVpcPeeredInput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeeredRequest

func (IsVpcPeeredInput) GoString

func (s IsVpcPeeredInput) GoString() string

GoString returns the string representation

func (IsVpcPeeredInput) String

func (s IsVpcPeeredInput) String() string

String returns the string representation

type IsVpcPeeredOutput

type IsVpcPeeredOutput struct {

	// Returns true if the Lightsail VPC is peered; otherwise, false.
	IsPeered *bool `locationName:"isPeered" type:"boolean"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeeredResult

func (IsVpcPeeredOutput) GoString

func (s IsVpcPeeredOutput) GoString() string

GoString returns the string representation

func (IsVpcPeeredOutput) SDKResponseMetadata

func (s IsVpcPeeredOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (IsVpcPeeredOutput) String

func (s IsVpcPeeredOutput) String() string

String returns the string representation

type IsVpcPeeredRequest

type IsVpcPeeredRequest struct {
	*aws.Request
	Input *IsVpcPeeredInput
	Copy  func(*IsVpcPeeredInput) IsVpcPeeredRequest
}

IsVpcPeeredRequest is a API request type for the IsVpcPeered API operation.

func (IsVpcPeeredRequest) Send

Send marshals and sends the IsVpcPeered API request.

type KeyPair

type KeyPair struct {

	// The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).
	Arn *string `locationName:"arn" type:"string"`

	// The timestamp when the key pair was created (e.g., 1479816991.349).
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The RSA fingerprint of the key pair.
	Fingerprint *string `locationName:"fingerprint" type:"string"`

	// The region name and Availability Zone where the key pair was created.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The friendly name of the SSH key pair.
	Name *string `locationName:"name" type:"string"`

	// The resource type (usually KeyPair).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The support code. Include this code in your email to support when you have
	// questions about an instance or another resource in Lightsail. This code enables
	// our support team to look up your Lightsail information more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Describes the SSH key pair. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/KeyPair

func (KeyPair) GoString

func (s KeyPair) GoString() string

GoString returns the string representation

func (KeyPair) String

func (s KeyPair) String() string

String returns the string representation

type Lightsail

type Lightsail struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *Lightsail

New creates a new instance of the Lightsail client with a config.

Example:

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

func (*Lightsail) AllocateStaticIpRequest

func (c *Lightsail) AllocateStaticIpRequest(input *AllocateStaticIpInput) AllocateStaticIpRequest

AllocateStaticIpRequest returns a request value for making API operation for Amazon Lightsail.

Allocates a static IP address.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AllocateStaticIp

func (*Lightsail) AttachDiskRequest added in v0.2.0

func (c *Lightsail) AttachDiskRequest(input *AttachDiskInput) AttachDiskRequest

AttachDiskRequest returns a request value for making API operation for Amazon Lightsail.

Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name.

The attach disk operation supports tag-based access control via resource tags applied to the resource identified by diskName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachDisk

func (*Lightsail) AttachInstancesToLoadBalancerRequest added in v0.2.0

func (c *Lightsail) AttachInstancesToLoadBalancerRequest(input *AttachInstancesToLoadBalancerInput) AttachInstancesToLoadBalancerRequest

AttachInstancesToLoadBalancerRequest returns a request value for making API operation for Amazon Lightsail.

Attaches one or more Lightsail instances to a load balancer.

After some time, the instances are attached to the load balancer and the health check status is available.

The attach instances to load balancer operation supports tag-based access control via resource tags applied to the resource identified by loadBalancerName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachInstancesToLoadBalancer

func (*Lightsail) AttachLoadBalancerTlsCertificateRequest added in v0.2.0

func (c *Lightsail) AttachLoadBalancerTlsCertificateRequest(input *AttachLoadBalancerTlsCertificateInput) AttachLoadBalancerTlsCertificateRequest

AttachLoadBalancerTlsCertificateRequest returns a request value for making API operation for Amazon Lightsail.

Attaches a Transport Layer Security (TLS) certificate to your load balancer. TLS is just an updated, more secure version of Secure Socket Layer (SSL).

Once you create and validate your certificate, you can attach it to your load balancer. You can also use this API to rotate the certificates on your account. Use the AttachLoadBalancerTlsCertificate operation with the non-attached certificate, and it will replace the existing one and become the attached certificate.

The attach load balancer tls certificate operation supports tag-based access control via resource tags applied to the resource identified by loadBalancerName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachLoadBalancerTlsCertificate

func (*Lightsail) AttachStaticIpRequest

func (c *Lightsail) AttachStaticIpRequest(input *AttachStaticIpInput) AttachStaticIpRequest

AttachStaticIpRequest returns a request value for making API operation for Amazon Lightsail.

Attaches a static IP address to a specific Amazon Lightsail instance.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachStaticIp

func (*Lightsail) CloseInstancePublicPortsRequest

func (c *Lightsail) CloseInstancePublicPortsRequest(input *CloseInstancePublicPortsInput) CloseInstancePublicPortsRequest

CloseInstancePublicPortsRequest returns a request value for making API operation for Amazon Lightsail.

Closes the public ports on a specific Amazon Lightsail instance.

The close instance public ports operation supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPorts

func (*Lightsail) CopySnapshotRequest added in v0.6.0

func (c *Lightsail) CopySnapshotRequest(input *CopySnapshotInput) CopySnapshotRequest

CopySnapshotRequest returns a request value for making API operation for Amazon Lightsail.

Copies an instance or disk snapshot from one AWS Region to another in Amazon Lightsail.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CopySnapshot

func (*Lightsail) CreateCloudFormationStackRequest added in v0.6.0

func (c *Lightsail) CreateCloudFormationStackRequest(input *CreateCloudFormationStackInput) CreateCloudFormationStackRequest

CreateCloudFormationStackRequest returns a request value for making API operation for Amazon Lightsail.

Creates an AWS CloudFormation stack, which creates a new Amazon EC2 instance from an exported Amazon Lightsail snapshot. This operation results in a CloudFormation stack record that can be used to track the AWS CloudFormation stack created. Use the get cloud formation stack records operation to get a list of the CloudFormation stacks created.

Wait until after your new Amazon EC2 instance is created before running the create cloud formation stack operation again with the same export snapshot record.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateCloudFormationStack

func (*Lightsail) CreateDiskFromSnapshotRequest added in v0.2.0

func (c *Lightsail) CreateDiskFromSnapshotRequest(input *CreateDiskFromSnapshotInput) CreateDiskFromSnapshotRequest

CreateDiskFromSnapshotRequest returns a request value for making API operation for Amazon Lightsail.

Creates a block storage disk from a disk snapshot that can be attached to a Lightsail instance in the same Availability Zone (e.g., us-east-2a). The disk is created in the regional endpoint that you send the HTTP request to. For more information, see Regions and Availability Zones in Lightsail (https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail).

The create disk from snapshot operation supports tag-based access control via request tags and resource tags applied to the resource identified by diskSnapshotName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshot

func (*Lightsail) CreateDiskRequest added in v0.2.0

func (c *Lightsail) CreateDiskRequest(input *CreateDiskInput) CreateDiskRequest

CreateDiskRequest returns a request value for making API operation for Amazon Lightsail.

Creates a block storage disk that can be attached to a Lightsail instance in the same Availability Zone (e.g., us-east-2a). The disk is created in the regional endpoint that you send the HTTP request to. For more information, see Regions and Availability Zones in Lightsail (https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail).

The create disk operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDisk

func (*Lightsail) CreateDiskSnapshotRequest added in v0.2.0

func (c *Lightsail) CreateDiskSnapshotRequest(input *CreateDiskSnapshotInput) CreateDiskSnapshotRequest

CreateDiskSnapshotRequest returns a request value for making API operation for Amazon Lightsail.

Creates a snapshot of a block storage disk. You can use snapshots for backups, to make copies of disks, and to save data before shutting down a Lightsail instance.

You can take a snapshot of an attached disk that is in use; however, snapshots only capture data that has been written to your disk at the time the snapshot command is issued. This may exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the disk long enough to take a snapshot, your snapshot should be complete. Nevertheless, if you cannot pause all file writes to the disk, you should unmount the disk from within the Lightsail instance, issue the create disk snapshot command, and then remount the disk to ensure a consistent and complete snapshot. You may remount and use your disk while the snapshot status is pending.

The create disk snapshot operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshot

func (*Lightsail) CreateDomainEntryRequest

func (c *Lightsail) CreateDomainEntryRequest(input *CreateDomainEntryInput) CreateDomainEntryRequest

CreateDomainEntryRequest returns a request value for making API operation for Amazon Lightsail.

Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX record.

The create domain entry operation supports tag-based access control via resource tags applied to the resource identified by domainName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainEntry

func (*Lightsail) CreateDomainRequest

func (c *Lightsail) CreateDomainRequest(input *CreateDomainInput) CreateDomainRequest

CreateDomainRequest returns a request value for making API operation for Amazon Lightsail.

Creates a domain resource for the specified domain (e.g., example.com).

The create domain operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomain

func (*Lightsail) CreateInstanceSnapshotRequest

func (c *Lightsail) CreateInstanceSnapshotRequest(input *CreateInstanceSnapshotInput) CreateInstanceSnapshotRequest

CreateInstanceSnapshotRequest returns a request value for making API operation for Amazon Lightsail.

Creates a snapshot of a specific virtual private server, or instance. You can use a snapshot to create a new instance that is based on that snapshot.

The create instance snapshot operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshot

func (*Lightsail) CreateInstancesFromSnapshotRequest

func (c *Lightsail) CreateInstancesFromSnapshotRequest(input *CreateInstancesFromSnapshotInput) CreateInstancesFromSnapshotRequest

CreateInstancesFromSnapshotRequest returns a request value for making API operation for Amazon Lightsail.

Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical configuration.

The create instances from snapshot operation supports tag-based access control via request tags and resource tags applied to the resource identified by instanceSnapshotName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshot

func (*Lightsail) CreateInstancesRequest

func (c *Lightsail) CreateInstancesRequest(input *CreateInstancesInput) CreateInstancesRequest

CreateInstancesRequest returns a request value for making API operation for Amazon Lightsail.

Creates one or more Amazon Lightsail virtual private servers, or instances. Create instances using active blueprints. Inactive blueprints are listed to support customers with existing instances but are not necessarily available for launch of new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases. Use the get blueprints operation to return a list of available blueprints.

The create instances operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstances

func (*Lightsail) CreateKeyPairRequest

func (c *Lightsail) CreateKeyPairRequest(input *CreateKeyPairInput) CreateKeyPairRequest

CreateKeyPairRequest returns a request value for making API operation for Amazon Lightsail.

Creates an SSH key pair.

The create key pair operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPair

func (*Lightsail) CreateLoadBalancerRequest added in v0.2.0

func (c *Lightsail) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) CreateLoadBalancerRequest

CreateLoadBalancerRequest returns a request value for making API operation for Amazon Lightsail.

Creates a Lightsail load balancer. To learn more about deciding whether to load balance your application, see Configure your Lightsail instances for load balancing (https://lightsail.aws.amazon.com/ls/docs/how-to/article/configure-lightsail-instances-for-load-balancing). You can create up to 5 load balancers per AWS Region in your account.

When you create a load balancer, you can specify a unique name and port settings. To change additional load balancer settings, use the UpdateLoadBalancerAttribute operation.

The create load balancer operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancer

func (*Lightsail) CreateLoadBalancerTlsCertificateRequest added in v0.2.0

func (c *Lightsail) CreateLoadBalancerTlsCertificateRequest(input *CreateLoadBalancerTlsCertificateInput) CreateLoadBalancerTlsCertificateRequest

CreateLoadBalancerTlsCertificateRequest returns a request value for making API operation for Amazon Lightsail.

Creates a Lightsail load balancer TLS certificate.

TLS is just an updated, more secure version of Secure Socket Layer (SSL).

The create load balancer tls certificate operation supports tag-based access control via resource tags applied to the resource identified by loadBalancerName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificate

func (*Lightsail) CreateRelationalDatabaseFromSnapshotRequest added in v0.6.0

func (c *Lightsail) CreateRelationalDatabaseFromSnapshotRequest(input *CreateRelationalDatabaseFromSnapshotInput) CreateRelationalDatabaseFromSnapshotRequest

CreateRelationalDatabaseFromSnapshotRequest returns a request value for making API operation for Amazon Lightsail.

Creates a new database from an existing database snapshot in Amazon Lightsail.

You can create a new database from a snapshot in if something goes wrong with your original database, or to change it to a different plan, such as a high availability or standard plan.

The create relational database from snapshot operation supports tag-based access control via request tags and resource tags applied to the resource identified by relationalDatabaseSnapshotName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseFromSnapshot

func (*Lightsail) CreateRelationalDatabaseRequest added in v0.6.0

func (c *Lightsail) CreateRelationalDatabaseRequest(input *CreateRelationalDatabaseInput) CreateRelationalDatabaseRequest

CreateRelationalDatabaseRequest returns a request value for making API operation for Amazon Lightsail.

Creates a new database in Amazon Lightsail.

The create relational database operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabase

func (*Lightsail) CreateRelationalDatabaseSnapshotRequest added in v0.6.0

func (c *Lightsail) CreateRelationalDatabaseSnapshotRequest(input *CreateRelationalDatabaseSnapshotInput) CreateRelationalDatabaseSnapshotRequest

CreateRelationalDatabaseSnapshotRequest returns a request value for making API operation for Amazon Lightsail.

Creates a snapshot of your database in Amazon Lightsail. You can use snapshots for backups, to make copies of a database, and to save data before deleting a database.

The create relational database snapshot operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseSnapshot

func (*Lightsail) DeleteDiskRequest added in v0.2.0

func (c *Lightsail) DeleteDiskRequest(input *DeleteDiskInput) DeleteDiskRequest

DeleteDiskRequest returns a request value for making API operation for Amazon Lightsail.

Deletes the specified block storage disk. The disk must be in the available state (not attached to a Lightsail instance).

The disk may remain in the deleting state for several minutes.

The delete disk operation supports tag-based access control via resource tags applied to the resource identified by diskName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDisk

func (*Lightsail) DeleteDiskSnapshotRequest added in v0.2.0

func (c *Lightsail) DeleteDiskSnapshotRequest(input *DeleteDiskSnapshotInput) DeleteDiskSnapshotRequest

DeleteDiskSnapshotRequest returns a request value for making API operation for Amazon Lightsail.

Deletes the specified disk snapshot.

When you make periodic snapshots of a disk, the snapshots are incremental, and only the blocks on the device that have changed since your last snapshot are saved in the new snapshot. When you delete a snapshot, only the data not needed for any other snapshot is removed. So regardless of which prior snapshots have been deleted, all active snapshots will have access to all the information needed to restore the disk.

The delete disk snapshot operation supports tag-based access control via resource tags applied to the resource identified by diskSnapshotName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskSnapshot

func (*Lightsail) DeleteDomainEntryRequest

func (c *Lightsail) DeleteDomainEntryRequest(input *DeleteDomainEntryInput) DeleteDomainEntryRequest

DeleteDomainEntryRequest returns a request value for making API operation for Amazon Lightsail.

Deletes a specific domain entry.

The delete domain entry operation supports tag-based access control via resource tags applied to the resource identified by domainName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomainEntry

func (*Lightsail) DeleteDomainRequest

func (c *Lightsail) DeleteDomainRequest(input *DeleteDomainInput) DeleteDomainRequest

DeleteDomainRequest returns a request value for making API operation for Amazon Lightsail.

Deletes the specified domain recordset and all of its domain records.

The delete domain operation supports tag-based access control via resource tags applied to the resource identified by domainName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDomain

func (*Lightsail) DeleteInstanceRequest

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

DeleteInstanceRequest returns a request value for making API operation for Amazon Lightsail.

Deletes a specific Amazon Lightsail virtual private server, or instance.

The delete instance operation supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstance

func (*Lightsail) DeleteInstanceSnapshotRequest

func (c *Lightsail) DeleteInstanceSnapshotRequest(input *DeleteInstanceSnapshotInput) DeleteInstanceSnapshotRequest

DeleteInstanceSnapshotRequest returns a request value for making API operation for Amazon Lightsail.

Deletes a specific snapshot of a virtual private server (or instance).

The delete instance snapshot operation supports tag-based access control via resource tags applied to the resource identified by instanceSnapshotName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceSnapshot

func (*Lightsail) DeleteKeyPairRequest

func (c *Lightsail) DeleteKeyPairRequest(input *DeleteKeyPairInput) DeleteKeyPairRequest

DeleteKeyPairRequest returns a request value for making API operation for Amazon Lightsail.

Deletes a specific SSH key pair.

The delete key pair operation supports tag-based access control via resource tags applied to the resource identified by keyPairName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteKeyPair

func (*Lightsail) DeleteLoadBalancerRequest added in v0.2.0

func (c *Lightsail) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) DeleteLoadBalancerRequest

DeleteLoadBalancerRequest returns a request value for making API operation for Amazon Lightsail.

Deletes a Lightsail load balancer and all its associated SSL/TLS certificates. Once the load balancer is deleted, you will need to create a new load balancer, create a new certificate, and verify domain ownership again.

The delete load balancer operation supports tag-based access control via resource tags applied to the resource identified by loadBalancerName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancer

func (*Lightsail) DeleteLoadBalancerTlsCertificateRequest added in v0.2.0

func (c *Lightsail) DeleteLoadBalancerTlsCertificateRequest(input *DeleteLoadBalancerTlsCertificateInput) DeleteLoadBalancerTlsCertificateRequest

DeleteLoadBalancerTlsCertificateRequest returns a request value for making API operation for Amazon Lightsail.

Deletes an SSL/TLS certificate associated with a Lightsail load balancer.

The delete load balancer tls certificate operation supports tag-based access control via resource tags applied to the resource identified by loadBalancerName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerTlsCertificate

func (*Lightsail) DeleteRelationalDatabaseRequest added in v0.6.0

func (c *Lightsail) DeleteRelationalDatabaseRequest(input *DeleteRelationalDatabaseInput) DeleteRelationalDatabaseRequest

DeleteRelationalDatabaseRequest returns a request value for making API operation for Amazon Lightsail.

Deletes a database in Amazon Lightsail.

The delete relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteRelationalDatabase

func (*Lightsail) DeleteRelationalDatabaseSnapshotRequest added in v0.6.0

func (c *Lightsail) DeleteRelationalDatabaseSnapshotRequest(input *DeleteRelationalDatabaseSnapshotInput) DeleteRelationalDatabaseSnapshotRequest

DeleteRelationalDatabaseSnapshotRequest returns a request value for making API operation for Amazon Lightsail.

Deletes a database snapshot in Amazon Lightsail.

The delete relational database snapshot operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteRelationalDatabaseSnapshot

func (*Lightsail) DetachDiskRequest added in v0.2.0

func (c *Lightsail) DetachDiskRequest(input *DetachDiskInput) DetachDiskRequest

DetachDiskRequest returns a request value for making API operation for Amazon Lightsail.

Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount any file systems on the device within your operating system before stopping the instance and detaching the disk.

The detach disk operation supports tag-based access control via resource tags applied to the resource identified by diskName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachDisk

func (*Lightsail) DetachInstancesFromLoadBalancerRequest added in v0.2.0

func (c *Lightsail) DetachInstancesFromLoadBalancerRequest(input *DetachInstancesFromLoadBalancerInput) DetachInstancesFromLoadBalancerRequest

DetachInstancesFromLoadBalancerRequest returns a request value for making API operation for Amazon Lightsail.

Detaches the specified instances from a Lightsail load balancer.

This operation waits until the instances are no longer needed before they are detached from the load balancer.

The detach instances from load balancer operation supports tag-based access control via resource tags applied to the resource identified by loadBalancerName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachInstancesFromLoadBalancer

func (*Lightsail) DetachStaticIpRequest

func (c *Lightsail) DetachStaticIpRequest(input *DetachStaticIpInput) DetachStaticIpRequest

DetachStaticIpRequest returns a request value for making API operation for Amazon Lightsail.

Detaches a static IP from the Amazon Lightsail instance to which it is attached.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachStaticIp

func (*Lightsail) DownloadDefaultKeyPairRequest

func (c *Lightsail) DownloadDefaultKeyPairRequest(input *DownloadDefaultKeyPairInput) DownloadDefaultKeyPairRequest

DownloadDefaultKeyPairRequest returns a request value for making API operation for Amazon Lightsail.

Downloads the default SSH key pair from the user's account.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPair

func (*Lightsail) ExportSnapshotRequest added in v0.6.0

func (c *Lightsail) ExportSnapshotRequest(input *ExportSnapshotInput) ExportSnapshotRequest

ExportSnapshotRequest returns a request value for making API operation for Amazon Lightsail.

Exports a Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic Compute Cloud (Amazon EC2). This operation results in an export snapshot record that can be used with the create cloud formation stack operation to create new Amazon EC2 instances.

Exported instance snapshots appear in Amazon EC2 as Amazon Machine Images (AMIs), and the instance system disk appears as an Amazon Elastic Block Store (Amazon EBS) volume. Exported disk snapshots appear in Amazon EC2 as Amazon EBS volumes. Snapshots are exported to the same Amazon Web Services Region in Amazon EC2 as the source Lightsail snapshot.

The export snapshotoperation supports tag-based access control via resource tags applied to the resource identified by sourceSnapshotName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

Use the get instance snapshots or get disk snapshots operations to get a list of snapshots that you can export to Amazon EC2.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ExportSnapshot

func (*Lightsail) GetActiveNamesRequest

func (c *Lightsail) GetActiveNamesRequest(input *GetActiveNamesInput) GetActiveNamesRequest

GetActiveNamesRequest returns a request value for making API operation for Amazon Lightsail.

Returns the names of all active (not deleted) resources.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetActiveNames

func (*Lightsail) GetBlueprintsRequest

func (c *Lightsail) GetBlueprintsRequest(input *GetBlueprintsInput) GetBlueprintsRequest

GetBlueprintsRequest returns a request value for making API operation for Amazon Lightsail.

Returns the list of available instance images, or blueprints. You can use a blueprint to create a new virtual private server already running a specific operating system, as well as a preinstalled app or development stack. The software each instance is running depends on the blueprint image you choose.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBlueprints

func (*Lightsail) GetBundlesRequest

func (c *Lightsail) GetBundlesRequest(input *GetBundlesInput) GetBundlesRequest

GetBundlesRequest returns a request value for making API operation for Amazon Lightsail.

Returns the list of bundles that are available for purchase. A bundle describes the specs for your virtual private server (or instance).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBundles

func (*Lightsail) GetCloudFormationStackRecordsRequest added in v0.6.0

func (c *Lightsail) GetCloudFormationStackRecordsRequest(input *GetCloudFormationStackRecordsInput) GetCloudFormationStackRecordsRequest

GetCloudFormationStackRecordsRequest returns a request value for making API operation for Amazon Lightsail.

Returns the CloudFormation stack record created as a result of the create cloud formation stack operation.

An AWS CloudFormation stack is used to create a new Amazon EC2 instance from an exported Lightsail snapshot.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetCloudFormationStackRecords

func (*Lightsail) GetDiskRequest added in v0.2.0

func (c *Lightsail) GetDiskRequest(input *GetDiskInput) GetDiskRequest

GetDiskRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about a specific block storage disk.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisk

func (*Lightsail) GetDiskSnapshotRequest added in v0.2.0

func (c *Lightsail) GetDiskSnapshotRequest(input *GetDiskSnapshotInput) GetDiskSnapshotRequest

GetDiskSnapshotRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about a specific block storage disk snapshot.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshot

func (*Lightsail) GetDiskSnapshotsRequest added in v0.2.0

func (c *Lightsail) GetDiskSnapshotsRequest(input *GetDiskSnapshotsInput) GetDiskSnapshotsRequest

GetDiskSnapshotsRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about all block storage disk snapshots in your AWS account and region.

If you are describing a long list of disk snapshots, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshots

func (*Lightsail) GetDisksRequest added in v0.2.0

func (c *Lightsail) GetDisksRequest(input *GetDisksInput) GetDisksRequest

GetDisksRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about all block storage disks in your AWS account and region.

If you are describing a long list of disks, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisks

func (*Lightsail) GetDomainRequest

func (c *Lightsail) GetDomainRequest(input *GetDomainInput) GetDomainRequest

GetDomainRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about a specific domain recordset.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomain

func (*Lightsail) GetDomainsRequest

func (c *Lightsail) GetDomainsRequest(input *GetDomainsInput) GetDomainsRequest

GetDomainsRequest returns a request value for making API operation for Amazon Lightsail.

Returns a list of all domains in the user's account.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDomains

func (*Lightsail) GetExportSnapshotRecordsRequest added in v0.6.0

func (c *Lightsail) GetExportSnapshotRecordsRequest(input *GetExportSnapshotRecordsInput) GetExportSnapshotRecordsRequest

GetExportSnapshotRecordsRequest returns a request value for making API operation for Amazon Lightsail.

Returns the export snapshot record created as a result of the export snapshot operation.

An export snapshot record can be used to create a new Amazon EC2 instance and its related resources with the create cloud formation stack operation.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetExportSnapshotRecords

func (*Lightsail) GetInstanceAccessDetailsRequest

func (c *Lightsail) GetInstanceAccessDetailsRequest(input *GetInstanceAccessDetailsInput) GetInstanceAccessDetailsRequest

GetInstanceAccessDetailsRequest returns a request value for making API operation for Amazon Lightsail.

Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.

The get instance access details operation supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceAccessDetails

func (*Lightsail) GetInstanceMetricDataRequest

func (c *Lightsail) GetInstanceMetricDataRequest(input *GetInstanceMetricDataInput) GetInstanceMetricDataRequest

GetInstanceMetricDataRequest returns a request value for making API operation for Amazon Lightsail.

Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricData

func (*Lightsail) GetInstancePortStatesRequest

func (c *Lightsail) GetInstancePortStatesRequest(input *GetInstancePortStatesInput) GetInstancePortStatesRequest

GetInstancePortStatesRequest returns a request value for making API operation for Amazon Lightsail.

Returns the port states for a specific virtual private server, or instance.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStates

func (*Lightsail) GetInstanceRequest

func (c *Lightsail) GetInstanceRequest(input *GetInstanceInput) GetInstanceRequest

GetInstanceRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about a specific Amazon Lightsail instance, which is a virtual private server.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstance

func (*Lightsail) GetInstanceSnapshotRequest

func (c *Lightsail) GetInstanceSnapshotRequest(input *GetInstanceSnapshotInput) GetInstanceSnapshotRequest

GetInstanceSnapshotRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about a specific instance snapshot.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshot

func (*Lightsail) GetInstanceSnapshotsRequest

func (c *Lightsail) GetInstanceSnapshotsRequest(input *GetInstanceSnapshotsInput) GetInstanceSnapshotsRequest

GetInstanceSnapshotsRequest returns a request value for making API operation for Amazon Lightsail.

Returns all instance snapshots for the user's account.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceSnapshots

func (*Lightsail) GetInstanceStateRequest

func (c *Lightsail) GetInstanceStateRequest(input *GetInstanceStateInput) GetInstanceStateRequest

GetInstanceStateRequest returns a request value for making API operation for Amazon Lightsail.

Returns the state of a specific instance. Works on one instance at a time.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceState

func (*Lightsail) GetInstancesRequest

func (c *Lightsail) GetInstancesRequest(input *GetInstancesInput) GetInstancesRequest

GetInstancesRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about all Amazon Lightsail virtual private servers, or instances.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstances

func (*Lightsail) GetKeyPairRequest

func (c *Lightsail) GetKeyPairRequest(input *GetKeyPairInput) GetKeyPairRequest

GetKeyPairRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about a specific key pair.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPair

func (*Lightsail) GetKeyPairsRequest

func (c *Lightsail) GetKeyPairsRequest(input *GetKeyPairsInput) GetKeyPairsRequest

GetKeyPairsRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about all key pairs in the user's account.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPairs

func (*Lightsail) GetLoadBalancerMetricDataRequest added in v0.2.0

func (c *Lightsail) GetLoadBalancerMetricDataRequest(input *GetLoadBalancerMetricDataInput) GetLoadBalancerMetricDataRequest

GetLoadBalancerMetricDataRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about health metrics for your Lightsail load balancer.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricData

func (*Lightsail) GetLoadBalancerRequest added in v0.2.0

func (c *Lightsail) GetLoadBalancerRequest(input *GetLoadBalancerInput) GetLoadBalancerRequest

GetLoadBalancerRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about the specified Lightsail load balancer.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancer

func (*Lightsail) GetLoadBalancerTlsCertificatesRequest added in v0.2.0

func (c *Lightsail) GetLoadBalancerTlsCertificatesRequest(input *GetLoadBalancerTlsCertificatesInput) GetLoadBalancerTlsCertificatesRequest

GetLoadBalancerTlsCertificatesRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about the TLS certificates that are associated with the specified Lightsail load balancer.

TLS is just an updated, more secure version of Secure Socket Layer (SSL).

You can have a maximum of 2 certificates associated with a Lightsail load balancer. One is active and the other is inactive.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsCertificates

func (*Lightsail) GetLoadBalancersRequest added in v0.2.0

func (c *Lightsail) GetLoadBalancersRequest(input *GetLoadBalancersInput) GetLoadBalancersRequest

GetLoadBalancersRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about all load balancers in an account.

If you are describing a long list of load balancers, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancers

func (*Lightsail) GetOperationRequest

func (c *Lightsail) GetOperationRequest(input *GetOperationInput) GetOperationRequest

GetOperationRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperation

func (*Lightsail) GetOperationsForResourceRequest

func (c *Lightsail) GetOperationsForResourceRequest(input *GetOperationsForResourceInput) GetOperationsForResourceRequest

GetOperationsForResourceRequest returns a request value for making API operation for Amazon Lightsail.

Gets operations for a specific resource (e.g., an instance or a static IP).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperationsForResource

func (*Lightsail) GetOperationsRequest

func (c *Lightsail) GetOperationsRequest(input *GetOperationsInput) GetOperationsRequest

GetOperationsRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about all operations.

Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to GetOperations use the maximum (last) statusChangedAt value from the previous request.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetOperations

func (*Lightsail) GetRegionsRequest

func (c *Lightsail) GetRegionsRequest(input *GetRegionsInput) GetRegionsRequest

GetRegionsRequest returns a request value for making API operation for Amazon Lightsail.

Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones parameter to also return the Availability Zones in a region.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegions

func (*Lightsail) GetRelationalDatabaseBlueprintsRequest added in v0.6.0

func (c *Lightsail) GetRelationalDatabaseBlueprintsRequest(input *GetRelationalDatabaseBlueprintsInput) GetRelationalDatabaseBlueprintsRequest

GetRelationalDatabaseBlueprintsRequest returns a request value for making API operation for Amazon Lightsail.

Returns a list of available database blueprints in Amazon Lightsail. A blueprint describes the major engine version of a database.

You can use a blueprint ID to create a new database that runs a specific database engine.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseBlueprints

func (*Lightsail) GetRelationalDatabaseBundlesRequest added in v0.6.0

func (c *Lightsail) GetRelationalDatabaseBundlesRequest(input *GetRelationalDatabaseBundlesInput) GetRelationalDatabaseBundlesRequest

GetRelationalDatabaseBundlesRequest returns a request value for making API operation for Amazon Lightsail.

Returns the list of bundles that are available in Amazon Lightsail. A bundle describes the performance specifications for a database.

You can use a bundle ID to create a new database with explicit performance specifications.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseBundles

func (*Lightsail) GetRelationalDatabaseEventsRequest added in v0.6.0

func (c *Lightsail) GetRelationalDatabaseEventsRequest(input *GetRelationalDatabaseEventsInput) GetRelationalDatabaseEventsRequest

GetRelationalDatabaseEventsRequest returns a request value for making API operation for Amazon Lightsail.

Returns a list of events for a specific database in Amazon Lightsail.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseEvents

func (*Lightsail) GetRelationalDatabaseLogEventsRequest added in v0.6.0

func (c *Lightsail) GetRelationalDatabaseLogEventsRequest(input *GetRelationalDatabaseLogEventsInput) GetRelationalDatabaseLogEventsRequest

GetRelationalDatabaseLogEventsRequest returns a request value for making API operation for Amazon Lightsail.

Returns a list of log events for a database in Amazon Lightsail.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseLogEvents

func (*Lightsail) GetRelationalDatabaseLogStreamsRequest added in v0.6.0

func (c *Lightsail) GetRelationalDatabaseLogStreamsRequest(input *GetRelationalDatabaseLogStreamsInput) GetRelationalDatabaseLogStreamsRequest

GetRelationalDatabaseLogStreamsRequest returns a request value for making API operation for Amazon Lightsail.

Returns a list of available log streams for a specific database in Amazon Lightsail.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseLogStreams

func (*Lightsail) GetRelationalDatabaseMasterUserPasswordRequest added in v0.6.0

func (c *Lightsail) GetRelationalDatabaseMasterUserPasswordRequest(input *GetRelationalDatabaseMasterUserPasswordInput) GetRelationalDatabaseMasterUserPasswordRequest

GetRelationalDatabaseMasterUserPasswordRequest returns a request value for making API operation for Amazon Lightsail.

Returns the current, previous, or pending versions of the master user password for a Lightsail database.

The asdf operation GetRelationalDatabaseMasterUserPassword supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseMasterUserPassword

func (*Lightsail) GetRelationalDatabaseMetricDataRequest added in v0.6.0

func (c *Lightsail) GetRelationalDatabaseMetricDataRequest(input *GetRelationalDatabaseMetricDataInput) GetRelationalDatabaseMetricDataRequest

GetRelationalDatabaseMetricDataRequest returns a request value for making API operation for Amazon Lightsail.

Returns the data points of the specified metric for a database in Amazon Lightsail.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseMetricData

func (*Lightsail) GetRelationalDatabaseParametersRequest added in v0.6.0

func (c *Lightsail) GetRelationalDatabaseParametersRequest(input *GetRelationalDatabaseParametersInput) GetRelationalDatabaseParametersRequest

GetRelationalDatabaseParametersRequest returns a request value for making API operation for Amazon Lightsail.

Returns all of the runtime parameters offered by the underlying database software, or engine, for a specific database in Amazon Lightsail.

In addition to the parameter names and values, this operation returns other information about each parameter. This information includes whether changes require a reboot, whether the parameter is modifiable, the allowed values, and the data types.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseParameters

func (*Lightsail) GetRelationalDatabaseRequest added in v0.6.0

func (c *Lightsail) GetRelationalDatabaseRequest(input *GetRelationalDatabaseInput) GetRelationalDatabaseRequest

GetRelationalDatabaseRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about a specific database in Amazon Lightsail.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabase

func (*Lightsail) GetRelationalDatabaseSnapshotRequest added in v0.6.0

func (c *Lightsail) GetRelationalDatabaseSnapshotRequest(input *GetRelationalDatabaseSnapshotInput) GetRelationalDatabaseSnapshotRequest

GetRelationalDatabaseSnapshotRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about a specific database snapshot in Amazon Lightsail.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseSnapshot

func (*Lightsail) GetRelationalDatabaseSnapshotsRequest added in v0.6.0

func (c *Lightsail) GetRelationalDatabaseSnapshotsRequest(input *GetRelationalDatabaseSnapshotsInput) GetRelationalDatabaseSnapshotsRequest

GetRelationalDatabaseSnapshotsRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about all of your database snapshots in Amazon Lightsail.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseSnapshots

func (*Lightsail) GetRelationalDatabasesRequest added in v0.6.0

func (c *Lightsail) GetRelationalDatabasesRequest(input *GetRelationalDatabasesInput) GetRelationalDatabasesRequest

GetRelationalDatabasesRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about all of your databases in Amazon Lightsail.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabases

func (*Lightsail) GetStaticIpRequest

func (c *Lightsail) GetStaticIpRequest(input *GetStaticIpInput) GetStaticIpRequest

GetStaticIpRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about a specific static IP.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIp

func (*Lightsail) GetStaticIpsRequest

func (c *Lightsail) GetStaticIpsRequest(input *GetStaticIpsInput) GetStaticIpsRequest

GetStaticIpsRequest returns a request value for making API operation for Amazon Lightsail.

Returns information about all static IPs in the user's account.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIps

func (*Lightsail) ImportKeyPairRequest

func (c *Lightsail) ImportKeyPairRequest(input *ImportKeyPairInput) ImportKeyPairRequest

ImportKeyPairRequest returns a request value for making API operation for Amazon Lightsail.

Imports a public SSH key from a specific key pair.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ImportKeyPair

func (*Lightsail) IsVpcPeeredRequest

func (c *Lightsail) IsVpcPeeredRequest(input *IsVpcPeeredInput) IsVpcPeeredRequest

IsVpcPeeredRequest returns a request value for making API operation for Amazon Lightsail.

Returns a Boolean value indicating whether your Lightsail VPC is peered.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/IsVpcPeered

func (*Lightsail) OpenInstancePublicPortsRequest

func (c *Lightsail) OpenInstancePublicPortsRequest(input *OpenInstancePublicPortsInput) OpenInstancePublicPortsRequest

OpenInstancePublicPortsRequest returns a request value for making API operation for Amazon Lightsail.

Adds public ports to an Amazon Lightsail instance.

The open instance public ports operation supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPorts

func (*Lightsail) PeerVpcRequest

func (c *Lightsail) PeerVpcRequest(input *PeerVpcInput) PeerVpcRequest

PeerVpcRequest returns a request value for making API operation for Amazon Lightsail.

Tries to peer the Lightsail VPC with the user's default VPC.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpc

func (*Lightsail) PutInstancePublicPortsRequest

func (c *Lightsail) PutInstancePublicPortsRequest(input *PutInstancePublicPortsInput) PutInstancePublicPortsRequest

PutInstancePublicPortsRequest returns a request value for making API operation for Amazon Lightsail.

Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not included in the current request.

The put instance public ports operation supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPorts

func (*Lightsail) RebootInstanceRequest

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

RebootInstanceRequest returns a request value for making API operation for Amazon Lightsail.

Restarts a specific instance. When your Amazon Lightsail instance is finished rebooting, Lightsail assigns a new public IP address. To use the same IP address after restarting, create a static IP address and attach it to the instance.

The reboot instance operation supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstance

func (*Lightsail) RebootRelationalDatabaseRequest added in v0.6.0

func (c *Lightsail) RebootRelationalDatabaseRequest(input *RebootRelationalDatabaseInput) RebootRelationalDatabaseRequest

RebootRelationalDatabaseRequest returns a request value for making API operation for Amazon Lightsail.

Restarts a specific database in Amazon Lightsail.

The reboot relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootRelationalDatabase

func (*Lightsail) ReleaseStaticIpRequest

func (c *Lightsail) ReleaseStaticIpRequest(input *ReleaseStaticIpInput) ReleaseStaticIpRequest

ReleaseStaticIpRequest returns a request value for making API operation for Amazon Lightsail.

Deletes a specific static IP from your account.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIp

func (*Lightsail) StartInstanceRequest

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

StartInstanceRequest returns a request value for making API operation for Amazon Lightsail.

Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation.

The start instance operation supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstance

func (*Lightsail) StartRelationalDatabaseRequest added in v0.6.0

func (c *Lightsail) StartRelationalDatabaseRequest(input *StartRelationalDatabaseInput) StartRelationalDatabaseRequest

StartRelationalDatabaseRequest returns a request value for making API operation for Amazon Lightsail.

Starts a specific database from a stopped state in Amazon Lightsail. To restart a database, use the reboot relational database operation.

The start relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartRelationalDatabase

func (*Lightsail) StopInstanceRequest

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

StopInstanceRequest returns a request value for making API operation for Amazon Lightsail.

Stops a specific Amazon Lightsail instance that is currently running.

The stop instance operation supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstance

func (*Lightsail) StopRelationalDatabaseRequest added in v0.6.0

func (c *Lightsail) StopRelationalDatabaseRequest(input *StopRelationalDatabaseInput) StopRelationalDatabaseRequest

StopRelationalDatabaseRequest returns a request value for making API operation for Amazon Lightsail.

Stops a specific database that is currently running in Amazon Lightsail.

The stop relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopRelationalDatabase

func (*Lightsail) TagResourceRequest added in v0.6.0

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

TagResourceRequest returns a request value for making API operation for Amazon Lightsail.

Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).

The tag resource operation supports tag-based access control via request tags and resource tags applied to the resource identified by resourceName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/TagResource

func (*Lightsail) UnpeerVpcRequest

func (c *Lightsail) UnpeerVpcRequest(input *UnpeerVpcInput) UnpeerVpcRequest

UnpeerVpcRequest returns a request value for making API operation for Amazon Lightsail.

Attempts to unpeer the Lightsail VPC from the user's default VPC.

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpc

func (*Lightsail) UntagResourceRequest added in v0.6.0

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

UntagResourceRequest returns a request value for making API operation for Amazon Lightsail.

Deletes the specified set of tag keys and their values from the specified Amazon Lightsail resource.

The untag resource operation supports tag-based access control via request tags and resource tags applied to the resource identified by resourceName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UntagResource

func (*Lightsail) UpdateDomainEntryRequest

func (c *Lightsail) UpdateDomainEntryRequest(input *UpdateDomainEntryInput) UpdateDomainEntryRequest

UpdateDomainEntryRequest returns a request value for making API operation for Amazon Lightsail.

Updates a domain recordset after it is created.

The update domain entry operation supports tag-based access control via resource tags applied to the resource identified by domainName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntry

func (*Lightsail) UpdateLoadBalancerAttributeRequest added in v0.2.0

func (c *Lightsail) UpdateLoadBalancerAttributeRequest(input *UpdateLoadBalancerAttributeInput) UpdateLoadBalancerAttributeRequest

UpdateLoadBalancerAttributeRequest returns a request value for making API operation for Amazon Lightsail.

Updates the specified attribute for a load balancer. You can only update one attribute at a time.

The update load balancer attribute operation supports tag-based access control via resource tags applied to the resource identified by loadBalancerName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttribute

func (*Lightsail) UpdateRelationalDatabaseParametersRequest added in v0.6.0

func (c *Lightsail) UpdateRelationalDatabaseParametersRequest(input *UpdateRelationalDatabaseParametersInput) UpdateRelationalDatabaseParametersRequest

UpdateRelationalDatabaseParametersRequest returns a request value for making API operation for Amazon Lightsail.

Allows the update of one or more parameters of a database in Amazon Lightsail.

Parameter updates don't cause outages; therefore, their application is not subject to the preferred maintenance window. However, there are two ways in which paramater updates are applied: dynamic or pending-reboot. Parameters marked with a dynamic apply type are applied immediately. Parameters marked with a pending-reboot apply type are applied only after the database is rebooted using the reboot relational database operation.

The update relational database parameters operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateRelationalDatabaseParameters

func (*Lightsail) UpdateRelationalDatabaseRequest added in v0.6.0

func (c *Lightsail) UpdateRelationalDatabaseRequest(input *UpdateRelationalDatabaseInput) UpdateRelationalDatabaseRequest

UpdateRelationalDatabaseRequest returns a request value for making API operation for Amazon Lightsail.

Allows the update of one or more attributes of a database in Amazon Lightsail.

Updates are applied immediately, or in cases where the updates could result in an outage, are applied during the database's predefined maintenance window.

The update relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateRelationalDatabase

type LoadBalancer added in v0.2.0

type LoadBalancer struct {

	// The Amazon Resource Name (ARN) of the load balancer.
	Arn *string `locationName:"arn" type:"string"`

	// A string to string map of the configuration options for your load balancer.
	// Valid values are listed below.
	ConfigurationOptions map[string]string `locationName:"configurationOptions" type:"map"`

	// The date when your load balancer was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The DNS name of your Lightsail load balancer.
	DnsName *string `locationName:"dnsName" type:"string"`

	// The path you specified to perform your health checks. If no path is specified,
	// the load balancer tries to make a request to the default (root) page.
	HealthCheckPath *string `locationName:"healthCheckPath" type:"string"`

	// An array of InstanceHealthSummary objects describing the health of the load
	// balancer.
	InstanceHealthSummary []InstanceHealthSummary `locationName:"instanceHealthSummary" type:"list"`

	// The port where the load balancer will direct traffic to your Lightsail instances.
	// For HTTP traffic, it's port 80. For HTTPS traffic, it's port 443.
	InstancePort *int64 `locationName:"instancePort" type:"integer"`

	// The AWS Region where your load balancer was created (e.g., us-east-2a). Lightsail
	// automatically creates your load balancer across Availability Zones.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the load balancer (e.g., my-load-balancer).
	Name *string `locationName:"name" type:"string"`

	// The protocol you have enabled for your load balancer. Valid values are below.
	//
	// You can't just have HTTP_HTTPS, but you can have just HTTP.
	Protocol LoadBalancerProtocol `locationName:"protocol" type:"string" enum:"true"`

	// An array of public port settings for your load balancer. For HTTP, use port
	// 80. For HTTPS, use port 443.
	PublicPorts []int64 `locationName:"publicPorts" type:"list"`

	// The resource type (e.g., LoadBalancer.
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The status of your load balancer. Valid values are below.
	State LoadBalancerState `locationName:"state" type:"string" enum:"true"`

	// The support code. Include this code in your email to support when you have
	// questions about your Lightsail load balancer. This code enables our support
	// team to look up your Lightsail information more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`

	// An array of LoadBalancerTlsCertificateSummary objects that provide additional
	// information about the SSL/TLS certificates. For example, if true, the certificate
	// is attached to the load balancer.
	TlsCertificateSummaries []LoadBalancerTlsCertificateSummary `locationName:"tlsCertificateSummaries" type:"list"`
	// contains filtered or unexported fields
}

Describes the Lightsail load balancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancer

func (LoadBalancer) GoString added in v0.2.0

func (s LoadBalancer) GoString() string

GoString returns the string representation

func (LoadBalancer) String added in v0.2.0

func (s LoadBalancer) String() string

String returns the string representation

type LoadBalancerAttributeName added in v0.2.0

type LoadBalancerAttributeName string
const (
	LoadBalancerAttributeNameHealthCheckPath                          LoadBalancerAttributeName = "HealthCheckPath"
	LoadBalancerAttributeNameSessionStickinessEnabled                 LoadBalancerAttributeName = "SessionStickinessEnabled"
	LoadBalancerAttributeNameSessionStickinessLbCookieDurationSeconds LoadBalancerAttributeName = "SessionStickiness_LB_CookieDurationSeconds"
)

Enum values for LoadBalancerAttributeName

func (LoadBalancerAttributeName) MarshalValue added in v0.3.0

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

func (LoadBalancerAttributeName) MarshalValueBuf added in v0.3.0

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

type LoadBalancerMetricName added in v0.2.0

type LoadBalancerMetricName string
const (
	LoadBalancerMetricNameClientTlsnegotiationErrorCount LoadBalancerMetricName = "ClientTLSNegotiationErrorCount"
	LoadBalancerMetricNameHealthyHostCount               LoadBalancerMetricName = "HealthyHostCount"
	LoadBalancerMetricNameUnhealthyHostCount             LoadBalancerMetricName = "UnhealthyHostCount"
	LoadBalancerMetricNameHttpcodeLb4xxCount             LoadBalancerMetricName = "HTTPCode_LB_4XX_Count"
	LoadBalancerMetricNameHttpcodeLb5xxCount             LoadBalancerMetricName = "HTTPCode_LB_5XX_Count"
	LoadBalancerMetricNameHttpcodeInstance2xxCount       LoadBalancerMetricName = "HTTPCode_Instance_2XX_Count"
	LoadBalancerMetricNameHttpcodeInstance3xxCount       LoadBalancerMetricName = "HTTPCode_Instance_3XX_Count"
	LoadBalancerMetricNameHttpcodeInstance4xxCount       LoadBalancerMetricName = "HTTPCode_Instance_4XX_Count"
	LoadBalancerMetricNameHttpcodeInstance5xxCount       LoadBalancerMetricName = "HTTPCode_Instance_5XX_Count"
	LoadBalancerMetricNameInstanceResponseTime           LoadBalancerMetricName = "InstanceResponseTime"
	LoadBalancerMetricNameRejectedConnectionCount        LoadBalancerMetricName = "RejectedConnectionCount"
	LoadBalancerMetricNameRequestCount                   LoadBalancerMetricName = "RequestCount"
)

Enum values for LoadBalancerMetricName

func (LoadBalancerMetricName) MarshalValue added in v0.3.0

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

func (LoadBalancerMetricName) MarshalValueBuf added in v0.3.0

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

type LoadBalancerProtocol added in v0.2.0

type LoadBalancerProtocol string
const (
	LoadBalancerProtocolHttpHttps LoadBalancerProtocol = "HTTP_HTTPS"
	LoadBalancerProtocolHttp      LoadBalancerProtocol = "HTTP"
)

Enum values for LoadBalancerProtocol

func (LoadBalancerProtocol) MarshalValue added in v0.3.0

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

func (LoadBalancerProtocol) MarshalValueBuf added in v0.3.0

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

type LoadBalancerState added in v0.2.0

type LoadBalancerState string
const (
	LoadBalancerStateActive         LoadBalancerState = "active"
	LoadBalancerStateProvisioning   LoadBalancerState = "provisioning"
	LoadBalancerStateActiveImpaired LoadBalancerState = "active_impaired"
	LoadBalancerStateFailed         LoadBalancerState = "failed"
	LoadBalancerStateUnknown        LoadBalancerState = "unknown"
)

Enum values for LoadBalancerState

func (LoadBalancerState) MarshalValue added in v0.3.0

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

func (LoadBalancerState) MarshalValueBuf added in v0.3.0

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

type LoadBalancerTlsCertificate added in v0.2.0

type LoadBalancerTlsCertificate struct {

	// The Amazon Resource Name (ARN) of the SSL/TLS certificate.
	Arn *string `locationName:"arn" type:"string"`

	// The time when you created your SSL/TLS certificate.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The domain name for your SSL/TLS certificate.
	DomainName *string `locationName:"domainName" type:"string"`

	// An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing
	// the records.
	DomainValidationRecords []LoadBalancerTlsCertificateDomainValidationRecord `locationName:"domainValidationRecords" type:"list"`

	// The reason for the SSL/TLS certificate validation failure.
	FailureReason LoadBalancerTlsCertificateFailureReason `locationName:"failureReason" type:"string" enum:"true"`

	// When true, the SSL/TLS certificate is attached to the Lightsail load balancer.
	IsAttached *bool `locationName:"isAttached" type:"boolean"`

	// The time when the SSL/TLS certificate was issued.
	IssuedAt *time.Time `locationName:"issuedAt" type:"timestamp" timestampFormat:"unix"`

	// The issuer of the certificate.
	Issuer *string `locationName:"issuer" type:"string"`

	// The algorithm that was used to generate the key pair (the public and private
	// key).
	KeyAlgorithm *string `locationName:"keyAlgorithm" type:"string"`

	// The load balancer name where your SSL/TLS certificate is attached.
	LoadBalancerName *string `locationName:"loadBalancerName" type:"string"`

	// The AWS Region and Availability Zone where you created your certificate.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the SSL/TLS certificate (e.g., my-certificate).
	Name *string `locationName:"name" type:"string"`

	// The timestamp when the SSL/TLS certificate expires.
	NotAfter *time.Time `locationName:"notAfter" type:"timestamp" timestampFormat:"unix"`

	// The timestamp when the SSL/TLS certificate is first valid.
	NotBefore *time.Time `locationName:"notBefore" type:"timestamp" timestampFormat:"unix"`

	// An object containing information about the status of Lightsail's managed
	// renewal for the certificate.
	RenewalSummary *LoadBalancerTlsCertificateRenewalSummary `locationName:"renewalSummary" type:"structure"`

	// The resource type (e.g., LoadBalancerTlsCertificate).
	//
	//    * Instance - A Lightsail instance (a virtual private server)
	//
	//    * StaticIp - A static IP address
	//
	//    * KeyPair - The key pair used to connect to a Lightsail instance
	//
	//    * InstanceSnapshot - A Lightsail instance snapshot
	//
	//    * Domain - A DNS zone
	//
	//    * PeeredVpc - A peered VPC
	//
	//    * LoadBalancer - A Lightsail load balancer
	//
	//    * LoadBalancerTlsCertificate - An SSL/TLS certificate associated with
	//    a Lightsail load balancer
	//
	//    * Disk - A Lightsail block storage disk
	//
	//    * DiskSnapshot - A block storage disk snapshot
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The reason the certificate was revoked. Valid values are below.
	RevocationReason LoadBalancerTlsCertificateRevocationReason `locationName:"revocationReason" type:"string" enum:"true"`

	// The timestamp when the SSL/TLS certificate was revoked.
	RevokedAt *time.Time `locationName:"revokedAt" type:"timestamp" timestampFormat:"unix"`

	// The serial number of the certificate.
	Serial *string `locationName:"serial" type:"string"`

	// The algorithm that was used to sign the certificate.
	SignatureAlgorithm *string `locationName:"signatureAlgorithm" type:"string"`

	// The status of the SSL/TLS certificate. Valid values are below.
	Status LoadBalancerTlsCertificateStatus `locationName:"status" type:"string" enum:"true"`

	// The name of the entity that is associated with the public key contained in
	// the certificate.
	Subject *string `locationName:"subject" type:"string"`

	// One or more domains or subdomains included in the certificate. This list
	// contains the domain names that are bound to the public key that is contained
	// in the certificate. The subject alternative names include the canonical domain
	// name (CNAME) of the certificate and additional domain names that can be used
	// to connect to the website, such as example.com, www.example.com, or m.example.com.
	SubjectAlternativeNames []string `locationName:"subjectAlternativeNames" type:"list"`

	// The support code. Include this code in your email to support when you have
	// questions about your Lightsail load balancer or SSL/TLS certificate. This
	// code enables our support team to look up your Lightsail information more
	// easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Describes a load balancer SSL/TLS certificate.

TLS is just an updated, more secure version of Secure Socket Layer (SSL). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificate

func (LoadBalancerTlsCertificate) GoString added in v0.2.0

func (s LoadBalancerTlsCertificate) GoString() string

GoString returns the string representation

func (LoadBalancerTlsCertificate) String added in v0.2.0

String returns the string representation

type LoadBalancerTlsCertificateDomainStatus added in v0.2.0

type LoadBalancerTlsCertificateDomainStatus string
const (
	LoadBalancerTlsCertificateDomainStatusPendingValidation LoadBalancerTlsCertificateDomainStatus = "PENDING_VALIDATION"
	LoadBalancerTlsCertificateDomainStatusFailed            LoadBalancerTlsCertificateDomainStatus = "FAILED"
	LoadBalancerTlsCertificateDomainStatusSuccess           LoadBalancerTlsCertificateDomainStatus = "SUCCESS"
)

Enum values for LoadBalancerTlsCertificateDomainStatus

func (LoadBalancerTlsCertificateDomainStatus) MarshalValue added in v0.3.0

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

func (LoadBalancerTlsCertificateDomainStatus) MarshalValueBuf added in v0.3.0

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

type LoadBalancerTlsCertificateDomainValidationOption added in v0.2.0

type LoadBalancerTlsCertificateDomainValidationOption struct {

	// The fully qualified domain name in the certificate request.
	DomainName *string `locationName:"domainName" type:"string"`

	// The status of the domain validation. Valid values are listed below.
	ValidationStatus LoadBalancerTlsCertificateDomainStatus `locationName:"validationStatus" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Contains information about the domain names on an SSL/TLS certificate that you will use to validate domain ownership. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateDomainValidationOption

func (LoadBalancerTlsCertificateDomainValidationOption) GoString added in v0.2.0

GoString returns the string representation

func (LoadBalancerTlsCertificateDomainValidationOption) String added in v0.2.0

String returns the string representation

type LoadBalancerTlsCertificateDomainValidationRecord added in v0.2.0

type LoadBalancerTlsCertificateDomainValidationRecord struct {

	// The domain name against which your SSL/TLS certificate was validated.
	DomainName *string `locationName:"domainName" type:"string"`

	// A fully qualified domain name in the certificate. For example, example.com.
	Name *string `locationName:"name" type:"string"`

	// The type of validation record. For example, CNAME for domain validation.
	Type *string `locationName:"type" type:"string"`

	// The validation status. Valid values are listed below.
	ValidationStatus LoadBalancerTlsCertificateDomainStatus `locationName:"validationStatus" type:"string" enum:"true"`

	// The value for that type.
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

Describes the validation record of each domain name in the SSL/TLS certificate. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateDomainValidationRecord

func (LoadBalancerTlsCertificateDomainValidationRecord) GoString added in v0.2.0

GoString returns the string representation

func (LoadBalancerTlsCertificateDomainValidationRecord) String added in v0.2.0

String returns the string representation

type LoadBalancerTlsCertificateFailureReason added in v0.2.0

type LoadBalancerTlsCertificateFailureReason string
const (
	LoadBalancerTlsCertificateFailureReasonNoAvailableContacts            LoadBalancerTlsCertificateFailureReason = "NO_AVAILABLE_CONTACTS"
	LoadBalancerTlsCertificateFailureReasonAdditionalVerificationRequired LoadBalancerTlsCertificateFailureReason = "ADDITIONAL_VERIFICATION_REQUIRED"
	LoadBalancerTlsCertificateFailureReasonDomainNotAllowed               LoadBalancerTlsCertificateFailureReason = "DOMAIN_NOT_ALLOWED"
	LoadBalancerTlsCertificateFailureReasonInvalidPublicDomain            LoadBalancerTlsCertificateFailureReason = "INVALID_PUBLIC_DOMAIN"
	LoadBalancerTlsCertificateFailureReasonOther                          LoadBalancerTlsCertificateFailureReason = "OTHER"
)

Enum values for LoadBalancerTlsCertificateFailureReason

func (LoadBalancerTlsCertificateFailureReason) MarshalValue added in v0.3.0

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

func (LoadBalancerTlsCertificateFailureReason) MarshalValueBuf added in v0.3.0

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

type LoadBalancerTlsCertificateRenewalStatus added in v0.2.0

type LoadBalancerTlsCertificateRenewalStatus string
const (
	LoadBalancerTlsCertificateRenewalStatusPendingAutoRenewal LoadBalancerTlsCertificateRenewalStatus = "PENDING_AUTO_RENEWAL"
	LoadBalancerTlsCertificateRenewalStatusPendingValidation  LoadBalancerTlsCertificateRenewalStatus = "PENDING_VALIDATION"
	LoadBalancerTlsCertificateRenewalStatusSuccess            LoadBalancerTlsCertificateRenewalStatus = "SUCCESS"
	LoadBalancerTlsCertificateRenewalStatusFailed             LoadBalancerTlsCertificateRenewalStatus = "FAILED"
)

Enum values for LoadBalancerTlsCertificateRenewalStatus

func (LoadBalancerTlsCertificateRenewalStatus) MarshalValue added in v0.3.0

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

func (LoadBalancerTlsCertificateRenewalStatus) MarshalValueBuf added in v0.3.0

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

type LoadBalancerTlsCertificateRenewalSummary added in v0.2.0

type LoadBalancerTlsCertificateRenewalSummary struct {

	// Contains information about the validation of each domain name in the certificate,
	// as it pertains to Lightsail's managed renewal. This is different from the
	// initial validation that occurs as a result of the RequestCertificate request.
	DomainValidationOptions []LoadBalancerTlsCertificateDomainValidationOption `locationName:"domainValidationOptions" type:"list"`

	// The status of Lightsail's managed renewal of the certificate. Valid values
	// are listed below.
	RenewalStatus LoadBalancerTlsCertificateRenewalStatus `locationName:"renewalStatus" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Contains information about the status of Lightsail's managed renewal for the certificate. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateRenewalSummary

func (LoadBalancerTlsCertificateRenewalSummary) GoString added in v0.2.0

GoString returns the string representation

func (LoadBalancerTlsCertificateRenewalSummary) String added in v0.2.0

String returns the string representation

type LoadBalancerTlsCertificateRevocationReason added in v0.2.0

type LoadBalancerTlsCertificateRevocationReason string
const (
	LoadBalancerTlsCertificateRevocationReasonUnspecified          LoadBalancerTlsCertificateRevocationReason = "UNSPECIFIED"
	LoadBalancerTlsCertificateRevocationReasonKeyCompromise        LoadBalancerTlsCertificateRevocationReason = "KEY_COMPROMISE"
	LoadBalancerTlsCertificateRevocationReasonCaCompromise         LoadBalancerTlsCertificateRevocationReason = "CA_COMPROMISE"
	LoadBalancerTlsCertificateRevocationReasonAffiliationChanged   LoadBalancerTlsCertificateRevocationReason = "AFFILIATION_CHANGED"
	LoadBalancerTlsCertificateRevocationReasonSuperceded           LoadBalancerTlsCertificateRevocationReason = "SUPERCEDED"
	LoadBalancerTlsCertificateRevocationReasonCessationOfOperation LoadBalancerTlsCertificateRevocationReason = "CESSATION_OF_OPERATION"
	LoadBalancerTlsCertificateRevocationReasonCertificateHold      LoadBalancerTlsCertificateRevocationReason = "CERTIFICATE_HOLD"
	LoadBalancerTlsCertificateRevocationReasonRemoveFromCrl        LoadBalancerTlsCertificateRevocationReason = "REMOVE_FROM_CRL"
	LoadBalancerTlsCertificateRevocationReasonPrivilegeWithdrawn   LoadBalancerTlsCertificateRevocationReason = "PRIVILEGE_WITHDRAWN"
	LoadBalancerTlsCertificateRevocationReasonAACompromise         LoadBalancerTlsCertificateRevocationReason = "A_A_COMPROMISE"
)

Enum values for LoadBalancerTlsCertificateRevocationReason

func (LoadBalancerTlsCertificateRevocationReason) MarshalValue added in v0.3.0

func (LoadBalancerTlsCertificateRevocationReason) MarshalValueBuf added in v0.3.0

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

type LoadBalancerTlsCertificateStatus added in v0.2.0

type LoadBalancerTlsCertificateStatus string
const (
	LoadBalancerTlsCertificateStatusPendingValidation  LoadBalancerTlsCertificateStatus = "PENDING_VALIDATION"
	LoadBalancerTlsCertificateStatusIssued             LoadBalancerTlsCertificateStatus = "ISSUED"
	LoadBalancerTlsCertificateStatusInactive           LoadBalancerTlsCertificateStatus = "INACTIVE"
	LoadBalancerTlsCertificateStatusExpired            LoadBalancerTlsCertificateStatus = "EXPIRED"
	LoadBalancerTlsCertificateStatusValidationTimedOut LoadBalancerTlsCertificateStatus = "VALIDATION_TIMED_OUT"
	LoadBalancerTlsCertificateStatusRevoked            LoadBalancerTlsCertificateStatus = "REVOKED"
	LoadBalancerTlsCertificateStatusFailed             LoadBalancerTlsCertificateStatus = "FAILED"
	LoadBalancerTlsCertificateStatusUnknown            LoadBalancerTlsCertificateStatus = "UNKNOWN"
)

Enum values for LoadBalancerTlsCertificateStatus

func (LoadBalancerTlsCertificateStatus) MarshalValue added in v0.3.0

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

func (LoadBalancerTlsCertificateStatus) MarshalValueBuf added in v0.3.0

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

type LoadBalancerTlsCertificateSummary added in v0.2.0

type LoadBalancerTlsCertificateSummary struct {

	// When true, the SSL/TLS certificate is attached to the Lightsail load balancer.
	IsAttached *bool `locationName:"isAttached" type:"boolean"`

	// The name of the SSL/TLS certificate.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Provides a summary of SSL/TLS certificate metadata. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateSummary

func (LoadBalancerTlsCertificateSummary) GoString added in v0.2.0

GoString returns the string representation

func (LoadBalancerTlsCertificateSummary) String added in v0.2.0

String returns the string representation

type LogEvent added in v0.6.0

type LogEvent struct {

	// The timestamp when the database log event was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The message of the database log event.
	Message *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Describes a database log event. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LogEvent

func (LogEvent) GoString added in v0.6.0

func (s LogEvent) GoString() string

GoString returns the string representation

func (LogEvent) String added in v0.6.0

func (s LogEvent) String() string

String returns the string representation

type MetricDatapoint

type MetricDatapoint struct {

	// The average.
	Average *float64 `locationName:"average" type:"double"`

	// The maximum.
	Maximum *float64 `locationName:"maximum" type:"double"`

	// The minimum.
	Minimum *float64 `locationName:"minimum" type:"double"`

	// The sample count.
	SampleCount *float64 `locationName:"sampleCount" type:"double"`

	// The sum.
	Sum *float64 `locationName:"sum" type:"double"`

	// The timestamp (e.g., 1479816991.349).
	Timestamp *time.Time `locationName:"timestamp" type:"timestamp" timestampFormat:"unix"`

	// The unit.
	Unit MetricUnit `locationName:"unit" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes the metric data point. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/MetricDatapoint

func (MetricDatapoint) GoString

func (s MetricDatapoint) GoString() string

GoString returns the string representation

func (MetricDatapoint) String

func (s MetricDatapoint) String() string

String returns the string representation

type MetricStatistic

type MetricStatistic string
const (
	MetricStatisticMinimum     MetricStatistic = "Minimum"
	MetricStatisticMaximum     MetricStatistic = "Maximum"
	MetricStatisticSum         MetricStatistic = "Sum"
	MetricStatisticAverage     MetricStatistic = "Average"
	MetricStatisticSampleCount MetricStatistic = "SampleCount"
)

Enum values for MetricStatistic

func (MetricStatistic) MarshalValue added in v0.3.0

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

func (MetricStatistic) MarshalValueBuf added in v0.3.0

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

type MetricUnit

type MetricUnit string
const (
	MetricUnitSeconds         MetricUnit = "Seconds"
	MetricUnitMicroseconds    MetricUnit = "Microseconds"
	MetricUnitMilliseconds    MetricUnit = "Milliseconds"
	MetricUnitBytes           MetricUnit = "Bytes"
	MetricUnitKilobytes       MetricUnit = "Kilobytes"
	MetricUnitMegabytes       MetricUnit = "Megabytes"
	MetricUnitGigabytes       MetricUnit = "Gigabytes"
	MetricUnitTerabytes       MetricUnit = "Terabytes"
	MetricUnitBits            MetricUnit = "Bits"
	MetricUnitKilobits        MetricUnit = "Kilobits"
	MetricUnitMegabits        MetricUnit = "Megabits"
	MetricUnitGigabits        MetricUnit = "Gigabits"
	MetricUnitTerabits        MetricUnit = "Terabits"
	MetricUnitPercent         MetricUnit = "Percent"
	MetricUnitCount           MetricUnit = "Count"
	MetricUnitBytesSecond     MetricUnit = "Bytes/Second"
	MetricUnitKilobytesSecond MetricUnit = "Kilobytes/Second"
	MetricUnitMegabytesSecond MetricUnit = "Megabytes/Second"
	MetricUnitGigabytesSecond MetricUnit = "Gigabytes/Second"
	MetricUnitTerabytesSecond MetricUnit = "Terabytes/Second"
	MetricUnitBitsSecond      MetricUnit = "Bits/Second"
	MetricUnitKilobitsSecond  MetricUnit = "Kilobits/Second"
	MetricUnitMegabitsSecond  MetricUnit = "Megabits/Second"
	MetricUnitGigabitsSecond  MetricUnit = "Gigabits/Second"
	MetricUnitTerabitsSecond  MetricUnit = "Terabits/Second"
	MetricUnitCountSecond     MetricUnit = "Count/Second"
	MetricUnitNone            MetricUnit = "None"
)

Enum values for MetricUnit

func (MetricUnit) MarshalValue added in v0.3.0

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

func (MetricUnit) MarshalValueBuf added in v0.3.0

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

type MonthlyTransfer

type MonthlyTransfer struct {

	// The amount allocated per month (in GB).
	GbPerMonthAllocated *int64 `locationName:"gbPerMonthAllocated" type:"integer"`
	// contains filtered or unexported fields
}

Describes the monthly data transfer in and out of your virtual private server (or instance). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/MonthlyTransfer

func (MonthlyTransfer) GoString

func (s MonthlyTransfer) GoString() string

GoString returns the string representation

func (MonthlyTransfer) String

func (s MonthlyTransfer) String() string

String returns the string representation

type NetworkProtocol

type NetworkProtocol string
const (
	NetworkProtocolTcp NetworkProtocol = "tcp"
	NetworkProtocolAll NetworkProtocol = "all"
	NetworkProtocolUdp NetworkProtocol = "udp"
)

Enum values for NetworkProtocol

func (NetworkProtocol) MarshalValue added in v0.3.0

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

func (NetworkProtocol) MarshalValueBuf added in v0.3.0

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

type OpenInstancePublicPortsInput

type OpenInstancePublicPortsInput struct {

	// The name of the instance for which you want to open the public ports.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`

	// An array of key-value pairs containing information about the port mappings.
	//
	// PortInfo is a required field
	PortInfo *PortInfo `locationName:"portInfo" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPortsRequest

func (OpenInstancePublicPortsInput) GoString

func (s OpenInstancePublicPortsInput) GoString() string

GoString returns the string representation

func (OpenInstancePublicPortsInput) String

String returns the string representation

func (*OpenInstancePublicPortsInput) Validate

func (s *OpenInstancePublicPortsInput) Validate() error

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

type OpenInstancePublicPortsOutput

type OpenInstancePublicPortsOutput struct {

	// An array of key-value pairs containing information about the request operation.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPortsResult

func (OpenInstancePublicPortsOutput) GoString

GoString returns the string representation

func (OpenInstancePublicPortsOutput) SDKResponseMetadata

func (s OpenInstancePublicPortsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (OpenInstancePublicPortsOutput) String

String returns the string representation

type OpenInstancePublicPortsRequest

type OpenInstancePublicPortsRequest struct {
	*aws.Request
	Input *OpenInstancePublicPortsInput
	Copy  func(*OpenInstancePublicPortsInput) OpenInstancePublicPortsRequest
}

OpenInstancePublicPortsRequest is a API request type for the OpenInstancePublicPorts API operation.

func (OpenInstancePublicPortsRequest) Send

Send marshals and sends the OpenInstancePublicPorts API request.

type Operation

type Operation struct {

	// The timestamp when the operation was initialized (e.g., 1479816991.349).
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The error code.
	ErrorCode *string `locationName:"errorCode" type:"string"`

	// The error details.
	ErrorDetails *string `locationName:"errorDetails" type:"string"`

	// The ID of the operation.
	Id *string `locationName:"id" type:"string"`

	// A Boolean value indicating whether the operation is terminal.
	IsTerminal *bool `locationName:"isTerminal" type:"boolean"`

	// The region and Availability Zone.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// Details about the operation (e.g., Debian-1GB-Ohio-1).
	OperationDetails *string `locationName:"operationDetails" type:"string"`

	// The type of operation.
	OperationType OperationType `locationName:"operationType" type:"string" enum:"true"`

	// The resource name.
	ResourceName *string `locationName:"resourceName" type:"string"`

	// The resource type.
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The status of the operation.
	Status OperationStatus `locationName:"status" type:"string" enum:"true"`

	// The timestamp when the status was changed (e.g., 1479816991.349).
	StatusChangedAt *time.Time `locationName:"statusChangedAt" type:"timestamp" timestampFormat:"unix"`
	// contains filtered or unexported fields
}

Describes the API operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Operation

func (Operation) GoString

func (s Operation) GoString() string

GoString returns the string representation

func (Operation) String

func (s Operation) String() string

String returns the string representation

type OperationStatus

type OperationStatus string
const (
	OperationStatusNotStarted OperationStatus = "NotStarted"
	OperationStatusStarted    OperationStatus = "Started"
	OperationStatusFailed     OperationStatus = "Failed"
	OperationStatusCompleted  OperationStatus = "Completed"
	OperationStatusSucceeded  OperationStatus = "Succeeded"
)

Enum values for OperationStatus

func (OperationStatus) MarshalValue added in v0.3.0

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

func (OperationStatus) MarshalValueBuf added in v0.3.0

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

type OperationType

type OperationType string
const (
	OperationTypeDeleteInstance                       OperationType = "DeleteInstance"
	OperationTypeCreateInstance                       OperationType = "CreateInstance"
	OperationTypeStopInstance                         OperationType = "StopInstance"
	OperationTypeStartInstance                        OperationType = "StartInstance"
	OperationTypeRebootInstance                       OperationType = "RebootInstance"
	OperationTypeOpenInstancePublicPorts              OperationType = "OpenInstancePublicPorts"
	OperationTypePutInstancePublicPorts               OperationType = "PutInstancePublicPorts"
	OperationTypeCloseInstancePublicPorts             OperationType = "CloseInstancePublicPorts"
	OperationTypeAllocateStaticIp                     OperationType = "AllocateStaticIp"
	OperationTypeReleaseStaticIp                      OperationType = "ReleaseStaticIp"
	OperationTypeAttachStaticIp                       OperationType = "AttachStaticIp"
	OperationTypeDetachStaticIp                       OperationType = "DetachStaticIp"
	OperationTypeUpdateDomainEntry                    OperationType = "UpdateDomainEntry"
	OperationTypeDeleteDomainEntry                    OperationType = "DeleteDomainEntry"
	OperationTypeCreateDomain                         OperationType = "CreateDomain"
	OperationTypeDeleteDomain                         OperationType = "DeleteDomain"
	OperationTypeCreateInstanceSnapshot               OperationType = "CreateInstanceSnapshot"
	OperationTypeDeleteInstanceSnapshot               OperationType = "DeleteInstanceSnapshot"
	OperationTypeCreateInstancesFromSnapshot          OperationType = "CreateInstancesFromSnapshot"
	OperationTypeCreateLoadBalancer                   OperationType = "CreateLoadBalancer"
	OperationTypeDeleteLoadBalancer                   OperationType = "DeleteLoadBalancer"
	OperationTypeAttachInstancesToLoadBalancer        OperationType = "AttachInstancesToLoadBalancer"
	OperationTypeDetachInstancesFromLoadBalancer      OperationType = "DetachInstancesFromLoadBalancer"
	OperationTypeUpdateLoadBalancerAttribute          OperationType = "UpdateLoadBalancerAttribute"
	OperationTypeCreateLoadBalancerTlsCertificate     OperationType = "CreateLoadBalancerTlsCertificate"
	OperationTypeDeleteLoadBalancerTlsCertificate     OperationType = "DeleteLoadBalancerTlsCertificate"
	OperationTypeAttachLoadBalancerTlsCertificate     OperationType = "AttachLoadBalancerTlsCertificate"
	OperationTypeCreateDisk                           OperationType = "CreateDisk"
	OperationTypeDeleteDisk                           OperationType = "DeleteDisk"
	OperationTypeAttachDisk                           OperationType = "AttachDisk"
	OperationTypeDetachDisk                           OperationType = "DetachDisk"
	OperationTypeCreateDiskSnapshot                   OperationType = "CreateDiskSnapshot"
	OperationTypeDeleteDiskSnapshot                   OperationType = "DeleteDiskSnapshot"
	OperationTypeCreateDiskFromSnapshot               OperationType = "CreateDiskFromSnapshot"
	OperationTypeCreateRelationalDatabase             OperationType = "CreateRelationalDatabase"
	OperationTypeUpdateRelationalDatabase             OperationType = "UpdateRelationalDatabase"
	OperationTypeDeleteRelationalDatabase             OperationType = "DeleteRelationalDatabase"
	OperationTypeCreateRelationalDatabaseFromSnapshot OperationType = "CreateRelationalDatabaseFromSnapshot"
	OperationTypeCreateRelationalDatabaseSnapshot     OperationType = "CreateRelationalDatabaseSnapshot"
	OperationTypeDeleteRelationalDatabaseSnapshot     OperationType = "DeleteRelationalDatabaseSnapshot"
	OperationTypeUpdateRelationalDatabaseParameters   OperationType = "UpdateRelationalDatabaseParameters"
	OperationTypeStartRelationalDatabase              OperationType = "StartRelationalDatabase"
	OperationTypeRebootRelationalDatabase             OperationType = "RebootRelationalDatabase"
	OperationTypeStopRelationalDatabase               OperationType = "StopRelationalDatabase"
)

Enum values for OperationType

func (OperationType) MarshalValue added in v0.3.0

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

func (OperationType) MarshalValueBuf added in v0.3.0

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

type PasswordData added in v0.2.0

type PasswordData struct {

	// The encrypted password. Ciphertext will be an empty string if access to your
	// new instance is not ready yet. When you create an instance, it can take up
	// to 15 minutes for the instance to be ready.
	//
	// If you use the default key pair (LightsailDefaultKeyPair), the decrypted
	// password will be available in the password field.
	//
	// If you are using a custom key pair, you need to use your own means of decryption.
	//
	// If you change the Administrator password on the instance, Lightsail will
	// continue to return the original ciphertext value. When accessing the instance
	// using RDP, you need to manually enter the Administrator password after changing
	// it from the default.
	Ciphertext *string `locationName:"ciphertext" type:"string"`

	// The name of the key pair that you used when creating your instance. If no
	// key pair name was specified when creating the instance, Lightsail uses the
	// default key pair (LightsailDefaultKeyPair).
	//
	// If you are using a custom key pair, you need to use your own means of decrypting
	// your password using the ciphertext. Lightsail creates the ciphertext by encrypting
	// your password with the public key part of this key pair.
	KeyPairName *string `locationName:"keyPairName" type:"string"`
	// contains filtered or unexported fields
}

The password data for the Windows Server-based instance, including the ciphertext and the key pair name. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PasswordData

func (PasswordData) GoString added in v0.2.0

func (s PasswordData) GoString() string

GoString returns the string representation

func (PasswordData) String added in v0.2.0

func (s PasswordData) String() string

String returns the string representation

type PeerVpcInput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpcRequest

func (PeerVpcInput) GoString

func (s PeerVpcInput) GoString() string

GoString returns the string representation

func (PeerVpcInput) String

func (s PeerVpcInput) String() string

String returns the string representation

type PeerVpcOutput

type PeerVpcOutput struct {

	// An array of key-value pairs containing information about the request operation.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpcResult

func (PeerVpcOutput) GoString

func (s PeerVpcOutput) GoString() string

GoString returns the string representation

func (PeerVpcOutput) SDKResponseMetadata

func (s PeerVpcOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PeerVpcOutput) String

func (s PeerVpcOutput) String() string

String returns the string representation

type PeerVpcRequest

type PeerVpcRequest struct {
	*aws.Request
	Input *PeerVpcInput
	Copy  func(*PeerVpcInput) PeerVpcRequest
}

PeerVpcRequest is a API request type for the PeerVpc API operation.

func (PeerVpcRequest) Send

func (r PeerVpcRequest) Send() (*PeerVpcOutput, error)

Send marshals and sends the PeerVpc API request.

type PendingMaintenanceAction added in v0.6.0

type PendingMaintenanceAction struct {

	// The type of pending database maintenance action.
	Action *string `locationName:"action" type:"string"`

	// The effective date of the pending database maintenance action.
	CurrentApplyDate *time.Time `locationName:"currentApplyDate" type:"timestamp" timestampFormat:"unix"`

	// Additional detail about the pending database maintenance action.
	Description *string `locationName:"description" type:"string"`
	// contains filtered or unexported fields
}

Describes a pending database maintenance action. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PendingMaintenanceAction

func (PendingMaintenanceAction) GoString added in v0.6.0

func (s PendingMaintenanceAction) GoString() string

GoString returns the string representation

func (PendingMaintenanceAction) String added in v0.6.0

func (s PendingMaintenanceAction) String() string

String returns the string representation

type PendingModifiedRelationalDatabaseValues added in v0.6.0

type PendingModifiedRelationalDatabaseValues struct {

	// A Boolean value indicating whether automated backup retention is enabled.
	BackupRetentionEnabled *bool `locationName:"backupRetentionEnabled" type:"boolean"`

	// The database engine version.
	EngineVersion *string `locationName:"engineVersion" type:"string"`

	// The password for the master user of the database.
	MasterUserPassword *string `locationName:"masterUserPassword" type:"string"`
	// contains filtered or unexported fields
}

Describes a pending database value modification. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PendingModifiedRelationalDatabaseValues

func (PendingModifiedRelationalDatabaseValues) GoString added in v0.6.0

GoString returns the string representation

func (PendingModifiedRelationalDatabaseValues) String added in v0.6.0

String returns the string representation

type PortAccessType

type PortAccessType string
const (
	PortAccessTypePublic  PortAccessType = "Public"
	PortAccessTypePrivate PortAccessType = "Private"
)

Enum values for PortAccessType

func (PortAccessType) MarshalValue added in v0.3.0

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

func (PortAccessType) MarshalValueBuf added in v0.3.0

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

type PortInfo

type PortInfo struct {

	// The first port in the range.
	FromPort *int64 `locationName:"fromPort" type:"integer"`

	// The protocol.
	Protocol NetworkProtocol `locationName:"protocol" type:"string" enum:"true"`

	// The last port in the range.
	ToPort *int64 `locationName:"toPort" type:"integer"`
	// contains filtered or unexported fields
}

Describes information about the ports on your virtual private server (or instance). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PortInfo

func (PortInfo) GoString

func (s PortInfo) GoString() string

GoString returns the string representation

func (PortInfo) String

func (s PortInfo) String() string

String returns the string representation

type PortInfoSourceType added in v0.6.0

type PortInfoSourceType string
const (
	PortInfoSourceTypeDefault  PortInfoSourceType = "DEFAULT"
	PortInfoSourceTypeInstance PortInfoSourceType = "INSTANCE"
	PortInfoSourceTypeNone     PortInfoSourceType = "NONE"
)

Enum values for PortInfoSourceType

func (PortInfoSourceType) MarshalValue added in v0.6.0

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

func (PortInfoSourceType) MarshalValueBuf added in v0.6.0

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

type PortState

type PortState string
const (
	PortStateOpen   PortState = "open"
	PortStateClosed PortState = "closed"
)

Enum values for PortState

func (PortState) MarshalValue added in v0.3.0

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

func (PortState) MarshalValueBuf added in v0.3.0

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

type PutInstancePublicPortsInput

type PutInstancePublicPortsInput struct {

	// The Lightsail instance name of the public port(s) you are setting.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`

	// Specifies information about the public port(s).
	//
	// PortInfos is a required field
	PortInfos []PortInfo `locationName:"portInfos" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsRequest

func (PutInstancePublicPortsInput) GoString

func (s PutInstancePublicPortsInput) GoString() string

GoString returns the string representation

func (PutInstancePublicPortsInput) String

String returns the string representation

func (*PutInstancePublicPortsInput) Validate

func (s *PutInstancePublicPortsInput) Validate() error

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

type PutInstancePublicPortsOutput

type PutInstancePublicPortsOutput struct {

	// Describes metadata about the operation you just executed.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsResult

func (PutInstancePublicPortsOutput) GoString

func (s PutInstancePublicPortsOutput) GoString() string

GoString returns the string representation

func (PutInstancePublicPortsOutput) SDKResponseMetadata

func (s PutInstancePublicPortsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutInstancePublicPortsOutput) String

String returns the string representation

type PutInstancePublicPortsRequest

type PutInstancePublicPortsRequest struct {
	*aws.Request
	Input *PutInstancePublicPortsInput
	Copy  func(*PutInstancePublicPortsInput) PutInstancePublicPortsRequest
}

PutInstancePublicPortsRequest is a API request type for the PutInstancePublicPorts API operation.

func (PutInstancePublicPortsRequest) Send

Send marshals and sends the PutInstancePublicPorts API request.

type RebootInstanceInput

type RebootInstanceInput struct {

	// The name of the instance to reboot.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstanceRequest

func (RebootInstanceInput) GoString

func (s RebootInstanceInput) GoString() string

GoString returns the string representation

func (RebootInstanceInput) String

func (s RebootInstanceInput) String() string

String returns the string representation

func (*RebootInstanceInput) Validate

func (s *RebootInstanceInput) Validate() error

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

type RebootInstanceOutput

type RebootInstanceOutput struct {

	// An array of key-value pairs containing information about the request operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstanceResult

func (RebootInstanceOutput) GoString

func (s RebootInstanceOutput) GoString() string

GoString returns the string representation

func (RebootInstanceOutput) SDKResponseMetadata

func (s RebootInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (RebootInstanceOutput) String

func (s RebootInstanceOutput) String() string

String returns the string representation

type RebootInstanceRequest

type RebootInstanceRequest struct {
	*aws.Request
	Input *RebootInstanceInput
	Copy  func(*RebootInstanceInput) RebootInstanceRequest
}

RebootInstanceRequest is a API request type for the RebootInstance API operation.

func (RebootInstanceRequest) Send

Send marshals and sends the RebootInstance API request.

type RebootRelationalDatabaseInput added in v0.6.0

type RebootRelationalDatabaseInput struct {

	// The name of your database to reboot.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootRelationalDatabaseRequest

func (RebootRelationalDatabaseInput) GoString added in v0.6.0

GoString returns the string representation

func (RebootRelationalDatabaseInput) String added in v0.6.0

String returns the string representation

func (*RebootRelationalDatabaseInput) Validate added in v0.6.0

func (s *RebootRelationalDatabaseInput) Validate() error

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

type RebootRelationalDatabaseOutput added in v0.6.0

type RebootRelationalDatabaseOutput struct {

	// An object describing the result of your reboot relational database request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootRelationalDatabaseResult

func (RebootRelationalDatabaseOutput) GoString added in v0.6.0

GoString returns the string representation

func (RebootRelationalDatabaseOutput) SDKResponseMetadata added in v0.6.0

func (s RebootRelationalDatabaseOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (RebootRelationalDatabaseOutput) String added in v0.6.0

String returns the string representation

type RebootRelationalDatabaseRequest added in v0.6.0

type RebootRelationalDatabaseRequest struct {
	*aws.Request
	Input *RebootRelationalDatabaseInput
	Copy  func(*RebootRelationalDatabaseInput) RebootRelationalDatabaseRequest
}

RebootRelationalDatabaseRequest is a API request type for the RebootRelationalDatabase API operation.

func (RebootRelationalDatabaseRequest) Send added in v0.6.0

Send marshals and sends the RebootRelationalDatabase API request.

type RecordState added in v0.6.0

type RecordState string
const (
	RecordStateStarted   RecordState = "Started"
	RecordStateSucceeded RecordState = "Succeeded"
	RecordStateFailed    RecordState = "Failed"
)

Enum values for RecordState

func (RecordState) MarshalValue added in v0.6.0

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

func (RecordState) MarshalValueBuf added in v0.6.0

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

type Region

type Region struct {

	// The Availability Zones. Follows the format us-east-2a (case-sensitive).
	AvailabilityZones []AvailabilityZone `locationName:"availabilityZones" type:"list"`

	// The continent code (e.g., NA, meaning North America).
	ContinentCode *string `locationName:"continentCode" type:"string"`

	// The description of the AWS Region (e.g., This region is recommended to serve
	// users in the eastern United States and eastern Canada).
	Description *string `locationName:"description" type:"string"`

	// The display name (e.g., Ohio).
	DisplayName *string `locationName:"displayName" type:"string"`

	// The region name (e.g., us-east-2).
	Name RegionName `locationName:"name" type:"string" enum:"true"`

	// The Availability Zones for databases. Follows the format us-east-2a (case-sensitive).
	RelationalDatabaseAvailabilityZones []AvailabilityZone `locationName:"relationalDatabaseAvailabilityZones" type:"list"`
	// contains filtered or unexported fields
}

Describes the AWS Region. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Region

func (Region) GoString

func (s Region) GoString() string

GoString returns the string representation

func (Region) String

func (s Region) String() string

String returns the string representation

type RegionName

type RegionName string
const (
	RegionNameUsEast1      RegionName = "us-east-1"
	RegionNameUsEast2      RegionName = "us-east-2"
	RegionNameUsWest1      RegionName = "us-west-1"
	RegionNameUsWest2      RegionName = "us-west-2"
	RegionNameEuWest1      RegionName = "eu-west-1"
	RegionNameEuWest2      RegionName = "eu-west-2"
	RegionNameEuWest3      RegionName = "eu-west-3"
	RegionNameEuCentral1   RegionName = "eu-central-1"
	RegionNameCaCentral1   RegionName = "ca-central-1"
	RegionNameApSouth1     RegionName = "ap-south-1"
	RegionNameApSoutheast1 RegionName = "ap-southeast-1"
	RegionNameApSoutheast2 RegionName = "ap-southeast-2"
	RegionNameApNortheast1 RegionName = "ap-northeast-1"
	RegionNameApNortheast2 RegionName = "ap-northeast-2"
)

Enum values for RegionName

func (RegionName) MarshalValue added in v0.3.0

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

func (RegionName) MarshalValueBuf added in v0.3.0

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

type RelationalDatabase added in v0.6.0

type RelationalDatabase struct {

	// The Amazon Resource Name (ARN) of the database.
	Arn *string `locationName:"arn" type:"string"`

	// A Boolean value indicating whether automated backup retention is enabled
	// for the database.
	BackupRetentionEnabled *bool `locationName:"backupRetentionEnabled" type:"boolean"`

	// The timestamp when the database was created. Formatted in Unix time.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The database software (for example, MySQL).
	Engine *string `locationName:"engine" type:"string"`

	// The database engine version (for example, 5.7.23).
	EngineVersion *string `locationName:"engineVersion" type:"string"`

	// Describes the hardware of the database.
	Hardware *RelationalDatabaseHardware `locationName:"hardware" type:"structure"`

	// The latest point in time to which the database can be restored. Formatted
	// in Unix time.
	LatestRestorableTime *time.Time `locationName:"latestRestorableTime" type:"timestamp" timestampFormat:"unix"`

	// The Region name and Availability Zone where the database is located.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the master database created when the Lightsail database resource
	// is created.
	MasterDatabaseName *string `locationName:"masterDatabaseName" type:"string"`

	// The master endpoint for the database.
	MasterEndpoint *RelationalDatabaseEndpoint `locationName:"masterEndpoint" type:"structure"`

	// The master user name of the database.
	MasterUsername *string `locationName:"masterUsername" type:"string"`

	// The unique name of the database resource in Lightsail.
	Name *string `locationName:"name" type:"string"`

	// The status of parameter updates for the database.
	ParameterApplyStatus *string `locationName:"parameterApplyStatus" type:"string"`

	// Describes the pending maintenance actions for the database.
	PendingMaintenanceActions []PendingMaintenanceAction `locationName:"pendingMaintenanceActions" type:"list"`

	// Describes pending database value modifications.
	PendingModifiedValues *PendingModifiedRelationalDatabaseValues `locationName:"pendingModifiedValues" type:"structure"`

	// The daily time range during which automated backups are created for the database
	// (for example, 16:00-16:30).
	PreferredBackupWindow *string `locationName:"preferredBackupWindow" type:"string"`

	// The weekly time range during which system maintenance can occur on the database.
	//
	// In the format ddd:hh24:mi-ddd:hh24:mi. For example, Tue:17:00-Tue:17:30.
	PreferredMaintenanceWindow *string `locationName:"preferredMaintenanceWindow" type:"string"`

	// A Boolean value indicating whether the database is publicly accessible.
	PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"`

	// The blueprint ID for the database. A blueprint describes the major engine
	// version of a database.
	RelationalDatabaseBlueprintId *string `locationName:"relationalDatabaseBlueprintId" type:"string"`

	// The bundle ID for the database. A bundle describes the performance specifications
	// for your database.
	RelationalDatabaseBundleId *string `locationName:"relationalDatabaseBundleId" type:"string"`

	// The Lightsail resource type for the database (for example, RelationalDatabase).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// Describes the secondary Availability Zone of a high availability database.
	//
	// The secondary database is used for failover support of a high availability
	// database.
	SecondaryAvailabilityZone *string `locationName:"secondaryAvailabilityZone" type:"string"`

	// Describes the current state of the database.
	State *string `locationName:"state" type:"string"`

	// The support code for the database. Include this code in your email to support
	// when you have questions about a database in Lightsail. This code enables
	// our support team to look up your Lightsail information more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Describes a database. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RelationalDatabase

func (RelationalDatabase) GoString added in v0.6.0

func (s RelationalDatabase) GoString() string

GoString returns the string representation

func (RelationalDatabase) String added in v0.6.0

func (s RelationalDatabase) String() string

String returns the string representation

type RelationalDatabaseBlueprint added in v0.6.0

type RelationalDatabaseBlueprint struct {

	// The ID for the database blueprint.
	BlueprintId *string `locationName:"blueprintId" type:"string"`

	// The database software of the database blueprint (for example, MySQL).
	Engine RelationalDatabaseEngine `locationName:"engine" type:"string" enum:"true"`

	// The description of the database engine for the database blueprint.
	EngineDescription *string `locationName:"engineDescription" type:"string"`

	// The database engine version for the database blueprint (for example, 5.7.23).
	EngineVersion *string `locationName:"engineVersion" type:"string"`

	// The description of the database engine version for the database blueprint.
	EngineVersionDescription *string `locationName:"engineVersionDescription" type:"string"`

	// A Boolean value indicating whether the engine version is the default for
	// the database blueprint.
	IsEngineDefault *bool `locationName:"isEngineDefault" type:"boolean"`
	// contains filtered or unexported fields
}

Describes a database image, or blueprint. A blueprint describes the major engine version of a database. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RelationalDatabaseBlueprint

func (RelationalDatabaseBlueprint) GoString added in v0.6.0

func (s RelationalDatabaseBlueprint) GoString() string

GoString returns the string representation

func (RelationalDatabaseBlueprint) String added in v0.6.0

String returns the string representation

type RelationalDatabaseBundle added in v0.6.0

type RelationalDatabaseBundle struct {

	// The ID for the database bundle.
	BundleId *string `locationName:"bundleId" type:"string"`

	// The number of virtual CPUs (vCPUs) for the database bundle.
	CpuCount *int64 `locationName:"cpuCount" type:"integer"`

	// The size of the disk for the database bundle.
	DiskSizeInGb *int64 `locationName:"diskSizeInGb" type:"integer"`

	// A Boolean value indicating whether the database bundle is active.
	IsActive *bool `locationName:"isActive" type:"boolean"`

	// A Boolean value indicating whether the database bundle is encrypted.
	IsEncrypted *bool `locationName:"isEncrypted" type:"boolean"`

	// The name for the database bundle.
	Name *string `locationName:"name" type:"string"`

	// The cost of the database bundle in US currency.
	Price *float64 `locationName:"price" type:"float"`

	// The amount of RAM in GB (for example, 2.0) for the database bundle.
	RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"`

	// The data transfer rate per month in GB for the database bundle.
	TransferPerMonthInGb *int64 `locationName:"transferPerMonthInGb" type:"integer"`
	// contains filtered or unexported fields
}

Describes a database bundle. A bundle describes the performance specifications of the database. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RelationalDatabaseBundle

func (RelationalDatabaseBundle) GoString added in v0.6.0

func (s RelationalDatabaseBundle) GoString() string

GoString returns the string representation

func (RelationalDatabaseBundle) String added in v0.6.0

func (s RelationalDatabaseBundle) String() string

String returns the string representation

type RelationalDatabaseEndpoint added in v0.6.0

type RelationalDatabaseEndpoint struct {

	// Specifies the DNS address of the database.
	Address *string `locationName:"address" type:"string"`

	// Specifies the port that the database is listening on.
	Port *int64 `locationName:"port" type:"integer"`
	// contains filtered or unexported fields
}

Describes an endpoint for a database. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RelationalDatabaseEndpoint

func (RelationalDatabaseEndpoint) GoString added in v0.6.0

func (s RelationalDatabaseEndpoint) GoString() string

GoString returns the string representation

func (RelationalDatabaseEndpoint) String added in v0.6.0

String returns the string representation

type RelationalDatabaseEngine added in v0.6.0

type RelationalDatabaseEngine string
const (
	RelationalDatabaseEngineMysql RelationalDatabaseEngine = "mysql"
)

Enum values for RelationalDatabaseEngine

func (RelationalDatabaseEngine) MarshalValue added in v0.6.0

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

func (RelationalDatabaseEngine) MarshalValueBuf added in v0.6.0

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

type RelationalDatabaseEvent added in v0.6.0

type RelationalDatabaseEvent struct {

	// The timestamp when the database event was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The category that the database event belongs to.
	EventCategories []string `locationName:"eventCategories" type:"list"`

	// The message of the database event.
	Message *string `locationName:"message" type:"string"`

	// The database that the database event relates to.
	Resource *string `locationName:"resource" type:"string"`
	// contains filtered or unexported fields
}

Describes an event for a database. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RelationalDatabaseEvent

func (RelationalDatabaseEvent) GoString added in v0.6.0

func (s RelationalDatabaseEvent) GoString() string

GoString returns the string representation

func (RelationalDatabaseEvent) String added in v0.6.0

func (s RelationalDatabaseEvent) String() string

String returns the string representation

type RelationalDatabaseHardware added in v0.6.0

type RelationalDatabaseHardware struct {

	// The number of vCPUs for the database.
	CpuCount *int64 `locationName:"cpuCount" type:"integer"`

	// The size of the disk for the database.
	DiskSizeInGb *int64 `locationName:"diskSizeInGb" type:"integer"`

	// The amount of RAM in GB for the database.
	RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"`
	// contains filtered or unexported fields
}

Describes the hardware of a database. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RelationalDatabaseHardware

func (RelationalDatabaseHardware) GoString added in v0.6.0

func (s RelationalDatabaseHardware) GoString() string

GoString returns the string representation

func (RelationalDatabaseHardware) String added in v0.6.0

String returns the string representation

type RelationalDatabaseMetricName added in v0.6.0

type RelationalDatabaseMetricName string
const (
	RelationalDatabaseMetricNameCpuutilization            RelationalDatabaseMetricName = "CPUUtilization"
	RelationalDatabaseMetricNameDatabaseConnections       RelationalDatabaseMetricName = "DatabaseConnections"
	RelationalDatabaseMetricNameDiskQueueDepth            RelationalDatabaseMetricName = "DiskQueueDepth"
	RelationalDatabaseMetricNameFreeStorageSpace          RelationalDatabaseMetricName = "FreeStorageSpace"
	RelationalDatabaseMetricNameNetworkReceiveThroughput  RelationalDatabaseMetricName = "NetworkReceiveThroughput"
	RelationalDatabaseMetricNameNetworkTransmitThroughput RelationalDatabaseMetricName = "NetworkTransmitThroughput"
)

Enum values for RelationalDatabaseMetricName

func (RelationalDatabaseMetricName) MarshalValue added in v0.6.0

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

func (RelationalDatabaseMetricName) MarshalValueBuf added in v0.6.0

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

type RelationalDatabaseParameter added in v0.6.0

type RelationalDatabaseParameter struct {

	// Specifies the valid range of values for the parameter.
	AllowedValues *string `locationName:"allowedValues" type:"string"`

	// Indicates when parameter updates are applied.
	//
	// Can be immediate or pending-reboot.
	ApplyMethod *string `locationName:"applyMethod" type:"string"`

	// Specifies the engine-specific parameter type.
	ApplyType *string `locationName:"applyType" type:"string"`

	// Specifies the valid data type for the parameter.
	DataType *string `locationName:"dataType" type:"string"`

	// Provides a description of the parameter.
	Description *string `locationName:"description" type:"string"`

	// A Boolean value indicating whether the parameter can be modified.
	IsModifiable *bool `locationName:"isModifiable" type:"boolean"`

	// Specifies the name of the parameter.
	ParameterName *string `locationName:"parameterName" type:"string"`

	// Specifies the value of the parameter.
	ParameterValue *string `locationName:"parameterValue" type:"string"`
	// contains filtered or unexported fields
}

Describes the parameters of a database. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RelationalDatabaseParameter

func (RelationalDatabaseParameter) GoString added in v0.6.0

func (s RelationalDatabaseParameter) GoString() string

GoString returns the string representation

func (RelationalDatabaseParameter) String added in v0.6.0

String returns the string representation

type RelationalDatabasePasswordVersion added in v0.6.0

type RelationalDatabasePasswordVersion string
const (
	RelationalDatabasePasswordVersionCurrent  RelationalDatabasePasswordVersion = "CURRENT"
	RelationalDatabasePasswordVersionPrevious RelationalDatabasePasswordVersion = "PREVIOUS"
	RelationalDatabasePasswordVersionPending  RelationalDatabasePasswordVersion = "PENDING"
)

Enum values for RelationalDatabasePasswordVersion

func (RelationalDatabasePasswordVersion) MarshalValue added in v0.6.0

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

func (RelationalDatabasePasswordVersion) MarshalValueBuf added in v0.6.0

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

type RelationalDatabaseSnapshot added in v0.6.0

type RelationalDatabaseSnapshot struct {

	// The Amazon Resource Name (ARN) of the database snapshot.
	Arn *string `locationName:"arn" type:"string"`

	// The timestamp when the database snapshot was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The software of the database snapshot (for example, MySQL)
	Engine *string `locationName:"engine" type:"string"`

	// The database engine version for the database snapshot (for example, 5.7.23).
	EngineVersion *string `locationName:"engineVersion" type:"string"`

	// The Amazon Resource Name (ARN) of the database from which the database snapshot
	// was created.
	FromRelationalDatabaseArn *string `locationName:"fromRelationalDatabaseArn" type:"string"`

	// The blueprint ID of the database from which the database snapshot was created.
	// A blueprint describes the major engine version of a database.
	FromRelationalDatabaseBlueprintId *string `locationName:"fromRelationalDatabaseBlueprintId" type:"string"`

	// The bundle ID of the database from which the database snapshot was created.
	FromRelationalDatabaseBundleId *string `locationName:"fromRelationalDatabaseBundleId" type:"string"`

	// The name of the source database from which the database snapshot was created.
	FromRelationalDatabaseName *string `locationName:"fromRelationalDatabaseName" type:"string"`

	// The Region name and Availability Zone where the database snapshot is located.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the database snapshot.
	Name *string `locationName:"name" type:"string"`

	// The Lightsail resource type.
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The size of the disk in GB (for example, 32) for the database snapshot.
	SizeInGb *int64 `locationName:"sizeInGb" type:"integer"`

	// The state of the database snapshot.
	State *string `locationName:"state" type:"string"`

	// The support code for the database snapshot. Include this code in your email
	// to support when you have questions about a database snapshot in Lightsail.
	// This code enables our support team to look up your Lightsail information
	// more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Describes a database snapshot. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RelationalDatabaseSnapshot

func (RelationalDatabaseSnapshot) GoString added in v0.6.0

func (s RelationalDatabaseSnapshot) GoString() string

GoString returns the string representation

func (RelationalDatabaseSnapshot) String added in v0.6.0

String returns the string representation

type ReleaseStaticIpInput

type ReleaseStaticIpInput struct {

	// The name of the static IP to delete.
	//
	// StaticIpName is a required field
	StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIpRequest

func (ReleaseStaticIpInput) GoString

func (s ReleaseStaticIpInput) GoString() string

GoString returns the string representation

func (ReleaseStaticIpInput) String

func (s ReleaseStaticIpInput) String() string

String returns the string representation

func (*ReleaseStaticIpInput) Validate

func (s *ReleaseStaticIpInput) Validate() error

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

type ReleaseStaticIpOutput

type ReleaseStaticIpOutput struct {

	// An array of key-value pairs containing information about the request operation.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIpResult

func (ReleaseStaticIpOutput) GoString

func (s ReleaseStaticIpOutput) GoString() string

GoString returns the string representation

func (ReleaseStaticIpOutput) SDKResponseMetadata

func (s ReleaseStaticIpOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ReleaseStaticIpOutput) String

func (s ReleaseStaticIpOutput) String() string

String returns the string representation

type ReleaseStaticIpRequest

type ReleaseStaticIpRequest struct {
	*aws.Request
	Input *ReleaseStaticIpInput
	Copy  func(*ReleaseStaticIpInput) ReleaseStaticIpRequest
}

ReleaseStaticIpRequest is a API request type for the ReleaseStaticIp API operation.

func (ReleaseStaticIpRequest) Send

Send marshals and sends the ReleaseStaticIp API request.

type ResourceLocation

type ResourceLocation struct {

	// The Availability Zone. Follows the format us-east-2a (case-sensitive).
	AvailabilityZone *string `locationName:"availabilityZone" type:"string"`

	// The AWS Region name.
	RegionName RegionName `locationName:"regionName" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes the resource location. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ResourceLocation

func (ResourceLocation) GoString

func (s ResourceLocation) GoString() string

GoString returns the string representation

func (ResourceLocation) String

func (s ResourceLocation) String() string

String returns the string representation

type ResourceType

type ResourceType string
const (
	ResourceTypeInstance                   ResourceType = "Instance"
	ResourceTypeStaticIp                   ResourceType = "StaticIp"
	ResourceTypeKeyPair                    ResourceType = "KeyPair"
	ResourceTypeInstanceSnapshot           ResourceType = "InstanceSnapshot"
	ResourceTypeDomain                     ResourceType = "Domain"
	ResourceTypePeeredVpc                  ResourceType = "PeeredVpc"
	ResourceTypeLoadBalancer               ResourceType = "LoadBalancer"
	ResourceTypeLoadBalancerTlsCertificate ResourceType = "LoadBalancerTlsCertificate"
	ResourceTypeDisk                       ResourceType = "Disk"
	ResourceTypeDiskSnapshot               ResourceType = "DiskSnapshot"
	ResourceTypeRelationalDatabase         ResourceType = "RelationalDatabase"
	ResourceTypeRelationalDatabaseSnapshot ResourceType = "RelationalDatabaseSnapshot"
	ResourceTypeExportSnapshotRecord       ResourceType = "ExportSnapshotRecord"
	ResourceTypeCloudFormationStackRecord  ResourceType = "CloudFormationStackRecord"
)

Enum values for ResourceType

func (ResourceType) MarshalValue added in v0.3.0

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

func (ResourceType) MarshalValueBuf added in v0.3.0

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

type StartInstanceInput

type StartInstanceInput struct {

	// The name of the instance (a virtual private server) to start.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstanceRequest

func (StartInstanceInput) GoString

func (s StartInstanceInput) GoString() string

GoString returns the string representation

func (StartInstanceInput) String

func (s StartInstanceInput) String() string

String returns the string representation

func (*StartInstanceInput) Validate

func (s *StartInstanceInput) Validate() error

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

type StartInstanceOutput

type StartInstanceOutput struct {

	// An array of key-value pairs containing information about the request operation.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstanceResult

func (StartInstanceOutput) GoString

func (s StartInstanceOutput) GoString() string

GoString returns the string representation

func (StartInstanceOutput) SDKResponseMetadata

func (s StartInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (StartInstanceOutput) String

func (s StartInstanceOutput) String() string

String returns the string representation

type StartInstanceRequest

type StartInstanceRequest struct {
	*aws.Request
	Input *StartInstanceInput
	Copy  func(*StartInstanceInput) StartInstanceRequest
}

StartInstanceRequest is a API request type for the StartInstance API operation.

func (StartInstanceRequest) Send

Send marshals and sends the StartInstance API request.

type StartRelationalDatabaseInput added in v0.6.0

type StartRelationalDatabaseInput struct {

	// The name of your database to start.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartRelationalDatabaseRequest

func (StartRelationalDatabaseInput) GoString added in v0.6.0

func (s StartRelationalDatabaseInput) GoString() string

GoString returns the string representation

func (StartRelationalDatabaseInput) String added in v0.6.0

String returns the string representation

func (*StartRelationalDatabaseInput) Validate added in v0.6.0

func (s *StartRelationalDatabaseInput) Validate() error

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

type StartRelationalDatabaseOutput added in v0.6.0

type StartRelationalDatabaseOutput struct {

	// An object describing the result of your start relational database request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartRelationalDatabaseResult

func (StartRelationalDatabaseOutput) GoString added in v0.6.0

GoString returns the string representation

func (StartRelationalDatabaseOutput) SDKResponseMetadata added in v0.6.0

func (s StartRelationalDatabaseOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (StartRelationalDatabaseOutput) String added in v0.6.0

String returns the string representation

type StartRelationalDatabaseRequest added in v0.6.0

type StartRelationalDatabaseRequest struct {
	*aws.Request
	Input *StartRelationalDatabaseInput
	Copy  func(*StartRelationalDatabaseInput) StartRelationalDatabaseRequest
}

StartRelationalDatabaseRequest is a API request type for the StartRelationalDatabase API operation.

func (StartRelationalDatabaseRequest) Send added in v0.6.0

Send marshals and sends the StartRelationalDatabase API request.

type StaticIp

type StaticIp struct {

	// The Amazon Resource Name (ARN) of the static IP (e.g., arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE).
	Arn *string `locationName:"arn" type:"string"`

	// The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Ohio-1).
	AttachedTo *string `locationName:"attachedTo" type:"string"`

	// The timestamp when the static IP was created (e.g., 1479735304.222).
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The static IP address.
	IpAddress *string `locationName:"ipAddress" type:"string"`

	// A Boolean value indicating whether the static IP is attached.
	IsAttached *bool `locationName:"isAttached" type:"boolean"`

	// The region and Availability Zone where the static IP was created.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE).
	Name *string `locationName:"name" type:"string"`

	// The resource type (usually StaticIp).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The support code. Include this code in your email to support when you have
	// questions about an instance or another resource in Lightsail. This code enables
	// our support team to look up your Lightsail information more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`
	// contains filtered or unexported fields
}

Describes the static IP. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StaticIp

func (StaticIp) GoString

func (s StaticIp) GoString() string

GoString returns the string representation

func (StaticIp) String

func (s StaticIp) String() string

String returns the string representation

type StopInstanceInput

type StopInstanceInput struct {

	// When set to True, forces a Lightsail instance that is stuck in a stopping
	// state to stop.
	//
	// Only use the force parameter if your instance is stuck in the stopping state.
	// In any other state, your instance should stop normally without adding this
	// parameter to your API request.
	Force *bool `locationName:"force" type:"boolean"`

	// The name of the instance (a virtual private server) to stop.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstanceRequest

func (StopInstanceInput) GoString

func (s StopInstanceInput) GoString() string

GoString returns the string representation

func (StopInstanceInput) String

func (s StopInstanceInput) String() string

String returns the string representation

func (*StopInstanceInput) Validate

func (s *StopInstanceInput) Validate() error

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

type StopInstanceOutput

type StopInstanceOutput struct {

	// An array of key-value pairs containing information about the request operation.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstanceResult

func (StopInstanceOutput) GoString

func (s StopInstanceOutput) GoString() string

GoString returns the string representation

func (StopInstanceOutput) SDKResponseMetadata

func (s StopInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (StopInstanceOutput) String

func (s StopInstanceOutput) String() string

String returns the string representation

type StopInstanceRequest

type StopInstanceRequest struct {
	*aws.Request
	Input *StopInstanceInput
	Copy  func(*StopInstanceInput) StopInstanceRequest
}

StopInstanceRequest is a API request type for the StopInstance API operation.

func (StopInstanceRequest) Send

Send marshals and sends the StopInstance API request.

type StopRelationalDatabaseInput added in v0.6.0

type StopRelationalDatabaseInput struct {

	// The name of your database to stop.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`

	// The name of your new database snapshot to be created before stopping your
	// database.
	RelationalDatabaseSnapshotName *string `locationName:"relationalDatabaseSnapshotName" type:"string"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopRelationalDatabaseRequest

func (StopRelationalDatabaseInput) GoString added in v0.6.0

func (s StopRelationalDatabaseInput) GoString() string

GoString returns the string representation

func (StopRelationalDatabaseInput) String added in v0.6.0

String returns the string representation

func (*StopRelationalDatabaseInput) Validate added in v0.6.0

func (s *StopRelationalDatabaseInput) Validate() error

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

type StopRelationalDatabaseOutput added in v0.6.0

type StopRelationalDatabaseOutput struct {

	// An object describing the result of your stop relational database request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopRelationalDatabaseResult

func (StopRelationalDatabaseOutput) GoString added in v0.6.0

func (s StopRelationalDatabaseOutput) GoString() string

GoString returns the string representation

func (StopRelationalDatabaseOutput) SDKResponseMetadata added in v0.6.0

func (s StopRelationalDatabaseOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (StopRelationalDatabaseOutput) String added in v0.6.0

String returns the string representation

type StopRelationalDatabaseRequest added in v0.6.0

type StopRelationalDatabaseRequest struct {
	*aws.Request
	Input *StopRelationalDatabaseInput
	Copy  func(*StopRelationalDatabaseInput) StopRelationalDatabaseRequest
}

StopRelationalDatabaseRequest is a API request type for the StopRelationalDatabase API operation.

func (StopRelationalDatabaseRequest) Send added in v0.6.0

Send marshals and sends the StopRelationalDatabase API request.

type Tag added in v0.6.0

type Tag struct {

	// The key of the tag.
	//
	// Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in
	// UTF-8, or the following characters: + - = . _ : / @
	Key *string `locationName:"key" type:"string"`

	// The value of the tag.
	//
	// Constraints: Tag values accept a maximum of 256 letters, numbers, spaces
	// in UTF-8, or the following characters: + - = . _ : / @
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

Describes a tag key and optional value assigned to an Amazon Lightsail resource.

For more information about tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Tag

func (Tag) GoString added in v0.6.0

func (s Tag) GoString() string

GoString returns the string representation

func (Tag) String added in v0.6.0

func (s Tag) String() string

String returns the string representation

type TagResourceInput added in v0.6.0

type TagResourceInput struct {

	// The name of the resource to which you are adding tags.
	//
	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`

	// The tag key and optional value.
	//
	// Tags is a required field
	Tags []Tag `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/TagResourceRequest

func (TagResourceInput) GoString added in v0.6.0

func (s TagResourceInput) GoString() string

GoString returns the string representation

func (TagResourceInput) String added in v0.6.0

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate added in v0.6.0

func (s *TagResourceInput) Validate() error

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

type TagResourceOutput added in v0.6.0

type TagResourceOutput struct {

	// A list of objects describing the API operation.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/TagResourceResult

func (TagResourceOutput) GoString added in v0.6.0

func (s TagResourceOutput) GoString() string

GoString returns the string representation

func (TagResourceOutput) SDKResponseMetadata added in v0.6.0

func (s TagResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (TagResourceOutput) String added in v0.6.0

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest added in v0.6.0

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is a API request type for the TagResource API operation.

func (TagResourceRequest) Send added in v0.6.0

Send marshals and sends the TagResource API request.

type UnpeerVpcInput

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

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpcRequest

func (UnpeerVpcInput) GoString

func (s UnpeerVpcInput) GoString() string

GoString returns the string representation

func (UnpeerVpcInput) String

func (s UnpeerVpcInput) String() string

String returns the string representation

type UnpeerVpcOutput

type UnpeerVpcOutput struct {

	// An array of key-value pairs containing information about the request operation.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpcResult

func (UnpeerVpcOutput) GoString

func (s UnpeerVpcOutput) GoString() string

GoString returns the string representation

func (UnpeerVpcOutput) SDKResponseMetadata

func (s UnpeerVpcOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UnpeerVpcOutput) String

func (s UnpeerVpcOutput) String() string

String returns the string representation

type UnpeerVpcRequest

type UnpeerVpcRequest struct {
	*aws.Request
	Input *UnpeerVpcInput
	Copy  func(*UnpeerVpcInput) UnpeerVpcRequest
}

UnpeerVpcRequest is a API request type for the UnpeerVpc API operation.

func (UnpeerVpcRequest) Send

func (r UnpeerVpcRequest) Send() (*UnpeerVpcOutput, error)

Send marshals and sends the UnpeerVpc API request.

type UntagResourceInput added in v0.6.0

type UntagResourceInput struct {

	// The name of the resource from which you are removing a tag.
	//
	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`

	// The tag keys to delete from the specified resource.
	//
	// TagKeys is a required field
	TagKeys []string `locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UntagResourceRequest

func (UntagResourceInput) GoString added in v0.6.0

func (s UntagResourceInput) GoString() string

GoString returns the string representation

func (UntagResourceInput) String added in v0.6.0

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate added in v0.6.0

func (s *UntagResourceInput) Validate() error

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

type UntagResourceOutput added in v0.6.0

type UntagResourceOutput struct {

	// A list of objects describing the API operation.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UntagResourceResult

func (UntagResourceOutput) GoString added in v0.6.0

func (s UntagResourceOutput) GoString() string

GoString returns the string representation

func (UntagResourceOutput) SDKResponseMetadata added in v0.6.0

func (s UntagResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UntagResourceOutput) String added in v0.6.0

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest added in v0.6.0

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is a API request type for the UntagResource API operation.

func (UntagResourceRequest) Send added in v0.6.0

Send marshals and sends the UntagResource API request.

type UpdateDomainEntryInput

type UpdateDomainEntryInput struct {

	// An array of key-value pairs containing information about the domain entry.
	//
	// DomainEntry is a required field
	DomainEntry *DomainEntry `locationName:"domainEntry" type:"structure" required:"true"`

	// The name of the domain recordset to update.
	//
	// DomainName is a required field
	DomainName *string `locationName:"domainName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntryRequest

func (UpdateDomainEntryInput) GoString

func (s UpdateDomainEntryInput) GoString() string

GoString returns the string representation

func (UpdateDomainEntryInput) String

func (s UpdateDomainEntryInput) String() string

String returns the string representation

func (*UpdateDomainEntryInput) Validate

func (s *UpdateDomainEntryInput) Validate() error

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

type UpdateDomainEntryOutput

type UpdateDomainEntryOutput struct {

	// An array of key-value pairs containing information about the request operation.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntryResult

func (UpdateDomainEntryOutput) GoString

func (s UpdateDomainEntryOutput) GoString() string

GoString returns the string representation

func (UpdateDomainEntryOutput) SDKResponseMetadata

func (s UpdateDomainEntryOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateDomainEntryOutput) String

func (s UpdateDomainEntryOutput) String() string

String returns the string representation

type UpdateDomainEntryRequest

type UpdateDomainEntryRequest struct {
	*aws.Request
	Input *UpdateDomainEntryInput
	Copy  func(*UpdateDomainEntryInput) UpdateDomainEntryRequest
}

UpdateDomainEntryRequest is a API request type for the UpdateDomainEntry API operation.

func (UpdateDomainEntryRequest) Send

Send marshals and sends the UpdateDomainEntry API request.

type UpdateLoadBalancerAttributeInput added in v0.2.0

type UpdateLoadBalancerAttributeInput struct {

	// The name of the attribute you want to update. Valid values are below.
	//
	// AttributeName is a required field
	AttributeName LoadBalancerAttributeName `locationName:"attributeName" type:"string" required:"true" enum:"true"`

	// The value that you want to specify for the attribute name.
	//
	// AttributeValue is a required field
	AttributeValue *string `locationName:"attributeValue" min:"1" type:"string" required:"true"`

	// The name of the load balancer that you want to modify (e.g., my-load-balancer.
	//
	// LoadBalancerName is a required field
	LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttributeRequest

func (UpdateLoadBalancerAttributeInput) GoString added in v0.2.0

GoString returns the string representation

func (UpdateLoadBalancerAttributeInput) String added in v0.2.0

String returns the string representation

func (*UpdateLoadBalancerAttributeInput) Validate added in v0.2.0

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

type UpdateLoadBalancerAttributeOutput added in v0.2.0

type UpdateLoadBalancerAttributeOutput struct {

	// An object describing the API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttributeResult

func (UpdateLoadBalancerAttributeOutput) GoString added in v0.2.0

GoString returns the string representation

func (UpdateLoadBalancerAttributeOutput) SDKResponseMetadata added in v0.2.0

func (s UpdateLoadBalancerAttributeOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateLoadBalancerAttributeOutput) String added in v0.2.0

String returns the string representation

type UpdateLoadBalancerAttributeRequest added in v0.2.0

type UpdateLoadBalancerAttributeRequest struct {
	*aws.Request
	Input *UpdateLoadBalancerAttributeInput
	Copy  func(*UpdateLoadBalancerAttributeInput) UpdateLoadBalancerAttributeRequest
}

UpdateLoadBalancerAttributeRequest is a API request type for the UpdateLoadBalancerAttribute API operation.

func (UpdateLoadBalancerAttributeRequest) Send added in v0.2.0

Send marshals and sends the UpdateLoadBalancerAttribute API request.

type UpdateRelationalDatabaseInput added in v0.6.0

type UpdateRelationalDatabaseInput struct {

	// When true, applies changes immediately. When false, applies changes during
	// the preferred maintenance window. Some changes may cause an outage.
	//
	// Default: false
	ApplyImmediately *bool `locationName:"applyImmediately" type:"boolean"`

	// When true, disables automated backup retention for your database.
	//
	// Disabling backup retention deletes all automated database backups. Before
	// disabling this, you may want to create a snapshot of your database using
	// the create relational database snapshot operation.
	//
	// Updates are applied during the next maintenance window because this can result
	// in an outage.
	DisableBackupRetention *bool `locationName:"disableBackupRetention" type:"boolean"`

	// When true, enables automated backup retention for your database.
	//
	// Updates are applied during the next maintenance window because this can result
	// in an outage.
	EnableBackupRetention *bool `locationName:"enableBackupRetention" type:"boolean"`

	// The password for the master user of your database. The password can include
	// any printable ASCII character except "/", """, or "@".
	//
	// Constraints: Must contain 8 to 41 characters.
	MasterUserPassword *string `locationName:"masterUserPassword" type:"string"`

	// The daily time range during which automated backups are created for your
	// database if automated backups are enabled.
	//
	// Constraints:
	//
	//    * Must be in the hh24:mi-hh24:mi format.
	//
	// Example: 16:00-16:30
	//
	//    * Specified in Universal Coordinated Time (UTC).
	//
	//    * Must not conflict with the preferred maintenance window.
	//
	//    * Must be at least 30 minutes.
	PreferredBackupWindow *string `locationName:"preferredBackupWindow" type:"string"`

	// The weekly time range during which system maintenance can occur on your database.
	//
	// The default is a 30-minute window selected at random from an 8-hour block
	// of time for each AWS Region, occurring on a random day of the week.
	//
	// Constraints:
	//
	//    * Must be in the ddd:hh24:mi-ddd:hh24:mi format.
	//
	//    * Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
	//
	//    * Must be at least 30 minutes.
	//
	//    * Specified in Universal Coordinated Time (UTC).
	//
	//    * Example: Tue:17:00-Tue:17:30
	PreferredMaintenanceWindow *string `locationName:"preferredMaintenanceWindow" type:"string"`

	// Specifies the accessibility options for your database. A value of true specifies
	// a database that is available to resources outside of your Lightsail account.
	// A value of false specifies a database that is available only to your Lightsail
	// resources in the same region as your database.
	PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"`

	// The name of your database to update.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`

	// When true, the master user password is changed to a new strong password generated
	// by Lightsail.
	//
	// Use the get relational database master user password operation to get the
	// new password.
	RotateMasterUserPassword *bool `locationName:"rotateMasterUserPassword" type:"boolean"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateRelationalDatabaseRequest

func (UpdateRelationalDatabaseInput) GoString added in v0.6.0

GoString returns the string representation

func (UpdateRelationalDatabaseInput) String added in v0.6.0

String returns the string representation

func (*UpdateRelationalDatabaseInput) Validate added in v0.6.0

func (s *UpdateRelationalDatabaseInput) Validate() error

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

type UpdateRelationalDatabaseOutput added in v0.6.0

type UpdateRelationalDatabaseOutput struct {

	// An object describing the result of your update relational database request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateRelationalDatabaseResult

func (UpdateRelationalDatabaseOutput) GoString added in v0.6.0

GoString returns the string representation

func (UpdateRelationalDatabaseOutput) SDKResponseMetadata added in v0.6.0

func (s UpdateRelationalDatabaseOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateRelationalDatabaseOutput) String added in v0.6.0

String returns the string representation

type UpdateRelationalDatabaseParametersInput added in v0.6.0

type UpdateRelationalDatabaseParametersInput struct {

	// The database parameters to update.
	//
	// Parameters is a required field
	Parameters []RelationalDatabaseParameter `locationName:"parameters" type:"list" required:"true"`

	// The name of your database for which to update parameters.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateRelationalDatabaseParametersRequest

func (UpdateRelationalDatabaseParametersInput) GoString added in v0.6.0

GoString returns the string representation

func (UpdateRelationalDatabaseParametersInput) String added in v0.6.0

String returns the string representation

func (*UpdateRelationalDatabaseParametersInput) Validate added in v0.6.0

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

type UpdateRelationalDatabaseParametersOutput added in v0.6.0

type UpdateRelationalDatabaseParametersOutput struct {

	// An object describing the result of your update relational database parameters
	// request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateRelationalDatabaseParametersResult

func (UpdateRelationalDatabaseParametersOutput) GoString added in v0.6.0

GoString returns the string representation

func (UpdateRelationalDatabaseParametersOutput) SDKResponseMetadata added in v0.6.0

func (s UpdateRelationalDatabaseParametersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateRelationalDatabaseParametersOutput) String added in v0.6.0

String returns the string representation

type UpdateRelationalDatabaseParametersRequest added in v0.6.0

UpdateRelationalDatabaseParametersRequest is a API request type for the UpdateRelationalDatabaseParameters API operation.

func (UpdateRelationalDatabaseParametersRequest) Send added in v0.6.0

Send marshals and sends the UpdateRelationalDatabaseParameters API request.

type UpdateRelationalDatabaseRequest added in v0.6.0

type UpdateRelationalDatabaseRequest struct {
	*aws.Request
	Input *UpdateRelationalDatabaseInput
	Copy  func(*UpdateRelationalDatabaseInput) UpdateRelationalDatabaseRequest
}

UpdateRelationalDatabaseRequest is a API request type for the UpdateRelationalDatabase API operation.

func (UpdateRelationalDatabaseRequest) Send added in v0.6.0

Send marshals and sends the UpdateRelationalDatabase API request.

Directories

Path Synopsis
Package lightsailiface provides an interface to enable mocking the Amazon Lightsail service client for testing your code.
Package lightsailiface provides an interface to enable mocking the Amazon Lightsail service client for testing your code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL