lightsail

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 58

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, a managed database, 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 use 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 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 (
	ServiceName = "Amazon Lightsail" // Service's name
	ServiceID   = "Lightsail"        // Service's identifier
	EndpointsID = "lightsail"        // Service's Endpoint identifier
)
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"
)

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) 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) 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 the request type for the AllocateStaticIp API operation.

func (AllocateStaticIpRequest) Send

Send marshals and sends the AllocateStaticIp API request.

type AllocateStaticIpResponse added in v0.9.0

type AllocateStaticIpResponse struct {
	*AllocateStaticIpOutput
	// contains filtered or unexported fields
}

AllocateStaticIpResponse is the response type for the AllocateStaticIp API operation.

func (*AllocateStaticIpResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the AllocateStaticIp 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) 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) 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 the request type for the AttachDisk API operation.

func (AttachDiskRequest) Send added in v0.2.0

Send marshals and sends the AttachDisk API request.

type AttachDiskResponse added in v0.9.0

type AttachDiskResponse struct {
	*AttachDiskOutput
	// contains filtered or unexported fields
}

AttachDiskResponse is the response type for the AttachDisk API operation.

func (*AttachDiskResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the AttachDisk 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) 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) 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 the request type for the AttachInstancesToLoadBalancer API operation.

func (AttachInstancesToLoadBalancerRequest) Send added in v0.2.0

Send marshals and sends the AttachInstancesToLoadBalancer API request.

type AttachInstancesToLoadBalancerResponse added in v0.9.0

type AttachInstancesToLoadBalancerResponse struct {
	*AttachInstancesToLoadBalancerOutput
	// contains filtered or unexported fields
}

AttachInstancesToLoadBalancerResponse is the response type for the AttachInstancesToLoadBalancer API operation.

func (*AttachInstancesToLoadBalancerResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the AttachInstancesToLoadBalancer 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) 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) 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 the request type for the AttachLoadBalancerTlsCertificate API operation.

func (AttachLoadBalancerTlsCertificateRequest) Send added in v0.2.0

Send marshals and sends the AttachLoadBalancerTlsCertificate API request.

type AttachLoadBalancerTlsCertificateResponse added in v0.9.0

type AttachLoadBalancerTlsCertificateResponse struct {
	*AttachLoadBalancerTlsCertificateOutput
	// contains filtered or unexported fields
}

AttachLoadBalancerTlsCertificateResponse is the response type for the AttachLoadBalancerTlsCertificate API operation.

func (*AttachLoadBalancerTlsCertificateResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the AttachLoadBalancerTlsCertificate 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) 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) 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 the request type for the AttachStaticIp API operation.

func (AttachStaticIpRequest) Send

Send marshals and sends the AttachStaticIp API request.

type AttachStaticIpResponse added in v0.9.0

type AttachStaticIpResponse struct {
	*AttachStaticIpOutput
	// contains filtered or unexported fields
}

AttachStaticIpResponse is the response type for the AttachStaticIp API operation.

func (*AttachStaticIpResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the AttachStaticIp 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) 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) 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) String

func (s Bundle) String() string

String returns the string representation

type Client added in v0.9.0

type Client struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *Client

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

Example:

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

func (*Client) AllocateStaticIpRequest added in v0.9.0

func (c *Client) 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 AllocateStaticIpRequest.
req := client.AllocateStaticIpRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) AttachDiskRequest added in v0.9.0

func (c *Client) 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 AttachDiskRequest.
req := client.AttachDiskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) AttachInstancesToLoadBalancerRequest added in v0.9.0

func (c *Client) 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 AttachInstancesToLoadBalancerRequest.
req := client.AttachInstancesToLoadBalancerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) AttachLoadBalancerTlsCertificateRequest added in v0.9.0

func (c *Client) 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 AttachLoadBalancerTlsCertificateRequest.
req := client.AttachLoadBalancerTlsCertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) AttachStaticIpRequest added in v0.9.0

func (c *Client) 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 AttachStaticIpRequest.
req := client.AttachStaticIpRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CloseInstancePublicPortsRequest added in v0.9.0

func (c *Client) 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 CloseInstancePublicPortsRequest.
req := client.CloseInstancePublicPortsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CopySnapshotRequest added in v0.9.0

func (c *Client) 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 CopySnapshotRequest.
req := client.CopySnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateCloudFormationStackRequest added in v0.9.0

func (c *Client) 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 CreateCloudFormationStackRequest.
req := client.CreateCloudFormationStackRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateDiskFromSnapshotRequest added in v0.9.0

func (c *Client) 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 CreateDiskFromSnapshotRequest.
req := client.CreateDiskFromSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateDiskRequest added in v0.9.0

func (c *Client) 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 CreateDiskRequest.
req := client.CreateDiskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateDiskSnapshotRequest added in v0.9.0

func (c *Client) 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.

You can also use this operation to create a snapshot of an instance's system volume. You might want to do this, for example, to recover data from the system volume of a botched instance or to create a backup of the system volume like you would for a block storage disk. To create a snapshot of a system volume, just define the instance name parameter when issuing the snapshot command, and a snapshot of the defined instance's system volume will be created. After the snapshot is available, you can create a block storage disk from the snapshot and attach it to a running instance to access the data on the disk.

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 CreateDiskSnapshotRequest.
req := client.CreateDiskSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateDomainEntryRequest added in v0.9.0

func (c *Client) 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: Address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).

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 CreateDomainEntryRequest.
req := client.CreateDomainEntryRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateDomainRequest added in v0.9.0

func (c *Client) 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 CreateDomainRequest.
req := client.CreateDomainRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateInstanceSnapshotRequest added in v0.9.0

func (c *Client) 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 CreateInstanceSnapshotRequest.
req := client.CreateInstanceSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateInstancesFromSnapshotRequest added in v0.9.0

func (c *Client) 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 CreateInstancesFromSnapshotRequest.
req := client.CreateInstancesFromSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateInstancesRequest added in v0.9.0

func (c *Client) 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 CreateInstancesRequest.
req := client.CreateInstancesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateKeyPairRequest added in v0.9.0

func (c *Client) 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 CreateKeyPairRequest.
req := client.CreateKeyPairRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateLoadBalancerRequest added in v0.9.0

func (c *Client) 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 CreateLoadBalancerRequest.
req := client.CreateLoadBalancerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateLoadBalancerTlsCertificateRequest added in v0.9.0

func (c *Client) 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 CreateLoadBalancerTlsCertificateRequest.
req := client.CreateLoadBalancerTlsCertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateRelationalDatabaseFromSnapshotRequest added in v0.9.0

func (c *Client) 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 CreateRelationalDatabaseFromSnapshotRequest.
req := client.CreateRelationalDatabaseFromSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateRelationalDatabaseRequest added in v0.9.0

func (c *Client) 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 CreateRelationalDatabaseRequest.
req := client.CreateRelationalDatabaseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) CreateRelationalDatabaseSnapshotRequest added in v0.9.0

func (c *Client) 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 CreateRelationalDatabaseSnapshotRequest.
req := client.CreateRelationalDatabaseSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteDiskRequest added in v0.9.0

func (c *Client) 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 DeleteDiskRequest.
req := client.DeleteDiskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteDiskSnapshotRequest added in v0.9.0

func (c *Client) 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 DeleteDiskSnapshotRequest.
req := client.DeleteDiskSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteDomainEntryRequest added in v0.9.0

func (c *Client) 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 DeleteDomainEntryRequest.
req := client.DeleteDomainEntryRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteDomainRequest added in v0.9.0

func (c *Client) 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 DeleteDomainRequest.
req := client.DeleteDomainRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteInstanceRequest added in v0.9.0

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

DeleteInstanceRequest returns a request value for making API operation for 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 DeleteInstanceRequest.
req := client.DeleteInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteInstanceSnapshotRequest added in v0.9.0

func (c *Client) 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 DeleteInstanceSnapshotRequest.
req := client.DeleteInstanceSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteKeyPairRequest added in v0.9.0

func (c *Client) 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 DeleteKeyPairRequest.
req := client.DeleteKeyPairRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteKnownHostKeysRequest added in v0.9.0

func (c *Client) DeleteKnownHostKeysRequest(input *DeleteKnownHostKeysInput) DeleteKnownHostKeysRequest

DeleteKnownHostKeysRequest returns a request value for making API operation for Amazon Lightsail.

Deletes the known host key or certificate used by the Amazon Lightsail browser-based SSH or RDP clients to authenticate an instance. This operation enables the Lightsail browser-based SSH or RDP clients to connect to the instance after a host key mismatch.

Perform this operation only if you were expecting the host key or certificate mismatch or if you are familiar with the new host key or certificate on the instance. For more information, see Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP client (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-troubleshooting-browser-based-ssh-rdp-client-connection).

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

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

func (*Client) DeleteLoadBalancerRequest added in v0.9.0

func (c *Client) 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 DeleteLoadBalancerRequest.
req := client.DeleteLoadBalancerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteLoadBalancerTlsCertificateRequest added in v0.9.0

func (c *Client) 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 DeleteLoadBalancerTlsCertificateRequest.
req := client.DeleteLoadBalancerTlsCertificateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteRelationalDatabaseRequest added in v0.9.0

func (c *Client) 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 DeleteRelationalDatabaseRequest.
req := client.DeleteRelationalDatabaseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DeleteRelationalDatabaseSnapshotRequest added in v0.9.0

func (c *Client) 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 DeleteRelationalDatabaseSnapshotRequest.
req := client.DeleteRelationalDatabaseSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DetachDiskRequest added in v0.9.0

func (c *Client) 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 DetachDiskRequest.
req := client.DetachDiskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DetachInstancesFromLoadBalancerRequest added in v0.9.0

func (c *Client) 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 DetachInstancesFromLoadBalancerRequest.
req := client.DetachInstancesFromLoadBalancerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DetachStaticIpRequest added in v0.9.0

func (c *Client) 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 DetachStaticIpRequest.
req := client.DetachStaticIpRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) DownloadDefaultKeyPairRequest added in v0.9.0

func (c *Client) 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 DownloadDefaultKeyPairRequest.
req := client.DownloadDefaultKeyPairRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ExportSnapshotRequest added in v0.9.0

func (c *Client) ExportSnapshotRequest(input *ExportSnapshotInput) ExportSnapshotRequest

ExportSnapshotRequest returns a request value for making API operation for Amazon Lightsail.

Exports an 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 snapshot operation 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 ExportSnapshotRequest.
req := client.ExportSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetActiveNamesRequest added in v0.9.0

func (c *Client) 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 GetActiveNamesRequest.
req := client.GetActiveNamesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetBlueprintsRequest added in v0.9.0

func (c *Client) 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 GetBlueprintsRequest.
req := client.GetBlueprintsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetBundlesRequest added in v0.9.0

func (c *Client) 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 GetBundlesRequest.
req := client.GetBundlesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetCloudFormationStackRecordsRequest added in v0.9.0

func (c *Client) 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 GetCloudFormationStackRecordsRequest.
req := client.GetCloudFormationStackRecordsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetDiskRequest added in v0.9.0

func (c *Client) 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 GetDiskRequest.
req := client.GetDiskRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetDiskSnapshotRequest added in v0.9.0

func (c *Client) 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 GetDiskSnapshotRequest.
req := client.GetDiskSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetDiskSnapshotsRequest added in v0.9.0

func (c *Client) 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 GetDiskSnapshotsRequest.
req := client.GetDiskSnapshotsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetDisksRequest added in v0.9.0

func (c *Client) 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 GetDisksRequest.
req := client.GetDisksRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetDomainRequest added in v0.9.0

func (c *Client) 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 GetDomainRequest.
req := client.GetDomainRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetDomainsRequest added in v0.9.0

func (c *Client) 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 GetDomainsRequest.
req := client.GetDomainsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetExportSnapshotRecordsRequest added in v0.9.0

func (c *Client) 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 GetExportSnapshotRecordsRequest.
req := client.GetExportSnapshotRecordsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetInstanceAccessDetailsRequest added in v0.9.0

func (c *Client) 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 GetInstanceAccessDetailsRequest.
req := client.GetInstanceAccessDetailsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetInstanceMetricDataRequest added in v0.9.0

func (c *Client) 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 GetInstanceMetricDataRequest.
req := client.GetInstanceMetricDataRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetInstancePortStatesRequest added in v0.9.0

func (c *Client) 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 GetInstancePortStatesRequest.
req := client.GetInstancePortStatesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetInstanceRequest added in v0.9.0

func (c *Client) 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 GetInstanceRequest.
req := client.GetInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetInstanceSnapshotRequest added in v0.9.0

func (c *Client) 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 GetInstanceSnapshotRequest.
req := client.GetInstanceSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetInstanceSnapshotsRequest added in v0.9.0

func (c *Client) 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 GetInstanceSnapshotsRequest.
req := client.GetInstanceSnapshotsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetInstanceStateRequest added in v0.9.0

func (c *Client) 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 GetInstanceStateRequest.
req := client.GetInstanceStateRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetInstancesRequest added in v0.9.0

func (c *Client) 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 GetInstancesRequest.
req := client.GetInstancesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetKeyPairRequest added in v0.9.0

func (c *Client) 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 GetKeyPairRequest.
req := client.GetKeyPairRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetKeyPairsRequest added in v0.9.0

func (c *Client) 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 GetKeyPairsRequest.
req := client.GetKeyPairsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetLoadBalancerMetricDataRequest added in v0.9.0

func (c *Client) 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 GetLoadBalancerMetricDataRequest.
req := client.GetLoadBalancerMetricDataRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetLoadBalancerRequest added in v0.9.0

func (c *Client) 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 GetLoadBalancerRequest.
req := client.GetLoadBalancerRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetLoadBalancerTlsCertificatesRequest added in v0.9.0

func (c *Client) 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 GetLoadBalancerTlsCertificatesRequest.
req := client.GetLoadBalancerTlsCertificatesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetLoadBalancersRequest added in v0.9.0

func (c *Client) 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 GetLoadBalancersRequest.
req := client.GetLoadBalancersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetOperationRequest added in v0.9.0

func (c *Client) 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 GetOperationRequest.
req := client.GetOperationRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetOperationsForResourceRequest added in v0.9.0

func (c *Client) 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 GetOperationsForResourceRequest.
req := client.GetOperationsForResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetOperationsRequest added in v0.9.0

func (c *Client) 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 GetOperationsRequest.
req := client.GetOperationsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRegionsRequest added in v0.9.0

func (c *Client) 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 GetRegionsRequest.
req := client.GetRegionsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRelationalDatabaseBlueprintsRequest added in v0.9.0

func (c *Client) 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 GetRelationalDatabaseBlueprintsRequest.
req := client.GetRelationalDatabaseBlueprintsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRelationalDatabaseBundlesRequest added in v0.9.0

func (c *Client) 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 GetRelationalDatabaseBundlesRequest.
req := client.GetRelationalDatabaseBundlesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRelationalDatabaseEventsRequest added in v0.9.0

func (c *Client) 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 GetRelationalDatabaseEventsRequest.
req := client.GetRelationalDatabaseEventsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRelationalDatabaseLogEventsRequest added in v0.9.0

func (c *Client) 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 GetRelationalDatabaseLogEventsRequest.
req := client.GetRelationalDatabaseLogEventsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRelationalDatabaseLogStreamsRequest added in v0.9.0

func (c *Client) 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 GetRelationalDatabaseLogStreamsRequest.
req := client.GetRelationalDatabaseLogStreamsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRelationalDatabaseMasterUserPasswordRequest added in v0.9.0

func (c *Client) 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 GetRelationalDatabaseMasterUserPasswordRequest.
req := client.GetRelationalDatabaseMasterUserPasswordRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRelationalDatabaseMetricDataRequest added in v0.9.0

func (c *Client) 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 GetRelationalDatabaseMetricDataRequest.
req := client.GetRelationalDatabaseMetricDataRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRelationalDatabaseParametersRequest added in v0.9.0

func (c *Client) 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 GetRelationalDatabaseParametersRequest.
req := client.GetRelationalDatabaseParametersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRelationalDatabaseRequest added in v0.9.0

func (c *Client) 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 GetRelationalDatabaseRequest.
req := client.GetRelationalDatabaseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRelationalDatabaseSnapshotRequest added in v0.9.0

func (c *Client) 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 GetRelationalDatabaseSnapshotRequest.
req := client.GetRelationalDatabaseSnapshotRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRelationalDatabaseSnapshotsRequest added in v0.9.0

func (c *Client) 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 GetRelationalDatabaseSnapshotsRequest.
req := client.GetRelationalDatabaseSnapshotsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetRelationalDatabasesRequest added in v0.9.0

func (c *Client) 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 GetRelationalDatabasesRequest.
req := client.GetRelationalDatabasesRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetStaticIpRequest added in v0.9.0

func (c *Client) 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 GetStaticIpRequest.
req := client.GetStaticIpRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) GetStaticIpsRequest added in v0.9.0

func (c *Client) 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 GetStaticIpsRequest.
req := client.GetStaticIpsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ImportKeyPairRequest added in v0.9.0

func (c *Client) 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 ImportKeyPairRequest.
req := client.ImportKeyPairRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) IsVpcPeeredRequest added in v0.9.0

func (c *Client) 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 IsVpcPeeredRequest.
req := client.IsVpcPeeredRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) OpenInstancePublicPortsRequest added in v0.9.0

func (c *Client) 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 OpenInstancePublicPortsRequest.
req := client.OpenInstancePublicPortsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) PeerVpcRequest added in v0.9.0

func (c *Client) 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 PeerVpcRequest.
req := client.PeerVpcRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) PutInstancePublicPortsRequest added in v0.9.0

func (c *Client) 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 PutInstancePublicPortsRequest.
req := client.PutInstancePublicPortsRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) RebootInstanceRequest added in v0.9.0

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

RebootInstanceRequest returns a request value for making API operation for Amazon Lightsail.

Restarts a specific 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 RebootInstanceRequest.
req := client.RebootInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) RebootRelationalDatabaseRequest added in v0.9.0

func (c *Client) 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 RebootRelationalDatabaseRequest.
req := client.RebootRelationalDatabaseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) ReleaseStaticIpRequest added in v0.9.0

func (c *Client) 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 ReleaseStaticIpRequest.
req := client.ReleaseStaticIpRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) StartInstanceRequest added in v0.9.0

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

StartInstanceRequest returns a request value for making API operation for Amazon Lightsail.

Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation.

When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/lightsail-create-static-ip).

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 StartInstanceRequest.
req := client.StartInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) StartRelationalDatabaseRequest added in v0.9.0

func (c *Client) 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 StartRelationalDatabaseRequest.
req := client.StartRelationalDatabaseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) StopInstanceRequest added in v0.9.0

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

StopInstanceRequest returns a request value for making API operation for Amazon Lightsail.

Stops a specific Amazon Lightsail instance that is currently running.

When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/lightsail-create-static-ip).

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 StopInstanceRequest.
req := client.StopInstanceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) StopRelationalDatabaseRequest added in v0.9.0

func (c *Client) 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 StopRelationalDatabaseRequest.
req := client.StopRelationalDatabaseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) TagResourceRequest added in v0.9.0

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

TagResourceRequest returns a request value for making API operation for 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 TagResourceRequest.
req := client.TagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UnpeerVpcRequest added in v0.9.0

func (c *Client) 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 UnpeerVpcRequest.
req := client.UnpeerVpcRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UntagResourceRequest added in v0.9.0

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

UntagResourceRequest returns a request value for making API operation for 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 UntagResourceRequest.
req := client.UntagResourceRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateDomainEntryRequest added in v0.9.0

func (c *Client) 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 UpdateDomainEntryRequest.
req := client.UpdateDomainEntryRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateLoadBalancerAttributeRequest added in v0.9.0

func (c *Client) 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 UpdateLoadBalancerAttributeRequest.
req := client.UpdateLoadBalancerAttributeRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateRelationalDatabaseParametersRequest added in v0.9.0

func (c *Client) 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 UpdateRelationalDatabaseParametersRequest.
req := client.UpdateRelationalDatabaseParametersRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

func (*Client) UpdateRelationalDatabaseRequest added in v0.9.0

func (c *Client) 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 UpdateRelationalDatabaseRequest.
req := client.UpdateRelationalDatabaseRequest(params)
resp, err := req.Send(context.TODO())
if err == nil {
    fmt.Println(resp)
}

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

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) 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) String

String returns the string representation

type CloseInstancePublicPortsRequest

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

CloseInstancePublicPortsRequest is the request type for the CloseInstancePublicPorts API operation.

func (CloseInstancePublicPortsRequest) Send

Send marshals and sends the CloseInstancePublicPorts API request.

type CloseInstancePublicPortsResponse added in v0.9.0

type CloseInstancePublicPortsResponse struct {
	*CloseInstancePublicPortsOutput
	// contains filtered or unexported fields
}

CloseInstancePublicPortsResponse is the response type for the CloseInstancePublicPorts API operation.

func (*CloseInstancePublicPortsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CloseInstancePublicPorts 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) 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) 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) 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) 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 the request type for the CopySnapshot API operation.

func (CopySnapshotRequest) Send added in v0.6.0

Send marshals and sends the CopySnapshot API request.

type CopySnapshotResponse added in v0.9.0

type CopySnapshotResponse struct {
	*CopySnapshotOutput
	// contains filtered or unexported fields
}

CopySnapshotResponse is the response type for the CopySnapshot API operation.

func (*CopySnapshotResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CopySnapshot 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) 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) 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 the request type for the CreateCloudFormationStack API operation.

func (CreateCloudFormationStackRequest) Send added in v0.6.0

Send marshals and sends the CreateCloudFormationStack API request.

type CreateCloudFormationStackResponse added in v0.9.0

type CreateCloudFormationStackResponse struct {
	*CreateCloudFormationStackOutput
	// contains filtered or unexported fields
}

CreateCloudFormationStackResponse is the response type for the CreateCloudFormationStack API operation.

func (*CreateCloudFormationStackResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateCloudFormationStack 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) 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) 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 the request type for the CreateDiskFromSnapshot API operation.

func (CreateDiskFromSnapshotRequest) Send added in v0.2.0

Send marshals and sends the CreateDiskFromSnapshot API request.

type CreateDiskFromSnapshotResponse added in v0.9.0

type CreateDiskFromSnapshotResponse struct {
	*CreateDiskFromSnapshotOutput
	// contains filtered or unexported fields
}

CreateDiskFromSnapshotResponse is the response type for the CreateDiskFromSnapshot API operation.

func (*CreateDiskFromSnapshotResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateDiskFromSnapshot 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) 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) 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 the request type for the CreateDisk API operation.

func (CreateDiskRequest) Send added in v0.2.0

Send marshals and sends the CreateDisk API request.

type CreateDiskResponse added in v0.9.0

type CreateDiskResponse struct {
	*CreateDiskOutput
	// contains filtered or unexported fields
}

CreateDiskResponse is the response type for the CreateDisk API operation.

func (*CreateDiskResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateDisk request.

type CreateDiskSnapshotInput added in v0.2.0

type CreateDiskSnapshotInput struct {

	// The unique name of the source disk (e.g., Disk-Virginia-1).
	//
	// This parameter cannot be defined together with the instance name parameter.
	// The disk name and instance name parameters are mutually exclusive.
	DiskName *string `locationName:"diskName" type:"string"`

	// 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 unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1).
	// When this is defined, a snapshot of the instance's system volume is created.
	//
	// This parameter cannot be defined together with the disk name parameter. The
	// instance name and disk name parameters are mutually exclusive.
	InstanceName *string `locationName:"instanceName" 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"`
	// contains filtered or unexported fields
}

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

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) 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 the request type for the CreateDiskSnapshot API operation.

func (CreateDiskSnapshotRequest) Send added in v0.2.0

Send marshals and sends the CreateDiskSnapshot API request.

type CreateDiskSnapshotResponse added in v0.9.0

type CreateDiskSnapshotResponse struct {
	*CreateDiskSnapshotOutput
	// contains filtered or unexported fields
}

CreateDiskSnapshotResponse is the response type for the CreateDiskSnapshot API operation.

func (*CreateDiskSnapshotResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateDiskSnapshot 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) 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) 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 the request type for the CreateDomainEntry API operation.

func (CreateDomainEntryRequest) Send

Send marshals and sends the CreateDomainEntry API request.

type CreateDomainEntryResponse added in v0.9.0

type CreateDomainEntryResponse struct {
	*CreateDomainEntryOutput
	// contains filtered or unexported fields
}

CreateDomainEntryResponse is the response type for the CreateDomainEntry API operation.

func (*CreateDomainEntryResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateDomainEntry 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) 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) 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 the request type for the CreateDomain API operation.

func (CreateDomainRequest) Send

Send marshals and sends the CreateDomain API request.

type CreateDomainResponse added in v0.9.0

type CreateDomainResponse struct {
	*CreateDomainOutput
	// contains filtered or unexported fields
}

CreateDomainResponse is the response type for the CreateDomain API operation.

func (*CreateDomainResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateDomain 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) 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) String

String returns the string representation

type CreateInstanceSnapshotRequest

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

CreateInstanceSnapshotRequest is the request type for the CreateInstanceSnapshot API operation.

func (CreateInstanceSnapshotRequest) Send

Send marshals and sends the CreateInstanceSnapshot API request.

type CreateInstanceSnapshotResponse added in v0.9.0

type CreateInstanceSnapshotResponse struct {
	*CreateInstanceSnapshotOutput
	// contains filtered or unexported fields
}

CreateInstanceSnapshotResponse is the response type for the CreateInstanceSnapshot API operation.

func (*CreateInstanceSnapshotResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateInstanceSnapshot 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) 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) String

String returns the string representation

type CreateInstancesFromSnapshotRequest

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

CreateInstancesFromSnapshotRequest is the request type for the CreateInstancesFromSnapshot API operation.

func (CreateInstancesFromSnapshotRequest) Send

Send marshals and sends the CreateInstancesFromSnapshot API request.

type CreateInstancesFromSnapshotResponse added in v0.9.0

type CreateInstancesFromSnapshotResponse struct {
	*CreateInstancesFromSnapshotOutput
	// contains filtered or unexported fields
}

CreateInstancesFromSnapshotResponse is the response type for the CreateInstancesFromSnapshot API operation.

func (*CreateInstancesFromSnapshotResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateInstancesFromSnapshot 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) 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) 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 the request type for the CreateInstances API operation.

func (CreateInstancesRequest) Send

Send marshals and sends the CreateInstances API request.

type CreateInstancesResponse added in v0.9.0

type CreateInstancesResponse struct {
	*CreateInstancesOutput
	// contains filtered or unexported fields
}

CreateInstancesResponse is the response type for the CreateInstances API operation.

func (*CreateInstancesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateInstances 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) 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) 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 the request type for the CreateKeyPair API operation.

func (CreateKeyPairRequest) Send

Send marshals and sends the CreateKeyPair API request.

type CreateKeyPairResponse added in v0.9.0

type CreateKeyPairResponse struct {
	*CreateKeyPairOutput
	// contains filtered or unexported fields
}

CreateKeyPairResponse is the response type for the CreateKeyPair API operation.

func (*CreateKeyPairResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateKeyPair 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) 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) 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 the request type for the CreateLoadBalancer API operation.

func (CreateLoadBalancerRequest) Send added in v0.2.0

Send marshals and sends the CreateLoadBalancer API request.

type CreateLoadBalancerResponse added in v0.9.0

type CreateLoadBalancerResponse struct {
	*CreateLoadBalancerOutput
	// contains filtered or unexported fields
}

CreateLoadBalancerResponse is the response type for the CreateLoadBalancer API operation.

func (*CreateLoadBalancerResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateLoadBalancer 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) 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) 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 the request type for the CreateLoadBalancerTlsCertificate API operation.

func (CreateLoadBalancerTlsCertificateRequest) Send added in v0.2.0

Send marshals and sends the CreateLoadBalancerTlsCertificate API request.

type CreateLoadBalancerTlsCertificateResponse added in v0.9.0

type CreateLoadBalancerTlsCertificateResponse struct {
	*CreateLoadBalancerTlsCertificateOutput
	// contains filtered or unexported fields
}

CreateLoadBalancerTlsCertificateResponse is the response type for the CreateLoadBalancerTlsCertificate API operation.

func (*CreateLoadBalancerTlsCertificateResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateLoadBalancerTlsCertificate 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) 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) String added in v0.6.0

String returns the string representation

type CreateRelationalDatabaseFromSnapshotRequest added in v0.6.0

CreateRelationalDatabaseFromSnapshotRequest is the request type for the CreateRelationalDatabaseFromSnapshot API operation.

func (CreateRelationalDatabaseFromSnapshotRequest) Send added in v0.6.0

Send marshals and sends the CreateRelationalDatabaseFromSnapshot API request.

type CreateRelationalDatabaseFromSnapshotResponse added in v0.9.0

type CreateRelationalDatabaseFromSnapshotResponse struct {
	*CreateRelationalDatabaseFromSnapshotOutput
	// contains filtered or unexported fields
}

CreateRelationalDatabaseFromSnapshotResponse is the response type for the CreateRelationalDatabaseFromSnapshot API operation.

func (*CreateRelationalDatabaseFromSnapshotResponse) SDKResponseMetdata added in v0.9.0

SDKResponseMetdata returns the response metadata for the CreateRelationalDatabaseFromSnapshot 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) 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) 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 the request type for the CreateRelationalDatabase API operation.

func (CreateRelationalDatabaseRequest) Send added in v0.6.0

Send marshals and sends the CreateRelationalDatabase API request.

type CreateRelationalDatabaseResponse added in v0.9.0

type CreateRelationalDatabaseResponse struct {
	*CreateRelationalDatabaseOutput
	// contains filtered or unexported fields
}

CreateRelationalDatabaseResponse is the response type for the CreateRelationalDatabase API operation.

func (*CreateRelationalDatabaseResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateRelationalDatabase 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) 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) 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 the request type for the CreateRelationalDatabaseSnapshot API operation.

func (CreateRelationalDatabaseSnapshotRequest) Send added in v0.6.0

Send marshals and sends the CreateRelationalDatabaseSnapshot API request.

type CreateRelationalDatabaseSnapshotResponse added in v0.9.0

type CreateRelationalDatabaseSnapshotResponse struct {
	*CreateRelationalDatabaseSnapshotOutput
	// contains filtered or unexported fields
}

CreateRelationalDatabaseSnapshotResponse is the response type for the CreateRelationalDatabaseSnapshot API operation.

func (*CreateRelationalDatabaseSnapshotResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the CreateRelationalDatabaseSnapshot 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) 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) 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 the request type for the DeleteDisk API operation.

func (DeleteDiskRequest) Send added in v0.2.0

Send marshals and sends the DeleteDisk API request.

type DeleteDiskResponse added in v0.9.0

type DeleteDiskResponse struct {
	*DeleteDiskOutput
	// contains filtered or unexported fields
}

DeleteDiskResponse is the response type for the DeleteDisk API operation.

func (*DeleteDiskResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteDisk 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) 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) 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 the request type for the DeleteDiskSnapshot API operation.

func (DeleteDiskSnapshotRequest) Send added in v0.2.0

Send marshals and sends the DeleteDiskSnapshot API request.

type DeleteDiskSnapshotResponse added in v0.9.0

type DeleteDiskSnapshotResponse struct {
	*DeleteDiskSnapshotOutput
	// contains filtered or unexported fields
}

DeleteDiskSnapshotResponse is the response type for the DeleteDiskSnapshot API operation.

func (*DeleteDiskSnapshotResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteDiskSnapshot 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) 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) 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 the request type for the DeleteDomainEntry API operation.

func (DeleteDomainEntryRequest) Send

Send marshals and sends the DeleteDomainEntry API request.

type DeleteDomainEntryResponse added in v0.9.0

type DeleteDomainEntryResponse struct {
	*DeleteDomainEntryOutput
	// contains filtered or unexported fields
}

DeleteDomainEntryResponse is the response type for the DeleteDomainEntry API operation.

func (*DeleteDomainEntryResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteDomainEntry 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) 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) 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 the request type for the DeleteDomain API operation.

func (DeleteDomainRequest) Send

Send marshals and sends the DeleteDomain API request.

type DeleteDomainResponse added in v0.9.0

type DeleteDomainResponse struct {
	*DeleteDomainOutput
	// contains filtered or unexported fields
}

DeleteDomainResponse is the response type for the DeleteDomain API operation.

func (*DeleteDomainResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteDomain 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) 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) String

func (s DeleteInstanceOutput) String() string

String returns the string representation

type DeleteInstanceRequest

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

DeleteInstanceRequest is the request type for the DeleteInstance API operation.

func (DeleteInstanceRequest) Send

Send marshals and sends the DeleteInstance API request.

type DeleteInstanceResponse added in v0.9.0

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

DeleteInstanceResponse is the response type for the DeleteInstance API operation.

func (*DeleteInstanceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteInstance request.

type 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) 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) String

String returns the string representation

type DeleteInstanceSnapshotRequest

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

DeleteInstanceSnapshotRequest is the request type for the DeleteInstanceSnapshot API operation.

func (DeleteInstanceSnapshotRequest) Send

Send marshals and sends the DeleteInstanceSnapshot API request.

type DeleteInstanceSnapshotResponse added in v0.9.0

type DeleteInstanceSnapshotResponse struct {
	*DeleteInstanceSnapshotOutput
	// contains filtered or unexported fields
}

DeleteInstanceSnapshotResponse is the response type for the DeleteInstanceSnapshot API operation.

func (*DeleteInstanceSnapshotResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteInstanceSnapshot 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) 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) 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 the request type for the DeleteKeyPair API operation.

func (DeleteKeyPairRequest) Send

Send marshals and sends the DeleteKeyPair API request.

type DeleteKeyPairResponse added in v0.9.0

type DeleteKeyPairResponse struct {
	*DeleteKeyPairOutput
	// contains filtered or unexported fields
}

DeleteKeyPairResponse is the response type for the DeleteKeyPair API operation.

func (*DeleteKeyPairResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteKeyPair request.

type DeleteKnownHostKeysInput added in v0.8.0

type DeleteKnownHostKeysInput struct {

	// The name of the instance for which you want to reset the host key or certificate.
	//
	// 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/DeleteKnownHostKeysRequest

func (DeleteKnownHostKeysInput) String added in v0.8.0

func (s DeleteKnownHostKeysInput) String() string

String returns the string representation

func (*DeleteKnownHostKeysInput) Validate added in v0.8.0

func (s *DeleteKnownHostKeysInput) Validate() error

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

type DeleteKnownHostKeysOutput added in v0.8.0

type DeleteKnownHostKeysOutput 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/DeleteKnownHostKeysResult

func (DeleteKnownHostKeysOutput) String added in v0.8.0

func (s DeleteKnownHostKeysOutput) String() string

String returns the string representation

type DeleteKnownHostKeysRequest added in v0.8.0

type DeleteKnownHostKeysRequest struct {
	*aws.Request
	Input *DeleteKnownHostKeysInput
	Copy  func(*DeleteKnownHostKeysInput) DeleteKnownHostKeysRequest
}

DeleteKnownHostKeysRequest is the request type for the DeleteKnownHostKeys API operation.

func (DeleteKnownHostKeysRequest) Send added in v0.8.0

Send marshals and sends the DeleteKnownHostKeys API request.

type DeleteKnownHostKeysResponse added in v0.9.0

type DeleteKnownHostKeysResponse struct {
	*DeleteKnownHostKeysOutput
	// contains filtered or unexported fields
}

DeleteKnownHostKeysResponse is the response type for the DeleteKnownHostKeys API operation.

func (*DeleteKnownHostKeysResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteKnownHostKeys 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) 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) 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 the request type for the DeleteLoadBalancer API operation.

func (DeleteLoadBalancerRequest) Send added in v0.2.0

Send marshals and sends the DeleteLoadBalancer API request.

type DeleteLoadBalancerResponse added in v0.9.0

type DeleteLoadBalancerResponse struct {
	*DeleteLoadBalancerOutput
	// contains filtered or unexported fields
}

DeleteLoadBalancerResponse is the response type for the DeleteLoadBalancer API operation.

func (*DeleteLoadBalancerResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteLoadBalancer 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) 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) 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 the request type for the DeleteLoadBalancerTlsCertificate API operation.

func (DeleteLoadBalancerTlsCertificateRequest) Send added in v0.2.0

Send marshals and sends the DeleteLoadBalancerTlsCertificate API request.

type DeleteLoadBalancerTlsCertificateResponse added in v0.9.0

type DeleteLoadBalancerTlsCertificateResponse struct {
	*DeleteLoadBalancerTlsCertificateOutput
	// contains filtered or unexported fields
}

DeleteLoadBalancerTlsCertificateResponse is the response type for the DeleteLoadBalancerTlsCertificate API operation.

func (*DeleteLoadBalancerTlsCertificateResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteLoadBalancerTlsCertificate 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) 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) 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 the request type for the DeleteRelationalDatabase API operation.

func (DeleteRelationalDatabaseRequest) Send added in v0.6.0

Send marshals and sends the DeleteRelationalDatabase API request.

type DeleteRelationalDatabaseResponse added in v0.9.0

type DeleteRelationalDatabaseResponse struct {
	*DeleteRelationalDatabaseOutput
	// contains filtered or unexported fields
}

DeleteRelationalDatabaseResponse is the response type for the DeleteRelationalDatabase API operation.

func (*DeleteRelationalDatabaseResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteRelationalDatabase 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) 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) 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 the request type for the DeleteRelationalDatabaseSnapshot API operation.

func (DeleteRelationalDatabaseSnapshotRequest) Send added in v0.6.0

Send marshals and sends the DeleteRelationalDatabaseSnapshot API request.

type DeleteRelationalDatabaseSnapshotResponse added in v0.9.0

type DeleteRelationalDatabaseSnapshotResponse struct {
	*DeleteRelationalDatabaseSnapshotOutput
	// contains filtered or unexported fields
}

DeleteRelationalDatabaseSnapshotResponse is the response type for the DeleteRelationalDatabaseSnapshot API operation.

func (*DeleteRelationalDatabaseSnapshotResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DeleteRelationalDatabaseSnapshot 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) 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) 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) 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 the request type for the DetachDisk API operation.

func (DetachDiskRequest) Send added in v0.2.0

Send marshals and sends the DetachDisk API request.

type DetachDiskResponse added in v0.9.0

type DetachDiskResponse struct {
	*DetachDiskOutput
	// contains filtered or unexported fields
}

DetachDiskResponse is the response type for the DetachDisk API operation.

func (*DetachDiskResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DetachDisk 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) 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) 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 the request type for the DetachInstancesFromLoadBalancer API operation.

func (DetachInstancesFromLoadBalancerRequest) Send added in v0.2.0

Send marshals and sends the DetachInstancesFromLoadBalancer API request.

type DetachInstancesFromLoadBalancerResponse added in v0.9.0

type DetachInstancesFromLoadBalancerResponse struct {
	*DetachInstancesFromLoadBalancerOutput
	// contains filtered or unexported fields
}

DetachInstancesFromLoadBalancerResponse is the response type for the DetachInstancesFromLoadBalancer API operation.

func (*DetachInstancesFromLoadBalancerResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DetachInstancesFromLoadBalancer 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) 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) 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 the request type for the DetachStaticIp API operation.

func (DetachStaticIpRequest) Send

Send marshals and sends the DetachStaticIp API request.

type DetachStaticIpResponse added in v0.9.0

type DetachStaticIpResponse struct {
	*DetachStaticIpOutput
	// contains filtered or unexported fields
}

DetachStaticIpResponse is the response type for the DetachStaticIp API operation.

func (*DetachStaticIpResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DetachStaticIp 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) 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) 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) 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 the disk snapshot
	// was created.
	FromDiskArn *string `locationName:"fromDiskArn" type:"string"`

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

	// The Amazon Resource Name (ARN) of the source instance from which the disk
	// (system volume) snapshot was created.
	FromInstanceArn *string `locationName:"fromInstanceArn" type:"string"`

	// The unique name of the source instance from which the disk (system volume)
	// snapshot was created.
	FromInstanceName *string `locationName:"fromInstanceName" 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) 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) 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) 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, such as address (A), canonical name (CNAME), mail
	// exchanger (MX), name server (NS), start of authority (SOA), service locator
	// (SRV), or text (TXT).
	//
	// The following domain entry types can be used:
	//
	//    * A
	//
	//    * CNAME
	//
	//    * MX
	//
	//    * NS
	//
	//    * SOA
	//
	//    * SRV
	//
	//    * TXT
	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) 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) 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) String

String returns the string representation

type DownloadDefaultKeyPairRequest

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

DownloadDefaultKeyPairRequest is the request type for the DownloadDefaultKeyPair API operation.

func (DownloadDefaultKeyPairRequest) Send

Send marshals and sends the DownloadDefaultKeyPair API request.

type DownloadDefaultKeyPairResponse added in v0.9.0

type DownloadDefaultKeyPairResponse struct {
	*DownloadDefaultKeyPairOutput
	// contains filtered or unexported fields
}

DownloadDefaultKeyPairResponse is the response type for the DownloadDefaultKeyPair API operation.

func (*DownloadDefaultKeyPairResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the DownloadDefaultKeyPair 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) 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) 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) 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) 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 the request type for the ExportSnapshot API operation.

func (ExportSnapshotRequest) Send added in v0.6.0

Send marshals and sends the ExportSnapshot API request.

type ExportSnapshotResponse added in v0.9.0

type ExportSnapshotResponse struct {
	*ExportSnapshotOutput
	// contains filtered or unexported fields
}

ExportSnapshotResponse is the response type for the ExportSnapshot API operation.

func (*ExportSnapshotResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ExportSnapshot 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) 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) 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 the request type for the GetActiveNames API operation.

func (GetActiveNamesRequest) Send

Send marshals and sends the GetActiveNames API request.

type GetActiveNamesResponse added in v0.9.0

type GetActiveNamesResponse struct {
	*GetActiveNamesOutput
	// contains filtered or unexported fields
}

GetActiveNamesResponse is the response type for the GetActiveNames API operation.

func (*GetActiveNamesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetActiveNames 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) 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) 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 the request type for the GetBlueprints API operation.

func (GetBlueprintsRequest) Send

Send marshals and sends the GetBlueprints API request.

type GetBlueprintsResponse added in v0.9.0

type GetBlueprintsResponse struct {
	*GetBlueprintsOutput
	// contains filtered or unexported fields
}

GetBlueprintsResponse is the response type for the GetBlueprints API operation.

func (*GetBlueprintsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetBlueprints 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) 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) 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 the request type for the GetBundles API operation.

func (GetBundlesRequest) Send

Send marshals and sends the GetBundles API request.

type GetBundlesResponse added in v0.9.0

type GetBundlesResponse struct {
	*GetBundlesOutput
	// contains filtered or unexported fields
}

GetBundlesResponse is the response type for the GetBundles API operation.

func (*GetBundlesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetBundles 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) 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) 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 the request type for the GetCloudFormationStackRecords API operation.

func (GetCloudFormationStackRecordsRequest) Send added in v0.6.0

Send marshals and sends the GetCloudFormationStackRecords API request.

type GetCloudFormationStackRecordsResponse added in v0.9.0

type GetCloudFormationStackRecordsResponse struct {
	*GetCloudFormationStackRecordsOutput
	// contains filtered or unexported fields
}

GetCloudFormationStackRecordsResponse is the response type for the GetCloudFormationStackRecords API operation.

func (*GetCloudFormationStackRecordsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetCloudFormationStackRecords 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) 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) 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 the request type for the GetDisk API operation.

func (GetDiskRequest) Send added in v0.2.0

Send marshals and sends the GetDisk API request.

type GetDiskResponse added in v0.9.0

type GetDiskResponse struct {
	*GetDiskOutput
	// contains filtered or unexported fields
}

GetDiskResponse is the response type for the GetDisk API operation.

func (*GetDiskResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetDisk 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) 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) 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 the request type for the GetDiskSnapshot API operation.

func (GetDiskSnapshotRequest) Send added in v0.2.0

Send marshals and sends the GetDiskSnapshot API request.

type GetDiskSnapshotResponse added in v0.9.0

type GetDiskSnapshotResponse struct {
	*GetDiskSnapshotOutput
	// contains filtered or unexported fields
}

GetDiskSnapshotResponse is the response type for the GetDiskSnapshot API operation.

func (*GetDiskSnapshotResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetDiskSnapshot 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) 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) 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 the request type for the GetDiskSnapshots API operation.

func (GetDiskSnapshotsRequest) Send added in v0.2.0

Send marshals and sends the GetDiskSnapshots API request.

type GetDiskSnapshotsResponse added in v0.9.0

type GetDiskSnapshotsResponse struct {
	*GetDiskSnapshotsOutput
	// contains filtered or unexported fields
}

GetDiskSnapshotsResponse is the response type for the GetDiskSnapshots API operation.

func (*GetDiskSnapshotsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetDiskSnapshots 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) 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) 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 the request type for the GetDisks API operation.

func (GetDisksRequest) Send added in v0.2.0

Send marshals and sends the GetDisks API request.

type GetDisksResponse added in v0.9.0

type GetDisksResponse struct {
	*GetDisksOutput
	// contains filtered or unexported fields
}

GetDisksResponse is the response type for the GetDisks API operation.

func (*GetDisksResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetDisks 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) 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) 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 the request type for the GetDomain API operation.

func (GetDomainRequest) Send

Send marshals and sends the GetDomain API request.

type GetDomainResponse added in v0.9.0

type GetDomainResponse struct {
	*GetDomainOutput
	// contains filtered or unexported fields
}

GetDomainResponse is the response type for the GetDomain API operation.

func (*GetDomainResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetDomain 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) 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) 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 the request type for the GetDomains API operation.

func (GetDomainsRequest) Send

Send marshals and sends the GetDomains API request.

type GetDomainsResponse added in v0.9.0

type GetDomainsResponse struct {
	*GetDomainsOutput
	// contains filtered or unexported fields
}

GetDomainsResponse is the response type for the GetDomains API operation.

func (*GetDomainsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetDomains 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) 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) 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 the request type for the GetExportSnapshotRecords API operation.

func (GetExportSnapshotRecordsRequest) Send added in v0.6.0

Send marshals and sends the GetExportSnapshotRecords API request.

type GetExportSnapshotRecordsResponse added in v0.9.0

type GetExportSnapshotRecordsResponse struct {
	*GetExportSnapshotRecordsOutput
	// contains filtered or unexported fields
}

GetExportSnapshotRecordsResponse is the response type for the GetExportSnapshotRecords API operation.

func (*GetExportSnapshotRecordsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetExportSnapshotRecords 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) 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) String

String returns the string representation

type GetInstanceAccessDetailsRequest

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

GetInstanceAccessDetailsRequest is the request type for the GetInstanceAccessDetails API operation.

func (GetInstanceAccessDetailsRequest) Send

Send marshals and sends the GetInstanceAccessDetails API request.

type GetInstanceAccessDetailsResponse added in v0.9.0

type GetInstanceAccessDetailsResponse struct {
	*GetInstanceAccessDetailsOutput
	// contains filtered or unexported fields
}

GetInstanceAccessDetailsResponse is the response type for the GetInstanceAccessDetails API operation.

func (*GetInstanceAccessDetailsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetInstanceAccessDetails 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) 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) 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) String

String returns the string representation

type GetInstanceMetricDataRequest

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

GetInstanceMetricDataRequest is the request type for the GetInstanceMetricData API operation.

func (GetInstanceMetricDataRequest) Send

Send marshals and sends the GetInstanceMetricData API request.

type GetInstanceMetricDataResponse added in v0.9.0

type GetInstanceMetricDataResponse struct {
	*GetInstanceMetricDataOutput
	// contains filtered or unexported fields
}

GetInstanceMetricDataResponse is the response type for the GetInstanceMetricData API operation.

func (*GetInstanceMetricDataResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetInstanceMetricData 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) 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) 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) String

String returns the string representation

type GetInstancePortStatesRequest

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

GetInstancePortStatesRequest is the request type for the GetInstancePortStates API operation.

func (GetInstancePortStatesRequest) Send

Send marshals and sends the GetInstancePortStates API request.

type GetInstancePortStatesResponse added in v0.9.0

type GetInstancePortStatesResponse struct {
	*GetInstancePortStatesOutput
	// contains filtered or unexported fields
}

GetInstancePortStatesResponse is the response type for the GetInstancePortStates API operation.

func (*GetInstancePortStatesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetInstancePortStates request.

type GetInstanceRequest

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

GetInstanceRequest is the request type for the GetInstance API operation.

func (GetInstanceRequest) Send

Send marshals and sends the GetInstance API request.

type GetInstanceResponse added in v0.9.0

type GetInstanceResponse struct {
	*GetInstanceOutput
	// contains filtered or unexported fields
}

GetInstanceResponse is the response type for the GetInstance API operation.

func (*GetInstanceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetInstance 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) 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) 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 the request type for the GetInstanceSnapshot API operation.

func (GetInstanceSnapshotRequest) Send

Send marshals and sends the GetInstanceSnapshot API request.

type GetInstanceSnapshotResponse added in v0.9.0

type GetInstanceSnapshotResponse struct {
	*GetInstanceSnapshotOutput
	// contains filtered or unexported fields
}

GetInstanceSnapshotResponse is the response type for the GetInstanceSnapshot API operation.

func (*GetInstanceSnapshotResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetInstanceSnapshot 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) 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) String

String returns the string representation

type GetInstanceSnapshotsRequest

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

GetInstanceSnapshotsRequest is the request type for the GetInstanceSnapshots API operation.

func (GetInstanceSnapshotsRequest) Send

Send marshals and sends the GetInstanceSnapshots API request.

type GetInstanceSnapshotsResponse added in v0.9.0

type GetInstanceSnapshotsResponse struct {
	*GetInstanceSnapshotsOutput
	// contains filtered or unexported fields
}

GetInstanceSnapshotsResponse is the response type for the GetInstanceSnapshots API operation.

func (*GetInstanceSnapshotsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetInstanceSnapshots 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) 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) 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 the request type for the GetInstanceState API operation.

func (GetInstanceStateRequest) Send

Send marshals and sends the GetInstanceState API request.

type GetInstanceStateResponse added in v0.9.0

type GetInstanceStateResponse struct {
	*GetInstanceStateOutput
	// contains filtered or unexported fields
}

GetInstanceStateResponse is the response type for the GetInstanceState API operation.

func (*GetInstanceStateResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetInstanceState 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) 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) 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 the request type for the GetInstances API operation.

func (GetInstancesRequest) Send

Send marshals and sends the GetInstances API request.

type GetInstancesResponse added in v0.9.0

type GetInstancesResponse struct {
	*GetInstancesOutput
	// contains filtered or unexported fields
}

GetInstancesResponse is the response type for the GetInstances API operation.

func (*GetInstancesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetInstances 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) 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) 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 the request type for the GetKeyPair API operation.

func (GetKeyPairRequest) Send

Send marshals and sends the GetKeyPair API request.

type GetKeyPairResponse added in v0.9.0

type GetKeyPairResponse struct {
	*GetKeyPairOutput
	// contains filtered or unexported fields
}

GetKeyPairResponse is the response type for the GetKeyPair API operation.

func (*GetKeyPairResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetKeyPair 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) 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) 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 the request type for the GetKeyPairs API operation.

func (GetKeyPairsRequest) Send

Send marshals and sends the GetKeyPairs API request.

type GetKeyPairsResponse added in v0.9.0

type GetKeyPairsResponse struct {
	*GetKeyPairsOutput
	// contains filtered or unexported fields
}

GetKeyPairsResponse is the response type for the GetKeyPairs API operation.

func (*GetKeyPairsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetKeyPairs 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) 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) 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) 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 the request type for the GetLoadBalancerMetricData API operation.

func (GetLoadBalancerMetricDataRequest) Send added in v0.2.0

Send marshals and sends the GetLoadBalancerMetricData API request.

type GetLoadBalancerMetricDataResponse added in v0.9.0

type GetLoadBalancerMetricDataResponse struct {
	*GetLoadBalancerMetricDataOutput
	// contains filtered or unexported fields
}

GetLoadBalancerMetricDataResponse is the response type for the GetLoadBalancerMetricData API operation.

func (*GetLoadBalancerMetricDataResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetLoadBalancerMetricData 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) 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 the request type for the GetLoadBalancer API operation.

func (GetLoadBalancerRequest) Send added in v0.2.0

Send marshals and sends the GetLoadBalancer API request.

type GetLoadBalancerResponse added in v0.9.0

type GetLoadBalancerResponse struct {
	*GetLoadBalancerOutput
	// contains filtered or unexported fields
}

GetLoadBalancerResponse is the response type for the GetLoadBalancer API operation.

func (*GetLoadBalancerResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetLoadBalancer 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) 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) 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 the request type for the GetLoadBalancerTlsCertificates API operation.

func (GetLoadBalancerTlsCertificatesRequest) Send added in v0.2.0

Send marshals and sends the GetLoadBalancerTlsCertificates API request.

type GetLoadBalancerTlsCertificatesResponse added in v0.9.0

type GetLoadBalancerTlsCertificatesResponse struct {
	*GetLoadBalancerTlsCertificatesOutput
	// contains filtered or unexported fields
}

GetLoadBalancerTlsCertificatesResponse is the response type for the GetLoadBalancerTlsCertificates API operation.

func (*GetLoadBalancerTlsCertificatesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetLoadBalancerTlsCertificates 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) 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) 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 the request type for the GetLoadBalancers API operation.

func (GetLoadBalancersRequest) Send added in v0.2.0

Send marshals and sends the GetLoadBalancers API request.

type GetLoadBalancersResponse added in v0.9.0

type GetLoadBalancersResponse struct {
	*GetLoadBalancersOutput
	// contains filtered or unexported fields
}

GetLoadBalancersResponse is the response type for the GetLoadBalancers API operation.

func (*GetLoadBalancersResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetLoadBalancers 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) 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) 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 the request type for the GetOperation API operation.

func (GetOperationRequest) Send

Send marshals and sends the GetOperation API request.

type GetOperationResponse added in v0.9.0

type GetOperationResponse struct {
	*GetOperationOutput
	// contains filtered or unexported fields
}

GetOperationResponse is the response type for the GetOperation API operation.

func (*GetOperationResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetOperation 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) 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) String

String returns the string representation

type GetOperationsForResourceRequest

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

GetOperationsForResourceRequest is the request type for the GetOperationsForResource API operation.

func (GetOperationsForResourceRequest) Send

Send marshals and sends the GetOperationsForResource API request.

type GetOperationsForResourceResponse added in v0.9.0

type GetOperationsForResourceResponse struct {
	*GetOperationsForResourceOutput
	// contains filtered or unexported fields
}

GetOperationsForResourceResponse is the response type for the GetOperationsForResource API operation.

func (*GetOperationsForResourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetOperationsForResource 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) 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) 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 the request type for the GetOperations API operation.

func (GetOperationsRequest) Send

Send marshals and sends the GetOperations API request.

type GetOperationsResponse added in v0.9.0

type GetOperationsResponse struct {
	*GetOperationsOutput
	// contains filtered or unexported fields
}

GetOperationsResponse is the response type for the GetOperations API operation.

func (*GetOperationsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetOperations 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) 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) 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 the request type for the GetRegions API operation.

func (GetRegionsRequest) Send

Send marshals and sends the GetRegions API request.

type GetRegionsResponse added in v0.9.0

type GetRegionsResponse struct {
	*GetRegionsOutput
	// contains filtered or unexported fields
}

GetRegionsResponse is the response type for the GetRegions API operation.

func (*GetRegionsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetRegions 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) 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) 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 the request type for the GetRelationalDatabaseBlueprints API operation.

func (GetRelationalDatabaseBlueprintsRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseBlueprints API request.

type GetRelationalDatabaseBlueprintsResponse added in v0.9.0

type GetRelationalDatabaseBlueprintsResponse struct {
	*GetRelationalDatabaseBlueprintsOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseBlueprintsResponse is the response type for the GetRelationalDatabaseBlueprints API operation.

func (*GetRelationalDatabaseBlueprintsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseBlueprints 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) 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) 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 the request type for the GetRelationalDatabaseBundles API operation.

func (GetRelationalDatabaseBundlesRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseBundles API request.

type GetRelationalDatabaseBundlesResponse added in v0.9.0

type GetRelationalDatabaseBundlesResponse struct {
	*GetRelationalDatabaseBundlesOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseBundlesResponse is the response type for the GetRelationalDatabaseBundles API operation.

func (*GetRelationalDatabaseBundlesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseBundles 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) 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) 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 the request type for the GetRelationalDatabaseEvents API operation.

func (GetRelationalDatabaseEventsRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseEvents API request.

type GetRelationalDatabaseEventsResponse added in v0.9.0

type GetRelationalDatabaseEventsResponse struct {
	*GetRelationalDatabaseEventsOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseEventsResponse is the response type for the GetRelationalDatabaseEvents API operation.

func (*GetRelationalDatabaseEventsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseEvents 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) 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) 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) 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 the request type for the GetRelationalDatabaseLogEvents API operation.

func (GetRelationalDatabaseLogEventsRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseLogEvents API request.

type GetRelationalDatabaseLogEventsResponse added in v0.9.0

type GetRelationalDatabaseLogEventsResponse struct {
	*GetRelationalDatabaseLogEventsOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseLogEventsResponse is the response type for the GetRelationalDatabaseLogEvents API operation.

func (*GetRelationalDatabaseLogEventsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseLogEvents 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) 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) 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 the request type for the GetRelationalDatabaseLogStreams API operation.

func (GetRelationalDatabaseLogStreamsRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseLogStreams API request.

type GetRelationalDatabaseLogStreamsResponse added in v0.9.0

type GetRelationalDatabaseLogStreamsResponse struct {
	*GetRelationalDatabaseLogStreamsOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseLogStreamsResponse is the response type for the GetRelationalDatabaseLogStreams API operation.

func (*GetRelationalDatabaseLogStreamsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseLogStreams 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) 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) String added in v0.6.0

String returns the string representation

type GetRelationalDatabaseMasterUserPasswordRequest added in v0.6.0

GetRelationalDatabaseMasterUserPasswordRequest is the request type for the GetRelationalDatabaseMasterUserPassword API operation.

func (GetRelationalDatabaseMasterUserPasswordRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseMasterUserPassword API request.

type GetRelationalDatabaseMasterUserPasswordResponse added in v0.9.0

type GetRelationalDatabaseMasterUserPasswordResponse struct {
	*GetRelationalDatabaseMasterUserPasswordOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseMasterUserPasswordResponse is the response type for the GetRelationalDatabaseMasterUserPassword API operation.

func (*GetRelationalDatabaseMasterUserPasswordResponse) SDKResponseMetdata added in v0.9.0

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseMasterUserPassword 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) 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) 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 the request type for the GetRelationalDatabaseMetricData API operation.

func (GetRelationalDatabaseMetricDataRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseMetricData API request.

type GetRelationalDatabaseMetricDataResponse added in v0.9.0

type GetRelationalDatabaseMetricDataResponse struct {
	*GetRelationalDatabaseMetricDataOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseMetricDataResponse is the response type for the GetRelationalDatabaseMetricData API operation.

func (*GetRelationalDatabaseMetricDataResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseMetricData 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) 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) 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) 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 the request type for the GetRelationalDatabaseParameters API operation.

func (GetRelationalDatabaseParametersRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseParameters API request.

type GetRelationalDatabaseParametersResponse added in v0.9.0

type GetRelationalDatabaseParametersResponse struct {
	*GetRelationalDatabaseParametersOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseParametersResponse is the response type for the GetRelationalDatabaseParameters API operation.

func (*GetRelationalDatabaseParametersResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseParameters request.

type GetRelationalDatabaseRequest added in v0.6.0

type GetRelationalDatabaseRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseInput
	Copy  func(*GetRelationalDatabaseInput) GetRelationalDatabaseRequest
}

GetRelationalDatabaseRequest is the request type for the GetRelationalDatabase API operation.

func (GetRelationalDatabaseRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabase API request.

type GetRelationalDatabaseResponse added in v0.9.0

type GetRelationalDatabaseResponse struct {
	*GetRelationalDatabaseOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseResponse is the response type for the GetRelationalDatabase API operation.

func (*GetRelationalDatabaseResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetRelationalDatabase 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) 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) 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 the request type for the GetRelationalDatabaseSnapshot API operation.

func (GetRelationalDatabaseSnapshotRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseSnapshot API request.

type GetRelationalDatabaseSnapshotResponse added in v0.9.0

type GetRelationalDatabaseSnapshotResponse struct {
	*GetRelationalDatabaseSnapshotOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseSnapshotResponse is the response type for the GetRelationalDatabaseSnapshot API operation.

func (*GetRelationalDatabaseSnapshotResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseSnapshot 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) 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) 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 the request type for the GetRelationalDatabaseSnapshots API operation.

func (GetRelationalDatabaseSnapshotsRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabaseSnapshots API request.

type GetRelationalDatabaseSnapshotsResponse added in v0.9.0

type GetRelationalDatabaseSnapshotsResponse struct {
	*GetRelationalDatabaseSnapshotsOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseSnapshotsResponse is the response type for the GetRelationalDatabaseSnapshots API operation.

func (*GetRelationalDatabaseSnapshotsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseSnapshots 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) 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) 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 the request type for the GetRelationalDatabases API operation.

func (GetRelationalDatabasesRequest) Send added in v0.6.0

Send marshals and sends the GetRelationalDatabases API request.

type GetRelationalDatabasesResponse added in v0.9.0

type GetRelationalDatabasesResponse struct {
	*GetRelationalDatabasesOutput
	// contains filtered or unexported fields
}

GetRelationalDatabasesResponse is the response type for the GetRelationalDatabases API operation.

func (*GetRelationalDatabasesResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetRelationalDatabases 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) 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) 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 the request type for the GetStaticIp API operation.

func (GetStaticIpRequest) Send

Send marshals and sends the GetStaticIp API request.

type GetStaticIpResponse added in v0.9.0

type GetStaticIpResponse struct {
	*GetStaticIpOutput
	// contains filtered or unexported fields
}

GetStaticIpResponse is the response type for the GetStaticIp API operation.

func (*GetStaticIpResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetStaticIp 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) 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) 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 the request type for the GetStaticIps API operation.

func (GetStaticIpsRequest) Send

Send marshals and sends the GetStaticIps API request.

type GetStaticIpsResponse added in v0.9.0

type GetStaticIpsResponse struct {
	*GetStaticIpsOutput
	// contains filtered or unexported fields
}

GetStaticIpsResponse is the response type for the GetStaticIps API operation.

func (*GetStaticIpsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the GetStaticIps request.

type HostKeyAttributes added in v0.8.0

type HostKeyAttributes struct {

	// The SSH host key algorithm or the RDP certificate format.
	//
	// For SSH host keys, the algorithm may be ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519,
	// etc. For RDP certificates, the algorithm is always x509-cert.
	Algorithm *string `locationName:"algorithm" type:"string"`

	// The SHA-1 fingerprint of the returned SSH host key or RDP certificate.
	//
	//    * Example of an SHA-1 SSH fingerprint: SHA1:1CHH6FaAaXjtFOsR/t83vf91SR0
	//
	//    * Example of an SHA-1 RDP fingerprint: af:34:51:fe:09:f0:e0:da:b8:4e:56:ca:60:c2:10:ff:38:06:db:45
	FingerprintSHA1 *string `locationName:"fingerprintSHA1" type:"string"`

	// The SHA-256 fingerprint of the returned SSH host key or RDP certificate.
	//
	//    * Example of an SHA-256 SSH fingerprint: SHA256:KTsMnRBh1IhD17HpdfsbzeGA4jOijm5tyXsMjKVbB8o
	//
	//    * Example of an SHA-256 RDP fingerprint: 03:9b:36:9f:4b:de:4e:61:70:fc:7c:c9:78:e7:d2:1a:1c:25:a8:0c:91:f6:7c:e4:d6:a0:85:c8:b4:53:99:68
	FingerprintSHA256 *string `locationName:"fingerprintSHA256" type:"string"`

	// The returned RDP certificate is not valid after this point in time.
	//
	// This value is listed only for RDP certificates.
	NotValidAfter *time.Time `locationName:"notValidAfter" type:"timestamp" timestampFormat:"unix"`

	// The returned RDP certificate is valid after this point in time.
	//
	// This value is listed only for RDP certificates.
	NotValidBefore *time.Time `locationName:"notValidBefore" type:"timestamp" timestampFormat:"unix"`

	// The public SSH host key or the RDP certificate.
	PublicKey *string `locationName:"publicKey" type:"string"`

	// The time that the SSH host key or RDP certificate was recorded by Lightsail.
	WitnessedAt *time.Time `locationName:"witnessedAt" type:"timestamp" timestampFormat:"unix"`
	// contains filtered or unexported fields
}

Describes the public SSH host keys or the RDP certificate. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/HostKeyAttributes

func (HostKeyAttributes) String added in v0.8.0

func (s HostKeyAttributes) String() string

String returns the string representation

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) 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) 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 the request type for the ImportKeyPair API operation.

func (ImportKeyPairRequest) Send

Send marshals and sends the ImportKeyPair API request.

type ImportKeyPairResponse added in v0.9.0

type ImportKeyPairResponse struct {
	*ImportKeyPairOutput
	// contains filtered or unexported fields
}

ImportKeyPairResponse is the response type for the ImportKeyPair API operation.

func (*ImportKeyPairResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ImportKeyPair 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) 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"`

	// Describes the public SSH host keys or the RDP certificate.
	HostKeys []HostKeyAttributes `locationName:"hostKeys" type:"list"`

	// 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) 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.
	//
	//    * CLOSED — All ports closed.
	//
	// 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 the request type for the IsVpcPeered API operation.

func (IsVpcPeeredRequest) Send

Send marshals and sends the IsVpcPeered API request.

type IsVpcPeeredResponse added in v0.9.0

type IsVpcPeeredResponse struct {
	*IsVpcPeeredOutput
	// contains filtered or unexported fields
}

IsVpcPeeredResponse is the response type for the IsVpcPeered API operation.

func (*IsVpcPeeredResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the IsVpcPeered 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) String

func (s KeyPair) String() string

String returns the string representation

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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) String

String returns the string representation

type OpenInstancePublicPortsRequest

type OpenInstancePublicPortsRequest struct {
	*aws.Request
	Input *OpenInstancePublicPortsInput
	Copy  func(*OpenInstancePublicPortsInput) OpenInstancePublicPortsRequest
}

OpenInstancePublicPortsRequest is the request type for the OpenInstancePublicPorts API operation.

func (OpenInstancePublicPortsRequest) Send

Send marshals and sends the OpenInstancePublicPorts API request.

type OpenInstancePublicPortsResponse added in v0.9.0

type OpenInstancePublicPortsResponse struct {
	*OpenInstancePublicPortsOutput
	// contains filtered or unexported fields
}

OpenInstancePublicPortsResponse is the response type for the OpenInstancePublicPorts API operation.

func (*OpenInstancePublicPortsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the OpenInstancePublicPorts 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) 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 (
	OperationTypeDeleteKnownHostKeys                  OperationType = "DeleteKnownHostKeys"
	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) 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) 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) 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 the request type for the PeerVpc API operation.

func (PeerVpcRequest) Send

Send marshals and sends the PeerVpc API request.

type PeerVpcResponse added in v0.9.0

type PeerVpcResponse struct {
	*PeerVpcOutput
	// contains filtered or unexported fields
}

PeerVpcResponse is the response type for the PeerVpc API operation.

func (*PeerVpcResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the PeerVpc 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) 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) 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) 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"
	PortInfoSourceTypeClosed   PortInfoSourceType = "CLOSED"
)

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) 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) String

String returns the string representation

type PutInstancePublicPortsRequest

type PutInstancePublicPortsRequest struct {
	*aws.Request
	Input *PutInstancePublicPortsInput
	Copy  func(*PutInstancePublicPortsInput) PutInstancePublicPortsRequest
}

PutInstancePublicPortsRequest is the request type for the PutInstancePublicPorts API operation.

func (PutInstancePublicPortsRequest) Send

Send marshals and sends the PutInstancePublicPorts API request.

type PutInstancePublicPortsResponse added in v0.9.0

type PutInstancePublicPortsResponse struct {
	*PutInstancePublicPortsOutput
	// contains filtered or unexported fields
}

PutInstancePublicPortsResponse is the response type for the PutInstancePublicPorts API operation.

func (*PutInstancePublicPortsResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the PutInstancePublicPorts 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) 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) String

func (s RebootInstanceOutput) String() string

String returns the string representation

type RebootInstanceRequest

type RebootInstanceRequest struct {
	*aws.Request
	Input *RebootInstanceInput
	Copy  func(*RebootInstanceInput) RebootInstanceRequest
}

RebootInstanceRequest is the request type for the RebootInstance API operation.

func (RebootInstanceRequest) Send

Send marshals and sends the RebootInstance API request.

type RebootInstanceResponse added in v0.9.0

type RebootInstanceResponse struct {
	*RebootInstanceOutput
	// contains filtered or unexported fields
}

RebootInstanceResponse is the response type for the RebootInstance API operation.

func (*RebootInstanceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the RebootInstance request.

type 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) 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) 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 the request type for the RebootRelationalDatabase API operation.

func (RebootRelationalDatabaseRequest) Send added in v0.6.0

Send marshals and sends the RebootRelationalDatabase API request.

type RebootRelationalDatabaseResponse added in v0.9.0

type RebootRelationalDatabaseResponse struct {
	*RebootRelationalDatabaseOutput
	// contains filtered or unexported fields
}

RebootRelationalDatabaseResponse is the response type for the RebootRelationalDatabase API operation.

func (*RebootRelationalDatabaseResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the RebootRelationalDatabase 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 the request type for the ReleaseStaticIp API operation.

func (ReleaseStaticIpRequest) Send

Send marshals and sends the ReleaseStaticIp API request.

type ReleaseStaticIpResponse added in v0.9.0

type ReleaseStaticIpResponse struct {
	*ReleaseStaticIpOutput
	// contains filtered or unexported fields
}

ReleaseStaticIpResponse is the response type for the ReleaseStaticIp API operation.

func (*ReleaseStaticIpResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the ReleaseStaticIp 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) 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) 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) String

func (s StartInstanceOutput) String() string

String returns the string representation

type StartInstanceRequest

type StartInstanceRequest struct {
	*aws.Request
	Input *StartInstanceInput
	Copy  func(*StartInstanceInput) StartInstanceRequest
}

StartInstanceRequest is the request type for the StartInstance API operation.

func (StartInstanceRequest) Send

Send marshals and sends the StartInstance API request.

type StartInstanceResponse added in v0.9.0

type StartInstanceResponse struct {
	*StartInstanceOutput
	// contains filtered or unexported fields
}

StartInstanceResponse is the response type for the StartInstance API operation.

func (*StartInstanceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the StartInstance request.

type 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) 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) 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 the request type for the StartRelationalDatabase API operation.

func (StartRelationalDatabaseRequest) Send added in v0.6.0

Send marshals and sends the StartRelationalDatabase API request.

type StartRelationalDatabaseResponse added in v0.9.0

type StartRelationalDatabaseResponse struct {
	*StartRelationalDatabaseOutput
	// contains filtered or unexported fields
}

StartRelationalDatabaseResponse is the response type for the StartRelationalDatabase API operation.

func (*StartRelationalDatabaseResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the StartRelationalDatabase 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) 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) 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) String

func (s StopInstanceOutput) String() string

String returns the string representation

type StopInstanceRequest

type StopInstanceRequest struct {
	*aws.Request
	Input *StopInstanceInput
	Copy  func(*StopInstanceInput) StopInstanceRequest
}

StopInstanceRequest is the request type for the StopInstance API operation.

func (StopInstanceRequest) Send

Send marshals and sends the StopInstance API request.

type StopInstanceResponse added in v0.9.0

type StopInstanceResponse struct {
	*StopInstanceOutput
	// contains filtered or unexported fields
}

StopInstanceResponse is the response type for the StopInstance API operation.

func (*StopInstanceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the StopInstance request.

type 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) 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) 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 the request type for the StopRelationalDatabase API operation.

func (StopRelationalDatabaseRequest) Send added in v0.6.0

Send marshals and sends the StopRelationalDatabase API request.

type StopRelationalDatabaseResponse added in v0.9.0

type StopRelationalDatabaseResponse struct {
	*StopRelationalDatabaseOutput
	// contains filtered or unexported fields
}

StopRelationalDatabaseResponse is the response type for the StopRelationalDatabase API operation.

func (*StopRelationalDatabaseResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the StopRelationalDatabase 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) 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) 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) 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 the request type for the TagResource API operation.

func (TagResourceRequest) Send added in v0.6.0

Send marshals and sends the TagResource API request.

type TagResourceResponse added in v0.9.0

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the TagResource request.

type 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) 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) 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 the request type for the UnpeerVpc API operation.

func (UnpeerVpcRequest) Send

Send marshals and sends the UnpeerVpc API request.

type UnpeerVpcResponse added in v0.9.0

type UnpeerVpcResponse struct {
	*UnpeerVpcOutput
	// contains filtered or unexported fields
}

UnpeerVpcResponse is the response type for the UnpeerVpc API operation.

func (*UnpeerVpcResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UnpeerVpc 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) 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) 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 the request type for the UntagResource API operation.

func (UntagResourceRequest) Send added in v0.6.0

Send marshals and sends the UntagResource API request.

type UntagResourceResponse added in v0.9.0

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UntagResource request.

type 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) 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) 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 the request type for the UpdateDomainEntry API operation.

func (UpdateDomainEntryRequest) Send

Send marshals and sends the UpdateDomainEntry API request.

type UpdateDomainEntryResponse added in v0.9.0

type UpdateDomainEntryResponse struct {
	*UpdateDomainEntryOutput
	// contains filtered or unexported fields
}

UpdateDomainEntryResponse is the response type for the UpdateDomainEntry API operation.

func (*UpdateDomainEntryResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateDomainEntry 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) 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) 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 the request type for the UpdateLoadBalancerAttribute API operation.

func (UpdateLoadBalancerAttributeRequest) Send added in v0.2.0

Send marshals and sends the UpdateLoadBalancerAttribute API request.

type UpdateLoadBalancerAttributeResponse added in v0.9.0

type UpdateLoadBalancerAttributeResponse struct {
	*UpdateLoadBalancerAttributeOutput
	// contains filtered or unexported fields
}

UpdateLoadBalancerAttributeResponse is the response type for the UpdateLoadBalancerAttribute API operation.

func (*UpdateLoadBalancerAttributeResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateLoadBalancerAttribute 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) 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) 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) 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) String added in v0.6.0

String returns the string representation

type UpdateRelationalDatabaseParametersRequest added in v0.6.0

UpdateRelationalDatabaseParametersRequest is the request type for the UpdateRelationalDatabaseParameters API operation.

func (UpdateRelationalDatabaseParametersRequest) Send added in v0.6.0

Send marshals and sends the UpdateRelationalDatabaseParameters API request.

type UpdateRelationalDatabaseParametersResponse added in v0.9.0

type UpdateRelationalDatabaseParametersResponse struct {
	*UpdateRelationalDatabaseParametersOutput
	// contains filtered or unexported fields
}

UpdateRelationalDatabaseParametersResponse is the response type for the UpdateRelationalDatabaseParameters API operation.

func (*UpdateRelationalDatabaseParametersResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateRelationalDatabaseParameters request.

type UpdateRelationalDatabaseRequest added in v0.6.0

type UpdateRelationalDatabaseRequest struct {
	*aws.Request
	Input *UpdateRelationalDatabaseInput
	Copy  func(*UpdateRelationalDatabaseInput) UpdateRelationalDatabaseRequest
}

UpdateRelationalDatabaseRequest is the request type for the UpdateRelationalDatabase API operation.

func (UpdateRelationalDatabaseRequest) Send added in v0.6.0

Send marshals and sends the UpdateRelationalDatabase API request.

type UpdateRelationalDatabaseResponse added in v0.9.0

type UpdateRelationalDatabaseResponse struct {
	*UpdateRelationalDatabaseOutput
	// contains filtered or unexported fields
}

UpdateRelationalDatabaseResponse is the response type for the UpdateRelationalDatabase API operation.

func (*UpdateRelationalDatabaseResponse) SDKResponseMetdata added in v0.9.0

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

SDKResponseMetdata returns the response metadata for the UpdateRelationalDatabase request.

Source Files

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