lightsail

package
v2.0.0-preview.4+incom... Latest Latest
Warning

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

Go to latest
Published: May 26, 2018 License: Apache-2.0 Imports: 5 Imported by: 59

Documentation

Overview

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

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

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

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

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

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

Using the Client

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

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

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

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

Index

Constants

View Source
const (

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

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

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

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

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

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

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

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessDirection

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

Enum values for AccessDirection

func (AccessDirection) MarshalValue added in v0.3.0

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

func (AccessDirection) MarshalValueBuf added in v0.3.0

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

type AllocateStaticIpInput

type AllocateStaticIpInput struct {

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

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

func (AllocateStaticIpInput) GoString

func (s AllocateStaticIpInput) GoString() string

GoString returns the string representation

func (AllocateStaticIpInput) String

func (s AllocateStaticIpInput) String() string

String returns the string representation

func (*AllocateStaticIpInput) Validate

func (s *AllocateStaticIpInput) Validate() error

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

type AllocateStaticIpOutput

type AllocateStaticIpOutput struct {

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

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

func (AllocateStaticIpOutput) GoString

func (s AllocateStaticIpOutput) GoString() string

GoString returns the string representation

func (AllocateStaticIpOutput) SDKResponseMetadata

func (s AllocateStaticIpOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AllocateStaticIpOutput) String

func (s AllocateStaticIpOutput) String() string

String returns the string representation

type AllocateStaticIpRequest

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

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

func (AllocateStaticIpRequest) Send

Send marshals and sends the AllocateStaticIp API request.

type AttachDiskInput added in v0.2.0

type AttachDiskInput struct {

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

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

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

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

func (AttachDiskInput) GoString added in v0.2.0

func (s AttachDiskInput) GoString() string

GoString returns the string representation

func (AttachDiskInput) String added in v0.2.0

func (s AttachDiskInput) String() string

String returns the string representation

func (*AttachDiskInput) Validate added in v0.2.0

func (s *AttachDiskInput) Validate() error

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

type AttachDiskOutput added in v0.2.0

type AttachDiskOutput struct {

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

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

func (AttachDiskOutput) GoString added in v0.2.0

func (s AttachDiskOutput) GoString() string

GoString returns the string representation

func (AttachDiskOutput) SDKResponseMetadata added in v0.2.0

func (s AttachDiskOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AttachDiskOutput) String added in v0.2.0

func (s AttachDiskOutput) String() string

String returns the string representation

type AttachDiskRequest added in v0.2.0

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

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

func (AttachDiskRequest) Send added in v0.2.0

Send marshals and sends the AttachDisk API request.

type AttachInstancesToLoadBalancerInput added in v0.2.0

type AttachInstancesToLoadBalancerInput struct {

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

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

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

func (AttachInstancesToLoadBalancerInput) GoString added in v0.2.0

GoString returns the string representation

func (AttachInstancesToLoadBalancerInput) String added in v0.2.0

String returns the string representation

func (*AttachInstancesToLoadBalancerInput) Validate added in v0.2.0

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

type AttachInstancesToLoadBalancerOutput added in v0.2.0

type AttachInstancesToLoadBalancerOutput struct {

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

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

func (AttachInstancesToLoadBalancerOutput) GoString added in v0.2.0

GoString returns the string representation

func (AttachInstancesToLoadBalancerOutput) SDKResponseMetadata added in v0.2.0

func (s AttachInstancesToLoadBalancerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AttachInstancesToLoadBalancerOutput) String added in v0.2.0

String returns the string representation

type AttachInstancesToLoadBalancerRequest added in v0.2.0

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

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

func (AttachInstancesToLoadBalancerRequest) Send added in v0.2.0

Send marshals and sends the AttachInstancesToLoadBalancer API request.

type AttachLoadBalancerTlsCertificateInput added in v0.2.0

type AttachLoadBalancerTlsCertificateInput struct {

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

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

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

func (AttachLoadBalancerTlsCertificateInput) GoString added in v0.2.0

GoString returns the string representation

func (AttachLoadBalancerTlsCertificateInput) String added in v0.2.0

String returns the string representation

func (*AttachLoadBalancerTlsCertificateInput) Validate added in v0.2.0

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

type AttachLoadBalancerTlsCertificateOutput added in v0.2.0

type AttachLoadBalancerTlsCertificateOutput struct {

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

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

func (AttachLoadBalancerTlsCertificateOutput) GoString added in v0.2.0

GoString returns the string representation

func (AttachLoadBalancerTlsCertificateOutput) SDKResponseMetadata added in v0.2.0

func (s AttachLoadBalancerTlsCertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AttachLoadBalancerTlsCertificateOutput) String added in v0.2.0

String returns the string representation

type AttachLoadBalancerTlsCertificateRequest added in v0.2.0

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

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

func (AttachLoadBalancerTlsCertificateRequest) Send added in v0.2.0

Send marshals and sends the AttachLoadBalancerTlsCertificate API request.

type AttachStaticIpInput

type AttachStaticIpInput struct {

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

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

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

func (AttachStaticIpInput) GoString

func (s AttachStaticIpInput) GoString() string

GoString returns the string representation

func (AttachStaticIpInput) String

func (s AttachStaticIpInput) String() string

String returns the string representation

func (*AttachStaticIpInput) Validate

func (s *AttachStaticIpInput) Validate() error

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

type AttachStaticIpOutput

type AttachStaticIpOutput struct {

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

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

func (AttachStaticIpOutput) GoString

func (s AttachStaticIpOutput) GoString() string

GoString returns the string representation

func (AttachStaticIpOutput) SDKResponseMetadata

func (s AttachStaticIpOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (AttachStaticIpOutput) String

func (s AttachStaticIpOutput) String() string

String returns the string representation

type AttachStaticIpRequest

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

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

func (AttachStaticIpRequest) Send

Send marshals and sends the AttachStaticIp API request.

type AvailabilityZone

type AvailabilityZone struct {

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

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

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

func (AvailabilityZone) GoString

func (s AvailabilityZone) GoString() string

GoString returns the string representation

func (AvailabilityZone) String

func (s AvailabilityZone) String() string

String returns the string representation

type Blueprint

type Blueprint struct {

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

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

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

	// A Boolean value indicating whether the blueprint is active. When you update
	// your blueprints, you will inactivate old blueprints and keep the most recent
	// versions active.
	IsActive *bool `locationName:"isActive" type:"boolean"`

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

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

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

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

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

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

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

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

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

func (Blueprint) GoString

func (s Blueprint) GoString() string

GoString returns the string representation

func (Blueprint) String

func (s Blueprint) String() string

String returns the string representation

type BlueprintType

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

Enum values for BlueprintType

func (BlueprintType) MarshalValue added in v0.3.0

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

func (BlueprintType) MarshalValueBuf added in v0.3.0

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

type Bundle

type Bundle struct {

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

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

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

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

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

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

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

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

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

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

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

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

func (Bundle) GoString

func (s Bundle) GoString() string

GoString returns the string representation

func (Bundle) String

func (s Bundle) String() string

String returns the string representation

type CloseInstancePublicPortsInput

type CloseInstancePublicPortsInput struct {

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

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

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

func (CloseInstancePublicPortsInput) GoString

GoString returns the string representation

func (CloseInstancePublicPortsInput) String

String returns the string representation

func (*CloseInstancePublicPortsInput) Validate

func (s *CloseInstancePublicPortsInput) Validate() error

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

type CloseInstancePublicPortsOutput

type CloseInstancePublicPortsOutput struct {

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

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

func (CloseInstancePublicPortsOutput) GoString

GoString returns the string representation

func (CloseInstancePublicPortsOutput) SDKResponseMetadata

func (s CloseInstancePublicPortsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CloseInstancePublicPortsOutput) String

String returns the string representation

type CloseInstancePublicPortsRequest

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

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

func (CloseInstancePublicPortsRequest) Send

Send marshals and sends the CloseInstancePublicPorts API request.

type 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"`
	// contains filtered or unexported fields
}

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

func (CreateDiskFromSnapshotInput) GoString added in v0.2.0

func (s CreateDiskFromSnapshotInput) GoString() string

GoString returns the string representation

func (CreateDiskFromSnapshotInput) String added in v0.2.0

String returns the string representation

func (*CreateDiskFromSnapshotInput) Validate added in v0.2.0

func (s *CreateDiskFromSnapshotInput) Validate() error

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

type CreateDiskFromSnapshotOutput added in v0.2.0

type CreateDiskFromSnapshotOutput struct {

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

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

func (CreateDiskFromSnapshotOutput) GoString added in v0.2.0

func (s CreateDiskFromSnapshotOutput) GoString() string

GoString returns the string representation

func (CreateDiskFromSnapshotOutput) SDKResponseMetadata added in v0.2.0

func (s CreateDiskFromSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateDiskFromSnapshotOutput) String added in v0.2.0

String returns the string representation

type CreateDiskFromSnapshotRequest added in v0.2.0

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

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

func (CreateDiskFromSnapshotRequest) Send added in v0.2.0

Send marshals and sends the CreateDiskFromSnapshot API request.

type CreateDiskInput added in v0.2.0

type CreateDiskInput struct {

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

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

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

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

func (CreateDiskInput) GoString added in v0.2.0

func (s CreateDiskInput) GoString() string

GoString returns the string representation

func (CreateDiskInput) String added in v0.2.0

func (s CreateDiskInput) String() string

String returns the string representation

func (*CreateDiskInput) Validate added in v0.2.0

func (s *CreateDiskInput) Validate() error

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

type CreateDiskOutput added in v0.2.0

type CreateDiskOutput struct {

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

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

func (CreateDiskOutput) GoString added in v0.2.0

func (s CreateDiskOutput) GoString() string

GoString returns the string representation

func (CreateDiskOutput) SDKResponseMetadata added in v0.2.0

func (s CreateDiskOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateDiskOutput) String added in v0.2.0

func (s CreateDiskOutput) String() string

String returns the string representation

type CreateDiskRequest added in v0.2.0

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

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

func (CreateDiskRequest) Send added in v0.2.0

Send marshals and sends the CreateDisk API request.

type CreateDiskSnapshotInput added in v0.2.0

type CreateDiskSnapshotInput struct {

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

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

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

func (CreateDiskSnapshotInput) GoString added in v0.2.0

func (s CreateDiskSnapshotInput) GoString() string

GoString returns the string representation

func (CreateDiskSnapshotInput) String added in v0.2.0

func (s CreateDiskSnapshotInput) String() string

String returns the string representation

func (*CreateDiskSnapshotInput) Validate added in v0.2.0

func (s *CreateDiskSnapshotInput) Validate() error

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

type CreateDiskSnapshotOutput added in v0.2.0

type CreateDiskSnapshotOutput struct {

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

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

func (CreateDiskSnapshotOutput) GoString added in v0.2.0

func (s CreateDiskSnapshotOutput) GoString() string

GoString returns the string representation

func (CreateDiskSnapshotOutput) SDKResponseMetadata added in v0.2.0

func (s CreateDiskSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateDiskSnapshotOutput) String added in v0.2.0

func (s CreateDiskSnapshotOutput) String() string

String returns the string representation

type CreateDiskSnapshotRequest added in v0.2.0

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

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

func (CreateDiskSnapshotRequest) Send added in v0.2.0

Send marshals and sends the CreateDiskSnapshot API request.

type CreateDomainEntryInput

type CreateDomainEntryInput struct {

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

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

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

func (CreateDomainEntryInput) GoString

func (s CreateDomainEntryInput) GoString() string

GoString returns the string representation

func (CreateDomainEntryInput) String

func (s CreateDomainEntryInput) String() string

String returns the string representation

func (*CreateDomainEntryInput) Validate

func (s *CreateDomainEntryInput) Validate() error

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

type CreateDomainEntryOutput

type CreateDomainEntryOutput struct {

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

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

func (CreateDomainEntryOutput) GoString

func (s CreateDomainEntryOutput) GoString() string

GoString returns the string representation

func (CreateDomainEntryOutput) SDKResponseMetadata

func (s CreateDomainEntryOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateDomainEntryOutput) String

func (s CreateDomainEntryOutput) String() string

String returns the string representation

type CreateDomainEntryRequest

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

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

func (CreateDomainEntryRequest) Send

Send marshals and sends the CreateDomainEntry API request.

type CreateDomainInput

type CreateDomainInput struct {

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

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

func (CreateDomainInput) GoString

func (s CreateDomainInput) GoString() string

GoString returns the string representation

func (CreateDomainInput) String

func (s CreateDomainInput) String() string

String returns the string representation

func (*CreateDomainInput) Validate

func (s *CreateDomainInput) Validate() error

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

type CreateDomainOutput

type CreateDomainOutput struct {

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

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

func (CreateDomainOutput) GoString

func (s CreateDomainOutput) GoString() string

GoString returns the string representation

func (CreateDomainOutput) SDKResponseMetadata

func (s CreateDomainOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateDomainOutput) String

func (s CreateDomainOutput) String() string

String returns the string representation

type CreateDomainRequest

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

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

func (CreateDomainRequest) Send

Send marshals and sends the CreateDomain API request.

type CreateInstanceSnapshotInput

type CreateInstanceSnapshotInput struct {

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

	// The name for your new snapshot.
	//
	// InstanceSnapshotName is a required field
	InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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

func (CreateInstanceSnapshotInput) GoString

func (s CreateInstanceSnapshotInput) GoString() string

GoString returns the string representation

func (CreateInstanceSnapshotInput) String

String returns the string representation

func (*CreateInstanceSnapshotInput) Validate

func (s *CreateInstanceSnapshotInput) Validate() error

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

type CreateInstanceSnapshotOutput

type CreateInstanceSnapshotOutput struct {

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

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

func (CreateInstanceSnapshotOutput) GoString

func (s CreateInstanceSnapshotOutput) GoString() string

GoString returns the string representation

func (CreateInstanceSnapshotOutput) SDKResponseMetadata

func (s CreateInstanceSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateInstanceSnapshotOutput) String

String returns the string representation

type CreateInstanceSnapshotRequest

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

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

func (CreateInstanceSnapshotRequest) Send

Send marshals and sends the CreateInstanceSnapshot API request.

type CreateInstancesFromSnapshotInput

type CreateInstancesFromSnapshotInput struct {

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

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

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

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

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

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

	// 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
	// (http://lightsail.aws.amazon.com/ls/docs/getting-started/articles/pre-installed-apps).
	UserData *string `locationName:"userData" type:"string"`
	// contains filtered or unexported fields
}

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

func (CreateInstancesFromSnapshotInput) GoString

GoString returns the string representation

func (CreateInstancesFromSnapshotInput) String

String returns the string representation

func (*CreateInstancesFromSnapshotInput) Validate

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

type CreateInstancesFromSnapshotOutput

type CreateInstancesFromSnapshotOutput struct {

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

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

func (CreateInstancesFromSnapshotOutput) GoString

GoString returns the string representation

func (CreateInstancesFromSnapshotOutput) SDKResponseMetadata

func (s CreateInstancesFromSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateInstancesFromSnapshotOutput) String

String returns the string representation

type CreateInstancesFromSnapshotRequest

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

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

func (CreateInstancesFromSnapshotRequest) Send

Send marshals and sends the CreateInstancesFromSnapshot API request.

type CreateInstancesInput

type CreateInstancesInput struct {

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

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

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

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

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

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

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

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

func (CreateInstancesInput) GoString

func (s CreateInstancesInput) GoString() string

GoString returns the string representation

func (CreateInstancesInput) String

func (s CreateInstancesInput) String() string

String returns the string representation

func (*CreateInstancesInput) Validate

func (s *CreateInstancesInput) Validate() error

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

type CreateInstancesOutput

type CreateInstancesOutput struct {

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

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

func (CreateInstancesOutput) GoString

func (s CreateInstancesOutput) GoString() string

GoString returns the string representation

func (CreateInstancesOutput) SDKResponseMetadata

func (s CreateInstancesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateInstancesOutput) String

func (s CreateInstancesOutput) String() string

String returns the string representation

type CreateInstancesRequest

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

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

func (CreateInstancesRequest) Send

Send marshals and sends the CreateInstances API request.

type CreateKeyPairInput

type CreateKeyPairInput struct {

	// The name for your new key pair.
	//
	// KeyPairName is a required field
	KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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

func (CreateKeyPairInput) GoString

func (s CreateKeyPairInput) GoString() string

GoString returns the string representation

func (CreateKeyPairInput) String

func (s CreateKeyPairInput) String() string

String returns the string representation

func (*CreateKeyPairInput) Validate

func (s *CreateKeyPairInput) Validate() error

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

type CreateKeyPairOutput

type CreateKeyPairOutput struct {

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

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

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

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

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

func (CreateKeyPairOutput) GoString

func (s CreateKeyPairOutput) GoString() string

GoString returns the string representation

func (CreateKeyPairOutput) SDKResponseMetadata

func (s CreateKeyPairOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateKeyPairOutput) String

func (s CreateKeyPairOutput) String() string

String returns the string representation

type CreateKeyPairRequest

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

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

func (CreateKeyPairRequest) Send

Send marshals and sends the CreateKeyPair API request.

type CreateLoadBalancerInput added in v0.2.0

type CreateLoadBalancerInput struct {

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

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

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

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

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

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

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

func (CreateLoadBalancerInput) GoString added in v0.2.0

func (s CreateLoadBalancerInput) GoString() string

GoString returns the string representation

func (CreateLoadBalancerInput) String added in v0.2.0

func (s CreateLoadBalancerInput) String() string

String returns the string representation

func (*CreateLoadBalancerInput) Validate added in v0.2.0

func (s *CreateLoadBalancerInput) Validate() error

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

type CreateLoadBalancerOutput added in v0.2.0

type CreateLoadBalancerOutput struct {

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

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

func (CreateLoadBalancerOutput) GoString added in v0.2.0

func (s CreateLoadBalancerOutput) GoString() string

GoString returns the string representation

func (CreateLoadBalancerOutput) SDKResponseMetadata added in v0.2.0

func (s CreateLoadBalancerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateLoadBalancerOutput) String added in v0.2.0

func (s CreateLoadBalancerOutput) String() string

String returns the string representation

type CreateLoadBalancerRequest added in v0.2.0

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

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

func (CreateLoadBalancerRequest) Send added in v0.2.0

Send marshals and sends the CreateLoadBalancer API request.

type CreateLoadBalancerTlsCertificateInput added in v0.2.0

type CreateLoadBalancerTlsCertificateInput struct {

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

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

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

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

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

func (CreateLoadBalancerTlsCertificateInput) GoString added in v0.2.0

GoString returns the string representation

func (CreateLoadBalancerTlsCertificateInput) String added in v0.2.0

String returns the string representation

func (*CreateLoadBalancerTlsCertificateInput) Validate added in v0.2.0

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

type CreateLoadBalancerTlsCertificateOutput added in v0.2.0

type CreateLoadBalancerTlsCertificateOutput struct {

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

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

func (CreateLoadBalancerTlsCertificateOutput) GoString added in v0.2.0

GoString returns the string representation

func (CreateLoadBalancerTlsCertificateOutput) SDKResponseMetadata added in v0.2.0

func (s CreateLoadBalancerTlsCertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (CreateLoadBalancerTlsCertificateOutput) String added in v0.2.0

String returns the string representation

type CreateLoadBalancerTlsCertificateRequest added in v0.2.0

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

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

func (CreateLoadBalancerTlsCertificateRequest) Send added in v0.2.0

Send marshals and sends the CreateLoadBalancerTlsCertificate API request.

type DeleteDiskInput added in v0.2.0

type DeleteDiskInput struct {

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

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

func (DeleteDiskInput) GoString added in v0.2.0

func (s DeleteDiskInput) GoString() string

GoString returns the string representation

func (DeleteDiskInput) String added in v0.2.0

func (s DeleteDiskInput) String() string

String returns the string representation

func (*DeleteDiskInput) Validate added in v0.2.0

func (s *DeleteDiskInput) Validate() error

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

type DeleteDiskOutput added in v0.2.0

type DeleteDiskOutput struct {

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

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

func (DeleteDiskOutput) GoString added in v0.2.0

func (s DeleteDiskOutput) GoString() string

GoString returns the string representation

func (DeleteDiskOutput) SDKResponseMetadata added in v0.2.0

func (s DeleteDiskOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteDiskOutput) String added in v0.2.0

func (s DeleteDiskOutput) String() string

String returns the string representation

type DeleteDiskRequest added in v0.2.0

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

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

func (DeleteDiskRequest) Send added in v0.2.0

Send marshals and sends the DeleteDisk API request.

type DeleteDiskSnapshotInput added in v0.2.0

type DeleteDiskSnapshotInput struct {

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

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

func (DeleteDiskSnapshotInput) GoString added in v0.2.0

func (s DeleteDiskSnapshotInput) GoString() string

GoString returns the string representation

func (DeleteDiskSnapshotInput) String added in v0.2.0

func (s DeleteDiskSnapshotInput) String() string

String returns the string representation

func (*DeleteDiskSnapshotInput) Validate added in v0.2.0

func (s *DeleteDiskSnapshotInput) Validate() error

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

type DeleteDiskSnapshotOutput added in v0.2.0

type DeleteDiskSnapshotOutput struct {

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

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

func (DeleteDiskSnapshotOutput) GoString added in v0.2.0

func (s DeleteDiskSnapshotOutput) GoString() string

GoString returns the string representation

func (DeleteDiskSnapshotOutput) SDKResponseMetadata added in v0.2.0

func (s DeleteDiskSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteDiskSnapshotOutput) String added in v0.2.0

func (s DeleteDiskSnapshotOutput) String() string

String returns the string representation

type DeleteDiskSnapshotRequest added in v0.2.0

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

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

func (DeleteDiskSnapshotRequest) Send added in v0.2.0

Send marshals and sends the DeleteDiskSnapshot API request.

type DeleteDomainEntryInput

type DeleteDomainEntryInput struct {

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

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

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

func (DeleteDomainEntryInput) GoString

func (s DeleteDomainEntryInput) GoString() string

GoString returns the string representation

func (DeleteDomainEntryInput) String

func (s DeleteDomainEntryInput) String() string

String returns the string representation

func (*DeleteDomainEntryInput) Validate

func (s *DeleteDomainEntryInput) Validate() error

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

type DeleteDomainEntryOutput

type DeleteDomainEntryOutput struct {

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

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

func (DeleteDomainEntryOutput) GoString

func (s DeleteDomainEntryOutput) GoString() string

GoString returns the string representation

func (DeleteDomainEntryOutput) SDKResponseMetadata

func (s DeleteDomainEntryOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteDomainEntryOutput) String

func (s DeleteDomainEntryOutput) String() string

String returns the string representation

type DeleteDomainEntryRequest

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

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

func (DeleteDomainEntryRequest) Send

Send marshals and sends the DeleteDomainEntry API request.

type DeleteDomainInput

type DeleteDomainInput struct {

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

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

func (DeleteDomainInput) GoString

func (s DeleteDomainInput) GoString() string

GoString returns the string representation

func (DeleteDomainInput) String

func (s DeleteDomainInput) String() string

String returns the string representation

func (*DeleteDomainInput) Validate

func (s *DeleteDomainInput) Validate() error

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

type DeleteDomainOutput

type DeleteDomainOutput struct {

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

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

func (DeleteDomainOutput) GoString

func (s DeleteDomainOutput) GoString() string

GoString returns the string representation

func (DeleteDomainOutput) SDKResponseMetadata

func (s DeleteDomainOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteDomainOutput) String

func (s DeleteDomainOutput) String() string

String returns the string representation

type DeleteDomainRequest

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

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

func (DeleteDomainRequest) Send

Send marshals and sends the DeleteDomain API request.

type DeleteInstanceInput

type DeleteInstanceInput struct {

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

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

func (DeleteInstanceInput) GoString

func (s DeleteInstanceInput) GoString() string

GoString returns the string representation

func (DeleteInstanceInput) String

func (s DeleteInstanceInput) String() string

String returns the string representation

func (*DeleteInstanceInput) Validate

func (s *DeleteInstanceInput) Validate() error

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

type DeleteInstanceOutput

type DeleteInstanceOutput struct {

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

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

func (DeleteInstanceOutput) GoString

func (s DeleteInstanceOutput) GoString() string

GoString returns the string representation

func (DeleteInstanceOutput) SDKResponseMetadata

func (s DeleteInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteInstanceOutput) String

func (s DeleteInstanceOutput) String() string

String returns the string representation

type DeleteInstanceRequest

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

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

func (DeleteInstanceRequest) Send

Send marshals and sends the DeleteInstance API request.

type DeleteInstanceSnapshotInput

type DeleteInstanceSnapshotInput struct {

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

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

func (DeleteInstanceSnapshotInput) GoString

func (s DeleteInstanceSnapshotInput) GoString() string

GoString returns the string representation

func (DeleteInstanceSnapshotInput) String

String returns the string representation

func (*DeleteInstanceSnapshotInput) Validate

func (s *DeleteInstanceSnapshotInput) Validate() error

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

type DeleteInstanceSnapshotOutput

type DeleteInstanceSnapshotOutput struct {

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

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

func (DeleteInstanceSnapshotOutput) GoString

func (s DeleteInstanceSnapshotOutput) GoString() string

GoString returns the string representation

func (DeleteInstanceSnapshotOutput) SDKResponseMetadata

func (s DeleteInstanceSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteInstanceSnapshotOutput) String

String returns the string representation

type DeleteInstanceSnapshotRequest

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

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

func (DeleteInstanceSnapshotRequest) Send

Send marshals and sends the DeleteInstanceSnapshot API request.

type DeleteKeyPairInput

type DeleteKeyPairInput struct {

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

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

func (DeleteKeyPairInput) GoString

func (s DeleteKeyPairInput) GoString() string

GoString returns the string representation

func (DeleteKeyPairInput) String

func (s DeleteKeyPairInput) String() string

String returns the string representation

func (*DeleteKeyPairInput) Validate

func (s *DeleteKeyPairInput) Validate() error

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

type DeleteKeyPairOutput

type DeleteKeyPairOutput struct {

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

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

func (DeleteKeyPairOutput) GoString

func (s DeleteKeyPairOutput) GoString() string

GoString returns the string representation

func (DeleteKeyPairOutput) SDKResponseMetadata

func (s DeleteKeyPairOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteKeyPairOutput) String

func (s DeleteKeyPairOutput) String() string

String returns the string representation

type DeleteKeyPairRequest

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

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

func (DeleteKeyPairRequest) Send

Send marshals and sends the DeleteKeyPair API request.

type DeleteLoadBalancerInput added in v0.2.0

type DeleteLoadBalancerInput struct {

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

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

func (DeleteLoadBalancerInput) GoString added in v0.2.0

func (s DeleteLoadBalancerInput) GoString() string

GoString returns the string representation

func (DeleteLoadBalancerInput) String added in v0.2.0

func (s DeleteLoadBalancerInput) String() string

String returns the string representation

func (*DeleteLoadBalancerInput) Validate added in v0.2.0

func (s *DeleteLoadBalancerInput) Validate() error

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

type DeleteLoadBalancerOutput added in v0.2.0

type DeleteLoadBalancerOutput struct {

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

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

func (DeleteLoadBalancerOutput) GoString added in v0.2.0

func (s DeleteLoadBalancerOutput) GoString() string

GoString returns the string representation

func (DeleteLoadBalancerOutput) SDKResponseMetadata added in v0.2.0

func (s DeleteLoadBalancerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteLoadBalancerOutput) String added in v0.2.0

func (s DeleteLoadBalancerOutput) String() string

String returns the string representation

type DeleteLoadBalancerRequest added in v0.2.0

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

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

func (DeleteLoadBalancerRequest) Send added in v0.2.0

Send marshals and sends the DeleteLoadBalancer API request.

type DeleteLoadBalancerTlsCertificateInput added in v0.2.0

type DeleteLoadBalancerTlsCertificateInput struct {

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

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

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

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

func (DeleteLoadBalancerTlsCertificateInput) GoString added in v0.2.0

GoString returns the string representation

func (DeleteLoadBalancerTlsCertificateInput) String added in v0.2.0

String returns the string representation

func (*DeleteLoadBalancerTlsCertificateInput) Validate added in v0.2.0

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

type DeleteLoadBalancerTlsCertificateOutput added in v0.2.0

type DeleteLoadBalancerTlsCertificateOutput struct {

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

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

func (DeleteLoadBalancerTlsCertificateOutput) GoString added in v0.2.0

GoString returns the string representation

func (DeleteLoadBalancerTlsCertificateOutput) SDKResponseMetadata added in v0.2.0

func (s DeleteLoadBalancerTlsCertificateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DeleteLoadBalancerTlsCertificateOutput) String added in v0.2.0

String returns the string representation

type DeleteLoadBalancerTlsCertificateRequest added in v0.2.0

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

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

func (DeleteLoadBalancerTlsCertificateRequest) Send added in v0.2.0

Send marshals and sends the DeleteLoadBalancerTlsCertificate API request.

type DetachDiskInput added in v0.2.0

type DetachDiskInput struct {

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

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

func (DetachDiskInput) GoString added in v0.2.0

func (s DetachDiskInput) GoString() string

GoString returns the string representation

func (DetachDiskInput) String added in v0.2.0

func (s DetachDiskInput) String() string

String returns the string representation

func (*DetachDiskInput) Validate added in v0.2.0

func (s *DetachDiskInput) Validate() error

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

type DetachDiskOutput added in v0.2.0

type DetachDiskOutput struct {

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

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

func (DetachDiskOutput) GoString added in v0.2.0

func (s DetachDiskOutput) GoString() string

GoString returns the string representation

func (DetachDiskOutput) SDKResponseMetadata added in v0.2.0

func (s DetachDiskOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DetachDiskOutput) String added in v0.2.0

func (s DetachDiskOutput) String() string

String returns the string representation

type DetachDiskRequest added in v0.2.0

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

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

func (DetachDiskRequest) Send added in v0.2.0

Send marshals and sends the DetachDisk API request.

type DetachInstancesFromLoadBalancerInput added in v0.2.0

type DetachInstancesFromLoadBalancerInput struct {

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

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

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

func (DetachInstancesFromLoadBalancerInput) GoString added in v0.2.0

GoString returns the string representation

func (DetachInstancesFromLoadBalancerInput) String added in v0.2.0

String returns the string representation

func (*DetachInstancesFromLoadBalancerInput) Validate added in v0.2.0

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

type DetachInstancesFromLoadBalancerOutput added in v0.2.0

type DetachInstancesFromLoadBalancerOutput struct {

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

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

func (DetachInstancesFromLoadBalancerOutput) GoString added in v0.2.0

GoString returns the string representation

func (DetachInstancesFromLoadBalancerOutput) SDKResponseMetadata added in v0.2.0

func (s DetachInstancesFromLoadBalancerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DetachInstancesFromLoadBalancerOutput) String added in v0.2.0

String returns the string representation

type DetachInstancesFromLoadBalancerRequest added in v0.2.0

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

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

func (DetachInstancesFromLoadBalancerRequest) Send added in v0.2.0

Send marshals and sends the DetachInstancesFromLoadBalancer API request.

type DetachStaticIpInput

type DetachStaticIpInput struct {

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

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

func (DetachStaticIpInput) GoString

func (s DetachStaticIpInput) GoString() string

GoString returns the string representation

func (DetachStaticIpInput) String

func (s DetachStaticIpInput) String() string

String returns the string representation

func (*DetachStaticIpInput) Validate

func (s *DetachStaticIpInput) Validate() error

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

type DetachStaticIpOutput

type DetachStaticIpOutput struct {

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

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

func (DetachStaticIpOutput) GoString

func (s DetachStaticIpOutput) GoString() string

GoString returns the string representation

func (DetachStaticIpOutput) SDKResponseMetadata

func (s DetachStaticIpOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DetachStaticIpOutput) String

func (s DetachStaticIpOutput) String() string

String returns the string representation

type DetachStaticIpRequest

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

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

func (DetachStaticIpRequest) Send

Send marshals and sends the DetachStaticIp API request.

type Disk

type Disk struct {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

func (Disk) GoString

func (s Disk) GoString() string

GoString returns the string representation

func (Disk) String

func (s Disk) String() string

String returns the string representation

type DiskMap added in v0.2.0

type DiskMap struct {

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

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

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

func (DiskMap) GoString added in v0.2.0

func (s DiskMap) GoString() string

GoString returns the string representation

func (DiskMap) String added in v0.2.0

func (s DiskMap) String() string

String returns the string representation

type DiskSnapshot added in v0.2.0

type DiskSnapshot struct {

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

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

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

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

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

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

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

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

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

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

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

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

func (DiskSnapshot) GoString added in v0.2.0

func (s DiskSnapshot) GoString() string

GoString returns the string representation

func (DiskSnapshot) String added in v0.2.0

func (s DiskSnapshot) String() string

String returns the string representation

type 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"`
	// contains filtered or unexported fields
}

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

func (Domain) GoString

func (s Domain) GoString() string

GoString returns the string representation

func (Domain) String

func (s Domain) String() string

String returns the string representation

type DomainEntry

type DomainEntry struct {

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

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

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

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

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

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

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

func (DomainEntry) GoString

func (s DomainEntry) GoString() string

GoString returns the string representation

func (DomainEntry) String

func (s DomainEntry) String() string

String returns the string representation

type DownloadDefaultKeyPairInput

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

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

func (DownloadDefaultKeyPairInput) GoString

func (s DownloadDefaultKeyPairInput) GoString() string

GoString returns the string representation

func (DownloadDefaultKeyPairInput) String

String returns the string representation

type DownloadDefaultKeyPairOutput

type DownloadDefaultKeyPairOutput struct {

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

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

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

func (DownloadDefaultKeyPairOutput) GoString

func (s DownloadDefaultKeyPairOutput) GoString() string

GoString returns the string representation

func (DownloadDefaultKeyPairOutput) SDKResponseMetadata

func (s DownloadDefaultKeyPairOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (DownloadDefaultKeyPairOutput) String

String returns the string representation

type DownloadDefaultKeyPairRequest

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

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

func (DownloadDefaultKeyPairRequest) Send

Send marshals and sends the DownloadDefaultKeyPair API request.

type GetActiveNamesInput

type GetActiveNamesInput struct {

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

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

func (GetActiveNamesInput) GoString

func (s GetActiveNamesInput) GoString() string

GoString returns the string representation

func (GetActiveNamesInput) String

func (s GetActiveNamesInput) String() string

String returns the string representation

type GetActiveNamesOutput

type GetActiveNamesOutput struct {

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

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

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

func (GetActiveNamesOutput) GoString

func (s GetActiveNamesOutput) GoString() string

GoString returns the string representation

func (GetActiveNamesOutput) SDKResponseMetadata

func (s GetActiveNamesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetActiveNamesOutput) String

func (s GetActiveNamesOutput) String() string

String returns the string representation

type GetActiveNamesRequest

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

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

func (GetActiveNamesRequest) Send

Send marshals and sends the GetActiveNames API request.

type GetBlueprintsInput

type GetBlueprintsInput struct {

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

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

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

func (GetBlueprintsInput) GoString

func (s GetBlueprintsInput) GoString() string

GoString returns the string representation

func (GetBlueprintsInput) String

func (s GetBlueprintsInput) String() string

String returns the string representation

type GetBlueprintsOutput

type GetBlueprintsOutput struct {

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

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

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

func (GetBlueprintsOutput) GoString

func (s GetBlueprintsOutput) GoString() string

GoString returns the string representation

func (GetBlueprintsOutput) SDKResponseMetadata

func (s GetBlueprintsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetBlueprintsOutput) String

func (s GetBlueprintsOutput) String() string

String returns the string representation

type GetBlueprintsRequest

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

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

func (GetBlueprintsRequest) Send

Send marshals and sends the GetBlueprints API request.

type GetBundlesInput

type GetBundlesInput struct {

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

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

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

func (GetBundlesInput) GoString

func (s GetBundlesInput) GoString() string

GoString returns the string representation

func (GetBundlesInput) String

func (s GetBundlesInput) String() string

String returns the string representation

type GetBundlesOutput

type GetBundlesOutput struct {

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

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

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

func (GetBundlesOutput) GoString

func (s GetBundlesOutput) GoString() string

GoString returns the string representation

func (GetBundlesOutput) SDKResponseMetadata

func (s GetBundlesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetBundlesOutput) String

func (s GetBundlesOutput) String() string

String returns the string representation

type GetBundlesRequest

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

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

func (GetBundlesRequest) Send

Send marshals and sends the GetBundles API request.

type GetDiskInput added in v0.2.0

type GetDiskInput struct {

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

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

func (GetDiskInput) GoString added in v0.2.0

func (s GetDiskInput) GoString() string

GoString returns the string representation

func (GetDiskInput) String added in v0.2.0

func (s GetDiskInput) String() string

String returns the string representation

func (*GetDiskInput) Validate added in v0.2.0

func (s *GetDiskInput) Validate() error

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

type GetDiskOutput added in v0.2.0

type GetDiskOutput struct {

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

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

func (GetDiskOutput) GoString added in v0.2.0

func (s GetDiskOutput) GoString() string

GoString returns the string representation

func (GetDiskOutput) SDKResponseMetadata added in v0.2.0

func (s GetDiskOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDiskOutput) String added in v0.2.0

func (s GetDiskOutput) String() string

String returns the string representation

type GetDiskRequest added in v0.2.0

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

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

func (GetDiskRequest) Send added in v0.2.0

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

Send marshals and sends the GetDisk API request.

type GetDiskSnapshotInput added in v0.2.0

type GetDiskSnapshotInput struct {

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

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

func (GetDiskSnapshotInput) GoString added in v0.2.0

func (s GetDiskSnapshotInput) GoString() string

GoString returns the string representation

func (GetDiskSnapshotInput) String added in v0.2.0

func (s GetDiskSnapshotInput) String() string

String returns the string representation

func (*GetDiskSnapshotInput) Validate added in v0.2.0

func (s *GetDiskSnapshotInput) Validate() error

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

type GetDiskSnapshotOutput added in v0.2.0

type GetDiskSnapshotOutput struct {

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

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

func (GetDiskSnapshotOutput) GoString added in v0.2.0

func (s GetDiskSnapshotOutput) GoString() string

GoString returns the string representation

func (GetDiskSnapshotOutput) SDKResponseMetadata added in v0.2.0

func (s GetDiskSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDiskSnapshotOutput) String added in v0.2.0

func (s GetDiskSnapshotOutput) String() string

String returns the string representation

type GetDiskSnapshotRequest added in v0.2.0

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

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

func (GetDiskSnapshotRequest) Send added in v0.2.0

Send marshals and sends the GetDiskSnapshot API request.

type GetDiskSnapshotsInput added in v0.2.0

type GetDiskSnapshotsInput struct {

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

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

func (GetDiskSnapshotsInput) GoString added in v0.2.0

func (s GetDiskSnapshotsInput) GoString() string

GoString returns the string representation

func (GetDiskSnapshotsInput) String added in v0.2.0

func (s GetDiskSnapshotsInput) String() string

String returns the string representation

type GetDiskSnapshotsOutput added in v0.2.0

type GetDiskSnapshotsOutput struct {

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

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

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

func (GetDiskSnapshotsOutput) GoString added in v0.2.0

func (s GetDiskSnapshotsOutput) GoString() string

GoString returns the string representation

func (GetDiskSnapshotsOutput) SDKResponseMetadata added in v0.2.0

func (s GetDiskSnapshotsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDiskSnapshotsOutput) String added in v0.2.0

func (s GetDiskSnapshotsOutput) String() string

String returns the string representation

type GetDiskSnapshotsRequest added in v0.2.0

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

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

func (GetDiskSnapshotsRequest) Send added in v0.2.0

Send marshals and sends the GetDiskSnapshots API request.

type GetDisksInput added in v0.2.0

type GetDisksInput struct {

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

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

func (GetDisksInput) GoString added in v0.2.0

func (s GetDisksInput) GoString() string

GoString returns the string representation

func (GetDisksInput) String added in v0.2.0

func (s GetDisksInput) String() string

String returns the string representation

type GetDisksOutput added in v0.2.0

type GetDisksOutput struct {

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

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

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

func (GetDisksOutput) GoString added in v0.2.0

func (s GetDisksOutput) GoString() string

GoString returns the string representation

func (GetDisksOutput) SDKResponseMetadata added in v0.2.0

func (s GetDisksOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDisksOutput) String added in v0.2.0

func (s GetDisksOutput) String() string

String returns the string representation

type GetDisksRequest added in v0.2.0

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

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

func (GetDisksRequest) Send added in v0.2.0

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

Send marshals and sends the GetDisks API request.

type GetDomainInput

type GetDomainInput struct {

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

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

func (GetDomainInput) GoString

func (s GetDomainInput) GoString() string

GoString returns the string representation

func (GetDomainInput) String

func (s GetDomainInput) String() string

String returns the string representation

func (*GetDomainInput) Validate

func (s *GetDomainInput) Validate() error

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

type GetDomainOutput

type GetDomainOutput struct {

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

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

func (GetDomainOutput) GoString

func (s GetDomainOutput) GoString() string

GoString returns the string representation

func (GetDomainOutput) SDKResponseMetadata

func (s GetDomainOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDomainOutput) String

func (s GetDomainOutput) String() string

String returns the string representation

type GetDomainRequest

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

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

func (GetDomainRequest) Send

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

Send marshals and sends the GetDomain API request.

type GetDomainsInput

type GetDomainsInput struct {

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

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

func (GetDomainsInput) GoString

func (s GetDomainsInput) GoString() string

GoString returns the string representation

func (GetDomainsInput) String

func (s GetDomainsInput) String() string

String returns the string representation

type GetDomainsOutput

type GetDomainsOutput struct {

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

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

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

func (GetDomainsOutput) GoString

func (s GetDomainsOutput) GoString() string

GoString returns the string representation

func (GetDomainsOutput) SDKResponseMetadata

func (s GetDomainsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetDomainsOutput) String

func (s GetDomainsOutput) String() string

String returns the string representation

type GetDomainsRequest

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

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

func (GetDomainsRequest) Send

Send marshals and sends the GetDomains API request.

type GetInstanceAccessDetailsInput

type GetInstanceAccessDetailsInput struct {

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

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

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

func (GetInstanceAccessDetailsInput) GoString

GoString returns the string representation

func (GetInstanceAccessDetailsInput) String

String returns the string representation

func (*GetInstanceAccessDetailsInput) Validate

func (s *GetInstanceAccessDetailsInput) Validate() error

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

type GetInstanceAccessDetailsOutput

type GetInstanceAccessDetailsOutput struct {

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

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

func (GetInstanceAccessDetailsOutput) GoString

GoString returns the string representation

func (GetInstanceAccessDetailsOutput) SDKResponseMetadata

func (s GetInstanceAccessDetailsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstanceAccessDetailsOutput) String

String returns the string representation

type GetInstanceAccessDetailsRequest

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

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

func (GetInstanceAccessDetailsRequest) Send

Send marshals and sends the GetInstanceAccessDetails API request.

type GetInstanceInput

type GetInstanceInput struct {

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

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

func (GetInstanceInput) GoString

func (s GetInstanceInput) GoString() string

GoString returns the string representation

func (GetInstanceInput) String

func (s GetInstanceInput) String() string

String returns the string representation

func (*GetInstanceInput) Validate

func (s *GetInstanceInput) Validate() error

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

type GetInstanceMetricDataInput

type GetInstanceMetricDataInput struct {

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

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

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

	// The time period for which you are requesting data.
	//
	// Period is a required field
	Period *int64 `locationName:"period" min:"60" type:"integer" required:"true"`

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

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

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

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

func (GetInstanceMetricDataInput) GoString

func (s GetInstanceMetricDataInput) GoString() string

GoString returns the string representation

func (GetInstanceMetricDataInput) String

String returns the string representation

func (*GetInstanceMetricDataInput) Validate

func (s *GetInstanceMetricDataInput) Validate() error

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

type GetInstanceMetricDataOutput

type GetInstanceMetricDataOutput struct {

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

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

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

func (GetInstanceMetricDataOutput) GoString

func (s GetInstanceMetricDataOutput) GoString() string

GoString returns the string representation

func (GetInstanceMetricDataOutput) SDKResponseMetadata

func (s GetInstanceMetricDataOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstanceMetricDataOutput) String

String returns the string representation

type GetInstanceMetricDataRequest

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

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

func (GetInstanceMetricDataRequest) Send

Send marshals and sends the GetInstanceMetricData API request.

type GetInstanceOutput

type GetInstanceOutput struct {

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

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

func (GetInstanceOutput) GoString

func (s GetInstanceOutput) GoString() string

GoString returns the string representation

func (GetInstanceOutput) SDKResponseMetadata

func (s GetInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstanceOutput) String

func (s GetInstanceOutput) String() string

String returns the string representation

type GetInstancePortStatesInput

type GetInstancePortStatesInput struct {

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

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

func (GetInstancePortStatesInput) GoString

func (s GetInstancePortStatesInput) GoString() string

GoString returns the string representation

func (GetInstancePortStatesInput) String

String returns the string representation

func (*GetInstancePortStatesInput) Validate

func (s *GetInstancePortStatesInput) Validate() error

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

type GetInstancePortStatesOutput

type GetInstancePortStatesOutput struct {

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

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

func (GetInstancePortStatesOutput) GoString

func (s GetInstancePortStatesOutput) GoString() string

GoString returns the string representation

func (GetInstancePortStatesOutput) SDKResponseMetadata

func (s GetInstancePortStatesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstancePortStatesOutput) String

String returns the string representation

type GetInstancePortStatesRequest

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

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

func (GetInstancePortStatesRequest) Send

Send marshals and sends the GetInstancePortStates API request.

type GetInstanceRequest

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

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

func (GetInstanceRequest) Send

Send marshals and sends the GetInstance API request.

type GetInstanceSnapshotInput

type GetInstanceSnapshotInput struct {

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

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

func (GetInstanceSnapshotInput) GoString

func (s GetInstanceSnapshotInput) GoString() string

GoString returns the string representation

func (GetInstanceSnapshotInput) String

func (s GetInstanceSnapshotInput) String() string

String returns the string representation

func (*GetInstanceSnapshotInput) Validate

func (s *GetInstanceSnapshotInput) Validate() error

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

type GetInstanceSnapshotOutput

type GetInstanceSnapshotOutput struct {

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

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

func (GetInstanceSnapshotOutput) GoString

func (s GetInstanceSnapshotOutput) GoString() string

GoString returns the string representation

func (GetInstanceSnapshotOutput) SDKResponseMetadata

func (s GetInstanceSnapshotOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstanceSnapshotOutput) String

func (s GetInstanceSnapshotOutput) String() string

String returns the string representation

type GetInstanceSnapshotRequest

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

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

func (GetInstanceSnapshotRequest) Send

Send marshals and sends the GetInstanceSnapshot API request.

type GetInstanceSnapshotsInput

type GetInstanceSnapshotsInput struct {

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

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

func (GetInstanceSnapshotsInput) GoString

func (s GetInstanceSnapshotsInput) GoString() string

GoString returns the string representation

func (GetInstanceSnapshotsInput) String

func (s GetInstanceSnapshotsInput) String() string

String returns the string representation

type GetInstanceSnapshotsOutput

type GetInstanceSnapshotsOutput struct {

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

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

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

func (GetInstanceSnapshotsOutput) GoString

func (s GetInstanceSnapshotsOutput) GoString() string

GoString returns the string representation

func (GetInstanceSnapshotsOutput) SDKResponseMetadata

func (s GetInstanceSnapshotsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstanceSnapshotsOutput) String

String returns the string representation

type GetInstanceSnapshotsRequest

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

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

func (GetInstanceSnapshotsRequest) Send

Send marshals and sends the GetInstanceSnapshots API request.

type GetInstanceStateInput

type GetInstanceStateInput struct {

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

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

func (GetInstanceStateInput) GoString

func (s GetInstanceStateInput) GoString() string

GoString returns the string representation

func (GetInstanceStateInput) String

func (s GetInstanceStateInput) String() string

String returns the string representation

func (*GetInstanceStateInput) Validate

func (s *GetInstanceStateInput) Validate() error

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

type GetInstanceStateOutput

type GetInstanceStateOutput struct {

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

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

func (GetInstanceStateOutput) GoString

func (s GetInstanceStateOutput) GoString() string

GoString returns the string representation

func (GetInstanceStateOutput) SDKResponseMetadata

func (s GetInstanceStateOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstanceStateOutput) String

func (s GetInstanceStateOutput) String() string

String returns the string representation

type GetInstanceStateRequest

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

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

func (GetInstanceStateRequest) Send

Send marshals and sends the GetInstanceState API request.

type GetInstancesInput

type GetInstancesInput struct {

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

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

func (GetInstancesInput) GoString

func (s GetInstancesInput) GoString() string

GoString returns the string representation

func (GetInstancesInput) String

func (s GetInstancesInput) String() string

String returns the string representation

type GetInstancesOutput

type GetInstancesOutput struct {

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

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

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

func (GetInstancesOutput) GoString

func (s GetInstancesOutput) GoString() string

GoString returns the string representation

func (GetInstancesOutput) SDKResponseMetadata

func (s GetInstancesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetInstancesOutput) String

func (s GetInstancesOutput) String() string

String returns the string representation

type GetInstancesRequest

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

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

func (GetInstancesRequest) Send

Send marshals and sends the GetInstances API request.

type GetKeyPairInput

type GetKeyPairInput struct {

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

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

func (GetKeyPairInput) GoString

func (s GetKeyPairInput) GoString() string

GoString returns the string representation

func (GetKeyPairInput) String

func (s GetKeyPairInput) String() string

String returns the string representation

func (*GetKeyPairInput) Validate

func (s *GetKeyPairInput) Validate() error

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

type GetKeyPairOutput

type GetKeyPairOutput struct {

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

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

func (GetKeyPairOutput) GoString

func (s GetKeyPairOutput) GoString() string

GoString returns the string representation

func (GetKeyPairOutput) SDKResponseMetadata

func (s GetKeyPairOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetKeyPairOutput) String

func (s GetKeyPairOutput) String() string

String returns the string representation

type GetKeyPairRequest

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

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

func (GetKeyPairRequest) Send

Send marshals and sends the GetKeyPair API request.

type GetKeyPairsInput

type GetKeyPairsInput struct {

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

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

func (GetKeyPairsInput) GoString

func (s GetKeyPairsInput) GoString() string

GoString returns the string representation

func (GetKeyPairsInput) String

func (s GetKeyPairsInput) String() string

String returns the string representation

type GetKeyPairsOutput

type GetKeyPairsOutput struct {

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

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

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

func (GetKeyPairsOutput) GoString

func (s GetKeyPairsOutput) GoString() string

GoString returns the string representation

func (GetKeyPairsOutput) SDKResponseMetadata

func (s GetKeyPairsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetKeyPairsOutput) String

func (s GetKeyPairsOutput) String() string

String returns the string representation

type GetKeyPairsRequest

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

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

func (GetKeyPairsRequest) Send

Send marshals and sends the GetKeyPairs API request.

type GetLoadBalancerInput added in v0.2.0

type GetLoadBalancerInput struct {

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

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

func (GetLoadBalancerInput) GoString added in v0.2.0

func (s GetLoadBalancerInput) GoString() string

GoString returns the string representation

func (GetLoadBalancerInput) String added in v0.2.0

func (s GetLoadBalancerInput) String() string

String returns the string representation

func (*GetLoadBalancerInput) Validate added in v0.2.0

func (s *GetLoadBalancerInput) Validate() error

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

type GetLoadBalancerMetricDataInput added in v0.2.0

type GetLoadBalancerMetricDataInput struct {

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

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

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

	// The time period duration for your health data request.
	//
	// Period is a required field
	Period *int64 `locationName:"period" min:"60" type:"integer" required:"true"`

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

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

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

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

func (GetLoadBalancerMetricDataInput) GoString added in v0.2.0

GoString returns the string representation

func (GetLoadBalancerMetricDataInput) String added in v0.2.0

String returns the string representation

func (*GetLoadBalancerMetricDataInput) Validate added in v0.2.0

func (s *GetLoadBalancerMetricDataInput) Validate() error

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

type GetLoadBalancerMetricDataOutput added in v0.2.0

type GetLoadBalancerMetricDataOutput struct {

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

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

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

func (GetLoadBalancerMetricDataOutput) GoString added in v0.2.0

GoString returns the string representation

func (GetLoadBalancerMetricDataOutput) SDKResponseMetadata added in v0.2.0

func (s GetLoadBalancerMetricDataOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetLoadBalancerMetricDataOutput) String added in v0.2.0

String returns the string representation

type GetLoadBalancerMetricDataRequest added in v0.2.0

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

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

func (GetLoadBalancerMetricDataRequest) Send added in v0.2.0

Send marshals and sends the GetLoadBalancerMetricData API request.

type GetLoadBalancerOutput added in v0.2.0

type GetLoadBalancerOutput struct {

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

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

func (GetLoadBalancerOutput) GoString added in v0.2.0

func (s GetLoadBalancerOutput) GoString() string

GoString returns the string representation

func (GetLoadBalancerOutput) SDKResponseMetadata added in v0.2.0

func (s GetLoadBalancerOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetLoadBalancerOutput) String added in v0.2.0

func (s GetLoadBalancerOutput) String() string

String returns the string representation

type GetLoadBalancerRequest added in v0.2.0

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

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

func (GetLoadBalancerRequest) Send added in v0.2.0

Send marshals and sends the GetLoadBalancer API request.

type GetLoadBalancerTlsCertificatesInput added in v0.2.0

type GetLoadBalancerTlsCertificatesInput struct {

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

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

func (GetLoadBalancerTlsCertificatesInput) GoString added in v0.2.0

GoString returns the string representation

func (GetLoadBalancerTlsCertificatesInput) String added in v0.2.0

String returns the string representation

func (*GetLoadBalancerTlsCertificatesInput) Validate added in v0.2.0

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

type GetLoadBalancerTlsCertificatesOutput added in v0.2.0

type GetLoadBalancerTlsCertificatesOutput struct {

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

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

func (GetLoadBalancerTlsCertificatesOutput) GoString added in v0.2.0

GoString returns the string representation

func (GetLoadBalancerTlsCertificatesOutput) SDKResponseMetadata added in v0.2.0

func (s GetLoadBalancerTlsCertificatesOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetLoadBalancerTlsCertificatesOutput) String added in v0.2.0

String returns the string representation

type GetLoadBalancerTlsCertificatesRequest added in v0.2.0

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

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

func (GetLoadBalancerTlsCertificatesRequest) Send added in v0.2.0

Send marshals and sends the GetLoadBalancerTlsCertificates API request.

type GetLoadBalancersInput added in v0.2.0

type GetLoadBalancersInput struct {

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

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

func (GetLoadBalancersInput) GoString added in v0.2.0

func (s GetLoadBalancersInput) GoString() string

GoString returns the string representation

func (GetLoadBalancersInput) String added in v0.2.0

func (s GetLoadBalancersInput) String() string

String returns the string representation

type GetLoadBalancersOutput added in v0.2.0

type GetLoadBalancersOutput struct {

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

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

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

func (GetLoadBalancersOutput) GoString added in v0.2.0

func (s GetLoadBalancersOutput) GoString() string

GoString returns the string representation

func (GetLoadBalancersOutput) SDKResponseMetadata added in v0.2.0

func (s GetLoadBalancersOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetLoadBalancersOutput) String added in v0.2.0

func (s GetLoadBalancersOutput) String() string

String returns the string representation

type GetLoadBalancersRequest added in v0.2.0

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

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

func (GetLoadBalancersRequest) Send added in v0.2.0

Send marshals and sends the GetLoadBalancers API request.

type GetOperationInput

type GetOperationInput struct {

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

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

func (GetOperationInput) GoString

func (s GetOperationInput) GoString() string

GoString returns the string representation

func (GetOperationInput) String

func (s GetOperationInput) String() string

String returns the string representation

func (*GetOperationInput) Validate

func (s *GetOperationInput) Validate() error

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

type GetOperationOutput

type GetOperationOutput struct {

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

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

func (GetOperationOutput) GoString

func (s GetOperationOutput) GoString() string

GoString returns the string representation

func (GetOperationOutput) SDKResponseMetadata

func (s GetOperationOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetOperationOutput) String

func (s GetOperationOutput) String() string

String returns the string representation

type GetOperationRequest

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

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

func (GetOperationRequest) Send

Send marshals and sends the GetOperation API request.

type GetOperationsForResourceInput

type GetOperationsForResourceInput struct {

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

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

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

func (GetOperationsForResourceInput) GoString

GoString returns the string representation

func (GetOperationsForResourceInput) String

String returns the string representation

func (*GetOperationsForResourceInput) Validate

func (s *GetOperationsForResourceInput) Validate() error

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

type GetOperationsForResourceOutput

type GetOperationsForResourceOutput struct {

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

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

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

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

func (GetOperationsForResourceOutput) GoString

GoString returns the string representation

func (GetOperationsForResourceOutput) SDKResponseMetadata

func (s GetOperationsForResourceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetOperationsForResourceOutput) String

String returns the string representation

type GetOperationsForResourceRequest

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

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

func (GetOperationsForResourceRequest) Send

Send marshals and sends the GetOperationsForResource API request.

type GetOperationsInput

type GetOperationsInput struct {

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

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

func (GetOperationsInput) GoString

func (s GetOperationsInput) GoString() string

GoString returns the string representation

func (GetOperationsInput) String

func (s GetOperationsInput) String() string

String returns the string representation

type GetOperationsOutput

type GetOperationsOutput struct {

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

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

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

func (GetOperationsOutput) GoString

func (s GetOperationsOutput) GoString() string

GoString returns the string representation

func (GetOperationsOutput) SDKResponseMetadata

func (s GetOperationsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetOperationsOutput) String

func (s GetOperationsOutput) String() string

String returns the string representation

type GetOperationsRequest

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

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

func (GetOperationsRequest) Send

Send marshals and sends the GetOperations API request.

type GetRegionsInput

type GetRegionsInput struct {

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

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

func (GetRegionsInput) GoString

func (s GetRegionsInput) GoString() string

GoString returns the string representation

func (GetRegionsInput) String

func (s GetRegionsInput) String() string

String returns the string representation

type GetRegionsOutput

type GetRegionsOutput struct {

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

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

func (GetRegionsOutput) GoString

func (s GetRegionsOutput) GoString() string

GoString returns the string representation

func (GetRegionsOutput) SDKResponseMetadata

func (s GetRegionsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetRegionsOutput) String

func (s GetRegionsOutput) String() string

String returns the string representation

type GetRegionsRequest

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

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

func (GetRegionsRequest) Send

Send marshals and sends the GetRegions API request.

type GetStaticIpInput

type GetStaticIpInput struct {

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

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

func (GetStaticIpInput) GoString

func (s GetStaticIpInput) GoString() string

GoString returns the string representation

func (GetStaticIpInput) String

func (s GetStaticIpInput) String() string

String returns the string representation

func (*GetStaticIpInput) Validate

func (s *GetStaticIpInput) Validate() error

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

type GetStaticIpOutput

type GetStaticIpOutput struct {

	// An array of key-value pairs containing information about the requested static
	// IP.
	StaticIp *StaticIp `locationName:"staticIp" type:"structure"`
	// contains filtered or unexported fields
}

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

func (GetStaticIpOutput) GoString

func (s GetStaticIpOutput) GoString() string

GoString returns the string representation

func (GetStaticIpOutput) SDKResponseMetadata

func (s GetStaticIpOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetStaticIpOutput) String

func (s GetStaticIpOutput) String() string

String returns the string representation

type GetStaticIpRequest

type GetStaticIpRequest struct {
	*aws.Request
	Input *GetStaticIpInput
	Copy  func(*GetStaticIpInput) GetStaticIpRequest
}

GetStaticIpRequest is a API request type for the GetStaticIp API operation.

func (GetStaticIpRequest) Send

Send marshals and sends the GetStaticIp API request.

type GetStaticIpsInput

type GetStaticIpsInput struct {

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

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

func (GetStaticIpsInput) GoString

func (s GetStaticIpsInput) GoString() string

GoString returns the string representation

func (GetStaticIpsInput) String

func (s GetStaticIpsInput) String() string

String returns the string representation

type GetStaticIpsOutput

type GetStaticIpsOutput struct {

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

	// An array of key-value pairs containing information about your get static
	// IPs request.
	StaticIps []StaticIp `locationName:"staticIps" type:"list"`
	// contains filtered or unexported fields
}

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

func (GetStaticIpsOutput) GoString

func (s GetStaticIpsOutput) GoString() string

GoString returns the string representation

func (GetStaticIpsOutput) SDKResponseMetadata

func (s GetStaticIpsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (GetStaticIpsOutput) String

func (s GetStaticIpsOutput) String() string

String returns the string representation

type GetStaticIpsRequest

type GetStaticIpsRequest struct {
	*aws.Request
	Input *GetStaticIpsInput
	Copy  func(*GetStaticIpsInput) GetStaticIpsRequest
}

GetStaticIpsRequest is a API request type for the GetStaticIps API operation.

func (GetStaticIpsRequest) Send

Send marshals and sends the GetStaticIps API request.

type ImportKeyPairInput

type ImportKeyPairInput struct {

	// The name of the key pair for which you want to import the public key.
	//
	// KeyPairName is a required field
	KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"`

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

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

func (ImportKeyPairInput) GoString

func (s ImportKeyPairInput) GoString() string

GoString returns the string representation

func (ImportKeyPairInput) String

func (s ImportKeyPairInput) String() string

String returns the string representation

func (*ImportKeyPairInput) Validate

func (s *ImportKeyPairInput) Validate() error

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

type ImportKeyPairOutput

type ImportKeyPairOutput struct {

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

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

func (ImportKeyPairOutput) GoString

func (s ImportKeyPairOutput) GoString() string

GoString returns the string representation

func (ImportKeyPairOutput) SDKResponseMetadata

func (s ImportKeyPairOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ImportKeyPairOutput) String

func (s ImportKeyPairOutput) String() string

String returns the string representation

type ImportKeyPairRequest

type ImportKeyPairRequest struct {
	*aws.Request
	Input *ImportKeyPairInput
	Copy  func(*ImportKeyPairInput) ImportKeyPairRequest
}

ImportKeyPairRequest is a API request type for the ImportKeyPair API operation.

func (ImportKeyPairRequest) Send

Send marshals and sends the ImportKeyPair API request.

type Instance

type Instance struct {

	// The Amazon Resource Name (ARN) of the instance (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE).
	Arn *string `locationName:"arn" type:"string"`

	// The blueprint ID (e.g., os_amlinux_2016_03).
	BlueprintId *string `locationName:"blueprintId" type:"string"`

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

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

	// The timestamp when the instance was created (e.g., 1479734909.17).
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The size of the vCPU and the amount of RAM for the instance.
	Hardware *InstanceHardware `locationName:"hardware" type:"structure"`

	// The IPv6 address of the instance.
	Ipv6Address *string `locationName:"ipv6Address" type:"string"`

	// A Boolean value indicating whether this instance has a static IP assigned
	// to it.
	IsStaticIp *bool `locationName:"isStaticIp" type:"boolean"`

	// The region name and availability zone where the instance is located.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).
	Name *string `locationName:"name" type:"string"`

	// Information about the public ports and monthly data transfer rates for the
	// instance.
	Networking *InstanceNetworking `locationName:"networking" type:"structure"`

	// The private IP address of the instance.
	PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"`

	// The public IP address of the instance.
	PublicIpAddress *string `locationName:"publicIpAddress" type:"string"`

	// The type of resource (usually Instance).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair).
	SshKeyName *string `locationName:"sshKeyName" type:"string"`

	// The status code and the state (e.g., running) for the instance.
	State *InstanceState `locationName:"state" type:"structure"`

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

	// The user name for connecting to the instance (e.g., ec2-user).
	Username *string `locationName:"username" type:"string"`
	// contains filtered or unexported fields
}

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

func (Instance) GoString

func (s Instance) GoString() string

GoString returns the string representation

func (Instance) String

func (s Instance) String() string

String returns the string representation

type InstanceAccessDetails

type InstanceAccessDetails struct {

	// For SSH access, the public key to use when accessing your instance For OpenSSH
	// clients (e.g., command line SSH), you should save this value to tempkey-cert.pub.
	CertKey *string `locationName:"certKey" type:"string"`

	// For SSH access, the date on which the temporary keys expire.
	ExpiresAt *time.Time `locationName:"expiresAt" type:"timestamp" timestampFormat:"unix"`

	// The name of this Amazon Lightsail instance.
	InstanceName *string `locationName:"instanceName" type:"string"`

	// The public IP address of the Amazon Lightsail instance.
	IpAddress *string `locationName:"ipAddress" type:"string"`

	// For RDP access, the password for your Amazon Lightsail instance. Password
	// will be an empty string if the password for your new instance is not ready
	// yet. When you create an instance, it can take up to 15 minutes for the instance
	// to be ready.
	//
	// If you create an instance using any key pair other than the default (LightsailDefaultKeyPair),
	// password will always be an empty string.
	//
	// If you change the Administrator password on the instance, Lightsail will
	// continue to return the original password value. When accessing the instance
	// using RDP, you need to manually enter the Administrator password after changing
	// it from the default.
	Password *string `locationName:"password" type:"string"`

	// For a Windows Server-based instance, an object with the data you can use
	// to retrieve your password. This is only needed if password is empty and the
	// instance is not new (and therefore the password is not ready yet). When you
	// create an instance, it can take up to 15 minutes for the instance to be ready.
	PasswordData *PasswordData `locationName:"passwordData" type:"structure"`

	// For SSH access, the temporary private key. For OpenSSH clients (e.g., command
	// line SSH), you should save this value to tempkey).
	PrivateKey *string `locationName:"privateKey" type:"string"`

	// The protocol for these Amazon Lightsail instance access details.
	Protocol InstanceAccessProtocol `locationName:"protocol" type:"string" enum:"true"`

	// The user name to use when logging in to the Amazon Lightsail instance.
	Username *string `locationName:"username" type:"string"`
	// contains filtered or unexported fields
}

The parameters for gaining temporary access to one of your Amazon Lightsail instances. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceAccessDetails

func (InstanceAccessDetails) GoString

func (s InstanceAccessDetails) GoString() string

GoString returns the string representation

func (InstanceAccessDetails) String

func (s InstanceAccessDetails) String() string

String returns the string representation

type InstanceAccessProtocol

type InstanceAccessProtocol string
const (
	InstanceAccessProtocolSsh InstanceAccessProtocol = "ssh"
	InstanceAccessProtocolRdp InstanceAccessProtocol = "rdp"
)

Enum values for InstanceAccessProtocol

func (InstanceAccessProtocol) MarshalValue added in v0.3.0

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

func (InstanceAccessProtocol) MarshalValueBuf added in v0.3.0

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

type InstanceHardware

type InstanceHardware struct {

	// The number of vCPUs the instance has.
	CpuCount *int64 `locationName:"cpuCount" type:"integer"`

	// The disks attached to the instance.
	Disks []Disk `locationName:"disks" type:"list"`

	// The amount of RAM in GB on the instance (e.g., 1.0).
	RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"`
	// contains filtered or unexported fields
}

Describes the hardware for the instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceHardware

func (InstanceHardware) GoString

func (s InstanceHardware) GoString() string

GoString returns the string representation

func (InstanceHardware) String

func (s InstanceHardware) String() string

String returns the string representation

type InstanceHealthReason added in v0.2.0

type InstanceHealthReason string
const (
	InstanceHealthReasonLbRegistrationInProgress         InstanceHealthReason = "Lb.RegistrationInProgress"
	InstanceHealthReasonLbInitialHealthChecking          InstanceHealthReason = "Lb.InitialHealthChecking"
	InstanceHealthReasonLbInternalError                  InstanceHealthReason = "Lb.InternalError"
	InstanceHealthReasonInstanceResponseCodeMismatch     InstanceHealthReason = "Instance.ResponseCodeMismatch"
	InstanceHealthReasonInstanceTimeout                  InstanceHealthReason = "Instance.Timeout"
	InstanceHealthReasonInstanceFailedHealthChecks       InstanceHealthReason = "Instance.FailedHealthChecks"
	InstanceHealthReasonInstanceNotRegistered            InstanceHealthReason = "Instance.NotRegistered"
	InstanceHealthReasonInstanceNotInUse                 InstanceHealthReason = "Instance.NotInUse"
	InstanceHealthReasonInstanceDeregistrationInProgress InstanceHealthReason = "Instance.DeregistrationInProgress"
	InstanceHealthReasonInstanceInvalidState             InstanceHealthReason = "Instance.InvalidState"
	InstanceHealthReasonInstanceIpUnusable               InstanceHealthReason = "Instance.IpUnusable"
)

Enum values for InstanceHealthReason

func (InstanceHealthReason) MarshalValue added in v0.3.0

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

func (InstanceHealthReason) MarshalValueBuf added in v0.3.0

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

type InstanceHealthState added in v0.2.0

type InstanceHealthState string
const (
	InstanceHealthStateInitial     InstanceHealthState = "initial"
	InstanceHealthStateHealthy     InstanceHealthState = "healthy"
	InstanceHealthStateUnhealthy   InstanceHealthState = "unhealthy"
	InstanceHealthStateUnused      InstanceHealthState = "unused"
	InstanceHealthStateDraining    InstanceHealthState = "draining"
	InstanceHealthStateUnavailable InstanceHealthState = "unavailable"
)

Enum values for InstanceHealthState

func (InstanceHealthState) MarshalValue added in v0.3.0

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

func (InstanceHealthState) MarshalValueBuf added in v0.3.0

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

type InstanceHealthSummary added in v0.2.0

type InstanceHealthSummary struct {

	// Describes the overall instance health. Valid values are below.
	InstanceHealth InstanceHealthState `locationName:"instanceHealth" type:"string" enum:"true"`

	// More information about the instance health. If the instanceHealth is healthy,
	// then an instanceHealthReason value is not provided.
	//
	// If instanceHealth is initial, the instanceHealthReason value can be one of
	// the following:
	//
	//    * Lb.RegistrationInProgress - The target instance is in the process of
	//    being registered with the load balancer.
	//
	//    * Lb.InitialHealthChecking - The Lightsail load balancer is still sending
	//    the target instance the minimum number of health checks required to determine
	//    its health status.
	//
	// If instanceHealth is unhealthy, the instanceHealthReason value can be one
	// of the following:
	//
	//    * Instance.ResponseCodeMismatch - The health checks did not return an
	//    expected HTTP code.
	//
	//    * Instance.Timeout - The health check requests timed out.
	//
	//    * Instance.FailedHealthChecks - The health checks failed because the connection
	//    to the target instance timed out, the target instance response was malformed,
	//    or the target instance failed the health check for an unknown reason.
	//
	//    * Lb.InternalError - The health checks failed due to an internal error.
	//
	// If instanceHealth is unused, the instanceHealthReason value can be one of
	// the following:
	//
	//    * Instance.NotRegistered - The target instance is not registered with
	//    the target group.
	//
	//    * Instance.NotInUse - The target group is not used by any load balancer,
	//    or the target instance is in an Availability Zone that is not enabled
	//    for its load balancer.
	//
	//    * Instance.IpUnusable - The target IP address is reserved for use by a
	//    Lightsail load balancer.
	//
	//    * Instance.InvalidState - The target is in the stopped or terminated state.
	//
	// If instanceHealth is draining, the instanceHealthReason value can be one
	// of the following:
	//
	//    * Instance.DeregistrationInProgress - The target instance is in the process
	//    of being deregistered and the deregistration delay period has not expired.
	InstanceHealthReason InstanceHealthReason `locationName:"instanceHealthReason" type:"string" enum:"true"`

	// The name of the Lightsail instance for which you are requesting health check
	// data.
	InstanceName *string `locationName:"instanceName" type:"string"`
	// contains filtered or unexported fields
}

Describes information about the health of the instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceHealthSummary

func (InstanceHealthSummary) GoString added in v0.2.0

func (s InstanceHealthSummary) GoString() string

GoString returns the string representation

func (InstanceHealthSummary) String added in v0.2.0

func (s InstanceHealthSummary) String() string

String returns the string representation

type InstanceMetricName

type InstanceMetricName string
const (
	InstanceMetricNameCpuutilization            InstanceMetricName = "CPUUtilization"
	InstanceMetricNameNetworkIn                 InstanceMetricName = "NetworkIn"
	InstanceMetricNameNetworkOut                InstanceMetricName = "NetworkOut"
	InstanceMetricNameStatusCheckFailed         InstanceMetricName = "StatusCheckFailed"
	InstanceMetricNameStatusCheckFailedInstance InstanceMetricName = "StatusCheckFailed_Instance"
	InstanceMetricNameStatusCheckFailedSystem   InstanceMetricName = "StatusCheckFailed_System"
)

Enum values for InstanceMetricName

func (InstanceMetricName) MarshalValue added in v0.3.0

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

func (InstanceMetricName) MarshalValueBuf added in v0.3.0

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

type InstanceNetworking

type InstanceNetworking struct {

	// The amount of data in GB allocated for monthly data transfers.
	MonthlyTransfer *MonthlyTransfer `locationName:"monthlyTransfer" type:"structure"`

	// An array of key-value pairs containing information about the ports on the
	// instance.
	Ports []InstancePortInfo `locationName:"ports" type:"list"`
	// contains filtered or unexported fields
}

Describes monthly data transfer rates and port information for an instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceNetworking

func (InstanceNetworking) GoString

func (s InstanceNetworking) GoString() string

GoString returns the string representation

func (InstanceNetworking) String

func (s InstanceNetworking) String() string

String returns the string representation

type InstancePlatform added in v0.2.0

type InstancePlatform string
const (
	InstancePlatformLinuxUnix InstancePlatform = "LINUX_UNIX"
	InstancePlatformWindows   InstancePlatform = "WINDOWS"
)

Enum values for InstancePlatform

func (InstancePlatform) MarshalValue added in v0.3.0

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

func (InstancePlatform) MarshalValueBuf added in v0.3.0

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

type InstancePortInfo

type InstancePortInfo struct {

	// The access direction (inbound or outbound).
	AccessDirection AccessDirection `locationName:"accessDirection" type:"string" enum:"true"`

	// The location from which access is allowed (e.g., Anywhere (0.0.0.0/0)).
	AccessFrom *string `locationName:"accessFrom" type:"string"`

	// The type of access (Public or Private).
	AccessType PortAccessType `locationName:"accessType" type:"string" enum:"true"`

	// The common name.
	CommonName *string `locationName:"commonName" type:"string"`

	// The first port in the range.
	FromPort *int64 `locationName:"fromPort" type:"integer"`

	// The protocol being used. Can be one of the following.
	//
	//    * tcp - Transmission Control Protocol (TCP) provides reliable, ordered,
	//    and error-checked delivery of streamed data between applications running
	//    on hosts communicating by an IP network. If you have an application that
	//    doesn't require reliable data stream service, use UDP instead.
	//
	//    * all - All transport layer protocol types. For more general information,
	//    see Transport layer (https://en.wikipedia.org/wiki/Transport_layer) on
	//    Wikipedia.
	//
	//    * udp - With User Datagram Protocol (UDP), computer applications can send
	//    messages (or datagrams) to other hosts on an Internet Protocol (IP) network.
	//    Prior communications are not required to set up transmission channels
	//    or data paths. Applications that don't require reliable data stream service
	//    can use UDP, which provides a connectionless datagram service that emphasizes
	//    reduced latency over reliability. If you do require reliable data stream
	//    service, use TCP instead.
	Protocol NetworkProtocol `locationName:"protocol" type:"string" enum:"true"`

	// The last port in the range.
	ToPort *int64 `locationName:"toPort" type:"integer"`
	// contains filtered or unexported fields
}

Describes information about the instance ports. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortInfo

func (InstancePortInfo) GoString

func (s InstancePortInfo) GoString() string

GoString returns the string representation

func (InstancePortInfo) String

func (s InstancePortInfo) String() string

String returns the string representation

type InstancePortState

type InstancePortState struct {

	// The first port in the range.
	FromPort *int64 `locationName:"fromPort" type:"integer"`

	// The protocol being used. Can be one of the following.
	//
	//    * tcp - Transmission Control Protocol (TCP) provides reliable, ordered,
	//    and error-checked delivery of streamed data between applications running
	//    on hosts communicating by an IP network. If you have an application that
	//    doesn't require reliable data stream service, use UDP instead.
	//
	//    * all - All transport layer protocol types. For more general information,
	//    see Transport layer (https://en.wikipedia.org/wiki/Transport_layer) on
	//    Wikipedia.
	//
	//    * udp - With User Datagram Protocol (UDP), computer applications can send
	//    messages (or datagrams) to other hosts on an Internet Protocol (IP) network.
	//    Prior communications are not required to set up transmission channels
	//    or data paths. Applications that don't require reliable data stream service
	//    can use UDP, which provides a connectionless datagram service that emphasizes
	//    reduced latency over reliability. If you do require reliable data stream
	//    service, use TCP instead.
	Protocol NetworkProtocol `locationName:"protocol" type:"string" enum:"true"`

	// Specifies whether the instance port is open or closed.
	State PortState `locationName:"state" type:"string" enum:"true"`

	// The last port in the range.
	ToPort *int64 `locationName:"toPort" type:"integer"`
	// contains filtered or unexported fields
}

Describes the port state. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortState

func (InstancePortState) GoString

func (s InstancePortState) GoString() string

GoString returns the string representation

func (InstancePortState) String

func (s InstancePortState) String() string

String returns the string representation

type InstanceSnapshot

type InstanceSnapshot struct {

	// The Amazon Resource Name (ARN) of the snapshot (e.g., arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE).
	Arn *string `locationName:"arn" type:"string"`

	// The timestamp when the snapshot was created (e.g., 1479907467.024).
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

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

	// The blueprint ID from which you created the snapshot (e.g., os_debian_8_3).
	// A blueprint is a virtual private server (or instance) image used to create
	// instances quickly.
	FromBlueprintId *string `locationName:"fromBlueprintId" type:"string"`

	// The bundle ID from which you created the snapshot (e.g., micro_1_0).
	FromBundleId *string `locationName:"fromBundleId" type:"string"`

	// The Amazon Resource Name (ARN) of the instance from which the snapshot was
	// created (e.g., arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE).
	FromInstanceArn *string `locationName:"fromInstanceArn" type:"string"`

	// The instance from which the snapshot was created.
	FromInstanceName *string `locationName:"fromInstanceName" type:"string"`

	// The region name and availability zone where you created the snapshot.
	Location *ResourceLocation `locationName:"location" type:"structure"`

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

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

	// The type of resource (usually InstanceSnapshot).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

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

	// The state the snapshot is in.
	State InstanceSnapshotState `locationName:"state" type:"string" enum:"true"`

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

Describes the snapshot of the virtual private server, or instance. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceSnapshot

func (InstanceSnapshot) GoString

func (s InstanceSnapshot) GoString() string

GoString returns the string representation

func (InstanceSnapshot) String

func (s InstanceSnapshot) String() string

String returns the string representation

type InstanceSnapshotState

type InstanceSnapshotState string
const (
	InstanceSnapshotStatePending   InstanceSnapshotState = "pending"
	InstanceSnapshotStateError     InstanceSnapshotState = "error"
	InstanceSnapshotStateAvailable InstanceSnapshotState = "available"
)

Enum values for InstanceSnapshotState

func (InstanceSnapshotState) MarshalValue added in v0.3.0

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

func (InstanceSnapshotState) MarshalValueBuf added in v0.3.0

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

type InstanceState

type InstanceState struct {

	// The status code for the instance.
	Code *int64 `locationName:"code" type:"integer"`

	// The state of the instance (e.g., running or pending).
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Describes the virtual private server (or instance) status. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceState

func (InstanceState) GoString

func (s InstanceState) GoString() string

GoString returns the string representation

func (InstanceState) String

func (s InstanceState) String() string

String returns the string representation

type IsVpcPeeredInput

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

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

func (IsVpcPeeredInput) GoString

func (s IsVpcPeeredInput) GoString() string

GoString returns the string representation

func (IsVpcPeeredInput) String

func (s IsVpcPeeredInput) String() string

String returns the string representation

type IsVpcPeeredOutput

type IsVpcPeeredOutput struct {

	// Returns true if the Lightsail VPC is peered; otherwise, false.
	IsPeered *bool `locationName:"isPeered" type:"boolean"`
	// contains filtered or unexported fields
}

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

func (IsVpcPeeredOutput) GoString

func (s IsVpcPeeredOutput) GoString() string

GoString returns the string representation

func (IsVpcPeeredOutput) SDKResponseMetadata

func (s IsVpcPeeredOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (IsVpcPeeredOutput) String

func (s IsVpcPeeredOutput) String() string

String returns the string representation

type IsVpcPeeredRequest

type IsVpcPeeredRequest struct {
	*aws.Request
	Input *IsVpcPeeredInput
	Copy  func(*IsVpcPeeredInput) IsVpcPeeredRequest
}

IsVpcPeeredRequest is a API request type for the IsVpcPeered API operation.

func (IsVpcPeeredRequest) Send

Send marshals and sends the IsVpcPeered API request.

type KeyPair

type KeyPair struct {

	// The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).
	Arn *string `locationName:"arn" type:"string"`

	// The timestamp when the key pair was created (e.g., 1479816991.349).
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The RSA fingerprint of the key pair.
	Fingerprint *string `locationName:"fingerprint" type:"string"`

	// The region name and Availability Zone where the key pair was created.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The friendly name of the SSH key pair.
	Name *string `locationName:"name" type:"string"`

	// The resource type (usually KeyPair).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

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

Describes the SSH key pair. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/KeyPair

func (KeyPair) GoString

func (s KeyPair) GoString() string

GoString returns the string representation

func (KeyPair) String

func (s KeyPair) String() string

String returns the string representation

type Lightsail

type Lightsail struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *Lightsail

New creates a new instance of the Lightsail client with a config.

Example:

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

func (*Lightsail) AllocateStaticIpRequest

func (c *Lightsail) AllocateStaticIpRequest(input *AllocateStaticIpInput) AllocateStaticIpRequest

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

Allocates a static IP address.

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

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

func (*Lightsail) AttachDiskRequest added in v0.2.0

func (c *Lightsail) AttachDiskRequest(input *AttachDiskInput) AttachDiskRequest

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

Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name.

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

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

func (*Lightsail) AttachInstancesToLoadBalancerRequest added in v0.2.0

func (c *Lightsail) AttachInstancesToLoadBalancerRequest(input *AttachInstancesToLoadBalancerInput) AttachInstancesToLoadBalancerRequest

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

Attaches one or more Lightsail instances to a load balancer.

After some time, the instances are attached to the load balancer and the health check status is available.

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

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

func (*Lightsail) AttachLoadBalancerTlsCertificateRequest added in v0.2.0

func (c *Lightsail) AttachLoadBalancerTlsCertificateRequest(input *AttachLoadBalancerTlsCertificateInput) AttachLoadBalancerTlsCertificateRequest

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

Attaches a Transport Layer Security (TLS) certificate to your load balancer. TLS is just an updated, more secure version of Secure Socket Layer (SSL).

Once you create and validate your certificate, you can attach it to your load balancer. You can also use this API to rotate the certificates on your account. Use the AttachLoadBalancerTlsCertificate operation with the non-attached certificate, and it will replace the existing one and become the attached certificate.

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

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

func (*Lightsail) AttachStaticIpRequest

func (c *Lightsail) AttachStaticIpRequest(input *AttachStaticIpInput) AttachStaticIpRequest

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

Attaches a static IP address to a specific Amazon Lightsail instance.

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

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

func (*Lightsail) CloseInstancePublicPortsRequest

func (c *Lightsail) CloseInstancePublicPortsRequest(input *CloseInstancePublicPortsInput) CloseInstancePublicPortsRequest

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

Closes the public ports on a specific Amazon Lightsail instance.

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

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

func (*Lightsail) CreateDiskFromSnapshotRequest added in v0.2.0

func (c *Lightsail) CreateDiskFromSnapshotRequest(input *CreateDiskFromSnapshotInput) CreateDiskFromSnapshotRequest

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

Creates a block storage disk from a disk snapshot that can be attached to a Lightsail instance in the same Availability Zone (e.g., us-east-2a). The disk is created in the regional endpoint that you send the HTTP request to. For more information, see Regions and Availability Zones in Lightsail (https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail).

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

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

func (*Lightsail) CreateDiskRequest added in v0.2.0

func (c *Lightsail) CreateDiskRequest(input *CreateDiskInput) CreateDiskRequest

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

Creates a block storage disk that can be attached to a Lightsail instance in the same Availability Zone (e.g., us-east-2a). The disk is created in the regional endpoint that you send the HTTP request to. For more information, see Regions and Availability Zones in Lightsail (https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail).

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

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

func (*Lightsail) CreateDiskSnapshotRequest added in v0.2.0

func (c *Lightsail) CreateDiskSnapshotRequest(input *CreateDiskSnapshotInput) CreateDiskSnapshotRequest

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

Creates a snapshot of a block storage disk. You can use snapshots for backups, to make copies of disks, and to save data before shutting down a Lightsail instance.

You can take a snapshot of an attached disk that is in use; however, snapshots only capture data that has been written to your disk at the time the snapshot command is issued. This may exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the disk long enough to take a snapshot, your snapshot should be complete. Nevertheless, if you cannot pause all file writes to the disk, you should unmount the disk from within the Lightsail instance, issue the create disk snapshot command, and then remount the disk to ensure a consistent and complete snapshot. You may remount and use your disk while the snapshot status is pending.

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

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

func (*Lightsail) CreateDomainEntryRequest

func (c *Lightsail) CreateDomainEntryRequest(input *CreateDomainEntryInput) CreateDomainEntryRequest

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

Creates one of the following entry records associated with the domain: A record, CNAME record, TXT record, or MX record.

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

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

func (*Lightsail) CreateDomainRequest

func (c *Lightsail) CreateDomainRequest(input *CreateDomainInput) CreateDomainRequest

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

Creates a domain resource for the specified domain (e.g., example.com).

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

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

func (*Lightsail) CreateInstanceSnapshotRequest

func (c *Lightsail) CreateInstanceSnapshotRequest(input *CreateInstanceSnapshotInput) CreateInstanceSnapshotRequest

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

Creates a snapshot of a specific virtual private server, or instance. You can use a snapshot to create a new instance that is based on that snapshot.

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

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

func (*Lightsail) CreateInstancesFromSnapshotRequest

func (c *Lightsail) CreateInstancesFromSnapshotRequest(input *CreateInstancesFromSnapshotInput) CreateInstancesFromSnapshotRequest

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

Uses a specific snapshot as a blueprint for creating one or more new instances that are based on that identical configuration.

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

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

func (*Lightsail) CreateInstancesRequest

func (c *Lightsail) CreateInstancesRequest(input *CreateInstancesInput) CreateInstancesRequest

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

Creates one or more Amazon Lightsail virtual private servers, or instances.

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

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

func (*Lightsail) CreateKeyPairRequest

func (c *Lightsail) CreateKeyPairRequest(input *CreateKeyPairInput) CreateKeyPairRequest

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

Creates sn SSH key pair.

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

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

func (*Lightsail) CreateLoadBalancerRequest added in v0.2.0

func (c *Lightsail) CreateLoadBalancerRequest(input *CreateLoadBalancerInput) CreateLoadBalancerRequest

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

Creates a Lightsail load balancer. To learn more about deciding whether to load balance your application, see Configure your Lightsail instances for load balancing (https://lightsail.aws.amazon.com/ls/docs/how-to/article/configure-lightsail-instances-for-load-balancing). You can create up to 5 load balancers per AWS Region in your account.

When you create a load balancer, you can specify a unique name and port settings. To change additional load balancer settings, use the UpdateLoadBalancerAttribute operation.

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

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

func (*Lightsail) CreateLoadBalancerTlsCertificateRequest added in v0.2.0

func (c *Lightsail) CreateLoadBalancerTlsCertificateRequest(input *CreateLoadBalancerTlsCertificateInput) CreateLoadBalancerTlsCertificateRequest

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

Creates a Lightsail load balancer TLS certificate.

TLS is just an updated, more secure version of Secure Socket Layer (SSL).

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

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

func (*Lightsail) DeleteDiskRequest added in v0.2.0

func (c *Lightsail) DeleteDiskRequest(input *DeleteDiskInput) DeleteDiskRequest

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

Deletes the specified block storage disk. The disk must be in the available state (not attached to a Lightsail instance).

The disk may remain in the deleting state for several minutes.

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

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

func (*Lightsail) DeleteDiskSnapshotRequest added in v0.2.0

func (c *Lightsail) DeleteDiskSnapshotRequest(input *DeleteDiskSnapshotInput) DeleteDiskSnapshotRequest

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

Deletes the specified disk snapshot.

When you make periodic snapshots of a disk, the snapshots are incremental, and only the blocks on the device that have changed since your last snapshot are saved in the new snapshot. When you delete a snapshot, only the data not needed for any other snapshot is removed. So regardless of which prior snapshots have been deleted, all active snapshots will have access to all the information needed to restore the disk.

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

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

func (*Lightsail) DeleteDomainEntryRequest

func (c *Lightsail) DeleteDomainEntryRequest(input *DeleteDomainEntryInput) DeleteDomainEntryRequest

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

Deletes a specific domain entry.

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

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

func (*Lightsail) DeleteDomainRequest

func (c *Lightsail) DeleteDomainRequest(input *DeleteDomainInput) DeleteDomainRequest

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

Deletes the specified domain recordset and all of its domain records.

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

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

func (*Lightsail) DeleteInstanceRequest

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

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

Deletes a specific Amazon Lightsail virtual private server, or instance.

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

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

func (*Lightsail) DeleteInstanceSnapshotRequest

func (c *Lightsail) DeleteInstanceSnapshotRequest(input *DeleteInstanceSnapshotInput) DeleteInstanceSnapshotRequest

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

Deletes a specific snapshot of a virtual private server (or instance).

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

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

func (*Lightsail) DeleteKeyPairRequest

func (c *Lightsail) DeleteKeyPairRequest(input *DeleteKeyPairInput) DeleteKeyPairRequest

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

Deletes a specific SSH key pair.

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

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

func (*Lightsail) DeleteLoadBalancerRequest added in v0.2.0

func (c *Lightsail) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) DeleteLoadBalancerRequest

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

Deletes a Lightsail load balancer and all its associated SSL/TLS certificates. Once the load balancer is deleted, you will need to create a new load balancer, create a new certificate, and verify domain ownership again.

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

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

func (*Lightsail) DeleteLoadBalancerTlsCertificateRequest added in v0.2.0

func (c *Lightsail) DeleteLoadBalancerTlsCertificateRequest(input *DeleteLoadBalancerTlsCertificateInput) DeleteLoadBalancerTlsCertificateRequest

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

Deletes an SSL/TLS certificate associated with a Lightsail load balancer.

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

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

func (*Lightsail) DetachDiskRequest added in v0.2.0

func (c *Lightsail) DetachDiskRequest(input *DetachDiskInput) DetachDiskRequest

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

Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount any file systems on the device within your operating system before stopping the instance and detaching the disk.

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

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

func (*Lightsail) DetachInstancesFromLoadBalancerRequest added in v0.2.0

func (c *Lightsail) DetachInstancesFromLoadBalancerRequest(input *DetachInstancesFromLoadBalancerInput) DetachInstancesFromLoadBalancerRequest

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

Detaches the specified instances from a Lightsail load balancer.

This operation waits until the instances are no longer needed before they are detached from the load balancer.

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

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

func (*Lightsail) DetachStaticIpRequest

func (c *Lightsail) DetachStaticIpRequest(input *DetachStaticIpInput) DetachStaticIpRequest

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

Detaches a static IP from the Amazon Lightsail instance to which it is attached.

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

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

func (*Lightsail) DownloadDefaultKeyPairRequest

func (c *Lightsail) DownloadDefaultKeyPairRequest(input *DownloadDefaultKeyPairInput) DownloadDefaultKeyPairRequest

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

Downloads the default SSH key pair from the user's account.

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

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

func (*Lightsail) GetActiveNamesRequest

func (c *Lightsail) GetActiveNamesRequest(input *GetActiveNamesInput) GetActiveNamesRequest

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

Returns the names of all active (not deleted) resources.

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

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

func (*Lightsail) GetBlueprintsRequest

func (c *Lightsail) GetBlueprintsRequest(input *GetBlueprintsInput) GetBlueprintsRequest

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

Returns the list of available instance images, or blueprints. You can use a blueprint to create a new virtual private server already running a specific operating system, as well as a preinstalled app or development stack. The software each instance is running depends on the blueprint image you choose.

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

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

func (*Lightsail) GetBundlesRequest

func (c *Lightsail) GetBundlesRequest(input *GetBundlesInput) GetBundlesRequest

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

Returns the list of bundles that are available for purchase. A bundle describes the specs for your virtual private server (or instance).

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

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

func (*Lightsail) GetDiskRequest added in v0.2.0

func (c *Lightsail) GetDiskRequest(input *GetDiskInput) GetDiskRequest

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

Returns information about a specific block storage disk.

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

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

func (*Lightsail) GetDiskSnapshotRequest added in v0.2.0

func (c *Lightsail) GetDiskSnapshotRequest(input *GetDiskSnapshotInput) GetDiskSnapshotRequest

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

Returns information about a specific block storage disk snapshot.

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

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

func (*Lightsail) GetDiskSnapshotsRequest added in v0.2.0

func (c *Lightsail) GetDiskSnapshotsRequest(input *GetDiskSnapshotsInput) GetDiskSnapshotsRequest

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

Returns information about all block storage disk snapshots in your AWS account and region.

If you are describing a long list of disk snapshots, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.

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

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

func (*Lightsail) GetDisksRequest added in v0.2.0

func (c *Lightsail) GetDisksRequest(input *GetDisksInput) GetDisksRequest

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

Returns information about all block storage disks in your AWS account and region.

If you are describing a long list of disks, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.

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

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

func (*Lightsail) GetDomainRequest

func (c *Lightsail) GetDomainRequest(input *GetDomainInput) GetDomainRequest

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

Returns information about a specific domain recordset.

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

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

func (*Lightsail) GetDomainsRequest

func (c *Lightsail) GetDomainsRequest(input *GetDomainsInput) GetDomainsRequest

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

Returns a list of all domains in the user's account.

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

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

func (*Lightsail) GetInstanceAccessDetailsRequest

func (c *Lightsail) GetInstanceAccessDetailsRequest(input *GetInstanceAccessDetailsInput) GetInstanceAccessDetailsRequest

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

Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.

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

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

func (*Lightsail) GetInstanceMetricDataRequest

func (c *Lightsail) GetInstanceMetricDataRequest(input *GetInstanceMetricDataInput) GetInstanceMetricDataRequest

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

Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.

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

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

func (*Lightsail) GetInstancePortStatesRequest

func (c *Lightsail) GetInstancePortStatesRequest(input *GetInstancePortStatesInput) GetInstancePortStatesRequest

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

Returns the port states for a specific virtual private server, or instance.

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

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

func (*Lightsail) GetInstanceRequest

func (c *Lightsail) GetInstanceRequest(input *GetInstanceInput) GetInstanceRequest

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

Returns information about a specific Amazon Lightsail instance, which is a virtual private server.

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

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

func (*Lightsail) GetInstanceSnapshotRequest

func (c *Lightsail) GetInstanceSnapshotRequest(input *GetInstanceSnapshotInput) GetInstanceSnapshotRequest

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

Returns information about a specific instance snapshot.

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

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

func (*Lightsail) GetInstanceSnapshotsRequest

func (c *Lightsail) GetInstanceSnapshotsRequest(input *GetInstanceSnapshotsInput) GetInstanceSnapshotsRequest

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

Returns all instance snapshots for the user's account.

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

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

func (*Lightsail) GetInstanceStateRequest

func (c *Lightsail) GetInstanceStateRequest(input *GetInstanceStateInput) GetInstanceStateRequest

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

Returns the state of a specific instance. Works on one instance at a time.

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

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

func (*Lightsail) GetInstancesRequest

func (c *Lightsail) GetInstancesRequest(input *GetInstancesInput) GetInstancesRequest

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

Returns information about all Amazon Lightsail virtual private servers, or instances.

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

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

func (*Lightsail) GetKeyPairRequest

func (c *Lightsail) GetKeyPairRequest(input *GetKeyPairInput) GetKeyPairRequest

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

Returns information about a specific key pair.

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

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

func (*Lightsail) GetKeyPairsRequest

func (c *Lightsail) GetKeyPairsRequest(input *GetKeyPairsInput) GetKeyPairsRequest

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

Returns information about all key pairs in the user's account.

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

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

func (*Lightsail) GetLoadBalancerMetricDataRequest added in v0.2.0

func (c *Lightsail) GetLoadBalancerMetricDataRequest(input *GetLoadBalancerMetricDataInput) GetLoadBalancerMetricDataRequest

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

Returns information about health metrics for your Lightsail load balancer.

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

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

func (*Lightsail) GetLoadBalancerRequest added in v0.2.0

func (c *Lightsail) GetLoadBalancerRequest(input *GetLoadBalancerInput) GetLoadBalancerRequest

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

Returns information about the specified Lightsail load balancer.

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

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

func (*Lightsail) GetLoadBalancerTlsCertificatesRequest added in v0.2.0

func (c *Lightsail) GetLoadBalancerTlsCertificatesRequest(input *GetLoadBalancerTlsCertificatesInput) GetLoadBalancerTlsCertificatesRequest

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

Returns information about the TLS certificates that are associated with the specified Lightsail load balancer.

TLS is just an updated, more secure version of Secure Socket Layer (SSL).

You can have a maximum of 2 certificates associated with a Lightsail load balancer. One is active and the other is inactive.

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

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

func (*Lightsail) GetLoadBalancersRequest added in v0.2.0

func (c *Lightsail) GetLoadBalancersRequest(input *GetLoadBalancersInput) GetLoadBalancersRequest

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

Returns information about all load balancers in an account.

If you are describing a long list of load balancers, you can paginate the output to make the list more manageable. You can use the pageToken and nextPageToken values to retrieve the next items in the list.

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

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

func (*Lightsail) GetOperationRequest

func (c *Lightsail) GetOperationRequest(input *GetOperationInput) GetOperationRequest

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

Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.

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

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

func (*Lightsail) GetOperationsForResourceRequest

func (c *Lightsail) GetOperationsForResourceRequest(input *GetOperationsForResourceInput) GetOperationsForResourceRequest

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

Gets operations for a specific resource (e.g., an instance or a static IP).

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

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

func (*Lightsail) GetOperationsRequest

func (c *Lightsail) GetOperationsRequest(input *GetOperationsInput) GetOperationsRequest

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

Returns information about all operations.

Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to GetOperations use the maximum (last) statusChangedAt value from the previous request.

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

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

func (*Lightsail) GetRegionsRequest

func (c *Lightsail) GetRegionsRequest(input *GetRegionsInput) GetRegionsRequest

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

Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones parameter to also return the availability zones in a region.

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

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

func (*Lightsail) GetStaticIpRequest

func (c *Lightsail) GetStaticIpRequest(input *GetStaticIpInput) GetStaticIpRequest

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

Returns information about a specific static IP.

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

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

func (*Lightsail) GetStaticIpsRequest

func (c *Lightsail) GetStaticIpsRequest(input *GetStaticIpsInput) GetStaticIpsRequest

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

Returns information about all static IPs in the user's account.

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

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

func (*Lightsail) ImportKeyPairRequest

func (c *Lightsail) ImportKeyPairRequest(input *ImportKeyPairInput) ImportKeyPairRequest

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

Imports a public SSH key from a specific key pair.

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

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

func (*Lightsail) IsVpcPeeredRequest

func (c *Lightsail) IsVpcPeeredRequest(input *IsVpcPeeredInput) IsVpcPeeredRequest

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

Returns a Boolean value indicating whether your Lightsail VPC is peered.

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

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

func (*Lightsail) OpenInstancePublicPortsRequest

func (c *Lightsail) OpenInstancePublicPortsRequest(input *OpenInstancePublicPortsInput) OpenInstancePublicPortsRequest

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

Adds public ports to an Amazon Lightsail instance.

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

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

func (*Lightsail) PeerVpcRequest

func (c *Lightsail) PeerVpcRequest(input *PeerVpcInput) PeerVpcRequest

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

Tries to peer the Lightsail VPC with the user's default VPC.

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

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

func (*Lightsail) PutInstancePublicPortsRequest

func (c *Lightsail) PutInstancePublicPortsRequest(input *PutInstancePublicPortsInput) PutInstancePublicPortsRequest

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

Sets the specified open ports for an Amazon Lightsail instance, and closes all ports for every protocol not included in the current request.

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

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

func (*Lightsail) RebootInstanceRequest

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

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

Restarts a specific instance. When your Amazon Lightsail instance is finished rebooting, Lightsail assigns a new public IP address. To use the same IP address after restarting, create a static IP address and attach it to the instance.

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

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

func (*Lightsail) ReleaseStaticIpRequest

func (c *Lightsail) ReleaseStaticIpRequest(input *ReleaseStaticIpInput) ReleaseStaticIpRequest

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

Deletes a specific static IP from your account.

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

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

func (*Lightsail) StartInstanceRequest

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

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

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

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

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

func (*Lightsail) StopInstanceRequest

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

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

Stops a specific Amazon Lightsail instance that is currently running.

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

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

func (*Lightsail) UnpeerVpcRequest

func (c *Lightsail) UnpeerVpcRequest(input *UnpeerVpcInput) UnpeerVpcRequest

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

Attempts to unpeer the Lightsail VPC from the user's default VPC.

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

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

func (*Lightsail) UpdateDomainEntryRequest

func (c *Lightsail) UpdateDomainEntryRequest(input *UpdateDomainEntryInput) UpdateDomainEntryRequest

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

Updates a domain recordset after it is created.

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

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

func (*Lightsail) UpdateLoadBalancerAttributeRequest added in v0.2.0

func (c *Lightsail) UpdateLoadBalancerAttributeRequest(input *UpdateLoadBalancerAttributeInput) UpdateLoadBalancerAttributeRequest

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

Updates the specified attribute for a load balancer. You can only update one attribute at a time.

// Example sending a request using the UpdateLoadBalancerAttributeRequest method.
req := client.UpdateLoadBalancerAttributeRequest(params)
resp, err := req.Send()
if err == nil {
    fmt.Println(resp)
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttribute

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"`

	// An array of LoadBalancerTlsCertificateSummary objects that provide additional
	// information about the SSL/TLS certificates. For example, if true, the certificate
	// is attached to the load balancer.
	TlsCertificateSummaries []LoadBalancerTlsCertificateSummary `locationName:"tlsCertificateSummaries" type:"list"`
	// contains filtered or unexported fields
}

Describes the Lightsail load balancer. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancer

func (LoadBalancer) GoString added in v0.2.0

func (s LoadBalancer) GoString() string

GoString returns the string representation

func (LoadBalancer) String added in v0.2.0

func (s LoadBalancer) String() string

String returns the string representation

type LoadBalancerAttributeName added in v0.2.0

type LoadBalancerAttributeName string
const (
	LoadBalancerAttributeNameHealthCheckPath                          LoadBalancerAttributeName = "HealthCheckPath"
	LoadBalancerAttributeNameSessionStickinessEnabled                 LoadBalancerAttributeName = "SessionStickinessEnabled"
	LoadBalancerAttributeNameSessionStickinessLbCookieDurationSeconds LoadBalancerAttributeName = "SessionStickiness_LB_CookieDurationSeconds"
)

Enum values for LoadBalancerAttributeName

func (LoadBalancerAttributeName) MarshalValue added in v0.3.0

func (enum LoadBalancerAttributeName) MarshalValue() (string, error)

func (LoadBalancerAttributeName) MarshalValueBuf added in v0.3.0

func (enum LoadBalancerAttributeName) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerMetricName added in v0.2.0

type LoadBalancerMetricName string
const (
	LoadBalancerMetricNameClientTlsnegotiationErrorCount LoadBalancerMetricName = "ClientTLSNegotiationErrorCount"
	LoadBalancerMetricNameHealthyHostCount               LoadBalancerMetricName = "HealthyHostCount"
	LoadBalancerMetricNameUnhealthyHostCount             LoadBalancerMetricName = "UnhealthyHostCount"
	LoadBalancerMetricNameHttpcodeLb4xxCount             LoadBalancerMetricName = "HTTPCode_LB_4XX_Count"
	LoadBalancerMetricNameHttpcodeLb5xxCount             LoadBalancerMetricName = "HTTPCode_LB_5XX_Count"
	LoadBalancerMetricNameHttpcodeInstance2xxCount       LoadBalancerMetricName = "HTTPCode_Instance_2XX_Count"
	LoadBalancerMetricNameHttpcodeInstance3xxCount       LoadBalancerMetricName = "HTTPCode_Instance_3XX_Count"
	LoadBalancerMetricNameHttpcodeInstance4xxCount       LoadBalancerMetricName = "HTTPCode_Instance_4XX_Count"
	LoadBalancerMetricNameHttpcodeInstance5xxCount       LoadBalancerMetricName = "HTTPCode_Instance_5XX_Count"
	LoadBalancerMetricNameInstanceResponseTime           LoadBalancerMetricName = "InstanceResponseTime"
	LoadBalancerMetricNameRejectedConnectionCount        LoadBalancerMetricName = "RejectedConnectionCount"
	LoadBalancerMetricNameRequestCount                   LoadBalancerMetricName = "RequestCount"
)

Enum values for LoadBalancerMetricName

func (LoadBalancerMetricName) MarshalValue added in v0.3.0

func (enum LoadBalancerMetricName) MarshalValue() (string, error)

func (LoadBalancerMetricName) MarshalValueBuf added in v0.3.0

func (enum LoadBalancerMetricName) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerProtocol added in v0.2.0

type LoadBalancerProtocol string
const (
	LoadBalancerProtocolHttpHttps LoadBalancerProtocol = "HTTP_HTTPS"
	LoadBalancerProtocolHttp      LoadBalancerProtocol = "HTTP"
)

Enum values for LoadBalancerProtocol

func (LoadBalancerProtocol) MarshalValue added in v0.3.0

func (enum LoadBalancerProtocol) MarshalValue() (string, error)

func (LoadBalancerProtocol) MarshalValueBuf added in v0.3.0

func (enum LoadBalancerProtocol) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerState added in v0.2.0

type LoadBalancerState string
const (
	LoadBalancerStateActive         LoadBalancerState = "active"
	LoadBalancerStateProvisioning   LoadBalancerState = "provisioning"
	LoadBalancerStateActiveImpaired LoadBalancerState = "active_impaired"
	LoadBalancerStateFailed         LoadBalancerState = "failed"
	LoadBalancerStateUnknown        LoadBalancerState = "unknown"
)

Enum values for LoadBalancerState

func (LoadBalancerState) MarshalValue added in v0.3.0

func (enum LoadBalancerState) MarshalValue() (string, error)

func (LoadBalancerState) MarshalValueBuf added in v0.3.0

func (enum LoadBalancerState) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerTlsCertificate added in v0.2.0

type LoadBalancerTlsCertificate struct {

	// The Amazon Resource Name (ARN) of the SSL/TLS certificate.
	Arn *string `locationName:"arn" type:"string"`

	// The time when you created your SSL/TLS certificate.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The domain name for your SSL/TLS certificate.
	DomainName *string `locationName:"domainName" type:"string"`

	// An array of LoadBalancerTlsCertificateDomainValidationRecord objects describing
	// the records.
	DomainValidationRecords []LoadBalancerTlsCertificateDomainValidationRecord `locationName:"domainValidationRecords" type:"list"`

	// The reason for the SSL/TLS certificate validation failure.
	FailureReason LoadBalancerTlsCertificateFailureReason `locationName:"failureReason" type:"string" enum:"true"`

	// When true, the SSL/TLS certificate is attached to the Lightsail load balancer.
	IsAttached *bool `locationName:"isAttached" type:"boolean"`

	// The time when the SSL/TLS certificate was issued.
	IssuedAt *time.Time `locationName:"issuedAt" type:"timestamp" timestampFormat:"unix"`

	// The issuer of the certificate.
	Issuer *string `locationName:"issuer" type:"string"`

	// The algorithm that was used to generate the key pair (the public and private
	// key).
	KeyAlgorithm *string `locationName:"keyAlgorithm" type:"string"`

	// The load balancer name where your SSL/TLS certificate is attached.
	LoadBalancerName *string `locationName:"loadBalancerName" type:"string"`

	// The AWS Region and Availability Zone where you created your certificate.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the SSL/TLS certificate (e.g., my-certificate).
	Name *string `locationName:"name" type:"string"`

	// The timestamp when the SSL/TLS certificate expires.
	NotAfter *time.Time `locationName:"notAfter" type:"timestamp" timestampFormat:"unix"`

	// The timestamp when the SSL/TLS certificate is first valid.
	NotBefore *time.Time `locationName:"notBefore" type:"timestamp" timestampFormat:"unix"`

	// An object containing information about the status of Lightsail's managed
	// renewal for the certificate.
	RenewalSummary *LoadBalancerTlsCertificateRenewalSummary `locationName:"renewalSummary" type:"structure"`

	// The resource type (e.g., LoadBalancerTlsCertificate).
	//
	//    * Instance - A Lightsail instance (a virtual private server)
	//
	//    * StaticIp - A static IP address
	//
	//    * KeyPair - The key pair used to connect to a Lightsail instance
	//
	//    * InstanceSnapshot - A Lightsail instance snapshot
	//
	//    * Domain - A DNS zone
	//
	//    * PeeredVpc - A peered VPC
	//
	//    * LoadBalancer - A Lightsail load balancer
	//
	//    * LoadBalancerTlsCertificate - An SSL/TLS certificate associated with
	//    a Lightsail load balancer
	//
	//    * Disk - A Lightsail block storage disk
	//
	//    * DiskSnapshot - A block storage disk snapshot
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The reason the certificate was revoked. Valid values are below.
	RevocationReason LoadBalancerTlsCertificateRevocationReason `locationName:"revocationReason" type:"string" enum:"true"`

	// The timestamp when the SSL/TLS certificate was revoked.
	RevokedAt *time.Time `locationName:"revokedAt" type:"timestamp" timestampFormat:"unix"`

	// The serial number of the certificate.
	Serial *string `locationName:"serial" type:"string"`

	// The algorithm that was used to sign the certificate.
	SignatureAlgorithm *string `locationName:"signatureAlgorithm" type:"string"`

	// The status of the SSL/TLS certificate. Valid values are below.
	Status LoadBalancerTlsCertificateStatus `locationName:"status" type:"string" enum:"true"`

	// The name of the entity that is associated with the public key contained in
	// the certificate.
	Subject *string `locationName:"subject" type:"string"`

	// One or more domains or subdomains included in the certificate. This list
	// contains the domain names that are bound to the public key that is contained
	// in the certificate. The subject alternative names include the canonical domain
	// name (CNAME) of the certificate and additional domain names that can be used
	// to connect to the website, such as example.com, www.example.com, or m.example.com.
	SubjectAlternativeNames []string `locationName:"subjectAlternativeNames" type:"list"`

	// The support code. Include this code in your email to support when you have
	// questions about your Lightsail load balancer or SSL/TLS certificate. This
	// code enables our support team to look up your Lightsail information more
	// easily.
	SupportCode *string `locationName:"supportCode" type:"string"`
	// contains filtered or unexported fields
}

Describes a load balancer SSL/TLS certificate.

TLS is just an updated, more secure version of Secure Socket Layer (SSL). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificate

func (LoadBalancerTlsCertificate) GoString added in v0.2.0

func (s LoadBalancerTlsCertificate) GoString() string

GoString returns the string representation

func (LoadBalancerTlsCertificate) String added in v0.2.0

String returns the string representation

type LoadBalancerTlsCertificateDomainStatus added in v0.2.0

type LoadBalancerTlsCertificateDomainStatus string
const (
	LoadBalancerTlsCertificateDomainStatusPendingValidation LoadBalancerTlsCertificateDomainStatus = "PENDING_VALIDATION"
	LoadBalancerTlsCertificateDomainStatusFailed            LoadBalancerTlsCertificateDomainStatus = "FAILED"
	LoadBalancerTlsCertificateDomainStatusSuccess           LoadBalancerTlsCertificateDomainStatus = "SUCCESS"
)

Enum values for LoadBalancerTlsCertificateDomainStatus

func (LoadBalancerTlsCertificateDomainStatus) MarshalValue added in v0.3.0

func (enum LoadBalancerTlsCertificateDomainStatus) MarshalValue() (string, error)

func (LoadBalancerTlsCertificateDomainStatus) MarshalValueBuf added in v0.3.0

func (enum LoadBalancerTlsCertificateDomainStatus) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerTlsCertificateDomainValidationOption added in v0.2.0

type LoadBalancerTlsCertificateDomainValidationOption struct {

	// The fully qualified domain name in the certificate request.
	DomainName *string `locationName:"domainName" type:"string"`

	// The status of the domain validation. Valid values are listed below.
	ValidationStatus LoadBalancerTlsCertificateDomainStatus `locationName:"validationStatus" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Contains information about the domain names on an SSL/TLS certificate that you will use to validate domain ownership. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateDomainValidationOption

func (LoadBalancerTlsCertificateDomainValidationOption) GoString added in v0.2.0

GoString returns the string representation

func (LoadBalancerTlsCertificateDomainValidationOption) String added in v0.2.0

String returns the string representation

type LoadBalancerTlsCertificateDomainValidationRecord added in v0.2.0

type LoadBalancerTlsCertificateDomainValidationRecord struct {

	// The domain name against which your SSL/TLS certificate was validated.
	DomainName *string `locationName:"domainName" type:"string"`

	// A fully qualified domain name in the certificate. For example, example.com.
	Name *string `locationName:"name" type:"string"`

	// The type of validation record. For example, CNAME for domain validation.
	Type *string `locationName:"type" type:"string"`

	// The validation status. Valid values are listed below.
	ValidationStatus LoadBalancerTlsCertificateDomainStatus `locationName:"validationStatus" type:"string" enum:"true"`

	// The value for that type.
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

Describes the validation record of each domain name in the SSL/TLS certificate. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateDomainValidationRecord

func (LoadBalancerTlsCertificateDomainValidationRecord) GoString added in v0.2.0

GoString returns the string representation

func (LoadBalancerTlsCertificateDomainValidationRecord) String added in v0.2.0

String returns the string representation

type LoadBalancerTlsCertificateFailureReason added in v0.2.0

type LoadBalancerTlsCertificateFailureReason string
const (
	LoadBalancerTlsCertificateFailureReasonNoAvailableContacts            LoadBalancerTlsCertificateFailureReason = "NO_AVAILABLE_CONTACTS"
	LoadBalancerTlsCertificateFailureReasonAdditionalVerificationRequired LoadBalancerTlsCertificateFailureReason = "ADDITIONAL_VERIFICATION_REQUIRED"
	LoadBalancerTlsCertificateFailureReasonDomainNotAllowed               LoadBalancerTlsCertificateFailureReason = "DOMAIN_NOT_ALLOWED"
	LoadBalancerTlsCertificateFailureReasonInvalidPublicDomain            LoadBalancerTlsCertificateFailureReason = "INVALID_PUBLIC_DOMAIN"
	LoadBalancerTlsCertificateFailureReasonOther                          LoadBalancerTlsCertificateFailureReason = "OTHER"
)

Enum values for LoadBalancerTlsCertificateFailureReason

func (LoadBalancerTlsCertificateFailureReason) MarshalValue added in v0.3.0

func (enum LoadBalancerTlsCertificateFailureReason) MarshalValue() (string, error)

func (LoadBalancerTlsCertificateFailureReason) MarshalValueBuf added in v0.3.0

func (enum LoadBalancerTlsCertificateFailureReason) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerTlsCertificateRenewalStatus added in v0.2.0

type LoadBalancerTlsCertificateRenewalStatus string
const (
	LoadBalancerTlsCertificateRenewalStatusPendingAutoRenewal LoadBalancerTlsCertificateRenewalStatus = "PENDING_AUTO_RENEWAL"
	LoadBalancerTlsCertificateRenewalStatusPendingValidation  LoadBalancerTlsCertificateRenewalStatus = "PENDING_VALIDATION"
	LoadBalancerTlsCertificateRenewalStatusSuccess            LoadBalancerTlsCertificateRenewalStatus = "SUCCESS"
	LoadBalancerTlsCertificateRenewalStatusFailed             LoadBalancerTlsCertificateRenewalStatus = "FAILED"
)

Enum values for LoadBalancerTlsCertificateRenewalStatus

func (LoadBalancerTlsCertificateRenewalStatus) MarshalValue added in v0.3.0

func (enum LoadBalancerTlsCertificateRenewalStatus) MarshalValue() (string, error)

func (LoadBalancerTlsCertificateRenewalStatus) MarshalValueBuf added in v0.3.0

func (enum LoadBalancerTlsCertificateRenewalStatus) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerTlsCertificateRenewalSummary added in v0.2.0

type LoadBalancerTlsCertificateRenewalSummary struct {

	// Contains information about the validation of each domain name in the certificate,
	// as it pertains to Lightsail's managed renewal. This is different from the
	// initial validation that occurs as a result of the RequestCertificate request.
	DomainValidationOptions []LoadBalancerTlsCertificateDomainValidationOption `locationName:"domainValidationOptions" type:"list"`

	// The status of Lightsail's managed renewal of the certificate. Valid values
	// are listed below.
	RenewalStatus LoadBalancerTlsCertificateRenewalStatus `locationName:"renewalStatus" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Contains information about the status of Lightsail's managed renewal for the certificate. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateRenewalSummary

func (LoadBalancerTlsCertificateRenewalSummary) GoString added in v0.2.0

GoString returns the string representation

func (LoadBalancerTlsCertificateRenewalSummary) String added in v0.2.0

String returns the string representation

type LoadBalancerTlsCertificateRevocationReason added in v0.2.0

type LoadBalancerTlsCertificateRevocationReason string
const (
	LoadBalancerTlsCertificateRevocationReasonUnspecified          LoadBalancerTlsCertificateRevocationReason = "UNSPECIFIED"
	LoadBalancerTlsCertificateRevocationReasonKeyCompromise        LoadBalancerTlsCertificateRevocationReason = "KEY_COMPROMISE"
	LoadBalancerTlsCertificateRevocationReasonCaCompromise         LoadBalancerTlsCertificateRevocationReason = "CA_COMPROMISE"
	LoadBalancerTlsCertificateRevocationReasonAffiliationChanged   LoadBalancerTlsCertificateRevocationReason = "AFFILIATION_CHANGED"
	LoadBalancerTlsCertificateRevocationReasonSuperceded           LoadBalancerTlsCertificateRevocationReason = "SUPERCEDED"
	LoadBalancerTlsCertificateRevocationReasonCessationOfOperation LoadBalancerTlsCertificateRevocationReason = "CESSATION_OF_OPERATION"
	LoadBalancerTlsCertificateRevocationReasonCertificateHold      LoadBalancerTlsCertificateRevocationReason = "CERTIFICATE_HOLD"
	LoadBalancerTlsCertificateRevocationReasonRemoveFromCrl        LoadBalancerTlsCertificateRevocationReason = "REMOVE_FROM_CRL"
	LoadBalancerTlsCertificateRevocationReasonPrivilegeWithdrawn   LoadBalancerTlsCertificateRevocationReason = "PRIVILEGE_WITHDRAWN"
	LoadBalancerTlsCertificateRevocationReasonAACompromise         LoadBalancerTlsCertificateRevocationReason = "A_A_COMPROMISE"
)

Enum values for LoadBalancerTlsCertificateRevocationReason

func (LoadBalancerTlsCertificateRevocationReason) MarshalValue added in v0.3.0

func (LoadBalancerTlsCertificateRevocationReason) MarshalValueBuf added in v0.3.0

func (enum LoadBalancerTlsCertificateRevocationReason) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerTlsCertificateStatus added in v0.2.0

type LoadBalancerTlsCertificateStatus string
const (
	LoadBalancerTlsCertificateStatusPendingValidation  LoadBalancerTlsCertificateStatus = "PENDING_VALIDATION"
	LoadBalancerTlsCertificateStatusIssued             LoadBalancerTlsCertificateStatus = "ISSUED"
	LoadBalancerTlsCertificateStatusInactive           LoadBalancerTlsCertificateStatus = "INACTIVE"
	LoadBalancerTlsCertificateStatusExpired            LoadBalancerTlsCertificateStatus = "EXPIRED"
	LoadBalancerTlsCertificateStatusValidationTimedOut LoadBalancerTlsCertificateStatus = "VALIDATION_TIMED_OUT"
	LoadBalancerTlsCertificateStatusRevoked            LoadBalancerTlsCertificateStatus = "REVOKED"
	LoadBalancerTlsCertificateStatusFailed             LoadBalancerTlsCertificateStatus = "FAILED"
	LoadBalancerTlsCertificateStatusUnknown            LoadBalancerTlsCertificateStatus = "UNKNOWN"
)

Enum values for LoadBalancerTlsCertificateStatus

func (LoadBalancerTlsCertificateStatus) MarshalValue added in v0.3.0

func (enum LoadBalancerTlsCertificateStatus) MarshalValue() (string, error)

func (LoadBalancerTlsCertificateStatus) MarshalValueBuf added in v0.3.0

func (enum LoadBalancerTlsCertificateStatus) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerTlsCertificateSummary added in v0.2.0

type LoadBalancerTlsCertificateSummary struct {

	// When true, the SSL/TLS certificate is attached to the Lightsail load balancer.
	IsAttached *bool `locationName:"isAttached" type:"boolean"`

	// The name of the SSL/TLS certificate.
	Name *string `locationName:"name" type:"string"`
	// contains filtered or unexported fields
}

Provides a summary of SSL/TLS certificate metadata. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsCertificateSummary

func (LoadBalancerTlsCertificateSummary) GoString added in v0.2.0

GoString returns the string representation

func (LoadBalancerTlsCertificateSummary) String added in v0.2.0

String returns the string representation

type MetricDatapoint

type MetricDatapoint struct {

	// The average.
	Average *float64 `locationName:"average" type:"double"`

	// The maximum.
	Maximum *float64 `locationName:"maximum" type:"double"`

	// The minimum.
	Minimum *float64 `locationName:"minimum" type:"double"`

	// The sample count.
	SampleCount *float64 `locationName:"sampleCount" type:"double"`

	// The sum.
	Sum *float64 `locationName:"sum" type:"double"`

	// The timestamp (e.g., 1479816991.349).
	Timestamp *time.Time `locationName:"timestamp" type:"timestamp" timestampFormat:"unix"`

	// The unit.
	Unit MetricUnit `locationName:"unit" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes the metric data point. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/MetricDatapoint

func (MetricDatapoint) GoString

func (s MetricDatapoint) GoString() string

GoString returns the string representation

func (MetricDatapoint) String

func (s MetricDatapoint) String() string

String returns the string representation

type MetricStatistic

type MetricStatistic string
const (
	MetricStatisticMinimum     MetricStatistic = "Minimum"
	MetricStatisticMaximum     MetricStatistic = "Maximum"
	MetricStatisticSum         MetricStatistic = "Sum"
	MetricStatisticAverage     MetricStatistic = "Average"
	MetricStatisticSampleCount MetricStatistic = "SampleCount"
)

Enum values for MetricStatistic

func (MetricStatistic) MarshalValue added in v0.3.0

func (enum MetricStatistic) MarshalValue() (string, error)

func (MetricStatistic) MarshalValueBuf added in v0.3.0

func (enum MetricStatistic) MarshalValueBuf(b []byte) ([]byte, error)

type MetricUnit

type MetricUnit string
const (
	MetricUnitSeconds         MetricUnit = "Seconds"
	MetricUnitMicroseconds    MetricUnit = "Microseconds"
	MetricUnitMilliseconds    MetricUnit = "Milliseconds"
	MetricUnitBytes           MetricUnit = "Bytes"
	MetricUnitKilobytes       MetricUnit = "Kilobytes"
	MetricUnitMegabytes       MetricUnit = "Megabytes"
	MetricUnitGigabytes       MetricUnit = "Gigabytes"
	MetricUnitTerabytes       MetricUnit = "Terabytes"
	MetricUnitBits            MetricUnit = "Bits"
	MetricUnitKilobits        MetricUnit = "Kilobits"
	MetricUnitMegabits        MetricUnit = "Megabits"
	MetricUnitGigabits        MetricUnit = "Gigabits"
	MetricUnitTerabits        MetricUnit = "Terabits"
	MetricUnitPercent         MetricUnit = "Percent"
	MetricUnitCount           MetricUnit = "Count"
	MetricUnitBytesSecond     MetricUnit = "Bytes/Second"
	MetricUnitKilobytesSecond MetricUnit = "Kilobytes/Second"
	MetricUnitMegabytesSecond MetricUnit = "Megabytes/Second"
	MetricUnitGigabytesSecond MetricUnit = "Gigabytes/Second"
	MetricUnitTerabytesSecond MetricUnit = "Terabytes/Second"
	MetricUnitBitsSecond      MetricUnit = "Bits/Second"
	MetricUnitKilobitsSecond  MetricUnit = "Kilobits/Second"
	MetricUnitMegabitsSecond  MetricUnit = "Megabits/Second"
	MetricUnitGigabitsSecond  MetricUnit = "Gigabits/Second"
	MetricUnitTerabitsSecond  MetricUnit = "Terabits/Second"
	MetricUnitCountSecond     MetricUnit = "Count/Second"
	MetricUnitNone            MetricUnit = "None"
)

Enum values for MetricUnit

func (MetricUnit) MarshalValue added in v0.3.0

func (enum MetricUnit) MarshalValue() (string, error)

func (MetricUnit) MarshalValueBuf added in v0.3.0

func (enum MetricUnit) MarshalValueBuf(b []byte) ([]byte, error)

type MonthlyTransfer

type MonthlyTransfer struct {

	// The amount allocated per month (in GB).
	GbPerMonthAllocated *int64 `locationName:"gbPerMonthAllocated" type:"integer"`
	// contains filtered or unexported fields
}

Describes the monthly data transfer in and out of your virtual private server (or instance). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/MonthlyTransfer

func (MonthlyTransfer) GoString

func (s MonthlyTransfer) GoString() string

GoString returns the string representation

func (MonthlyTransfer) String

func (s MonthlyTransfer) String() string

String returns the string representation

type NetworkProtocol

type NetworkProtocol string
const (
	NetworkProtocolTcp NetworkProtocol = "tcp"
	NetworkProtocolAll NetworkProtocol = "all"
	NetworkProtocolUdp NetworkProtocol = "udp"
)

Enum values for NetworkProtocol

func (NetworkProtocol) MarshalValue added in v0.3.0

func (enum NetworkProtocol) MarshalValue() (string, error)

func (NetworkProtocol) MarshalValueBuf added in v0.3.0

func (enum NetworkProtocol) MarshalValueBuf(b []byte) ([]byte, error)

type OpenInstancePublicPortsInput

type OpenInstancePublicPortsInput struct {

	// The name of the instance for which you want to open the public ports.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`

	// An array of key-value pairs containing information about the port mappings.
	//
	// PortInfo is a required field
	PortInfo *PortInfo `locationName:"portInfo" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPortsRequest

func (OpenInstancePublicPortsInput) GoString

func (s OpenInstancePublicPortsInput) GoString() string

GoString returns the string representation

func (OpenInstancePublicPortsInput) String

String returns the string representation

func (*OpenInstancePublicPortsInput) Validate

func (s *OpenInstancePublicPortsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type OpenInstancePublicPortsOutput

type OpenInstancePublicPortsOutput struct {

	// An array of key-value pairs containing information about the request operation.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPortsResult

func (OpenInstancePublicPortsOutput) GoString

GoString returns the string representation

func (OpenInstancePublicPortsOutput) SDKResponseMetadata

func (s OpenInstancePublicPortsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (OpenInstancePublicPortsOutput) String

String returns the string representation

type OpenInstancePublicPortsRequest

type OpenInstancePublicPortsRequest struct {
	*aws.Request
	Input *OpenInstancePublicPortsInput
	Copy  func(*OpenInstancePublicPortsInput) OpenInstancePublicPortsRequest
}

OpenInstancePublicPortsRequest is a API request type for the OpenInstancePublicPorts API operation.

func (OpenInstancePublicPortsRequest) Send

Send marshals and sends the OpenInstancePublicPorts API request.

type Operation

type Operation struct {

	// The timestamp when the operation was initialized (e.g., 1479816991.349).
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The error code.
	ErrorCode *string `locationName:"errorCode" type:"string"`

	// The error details.
	ErrorDetails *string `locationName:"errorDetails" type:"string"`

	// The ID of the operation.
	Id *string `locationName:"id" type:"string"`

	// A Boolean value indicating whether the operation is terminal.
	IsTerminal *bool `locationName:"isTerminal" type:"boolean"`

	// The region and Availability Zone.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// Details about the operation (e.g., Debian-1GB-Ohio-1).
	OperationDetails *string `locationName:"operationDetails" type:"string"`

	// The type of operation.
	OperationType OperationType `locationName:"operationType" type:"string" enum:"true"`

	// The resource name.
	ResourceName *string `locationName:"resourceName" type:"string"`

	// The resource type.
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The status of the operation.
	Status OperationStatus `locationName:"status" type:"string" enum:"true"`

	// The timestamp when the status was changed (e.g., 1479816991.349).
	StatusChangedAt *time.Time `locationName:"statusChangedAt" type:"timestamp" timestampFormat:"unix"`
	// contains filtered or unexported fields
}

Describes the API operation. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Operation

func (Operation) GoString

func (s Operation) GoString() string

GoString returns the string representation

func (Operation) String

func (s Operation) String() string

String returns the string representation

type OperationStatus

type OperationStatus string
const (
	OperationStatusNotStarted OperationStatus = "NotStarted"
	OperationStatusStarted    OperationStatus = "Started"
	OperationStatusFailed     OperationStatus = "Failed"
	OperationStatusCompleted  OperationStatus = "Completed"
	OperationStatusSucceeded  OperationStatus = "Succeeded"
)

Enum values for OperationStatus

func (OperationStatus) MarshalValue added in v0.3.0

func (enum OperationStatus) MarshalValue() (string, error)

func (OperationStatus) MarshalValueBuf added in v0.3.0

func (enum OperationStatus) MarshalValueBuf(b []byte) ([]byte, error)

type OperationType

type OperationType string
const (
	OperationTypeDeleteInstance                   OperationType = "DeleteInstance"
	OperationTypeCreateInstance                   OperationType = "CreateInstance"
	OperationTypeStopInstance                     OperationType = "StopInstance"
	OperationTypeStartInstance                    OperationType = "StartInstance"
	OperationTypeRebootInstance                   OperationType = "RebootInstance"
	OperationTypeOpenInstancePublicPorts          OperationType = "OpenInstancePublicPorts"
	OperationTypePutInstancePublicPorts           OperationType = "PutInstancePublicPorts"
	OperationTypeCloseInstancePublicPorts         OperationType = "CloseInstancePublicPorts"
	OperationTypeAllocateStaticIp                 OperationType = "AllocateStaticIp"
	OperationTypeReleaseStaticIp                  OperationType = "ReleaseStaticIp"
	OperationTypeAttachStaticIp                   OperationType = "AttachStaticIp"
	OperationTypeDetachStaticIp                   OperationType = "DetachStaticIp"
	OperationTypeUpdateDomainEntry                OperationType = "UpdateDomainEntry"
	OperationTypeDeleteDomainEntry                OperationType = "DeleteDomainEntry"
	OperationTypeCreateDomain                     OperationType = "CreateDomain"
	OperationTypeDeleteDomain                     OperationType = "DeleteDomain"
	OperationTypeCreateInstanceSnapshot           OperationType = "CreateInstanceSnapshot"
	OperationTypeDeleteInstanceSnapshot           OperationType = "DeleteInstanceSnapshot"
	OperationTypeCreateInstancesFromSnapshot      OperationType = "CreateInstancesFromSnapshot"
	OperationTypeCreateLoadBalancer               OperationType = "CreateLoadBalancer"
	OperationTypeDeleteLoadBalancer               OperationType = "DeleteLoadBalancer"
	OperationTypeAttachInstancesToLoadBalancer    OperationType = "AttachInstancesToLoadBalancer"
	OperationTypeDetachInstancesFromLoadBalancer  OperationType = "DetachInstancesFromLoadBalancer"
	OperationTypeUpdateLoadBalancerAttribute      OperationType = "UpdateLoadBalancerAttribute"
	OperationTypeCreateLoadBalancerTlsCertificate OperationType = "CreateLoadBalancerTlsCertificate"
	OperationTypeDeleteLoadBalancerTlsCertificate OperationType = "DeleteLoadBalancerTlsCertificate"
	OperationTypeAttachLoadBalancerTlsCertificate OperationType = "AttachLoadBalancerTlsCertificate"
	OperationTypeCreateDisk                       OperationType = "CreateDisk"
	OperationTypeDeleteDisk                       OperationType = "DeleteDisk"
	OperationTypeAttachDisk                       OperationType = "AttachDisk"
	OperationTypeDetachDisk                       OperationType = "DetachDisk"
	OperationTypeCreateDiskSnapshot               OperationType = "CreateDiskSnapshot"
	OperationTypeDeleteDiskSnapshot               OperationType = "DeleteDiskSnapshot"
	OperationTypeCreateDiskFromSnapshot           OperationType = "CreateDiskFromSnapshot"
)

Enum values for OperationType

func (OperationType) MarshalValue added in v0.3.0

func (enum OperationType) MarshalValue() (string, error)

func (OperationType) MarshalValueBuf added in v0.3.0

func (enum OperationType) MarshalValueBuf(b []byte) ([]byte, error)

type PasswordData added in v0.2.0

type PasswordData struct {

	// The encrypted password. Ciphertext will be an empty string if access to your
	// new instance is not ready yet. When you create an instance, it can take up
	// to 15 minutes for the instance to be ready.
	//
	// If you use the default key pair (LightsailDefaultKeyPair), the decrypted
	// password will be available in the password field.
	//
	// If you are using a custom key pair, you need to use your own means of decryption.
	//
	// If you change the Administrator password on the instance, Lightsail will
	// continue to return the original ciphertext value. When accessing the instance
	// using RDP, you need to manually enter the Administrator password after changing
	// it from the default.
	Ciphertext *string `locationName:"ciphertext" type:"string"`

	// The name of the key pair that you used when creating your instance. If no
	// key pair name was specified when creating the instance, Lightsail uses the
	// default key pair (LightsailDefaultKeyPair).
	//
	// If you are using a custom key pair, you need to use your own means of decrypting
	// your password using the ciphertext. Lightsail creates the ciphertext by encrypting
	// your password with the public key part of this key pair.
	KeyPairName *string `locationName:"keyPairName" type:"string"`
	// contains filtered or unexported fields
}

The password data for the Windows Server-based instance, including the ciphertext and the key pair name. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PasswordData

func (PasswordData) GoString added in v0.2.0

func (s PasswordData) GoString() string

GoString returns the string representation

func (PasswordData) String added in v0.2.0

func (s PasswordData) String() string

String returns the string representation

type PeerVpcInput

type PeerVpcInput struct {
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpcRequest

func (PeerVpcInput) GoString

func (s PeerVpcInput) GoString() string

GoString returns the string representation

func (PeerVpcInput) String

func (s PeerVpcInput) String() string

String returns the string representation

type PeerVpcOutput

type PeerVpcOutput struct {

	// An array of key-value pairs containing information about the request operation.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PeerVpcResult

func (PeerVpcOutput) GoString

func (s PeerVpcOutput) GoString() string

GoString returns the string representation

func (PeerVpcOutput) SDKResponseMetadata

func (s PeerVpcOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PeerVpcOutput) String

func (s PeerVpcOutput) String() string

String returns the string representation

type PeerVpcRequest

type PeerVpcRequest struct {
	*aws.Request
	Input *PeerVpcInput
	Copy  func(*PeerVpcInput) PeerVpcRequest
}

PeerVpcRequest is a API request type for the PeerVpc API operation.

func (PeerVpcRequest) Send

func (r PeerVpcRequest) Send() (*PeerVpcOutput, error)

Send marshals and sends the PeerVpc API request.

type PortAccessType

type PortAccessType string
const (
	PortAccessTypePublic  PortAccessType = "Public"
	PortAccessTypePrivate PortAccessType = "Private"
)

Enum values for PortAccessType

func (PortAccessType) MarshalValue added in v0.3.0

func (enum PortAccessType) MarshalValue() (string, error)

func (PortAccessType) MarshalValueBuf added in v0.3.0

func (enum PortAccessType) MarshalValueBuf(b []byte) ([]byte, error)

type PortInfo

type PortInfo struct {

	// The first port in the range.
	FromPort *int64 `locationName:"fromPort" type:"integer"`

	// The protocol.
	Protocol NetworkProtocol `locationName:"protocol" type:"string" enum:"true"`

	// The last port in the range.
	ToPort *int64 `locationName:"toPort" type:"integer"`
	// contains filtered or unexported fields
}

Describes information about the ports on your virtual private server (or instance). Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PortInfo

func (PortInfo) GoString

func (s PortInfo) GoString() string

GoString returns the string representation

func (PortInfo) String

func (s PortInfo) String() string

String returns the string representation

type PortState

type PortState string
const (
	PortStateOpen   PortState = "open"
	PortStateClosed PortState = "closed"
)

Enum values for PortState

func (PortState) MarshalValue added in v0.3.0

func (enum PortState) MarshalValue() (string, error)

func (PortState) MarshalValueBuf added in v0.3.0

func (enum PortState) MarshalValueBuf(b []byte) ([]byte, error)

type PutInstancePublicPortsInput

type PutInstancePublicPortsInput struct {

	// The Lightsail instance name of the public port(s) you are setting.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`

	// Specifies information about the public port(s).
	//
	// PortInfos is a required field
	PortInfos []PortInfo `locationName:"portInfos" type:"list" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsRequest

func (PutInstancePublicPortsInput) GoString

func (s PutInstancePublicPortsInput) GoString() string

GoString returns the string representation

func (PutInstancePublicPortsInput) String

String returns the string representation

func (*PutInstancePublicPortsInput) Validate

func (s *PutInstancePublicPortsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutInstancePublicPortsOutput

type PutInstancePublicPortsOutput struct {

	// Describes metadata about the operation you just executed.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsResult

func (PutInstancePublicPortsOutput) GoString

func (s PutInstancePublicPortsOutput) GoString() string

GoString returns the string representation

func (PutInstancePublicPortsOutput) SDKResponseMetadata

func (s PutInstancePublicPortsOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (PutInstancePublicPortsOutput) String

String returns the string representation

type PutInstancePublicPortsRequest

type PutInstancePublicPortsRequest struct {
	*aws.Request
	Input *PutInstancePublicPortsInput
	Copy  func(*PutInstancePublicPortsInput) PutInstancePublicPortsRequest
}

PutInstancePublicPortsRequest is a API request type for the PutInstancePublicPorts API operation.

func (PutInstancePublicPortsRequest) Send

Send marshals and sends the PutInstancePublicPorts API request.

type RebootInstanceInput

type RebootInstanceInput struct {

	// The name of the instance to reboot.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstanceRequest

func (RebootInstanceInput) GoString

func (s RebootInstanceInput) GoString() string

GoString returns the string representation

func (RebootInstanceInput) String

func (s RebootInstanceInput) String() string

String returns the string representation

func (*RebootInstanceInput) Validate

func (s *RebootInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RebootInstanceOutput

type RebootInstanceOutput struct {

	// An array of key-value pairs containing information about the request operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootInstanceResult

func (RebootInstanceOutput) GoString

func (s RebootInstanceOutput) GoString() string

GoString returns the string representation

func (RebootInstanceOutput) SDKResponseMetadata

func (s RebootInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (RebootInstanceOutput) String

func (s RebootInstanceOutput) String() string

String returns the string representation

type RebootInstanceRequest

type RebootInstanceRequest struct {
	*aws.Request
	Input *RebootInstanceInput
	Copy  func(*RebootInstanceInput) RebootInstanceRequest
}

RebootInstanceRequest is a API request type for the RebootInstance API operation.

func (RebootInstanceRequest) Send

Send marshals and sends the RebootInstance API request.

type 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"`
	// contains filtered or unexported fields
}

Describes the AWS Region. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Region

func (Region) GoString

func (s Region) GoString() string

GoString returns the string representation

func (Region) String

func (s Region) String() string

String returns the string representation

type RegionName

type RegionName string
const (
	RegionNameUsEast1      RegionName = "us-east-1"
	RegionNameUsEast2      RegionName = "us-east-2"
	RegionNameUsWest1      RegionName = "us-west-1"
	RegionNameUsWest2      RegionName = "us-west-2"
	RegionNameEuCentral1   RegionName = "eu-central-1"
	RegionNameEuWest1      RegionName = "eu-west-1"
	RegionNameEuWest2      RegionName = "eu-west-2"
	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 ReleaseStaticIpInput

type ReleaseStaticIpInput struct {

	// The name of the static IP to delete.
	//
	// StaticIpName is a required field
	StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIpRequest

func (ReleaseStaticIpInput) GoString

func (s ReleaseStaticIpInput) GoString() string

GoString returns the string representation

func (ReleaseStaticIpInput) String

func (s ReleaseStaticIpInput) String() string

String returns the string representation

func (*ReleaseStaticIpInput) Validate

func (s *ReleaseStaticIpInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ReleaseStaticIpOutput

type ReleaseStaticIpOutput struct {

	// An array of key-value pairs containing information about the request operation.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ReleaseStaticIpResult

func (ReleaseStaticIpOutput) GoString

func (s ReleaseStaticIpOutput) GoString() string

GoString returns the string representation

func (ReleaseStaticIpOutput) SDKResponseMetadata

func (s ReleaseStaticIpOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (ReleaseStaticIpOutput) String

func (s ReleaseStaticIpOutput) String() string

String returns the string representation

type ReleaseStaticIpRequest

type ReleaseStaticIpRequest struct {
	*aws.Request
	Input *ReleaseStaticIpInput
	Copy  func(*ReleaseStaticIpInput) ReleaseStaticIpRequest
}

ReleaseStaticIpRequest is a API request type for the ReleaseStaticIp API operation.

func (ReleaseStaticIpRequest) Send

Send marshals and sends the ReleaseStaticIp API request.

type ResourceLocation

type ResourceLocation struct {

	// The Availability Zone. Follows the format us-east-2a (case-sensitive).
	AvailabilityZone *string `locationName:"availabilityZone" type:"string"`

	// The AWS Region name.
	RegionName RegionName `locationName:"regionName" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes the resource location. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ResourceLocation

func (ResourceLocation) GoString

func (s ResourceLocation) GoString() string

GoString returns the string representation

func (ResourceLocation) String

func (s ResourceLocation) String() string

String returns the string representation

type ResourceType

type ResourceType string
const (
	ResourceTypeInstance                   ResourceType = "Instance"
	ResourceTypeStaticIp                   ResourceType = "StaticIp"
	ResourceTypeKeyPair                    ResourceType = "KeyPair"
	ResourceTypeInstanceSnapshot           ResourceType = "InstanceSnapshot"
	ResourceTypeDomain                     ResourceType = "Domain"
	ResourceTypePeeredVpc                  ResourceType = "PeeredVpc"
	ResourceTypeLoadBalancer               ResourceType = "LoadBalancer"
	ResourceTypeLoadBalancerTlsCertificate ResourceType = "LoadBalancerTlsCertificate"
	ResourceTypeDisk                       ResourceType = "Disk"
	ResourceTypeDiskSnapshot               ResourceType = "DiskSnapshot"
)

Enum values for ResourceType

func (ResourceType) MarshalValue added in v0.3.0

func (enum ResourceType) MarshalValue() (string, error)

func (ResourceType) MarshalValueBuf added in v0.3.0

func (enum ResourceType) MarshalValueBuf(b []byte) ([]byte, error)

type StartInstanceInput

type StartInstanceInput struct {

	// The name of the instance (a virtual private server) to start.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstanceRequest

func (StartInstanceInput) GoString

func (s StartInstanceInput) GoString() string

GoString returns the string representation

func (StartInstanceInput) String

func (s StartInstanceInput) String() string

String returns the string representation

func (*StartInstanceInput) Validate

func (s *StartInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartInstanceOutput

type StartInstanceOutput struct {

	// An array of key-value pairs containing information about the request operation.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstanceResult

func (StartInstanceOutput) GoString

func (s StartInstanceOutput) GoString() string

GoString returns the string representation

func (StartInstanceOutput) SDKResponseMetadata

func (s StartInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (StartInstanceOutput) String

func (s StartInstanceOutput) String() string

String returns the string representation

type StartInstanceRequest

type StartInstanceRequest struct {
	*aws.Request
	Input *StartInstanceInput
	Copy  func(*StartInstanceInput) StartInstanceRequest
}

StartInstanceRequest is a API request type for the StartInstance API operation.

func (StartInstanceRequest) Send

Send marshals and sends the StartInstance API request.

type StaticIp

type StaticIp struct {

	// The Amazon Resource Name (ARN) of the static IP (e.g., arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE).
	Arn *string `locationName:"arn" type:"string"`

	// The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Ohio-1).
	AttachedTo *string `locationName:"attachedTo" type:"string"`

	// The timestamp when the static IP was created (e.g., 1479735304.222).
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"unix"`

	// The static IP address.
	IpAddress *string `locationName:"ipAddress" type:"string"`

	// A Boolean value indicating whether the static IP is attached.
	IsAttached *bool `locationName:"isAttached" type:"boolean"`

	// The region and Availability Zone where the static IP was created.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the static IP (e.g., StaticIP-Ohio-EXAMPLE).
	Name *string `locationName:"name" type:"string"`

	// The resource type (usually StaticIp).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The support code. Include this code in your email to support when you have
	// questions about an instance or another resource in Lightsail. This code enables
	// our support team to look up your Lightsail information more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`
	// contains filtered or unexported fields
}

Describes the static IP. Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StaticIp

func (StaticIp) GoString

func (s StaticIp) GoString() string

GoString returns the string representation

func (StaticIp) String

func (s StaticIp) String() string

String returns the string representation

type StopInstanceInput

type StopInstanceInput struct {

	// When set to True, forces a Lightsail instance that is stuck in a stopping
	// state to stop.
	//
	// Only use the force parameter if your instance is stuck in the stopping state.
	// In any other state, your instance should stop normally without adding this
	// parameter to your API request.
	Force *bool `locationName:"force" type:"boolean"`

	// The name of the instance (a virtual private server) to stop.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstanceRequest

func (StopInstanceInput) GoString

func (s StopInstanceInput) GoString() string

GoString returns the string representation

func (StopInstanceInput) String

func (s StopInstanceInput) String() string

String returns the string representation

func (*StopInstanceInput) Validate

func (s *StopInstanceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StopInstanceOutput

type StopInstanceOutput struct {

	// An array of key-value pairs containing information about the request operation.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopInstanceResult

func (StopInstanceOutput) GoString

func (s StopInstanceOutput) GoString() string

GoString returns the string representation

func (StopInstanceOutput) SDKResponseMetadata

func (s StopInstanceOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (StopInstanceOutput) String

func (s StopInstanceOutput) String() string

String returns the string representation

type StopInstanceRequest

type StopInstanceRequest struct {
	*aws.Request
	Input *StopInstanceInput
	Copy  func(*StopInstanceInput) StopInstanceRequest
}

StopInstanceRequest is a API request type for the StopInstance API operation.

func (StopInstanceRequest) Send

Send marshals and sends the StopInstance API request.

type UnpeerVpcInput

type UnpeerVpcInput struct {
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpcRequest

func (UnpeerVpcInput) GoString

func (s UnpeerVpcInput) GoString() string

GoString returns the string representation

func (UnpeerVpcInput) String

func (s UnpeerVpcInput) String() string

String returns the string representation

type UnpeerVpcOutput

type UnpeerVpcOutput struct {

	// An array of key-value pairs containing information about the request operation.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpcResult

func (UnpeerVpcOutput) GoString

func (s UnpeerVpcOutput) GoString() string

GoString returns the string representation

func (UnpeerVpcOutput) SDKResponseMetadata

func (s UnpeerVpcOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UnpeerVpcOutput) String

func (s UnpeerVpcOutput) String() string

String returns the string representation

type UnpeerVpcRequest

type UnpeerVpcRequest struct {
	*aws.Request
	Input *UnpeerVpcInput
	Copy  func(*UnpeerVpcInput) UnpeerVpcRequest
}

UnpeerVpcRequest is a API request type for the UnpeerVpc API operation.

func (UnpeerVpcRequest) Send

func (r UnpeerVpcRequest) Send() (*UnpeerVpcOutput, error)

Send marshals and sends the UnpeerVpc API request.

type UpdateDomainEntryInput

type UpdateDomainEntryInput struct {

	// An array of key-value pairs containing information about the domain entry.
	//
	// DomainEntry is a required field
	DomainEntry *DomainEntry `locationName:"domainEntry" type:"structure" required:"true"`

	// The name of the domain recordset to update.
	//
	// DomainName is a required field
	DomainName *string `locationName:"domainName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntryRequest

func (UpdateDomainEntryInput) GoString

func (s UpdateDomainEntryInput) GoString() string

GoString returns the string representation

func (UpdateDomainEntryInput) String

func (s UpdateDomainEntryInput) String() string

String returns the string representation

func (*UpdateDomainEntryInput) Validate

func (s *UpdateDomainEntryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateDomainEntryOutput

type UpdateDomainEntryOutput struct {

	// An array of key-value pairs containing information about the request operation.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDomainEntryResult

func (UpdateDomainEntryOutput) GoString

func (s UpdateDomainEntryOutput) GoString() string

GoString returns the string representation

func (UpdateDomainEntryOutput) SDKResponseMetadata

func (s UpdateDomainEntryOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateDomainEntryOutput) String

func (s UpdateDomainEntryOutput) String() string

String returns the string representation

type UpdateDomainEntryRequest

type UpdateDomainEntryRequest struct {
	*aws.Request
	Input *UpdateDomainEntryInput
	Copy  func(*UpdateDomainEntryInput) UpdateDomainEntryRequest
}

UpdateDomainEntryRequest is a API request type for the UpdateDomainEntry API operation.

func (UpdateDomainEntryRequest) Send

Send marshals and sends the UpdateDomainEntry API request.

type UpdateLoadBalancerAttributeInput added in v0.2.0

type UpdateLoadBalancerAttributeInput struct {

	// The name of the attribute you want to update. Valid values are below.
	//
	// AttributeName is a required field
	AttributeName LoadBalancerAttributeName `locationName:"attributeName" type:"string" required:"true" enum:"true"`

	// The value that you want to specify for the attribute name.
	//
	// AttributeValue is a required field
	AttributeValue *string `locationName:"attributeValue" min:"1" type:"string" required:"true"`

	// The name of the load balancer that you want to modify (e.g., my-load-balancer.
	//
	// LoadBalancerName is a required field
	LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttributeRequest

func (UpdateLoadBalancerAttributeInput) GoString added in v0.2.0

GoString returns the string representation

func (UpdateLoadBalancerAttributeInput) String added in v0.2.0

String returns the string representation

func (*UpdateLoadBalancerAttributeInput) Validate added in v0.2.0

Validate inspects the fields of the type to determine if they are valid.

type UpdateLoadBalancerAttributeOutput added in v0.2.0

type UpdateLoadBalancerAttributeOutput struct {

	// An object describing the API operations.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

Please also see https://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttributeResult

func (UpdateLoadBalancerAttributeOutput) GoString added in v0.2.0

GoString returns the string representation

func (UpdateLoadBalancerAttributeOutput) SDKResponseMetadata added in v0.2.0

func (s UpdateLoadBalancerAttributeOutput) SDKResponseMetadata() aws.Response

SDKResponseMetdata return sthe response metadata for the API.

func (UpdateLoadBalancerAttributeOutput) String added in v0.2.0

String returns the string representation

type UpdateLoadBalancerAttributeRequest added in v0.2.0

type UpdateLoadBalancerAttributeRequest struct {
	*aws.Request
	Input *UpdateLoadBalancerAttributeInput
	Copy  func(*UpdateLoadBalancerAttributeInput) UpdateLoadBalancerAttributeRequest
}

UpdateLoadBalancerAttributeRequest is a API request type for the UpdateLoadBalancerAttribute API operation.

func (UpdateLoadBalancerAttributeRequest) Send added in v0.2.0

Send marshals and sends the UpdateLoadBalancerAttribute API request.

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