package lightsail

import "github.com/aws/aws-sdk-go-v2/service/lightsail"

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

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

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

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

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

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

Using the Client

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

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

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

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

Index

Constants

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

Types

type AccessDirection

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

Enum values for AccessDirection

func (AccessDirection) MarshalValue

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

func (AccessDirection) MarshalValueBuf

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

type AddOn

type AddOn struct {

	// The name of the add-on.
	Name *string `locationName:"name" type:"string"`

	// The next daily time an automatic snapshot will be created.
	//
	// The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).
	//
	// The snapshot is automatically created between the time shown and up to 45
	// minutes after.
	NextSnapshotTimeOfDay *string `locationName:"nextSnapshotTimeOfDay" type:"string"`

	// The daily time when an automatic snapshot is created.
	//
	// The time shown is in HH:00 format, and in Coordinated Universal Time (UTC).
	//
	// The snapshot is automatically created between the time shown and up to 45
	// minutes after.
	SnapshotTimeOfDay *string `locationName:"snapshotTimeOfDay" type:"string"`

	// The status of the add-on.
	Status *string `locationName:"status" type:"string"`
	// contains filtered or unexported fields
}

Describes an add-on that is enabled for an Amazon Lightsail resource.

func (AddOn) String

func (s AddOn) String() string

String returns the string representation

type AddOnRequest

type AddOnRequest struct {

	// The add-on type.
	//
	// AddOnType is a required field
	AddOnType AddOnType `locationName:"addOnType" type:"string" required:"true" enum:"true"`

	// An object that represents additional parameters when enabling or modifying
	// the automatic snapshot add-on.
	AutoSnapshotAddOnRequest *AutoSnapshotAddOnRequest `locationName:"autoSnapshotAddOnRequest" type:"structure"`
	// contains filtered or unexported fields
}

Describes a request to enable, modify, or disable an add-on for an Amazon Lightsail resource.

An additional cost may be associated with enabling add-ons. For more information, see the Lightsail pricing page (https://aws.amazon.com/lightsail/pricing/).

func (AddOnRequest) String

func (s AddOnRequest) String() string

String returns the string representation

func (*AddOnRequest) Validate

func (s *AddOnRequest) Validate() error

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

type AddOnType

type AddOnType string
const (
	AddOnTypeAutoSnapshot AddOnType = "AutoSnapshot"
)

Enum values for AddOnType

func (AddOnType) MarshalValue

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

func (AddOnType) MarshalValueBuf

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

type Alarm

type Alarm struct {

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

	// The arithmetic operation used when comparing the specified statistic and
	// threshold.
	ComparisonOperator ComparisonOperator `locationName:"comparisonOperator" type:"string" enum:"true"`

	// The contact protocols for the alarm, such as Email, SMS (text messaging),
	// or both.
	ContactProtocols []ContactProtocol `locationName:"contactProtocols" type:"list"`

	// The timestamp when the alarm was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The number of data points that must not within the specified threshold to
	// trigger the alarm.
	DatapointsToAlarm *int64 `locationName:"datapointsToAlarm" type:"integer"`

	// The number of periods over which data is compared to the specified threshold.
	EvaluationPeriods *int64 `locationName:"evaluationPeriods" type:"integer"`

	// An object that lists information about the location of the alarm.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the metric associated with the alarm.
	MetricName MetricName `locationName:"metricName" type:"string" enum:"true"`

	// An object that lists information about the resource monitored by the alarm.
	MonitoredResourceInfo *MonitoredResourceInfo `locationName:"monitoredResourceInfo" type:"structure"`

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

	// Indicates whether the alarm is enabled.
	NotificationEnabled *bool `locationName:"notificationEnabled" type:"boolean"`

	// The alarm states that trigger a notification.
	NotificationTriggers []AlarmState `locationName:"notificationTriggers" type:"list"`

	// The period, in seconds, over which the statistic is applied.
	Period *int64 `locationName:"period" min:"60" type:"integer"`

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

	// The current state of the alarm.
	//
	// An alarm has the following possible states:
	//
	//    * ALARM - The metric is outside of the defined threshold.
	//
	//    * INSUFFICIENT_DATA - The alarm has just started, the metric is not available,
	//    or not enough data is available for the metric to determine the alarm
	//    state.
	//
	//    * OK - The metric is within the defined threshold.
	State AlarmState `locationName:"state" type:"string" enum:"true"`

	// The statistic for the metric associated with the alarm.
	//
	// The following statistics are available:
	//
	//    * Minimum - The lowest value observed during the specified period. Use
	//    this value to determine low volumes of activity for your application.
	//
	//    * Maximum - The highest value observed during the specified period. Use
	//    this value to determine high volumes of activity for your application.
	//
	//    * Sum - All values submitted for the matching metric added together. You
	//    can use this statistic to determine the total volume of a metric.
	//
	//    * Average - The value of Sum / SampleCount during the specified period.
	//    By comparing this statistic with the Minimum and Maximum values, you can
	//    determine the full scope of a metric and how close the average use is
	//    to the Minimum and Maximum values. This comparison helps you to know when
	//    to increase or decrease your resources.
	//
	//    * SampleCount - The count, or number, of data points used for the statistical
	//    calculation.
	Statistic MetricStatistic `locationName:"statistic" type:"string" enum:"true"`

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

	// The value against which the specified statistic is compared.
	Threshold *float64 `locationName:"threshold" type:"double"`

	// Specifies how the alarm handles missing data points.
	//
	// An alarm can treat missing data in the following ways:
	//
	//    * breaching - Assume the missing data is not within the threshold. Missing
	//    data counts towards the number of times the metric is not within the threshold.
	//
	//    * notBreaching - Assume the missing data is within the threshold. Missing
	//    data does not count towards the number of times the metric is not within
	//    the threshold.
	//
	//    * ignore - Ignore the missing data. Maintains the current alarm state.
	//
	//    * missing - Missing data is treated as missing.
	TreatMissingData TreatMissingData `locationName:"treatMissingData" type:"string" enum:"true"`

	// The unit of the metric associated with the alarm.
	Unit MetricUnit `locationName:"unit" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes an alarm.

An alarm is a way to monitor your Amazon Lightsail resource metrics. For more information, see Alarms in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms).

func (Alarm) String

func (s Alarm) String() string

String returns the string representation

type AlarmState

type AlarmState string
const (
	AlarmStateOk               AlarmState = "OK"
	AlarmStateAlarm            AlarmState = "ALARM"
	AlarmStateInsufficientData AlarmState = "INSUFFICIENT_DATA"
)

Enum values for AlarmState

func (AlarmState) MarshalValue

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

func (AlarmState) MarshalValueBuf

func (enum AlarmState) 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
}

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (AllocateStaticIpOutput) String

func (s AllocateStaticIpOutput) String() string

String returns the string representation

type AllocateStaticIpRequest

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

AllocateStaticIpRequest is the request type for the AllocateStaticIp API operation.

func (AllocateStaticIpRequest) Send

Send marshals and sends the AllocateStaticIp API request.

type AllocateStaticIpResponse

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

AllocateStaticIpResponse is the response type for the AllocateStaticIp API operation.

func (*AllocateStaticIpResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the AllocateStaticIp request.

type AttachDiskInput

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
}

func (AttachDiskInput) String

func (s AttachDiskInput) String() string

String returns the string representation

func (*AttachDiskInput) Validate

func (s *AttachDiskInput) Validate() error

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

type AttachDiskOutput

type AttachDiskOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (AttachDiskOutput) String

func (s AttachDiskOutput) String() string

String returns the string representation

type AttachDiskRequest

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

AttachDiskRequest is the request type for the AttachDisk API operation.

func (AttachDiskRequest) Send

Send marshals and sends the AttachDisk API request.

type AttachDiskResponse

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

AttachDiskResponse is the response type for the AttachDisk API operation.

func (*AttachDiskResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the AttachDisk request.

type AttachInstancesToLoadBalancerInput

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
}

func (AttachInstancesToLoadBalancerInput) String

String returns the string representation

func (*AttachInstancesToLoadBalancerInput) Validate

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

type AttachInstancesToLoadBalancerOutput

type AttachInstancesToLoadBalancerOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (AttachInstancesToLoadBalancerOutput) String

String returns the string representation

type AttachInstancesToLoadBalancerRequest

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

AttachInstancesToLoadBalancerRequest is the request type for the AttachInstancesToLoadBalancer API operation.

func (AttachInstancesToLoadBalancerRequest) Send

Send marshals and sends the AttachInstancesToLoadBalancer API request.

type AttachInstancesToLoadBalancerResponse

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

AttachInstancesToLoadBalancerResponse is the response type for the AttachInstancesToLoadBalancer API operation.

func (*AttachInstancesToLoadBalancerResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the AttachInstancesToLoadBalancer request.

type AttachLoadBalancerTlsCertificateInput

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
}

func (AttachLoadBalancerTlsCertificateInput) String

String returns the string representation

func (*AttachLoadBalancerTlsCertificateInput) Validate

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

type AttachLoadBalancerTlsCertificateOutput

type AttachLoadBalancerTlsCertificateOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	//
	// 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
}

func (AttachLoadBalancerTlsCertificateOutput) String

String returns the string representation

type AttachLoadBalancerTlsCertificateRequest

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

AttachLoadBalancerTlsCertificateRequest is the request type for the AttachLoadBalancerTlsCertificate API operation.

func (AttachLoadBalancerTlsCertificateRequest) Send

Send marshals and sends the AttachLoadBalancerTlsCertificate API request.

type AttachLoadBalancerTlsCertificateResponse

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

AttachLoadBalancerTlsCertificateResponse is the response type for the AttachLoadBalancerTlsCertificate API operation.

func (*AttachLoadBalancerTlsCertificateResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the AttachLoadBalancerTlsCertificate request.

type AttachStaticIpInput

type AttachStaticIpInput struct {

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

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

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (AttachStaticIpOutput) String

func (s AttachStaticIpOutput) String() string

String returns the string representation

type AttachStaticIpRequest

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

AttachStaticIpRequest is the request type for the AttachStaticIp API operation.

func (AttachStaticIpRequest) Send

Send marshals and sends the AttachStaticIp API request.

type AttachStaticIpResponse

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

AttachStaticIpResponse is the response type for the AttachStaticIp API operation.

func (*AttachStaticIpResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the AttachStaticIp request.

type AttachedDisk

type AttachedDisk struct {

	// The path of the disk (e.g., /dev/xvdf).
	Path *string `locationName:"path" type:"string"`

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

Describes a block storage disk that is attached to an instance, and is included in an automatic snapshot.

func (AttachedDisk) String

func (s AttachedDisk) String() string

String returns the string representation

type AutoSnapshotAddOnRequest

type AutoSnapshotAddOnRequest struct {

	// The daily time when an automatic snapshot will be created.
	//
	// Constraints:
	//
	//    * Must be in HH:00 format, and in an hourly increment.
	//
	//    * Specified in Coordinated Universal Time (UTC).
	//
	//    * The snapshot will be automatically created between the time specified
	//    and up to 45 minutes after.
	SnapshotTimeOfDay *string `locationName:"snapshotTimeOfDay" type:"string"`
	// contains filtered or unexported fields
}

Describes a request to enable or modify the automatic snapshot add-on for an Amazon Lightsail instance or disk.

When you modify the automatic snapshot time for a resource, it is typically effective immediately except under the following conditions:

func (AutoSnapshotAddOnRequest) String

func (s AutoSnapshotAddOnRequest) String() string

String returns the string representation

type AutoSnapshotDetails

type AutoSnapshotDetails struct {

	// The timestamp when the automatic snapshot was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The date of the automatic snapshot in YYYY-MM-DD format.
	Date *string `locationName:"date" type:"string"`

	// An array of objects that describe the block storage disks attached to the
	// instance when the automatic snapshot was created.
	FromAttachedDisks []AttachedDisk `locationName:"fromAttachedDisks" type:"list"`

	// The status of the automatic snapshot.
	Status AutoSnapshotStatus `locationName:"status" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes an automatic snapshot.

func (AutoSnapshotDetails) String

func (s AutoSnapshotDetails) String() string

String returns the string representation

type AutoSnapshotStatus

type AutoSnapshotStatus string
const (
	AutoSnapshotStatusSuccess    AutoSnapshotStatus = "Success"
	AutoSnapshotStatusFailed     AutoSnapshotStatus = "Failed"
	AutoSnapshotStatusInProgress AutoSnapshotStatus = "InProgress"
	AutoSnapshotStatusNotFound   AutoSnapshotStatus = "NotFound"
)

Enum values for AutoSnapshotStatus

func (AutoSnapshotStatus) MarshalValue

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

func (AutoSnapshotStatus) MarshalValueBuf

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

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.

func (AvailabilityZone) String

func (s AvailabilityZone) String() string

String returns the string representation

type Blueprint

type Blueprint struct {

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

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

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

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

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

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

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

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

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

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

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

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

Describes a blueprint (a virtual private server image).

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

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

func (BlueprintType) MarshalValueBuf

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

func (Bundle) String

func (s Bundle) String() string

String returns the string representation

type Client

type Client struct {
	*aws.Client
}

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

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

func New

func New(config aws.Config) *Client

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

Example:

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

func (*Client) AllocateStaticIpRequest

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

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

Allocates a static IP address.

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

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

func (*Client) AttachDiskRequest

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

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

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

The attach disk operation supports tag-based access control via resource tags applied to the resource identified by disk name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) AttachInstancesToLoadBalancerRequest

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

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

Attaches one or more Lightsail instances to a load balancer.

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

The attach instances to load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) AttachLoadBalancerTlsCertificateRequest

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

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

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

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

The AttachLoadBalancerTlsCertificate operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) AttachStaticIpRequest

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

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

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

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

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

func (*Client) CloseInstancePublicPortsRequest

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

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

Closes ports for a specific Amazon Lightsail instance.

The CloseInstancePublicPorts action supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) CopySnapshotRequest

func (c *Client) CopySnapshotRequest(input *CopySnapshotInput) CopySnapshotRequest

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

Copies a manual snapshot of an instance or disk as another manual snapshot, or copies an automatic snapshot of an instance or disk as a manual snapshot. This operation can also be used to copy a manual or automatic snapshot of an instance or a disk from one AWS Region to another in Amazon Lightsail.

When copying a manual snapshot, be sure to define the source region, source snapshot name, and target snapshot name parameters.

When copying an automatic snapshot, be sure to define the source region, source resource name, target snapshot name, and either the restore date or the use latest restorable auto snapshot parameters.

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

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

func (*Client) CreateCloudFormationStackRequest

func (c *Client) CreateCloudFormationStackRequest(input *CreateCloudFormationStackInput) CreateCloudFormationStackRequest

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

Creates an AWS CloudFormation stack, which creates a new Amazon EC2 instance from an exported Amazon Lightsail snapshot. This operation results in a CloudFormation stack record that can be used to track the AWS CloudFormation stack created. Use the get cloud formation stack records operation to get a list of the CloudFormation stacks created.

Wait until after your new Amazon EC2 instance is created before running the create cloud formation stack operation again with the same export snapshot record.

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

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

func (*Client) CreateContactMethodRequest

func (c *Client) CreateContactMethodRequest(input *CreateContactMethodInput) CreateContactMethodRequest

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

Creates an email or SMS text message contact method.

A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications).

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

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

func (*Client) CreateDiskFromSnapshotRequest

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

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

Creates a block storage disk from a manual or automatic snapshot of a disk. The resulting disk can be attached to an Amazon Lightsail instance in the same Availability Zone (e.g., us-east-2a).

The create disk from snapshot operation supports tag-based access control via request tags and resource tags applied to the resource identified by disk snapshot name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) CreateDiskRequest

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

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

Creates a block storage disk that can be attached to an Amazon Lightsail instance in the same Availability Zone (e.g., us-east-2a).

The create disk operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) CreateDiskSnapshotRequest

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

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

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

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

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

The create disk snapshot operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) CreateDomainEntryRequest

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

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

Creates one of the following entry records associated with the domain: Address (A), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).

The create domain entry operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) CreateDomainRequest

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

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

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

The create domain operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) CreateInstanceSnapshotRequest

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

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

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

The create instance snapshot operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) CreateInstancesFromSnapshotRequest

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

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

Creates one or more new instances from a manual or automatic snapshot of an instance.

The create instances from snapshot operation supports tag-based access control via request tags and resource tags applied to the resource identified by instance snapshot name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) CreateInstancesRequest

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

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

Creates one or more Amazon Lightsail instances.

The create instances operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) CreateKeyPairRequest

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

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

Creates an SSH key pair.

The create key pair operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) CreateLoadBalancerRequest

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

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

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

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

The create load balancer operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) CreateLoadBalancerTlsCertificateRequest

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

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

Creates a Lightsail load balancer TLS certificate.

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

The CreateLoadBalancerTlsCertificate operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) CreateRelationalDatabaseFromSnapshotRequest

func (c *Client) CreateRelationalDatabaseFromSnapshotRequest(input *CreateRelationalDatabaseFromSnapshotInput) CreateRelationalDatabaseFromSnapshotRequest

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

Creates a new database from an existing database snapshot in Amazon Lightsail.

You can create a new database from a snapshot in if something goes wrong with your original database, or to change it to a different plan, such as a high availability or standard plan.

The create relational database from snapshot operation supports tag-based access control via request tags and resource tags applied to the resource identified by relationalDatabaseSnapshotName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) CreateRelationalDatabaseRequest

func (c *Client) CreateRelationalDatabaseRequest(input *CreateRelationalDatabaseInput) CreateRelationalDatabaseRequest

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

Creates a new database in Amazon Lightsail.

The create relational database operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) CreateRelationalDatabaseSnapshotRequest

func (c *Client) CreateRelationalDatabaseSnapshotRequest(input *CreateRelationalDatabaseSnapshotInput) CreateRelationalDatabaseSnapshotRequest

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

Creates a snapshot of your database in Amazon Lightsail. You can use snapshots for backups, to make copies of a database, and to save data before deleting a database.

The create relational database snapshot operation supports tag-based access control via request tags. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) DeleteAlarmRequest

func (c *Client) DeleteAlarmRequest(input *DeleteAlarmInput) DeleteAlarmRequest

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

Deletes an alarm.

An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms).

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

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

func (*Client) DeleteAutoSnapshotRequest

func (c *Client) DeleteAutoSnapshotRequest(input *DeleteAutoSnapshotInput) DeleteAutoSnapshotRequest

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

Deletes an automatic snapshot of an instance or disk. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots).

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

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

func (*Client) DeleteContactMethodRequest

func (c *Client) DeleteContactMethodRequest(input *DeleteContactMethodInput) DeleteContactMethodRequest

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

Deletes a contact method.

A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications).

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

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

func (*Client) DeleteDiskRequest

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

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

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

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

The delete disk operation supports tag-based access control via resource tags applied to the resource identified by disk name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) DeleteDiskSnapshotRequest

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

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

Deletes the specified disk snapshot.

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

The delete disk snapshot operation supports tag-based access control via resource tags applied to the resource identified by disk snapshot name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) DeleteDomainEntryRequest

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

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

Deletes a specific domain entry.

The delete domain entry operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) DeleteDomainRequest

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

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

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

The delete domain operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) DeleteInstanceRequest

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

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

Deletes an Amazon Lightsail instance.

The delete instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) DeleteInstanceSnapshotRequest

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

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

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

The delete instance snapshot operation supports tag-based access control via resource tags applied to the resource identified by instance snapshot name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) DeleteKeyPairRequest

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

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

Deletes a specific SSH key pair.

The delete key pair operation supports tag-based access control via resource tags applied to the resource identified by key pair name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) DeleteKnownHostKeysRequest

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

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

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

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

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

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

func (*Client) DeleteLoadBalancerRequest

func (c *Client) DeleteLoadBalancerRequest(input *DeleteLoadBalancerInput) DeleteLoadBalancerRequest

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

Deletes a Lightsail load balancer and all its associated SSL/TLS certificates. Once the load balancer is deleted, you will need to create a new load balancer, create a new certificate, and verify domain ownership again.

The delete load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) DeleteLoadBalancerTlsCertificateRequest

func (c *Client) DeleteLoadBalancerTlsCertificateRequest(input *DeleteLoadBalancerTlsCertificateInput) DeleteLoadBalancerTlsCertificateRequest

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

Deletes an SSL/TLS certificate associated with a Lightsail load balancer.

The DeleteLoadBalancerTlsCertificate operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) DeleteRelationalDatabaseRequest

func (c *Client) DeleteRelationalDatabaseRequest(input *DeleteRelationalDatabaseInput) DeleteRelationalDatabaseRequest

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

Deletes a database in Amazon Lightsail.

The delete relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) DeleteRelationalDatabaseSnapshotRequest

func (c *Client) DeleteRelationalDatabaseSnapshotRequest(input *DeleteRelationalDatabaseSnapshotInput) DeleteRelationalDatabaseSnapshotRequest

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

Deletes a database snapshot in Amazon Lightsail.

The delete relational database snapshot operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) DetachDiskRequest

func (c *Client) DetachDiskRequest(input *DetachDiskInput) DetachDiskRequest

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

Detaches a stopped block storage disk from a Lightsail instance. Make sure to unmount any file systems on the device within your operating system before stopping the instance and detaching the disk.

The detach disk operation supports tag-based access control via resource tags applied to the resource identified by disk name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) DetachInstancesFromLoadBalancerRequest

func (c *Client) DetachInstancesFromLoadBalancerRequest(input *DetachInstancesFromLoadBalancerInput) DetachInstancesFromLoadBalancerRequest

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

Detaches the specified instances from a Lightsail load balancer.

This operation waits until the instances are no longer needed before they are detached from the load balancer.

The detach instances from load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) DetachStaticIpRequest

func (c *Client) DetachStaticIpRequest(input *DetachStaticIpInput) DetachStaticIpRequest

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

Detaches a static IP from the Amazon Lightsail instance to which it is attached.

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

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

func (*Client) DisableAddOnRequest

func (c *Client) DisableAddOnRequest(input *DisableAddOnInput) DisableAddOnRequest

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

Disables an add-on for an Amazon Lightsail resource. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots).

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

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

func (*Client) DownloadDefaultKeyPairRequest

func (c *Client) DownloadDefaultKeyPairRequest(input *DownloadDefaultKeyPairInput) DownloadDefaultKeyPairRequest

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

Downloads the default SSH key pair from the user's account.

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

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

func (*Client) EnableAddOnRequest

func (c *Client) EnableAddOnRequest(input *EnableAddOnInput) EnableAddOnRequest

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

Enables or modifies an add-on for an Amazon Lightsail resource. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots).

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

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

func (*Client) ExportSnapshotRequest

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

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

Exports an Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic Compute Cloud (Amazon EC2). This operation results in an export snapshot record that can be used with the create cloud formation stack operation to create new Amazon EC2 instances.

Exported instance snapshots appear in Amazon EC2 as Amazon Machine Images (AMIs), and the instance system disk appears as an Amazon Elastic Block Store (Amazon EBS) volume. Exported disk snapshots appear in Amazon EC2 as Amazon EBS volumes. Snapshots are exported to the same Amazon Web Services Region in Amazon EC2 as the source Lightsail snapshot.

The export snapshot operation supports tag-based access control via resource tags applied to the resource identified by source snapshot name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

Use the get instance snapshots or get disk snapshots operations to get a list of snapshots that you can export to Amazon EC2.

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

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

func (*Client) GetActiveNamesRequest

func (c *Client) GetActiveNamesRequest(input *GetActiveNamesInput) GetActiveNamesRequest

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

Returns the names of all active (not deleted) resources.

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

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

func (*Client) GetAlarmsRequest

func (c *Client) GetAlarmsRequest(input *GetAlarmsInput) GetAlarmsRequest

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

Returns information about the configured alarms. Specify an alarm name in your request to return information about a specific alarm, or specify a monitored resource name to return information about all alarms for a specific resource.

An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms).

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

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

func (*Client) GetAutoSnapshotsRequest

func (c *Client) GetAutoSnapshotsRequest(input *GetAutoSnapshotsInput) GetAutoSnapshotsRequest

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

Returns the available automatic snapshots for an instance or disk. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots).

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

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

func (*Client) GetBlueprintsRequest

func (c *Client) GetBlueprintsRequest(input *GetBlueprintsInput) GetBlueprintsRequest

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

Returns the list of available instance images, or blueprints. You can use a blueprint to create a new instance 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.

Use active blueprints when creating new instances. Inactive blueprints are listed to support customers with existing instances and are not necessarily available to create new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.

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

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

func (*Client) GetBundlesRequest

func (c *Client) GetBundlesRequest(input *GetBundlesInput) GetBundlesRequest

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

Returns the list of bundles that are available for purchase. A bundle describes the specs for your virtual private server (or instance).

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

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

func (*Client) GetCloudFormationStackRecordsRequest

func (c *Client) GetCloudFormationStackRecordsRequest(input *GetCloudFormationStackRecordsInput) GetCloudFormationStackRecordsRequest

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

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

An AWS CloudFormation stack is used to create a new Amazon EC2 instance from an exported Lightsail snapshot.

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

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

func (*Client) GetContactMethodsRequest

func (c *Client) GetContactMethodsRequest(input *GetContactMethodsInput) GetContactMethodsRequest

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

Returns information about the configured contact methods. Specify a protocol in your request to return information about a specific contact method.

A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications).

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

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

func (*Client) GetDiskRequest

func (c *Client) GetDiskRequest(input *GetDiskInput) GetDiskRequest

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

Returns information about a specific block storage disk.

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

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

func (*Client) GetDiskSnapshotRequest

func (c *Client) GetDiskSnapshotRequest(input *GetDiskSnapshotInput) GetDiskSnapshotRequest

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

Returns information about a specific block storage disk snapshot.

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

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

func (*Client) GetDiskSnapshotsRequest

func (c *Client) GetDiskSnapshotsRequest(input *GetDiskSnapshotsInput) GetDiskSnapshotsRequest

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

Returns information about all block storage disk snapshots in your AWS account and region.

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

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

func (*Client) GetDisksRequest

func (c *Client) GetDisksRequest(input *GetDisksInput) GetDisksRequest

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

Returns information about all block storage disks in your AWS account and region.

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

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

func (*Client) GetDomainRequest

func (c *Client) GetDomainRequest(input *GetDomainInput) GetDomainRequest

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

Returns information about a specific domain recordset.

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

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

func (*Client) GetDomainsRequest

func (c *Client) GetDomainsRequest(input *GetDomainsInput) GetDomainsRequest

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

Returns a list of all domains in the user's account.

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

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

func (*Client) GetExportSnapshotRecordsRequest

func (c *Client) GetExportSnapshotRecordsRequest(input *GetExportSnapshotRecordsInput) GetExportSnapshotRecordsRequest

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

Returns the export snapshot record created as a result of the export snapshot operation.

An export snapshot record can be used to create a new Amazon EC2 instance and its related resources with the create cloud formation stack operation.

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

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

func (*Client) GetInstanceAccessDetailsRequest

func (c *Client) GetInstanceAccessDetailsRequest(input *GetInstanceAccessDetailsInput) GetInstanceAccessDetailsRequest

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

Returns temporary SSH keys you can use to connect to a specific virtual private server, or instance.

The get instance access details operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) GetInstanceMetricDataRequest

func (c *Client) GetInstanceMetricDataRequest(input *GetInstanceMetricDataInput) GetInstanceMetricDataRequest

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

Returns the data points for the specified Amazon Lightsail instance metric, given an instance name.

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

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

func (*Client) GetInstancePortStatesRequest

func (c *Client) GetInstancePortStatesRequest(input *GetInstancePortStatesInput) GetInstancePortStatesRequest

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

Returns the firewall port states for a specific Amazon Lightsail instance, the IP addresses allowed to connect to the instance through the ports, and the protocol.

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

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

func (*Client) GetInstanceRequest

func (c *Client) GetInstanceRequest(input *GetInstanceInput) GetInstanceRequest

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

Returns information about a specific Amazon Lightsail instance, which is a virtual private server.

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

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

func (*Client) GetInstanceSnapshotRequest

func (c *Client) GetInstanceSnapshotRequest(input *GetInstanceSnapshotInput) GetInstanceSnapshotRequest

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

Returns information about a specific instance snapshot.

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

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

func (*Client) GetInstanceSnapshotsRequest

func (c *Client) GetInstanceSnapshotsRequest(input *GetInstanceSnapshotsInput) GetInstanceSnapshotsRequest

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

Returns all instance snapshots for the user's account.

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

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

func (*Client) GetInstanceStateRequest

func (c *Client) GetInstanceStateRequest(input *GetInstanceStateInput) GetInstanceStateRequest

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

Returns the state of a specific instance. Works on one instance at a time.

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

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

func (*Client) GetInstancesRequest

func (c *Client) GetInstancesRequest(input *GetInstancesInput) GetInstancesRequest

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

Returns information about all Amazon Lightsail virtual private servers, or instances.

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

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

func (*Client) GetKeyPairRequest

func (c *Client) GetKeyPairRequest(input *GetKeyPairInput) GetKeyPairRequest

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

Returns information about a specific key pair.

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

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

func (*Client) GetKeyPairsRequest

func (c *Client) GetKeyPairsRequest(input *GetKeyPairsInput) GetKeyPairsRequest

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

Returns information about all key pairs in the user's account.

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

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

func (*Client) GetLoadBalancerMetricDataRequest

func (c *Client) GetLoadBalancerMetricDataRequest(input *GetLoadBalancerMetricDataInput) GetLoadBalancerMetricDataRequest

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

Returns information about health metrics for your Lightsail load balancer.

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

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

func (*Client) GetLoadBalancerRequest

func (c *Client) GetLoadBalancerRequest(input *GetLoadBalancerInput) GetLoadBalancerRequest

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

Returns information about the specified Lightsail load balancer.

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

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

func (*Client) GetLoadBalancerTlsCertificatesRequest

func (c *Client) GetLoadBalancerTlsCertificatesRequest(input *GetLoadBalancerTlsCertificatesInput) GetLoadBalancerTlsCertificatesRequest

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

Returns information about the TLS certificates that are associated with the specified Lightsail load balancer.

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

You can have a maximum of 2 certificates associated with a Lightsail load balancer. One is active and the other is inactive.

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

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

func (*Client) GetLoadBalancersRequest

func (c *Client) GetLoadBalancersRequest(input *GetLoadBalancersInput) GetLoadBalancersRequest

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

Returns information about all load balancers in an account.

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

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

func (*Client) GetOperationRequest

func (c *Client) GetOperationRequest(input *GetOperationInput) GetOperationRequest

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

Returns information about a specific operation. Operations include events such as when you create an instance, allocate a static IP, attach a static IP, and so on.

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

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

func (*Client) GetOperationsForResourceRequest

func (c *Client) GetOperationsForResourceRequest(input *GetOperationsForResourceInput) GetOperationsForResourceRequest

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

Gets operations for a specific resource (e.g., an instance or a static IP).

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

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

func (*Client) GetOperationsRequest

func (c *Client) GetOperationsRequest(input *GetOperationsInput) GetOperationsRequest

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

Returns information about all operations.

Results are returned from oldest to newest, up to a maximum of 200. Results can be paged by making each subsequent call to GetOperations use the maximum (last) statusChangedAt value from the previous request.

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

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

func (*Client) GetRegionsRequest

func (c *Client) GetRegionsRequest(input *GetRegionsInput) GetRegionsRequest

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

Returns a list of all valid regions for Amazon Lightsail. Use the include availability zones parameter to also return the Availability Zones in a region.

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

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

func (*Client) GetRelationalDatabaseBlueprintsRequest

func (c *Client) GetRelationalDatabaseBlueprintsRequest(input *GetRelationalDatabaseBlueprintsInput) GetRelationalDatabaseBlueprintsRequest

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

Returns a list of available database blueprints in Amazon Lightsail. A blueprint describes the major engine version of a database.

You can use a blueprint ID to create a new database that runs a specific database engine.

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

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

func (*Client) GetRelationalDatabaseBundlesRequest

func (c *Client) GetRelationalDatabaseBundlesRequest(input *GetRelationalDatabaseBundlesInput) GetRelationalDatabaseBundlesRequest

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

Returns the list of bundles that are available in Amazon Lightsail. A bundle describes the performance specifications for a database.

You can use a bundle ID to create a new database with explicit performance specifications.

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

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

func (*Client) GetRelationalDatabaseEventsRequest

func (c *Client) GetRelationalDatabaseEventsRequest(input *GetRelationalDatabaseEventsInput) GetRelationalDatabaseEventsRequest

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

Returns a list of events for a specific database in Amazon Lightsail.

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

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

func (*Client) GetRelationalDatabaseLogEventsRequest

func (c *Client) GetRelationalDatabaseLogEventsRequest(input *GetRelationalDatabaseLogEventsInput) GetRelationalDatabaseLogEventsRequest

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

Returns a list of log events for a database in Amazon Lightsail.

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

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

func (*Client) GetRelationalDatabaseLogStreamsRequest

func (c *Client) GetRelationalDatabaseLogStreamsRequest(input *GetRelationalDatabaseLogStreamsInput) GetRelationalDatabaseLogStreamsRequest

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

Returns a list of available log streams for a specific database in Amazon Lightsail.

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

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

func (*Client) GetRelationalDatabaseMasterUserPasswordRequest

func (c *Client) GetRelationalDatabaseMasterUserPasswordRequest(input *GetRelationalDatabaseMasterUserPasswordInput) GetRelationalDatabaseMasterUserPasswordRequest

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

Returns the current, previous, or pending versions of the master user password for a Lightsail database.

The GetRelationalDatabaseMasterUserPassword operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName.

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

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

func (*Client) GetRelationalDatabaseMetricDataRequest

func (c *Client) GetRelationalDatabaseMetricDataRequest(input *GetRelationalDatabaseMetricDataInput) GetRelationalDatabaseMetricDataRequest

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

Returns the data points of the specified metric for a database in Amazon Lightsail.

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

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

func (*Client) GetRelationalDatabaseParametersRequest

func (c *Client) GetRelationalDatabaseParametersRequest(input *GetRelationalDatabaseParametersInput) GetRelationalDatabaseParametersRequest

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

Returns all of the runtime parameters offered by the underlying database software, or engine, for a specific database in Amazon Lightsail.

In addition to the parameter names and values, this operation returns other information about each parameter. This information includes whether changes require a reboot, whether the parameter is modifiable, the allowed values, and the data types.

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

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

func (*Client) GetRelationalDatabaseRequest

func (c *Client) GetRelationalDatabaseRequest(input *GetRelationalDatabaseInput) GetRelationalDatabaseRequest

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

Returns information about a specific database in Amazon Lightsail.

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

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

func (*Client) GetRelationalDatabaseSnapshotRequest

func (c *Client) GetRelationalDatabaseSnapshotRequest(input *GetRelationalDatabaseSnapshotInput) GetRelationalDatabaseSnapshotRequest

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

Returns information about a specific database snapshot in Amazon Lightsail.

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

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

func (*Client) GetRelationalDatabaseSnapshotsRequest

func (c *Client) GetRelationalDatabaseSnapshotsRequest(input *GetRelationalDatabaseSnapshotsInput) GetRelationalDatabaseSnapshotsRequest

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

Returns information about all of your database snapshots in Amazon Lightsail.

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

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

func (*Client) GetRelationalDatabasesRequest

func (c *Client) GetRelationalDatabasesRequest(input *GetRelationalDatabasesInput) GetRelationalDatabasesRequest

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

Returns information about all of your databases in Amazon Lightsail.

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

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

func (*Client) GetStaticIpRequest

func (c *Client) GetStaticIpRequest(input *GetStaticIpInput) GetStaticIpRequest

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

Returns information about a specific static IP.

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

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

func (*Client) GetStaticIpsRequest

func (c *Client) GetStaticIpsRequest(input *GetStaticIpsInput) GetStaticIpsRequest

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

Returns information about all static IPs in the user's account.

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

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

func (*Client) ImportKeyPairRequest

func (c *Client) ImportKeyPairRequest(input *ImportKeyPairInput) ImportKeyPairRequest

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

Imports a public SSH key from a specific key pair.

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

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

func (*Client) IsVpcPeeredRequest

func (c *Client) IsVpcPeeredRequest(input *IsVpcPeeredInput) IsVpcPeeredRequest

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

Returns a Boolean value indicating whether your Lightsail VPC is peered.

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

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

func (*Client) OpenInstancePublicPortsRequest

func (c *Client) OpenInstancePublicPortsRequest(input *OpenInstancePublicPortsInput) OpenInstancePublicPortsRequest

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

Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol.

The OpenInstancePublicPorts action supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) PeerVpcRequest

func (c *Client) PeerVpcRequest(input *PeerVpcInput) PeerVpcRequest

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

Tries to peer the Lightsail VPC with the user's default VPC.

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

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

func (*Client) PutAlarmRequest

func (c *Client) PutAlarmRequest(input *PutAlarmInput) PutAlarmRequest

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

Creates or updates an alarm, and associates it with the specified metric.

An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms).

When this action creates an alarm, the alarm state is immediately set to INSUFFICIENT_DATA. The alarm is then evaluated and its state is set appropriately. Any actions associated with the new state are then executed.

When you update an existing alarm, its state is left unchanged, but the update completely overwrites the previous configuration of the alarm. The alarm is then evaluated with the updated configuration.

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

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

func (*Client) PutInstancePublicPortsRequest

func (c *Client) PutInstancePublicPortsRequest(input *PutInstancePublicPortsInput) PutInstancePublicPortsRequest

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

Opens ports for a specific Amazon Lightsail instance, and specifies the IP addresses allowed to connect to the instance through the ports, and the protocol. This action also closes all currently open ports that are not included in the request. Include all of the ports and the protocols you want to open in your PutInstancePublicPortsrequest. Or use the OpenInstancePublicPorts action to open ports without closing currently open ports.

The PutInstancePublicPorts action supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) RebootInstanceRequest

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

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

Restarts a specific instance.

The reboot instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) RebootRelationalDatabaseRequest

func (c *Client) RebootRelationalDatabaseRequest(input *RebootRelationalDatabaseInput) RebootRelationalDatabaseRequest

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

Restarts a specific database in Amazon Lightsail.

The reboot relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) ReleaseStaticIpRequest

func (c *Client) ReleaseStaticIpRequest(input *ReleaseStaticIpInput) ReleaseStaticIpRequest

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

Deletes a specific static IP from your account.

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

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

func (*Client) SendContactMethodVerificationRequest

func (c *Client) SendContactMethodVerificationRequest(input *SendContactMethodVerificationInput) SendContactMethodVerificationRequest

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

Sends a verification request to an email contact method to ensure it's owned by the requester. SMS contact methods don't need to be verified.

A contact method is used to send you notifications about your Amazon Lightsail resources. You can add one email address and one mobile phone number contact method in each AWS Region. However, SMS text messaging is not supported in some AWS Regions, and SMS text messages cannot be sent to some countries/regions. For more information, see Notifications in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications).

A verification request is sent to the contact method when you initially create it. Use this action to send another verification request if a previous verification request was deleted, or has expired.

Notifications are not sent to an email contact method until after it is verified, and confirmed as valid.

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

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

func (*Client) StartInstanceRequest

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

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

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

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

The start instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) StartRelationalDatabaseRequest

func (c *Client) StartRelationalDatabaseRequest(input *StartRelationalDatabaseInput) StartRelationalDatabaseRequest

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

Starts a specific database from a stopped state in Amazon Lightsail. To restart a database, use the reboot relational database operation.

The start relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) StopInstanceRequest

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

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

Stops a specific Amazon Lightsail instance that is currently running.

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

The stop instance operation supports tag-based access control via resource tags applied to the resource identified by instance name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) StopRelationalDatabaseRequest

func (c *Client) StopRelationalDatabaseRequest(input *StopRelationalDatabaseInput) StopRelationalDatabaseRequest

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

Stops a specific database that is currently running in Amazon Lightsail.

The stop relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) TagResourceRequest

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

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

Adds one or more tags to the specified Amazon Lightsail resource. Each resource can have a maximum of 50 tags. Each tag consists of a key and an optional value. Tag keys must be unique per resource. For more information about tags, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).

The tag resource operation supports tag-based access control via request tags and resource tags applied to the resource identified by resource name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) TestAlarmRequest

func (c *Client) TestAlarmRequest(input *TestAlarmInput) TestAlarmRequest

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

Tests an alarm by displaying a banner on the Amazon Lightsail console. If a notification trigger is configured for the specified alarm, the test also sends a notification to the notification protocol (Email and/or SMS) configured for the alarm.

An alarm is used to monitor a single metric for one of your resources. When a metric condition is met, the alarm can notify you by email, SMS text message, and a banner displayed on the Amazon Lightsail console. For more information, see Alarms in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms).

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

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

func (*Client) UnpeerVpcRequest

func (c *Client) UnpeerVpcRequest(input *UnpeerVpcInput) UnpeerVpcRequest

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

Attempts to unpeer the Lightsail VPC from the user's default VPC.

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

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

func (*Client) UntagResourceRequest

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

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

Deletes the specified set of tag keys and their values from the specified Amazon Lightsail resource.

The untag resource operation supports tag-based access control via request tags and resource tags applied to the resource identified by resource name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) UpdateDomainEntryRequest

func (c *Client) UpdateDomainEntryRequest(input *UpdateDomainEntryInput) UpdateDomainEntryRequest

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

Updates a domain recordset after it is created.

The update domain entry operation supports tag-based access control via resource tags applied to the resource identified by domain name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) UpdateLoadBalancerAttributeRequest

func (c *Client) UpdateLoadBalancerAttributeRequest(input *UpdateLoadBalancerAttributeInput) UpdateLoadBalancerAttributeRequest

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

Updates the specified attribute for a load balancer. You can only update one attribute at a time.

The update load balancer attribute operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) UpdateRelationalDatabaseParametersRequest

func (c *Client) UpdateRelationalDatabaseParametersRequest(input *UpdateRelationalDatabaseParametersInput) UpdateRelationalDatabaseParametersRequest

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

Allows the update of one or more parameters of a database in Amazon Lightsail.

Parameter updates don't cause outages; therefore, their application is not subject to the preferred maintenance window. However, there are two ways in which parameter updates are applied: dynamic or pending-reboot. Parameters marked with a dynamic apply type are applied immediately. Parameters marked with a pending-reboot apply type are applied only after the database is rebooted using the reboot relational database operation.

The update relational database parameters operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

func (*Client) UpdateRelationalDatabaseRequest

func (c *Client) UpdateRelationalDatabaseRequest(input *UpdateRelationalDatabaseInput) UpdateRelationalDatabaseRequest

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

Allows the update of one or more attributes of a database in Amazon Lightsail.

Updates are applied immediately, or in cases where the updates could result in an outage, are applied during the database's predefined maintenance window.

The update relational database operation supports tag-based access control via resource tags applied to the resource identified by relationalDatabaseName. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags).

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

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

type CloseInstancePublicPortsInput

type CloseInstancePublicPortsInput struct {

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

	// An object to describe the ports to close for the specified instance.
	//
	// PortInfo is a required field
	PortInfo *PortInfo `locationName:"portInfo" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

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 object that describes the result of the action, such as the status of
	// the request, the timestamp of the request, and the resources affected by
	// the request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

func (CloseInstancePublicPortsOutput) String

String returns the string representation

type CloseInstancePublicPortsRequest

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

CloseInstancePublicPortsRequest is the request type for the CloseInstancePublicPorts API operation.

func (CloseInstancePublicPortsRequest) Send

Send marshals and sends the CloseInstancePublicPorts API request.

type CloseInstancePublicPortsResponse

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

CloseInstancePublicPortsResponse is the response type for the CloseInstancePublicPorts API operation.

func (*CloseInstancePublicPortsResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CloseInstancePublicPorts request.

type CloudFormationStackRecord

type CloudFormationStackRecord struct {

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

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

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

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

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

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

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

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

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

A CloudFormation stack record provides information about the AWS CloudFormation stack used to create a new Amazon Elastic Compute Cloud instance from an exported Lightsail instance snapshot.

func (CloudFormationStackRecord) String

func (s CloudFormationStackRecord) String() string

String returns the string representation

type CloudFormationStackRecordSourceInfo

type CloudFormationStackRecordSourceInfo struct {

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

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

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

Describes the source of a CloudFormation stack record (i.e., the export snapshot record).

func (CloudFormationStackRecordSourceInfo) String

String returns the string representation

type CloudFormationStackRecordSourceType

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

Enum values for CloudFormationStackRecordSourceType

func (CloudFormationStackRecordSourceType) MarshalValue

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

func (CloudFormationStackRecordSourceType) MarshalValueBuf

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

type ComparisonOperator

type ComparisonOperator string
const (
	ComparisonOperatorGreaterThanOrEqualToThreshold ComparisonOperator = "GreaterThanOrEqualToThreshold"
	ComparisonOperatorGreaterThanThreshold          ComparisonOperator = "GreaterThanThreshold"
	ComparisonOperatorLessThanThreshold             ComparisonOperator = "LessThanThreshold"
	ComparisonOperatorLessThanOrEqualToThreshold    ComparisonOperator = "LessThanOrEqualToThreshold"
)

Enum values for ComparisonOperator

func (ComparisonOperator) MarshalValue

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

func (ComparisonOperator) MarshalValueBuf

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

type ContactMethod

type ContactMethod struct {

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

	// The destination of the contact method, such as an email address or a mobile
	// phone number.
	ContactEndpoint *string `locationName:"contactEndpoint" type:"string"`

	// The timestamp when the contact method was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// Describes the resource location.
	Location *ResourceLocation `locationName:"location" type:"structure"`

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

	// The protocol of the contact method, such as email or SMS (text messaging).
	Protocol ContactProtocol `locationName:"protocol" type:"string" enum:"true"`

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

	// The current status of the contact method.
	//
	// A contact method has the following possible status:
	//
	//    * PendingVerification - The contact method has not yet been verified,
	//    and the verification has not yet expired.
	//
	//    * Valid - The contact method has been verified.
	//
	//    * InValid - An attempt was made to verify the contact method, but the
	//    verification has expired.
	Status ContactMethodStatus `locationName:"status" type:"string" enum:"true"`

	// The support code. Include this code in your email to support when you have
	// questions about your Lightsail contact method. 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 contact method.

A contact method is a way to send you notifications. For more information, see Notifications in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications).

func (ContactMethod) String

func (s ContactMethod) String() string

String returns the string representation

type ContactMethodStatus

type ContactMethodStatus string
const (
	ContactMethodStatusPendingVerification ContactMethodStatus = "PendingVerification"
	ContactMethodStatusValid               ContactMethodStatus = "Valid"
	ContactMethodStatusInvalid             ContactMethodStatus = "Invalid"
)

Enum values for ContactMethodStatus

func (ContactMethodStatus) MarshalValue

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

func (ContactMethodStatus) MarshalValueBuf

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

type ContactMethodVerificationProtocol

type ContactMethodVerificationProtocol string
const (
	ContactMethodVerificationProtocolEmail ContactMethodVerificationProtocol = "Email"
)

Enum values for ContactMethodVerificationProtocol

func (ContactMethodVerificationProtocol) MarshalValue

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

func (ContactMethodVerificationProtocol) MarshalValueBuf

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

type ContactProtocol

type ContactProtocol string
const (
	ContactProtocolEmail ContactProtocol = "Email"
	ContactProtocolSms   ContactProtocol = "SMS"
)

Enum values for ContactProtocol

func (ContactProtocol) MarshalValue

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

func (ContactProtocol) MarshalValueBuf

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

type CopySnapshotInput

type CopySnapshotInput struct {

	// The date of the source automatic snapshot to copy. Use the get auto snapshots
	// operation to identify the dates of the available automatic snapshots.
	//
	// Constraints:
	//
	//    * Must be specified in YYYY-MM-DD format.
	//
	//    * This parameter cannot be defined together with the use latest restorable
	//    auto snapshot parameter. The restore date and use latest restorable auto
	//    snapshot parameters are mutually exclusive.
	//
	//    * Define this parameter only when copying an automatic snapshot as a manual
	//    snapshot. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots).
	RestoreDate *string `locationName:"restoreDate" type:"string"`

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

	// The name of the source instance or disk from which the source automatic snapshot
	// was created.
	//
	// Constraint:
	//
	//    * Define this parameter only when copying an automatic snapshot as a manual
	//    snapshot. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots).
	SourceResourceName *string `locationName:"sourceResourceName" type:"string"`

	// The name of the source manual snapshot to copy.
	//
	// Constraint:
	//
	//    * Define this parameter only when copying a manual snapshot as another
	//    manual snapshot.
	SourceSnapshotName *string `locationName:"sourceSnapshotName" type:"string"`

	// The name of the new manual snapshot to be created as a copy.
	//
	// TargetSnapshotName is a required field
	TargetSnapshotName *string `locationName:"targetSnapshotName" type:"string" required:"true"`

	// A Boolean value to indicate whether to use the latest available automatic
	// snapshot of the specified source instance or disk.
	//
	// Constraints:
	//
	//    * This parameter cannot be defined together with the restore date parameter.
	//    The use latest restorable auto snapshot and restore date parameters are
	//    mutually exclusive.
	//
	//    * Define this parameter only when copying an automatic snapshot as a manual
	//    snapshot. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots).
	UseLatestRestorableAutoSnapshot *bool `locationName:"useLatestRestorableAutoSnapshot" type:"boolean"`
	// contains filtered or unexported fields
}

func (CopySnapshotInput) String

func (s CopySnapshotInput) String() string

String returns the string representation

func (*CopySnapshotInput) Validate

func (s *CopySnapshotInput) Validate() error

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

type CopySnapshotOutput

type CopySnapshotOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (CopySnapshotOutput) String

func (s CopySnapshotOutput) String() string

String returns the string representation

type CopySnapshotRequest

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

CopySnapshotRequest is the request type for the CopySnapshot API operation.

func (CopySnapshotRequest) Send

Send marshals and sends the CopySnapshot API request.

type CopySnapshotResponse

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

CopySnapshotResponse is the response type for the CopySnapshot API operation.

func (*CopySnapshotResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CopySnapshot request.

type CreateCloudFormationStackInput

type CreateCloudFormationStackInput struct {

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

func (CreateCloudFormationStackInput) String

String returns the string representation

func (*CreateCloudFormationStackInput) Validate

func (s *CreateCloudFormationStackInput) Validate() error

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

type CreateCloudFormationStackOutput

type CreateCloudFormationStackOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (CreateCloudFormationStackOutput) String

String returns the string representation

type CreateCloudFormationStackRequest

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

CreateCloudFormationStackRequest is the request type for the CreateCloudFormationStack API operation.

func (CreateCloudFormationStackRequest) Send

Send marshals and sends the CreateCloudFormationStack API request.

type CreateCloudFormationStackResponse

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

CreateCloudFormationStackResponse is the response type for the CreateCloudFormationStack API operation.

func (*CreateCloudFormationStackResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CreateCloudFormationStack request.

type CreateContactMethodInput

type CreateContactMethodInput struct {

	// The destination of the contact method, such as an email address or a mobile
	// phone number.
	//
	// Use the E.164 format when specifying a mobile phone number. E.164 is a standard
	// for the phone number structure used for international telecommunication.
	// Phone numbers that follow this format can have a maximum of 15 digits, and
	// they are prefixed with the plus character (+) and the country code. For example,
	// a U.S. phone number in E.164 format would be specified as +1XXX5550100. For
	// more information, see E.164 (https://en.wikipedia.org/wiki/E.164) on Wikipedia.
	//
	// ContactEndpoint is a required field
	ContactEndpoint *string `locationName:"contactEndpoint" min:"1" type:"string" required:"true"`

	// The protocol of the contact method, such as Email or SMS (text messaging).
	//
	// The SMS protocol is supported only in the following AWS Regions.
	//
	//    * US East (N. Virginia) (us-east-1)
	//
	//    * US West (Oregon) (us-west-2)
	//
	//    * Europe (Ireland) (eu-west-1)
	//
	//    * Asia Pacific (Tokyo) (ap-northeast-1)
	//
	//    * Asia Pacific (Singapore) (ap-southeast-1)
	//
	//    * Asia Pacific (Sydney) (ap-southeast-2)
	//
	// For a list of countries/regions where SMS text messages can be sent, and
	// the latest AWS Regions where SMS text messaging is supported, see Supported
	// Regions and Countries (https://docs.aws.amazon.com/sns/latest/dg/sns-supported-regions-countries.html)
	// in the Amazon SNS Developer Guide.
	//
	// For more information about notifications in Amazon Lightsail, see Notifications
	// in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-notifications).
	//
	// Protocol is a required field
	Protocol ContactProtocol `locationName:"protocol" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

func (CreateContactMethodInput) String

func (s CreateContactMethodInput) String() string

String returns the string representation

func (*CreateContactMethodInput) Validate

func (s *CreateContactMethodInput) Validate() error

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

type CreateContactMethodOutput

type CreateContactMethodOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (CreateContactMethodOutput) String

func (s CreateContactMethodOutput) String() string

String returns the string representation

type CreateContactMethodRequest

type CreateContactMethodRequest struct {
	*aws.Request
	Input *CreateContactMethodInput
	Copy  func(*CreateContactMethodInput) CreateContactMethodRequest
}

CreateContactMethodRequest is the request type for the CreateContactMethod API operation.

func (CreateContactMethodRequest) Send

Send marshals and sends the CreateContactMethod API request.

type CreateContactMethodResponse

type CreateContactMethodResponse struct {
	*CreateContactMethodOutput
	// contains filtered or unexported fields
}

CreateContactMethodResponse is the response type for the CreateContactMethod API operation.

func (*CreateContactMethodResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CreateContactMethod request.

type CreateDiskFromSnapshotInput

type CreateDiskFromSnapshotInput struct {

	// An array of objects that represent the add-ons to enable for the new disk.
	AddOns []AddOnRequest `locationName:"addOns" type:"list"`

	// 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.
	//
	// Constraint:
	//
	//    * This parameter cannot be defined together with the source disk name
	//    parameter. The disk snapshot name and source disk name parameters are
	//    mutually exclusive.
	DiskSnapshotName *string `locationName:"diskSnapshotName" type:"string"`

	// The date of the automatic snapshot to use for the new disk. Use the get auto
	// snapshots operation to identify the dates of the available automatic snapshots.
	//
	// Constraints:
	//
	//    * Must be specified in YYYY-MM-DD format.
	//
	//    * This parameter cannot be defined together with the use latest restorable
	//    auto snapshot parameter. The restore date and use latest restorable auto
	//    snapshot parameters are mutually exclusive.
	//
	//    * Define this parameter only when creating a new disk from an automatic
	//    snapshot. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots).
	RestoreDate *string `locationName:"restoreDate" type:"string"`

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

	// The name of the source disk from which the source automatic snapshot was
	// created.
	//
	// Constraints:
	//
	//    * This parameter cannot be defined together with the disk snapshot name
	//    parameter. The source disk name and disk snapshot name parameters are
	//    mutually exclusive.
	//
	//    * Define this parameter only when creating a new disk from an automatic
	//    snapshot. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots).
	SourceDiskName *string `locationName:"sourceDiskName" type:"string"`

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

	// A Boolean value to indicate whether to use the latest available automatic
	// snapshot.
	//
	// Constraints:
	//
	//    * This parameter cannot be defined together with the restore date parameter.
	//    The use latest restorable auto snapshot and restore date parameters are
	//    mutually exclusive.
	//
	//    * Define this parameter only when creating a new disk from an automatic
	//    snapshot. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots).
	UseLatestRestorableAutoSnapshot *bool `locationName:"useLatestRestorableAutoSnapshot" type:"boolean"`
	// contains filtered or unexported fields
}

func (CreateDiskFromSnapshotInput) String

String returns the string representation

func (*CreateDiskFromSnapshotInput) Validate

func (s *CreateDiskFromSnapshotInput) Validate() error

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

type CreateDiskFromSnapshotOutput

type CreateDiskFromSnapshotOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (CreateDiskFromSnapshotOutput) String

String returns the string representation

type CreateDiskFromSnapshotRequest

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

CreateDiskFromSnapshotRequest is the request type for the CreateDiskFromSnapshot API operation.

func (CreateDiskFromSnapshotRequest) Send

Send marshals and sends the CreateDiskFromSnapshot API request.

type CreateDiskFromSnapshotResponse

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

CreateDiskFromSnapshotResponse is the response type for the CreateDiskFromSnapshot API operation.

func (*CreateDiskFromSnapshotResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CreateDiskFromSnapshot request.

type CreateDiskInput

type CreateDiskInput struct {

	// An array of objects that represent the add-ons to enable for the new disk.
	AddOns []AddOnRequest `locationName:"addOns" type:"list"`

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

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

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

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

func (CreateDiskInput) String

func (s CreateDiskInput) String() string

String returns the string representation

func (*CreateDiskInput) Validate

func (s *CreateDiskInput) Validate() error

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

type CreateDiskOutput

type CreateDiskOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (CreateDiskOutput) String

func (s CreateDiskOutput) String() string

String returns the string representation

type CreateDiskRequest

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

CreateDiskRequest is the request type for the CreateDisk API operation.

func (CreateDiskRequest) Send

Send marshals and sends the CreateDisk API request.

type CreateDiskResponse

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

CreateDiskResponse is the response type for the CreateDisk API operation.

func (*CreateDiskResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CreateDisk request.

type CreateDiskSnapshotInput

type CreateDiskSnapshotInput struct {

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

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

	// The unique name of the source instance (e.g., Amazon_Linux-512MB-Virginia-1).
	// When this is defined, a snapshot of the instance's system volume is created.
	//
	// This parameter cannot be defined together with the disk name parameter. The
	// instance name and disk name parameters are mutually exclusive.
	InstanceName *string `locationName:"instanceName" type:"string"`

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

func (CreateDiskSnapshotInput) String

func (s CreateDiskSnapshotInput) String() string

String returns the string representation

func (*CreateDiskSnapshotInput) Validate

func (s *CreateDiskSnapshotInput) Validate() error

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

type CreateDiskSnapshotOutput

type CreateDiskSnapshotOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (CreateDiskSnapshotOutput) String

func (s CreateDiskSnapshotOutput) String() string

String returns the string representation

type CreateDiskSnapshotRequest

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

CreateDiskSnapshotRequest is the request type for the CreateDiskSnapshot API operation.

func (CreateDiskSnapshotRequest) Send

Send marshals and sends the CreateDiskSnapshot API request.

type CreateDiskSnapshotResponse

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

CreateDiskSnapshotResponse is the response type for the CreateDiskSnapshot API operation.

func (*CreateDiskSnapshotResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CreateDiskSnapshot request.

type CreateDomainEntryInput

type CreateDomainEntryInput struct {

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

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

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateDomainEntryOutput) String

func (s CreateDomainEntryOutput) String() string

String returns the string representation

type CreateDomainEntryRequest

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

CreateDomainEntryRequest is the request type for the CreateDomainEntry API operation.

func (CreateDomainEntryRequest) Send

Send marshals and sends the CreateDomainEntry API request.

type CreateDomainEntryResponse

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

CreateDomainEntryResponse is the response type for the CreateDomainEntry API operation.

func (*CreateDomainEntryResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CreateDomainEntry request.

type CreateDomainInput

type CreateDomainInput struct {

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

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

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

func (CreateDomainOutput) String

func (s CreateDomainOutput) String() string

String returns the string representation

type CreateDomainRequest

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

CreateDomainRequest is the request type for the CreateDomain API operation.

func (CreateDomainRequest) Send

Send marshals and sends the CreateDomain API request.

type CreateDomainResponse

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

CreateDomainResponse is the response type for the CreateDomain API operation.

func (*CreateDomainResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CreateDomain request.

type CreateInstanceSnapshotInput

type CreateInstanceSnapshotInput struct {

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

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

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

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (CreateInstanceSnapshotOutput) String

String returns the string representation

type CreateInstanceSnapshotRequest

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

CreateInstanceSnapshotRequest is the request type for the CreateInstanceSnapshot API operation.

func (CreateInstanceSnapshotRequest) Send

Send marshals and sends the CreateInstanceSnapshot API request.

type CreateInstanceSnapshotResponse

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

CreateInstanceSnapshotResponse is the response type for the CreateInstanceSnapshot API operation.

func (*CreateInstanceSnapshotResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CreateInstanceSnapshot request.

type CreateInstancesFromSnapshotInput

type CreateInstancesFromSnapshotInput struct {

	// An array of objects representing the add-ons to enable for the new instance.
	AddOns []AddOnRequest `locationName:"addOns" type:"list"`

	// 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.
	//
	// Constraint:
	//
	//    * This parameter cannot be defined together with the source instance name
	//    parameter. The instance snapshot name and source instance name parameters
	//    are mutually exclusive.
	InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string"`

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

	// The date of the automatic snapshot to use for the new instance. Use the get
	// auto snapshots operation to identify the dates of the available automatic
	// snapshots.
	//
	// Constraints:
	//
	//    * Must be specified in YYYY-MM-DD format.
	//
	//    * This parameter cannot be defined together with the use latest restorable
	//    auto snapshot parameter. The restore date and use latest restorable auto
	//    snapshot parameters are mutually exclusive.
	//
	//    * Define this parameter only when creating a new instance from an automatic
	//    snapshot. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots).
	RestoreDate *string `locationName:"restoreDate" type:"string"`

	// The name of the source instance from which the source automatic snapshot
	// was created.
	//
	// Constraints:
	//
	//    * This parameter cannot be defined together with the instance snapshot
	//    name parameter. The source instance name and instance snapshot name parameters
	//    are mutually exclusive.
	//
	//    * Define this parameter only when creating a new instance from an automatic
	//    snapshot. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots).
	SourceInstanceName *string `locationName:"sourceInstanceName" type:"string"`

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

	// A Boolean value to indicate whether to use the latest available automatic
	// snapshot.
	//
	// Constraints:
	//
	//    * This parameter cannot be defined together with the restore date parameter.
	//    The use latest restorable auto snapshot and restore date parameters are
	//    mutually exclusive.
	//
	//    * Define this parameter only when creating a new instance from an automatic
	//    snapshot. For more information, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots).
	UseLatestRestorableAutoSnapshot *bool `locationName:"useLatestRestorableAutoSnapshot" type:"boolean"`

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

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (CreateInstancesFromSnapshotOutput) String

String returns the string representation

type CreateInstancesFromSnapshotRequest

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

CreateInstancesFromSnapshotRequest is the request type for the CreateInstancesFromSnapshot API operation.

func (CreateInstancesFromSnapshotRequest) Send

Send marshals and sends the CreateInstancesFromSnapshot API request.

type CreateInstancesFromSnapshotResponse

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

CreateInstancesFromSnapshotResponse is the response type for the CreateInstancesFromSnapshot API operation.

func (*CreateInstancesFromSnapshotResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CreateInstancesFromSnapshot request.

type CreateInstancesInput

type CreateInstancesInput struct {

	// An array of objects representing the add-ons to enable for the new instance.
	AddOns []AddOnRequest `locationName:"addOns" type:"list"`

	// 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).
	//
	// Use active blueprints when creating new instances. Inactive blueprints are
	// listed to support customers with existing instances and are not necessarily
	// available to create new instances. Blueprints are marked inactive when they
	// become outdated due to operating system updates or new application releases.
	//
	// BlueprintId is a required field
	BlueprintId *string `locationName:"blueprintId" type:"string" required:"true"`

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

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

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

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

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

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

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (CreateInstancesOutput) String

func (s CreateInstancesOutput) String() string

String returns the string representation

type CreateInstancesRequest

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

CreateInstancesRequest is the request type for the CreateInstances API operation.

func (CreateInstancesRequest) Send

Send marshals and sends the CreateInstances API request.

type CreateInstancesResponse

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

CreateInstancesResponse is the response type for the CreateInstances API operation.

func (*CreateInstancesResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CreateInstances request.

type CreateKeyPairInput

type CreateKeyPairInput struct {

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

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

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the 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
}

func (CreateKeyPairOutput) String

func (s CreateKeyPairOutput) String() string

String returns the string representation

type CreateKeyPairRequest

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

CreateKeyPairRequest is the request type for the CreateKeyPair API operation.

func (CreateKeyPairRequest) Send

Send marshals and sends the CreateKeyPair API request.

type CreateKeyPairResponse

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

CreateKeyPairResponse is the response type for the CreateKeyPair API operation.

func (*CreateKeyPairResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CreateKeyPair request.

type CreateLoadBalancerInput

type CreateLoadBalancerInput struct {

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

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

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

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

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

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

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

func (CreateLoadBalancerInput) String

func (s CreateLoadBalancerInput) String() string

String returns the string representation

func (*CreateLoadBalancerInput) Validate

func (s *CreateLoadBalancerInput) Validate() error

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

type CreateLoadBalancerOutput

type CreateLoadBalancerOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (CreateLoadBalancerOutput) String

func (s CreateLoadBalancerOutput) String() string

String returns the string representation

type CreateLoadBalancerRequest

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

CreateLoadBalancerRequest is the request type for the CreateLoadBalancer API operation.

func (CreateLoadBalancerRequest) Send

Send marshals and sends the CreateLoadBalancer API request.

type CreateLoadBalancerResponse

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

CreateLoadBalancerResponse is the response type for the CreateLoadBalancer API operation.

func (*CreateLoadBalancerResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CreateLoadBalancer request.

type CreateLoadBalancerTlsCertificateInput

type CreateLoadBalancerTlsCertificateInput struct {

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

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

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

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

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

func (CreateLoadBalancerTlsCertificateInput) String

String returns the string representation

func (*CreateLoadBalancerTlsCertificateInput) Validate

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

type CreateLoadBalancerTlsCertificateOutput

type CreateLoadBalancerTlsCertificateOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (CreateLoadBalancerTlsCertificateOutput) String

String returns the string representation

type CreateLoadBalancerTlsCertificateRequest

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

CreateLoadBalancerTlsCertificateRequest is the request type for the CreateLoadBalancerTlsCertificate API operation.

func (CreateLoadBalancerTlsCertificateRequest) Send

Send marshals and sends the CreateLoadBalancerTlsCertificate API request.

type CreateLoadBalancerTlsCertificateResponse

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

CreateLoadBalancerTlsCertificateResponse is the response type for the CreateLoadBalancerTlsCertificate API operation.

func (*CreateLoadBalancerTlsCertificateResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CreateLoadBalancerTlsCertificate request.

type CreateRelationalDatabaseFromSnapshotInput

type CreateRelationalDatabaseFromSnapshotInput struct {

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

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

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

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

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

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

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

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

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

func (CreateRelationalDatabaseFromSnapshotInput) String

String returns the string representation

func (*CreateRelationalDatabaseFromSnapshotInput) Validate

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

type CreateRelationalDatabaseFromSnapshotOutput

type CreateRelationalDatabaseFromSnapshotOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (CreateRelationalDatabaseFromSnapshotOutput) String

String returns the string representation

type CreateRelationalDatabaseFromSnapshotRequest

CreateRelationalDatabaseFromSnapshotRequest is the request type for the CreateRelationalDatabaseFromSnapshot API operation.

func (CreateRelationalDatabaseFromSnapshotRequest) Send

Send marshals and sends the CreateRelationalDatabaseFromSnapshot API request.

type CreateRelationalDatabaseFromSnapshotResponse

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

CreateRelationalDatabaseFromSnapshotResponse is the response type for the CreateRelationalDatabaseFromSnapshot API operation.

func (*CreateRelationalDatabaseFromSnapshotResponse) SDKResponseMetdata

SDKResponseMetdata returns the response metadata for the CreateRelationalDatabaseFromSnapshot request.

type CreateRelationalDatabaseInput

type CreateRelationalDatabaseInput struct {

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

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

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

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

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

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

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

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

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

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

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

func (CreateRelationalDatabaseInput) String

String returns the string representation

func (*CreateRelationalDatabaseInput) Validate

func (s *CreateRelationalDatabaseInput) Validate() error

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

type CreateRelationalDatabaseOutput

type CreateRelationalDatabaseOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (CreateRelationalDatabaseOutput) String

String returns the string representation

type CreateRelationalDatabaseRequest

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

CreateRelationalDatabaseRequest is the request type for the CreateRelationalDatabase API operation.

func (CreateRelationalDatabaseRequest) Send

Send marshals and sends the CreateRelationalDatabase API request.

type CreateRelationalDatabaseResponse

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

CreateRelationalDatabaseResponse is the response type for the CreateRelationalDatabase API operation.

func (*CreateRelationalDatabaseResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CreateRelationalDatabase request.

type CreateRelationalDatabaseSnapshotInput

type CreateRelationalDatabaseSnapshotInput struct {

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

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

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

func (CreateRelationalDatabaseSnapshotInput) String

String returns the string representation

func (*CreateRelationalDatabaseSnapshotInput) Validate

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

type CreateRelationalDatabaseSnapshotOutput

type CreateRelationalDatabaseSnapshotOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (CreateRelationalDatabaseSnapshotOutput) String

String returns the string representation

type CreateRelationalDatabaseSnapshotRequest

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

CreateRelationalDatabaseSnapshotRequest is the request type for the CreateRelationalDatabaseSnapshot API operation.

func (CreateRelationalDatabaseSnapshotRequest) Send

Send marshals and sends the CreateRelationalDatabaseSnapshot API request.

type CreateRelationalDatabaseSnapshotResponse

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

CreateRelationalDatabaseSnapshotResponse is the response type for the CreateRelationalDatabaseSnapshot API operation.

func (*CreateRelationalDatabaseSnapshotResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the CreateRelationalDatabaseSnapshot request.

type DeleteAlarmInput

type DeleteAlarmInput struct {

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

func (DeleteAlarmInput) String

func (s DeleteAlarmInput) String() string

String returns the string representation

func (*DeleteAlarmInput) Validate

func (s *DeleteAlarmInput) Validate() error

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

type DeleteAlarmOutput

type DeleteAlarmOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DeleteAlarmOutput) String

func (s DeleteAlarmOutput) String() string

String returns the string representation

type DeleteAlarmRequest

type DeleteAlarmRequest struct {
	*aws.Request
	Input *DeleteAlarmInput
	Copy  func(*DeleteAlarmInput) DeleteAlarmRequest
}

DeleteAlarmRequest is the request type for the DeleteAlarm API operation.

func (DeleteAlarmRequest) Send

Send marshals and sends the DeleteAlarm API request.

type DeleteAlarmResponse

type DeleteAlarmResponse struct {
	*DeleteAlarmOutput
	// contains filtered or unexported fields
}

DeleteAlarmResponse is the response type for the DeleteAlarm API operation.

func (*DeleteAlarmResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DeleteAlarm request.

type DeleteAutoSnapshotInput

type DeleteAutoSnapshotInput struct {

	// The date of the automatic snapshot to delete in YYYY-MM-DD format. Use the
	// get auto snapshots operation to get the available automatic snapshots for
	// a resource.
	//
	// Date is a required field
	Date *string `locationName:"date" type:"string" required:"true"`

	// The name of the source instance or disk from which to delete the automatic
	// snapshot.
	//
	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteAutoSnapshotInput) String

func (s DeleteAutoSnapshotInput) String() string

String returns the string representation

func (*DeleteAutoSnapshotInput) Validate

func (s *DeleteAutoSnapshotInput) Validate() error

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

type DeleteAutoSnapshotOutput

type DeleteAutoSnapshotOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DeleteAutoSnapshotOutput) String

func (s DeleteAutoSnapshotOutput) String() string

String returns the string representation

type DeleteAutoSnapshotRequest

type DeleteAutoSnapshotRequest struct {
	*aws.Request
	Input *DeleteAutoSnapshotInput
	Copy  func(*DeleteAutoSnapshotInput) DeleteAutoSnapshotRequest
}

DeleteAutoSnapshotRequest is the request type for the DeleteAutoSnapshot API operation.

func (DeleteAutoSnapshotRequest) Send

Send marshals and sends the DeleteAutoSnapshot API request.

type DeleteAutoSnapshotResponse

type DeleteAutoSnapshotResponse struct {
	*DeleteAutoSnapshotOutput
	// contains filtered or unexported fields
}

DeleteAutoSnapshotResponse is the response type for the DeleteAutoSnapshot API operation.

func (*DeleteAutoSnapshotResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DeleteAutoSnapshot request.

type DeleteContactMethodInput

type DeleteContactMethodInput struct {

	// The protocol that will be deleted, such as Email or SMS (text messaging).
	//
	// To delete an Email and an SMS contact method if you added both, you must
	// run separate DeleteContactMethod actions to delete each protocol.
	//
	// Protocol is a required field
	Protocol ContactProtocol `locationName:"protocol" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

func (DeleteContactMethodInput) String

func (s DeleteContactMethodInput) String() string

String returns the string representation

func (*DeleteContactMethodInput) Validate

func (s *DeleteContactMethodInput) Validate() error

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

type DeleteContactMethodOutput

type DeleteContactMethodOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DeleteContactMethodOutput) String

func (s DeleteContactMethodOutput) String() string

String returns the string representation

type DeleteContactMethodRequest

type DeleteContactMethodRequest struct {
	*aws.Request
	Input *DeleteContactMethodInput
	Copy  func(*DeleteContactMethodInput) DeleteContactMethodRequest
}

DeleteContactMethodRequest is the request type for the DeleteContactMethod API operation.

func (DeleteContactMethodRequest) Send

Send marshals and sends the DeleteContactMethod API request.

type DeleteContactMethodResponse

type DeleteContactMethodResponse struct {
	*DeleteContactMethodOutput
	// contains filtered or unexported fields
}

DeleteContactMethodResponse is the response type for the DeleteContactMethod API operation.

func (*DeleteContactMethodResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DeleteContactMethod request.

type DeleteDiskInput

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"`

	// A Boolean value to indicate whether to delete the enabled add-ons for the
	// disk.
	ForceDeleteAddOns *bool `locationName:"forceDeleteAddOns" type:"boolean"`
	// contains filtered or unexported fields
}

func (DeleteDiskInput) String

func (s DeleteDiskInput) String() string

String returns the string representation

func (*DeleteDiskInput) Validate

func (s *DeleteDiskInput) Validate() error

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

type DeleteDiskOutput

type DeleteDiskOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DeleteDiskOutput) String

func (s DeleteDiskOutput) String() string

String returns the string representation

type DeleteDiskRequest

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

DeleteDiskRequest is the request type for the DeleteDisk API operation.

func (DeleteDiskRequest) Send

Send marshals and sends the DeleteDisk API request.

type DeleteDiskResponse

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

DeleteDiskResponse is the response type for the DeleteDisk API operation.

func (*DeleteDiskResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DeleteDisk request.

type DeleteDiskSnapshotInput

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
}

func (DeleteDiskSnapshotInput) String

func (s DeleteDiskSnapshotInput) String() string

String returns the string representation

func (*DeleteDiskSnapshotInput) Validate

func (s *DeleteDiskSnapshotInput) Validate() error

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

type DeleteDiskSnapshotOutput

type DeleteDiskSnapshotOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DeleteDiskSnapshotOutput) String

func (s DeleteDiskSnapshotOutput) String() string

String returns the string representation

type DeleteDiskSnapshotRequest

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

DeleteDiskSnapshotRequest is the request type for the DeleteDiskSnapshot API operation.

func (DeleteDiskSnapshotRequest) Send

Send marshals and sends the DeleteDiskSnapshot API request.

type DeleteDiskSnapshotResponse

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

DeleteDiskSnapshotResponse is the response type for the DeleteDiskSnapshot API operation.

func (*DeleteDiskSnapshotResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DeleteDiskSnapshot request.

type DeleteDomainEntryInput

type DeleteDomainEntryInput struct {

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

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

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteDomainEntryOutput) String

func (s DeleteDomainEntryOutput) String() string

String returns the string representation

type DeleteDomainEntryRequest

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

DeleteDomainEntryRequest is the request type for the DeleteDomainEntry API operation.

func (DeleteDomainEntryRequest) Send

Send marshals and sends the DeleteDomainEntry API request.

type DeleteDomainEntryResponse

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

DeleteDomainEntryResponse is the response type for the DeleteDomainEntry API operation.

func (*DeleteDomainEntryResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DeleteDomainEntry request.

type DeleteDomainInput

type DeleteDomainInput struct {

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

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteDomainOutput) String

func (s DeleteDomainOutput) String() string

String returns the string representation

type DeleteDomainRequest

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

DeleteDomainRequest is the request type for the DeleteDomain API operation.

func (DeleteDomainRequest) Send

Send marshals and sends the DeleteDomain API request.

type DeleteDomainResponse

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

DeleteDomainResponse is the response type for the DeleteDomain API operation.

func (*DeleteDomainResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DeleteDomain request.

type DeleteInstanceInput

type DeleteInstanceInput struct {

	// A Boolean value to indicate whether to delete the enabled add-ons for the
	// disk.
	ForceDeleteAddOns *bool `locationName:"forceDeleteAddOns" type:"boolean"`

	// 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
}

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DeleteInstanceOutput) String

func (s DeleteInstanceOutput) String() string

String returns the string representation

type DeleteInstanceRequest

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

DeleteInstanceRequest is the request type for the DeleteInstance API operation.

func (DeleteInstanceRequest) Send

Send marshals and sends the DeleteInstance API request.

type DeleteInstanceResponse

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

DeleteInstanceResponse is the response type for the DeleteInstance API operation.

func (*DeleteInstanceResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DeleteInstance request.

type DeleteInstanceSnapshotInput

type DeleteInstanceSnapshotInput struct {

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

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DeleteInstanceSnapshotOutput) String

String returns the string representation

type DeleteInstanceSnapshotRequest

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

DeleteInstanceSnapshotRequest is the request type for the DeleteInstanceSnapshot API operation.

func (DeleteInstanceSnapshotRequest) Send

Send marshals and sends the DeleteInstanceSnapshot API request.

type DeleteInstanceSnapshotResponse

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

DeleteInstanceSnapshotResponse is the response type for the DeleteInstanceSnapshot API operation.

func (*DeleteInstanceSnapshotResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DeleteInstanceSnapshot request.

type DeleteKeyPairInput

type DeleteKeyPairInput struct {

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

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

func (DeleteKeyPairOutput) String

func (s DeleteKeyPairOutput) String() string

String returns the string representation

type DeleteKeyPairRequest

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

DeleteKeyPairRequest is the request type for the DeleteKeyPair API operation.

func (DeleteKeyPairRequest) Send

Send marshals and sends the DeleteKeyPair API request.

type DeleteKeyPairResponse

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

DeleteKeyPairResponse is the response type for the DeleteKeyPair API operation.

func (*DeleteKeyPairResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DeleteKeyPair request.

type DeleteKnownHostKeysInput

type DeleteKnownHostKeysInput struct {

	// The name of the instance for which you want to reset the host key or certificate.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DeleteKnownHostKeysInput) String

func (s DeleteKnownHostKeysInput) String() string

String returns the string representation

func (*DeleteKnownHostKeysInput) Validate

func (s *DeleteKnownHostKeysInput) Validate() error

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

type DeleteKnownHostKeysOutput

type DeleteKnownHostKeysOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DeleteKnownHostKeysOutput) String

func (s DeleteKnownHostKeysOutput) String() string

String returns the string representation

type DeleteKnownHostKeysRequest

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

DeleteKnownHostKeysRequest is the request type for the DeleteKnownHostKeys API operation.

func (DeleteKnownHostKeysRequest) Send

Send marshals and sends the DeleteKnownHostKeys API request.

type DeleteKnownHostKeysResponse

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

DeleteKnownHostKeysResponse is the response type for the DeleteKnownHostKeys API operation.

func (*DeleteKnownHostKeysResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DeleteKnownHostKeys request.

type DeleteLoadBalancerInput

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
}

func (DeleteLoadBalancerInput) String

func (s DeleteLoadBalancerInput) String() string

String returns the string representation

func (*DeleteLoadBalancerInput) Validate

func (s *DeleteLoadBalancerInput) Validate() error

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

type DeleteLoadBalancerOutput

type DeleteLoadBalancerOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DeleteLoadBalancerOutput) String

func (s DeleteLoadBalancerOutput) String() string

String returns the string representation

type DeleteLoadBalancerRequest

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

DeleteLoadBalancerRequest is the request type for the DeleteLoadBalancer API operation.

func (DeleteLoadBalancerRequest) Send

Send marshals and sends the DeleteLoadBalancer API request.

type DeleteLoadBalancerResponse

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

DeleteLoadBalancerResponse is the response type for the DeleteLoadBalancer API operation.

func (*DeleteLoadBalancerResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DeleteLoadBalancer request.

type DeleteLoadBalancerTlsCertificateInput

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
}

func (DeleteLoadBalancerTlsCertificateInput) String

String returns the string representation

func (*DeleteLoadBalancerTlsCertificateInput) Validate

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

type DeleteLoadBalancerTlsCertificateOutput

type DeleteLoadBalancerTlsCertificateOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DeleteLoadBalancerTlsCertificateOutput) String

String returns the string representation

type DeleteLoadBalancerTlsCertificateRequest

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

DeleteLoadBalancerTlsCertificateRequest is the request type for the DeleteLoadBalancerTlsCertificate API operation.

func (DeleteLoadBalancerTlsCertificateRequest) Send

Send marshals and sends the DeleteLoadBalancerTlsCertificate API request.

type DeleteLoadBalancerTlsCertificateResponse

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

DeleteLoadBalancerTlsCertificateResponse is the response type for the DeleteLoadBalancerTlsCertificate API operation.

func (*DeleteLoadBalancerTlsCertificateResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DeleteLoadBalancerTlsCertificate request.

type DeleteRelationalDatabaseInput

type DeleteRelationalDatabaseInput struct {

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

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

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

func (DeleteRelationalDatabaseInput) String

String returns the string representation

func (*DeleteRelationalDatabaseInput) Validate

func (s *DeleteRelationalDatabaseInput) Validate() error

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

type DeleteRelationalDatabaseOutput

type DeleteRelationalDatabaseOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DeleteRelationalDatabaseOutput) String

String returns the string representation

type DeleteRelationalDatabaseRequest

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

DeleteRelationalDatabaseRequest is the request type for the DeleteRelationalDatabase API operation.

func (DeleteRelationalDatabaseRequest) Send

Send marshals and sends the DeleteRelationalDatabase API request.

type DeleteRelationalDatabaseResponse

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

DeleteRelationalDatabaseResponse is the response type for the DeleteRelationalDatabase API operation.

func (*DeleteRelationalDatabaseResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DeleteRelationalDatabase request.

type DeleteRelationalDatabaseSnapshotInput

type DeleteRelationalDatabaseSnapshotInput struct {

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

func (DeleteRelationalDatabaseSnapshotInput) String

String returns the string representation

func (*DeleteRelationalDatabaseSnapshotInput) Validate

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

type DeleteRelationalDatabaseSnapshotOutput

type DeleteRelationalDatabaseSnapshotOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DeleteRelationalDatabaseSnapshotOutput) String

String returns the string representation

type DeleteRelationalDatabaseSnapshotRequest

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

DeleteRelationalDatabaseSnapshotRequest is the request type for the DeleteRelationalDatabaseSnapshot API operation.

func (DeleteRelationalDatabaseSnapshotRequest) Send

Send marshals and sends the DeleteRelationalDatabaseSnapshot API request.

type DeleteRelationalDatabaseSnapshotResponse

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

DeleteRelationalDatabaseSnapshotResponse is the response type for the DeleteRelationalDatabaseSnapshot API operation.

func (*DeleteRelationalDatabaseSnapshotResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DeleteRelationalDatabaseSnapshot request.

type DestinationInfo

type DestinationInfo struct {

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

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

Describes the destination of a record.

func (DestinationInfo) String

func (s DestinationInfo) String() string

String returns the string representation

type DetachDiskInput

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
}

func (DetachDiskInput) String

func (s DetachDiskInput) String() string

String returns the string representation

func (*DetachDiskInput) Validate

func (s *DetachDiskInput) Validate() error

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

type DetachDiskOutput

type DetachDiskOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DetachDiskOutput) String

func (s DetachDiskOutput) String() string

String returns the string representation

type DetachDiskRequest

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

DetachDiskRequest is the request type for the DetachDisk API operation.

func (DetachDiskRequest) Send

Send marshals and sends the DetachDisk API request.

type DetachDiskResponse

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

DetachDiskResponse is the response type for the DetachDisk API operation.

func (*DetachDiskResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DetachDisk request.

type DetachInstancesFromLoadBalancerInput

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
}

func (DetachInstancesFromLoadBalancerInput) String

String returns the string representation

func (*DetachInstancesFromLoadBalancerInput) Validate

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

type DetachInstancesFromLoadBalancerOutput

type DetachInstancesFromLoadBalancerOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DetachInstancesFromLoadBalancerOutput) String

String returns the string representation

type DetachInstancesFromLoadBalancerRequest

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

DetachInstancesFromLoadBalancerRequest is the request type for the DetachInstancesFromLoadBalancer API operation.

func (DetachInstancesFromLoadBalancerRequest) Send

Send marshals and sends the DetachInstancesFromLoadBalancer API request.

type DetachInstancesFromLoadBalancerResponse

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

DetachInstancesFromLoadBalancerResponse is the response type for the DetachInstancesFromLoadBalancer API operation.

func (*DetachInstancesFromLoadBalancerResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DetachInstancesFromLoadBalancer request.

type DetachStaticIpInput

type DetachStaticIpInput struct {

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

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DetachStaticIpOutput) String

func (s DetachStaticIpOutput) String() string

String returns the string representation

type DetachStaticIpRequest

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

DetachStaticIpRequest is the request type for the DetachStaticIp API operation.

func (DetachStaticIpRequest) Send

Send marshals and sends the DetachStaticIp API request.

type DetachStaticIpResponse

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

DetachStaticIpResponse is the response type for the DetachStaticIp API operation.

func (*DetachStaticIpResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DetachStaticIp request.

type DisableAddOnInput

type DisableAddOnInput struct {

	// The add-on type to disable.
	//
	// AddOnType is a required field
	AddOnType AddOnType `locationName:"addOnType" type:"string" required:"true" enum:"true"`

	// The name of the source resource for which to disable the add-on.
	//
	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (DisableAddOnInput) String

func (s DisableAddOnInput) String() string

String returns the string representation

func (*DisableAddOnInput) Validate

func (s *DisableAddOnInput) Validate() error

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

type DisableAddOnOutput

type DisableAddOnOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (DisableAddOnOutput) String

func (s DisableAddOnOutput) String() string

String returns the string representation

type DisableAddOnRequest

type DisableAddOnRequest struct {
	*aws.Request
	Input *DisableAddOnInput
	Copy  func(*DisableAddOnInput) DisableAddOnRequest
}

DisableAddOnRequest is the request type for the DisableAddOn API operation.

func (DisableAddOnRequest) Send

Send marshals and sends the DisableAddOn API request.

type DisableAddOnResponse

type DisableAddOnResponse struct {
	*DisableAddOnOutput
	// contains filtered or unexported fields
}

DisableAddOnResponse is the response type for the DisableAddOn API operation.

func (*DisableAddOnResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DisableAddOn request.

type Disk

type Disk struct {

	// An array of objects representing the add-ons enabled on the disk.
	AddOns []AddOn `locationName:"addOns" type:"list"`

	// 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"`

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

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

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

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

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

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

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

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

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

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

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

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

Describes a system disk or a block storage disk.

func (Disk) String

func (s Disk) String() string

String returns the string representation

type DiskInfo

type DiskInfo struct {

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

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

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

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

Describes a disk.

func (DiskInfo) String

func (s DiskInfo) String() string

String returns the string representation

type DiskMap

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.

func (DiskMap) String

func (s DiskMap) String() string

String returns the string representation

type DiskSnapshot

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"`

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

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

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

	// The unique name of the source instance from which the disk (system volume)
	// snapshot was created.
	FromInstanceName *string `locationName:"fromInstanceName" type:"string"`

	// A Boolean value indicating whether the snapshot was created from an automatic
	// snapshot.
	IsFromAutoSnapshot *bool `locationName:"isFromAutoSnapshot" type:"boolean"`

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

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

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

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

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

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

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

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

Describes a block storage disk snapshot.

func (DiskSnapshot) String

func (s DiskSnapshot) String() string

String returns the string representation

type DiskSnapshotInfo

type DiskSnapshotInfo struct {

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

Describes a disk snapshot.

func (DiskSnapshotInfo) String

func (s DiskSnapshotInfo) String() string

String returns the string representation

type DiskSnapshotState

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

Enum values for DiskSnapshotState

func (DiskSnapshotState) MarshalValue

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

func (DiskSnapshotState) MarshalValueBuf

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

type DiskState

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

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

func (DiskState) MarshalValueBuf

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"`

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

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

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

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

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

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

Describes a domain where you are storing recordsets in Lightsail.

func (Domain) String

func (s Domain) String() string

String returns the string representation

type DomainEntry

type DomainEntry struct {

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

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

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

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

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

	// The type of domain entry, such as address (A), canonical name (CNAME), mail
	// exchanger (MX), name server (NS), start of authority (SOA), service locator
	// (SRV), or text (TXT).
	//
	// The following domain entry types can be used:
	//
	//    * A
	//
	//    * CNAME
	//
	//    * MX
	//
	//    * NS
	//
	//    * SOA
	//
	//    * SRV
	//
	//    * TXT
	Type *string `locationName:"type" type:"string"`
	// contains filtered or unexported fields
}

Describes a domain recordset entry.

func (DomainEntry) String

func (s DomainEntry) String() string

String returns the string representation

type DownloadDefaultKeyPairInput

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

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
}

func (DownloadDefaultKeyPairOutput) String

String returns the string representation

type DownloadDefaultKeyPairRequest

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

DownloadDefaultKeyPairRequest is the request type for the DownloadDefaultKeyPair API operation.

func (DownloadDefaultKeyPairRequest) Send

Send marshals and sends the DownloadDefaultKeyPair API request.

type DownloadDefaultKeyPairResponse

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

DownloadDefaultKeyPairResponse is the response type for the DownloadDefaultKeyPair API operation.

func (*DownloadDefaultKeyPairResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the DownloadDefaultKeyPair request.

type EnableAddOnInput

type EnableAddOnInput struct {

	// An array of strings representing the add-on to enable or modify.
	//
	// AddOnRequest is a required field
	AddOnRequest *AddOnRequest `locationName:"addOnRequest" type:"structure" required:"true"`

	// The name of the source resource for which to enable or modify the add-on.
	//
	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (EnableAddOnInput) String

func (s EnableAddOnInput) String() string

String returns the string representation

func (*EnableAddOnInput) Validate

func (s *EnableAddOnInput) Validate() error

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

type EnableAddOnOutput

type EnableAddOnOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (EnableAddOnOutput) String

func (s EnableAddOnOutput) String() string

String returns the string representation

type EnableAddOnRequest

type EnableAddOnRequest struct {
	*aws.Request
	Input *EnableAddOnInput
	Copy  func(*EnableAddOnInput) EnableAddOnRequest
}

EnableAddOnRequest is the request type for the EnableAddOn API operation.

func (EnableAddOnRequest) Send

Send marshals and sends the EnableAddOn API request.

type EnableAddOnResponse

type EnableAddOnResponse struct {
	*EnableAddOnOutput
	// contains filtered or unexported fields
}

EnableAddOnResponse is the response type for the EnableAddOn API operation.

func (*EnableAddOnResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the EnableAddOn request.

type ExportSnapshotInput

type ExportSnapshotInput struct {

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

func (ExportSnapshotInput) String

func (s ExportSnapshotInput) String() string

String returns the string representation

func (*ExportSnapshotInput) Validate

func (s *ExportSnapshotInput) Validate() error

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

type ExportSnapshotOutput

type ExportSnapshotOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (ExportSnapshotOutput) String

func (s ExportSnapshotOutput) String() string

String returns the string representation

type ExportSnapshotRecord

type ExportSnapshotRecord struct {

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

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

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

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

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

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

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

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

Describes an export snapshot record.

func (ExportSnapshotRecord) String

func (s ExportSnapshotRecord) String() string

String returns the string representation

type ExportSnapshotRecordSourceInfo

type ExportSnapshotRecordSourceInfo struct {

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

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

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

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

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

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

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

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

Describes the source of an export snapshot record.

func (ExportSnapshotRecordSourceInfo) String

String returns the string representation

type ExportSnapshotRecordSourceType

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

Enum values for ExportSnapshotRecordSourceType

func (ExportSnapshotRecordSourceType) MarshalValue

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

func (ExportSnapshotRecordSourceType) MarshalValueBuf

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

type ExportSnapshotRequest

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

ExportSnapshotRequest is the request type for the ExportSnapshot API operation.

func (ExportSnapshotRequest) Send

Send marshals and sends the ExportSnapshot API request.

type ExportSnapshotResponse

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

ExportSnapshotResponse is the response type for the ExportSnapshot API operation.

func (*ExportSnapshotResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the ExportSnapshot request.

type GetActiveNamesInput

type GetActiveNamesInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetActiveNames request. If your results
	// are paginated, the response will return a next page token that you can specify
	// as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

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"`

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetActiveNames request and
	// specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetActiveNamesOutput) String

func (s GetActiveNamesOutput) String() string

String returns the string representation

type GetActiveNamesRequest

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

GetActiveNamesRequest is the request type for the GetActiveNames API operation.

func (GetActiveNamesRequest) Send

Send marshals and sends the GetActiveNames API request.

type GetActiveNamesResponse

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

GetActiveNamesResponse is the response type for the GetActiveNames API operation.

func (*GetActiveNamesResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the GetActiveNames request.

type GetAlarmsInput

type GetAlarmsInput struct {

	// The name of the alarm.
	//
	// Specify an alarm name to return information about a specific alarm.
	AlarmName *string `locationName:"alarmName" type:"string"`

	// The name of the Lightsail resource being monitored by the alarm.
	//
	// Specify a monitored resource name to return information about all alarms
	// for a specific resource.
	MonitoredResourceName *string `locationName:"monitoredResourceName" type:"string"`

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetAlarms request. If your results
	// are paginated, the response will return a next page token that you can specify
	// as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetAlarmsInput) String

func (s GetAlarmsInput) String() string

String returns the string representation

type GetAlarmsOutput

type GetAlarmsOutput struct {

	// An array of objects that describe the alarms.
	Alarms []Alarm `locationName:"alarms" type:"list"`

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetAlarms request and specify
	// the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetAlarmsOutput) String

func (s GetAlarmsOutput) String() string

String returns the string representation

type GetAlarmsRequest

type GetAlarmsRequest struct {
	*aws.Request
	Input *GetAlarmsInput
	Copy  func(*GetAlarmsInput) GetAlarmsRequest
}

GetAlarmsRequest is the request type for the GetAlarms API operation.

func (GetAlarmsRequest) Send

Send marshals and sends the GetAlarms API request.

type GetAlarmsResponse

type GetAlarmsResponse struct {
	*GetAlarmsOutput
	// contains filtered or unexported fields
}

GetAlarmsResponse is the response type for the GetAlarms API operation.

func (*GetAlarmsResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the GetAlarms request.

type GetAutoSnapshotsInput

type GetAutoSnapshotsInput struct {

	// The name of the source instance or disk from which to get automatic snapshot
	// information.
	//
	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetAutoSnapshotsInput) String

func (s GetAutoSnapshotsInput) String() string

String returns the string representation

func (*GetAutoSnapshotsInput) Validate

func (s *GetAutoSnapshotsInput) Validate() error

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

type GetAutoSnapshotsOutput

type GetAutoSnapshotsOutput struct {

	// An array of objects that describe the automatic snapshots that are available
	// for the specified source instance or disk.
	AutoSnapshots []AutoSnapshotDetails `locationName:"autoSnapshots" type:"list"`

	// The name of the source instance or disk for the automatic snapshots.
	ResourceName *string `locationName:"resourceName" type:"string"`

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

func (GetAutoSnapshotsOutput) String

func (s GetAutoSnapshotsOutput) String() string

String returns the string representation

type GetAutoSnapshotsRequest

type GetAutoSnapshotsRequest struct {
	*aws.Request
	Input *GetAutoSnapshotsInput
	Copy  func(*GetAutoSnapshotsInput) GetAutoSnapshotsRequest
}

GetAutoSnapshotsRequest is the request type for the GetAutoSnapshots API operation.

func (GetAutoSnapshotsRequest) Send

Send marshals and sends the GetAutoSnapshots API request.

type GetAutoSnapshotsResponse

type GetAutoSnapshotsResponse struct {
	*GetAutoSnapshotsOutput
	// contains filtered or unexported fields
}

GetAutoSnapshotsResponse is the response type for the GetAutoSnapshots API operation.

func (*GetAutoSnapshotsResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the GetAutoSnapshots request.

type GetBlueprintsInput

type GetBlueprintsInput struct {

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

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetBlueprints request. If your results
	// are paginated, the response will return a next page token that you can specify
	// as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

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"`

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetBlueprints request and
	// specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetBlueprintsOutput) String

func (s GetBlueprintsOutput) String() string

String returns the string representation

type GetBlueprintsRequest

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

GetBlueprintsRequest is the request type for the GetBlueprints API operation.

func (GetBlueprintsRequest) Send

Send marshals and sends the GetBlueprints API request.

type GetBlueprintsResponse

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

GetBlueprintsResponse is the response type for the GetBlueprints API operation.

func (*GetBlueprintsResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the GetBlueprints request.

type GetBundlesInput

type GetBundlesInput struct {

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

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetBundles request. If your results
	// are paginated, the response will return a next page token that you can specify
	// as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

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"`

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetBundles request and specify
	// the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetBundlesOutput) String

func (s GetBundlesOutput) String() string

String returns the string representation

type GetBundlesRequest

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

GetBundlesRequest is the request type for the GetBundles API operation.

func (GetBundlesRequest) Send

Send marshals and sends the GetBundles API request.

type GetBundlesResponse

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

GetBundlesResponse is the response type for the GetBundles API operation.

func (*GetBundlesResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the GetBundles request.

type GetCloudFormationStackRecordsInput

type GetCloudFormationStackRecordsInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetClouFormationStackRecords request.
	// If your results are paginated, the response will return a next page token
	// that you can specify as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetCloudFormationStackRecordsInput) String

String returns the string representation

type GetCloudFormationStackRecordsOutput

type GetCloudFormationStackRecordsOutput struct {

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

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetCloudFormationStackRecords
	// request and specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetCloudFormationStackRecordsOutput) String

String returns the string representation

type GetCloudFormationStackRecordsRequest

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

GetCloudFormationStackRecordsRequest is the request type for the GetCloudFormationStackRecords API operation.

func (GetCloudFormationStackRecordsRequest) Send

Send marshals and sends the GetCloudFormationStackRecords API request.

type GetCloudFormationStackRecordsResponse

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

GetCloudFormationStackRecordsResponse is the response type for the GetCloudFormationStackRecords API operation.

func (*GetCloudFormationStackRecordsResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the GetCloudFormationStackRecords request.

type GetContactMethodsInput

type GetContactMethodsInput struct {

	// The protocols used to send notifications, such as Email, or SMS (text messaging).
	//
	// Specify a protocol in your request to return information about a specific
	// contact method protocol.
	Protocols []ContactProtocol `locationName:"protocols" type:"list"`
	// contains filtered or unexported fields
}

func (GetContactMethodsInput) String

func (s GetContactMethodsInput) String() string

String returns the string representation

type GetContactMethodsOutput

type GetContactMethodsOutput struct {

	// An array of objects that describe the contact methods.
	ContactMethods []ContactMethod `locationName:"contactMethods" type:"list"`
	// contains filtered or unexported fields
}

func (GetContactMethodsOutput) String

func (s GetContactMethodsOutput) String() string

String returns the string representation

type GetContactMethodsRequest

type GetContactMethodsRequest struct {
	*aws.Request
	Input *GetContactMethodsInput
	Copy  func(*GetContactMethodsInput) GetContactMethodsRequest
}

GetContactMethodsRequest is the request type for the GetContactMethods API operation.

func (GetContactMethodsRequest) Send

Send marshals and sends the GetContactMethods API request.

type GetContactMethodsResponse

type GetContactMethodsResponse struct {
	*GetContactMethodsOutput
	// contains filtered or unexported fields
}

GetContactMethodsResponse is the response type for the GetContactMethods API operation.

func (*GetContactMethodsResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the GetContactMethods request.

type GetDiskInput

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
}

func (GetDiskInput) String

func (s GetDiskInput) String() string

String returns the string representation

func (*GetDiskInput) Validate

func (s *GetDiskInput) Validate() error

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

type GetDiskOutput

type GetDiskOutput struct {

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

func (GetDiskOutput) String

func (s GetDiskOutput) String() string

String returns the string representation

type GetDiskRequest

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

GetDiskRequest is the request type for the GetDisk API operation.

func (GetDiskRequest) Send

Send marshals and sends the GetDisk API request.

type GetDiskResponse

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

GetDiskResponse is the response type for the GetDisk API operation.

func (*GetDiskResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the GetDisk request.

type GetDiskSnapshotInput

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
}

func (GetDiskSnapshotInput) String

func (s GetDiskSnapshotInput) String() string

String returns the string representation

func (*GetDiskSnapshotInput) Validate

func (s *GetDiskSnapshotInput) Validate() error

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

type GetDiskSnapshotOutput

type GetDiskSnapshotOutput struct {

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

func (GetDiskSnapshotOutput) String

func (s GetDiskSnapshotOutput) String() string

String returns the string representation

type GetDiskSnapshotRequest

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

GetDiskSnapshotRequest is the request type for the GetDiskSnapshot API operation.

func (GetDiskSnapshotRequest) Send

Send marshals and sends the GetDiskSnapshot API request.

type GetDiskSnapshotResponse

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

GetDiskSnapshotResponse is the response type for the GetDiskSnapshot API operation.

func (*GetDiskSnapshotResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the GetDiskSnapshot request.

type GetDiskSnapshotsInput

type GetDiskSnapshotsInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetDiskSnapshots request. If your
	// results are paginated, the response will return a next page token that you
	// can specify as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetDiskSnapshotsInput) String

func (s GetDiskSnapshotsInput) String() string

String returns the string representation

type GetDiskSnapshotsOutput

type GetDiskSnapshotsOutput struct {

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

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetDiskSnapshots request
	// and specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetDiskSnapshotsOutput) String

func (s GetDiskSnapshotsOutput) String() string

String returns the string representation

type GetDiskSnapshotsRequest

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

GetDiskSnapshotsRequest is the request type for the GetDiskSnapshots API operation.

func (GetDiskSnapshotsRequest) Send

Send marshals and sends the GetDiskSnapshots API request.

type GetDiskSnapshotsResponse

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

GetDiskSnapshotsResponse is the response type for the GetDiskSnapshots API operation.

func (*GetDiskSnapshotsResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the GetDiskSnapshots request.

type GetDisksInput

type GetDisksInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetDisks request. If your results
	// are paginated, the response will return a next page token that you can specify
	// as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetDisksInput) String

func (s GetDisksInput) String() string

String returns the string representation

type GetDisksOutput

type GetDisksOutput struct {

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

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetDisks request and specify
	// the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetDisksOutput) String

func (s GetDisksOutput) String() string

String returns the string representation

type GetDisksRequest

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

GetDisksRequest is the request type for the GetDisks API operation.

func (GetDisksRequest) Send

Send marshals and sends the GetDisks API request.

type GetDisksResponse

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

GetDisksResponse is the response type for the GetDisks API operation.

func (*GetDisksResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the GetDisks request.

type GetDomainInput

type GetDomainInput struct {

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

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
}

func (GetDomainOutput) String

func (s GetDomainOutput) String() string

String returns the string representation

type GetDomainRequest

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

GetDomainRequest is the request type for the GetDomain API operation.

func (GetDomainRequest) Send

Send marshals and sends the GetDomain API request.

type GetDomainResponse

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

GetDomainResponse is the response type for the GetDomain API operation.

func (*GetDomainResponse) SDKResponseMetdata

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

SDKResponseMetdata returns the response metadata for the GetDomain request.

type GetDomainsInput

type GetDomainsInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetDomains request. If your results
	// are paginated, the response will return a next page token that you can specify
	// as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

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"`

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetDomains request and specify
	// the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetDomainsOutput) String

func (s GetDomainsOutput) String() string

String returns the string representation

type GetDomainsRequest

type GetDomainsRequest struct {
	*aws.Request
	Input *GetDomainsInput
	Copy  func(*GetDomainsInput) GetDomainsRequest
}

GetDomainsRequest is the request type for the GetDomains API operation.

func (GetDomainsRequest) Send

Send marshals and sends the GetDomains API request.

type GetDomainsResponse

type GetDomainsResponse struct {
	*GetDomainsOutput
	// contains filtered or unexported fields
}

GetDomainsResponse is the response type for the GetDomains API operation.

func (*GetDomainsResponse) SDKResponseMetdata

func (r *GetDomainsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetDomains request.

type GetExportSnapshotRecordsInput

type GetExportSnapshotRecordsInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetExportSnapshotRecords request.
	// If your results are paginated, the response will return a next page token
	// that you can specify as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetExportSnapshotRecordsInput) String

String returns the string representation

type GetExportSnapshotRecordsOutput

type GetExportSnapshotRecordsOutput struct {

	// A list of objects describing the export snapshot records.
	ExportSnapshotRecords []ExportSnapshotRecord `locationName:"exportSnapshotRecords" type:"list"`

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetExportSnapshotRecords
	// request and specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetExportSnapshotRecordsOutput) String

String returns the string representation

type GetExportSnapshotRecordsRequest

type GetExportSnapshotRecordsRequest struct {
	*aws.Request
	Input *GetExportSnapshotRecordsInput
	Copy  func(*GetExportSnapshotRecordsInput) GetExportSnapshotRecordsRequest
}

GetExportSnapshotRecordsRequest is the request type for the GetExportSnapshotRecords API operation.

func (GetExportSnapshotRecordsRequest) Send

Send marshals and sends the GetExportSnapshotRecords API request.

type GetExportSnapshotRecordsResponse

type GetExportSnapshotRecordsResponse struct {
	*GetExportSnapshotRecordsOutput
	// contains filtered or unexported fields
}

GetExportSnapshotRecordsResponse is the response type for the GetExportSnapshotRecords API operation.

func (*GetExportSnapshotRecordsResponse) SDKResponseMetdata

func (r *GetExportSnapshotRecordsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetExportSnapshotRecords request.

type GetInstanceAccessDetailsInput

type GetInstanceAccessDetailsInput struct {

	// The name of the instance to access.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`

	// The protocol to use to connect to your instance. Defaults to ssh.
	Protocol InstanceAccessProtocol `locationName:"protocol" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

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
}

func (GetInstanceAccessDetailsOutput) String

String returns the string representation

type GetInstanceAccessDetailsRequest

type GetInstanceAccessDetailsRequest struct {
	*aws.Request
	Input *GetInstanceAccessDetailsInput
	Copy  func(*GetInstanceAccessDetailsInput) GetInstanceAccessDetailsRequest
}

GetInstanceAccessDetailsRequest is the request type for the GetInstanceAccessDetails API operation.

func (GetInstanceAccessDetailsRequest) Send

Send marshals and sends the GetInstanceAccessDetails API request.

type GetInstanceAccessDetailsResponse

type GetInstanceAccessDetailsResponse struct {
	*GetInstanceAccessDetailsOutput
	// contains filtered or unexported fields
}

GetInstanceAccessDetailsResponse is the response type for the GetInstanceAccessDetails API operation.

func (*GetInstanceAccessDetailsResponse) SDKResponseMetdata

func (r *GetInstanceAccessDetailsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetInstanceAccessDetails request.

type GetInstanceInput

type GetInstanceInput struct {

	// The name of the instance.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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" 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 for which you want to return information.
	//
	// Valid instance metric names are listed below, along with the most useful
	// statistics to include in your request, and the published unit value.
	//
	//    * CPUUtilization - The percentage of allocated compute units that are
	//    currently in use on the instance. This metric identifies the processing
	//    power to run the applications on the instance. Tools in your operating
	//    system can show a lower percentage than Lightsail when the instance is
	//    not allocated a full processor core. Statistics: The most useful statistics
	//    are Maximum and Average. Unit: The published unit is Percent.
	//
	//    * NetworkIn - The number of bytes received on all network interfaces by
	//    the instance. This metric identifies the volume of incoming network traffic
	//    to the instance. The number reported is the number of bytes received during
	//    the period. Because this metric is reported in 5-minute intervals, divide
	//    the reported number by 300 to find Bytes/second. Statistics: The most
	//    useful statistic is Sum. Unit: The published unit is Bytes.
	//
	//    * NetworkOut - The number of bytes sent out on all network interfaces
	//    by the instance. This metric identifies the volume of outgoing network
	//    traffic from the instance. The number reported is the number of bytes
	//    sent during the period. Because this metric is reported in 5-minute intervals,
	//    divide the reported number by 300 to find Bytes/second. Statistics: The
	//    most useful statistic is Sum. Unit: The published unit is Bytes.
	//
	//    * StatusCheckFailed - Reports whether the instance passed or failed both
	//    the instance status check and the system status check. This metric can
	//    be either 0 (passed) or 1 (failed). This metric data is available in 1-minute
	//    (60 seconds) granularity. Statistics: The most useful statistic is Sum.
	//    Unit: The published unit is Count.
	//
	//    * StatusCheckFailed_Instance - Reports whether the instance passed or
	//    failed the instance status check. This metric can be either 0 (passed)
	//    or 1 (failed). This metric data is available in 1-minute (60 seconds)
	//    granularity. Statistics: The most useful statistic is Sum. Unit: The published
	//    unit is Count.
	//
	//    * StatusCheckFailed_System - Reports whether the instance passed or failed
	//    the system status check. This metric can be either 0 (passed) or 1 (failed).
	//    This metric data is available in 1-minute (60 seconds) granularity. Statistics:
	//    The most useful statistic is Sum. Unit: The published unit is Count.
	//
	// MetricName is a required field
	MetricName InstanceMetricName `locationName:"metricName" type:"string" required:"true" enum:"true"`

	// The granularity, in seconds, of the returned data points.
	//
	// The StatusCheckFailed, StatusCheckFailed_Instance, and StatusCheckFailed_System
	// instance metric data is available in 1-minute (60 seconds) granularity. All
	// other instance metric data is available in 5-minute (300 seconds) granularity.
	//
	// 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" required:"true"`

	// The statistic for the metric.
	//
	// The following statistics are available:
	//
	//    * Minimum - The lowest value observed during the specified period. Use
	//    this value to determine low volumes of activity for your application.
	//
	//    * Maximum - The highest value observed during the specified period. Use
	//    this value to determine high volumes of activity for your application.
	//
	//    * Sum - All values submitted for the matching metric added together. You
	//    can use this statistic to determine the total volume of a metric.
	//
	//    * Average - The value of Sum / SampleCount during the specified period.
	//    By comparing this statistic with the Minimum and Maximum values, you can
	//    determine the full scope of a metric and how close the average use is
	//    to the Minimum and Maximum values. This comparison helps you to know when
	//    to increase or decrease your resources.
	//
	//    * SampleCount - The count, or number, of data points used for the statistical
	//    calculation.
	//
	// Statistics is a required field
	Statistics []MetricStatistic `locationName:"statistics" type:"list" required:"true"`

	// The unit for the metric data request. Valid units depend on the metric data
	// being requested. For the valid units to specify with each available metric,
	// see the metricName parameter.
	//
	// Unit is a required field
	Unit MetricUnit `locationName:"unit" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

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
}

func (GetInstanceMetricDataOutput) String

String returns the string representation

type GetInstanceMetricDataRequest

type GetInstanceMetricDataRequest struct {
	*aws.Request
	Input *GetInstanceMetricDataInput
	Copy  func(*GetInstanceMetricDataInput) GetInstanceMetricDataRequest
}

GetInstanceMetricDataRequest is the request type for the GetInstanceMetricData API operation.

func (GetInstanceMetricDataRequest) Send

Send marshals and sends the GetInstanceMetricData API request.

type GetInstanceMetricDataResponse

type GetInstanceMetricDataResponse struct {
	*GetInstanceMetricDataOutput
	// contains filtered or unexported fields
}

GetInstanceMetricDataResponse is the response type for the GetInstanceMetricData API operation.

func (*GetInstanceMetricDataResponse) SDKResponseMetdata

func (r *GetInstanceMetricDataResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetInstanceMetricData request.

type GetInstanceOutput

type GetInstanceOutput struct {

	// An array of key-value pairs containing information about the specified instance.
	Instance *Instance `locationName:"instance" type:"structure"`
	// contains filtered or unexported fields
}

func (GetInstanceOutput) String

func (s GetInstanceOutput) String() string

String returns the string representation

type GetInstancePortStatesInput

type GetInstancePortStatesInput struct {

	// The name of the instance for which to return firewall port states.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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 {

	// An array of objects that describe the firewall port states for the specified
	// instance.
	PortStates []InstancePortState `locationName:"portStates" type:"list"`
	// contains filtered or unexported fields
}

func (GetInstancePortStatesOutput) String

String returns the string representation

type GetInstancePortStatesRequest

type GetInstancePortStatesRequest struct {
	*aws.Request
	Input *GetInstancePortStatesInput
	Copy  func(*GetInstancePortStatesInput) GetInstancePortStatesRequest
}

GetInstancePortStatesRequest is the request type for the GetInstancePortStates API operation.

func (GetInstancePortStatesRequest) Send

Send marshals and sends the GetInstancePortStates API request.

type GetInstancePortStatesResponse

type GetInstancePortStatesResponse struct {
	*GetInstancePortStatesOutput
	// contains filtered or unexported fields
}

GetInstancePortStatesResponse is the response type for the GetInstancePortStates API operation.

func (*GetInstancePortStatesResponse) SDKResponseMetdata

func (r *GetInstancePortStatesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetInstancePortStates request.

type GetInstanceRequest

type GetInstanceRequest struct {
	*aws.Request
	Input *GetInstanceInput
	Copy  func(*GetInstanceInput) GetInstanceRequest
}

GetInstanceRequest is the request type for the GetInstance API operation.

func (GetInstanceRequest) Send

Send marshals and sends the GetInstance API request.

type GetInstanceResponse

type GetInstanceResponse struct {
	*GetInstanceOutput
	// contains filtered or unexported fields
}

GetInstanceResponse is the response type for the GetInstance API operation.

func (*GetInstanceResponse) SDKResponseMetdata

func (r *GetInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetInstance request.

type GetInstanceSnapshotInput

type GetInstanceSnapshotInput struct {

	// The name of the snapshot for which you are requesting information.
	//
	// InstanceSnapshotName is a required field
	InstanceSnapshotName *string `locationName:"instanceSnapshotName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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
}

func (GetInstanceSnapshotOutput) String

func (s GetInstanceSnapshotOutput) String() string

String returns the string representation

type GetInstanceSnapshotRequest

type GetInstanceSnapshotRequest struct {
	*aws.Request
	Input *GetInstanceSnapshotInput
	Copy  func(*GetInstanceSnapshotInput) GetInstanceSnapshotRequest
}

GetInstanceSnapshotRequest is the request type for the GetInstanceSnapshot API operation.

func (GetInstanceSnapshotRequest) Send

Send marshals and sends the GetInstanceSnapshot API request.

type GetInstanceSnapshotResponse

type GetInstanceSnapshotResponse struct {
	*GetInstanceSnapshotOutput
	// contains filtered or unexported fields
}

GetInstanceSnapshotResponse is the response type for the GetInstanceSnapshot API operation.

func (*GetInstanceSnapshotResponse) SDKResponseMetdata

func (r *GetInstanceSnapshotResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetInstanceSnapshot request.

type GetInstanceSnapshotsInput

type GetInstanceSnapshotsInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetInstanceSnapshots request. If
	// your results are paginated, the response will return a next page token that
	// you can specify as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

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"`

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetInstanceSnapshots request
	// and specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetInstanceSnapshotsOutput) String

String returns the string representation

type GetInstanceSnapshotsRequest

type GetInstanceSnapshotsRequest struct {
	*aws.Request
	Input *GetInstanceSnapshotsInput
	Copy  func(*GetInstanceSnapshotsInput) GetInstanceSnapshotsRequest
}

GetInstanceSnapshotsRequest is the request type for the GetInstanceSnapshots API operation.

func (GetInstanceSnapshotsRequest) Send

Send marshals and sends the GetInstanceSnapshots API request.

type GetInstanceSnapshotsResponse

type GetInstanceSnapshotsResponse struct {
	*GetInstanceSnapshotsOutput
	// contains filtered or unexported fields
}

GetInstanceSnapshotsResponse is the response type for the GetInstanceSnapshots API operation.

func (*GetInstanceSnapshotsResponse) SDKResponseMetdata

func (r *GetInstanceSnapshotsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetInstanceSnapshots request.

type GetInstanceStateInput

type GetInstanceStateInput struct {

	// The name of the instance to get state information about.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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
}

func (GetInstanceStateOutput) String

func (s GetInstanceStateOutput) String() string

String returns the string representation

type GetInstanceStateRequest

type GetInstanceStateRequest struct {
	*aws.Request
	Input *GetInstanceStateInput
	Copy  func(*GetInstanceStateInput) GetInstanceStateRequest
}

GetInstanceStateRequest is the request type for the GetInstanceState API operation.

func (GetInstanceStateRequest) Send

Send marshals and sends the GetInstanceState API request.

type GetInstanceStateResponse

type GetInstanceStateResponse struct {
	*GetInstanceStateOutput
	// contains filtered or unexported fields
}

GetInstanceStateResponse is the response type for the GetInstanceState API operation.

func (*GetInstanceStateResponse) SDKResponseMetdata

func (r *GetInstanceStateResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetInstanceState request.

type GetInstancesInput

type GetInstancesInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetInstances request. If your results
	// are paginated, the response will return a next page token that you can specify
	// as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

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"`

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetInstances request and
	// specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetInstancesOutput) String

func (s GetInstancesOutput) String() string

String returns the string representation

type GetInstancesRequest

type GetInstancesRequest struct {
	*aws.Request
	Input *GetInstancesInput
	Copy  func(*GetInstancesInput) GetInstancesRequest
}

GetInstancesRequest is the request type for the GetInstances API operation.

func (GetInstancesRequest) Send

Send marshals and sends the GetInstances API request.

type GetInstancesResponse

type GetInstancesResponse struct {
	*GetInstancesOutput
	// contains filtered or unexported fields
}

GetInstancesResponse is the response type for the GetInstances API operation.

func (*GetInstancesResponse) SDKResponseMetdata

func (r *GetInstancesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetInstances request.

type GetKeyPairInput

type GetKeyPairInput struct {

	// The name of the key pair for which you are requesting information.
	//
	// KeyPairName is a required field
	KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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
}

func (GetKeyPairOutput) String

func (s GetKeyPairOutput) String() string

String returns the string representation

type GetKeyPairRequest

type GetKeyPairRequest struct {
	*aws.Request
	Input *GetKeyPairInput
	Copy  func(*GetKeyPairInput) GetKeyPairRequest
}

GetKeyPairRequest is the request type for the GetKeyPair API operation.

func (GetKeyPairRequest) Send

Send marshals and sends the GetKeyPair API request.

type GetKeyPairResponse

type GetKeyPairResponse struct {
	*GetKeyPairOutput
	// contains filtered or unexported fields
}

GetKeyPairResponse is the response type for the GetKeyPair API operation.

func (*GetKeyPairResponse) SDKResponseMetdata

func (r *GetKeyPairResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetKeyPair request.

type GetKeyPairsInput

type GetKeyPairsInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetKeyPairs request. If your results
	// are paginated, the response will return a next page token that you can specify
	// as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

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"`

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetKeyPairs request and
	// specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetKeyPairsOutput) String

func (s GetKeyPairsOutput) String() string

String returns the string representation

type GetKeyPairsRequest

type GetKeyPairsRequest struct {
	*aws.Request
	Input *GetKeyPairsInput
	Copy  func(*GetKeyPairsInput) GetKeyPairsRequest
}

GetKeyPairsRequest is the request type for the GetKeyPairs API operation.

func (GetKeyPairsRequest) Send

Send marshals and sends the GetKeyPairs API request.

type GetKeyPairsResponse

type GetKeyPairsResponse struct {
	*GetKeyPairsOutput
	// contains filtered or unexported fields
}

GetKeyPairsResponse is the response type for the GetKeyPairs API operation.

func (*GetKeyPairsResponse) SDKResponseMetdata

func (r *GetKeyPairsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetKeyPairs request.

type GetLoadBalancerInput

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
}

func (GetLoadBalancerInput) String

func (s GetLoadBalancerInput) String() string

String returns the string representation

func (*GetLoadBalancerInput) Validate

func (s *GetLoadBalancerInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetLoadBalancerMetricDataInput

type GetLoadBalancerMetricDataInput struct {

	// The end time of the period.
	//
	// EndTime is a required field
	EndTime *time.Time `locationName:"endTime" type:"timestamp" required:"true"`

	// The name of the load balancer.
	//
	// LoadBalancerName is a required field
	LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"`

	// The metric for which you want to return information.
	//
	// Valid load balancer metric names are listed below, along with the most useful
	// statistics to include in your request, and the published unit value.
	//
	//    * ClientTLSNegotiationErrorCount - The number of TLS connections initiated
	//    by the client that did not establish a session with the load balancer
	//    due to a TLS error generated by the load balancer. Possible causes include
	//    a mismatch of ciphers or protocols. Statistics: The most useful statistic
	//    is Sum. Unit: The published unit is Count.
	//
	//    * HealthyHostCount - The number of target instances that are considered
	//    healthy. Statistics: The most useful statistic are Average, Minimum, and
	//    Maximum. Unit: The published unit is Count.
	//
	//    * HTTPCode_Instance_2XX_Count - The number of HTTP 2XX 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. Unit: The
	//    published unit is Count.
	//
	//    * HTTPCode_Instance_3XX_Count - The number of HTTP 3XX 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. Unit: The
	//    published unit is Count.
	//
	//    * HTTPCode_Instance_4XX_Count - The number of HTTP 4XX 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. Unit: The
	//    published unit is Count.
	//
	//    * HTTPCode_Instance_5XX_Count - The number of HTTP 5XX 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. Unit: The
	//    published unit is Count.
	//
	//    * HTTPCode_LB_4XX_Count - The number of HTTP 4XX client error codes that
	//    originated from the load balancer. Client errors are generated when requests
	//    are malformed or incomplete. These requests were not received by the target
	//    instance. This count does not include response codes generated by the
	//    target instances. Statistics: The most useful statistic is Sum. Note that
	//    Minimum, Maximum, and Average all return 1. Unit: The published unit is
	//    Count.
	//
	//    * HTTPCode_LB_5XX_Count - The number of HTTP 5XX server error codes that
	//    originated from the load balancer. This does not include any response
	//    codes generated by the target instance. This metric is reported if there
	//    are no healthy instances attached to the load balancer, or if the request
	//    rate exceeds the capacity of the instances (spillover) or the load balancer.
	//    Statistics: The most useful statistic is Sum. Note that Minimum, Maximum,
	//    and Average all return 1. Unit: The published unit is Count.
	//
	//    * 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. Unit: The
	//    published unit is Seconds.
	//
	//    * 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. Unit: The published unit
	//    is Count.
	//
	//    * 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. Unit: The published unit
	//    is Count.
	//
	//    * UnhealthyHostCount - The number of target instances that are considered
	//    unhealthy. Statistics: The most useful statistic are Average, Minimum,
	//    and Maximum. Unit: The published unit is Count.
	//
	// MetricName is a required field
	MetricName LoadBalancerMetricName `locationName:"metricName" type:"string" required:"true" enum:"true"`

	// The granularity, in seconds, of the returned data points.
	//
	// Period is a required field
	Period *int64 `locationName:"period" min:"60" type:"integer" required:"true"`

	// The start time of the period.
	//
	// StartTime is a required field
	StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"`

	// The statistic for the metric.
	//
	// The following statistics are available:
	//
	//    * Minimum - The lowest value observed during the specified period. Use
	//    this value to determine low volumes of activity for your application.
	//
	//    * Maximum - The highest value observed during the specified period. Use
	//    this value to determine high volumes of activity for your application.
	//
	//    * Sum - All values submitted for the matching metric added together. You
	//    can use this statistic to determine the total volume of a metric.
	//
	//    * Average - The value of Sum / SampleCount during the specified period.
	//    By comparing this statistic with the Minimum and Maximum values, you can
	//    determine the full scope of a metric and how close the average use is
	//    to the Minimum and Maximum values. This comparison helps you to know when
	//    to increase or decrease your resources.
	//
	//    * SampleCount - The count, or number, of data points used for the statistical
	//    calculation.
	//
	// Statistics is a required field
	Statistics []MetricStatistic `locationName:"statistics" type:"list" required:"true"`

	// The unit for the metric data request. Valid units depend on the metric data
	// being required. For the valid units with each available metric, see the metricName
	// parameter.
	//
	// Unit is a required field
	Unit MetricUnit `locationName:"unit" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

func (GetLoadBalancerMetricDataInput) String

String returns the string representation

func (*GetLoadBalancerMetricDataInput) Validate

func (s *GetLoadBalancerMetricDataInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetLoadBalancerMetricDataOutput

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
}

func (GetLoadBalancerMetricDataOutput) String

String returns the string representation

type GetLoadBalancerMetricDataRequest

type GetLoadBalancerMetricDataRequest struct {
	*aws.Request
	Input *GetLoadBalancerMetricDataInput
	Copy  func(*GetLoadBalancerMetricDataInput) GetLoadBalancerMetricDataRequest
}

GetLoadBalancerMetricDataRequest is the request type for the GetLoadBalancerMetricData API operation.

func (GetLoadBalancerMetricDataRequest) Send

Send marshals and sends the GetLoadBalancerMetricData API request.

type GetLoadBalancerMetricDataResponse

type GetLoadBalancerMetricDataResponse struct {
	*GetLoadBalancerMetricDataOutput
	// contains filtered or unexported fields
}

GetLoadBalancerMetricDataResponse is the response type for the GetLoadBalancerMetricData API operation.

func (*GetLoadBalancerMetricDataResponse) SDKResponseMetdata

func (r *GetLoadBalancerMetricDataResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetLoadBalancerMetricData request.

type GetLoadBalancerOutput

type GetLoadBalancerOutput struct {

	// An object containing information about your load balancer.
	LoadBalancer *LoadBalancer `locationName:"loadBalancer" type:"structure"`
	// contains filtered or unexported fields
}

func (GetLoadBalancerOutput) String

func (s GetLoadBalancerOutput) String() string

String returns the string representation

type GetLoadBalancerRequest

type GetLoadBalancerRequest struct {
	*aws.Request
	Input *GetLoadBalancerInput
	Copy  func(*GetLoadBalancerInput) GetLoadBalancerRequest
}

GetLoadBalancerRequest is the request type for the GetLoadBalancer API operation.

func (GetLoadBalancerRequest) Send

Send marshals and sends the GetLoadBalancer API request.

type GetLoadBalancerResponse

type GetLoadBalancerResponse struct {
	*GetLoadBalancerOutput
	// contains filtered or unexported fields
}

GetLoadBalancerResponse is the response type for the GetLoadBalancer API operation.

func (*GetLoadBalancerResponse) SDKResponseMetdata

func (r *GetLoadBalancerResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetLoadBalancer request.

type GetLoadBalancerTlsCertificatesInput

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
}

func (GetLoadBalancerTlsCertificatesInput) String

String returns the string representation

func (*GetLoadBalancerTlsCertificatesInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetLoadBalancerTlsCertificatesOutput

type GetLoadBalancerTlsCertificatesOutput struct {

	// An array of LoadBalancerTlsCertificate objects describing your SSL/TLS certificates.
	TlsCertificates []LoadBalancerTlsCertificate `locationName:"tlsCertificates" type:"list"`
	// contains filtered or unexported fields
}

func (GetLoadBalancerTlsCertificatesOutput) String

String returns the string representation

type GetLoadBalancerTlsCertificatesRequest

type GetLoadBalancerTlsCertificatesRequest struct {
	*aws.Request
	Input *GetLoadBalancerTlsCertificatesInput
	Copy  func(*GetLoadBalancerTlsCertificatesInput) GetLoadBalancerTlsCertificatesRequest
}

GetLoadBalancerTlsCertificatesRequest is the request type for the GetLoadBalancerTlsCertificates API operation.

func (GetLoadBalancerTlsCertificatesRequest) Send

Send marshals and sends the GetLoadBalancerTlsCertificates API request.

type GetLoadBalancerTlsCertificatesResponse

type GetLoadBalancerTlsCertificatesResponse struct {
	*GetLoadBalancerTlsCertificatesOutput
	// contains filtered or unexported fields
}

GetLoadBalancerTlsCertificatesResponse is the response type for the GetLoadBalancerTlsCertificates API operation.

func (*GetLoadBalancerTlsCertificatesResponse) SDKResponseMetdata

func (r *GetLoadBalancerTlsCertificatesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetLoadBalancerTlsCertificates request.

type GetLoadBalancersInput

type GetLoadBalancersInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetLoadBalancers request. If your
	// results are paginated, the response will return a next page token that you
	// can specify as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetLoadBalancersInput) String

func (s GetLoadBalancersInput) String() string

String returns the string representation

type GetLoadBalancersOutput

type GetLoadBalancersOutput struct {

	// An array of LoadBalancer objects describing your load balancers.
	LoadBalancers []LoadBalancer `locationName:"loadBalancers" type:"list"`

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetLoadBalancers request
	// and specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetLoadBalancersOutput) String

func (s GetLoadBalancersOutput) String() string

String returns the string representation

type GetLoadBalancersRequest

type GetLoadBalancersRequest struct {
	*aws.Request
	Input *GetLoadBalancersInput
	Copy  func(*GetLoadBalancersInput) GetLoadBalancersRequest
}

GetLoadBalancersRequest is the request type for the GetLoadBalancers API operation.

func (GetLoadBalancersRequest) Send

Send marshals and sends the GetLoadBalancers API request.

type GetLoadBalancersResponse

type GetLoadBalancersResponse struct {
	*GetLoadBalancersOutput
	// contains filtered or unexported fields
}

GetLoadBalancersResponse is the response type for the GetLoadBalancers API operation.

func (*GetLoadBalancersResponse) SDKResponseMetdata

func (r *GetLoadBalancersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetLoadBalancers request.

type GetOperationInput

type GetOperationInput struct {

	// A GUID used to identify the operation.
	//
	// OperationId is a required field
	OperationId *string `locationName:"operationId" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

func (GetOperationOutput) String

func (s GetOperationOutput) String() string

String returns the string representation

type GetOperationRequest

type GetOperationRequest struct {
	*aws.Request
	Input *GetOperationInput
	Copy  func(*GetOperationInput) GetOperationRequest
}

GetOperationRequest is the request type for the GetOperation API operation.

func (GetOperationRequest) Send

Send marshals and sends the GetOperation API request.

type GetOperationResponse

type GetOperationResponse struct {
	*GetOperationOutput
	// contains filtered or unexported fields
}

GetOperationResponse is the response type for the GetOperation API operation.

func (*GetOperationResponse) SDKResponseMetdata

func (r *GetOperationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetOperation request.

type GetOperationsForResourceInput

type GetOperationsForResourceInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetOperationsForResource request.
	// If your results are paginated, the response will return a next page token
	// that you can specify as the page token in a subsequent 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
}

func (GetOperationsForResourceInput) String

String returns the string representation

func (*GetOperationsForResourceInput) Validate

func (s *GetOperationsForResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetOperationsForResourceOutput

type GetOperationsForResourceOutput struct {

	// (Deprecated) Returns the number of pages of results that remain.
	//
	// In releases prior to June 12, 2017, this parameter returned null by the API.
	// It is now deprecated, and the API returns the next page token parameter instead.
	NextPageCount *string `locationName:"nextPageCount" deprecated:"true" type:"string"`

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetOperationsForResource
	// request and specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (GetOperationsForResourceOutput) String

String returns the string representation

type GetOperationsForResourceRequest

type GetOperationsForResourceRequest struct {
	*aws.Request
	Input *GetOperationsForResourceInput
	Copy  func(*GetOperationsForResourceInput) GetOperationsForResourceRequest
}

GetOperationsForResourceRequest is the request type for the GetOperationsForResource API operation.

func (GetOperationsForResourceRequest) Send

Send marshals and sends the GetOperationsForResource API request.

type GetOperationsForResourceResponse

type GetOperationsForResourceResponse struct {
	*GetOperationsForResourceOutput
	// contains filtered or unexported fields
}

GetOperationsForResourceResponse is the response type for the GetOperationsForResource API operation.

func (*GetOperationsForResourceResponse) SDKResponseMetdata

func (r *GetOperationsForResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetOperationsForResource request.

type GetOperationsInput

type GetOperationsInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetOperations request. If your results
	// are paginated, the response will return a next page token that you can specify
	// as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetOperationsInput) String

func (s GetOperationsInput) String() string

String returns the string representation

type GetOperationsOutput

type GetOperationsOutput struct {

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetOperations request and
	// specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (GetOperationsOutput) String

func (s GetOperationsOutput) String() string

String returns the string representation

type GetOperationsRequest

type GetOperationsRequest struct {
	*aws.Request
	Input *GetOperationsInput
	Copy  func(*GetOperationsInput) GetOperationsRequest
}

GetOperationsRequest is the request type for the GetOperations API operation.

func (GetOperationsRequest) Send

Send marshals and sends the GetOperations API request.

type GetOperationsResponse

type GetOperationsResponse struct {
	*GetOperationsOutput
	// contains filtered or unexported fields
}

GetOperationsResponse is the response type for the GetOperations API operation.

func (*GetOperationsResponse) SDKResponseMetdata

func (r *GetOperationsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetOperations request.

type GetRegionsInput

type GetRegionsInput struct {

	// A Boolean value indicating whether to also include Availability Zones in
	// your get regions request. Availability Zones are indicated with a letter:
	// e.g., us-east-2a.
	IncludeAvailabilityZones *bool `locationName:"includeAvailabilityZones" type:"boolean"`

	// >A Boolean value indicating whether to also include Availability Zones for
	// databases in your get regions request. Availability Zones are indicated with
	// a letter (e.g., us-east-2a).
	IncludeRelationalDatabaseAvailabilityZones *bool `locationName:"includeRelationalDatabaseAvailabilityZones" type:"boolean"`
	// contains filtered or unexported fields
}

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
}

func (GetRegionsOutput) String

func (s GetRegionsOutput) String() string

String returns the string representation

type GetRegionsRequest

type GetRegionsRequest struct {
	*aws.Request
	Input *GetRegionsInput
	Copy  func(*GetRegionsInput) GetRegionsRequest
}

GetRegionsRequest is the request type for the GetRegions API operation.

func (GetRegionsRequest) Send

Send marshals and sends the GetRegions API request.

type GetRegionsResponse

type GetRegionsResponse struct {
	*GetRegionsOutput
	// contains filtered or unexported fields
}

GetRegionsResponse is the response type for the GetRegions API operation.

func (*GetRegionsResponse) SDKResponseMetdata

func (r *GetRegionsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRegions request.

type GetRelationalDatabaseBlueprintsInput

type GetRelationalDatabaseBlueprintsInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetRelationalDatabaseBlueprints request.
	// If your results are paginated, the response will return a next page token
	// that you can specify as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseBlueprintsInput) String

String returns the string representation

type GetRelationalDatabaseBlueprintsOutput

type GetRelationalDatabaseBlueprintsOutput struct {

	// An object describing the result of your get relational database blueprints
	// request.
	Blueprints []RelationalDatabaseBlueprint `locationName:"blueprints" type:"list"`

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetRelationalDatabaseBlueprints
	// request and specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseBlueprintsOutput) String

String returns the string representation

type GetRelationalDatabaseBlueprintsRequest

type GetRelationalDatabaseBlueprintsRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseBlueprintsInput
	Copy  func(*GetRelationalDatabaseBlueprintsInput) GetRelationalDatabaseBlueprintsRequest
}

GetRelationalDatabaseBlueprintsRequest is the request type for the GetRelationalDatabaseBlueprints API operation.

func (GetRelationalDatabaseBlueprintsRequest) Send

Send marshals and sends the GetRelationalDatabaseBlueprints API request.

type GetRelationalDatabaseBlueprintsResponse

type GetRelationalDatabaseBlueprintsResponse struct {
	*GetRelationalDatabaseBlueprintsOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseBlueprintsResponse is the response type for the GetRelationalDatabaseBlueprints API operation.

func (*GetRelationalDatabaseBlueprintsResponse) SDKResponseMetdata

func (r *GetRelationalDatabaseBlueprintsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseBlueprints request.

type GetRelationalDatabaseBundlesInput

type GetRelationalDatabaseBundlesInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetRelationalDatabaseBundles request.
	// If your results are paginated, the response will return a next page token
	// that you can specify as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseBundlesInput) String

String returns the string representation

type GetRelationalDatabaseBundlesOutput

type GetRelationalDatabaseBundlesOutput struct {

	// An object describing the result of your get relational database bundles request.
	Bundles []RelationalDatabaseBundle `locationName:"bundles" type:"list"`

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetRelationalDatabaseBundles
	// request and specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseBundlesOutput) String

String returns the string representation

type GetRelationalDatabaseBundlesRequest

type GetRelationalDatabaseBundlesRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseBundlesInput
	Copy  func(*GetRelationalDatabaseBundlesInput) GetRelationalDatabaseBundlesRequest
}

GetRelationalDatabaseBundlesRequest is the request type for the GetRelationalDatabaseBundles API operation.

func (GetRelationalDatabaseBundlesRequest) Send

Send marshals and sends the GetRelationalDatabaseBundles API request.

type GetRelationalDatabaseBundlesResponse

type GetRelationalDatabaseBundlesResponse struct {
	*GetRelationalDatabaseBundlesOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseBundlesResponse is the response type for the GetRelationalDatabaseBundles API operation.

func (*GetRelationalDatabaseBundlesResponse) SDKResponseMetdata

func (r *GetRelationalDatabaseBundlesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseBundles request.

type GetRelationalDatabaseEventsInput

type GetRelationalDatabaseEventsInput struct {

	// The number of minutes in the past from which to retrieve events. For example,
	// to get all events from the past 2 hours, enter 120.
	//
	// Default: 60
	//
	// The minimum is 1 and the maximum is 14 days (20160 minutes).
	DurationInMinutes *int64 `locationName:"durationInMinutes" type:"integer"`

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetRelationalDatabaseEvents request.
	// If your results are paginated, the response will return a next page token
	// that you can specify as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`

	// The name of the database from which to get events.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseEventsInput) String

String returns the string representation

func (*GetRelationalDatabaseEventsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetRelationalDatabaseEventsOutput

type GetRelationalDatabaseEventsOutput struct {

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetRelationalDatabaseEvents
	// request and specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`

	// An object describing the result of your get relational database events request.
	RelationalDatabaseEvents []RelationalDatabaseEvent `locationName:"relationalDatabaseEvents" type:"list"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseEventsOutput) String

String returns the string representation

type GetRelationalDatabaseEventsRequest

type GetRelationalDatabaseEventsRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseEventsInput
	Copy  func(*GetRelationalDatabaseEventsInput) GetRelationalDatabaseEventsRequest
}

GetRelationalDatabaseEventsRequest is the request type for the GetRelationalDatabaseEvents API operation.

func (GetRelationalDatabaseEventsRequest) Send

Send marshals and sends the GetRelationalDatabaseEvents API request.

type GetRelationalDatabaseEventsResponse

type GetRelationalDatabaseEventsResponse struct {
	*GetRelationalDatabaseEventsOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseEventsResponse is the response type for the GetRelationalDatabaseEvents API operation.

func (*GetRelationalDatabaseEventsResponse) SDKResponseMetdata

func (r *GetRelationalDatabaseEventsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseEvents request.

type GetRelationalDatabaseInput

type GetRelationalDatabaseInput struct {

	// The name of the database that you are looking up.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseInput) String

String returns the string representation

func (*GetRelationalDatabaseInput) Validate

func (s *GetRelationalDatabaseInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetRelationalDatabaseLogEventsInput

type GetRelationalDatabaseLogEventsInput struct {

	// The end of the time interval from which to get log events.
	//
	// Constraints:
	//
	//    * Specified in Coordinated Universal Time (UTC).
	//
	//    * Specified in the Unix time format. For example, if you wish to use an
	//    end time of October 1, 2018, at 8 PM UTC, then you input 1538424000 as
	//    the end time.
	EndTime *time.Time `locationName:"endTime" type:"timestamp"`

	// The name of the log stream.
	//
	// Use the get relational database log streams operation to get a list of available
	// log streams.
	//
	// LogStreamName is a required field
	LogStreamName *string `locationName:"logStreamName" type:"string" required:"true"`

	// The token to advance to the next or previous page of results from your request.
	//
	// To get a page token, perform an initial GetRelationalDatabaseLogEvents request.
	// If your results are paginated, the response will return a next forward token
	// and/or next backward token that you can specify as the page token in a subsequent
	// request.
	PageToken *string `locationName:"pageToken" type:"string"`

	// The name of your database for which to get log events.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`

	// Parameter to specify if the log should start from head or tail. If true is
	// specified, the log event starts from the head of the log. If false is specified,
	// the log event starts from the tail of the log.
	//
	// For PostgreSQL, the default value of false is the only option available.
	StartFromHead *bool `locationName:"startFromHead" type:"boolean"`

	// The start of the time interval from which to get log events.
	//
	// Constraints:
	//
	//    * Specified in Coordinated Universal Time (UTC).
	//
	//    * Specified in the Unix time format. For example, if you wish to use a
	//    start time of October 1, 2018, at 8 PM UTC, then you input 1538424000
	//    as the start time.
	StartTime *time.Time `locationName:"startTime" type:"timestamp"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseLogEventsInput) String

String returns the string representation

func (*GetRelationalDatabaseLogEventsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetRelationalDatabaseLogEventsOutput

type GetRelationalDatabaseLogEventsOutput struct {

	// A token used for advancing to the previous page of results from your get
	// relational database log events request.
	NextBackwardToken *string `locationName:"nextBackwardToken" type:"string"`

	// A token used for advancing to the next page of results from your get relational
	// database log events request.
	NextForwardToken *string `locationName:"nextForwardToken" type:"string"`

	// An object describing the result of your get relational database log events
	// request.
	ResourceLogEvents []LogEvent `locationName:"resourceLogEvents" type:"list"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseLogEventsOutput) String

String returns the string representation

type GetRelationalDatabaseLogEventsRequest

type GetRelationalDatabaseLogEventsRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseLogEventsInput
	Copy  func(*GetRelationalDatabaseLogEventsInput) GetRelationalDatabaseLogEventsRequest
}

GetRelationalDatabaseLogEventsRequest is the request type for the GetRelationalDatabaseLogEvents API operation.

func (GetRelationalDatabaseLogEventsRequest) Send

Send marshals and sends the GetRelationalDatabaseLogEvents API request.

type GetRelationalDatabaseLogEventsResponse

type GetRelationalDatabaseLogEventsResponse struct {
	*GetRelationalDatabaseLogEventsOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseLogEventsResponse is the response type for the GetRelationalDatabaseLogEvents API operation.

func (*GetRelationalDatabaseLogEventsResponse) SDKResponseMetdata

func (r *GetRelationalDatabaseLogEventsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseLogEvents request.

type GetRelationalDatabaseLogStreamsInput

type GetRelationalDatabaseLogStreamsInput struct {

	// The name of your database for which to get log streams.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseLogStreamsInput) String

String returns the string representation

func (*GetRelationalDatabaseLogStreamsInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetRelationalDatabaseLogStreamsOutput

type GetRelationalDatabaseLogStreamsOutput struct {

	// An object describing the result of your get relational database log streams
	// request.
	LogStreams []string `locationName:"logStreams" type:"list"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseLogStreamsOutput) String

String returns the string representation

type GetRelationalDatabaseLogStreamsRequest

type GetRelationalDatabaseLogStreamsRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseLogStreamsInput
	Copy  func(*GetRelationalDatabaseLogStreamsInput) GetRelationalDatabaseLogStreamsRequest
}

GetRelationalDatabaseLogStreamsRequest is the request type for the GetRelationalDatabaseLogStreams API operation.

func (GetRelationalDatabaseLogStreamsRequest) Send

Send marshals and sends the GetRelationalDatabaseLogStreams API request.

type GetRelationalDatabaseLogStreamsResponse

type GetRelationalDatabaseLogStreamsResponse struct {
	*GetRelationalDatabaseLogStreamsOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseLogStreamsResponse is the response type for the GetRelationalDatabaseLogStreams API operation.

func (*GetRelationalDatabaseLogStreamsResponse) SDKResponseMetdata

func (r *GetRelationalDatabaseLogStreamsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseLogStreams request.

type GetRelationalDatabaseMasterUserPasswordInput

type GetRelationalDatabaseMasterUserPasswordInput struct {

	// The password version to return.
	//
	// Specifying CURRENT or PREVIOUS returns the current or previous passwords
	// respectively. Specifying PENDING returns the newest version of the password
	// that will rotate to CURRENT. After the PENDING password rotates to CURRENT,
	// the PENDING password is no longer available.
	//
	// Default: CURRENT
	PasswordVersion RelationalDatabasePasswordVersion `locationName:"passwordVersion" type:"string" enum:"true"`

	// The name of your database for which to get the master user password.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseMasterUserPasswordInput) String

String returns the string representation

func (*GetRelationalDatabaseMasterUserPasswordInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetRelationalDatabaseMasterUserPasswordOutput

type GetRelationalDatabaseMasterUserPasswordOutput struct {

	// The timestamp when the specified version of the master user password was
	// created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The master user password for the password version specified.
	MasterUserPassword *string `locationName:"masterUserPassword" type:"string" sensitive:"true"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseMasterUserPasswordOutput) String

String returns the string representation

type GetRelationalDatabaseMasterUserPasswordRequest

GetRelationalDatabaseMasterUserPasswordRequest is the request type for the GetRelationalDatabaseMasterUserPassword API operation.

func (GetRelationalDatabaseMasterUserPasswordRequest) Send

Send marshals and sends the GetRelationalDatabaseMasterUserPassword API request.

type GetRelationalDatabaseMasterUserPasswordResponse

type GetRelationalDatabaseMasterUserPasswordResponse struct {
	*GetRelationalDatabaseMasterUserPasswordOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseMasterUserPasswordResponse is the response type for the GetRelationalDatabaseMasterUserPassword API operation.

func (*GetRelationalDatabaseMasterUserPasswordResponse) SDKResponseMetdata

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseMasterUserPassword request.

type GetRelationalDatabaseMetricDataInput

type GetRelationalDatabaseMetricDataInput struct {

	// The end of the time interval from which to get metric data.
	//
	// Constraints:
	//
	//    * Specified in Coordinated Universal Time (UTC).
	//
	//    * Specified in the Unix time format. For example, if you wish to use an
	//    end time of October 1, 2018, at 8 PM UTC, then you input 1538424000 as
	//    the end time.
	//
	// EndTime is a required field
	EndTime *time.Time `locationName:"endTime" type:"timestamp" required:"true"`

	// The metric for which you want to return information.
	//
	// Valid relational database metric names are listed below, along with the most
	// useful statistics to include in your request, and the published unit value.
	// All relational database metric data is available in 1-minute (60 seconds)
	// granularity.
	//
	//    * CPUUtilization - The percentage of CPU utilization currently in use
	//    on the database. Statistics: The most useful statistics are Maximum and
	//    Average. Unit: The published unit is Percent.
	//
	//    * DatabaseConnections - The number of database connections in use. Statistics:
	//    The most useful statistics are Maximum and Sum. Unit: The published unit
	//    is Count.
	//
	//    * DiskQueueDepth - The number of outstanding IOs (read/write requests)
	//    that are waiting to access the disk. Statistics: The most useful statistic
	//    is Sum. Unit: The published unit is Count.
	//
	//    * FreeStorageSpace - The amount of available storage space. Statistics:
	//    The most useful statistic is Sum. Unit: The published unit is Bytes.
	//
	//    * NetworkReceiveThroughput - The incoming (Receive) network traffic on
	//    the database, including both customer database traffic and AWS traffic
	//    used for monitoring and replication. Statistics: The most useful statistic
	//    is Average. Unit: The published unit is Bytes/Second.
	//
	//    * NetworkTransmitThroughput - The outgoing (Transmit) network traffic
	//    on the database, including both customer database traffic and AWS traffic
	//    used for monitoring and replication. Statistics: The most useful statistic
	//    is Average. Unit: The published unit is Bytes/Second.
	//
	// MetricName is a required field
	MetricName RelationalDatabaseMetricName `locationName:"metricName" type:"string" required:"true" enum:"true"`

	// The granularity, in seconds, of the returned data points.
	//
	// All relational database metric data is available in 1-minute (60 seconds)
	// granularity.
	//
	// Period is a required field
	Period *int64 `locationName:"period" min:"60" type:"integer" required:"true"`

	// The name of your database from which to get metric data.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`

	// The start of the time interval from which to get metric data.
	//
	// Constraints:
	//
	//    * Specified in Coordinated Universal Time (UTC).
	//
	//    * Specified in the Unix time format. For example, if you wish to use a
	//    start time of October 1, 2018, at 8 PM UTC, then you input 1538424000
	//    as the start time.
	//
	// StartTime is a required field
	StartTime *time.Time `locationName:"startTime" type:"timestamp" required:"true"`

	// The statistic for the metric.
	//
	// The following statistics are available:
	//
	//    * Minimum - The lowest value observed during the specified period. Use
	//    this value to determine low volumes of activity for your application.
	//
	//    * Maximum - The highest value observed during the specified period. Use
	//    this value to determine high volumes of activity for your application.
	//
	//    * Sum - All values submitted for the matching metric added together. You
	//    can use this statistic to determine the total volume of a metric.
	//
	//    * Average - The value of Sum / SampleCount during the specified period.
	//    By comparing this statistic with the Minimum and Maximum values, you can
	//    determine the full scope of a metric and how close the average use is
	//    to the Minimum and Maximum values. This comparison helps you to know when
	//    to increase or decrease your resources.
	//
	//    * SampleCount - The count, or number, of data points used for the statistical
	//    calculation.
	//
	// Statistics is a required field
	Statistics []MetricStatistic `locationName:"statistics" type:"list" required:"true"`

	// The unit for the metric data request. Valid units depend on the metric data
	// being required. For the valid units with each available metric, see the metricName
	// parameter.
	//
	// Unit is a required field
	Unit MetricUnit `locationName:"unit" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseMetricDataInput) String

String returns the string representation

func (*GetRelationalDatabaseMetricDataInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetRelationalDatabaseMetricDataOutput

type GetRelationalDatabaseMetricDataOutput struct {

	// An object describing the result of your get relational database metric data
	// request.
	MetricData []MetricDatapoint `locationName:"metricData" type:"list"`

	// The name of the metric.
	MetricName RelationalDatabaseMetricName `locationName:"metricName" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseMetricDataOutput) String

String returns the string representation

type GetRelationalDatabaseMetricDataRequest

type GetRelationalDatabaseMetricDataRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseMetricDataInput
	Copy  func(*GetRelationalDatabaseMetricDataInput) GetRelationalDatabaseMetricDataRequest
}

GetRelationalDatabaseMetricDataRequest is the request type for the GetRelationalDatabaseMetricData API operation.

func (GetRelationalDatabaseMetricDataRequest) Send

Send marshals and sends the GetRelationalDatabaseMetricData API request.

type GetRelationalDatabaseMetricDataResponse

type GetRelationalDatabaseMetricDataResponse struct {
	*GetRelationalDatabaseMetricDataOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseMetricDataResponse is the response type for the GetRelationalDatabaseMetricData API operation.

func (*GetRelationalDatabaseMetricDataResponse) SDKResponseMetdata

func (r *GetRelationalDatabaseMetricDataResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseMetricData request.

type GetRelationalDatabaseOutput

type GetRelationalDatabaseOutput struct {

	// An object describing the specified database.
	RelationalDatabase *RelationalDatabase `locationName:"relationalDatabase" type:"structure"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseOutput) String

String returns the string representation

type GetRelationalDatabaseParametersInput

type GetRelationalDatabaseParametersInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetRelationalDatabaseParameters request.
	// If your results are paginated, the response will return a next page token
	// that you can specify as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`

	// The name of your database for which to get parameters.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseParametersInput) String

String returns the string representation

func (*GetRelationalDatabaseParametersInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetRelationalDatabaseParametersOutput

type GetRelationalDatabaseParametersOutput struct {

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetRelationalDatabaseParameters
	// request and specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`

	// An object describing the result of your get relational database parameters
	// request.
	Parameters []RelationalDatabaseParameter `locationName:"parameters" type:"list"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseParametersOutput) String

String returns the string representation

type GetRelationalDatabaseParametersRequest

type GetRelationalDatabaseParametersRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseParametersInput
	Copy  func(*GetRelationalDatabaseParametersInput) GetRelationalDatabaseParametersRequest
}

GetRelationalDatabaseParametersRequest is the request type for the GetRelationalDatabaseParameters API operation.

func (GetRelationalDatabaseParametersRequest) Send

Send marshals and sends the GetRelationalDatabaseParameters API request.

type GetRelationalDatabaseParametersResponse

type GetRelationalDatabaseParametersResponse struct {
	*GetRelationalDatabaseParametersOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseParametersResponse is the response type for the GetRelationalDatabaseParameters API operation.

func (*GetRelationalDatabaseParametersResponse) SDKResponseMetdata

func (r *GetRelationalDatabaseParametersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseParameters request.

type GetRelationalDatabaseRequest

type GetRelationalDatabaseRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseInput
	Copy  func(*GetRelationalDatabaseInput) GetRelationalDatabaseRequest
}

GetRelationalDatabaseRequest is the request type for the GetRelationalDatabase API operation.

func (GetRelationalDatabaseRequest) Send

Send marshals and sends the GetRelationalDatabase API request.

type GetRelationalDatabaseResponse

type GetRelationalDatabaseResponse struct {
	*GetRelationalDatabaseOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseResponse is the response type for the GetRelationalDatabase API operation.

func (*GetRelationalDatabaseResponse) SDKResponseMetdata

func (r *GetRelationalDatabaseResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRelationalDatabase request.

type GetRelationalDatabaseSnapshotInput

type GetRelationalDatabaseSnapshotInput struct {

	// The name of the database snapshot for which to get information.
	//
	// RelationalDatabaseSnapshotName is a required field
	RelationalDatabaseSnapshotName *string `locationName:"relationalDatabaseSnapshotName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseSnapshotInput) String

String returns the string representation

func (*GetRelationalDatabaseSnapshotInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type GetRelationalDatabaseSnapshotOutput

type GetRelationalDatabaseSnapshotOutput struct {

	// An object describing the specified database snapshot.
	RelationalDatabaseSnapshot *RelationalDatabaseSnapshot `locationName:"relationalDatabaseSnapshot" type:"structure"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseSnapshotOutput) String

String returns the string representation

type GetRelationalDatabaseSnapshotRequest

type GetRelationalDatabaseSnapshotRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseSnapshotInput
	Copy  func(*GetRelationalDatabaseSnapshotInput) GetRelationalDatabaseSnapshotRequest
}

GetRelationalDatabaseSnapshotRequest is the request type for the GetRelationalDatabaseSnapshot API operation.

func (GetRelationalDatabaseSnapshotRequest) Send

Send marshals and sends the GetRelationalDatabaseSnapshot API request.

type GetRelationalDatabaseSnapshotResponse

type GetRelationalDatabaseSnapshotResponse struct {
	*GetRelationalDatabaseSnapshotOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseSnapshotResponse is the response type for the GetRelationalDatabaseSnapshot API operation.

func (*GetRelationalDatabaseSnapshotResponse) SDKResponseMetdata

func (r *GetRelationalDatabaseSnapshotResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseSnapshot request.

type GetRelationalDatabaseSnapshotsInput

type GetRelationalDatabaseSnapshotsInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetRelationalDatabaseSnapshots request.
	// If your results are paginated, the response will return a next page token
	// that you can specify as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseSnapshotsInput) String

String returns the string representation

type GetRelationalDatabaseSnapshotsOutput

type GetRelationalDatabaseSnapshotsOutput struct {

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetRelationalDatabaseSnapshots
	// request and specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`

	// An object describing the result of your get relational database snapshots
	// request.
	RelationalDatabaseSnapshots []RelationalDatabaseSnapshot `locationName:"relationalDatabaseSnapshots" type:"list"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabaseSnapshotsOutput) String

String returns the string representation

type GetRelationalDatabaseSnapshotsRequest

type GetRelationalDatabaseSnapshotsRequest struct {
	*aws.Request
	Input *GetRelationalDatabaseSnapshotsInput
	Copy  func(*GetRelationalDatabaseSnapshotsInput) GetRelationalDatabaseSnapshotsRequest
}

GetRelationalDatabaseSnapshotsRequest is the request type for the GetRelationalDatabaseSnapshots API operation.

func (GetRelationalDatabaseSnapshotsRequest) Send

Send marshals and sends the GetRelationalDatabaseSnapshots API request.

type GetRelationalDatabaseSnapshotsResponse

type GetRelationalDatabaseSnapshotsResponse struct {
	*GetRelationalDatabaseSnapshotsOutput
	// contains filtered or unexported fields
}

GetRelationalDatabaseSnapshotsResponse is the response type for the GetRelationalDatabaseSnapshots API operation.

func (*GetRelationalDatabaseSnapshotsResponse) SDKResponseMetdata

func (r *GetRelationalDatabaseSnapshotsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRelationalDatabaseSnapshots request.

type GetRelationalDatabasesInput

type GetRelationalDatabasesInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetRelationalDatabases request. If
	// your results are paginated, the response will return a next page token that
	// you can specify as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabasesInput) String

String returns the string representation

type GetRelationalDatabasesOutput

type GetRelationalDatabasesOutput struct {

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetRelationalDatabases request
	// and specify the next page token using the pageToken parameter.
	NextPageToken *string `locationName:"nextPageToken" type:"string"`

	// An object describing the result of your get relational databases request.
	RelationalDatabases []RelationalDatabase `locationName:"relationalDatabases" type:"list"`
	// contains filtered or unexported fields
}

func (GetRelationalDatabasesOutput) String

String returns the string representation

type GetRelationalDatabasesRequest

type GetRelationalDatabasesRequest struct {
	*aws.Request
	Input *GetRelationalDatabasesInput
	Copy  func(*GetRelationalDatabasesInput) GetRelationalDatabasesRequest
}

GetRelationalDatabasesRequest is the request type for the GetRelationalDatabases API operation.

func (GetRelationalDatabasesRequest) Send

Send marshals and sends the GetRelationalDatabases API request.

type GetRelationalDatabasesResponse

type GetRelationalDatabasesResponse struct {
	*GetRelationalDatabasesOutput
	// contains filtered or unexported fields
}

GetRelationalDatabasesResponse is the response type for the GetRelationalDatabases API operation.

func (*GetRelationalDatabasesResponse) SDKResponseMetdata

func (r *GetRelationalDatabasesResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetRelationalDatabases request.

type GetStaticIpInput

type GetStaticIpInput struct {

	// The name of the static IP in Lightsail.
	//
	// StaticIpName is a required field
	StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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
}

func (GetStaticIpOutput) String

func (s GetStaticIpOutput) String() string

String returns the string representation

type GetStaticIpRequest

type GetStaticIpRequest struct {
	*aws.Request
	Input *GetStaticIpInput
	Copy  func(*GetStaticIpInput) GetStaticIpRequest
}

GetStaticIpRequest is the request type for the GetStaticIp API operation.

func (GetStaticIpRequest) Send

Send marshals and sends the GetStaticIp API request.

type GetStaticIpResponse

type GetStaticIpResponse struct {
	*GetStaticIpOutput
	// contains filtered or unexported fields
}

GetStaticIpResponse is the response type for the GetStaticIp API operation.

func (*GetStaticIpResponse) SDKResponseMetdata

func (r *GetStaticIpResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetStaticIp request.

type GetStaticIpsInput

type GetStaticIpsInput struct {

	// The token to advance to the next page of results from your request.
	//
	// To get a page token, perform an initial GetStaticIps request. If your results
	// are paginated, the response will return a next page token that you can specify
	// as the page token in a subsequent request.
	PageToken *string `locationName:"pageToken" type:"string"`
	// contains filtered or unexported fields
}

func (GetStaticIpsInput) String

func (s GetStaticIpsInput) String() string

String returns the string representation

type GetStaticIpsOutput

type GetStaticIpsOutput struct {

	// The token to advance to the next page of resutls from your request.
	//
	// A next page token is not returned if there are no more results to display.
	//
	// To get the next page of results, perform another GetStaticIps request and
	// specify the next page token using the pageToken parameter.
	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
}

func (GetStaticIpsOutput) String

func (s GetStaticIpsOutput) String() string

String returns the string representation

type GetStaticIpsRequest

type GetStaticIpsRequest struct {
	*aws.Request
	Input *GetStaticIpsInput
	Copy  func(*GetStaticIpsInput) GetStaticIpsRequest
}

GetStaticIpsRequest is the request type for the GetStaticIps API operation.

func (GetStaticIpsRequest) Send

Send marshals and sends the GetStaticIps API request.

type GetStaticIpsResponse

type GetStaticIpsResponse struct {
	*GetStaticIpsOutput
	// contains filtered or unexported fields
}

GetStaticIpsResponse is the response type for the GetStaticIps API operation.

func (*GetStaticIpsResponse) SDKResponseMetdata

func (r *GetStaticIpsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the GetStaticIps request.

type HostKeyAttributes

type HostKeyAttributes struct {

	// The SSH host key algorithm or the RDP certificate format.
	//
	// For SSH host keys, the algorithm may be ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519,
	// etc. For RDP certificates, the algorithm is always x509-cert.
	Algorithm *string `locationName:"algorithm" type:"string"`

	// The SHA-1 fingerprint of the returned SSH host key or RDP certificate.
	//
	//    * Example of an SHA-1 SSH fingerprint: SHA1:1CHH6FaAaXjtFOsR/t83vf91SR0
	//
	//    * Example of an SHA-1 RDP fingerprint: af:34:51:fe:09:f0:e0:da:b8:4e:56:ca:60:c2:10:ff:38:06:db:45
	FingerprintSHA1 *string `locationName:"fingerprintSHA1" type:"string"`

	// The SHA-256 fingerprint of the returned SSH host key or RDP certificate.
	//
	//    * Example of an SHA-256 SSH fingerprint: SHA256:KTsMnRBh1IhD17HpdfsbzeGA4jOijm5tyXsMjKVbB8o
	//
	//    * Example of an SHA-256 RDP fingerprint: 03:9b:36:9f:4b:de:4e:61:70:fc:7c:c9:78:e7:d2:1a:1c:25:a8:0c:91:f6:7c:e4:d6:a0:85:c8:b4:53:99:68
	FingerprintSHA256 *string `locationName:"fingerprintSHA256" type:"string"`

	// The returned RDP certificate is not valid after this point in time.
	//
	// This value is listed only for RDP certificates.
	NotValidAfter *time.Time `locationName:"notValidAfter" type:"timestamp"`

	// The returned RDP certificate is valid after this point in time.
	//
	// This value is listed only for RDP certificates.
	NotValidBefore *time.Time `locationName:"notValidBefore" type:"timestamp"`

	// The public SSH host key or the RDP certificate.
	PublicKey *string `locationName:"publicKey" type:"string"`

	// The time that the SSH host key or RDP certificate was recorded by Lightsail.
	WitnessedAt *time.Time `locationName:"witnessedAt" type:"timestamp"`
	// contains filtered or unexported fields
}

Describes the public SSH host keys or the RDP certificate.

func (HostKeyAttributes) String

func (s HostKeyAttributes) String() string

String returns the string representation

type ImportKeyPairInput

type ImportKeyPairInput struct {

	// The name of the key pair for which you want to import the public key.
	//
	// KeyPairName is a required field
	KeyPairName *string `locationName:"keyPairName" type:"string" required:"true"`

	// A base64-encoded public key of the ssh-rsa type.
	//
	// PublicKeyBase64 is a required field
	PublicKeyBase64 *string `locationName:"publicKeyBase64" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

func (ImportKeyPairOutput) String

func (s ImportKeyPairOutput) String() string

String returns the string representation

type ImportKeyPairRequest

type ImportKeyPairRequest struct {
	*aws.Request
	Input *ImportKeyPairInput
	Copy  func(*ImportKeyPairInput) ImportKeyPairRequest
}

ImportKeyPairRequest is the request type for the ImportKeyPair API operation.

func (ImportKeyPairRequest) Send

Send marshals and sends the ImportKeyPair API request.

type ImportKeyPairResponse

type ImportKeyPairResponse struct {
	*ImportKeyPairOutput
	// contains filtered or unexported fields
}

ImportKeyPairResponse is the response type for the ImportKeyPair API operation.

func (*ImportKeyPairResponse) SDKResponseMetdata

func (r *ImportKeyPairResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ImportKeyPair request.

type Instance

type Instance struct {

	// An array of objects representing the add-ons enabled on the instance.
	AddOns []AddOn `locationName:"addOns" type:"list"`

	// 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"`

	// The size of the vCPU and the amount of RAM for the instance.
	Hardware *InstanceHardware `locationName:"hardware" type:"structure"`

	// The IPv6 address of the instance.
	Ipv6Address *string `locationName:"ipv6Address" type:"string"`

	// A Boolean value indicating whether this instance has a static IP assigned
	// to it.
	IsStaticIp *bool `locationName:"isStaticIp" type:"boolean"`

	// The region name and Availability Zone where the instance is located.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name the user gave the instance (e.g., Amazon_Linux-1GB-Ohio-1).
	Name *string `locationName:"name" type:"string"`

	// Information about the public ports and monthly data transfer rates for the
	// instance.
	Networking *InstanceNetworking `locationName:"networking" type:"structure"`

	// The private IP address of the instance.
	PrivateIpAddress *string `locationName:"privateIpAddress" type:"string"`

	// The public IP address of the instance.
	PublicIpAddress *string `locationName:"publicIpAddress" type:"string"`

	// The type of resource (usually Instance).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The name of the SSH key being used to connect to the instance (e.g., LightsailDefaultKeyPair).
	SshKeyName *string `locationName:"sshKeyName" type:"string"`

	// The status code and the state (e.g., running) for the instance.
	State *InstanceState `locationName:"state" type:"structure"`

	// The support code. Include this code in your email to support when you have
	// questions about an instance or another resource in Lightsail. This code enables
	// our support team to look up your Lightsail information more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`

	// The user name for connecting to the instance (e.g., ec2-user).
	Username *string `locationName:"username" type:"string"`
	// contains filtered or unexported fields
}

Describes an instance (a virtual private server).

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"`

	// Describes the public SSH host keys or the RDP certificate.
	HostKeys []HostKeyAttributes `locationName:"hostKeys" type:"list"`

	// The name of this Amazon Lightsail instance.
	InstanceName *string `locationName:"instanceName" type:"string"`

	// The public IP address of the Amazon Lightsail instance.
	IpAddress *string `locationName:"ipAddress" type:"string"`

	// For RDP access, the password for your Amazon Lightsail instance. Password
	// will be an empty string if the password for your new instance is not ready
	// yet. When you create an instance, it can take up to 15 minutes for the instance
	// to be ready.
	//
	// If you create an instance using any key pair other than the default (LightsailDefaultKeyPair),
	// password will always be an empty string.
	//
	// If you change the Administrator password on the instance, Lightsail will
	// continue to return the original password value. When accessing the instance
	// using RDP, you need to manually enter the Administrator password after changing
	// it from the default.
	Password *string `locationName:"password" type:"string"`

	// For a Windows Server-based instance, an object with the data you can use
	// to retrieve your password. This is only needed if password is empty and the
	// instance is not new (and therefore the password is not ready yet). When you
	// create an instance, it can take up to 15 minutes for the instance to be ready.
	PasswordData *PasswordData `locationName:"passwordData" type:"structure"`

	// For SSH access, the temporary private key. For OpenSSH clients (e.g., command
	// line SSH), you should save this value to tempkey).
	PrivateKey *string `locationName:"privateKey" type:"string"`

	// The protocol for these Amazon Lightsail instance access details.
	Protocol InstanceAccessProtocol `locationName:"protocol" type:"string" enum:"true"`

	// The user name to use when logging in to the Amazon Lightsail instance.
	Username *string `locationName:"username" type:"string"`
	// contains filtered or unexported fields
}

The parameters for gaining temporary access to one of your Amazon Lightsail instances.

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

func (enum InstanceAccessProtocol) MarshalValue() (string, error)

func (InstanceAccessProtocol) MarshalValueBuf

func (enum InstanceAccessProtocol) MarshalValueBuf(b []byte) ([]byte, error)

type InstanceEntry

type InstanceEntry struct {

	// The Availability Zone for the new Amazon EC2 instance.
	//
	// AvailabilityZone is a required field
	AvailabilityZone *string `locationName:"availabilityZone" type:"string" required:"true"`

	// The instance type (e.g., t2.micro) to use for the new Amazon EC2 instance.
	//
	// InstanceType is a required field
	InstanceType *string `locationName:"instanceType" type:"string" required:"true"`

	// The port configuration to use for the new Amazon EC2 instance.
	//
	// The following configuration options are available:
	//
	//    * DEFAULT - Use the default firewall settings from the Lightsail instance
	//    blueprint.
	//
	//    * INSTANCE - Use the configured firewall settings from the source Lightsail
	//    instance.
	//
	//    * NONE - Use the default Amazon EC2 security group.
	//
	//    * CLOSED - All ports closed.
	//
	// If you configured lightsail-connect as a cidrListAliases on your instance,
	// or if you chose to allow the Lightsail browser-based SSH or RDP clients to
	// connect to your instance, that configuration is not carried over to your
	// new Amazon EC2 instance.
	//
	// PortInfoSource is a required field
	PortInfoSource PortInfoSourceType `locationName:"portInfoSource" type:"string" required:"true" enum:"true"`

	// The name of the export snapshot record, which contains the exported Lightsail
	// instance snapshot that will be used as the source of the new Amazon EC2 instance.
	//
	// Use the get export snapshot records operation to get a list of export snapshot
	// records that you can use to create a CloudFormation stack.
	//
	// SourceName is a required field
	SourceName *string `locationName:"sourceName" type:"string" required:"true"`

	// A launch script you can create that configures a server with additional user
	// data. For example, you might want to run apt-get -y update.
	//
	// Depending on the machine image you choose, the command to get software on
	// your instance varies. Amazon Linux and CentOS use yum, Debian and Ubuntu
	// use apt-get, and FreeBSD uses pkg.
	UserData *string `locationName:"userData" type:"string"`
	// contains filtered or unexported fields
}

Describes the Amazon Elastic Compute Cloud instance and related resources to be created using the create cloud formation stack operation.

func (InstanceEntry) String

func (s InstanceEntry) String() string

String returns the string representation

func (*InstanceEntry) Validate

func (s *InstanceEntry) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type InstanceHardware

type InstanceHardware struct {

	// The number of vCPUs the instance has.
	CpuCount *int64 `locationName:"cpuCount" type:"integer"`

	// The disks attached to the instance.
	Disks []Disk `locationName:"disks" type:"list"`

	// The amount of RAM in GB on the instance (e.g., 1.0).
	RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"`
	// contains filtered or unexported fields
}

Describes the hardware for the instance.

func (InstanceHardware) String

func (s InstanceHardware) String() string

String returns the string representation

type InstanceHealthReason

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

func (enum InstanceHealthReason) MarshalValue() (string, error)

func (InstanceHealthReason) MarshalValueBuf

func (enum InstanceHealthReason) MarshalValueBuf(b []byte) ([]byte, error)

type InstanceHealthState

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

func (enum InstanceHealthState) MarshalValue() (string, error)

func (InstanceHealthState) MarshalValueBuf

func (enum InstanceHealthState) MarshalValueBuf(b []byte) ([]byte, error)

type InstanceHealthSummary

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.

func (InstanceHealthSummary) String

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

func (enum InstanceMetricName) MarshalValue() (string, error)

func (InstanceMetricName) MarshalValueBuf

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.

func (InstanceNetworking) String

func (s InstanceNetworking) String() string

String returns the string representation

type InstancePlatform

type InstancePlatform string
const (
	InstancePlatformLinuxUnix InstancePlatform = "LINUX_UNIX"
	InstancePlatformWindows   InstancePlatform = "WINDOWS"
)

Enum values for InstancePlatform

func (InstancePlatform) MarshalValue

func (enum InstancePlatform) MarshalValue() (string, error)

func (InstancePlatform) MarshalValueBuf

func (enum InstancePlatform) MarshalValueBuf(b []byte) ([]byte, error)

type InstancePortInfo

type InstancePortInfo struct {

	// The access direction (inbound or outbound).
	//
	// Lightsail currently supports only inbound access direction.
	AccessDirection AccessDirection `locationName:"accessDirection" type:"string" enum:"true"`

	// The location from which access is allowed. For example, Anywhere (0.0.0.0/0),
	// or Custom if a specific IP address or range of IP addresses is allowed.
	AccessFrom *string `locationName:"accessFrom" type:"string"`

	// The type of access (Public or Private).
	AccessType PortAccessType `locationName:"accessType" type:"string" enum:"true"`

	// An alias that defines access for a preconfigured range of IP addresses.
	//
	// The only alias currently supported is lightsail-connect, which allows IP
	// addresses of the browser-based RDP/SSH client in the Lightsail console to
	// connect to your instance.
	CidrListAliases []string `locationName:"cidrListAliases" type:"list"`

	// The IP address, or range of IP addresses in CIDR notation, that are allowed
	// to connect to an instance through the ports, and the protocol. Lightsail
	// supports IPv4 addresses.
	//
	// For more information about CIDR block notation, see Classless Inter-Domain
	// Routing (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)
	// on Wikipedia.
	Cidrs []string `locationName:"cidrs" type:"list"`

	// The common name of the port information.
	CommonName *string `locationName:"commonName" type:"string"`

	// The first port in a range of open ports on an instance.
	//
	// Allowed ports:
	//
	//    * TCP and UDP - 0 to 65535
	//
	//    * ICMP - 8 (to configure Ping) Ping is the only communication supported
	//    through the ICMP protocol in Lightsail. To configure ping, specify the
	//    fromPort parameter as 8, and the toPort parameter as -1.
	FromPort *int64 `locationName:"fromPort" type:"integer"`

	// The IP protocol name.
	//
	// The name 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.
	//
	//    * icmp - Internet Control Message Protocol (ICMP) is used to send error
	//    messages and operational information indicating success or failure when
	//    communicating with an instance. For example, an error is indicated when
	//    an instance could not be reached. Ping is the only communication supported
	//    through the ICMP protocol in Lightsail. To configure ping, specify the
	//    fromPort parameter as 8, and the toPort parameter as -1.
	Protocol NetworkProtocol `locationName:"protocol" type:"string" enum:"true"`

	// The last port in a range of open ports on an instance.
	//
	// Allowed ports:
	//
	//    * TCP and UDP - 0 to 65535
	//
	//    * ICMP - -1 (to configure Ping) Ping is the only communication supported
	//    through the ICMP protocol in Lightsail. To configure ping, specify the
	//    fromPort parameter as 8, and the toPort parameter as -1.
	ToPort *int64 `locationName:"toPort" type:"integer"`
	// contains filtered or unexported fields
}

Describes information about ports for an Amazon Lightsail instance.

func (InstancePortInfo) String

func (s InstancePortInfo) String() string

String returns the string representation

type InstancePortState

type InstancePortState struct {

	// An alias that defines access for a preconfigured range of IP addresses.
	//
	// The only alias currently supported is lightsail-connect, which allows IP
	// addresses of the browser-based RDP/SSH client in the Lightsail console to
	// connect to your instance.
	CidrListAliases []string `locationName:"cidrListAliases" type:"list"`

	// The IP address, or range of IP addresses in CIDR notation, that are allowed
	// to connect to an instance through the ports, and the protocol. Lightsail
	// supports IPv4 addresses.
	//
	// For more information about CIDR block notation, see Classless Inter-Domain
	// Routing (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)
	// on Wikipedia.
	Cidrs []string `locationName:"cidrs" type:"list"`

	// The first port in a range of open ports on an instance.
	//
	// Allowed ports:
	//
	//    * TCP and UDP - 0 to 65535
	//
	//    * ICMP - 8 (to configure Ping) Ping is the only communication supported
	//    through the ICMP protocol in Lightsail. To configure ping, specify the
	//    fromPort parameter as 8, and the toPort parameter as -1.
	FromPort *int64 `locationName:"fromPort" type:"integer"`

	// The IP protocol name.
	//
	// The name 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.
	//
	//    * icmp - Internet Control Message Protocol (ICMP) is used to send error
	//    messages and operational information indicating success or failure when
	//    communicating with an instance. For example, an error is indicated when
	//    an instance could not be reached. Ping is the only communication supported
	//    through the ICMP protocol in Lightsail. To configure ping, specify the
	//    fromPort parameter as 8, and the toPort parameter as -1.
	Protocol NetworkProtocol `locationName:"protocol" type:"string" enum:"true"`

	// Specifies whether the instance port is open or closed.
	//
	// The port state for Lightsail instances is always open.
	State PortState `locationName:"state" type:"string" enum:"true"`

	// The last port in a range of open ports on an instance.
	//
	// Allowed ports:
	//
	//    * TCP and UDP - 0 to 65535
	//
	//    * ICMP - -1 (to configure Ping) Ping is the only communication supported
	//    through the ICMP protocol in Lightsail. To configure ping, specify the
	//    fromPort parameter as 8, and the toPort parameter as -1.
	ToPort *int64 `locationName:"toPort" type:"integer"`
	// contains filtered or unexported fields
}

Describes open ports on an instance, the IP addresses allowed to connect to the instance through the ports, and the protocol.

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"`

	// 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"`

	// A Boolean value indicating whether the snapshot was created from an automatic
	// snapshot.
	IsFromAutoSnapshot *bool `locationName:"isFromAutoSnapshot" type:"boolean"`

	// The region name and Availability Zone where you created the snapshot.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the snapshot.
	Name *string `locationName:"name" type:"string"`

	// The progress of the snapshot.
	Progress *string `locationName:"progress" type:"string"`

	// The type of resource (usually InstanceSnapshot).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The size in GB of the SSD.
	SizeInGb *int64 `locationName:"sizeInGb" type:"integer"`

	// The state the snapshot is in.
	State InstanceSnapshotState `locationName:"state" type:"string" enum:"true"`

	// The support code. Include this code in your email to support when you have
	// questions about an instance or another resource in Lightsail. This code enables
	// our support team to look up your Lightsail information more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Describes an instance snapshot.

func (InstanceSnapshot) String

func (s InstanceSnapshot) String() string

String returns the string representation

type InstanceSnapshotInfo

type InstanceSnapshotInfo struct {

	// The blueprint ID from which the source instance (e.g., os_debian_8_3).
	FromBlueprintId *string `locationName:"fromBlueprintId" type:"string"`

	// The bundle ID from which the source instance was created (e.g., micro_1_0).
	FromBundleId *string `locationName:"fromBundleId" type:"string"`

	// A list of objects describing the disks that were attached to the source instance.
	FromDiskInfo []DiskInfo `locationName:"fromDiskInfo" type:"list"`
	// contains filtered or unexported fields
}

Describes an instance snapshot.

func (InstanceSnapshotInfo) String

func (s InstanceSnapshotInfo) String() string

String returns the string representation

type InstanceSnapshotState

type InstanceSnapshotState string
const (
	InstanceSnapshotStatePending   InstanceSnapshotState = "pending"
	InstanceSnapshotStateError     InstanceSnapshotState = "error"
	InstanceSnapshotStateAvailable InstanceSnapshotState = "available"
)

Enum values for InstanceSnapshotState

func (InstanceSnapshotState) MarshalValue

func (enum InstanceSnapshotState) MarshalValue() (string, error)

func (InstanceSnapshotState) MarshalValueBuf

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.

func (InstanceState) String

func (s InstanceState) String() string

String returns the string representation

type IsVpcPeeredInput

type IsVpcPeeredInput struct {
	// contains filtered or unexported fields
}

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
}

func (IsVpcPeeredOutput) String

func (s IsVpcPeeredOutput) String() string

String returns the string representation

type IsVpcPeeredRequest

type IsVpcPeeredRequest struct {
	*aws.Request
	Input *IsVpcPeeredInput
	Copy  func(*IsVpcPeeredInput) IsVpcPeeredRequest
}

IsVpcPeeredRequest is the request type for the IsVpcPeered API operation.

func (IsVpcPeeredRequest) Send

Send marshals and sends the IsVpcPeered API request.

type IsVpcPeeredResponse

type IsVpcPeeredResponse struct {
	*IsVpcPeeredOutput
	// contains filtered or unexported fields
}

IsVpcPeeredResponse is the response type for the IsVpcPeered API operation.

func (*IsVpcPeeredResponse) SDKResponseMetdata

func (r *IsVpcPeeredResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the IsVpcPeered request.

type KeyPair

type KeyPair struct {

	// The Amazon Resource Name (ARN) of the key pair (e.g., arn:aws:lightsail:us-east-2:123456789101:KeyPair/05859e3d-331d-48ba-9034-12345EXAMPLE).
	Arn *string `locationName:"arn" type:"string"`

	// The timestamp when the key pair was created (e.g., 1479816991.349).
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The RSA fingerprint of the key pair.
	Fingerprint *string `locationName:"fingerprint" type:"string"`

	// The region name and Availability Zone where the key pair was created.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The friendly name of the SSH key pair.
	Name *string `locationName:"name" type:"string"`

	// The resource type (usually KeyPair).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The support code. Include this code in your email to support when you have
	// questions about an instance or another resource in Lightsail. This code enables
	// our support team to look up your Lightsail information more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Describes the SSH key pair.

func (KeyPair) String

func (s KeyPair) String() string

String returns the string representation

type LoadBalancer

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"`

	// The DNS name of your Lightsail load balancer.
	DnsName *string `locationName:"dnsName" type:"string"`

	// The path you specified to perform your health checks. If no path is specified,
	// the load balancer tries to make a request to the default (root) page.
	HealthCheckPath *string `locationName:"healthCheckPath" type:"string"`

	// An array of InstanceHealthSummary objects describing the health of the load
	// balancer.
	InstanceHealthSummary []InstanceHealthSummary `locationName:"instanceHealthSummary" type:"list"`

	// The port where the load balancer will direct traffic to your Lightsail instances.
	// For HTTP traffic, it's port 80. For HTTPS traffic, it's port 443.
	InstancePort *int64 `locationName:"instancePort" type:"integer"`

	// The AWS Region where your load balancer was created (e.g., us-east-2a). Lightsail
	// automatically creates your load balancer across Availability Zones.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the load balancer (e.g., my-load-balancer).
	Name *string `locationName:"name" type:"string"`

	// The protocol you have enabled for your load balancer. Valid values are below.
	//
	// You can't just have HTTP_HTTPS, but you can have just HTTP.
	Protocol LoadBalancerProtocol `locationName:"protocol" type:"string" enum:"true"`

	// An array of public port settings for your load balancer. For HTTP, use port
	// 80. For HTTPS, use port 443.
	PublicPorts []int64 `locationName:"publicPorts" type:"list"`

	// The resource type (e.g., LoadBalancer.
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The status of your load balancer. Valid values are below.
	State LoadBalancerState `locationName:"state" type:"string" enum:"true"`

	// The support code. Include this code in your email to support when you have
	// questions about your Lightsail load balancer. This code enables our support
	// team to look up your Lightsail information more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`

	// An array of LoadBalancerTlsCertificateSummary objects that provide additional
	// information about the SSL/TLS certificates. For example, if true, the certificate
	// is attached to the load balancer.
	TlsCertificateSummaries []LoadBalancerTlsCertificateSummary `locationName:"tlsCertificateSummaries" type:"list"`
	// contains filtered or unexported fields
}

Describes the Lightsail load balancer.

func (LoadBalancer) String

func (s LoadBalancer) String() string

String returns the string representation

type LoadBalancerAttributeName

type LoadBalancerAttributeName string
const (
	LoadBalancerAttributeNameHealthCheckPath                          LoadBalancerAttributeName = "HealthCheckPath"
	LoadBalancerAttributeNameSessionStickinessEnabled                 LoadBalancerAttributeName = "SessionStickinessEnabled"
	LoadBalancerAttributeNameSessionStickinessLbCookieDurationSeconds LoadBalancerAttributeName = "SessionStickiness_LB_CookieDurationSeconds"
)

Enum values for LoadBalancerAttributeName

func (LoadBalancerAttributeName) MarshalValue

func (enum LoadBalancerAttributeName) MarshalValue() (string, error)

func (LoadBalancerAttributeName) MarshalValueBuf

func (enum LoadBalancerAttributeName) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerMetricName

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

func (enum LoadBalancerMetricName) MarshalValue() (string, error)

func (LoadBalancerMetricName) MarshalValueBuf

func (enum LoadBalancerMetricName) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerProtocol

type LoadBalancerProtocol string
const (
	LoadBalancerProtocolHttpHttps LoadBalancerProtocol = "HTTP_HTTPS"
	LoadBalancerProtocolHttp      LoadBalancerProtocol = "HTTP"
)

Enum values for LoadBalancerProtocol

func (LoadBalancerProtocol) MarshalValue

func (enum LoadBalancerProtocol) MarshalValue() (string, error)

func (LoadBalancerProtocol) MarshalValueBuf

func (enum LoadBalancerProtocol) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerState

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

func (enum LoadBalancerState) MarshalValue() (string, error)

func (LoadBalancerState) MarshalValueBuf

func (enum LoadBalancerState) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerTlsCertificate

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"`

	// 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"`

	// 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"`

	// The timestamp when the SSL/TLS certificate is first valid.
	NotBefore *time.Time `locationName:"notBefore" type:"timestamp"`

	// 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"`

	// The serial number of the certificate.
	Serial *string `locationName:"serial" type:"string"`

	// The algorithm that was used to sign the certificate.
	SignatureAlgorithm *string `locationName:"signatureAlgorithm" type:"string"`

	// The status of the SSL/TLS certificate. Valid values are below.
	Status LoadBalancerTlsCertificateStatus `locationName:"status" type:"string" enum:"true"`

	// The name of the entity that is associated with the public key contained in
	// the certificate.
	Subject *string `locationName:"subject" type:"string"`

	// One or more domains or subdomains included in the certificate. This list
	// contains the domain names that are bound to the public key that is contained
	// in the certificate. The subject alternative names include the canonical domain
	// name (CNAME) of the certificate and additional domain names that can be used
	// to connect to the website, such as example.com, www.example.com, or m.example.com.
	SubjectAlternativeNames []string `locationName:"subjectAlternativeNames" type:"list"`

	// The support code. Include this code in your email to support when you have
	// questions about your Lightsail load balancer or SSL/TLS certificate. This
	// code enables our support team to look up your Lightsail information more
	// easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Describes a load balancer SSL/TLS certificate.

TLS is just an updated, more secure version of Secure Socket Layer (SSL).

func (LoadBalancerTlsCertificate) String

String returns the string representation

type LoadBalancerTlsCertificateDomainStatus

type LoadBalancerTlsCertificateDomainStatus string
const (
	LoadBalancerTlsCertificateDomainStatusPendingValidation LoadBalancerTlsCertificateDomainStatus = "PENDING_VALIDATION"
	LoadBalancerTlsCertificateDomainStatusFailed            LoadBalancerTlsCertificateDomainStatus = "FAILED"
	LoadBalancerTlsCertificateDomainStatusSuccess           LoadBalancerTlsCertificateDomainStatus = "SUCCESS"
)

Enum values for LoadBalancerTlsCertificateDomainStatus

func (LoadBalancerTlsCertificateDomainStatus) MarshalValue

func (enum LoadBalancerTlsCertificateDomainStatus) MarshalValue() (string, error)

func (LoadBalancerTlsCertificateDomainStatus) MarshalValueBuf

func (enum LoadBalancerTlsCertificateDomainStatus) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerTlsCertificateDomainValidationOption

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.

func (LoadBalancerTlsCertificateDomainValidationOption) String

String returns the string representation

type LoadBalancerTlsCertificateDomainValidationRecord

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.

func (LoadBalancerTlsCertificateDomainValidationRecord) String

String returns the string representation

type LoadBalancerTlsCertificateFailureReason

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

func (enum LoadBalancerTlsCertificateFailureReason) MarshalValue() (string, error)

func (LoadBalancerTlsCertificateFailureReason) MarshalValueBuf

func (enum LoadBalancerTlsCertificateFailureReason) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerTlsCertificateRenewalStatus

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

func (enum LoadBalancerTlsCertificateRenewalStatus) MarshalValue() (string, error)

func (LoadBalancerTlsCertificateRenewalStatus) MarshalValueBuf

func (enum LoadBalancerTlsCertificateRenewalStatus) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerTlsCertificateRenewalSummary

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.

func (LoadBalancerTlsCertificateRenewalSummary) String

String returns the string representation

type LoadBalancerTlsCertificateRevocationReason

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

func (LoadBalancerTlsCertificateRevocationReason) MarshalValueBuf

func (enum LoadBalancerTlsCertificateRevocationReason) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerTlsCertificateStatus

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

func (enum LoadBalancerTlsCertificateStatus) MarshalValue() (string, error)

func (LoadBalancerTlsCertificateStatus) MarshalValueBuf

func (enum LoadBalancerTlsCertificateStatus) MarshalValueBuf(b []byte) ([]byte, error)

type LoadBalancerTlsCertificateSummary

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.

func (LoadBalancerTlsCertificateSummary) String

String returns the string representation

type LogEvent

type LogEvent struct {

	// The timestamp when the database log event was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The message of the database log event.
	Message *string `locationName:"message" type:"string"`
	// contains filtered or unexported fields
}

Describes a database log event.

func (LogEvent) String

func (s LogEvent) String() string

String returns the string representation

type MetricDatapoint

type MetricDatapoint struct {

	// The average.
	Average *float64 `locationName:"average" type:"double"`

	// The maximum.
	Maximum *float64 `locationName:"maximum" type:"double"`

	// The minimum.
	Minimum *float64 `locationName:"minimum" type:"double"`

	// The sample count.
	SampleCount *float64 `locationName:"sampleCount" type:"double"`

	// The sum.
	Sum *float64 `locationName:"sum" type:"double"`

	// The timestamp (e.g., 1479816991.349).
	Timestamp *time.Time `locationName:"timestamp" type:"timestamp"`

	// The unit.
	Unit MetricUnit `locationName:"unit" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes the metric data point.

func (MetricDatapoint) String

func (s MetricDatapoint) String() string

String returns the string representation

type MetricName

type MetricName string
const (
	MetricNameCpuutilization                 MetricName = "CPUUtilization"
	MetricNameNetworkIn                      MetricName = "NetworkIn"
	MetricNameNetworkOut                     MetricName = "NetworkOut"
	MetricNameStatusCheckFailed              MetricName = "StatusCheckFailed"
	MetricNameStatusCheckFailedInstance      MetricName = "StatusCheckFailed_Instance"
	MetricNameStatusCheckFailedSystem        MetricName = "StatusCheckFailed_System"
	MetricNameClientTlsnegotiationErrorCount MetricName = "ClientTLSNegotiationErrorCount"
	MetricNameHealthyHostCount               MetricName = "HealthyHostCount"
	MetricNameUnhealthyHostCount             MetricName = "UnhealthyHostCount"
	MetricNameHttpcodeLb4xxCount             MetricName = "HTTPCode_LB_4XX_Count"
	MetricNameHttpcodeLb5xxCount             MetricName = "HTTPCode_LB_5XX_Count"
	MetricNameHttpcodeInstance2xxCount       MetricName = "HTTPCode_Instance_2XX_Count"
	MetricNameHttpcodeInstance3xxCount       MetricName = "HTTPCode_Instance_3XX_Count"
	MetricNameHttpcodeInstance4xxCount       MetricName = "HTTPCode_Instance_4XX_Count"
	MetricNameHttpcodeInstance5xxCount       MetricName = "HTTPCode_Instance_5XX_Count"
	MetricNameInstanceResponseTime           MetricName = "InstanceResponseTime"
	MetricNameRejectedConnectionCount        MetricName = "RejectedConnectionCount"
	MetricNameRequestCount                   MetricName = "RequestCount"
	MetricNameDatabaseConnections            MetricName = "DatabaseConnections"
	MetricNameDiskQueueDepth                 MetricName = "DiskQueueDepth"
	MetricNameFreeStorageSpace               MetricName = "FreeStorageSpace"
	MetricNameNetworkReceiveThroughput       MetricName = "NetworkReceiveThroughput"
	MetricNameNetworkTransmitThroughput      MetricName = "NetworkTransmitThroughput"
)

Enum values for MetricName

func (MetricName) MarshalValue

func (enum MetricName) MarshalValue() (string, error)

func (MetricName) MarshalValueBuf

func (enum MetricName) MarshalValueBuf(b []byte) ([]byte, error)

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

func (enum MetricStatistic) MarshalValue() (string, error)

func (MetricStatistic) MarshalValueBuf

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

func (enum MetricUnit) MarshalValue() (string, error)

func (MetricUnit) MarshalValueBuf

func (enum MetricUnit) MarshalValueBuf(b []byte) ([]byte, error)

type MonitoredResourceInfo

type MonitoredResourceInfo struct {

	// The Amazon Resource Name (ARN) of the resource being monitored.
	Arn *string `locationName:"arn" type:"string"`

	// The name of the Lightsail resource being monitored.
	Name *string `locationName:"name" type:"string"`

	// The Lightsail resource type of the resource being monitored.
	//
	// Instances, load balancers, and relational databases are the only Lightsail
	// resources that can currently be monitored by alarms.
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes resource being monitored by an alarm.

An alarm is a way to monitor your Amazon Lightsail resource metrics. For more information, see Alarms in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-alarms).

func (MonitoredResourceInfo) String

func (s MonitoredResourceInfo) String() string

String returns the string representation

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).

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"
	NetworkProtocolIcmp NetworkProtocol = "icmp"
)

Enum values for NetworkProtocol

func (NetworkProtocol) MarshalValue

func (enum NetworkProtocol) MarshalValue() (string, error)

func (NetworkProtocol) MarshalValueBuf

func (enum NetworkProtocol) MarshalValueBuf(b []byte) ([]byte, error)

type OpenInstancePublicPortsInput

type OpenInstancePublicPortsInput struct {

	// The name of the instance for which to open ports.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`

	// An object to describe the ports to open for the specified instance.
	//
	// PortInfo is a required field
	PortInfo *PortInfo `locationName:"portInfo" type:"structure" required:"true"`
	// contains filtered or unexported fields
}

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

func (OpenInstancePublicPortsOutput) String

String returns the string representation

type OpenInstancePublicPortsRequest

type OpenInstancePublicPortsRequest struct {
	*aws.Request
	Input *OpenInstancePublicPortsInput
	Copy  func(*OpenInstancePublicPortsInput) OpenInstancePublicPortsRequest
}

OpenInstancePublicPortsRequest is the request type for the OpenInstancePublicPorts API operation.

func (OpenInstancePublicPortsRequest) Send

Send marshals and sends the OpenInstancePublicPorts API request.

type OpenInstancePublicPortsResponse

type OpenInstancePublicPortsResponse struct {
	*OpenInstancePublicPortsOutput
	// contains filtered or unexported fields
}

OpenInstancePublicPortsResponse is the response type for the OpenInstancePublicPorts API operation.

func (*OpenInstancePublicPortsResponse) SDKResponseMetdata

func (r *OpenInstancePublicPortsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the OpenInstancePublicPorts request.

type Operation

type Operation struct {

	// The timestamp when the operation was initialized (e.g., 1479816991.349).
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// 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 AWS 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"`
	// contains filtered or unexported fields
}

Describes the API operation.

func (Operation) String

func (s Operation) String() string

String returns the string representation

type OperationStatus

type OperationStatus string
const (
	OperationStatusNotStarted OperationStatus = "NotStarted"
	OperationStatusStarted    OperationStatus = "Started"
	OperationStatusFailed     OperationStatus = "Failed"
	OperationStatusCompleted  OperationStatus = "Completed"
	OperationStatusSucceeded  OperationStatus = "Succeeded"
)

Enum values for OperationStatus

func (OperationStatus) MarshalValue

func (enum OperationStatus) MarshalValue() (string, error)

func (OperationStatus) MarshalValueBuf

func (enum OperationStatus) MarshalValueBuf(b []byte) ([]byte, error)

type OperationType

type OperationType string
const (
	OperationTypeDeleteKnownHostKeys                  OperationType = "DeleteKnownHostKeys"
	OperationTypeDeleteInstance                       OperationType = "DeleteInstance"
	OperationTypeCreateInstance                       OperationType = "CreateInstance"
	OperationTypeStopInstance                         OperationType = "StopInstance"
	OperationTypeStartInstance                        OperationType = "StartInstance"
	OperationTypeRebootInstance                       OperationType = "RebootInstance"
	OperationTypeOpenInstancePublicPorts              OperationType = "OpenInstancePublicPorts"
	OperationTypePutInstancePublicPorts               OperationType = "PutInstancePublicPorts"
	OperationTypeCloseInstancePublicPorts             OperationType = "CloseInstancePublicPorts"
	OperationTypeAllocateStaticIp                     OperationType = "AllocateStaticIp"
	OperationTypeReleaseStaticIp                      OperationType = "ReleaseStaticIp"
	OperationTypeAttachStaticIp                       OperationType = "AttachStaticIp"
	OperationTypeDetachStaticIp                       OperationType = "DetachStaticIp"
	OperationTypeUpdateDomainEntry                    OperationType = "UpdateDomainEntry"
	OperationTypeDeleteDomainEntry                    OperationType = "DeleteDomainEntry"
	OperationTypeCreateDomain                         OperationType = "CreateDomain"
	OperationTypeDeleteDomain                         OperationType = "DeleteDomain"
	OperationTypeCreateInstanceSnapshot               OperationType = "CreateInstanceSnapshot"
	OperationTypeDeleteInstanceSnapshot               OperationType = "DeleteInstanceSnapshot"
	OperationTypeCreateInstancesFromSnapshot          OperationType = "CreateInstancesFromSnapshot"
	OperationTypeCreateLoadBalancer                   OperationType = "CreateLoadBalancer"
	OperationTypeDeleteLoadBalancer                   OperationType = "DeleteLoadBalancer"
	OperationTypeAttachInstancesToLoadBalancer        OperationType = "AttachInstancesToLoadBalancer"
	OperationTypeDetachInstancesFromLoadBalancer      OperationType = "DetachInstancesFromLoadBalancer"
	OperationTypeUpdateLoadBalancerAttribute          OperationType = "UpdateLoadBalancerAttribute"
	OperationTypeCreateLoadBalancerTlsCertificate     OperationType = "CreateLoadBalancerTlsCertificate"
	OperationTypeDeleteLoadBalancerTlsCertificate     OperationType = "DeleteLoadBalancerTlsCertificate"
	OperationTypeAttachLoadBalancerTlsCertificate     OperationType = "AttachLoadBalancerTlsCertificate"
	OperationTypeCreateDisk                           OperationType = "CreateDisk"
	OperationTypeDeleteDisk                           OperationType = "DeleteDisk"
	OperationTypeAttachDisk                           OperationType = "AttachDisk"
	OperationTypeDetachDisk                           OperationType = "DetachDisk"
	OperationTypeCreateDiskSnapshot                   OperationType = "CreateDiskSnapshot"
	OperationTypeDeleteDiskSnapshot                   OperationType = "DeleteDiskSnapshot"
	OperationTypeCreateDiskFromSnapshot               OperationType = "CreateDiskFromSnapshot"
	OperationTypeCreateRelationalDatabase             OperationType = "CreateRelationalDatabase"
	OperationTypeUpdateRelationalDatabase             OperationType = "UpdateRelationalDatabase"
	OperationTypeDeleteRelationalDatabase             OperationType = "DeleteRelationalDatabase"
	OperationTypeCreateRelationalDatabaseFromSnapshot OperationType = "CreateRelationalDatabaseFromSnapshot"
	OperationTypeCreateRelationalDatabaseSnapshot     OperationType = "CreateRelationalDatabaseSnapshot"
	OperationTypeDeleteRelationalDatabaseSnapshot     OperationType = "DeleteRelationalDatabaseSnapshot"
	OperationTypeUpdateRelationalDatabaseParameters   OperationType = "UpdateRelationalDatabaseParameters"
	OperationTypeStartRelationalDatabase              OperationType = "StartRelationalDatabase"
	OperationTypeRebootRelationalDatabase             OperationType = "RebootRelationalDatabase"
	OperationTypeStopRelationalDatabase               OperationType = "StopRelationalDatabase"
	OperationTypeEnableAddOn                          OperationType = "EnableAddOn"
	OperationTypeDisableAddOn                         OperationType = "DisableAddOn"
	OperationTypePutAlarm                             OperationType = "PutAlarm"
	OperationTypeGetAlarms                            OperationType = "GetAlarms"
	OperationTypeDeleteAlarm                          OperationType = "DeleteAlarm"
	OperationTypeTestAlarm                            OperationType = "TestAlarm"
	OperationTypeCreateContactMethod                  OperationType = "CreateContactMethod"
	OperationTypeGetContactMethods                    OperationType = "GetContactMethods"
	OperationTypeSendContactMethodVerification        OperationType = "SendContactMethodVerification"
	OperationTypeDeleteContactMethod                  OperationType = "DeleteContactMethod"
)

Enum values for OperationType

func (OperationType) MarshalValue

func (enum OperationType) MarshalValue() (string, error)

func (OperationType) MarshalValueBuf

func (enum OperationType) MarshalValueBuf(b []byte) ([]byte, error)

type PasswordData

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.

func (PasswordData) String

func (s PasswordData) String() string

String returns the string representation

type PeerVpcInput

type PeerVpcInput struct {
	// contains filtered or unexported fields
}

func (PeerVpcInput) String

func (s PeerVpcInput) String() string

String returns the string representation

type PeerVpcOutput

type PeerVpcOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

func (PeerVpcOutput) String

func (s PeerVpcOutput) String() string

String returns the string representation

type PeerVpcRequest

type PeerVpcRequest struct {
	*aws.Request
	Input *PeerVpcInput
	Copy  func(*PeerVpcInput) PeerVpcRequest
}

PeerVpcRequest is the request type for the PeerVpc API operation.

func (PeerVpcRequest) Send

Send marshals and sends the PeerVpc API request.

type PeerVpcResponse

type PeerVpcResponse struct {
	*PeerVpcOutput
	// contains filtered or unexported fields
}

PeerVpcResponse is the response type for the PeerVpc API operation.

func (*PeerVpcResponse) SDKResponseMetdata

func (r *PeerVpcResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PeerVpc request.

type PendingMaintenanceAction

type PendingMaintenanceAction struct {

	// The type of pending database maintenance action.
	Action *string `locationName:"action" type:"string"`

	// The effective date of the pending database maintenance action.
	CurrentApplyDate *time.Time `locationName:"currentApplyDate" type:"timestamp"`

	// Additional detail about the pending database maintenance action.
	Description *string `locationName:"description" type:"string"`
	// contains filtered or unexported fields
}

Describes a pending database maintenance action.

func (PendingMaintenanceAction) String

func (s PendingMaintenanceAction) String() string

String returns the string representation

type PendingModifiedRelationalDatabaseValues

type PendingModifiedRelationalDatabaseValues struct {

	// A Boolean value indicating whether automated backup retention is enabled.
	BackupRetentionEnabled *bool `locationName:"backupRetentionEnabled" type:"boolean"`

	// The database engine version.
	EngineVersion *string `locationName:"engineVersion" type:"string"`

	// The password for the master user of the database.
	MasterUserPassword *string `locationName:"masterUserPassword" type:"string"`
	// contains filtered or unexported fields
}

Describes a pending database value modification.

func (PendingModifiedRelationalDatabaseValues) String

String returns the string representation

type PortAccessType

type PortAccessType string
const (
	PortAccessTypePublic  PortAccessType = "Public"
	PortAccessTypePrivate PortAccessType = "Private"
)

Enum values for PortAccessType

func (PortAccessType) MarshalValue

func (enum PortAccessType) MarshalValue() (string, error)

func (PortAccessType) MarshalValueBuf

func (enum PortAccessType) MarshalValueBuf(b []byte) ([]byte, error)

type PortInfo

type PortInfo struct {

	// An alias that defines access for a preconfigured range of IP addresses.
	//
	// The only alias currently supported is lightsail-connect, which allows IP
	// addresses of the browser-based RDP/SSH client in the Lightsail console to
	// connect to your instance.
	CidrListAliases []string `locationName:"cidrListAliases" type:"list"`

	// The IP address, or range of IP addresses in CIDR notation, that are allowed
	// to connect to an instance through the ports, and the protocol. Lightsail
	// supports IPv4 addresses.
	//
	// Examples:
	//
	//    * To allow the IP address 192.0.2.44, specify 192.0.2.44 or 192.0.2.44/32.
	//
	//    * To allow the IP addresses 192.0.2.0 to 192.0.2.255, specify 192.0.2.0/24.
	//
	// For more information about CIDR block notation, see Classless Inter-Domain
	// Routing (https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation)
	// on Wikipedia.
	Cidrs []string `locationName:"cidrs" type:"list"`

	// The first port in a range of open ports on an instance.
	//
	// Allowed ports:
	//
	//    * TCP and UDP - 0 to 65535
	//
	//    * ICMP - 8 (to configure Ping) Ping is the only communication supported
	//    through the ICMP protocol in Lightsail. To configure ping, specify the
	//    fromPort parameter as 8, and the toPort parameter as -1.
	FromPort *int64 `locationName:"fromPort" type:"integer"`

	// The IP protocol name.
	//
	// The name 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.
	//
	//    * icmp - Internet Control Message Protocol (ICMP) is used to send error
	//    messages and operational information indicating success or failure when
	//    communicating with an instance. For example, an error is indicated when
	//    an instance could not be reached. Ping is the only communication supported
	//    through the ICMP protocol in Lightsail. To configure ping, specify the
	//    fromPort parameter as 8, and the toPort parameter as -1.
	Protocol NetworkProtocol `locationName:"protocol" type:"string" enum:"true"`

	// The last port in a range of open ports on an instance.
	//
	// Allowed ports:
	//
	//    * TCP and UDP - 0 to 65535
	//
	//    * ICMP - -1 (to configure Ping) Ping is the only communication supported
	//    through the ICMP protocol in Lightsail. To configure ping, specify the
	//    fromPort parameter as 8, and the toPort parameter as -1.
	ToPort *int64 `locationName:"toPort" type:"integer"`
	// contains filtered or unexported fields
}

Describes ports to open on an instance, the IP addresses allowed to connect to the instance through the ports, and the protocol.

func (PortInfo) String

func (s PortInfo) String() string

String returns the string representation

func (*PortInfo) Validate

func (s *PortInfo) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PortInfoSourceType

type PortInfoSourceType string
const (
	PortInfoSourceTypeDefault  PortInfoSourceType = "DEFAULT"
	PortInfoSourceTypeInstance PortInfoSourceType = "INSTANCE"
	PortInfoSourceTypeNone     PortInfoSourceType = "NONE"
	PortInfoSourceTypeClosed   PortInfoSourceType = "CLOSED"
)

Enum values for PortInfoSourceType

func (PortInfoSourceType) MarshalValue

func (enum PortInfoSourceType) MarshalValue() (string, error)

func (PortInfoSourceType) MarshalValueBuf

func (enum PortInfoSourceType) MarshalValueBuf(b []byte) ([]byte, error)

type PortState

type PortState string
const (
	PortStateOpen   PortState = "open"
	PortStateClosed PortState = "closed"
)

Enum values for PortState

func (PortState) MarshalValue

func (enum PortState) MarshalValue() (string, error)

func (PortState) MarshalValueBuf

func (enum PortState) MarshalValueBuf(b []byte) ([]byte, error)

type PutAlarmInput

type PutAlarmInput struct {

	// The name for the alarm. Specify the name of an existing alarm to update,
	// and overwrite the previous configuration of the alarm.
	//
	// AlarmName is a required field
	AlarmName *string `locationName:"alarmName" type:"string" required:"true"`

	// The arithmetic operation to use when comparing the specified statistic to
	// the threshold. The specified statistic value is used as the first operand.
	//
	// ComparisonOperator is a required field
	ComparisonOperator ComparisonOperator `locationName:"comparisonOperator" type:"string" required:"true" enum:"true"`

	// The contact protocols to use for the alarm, such as Email, SMS (text messaging),
	// or both.
	//
	// A notification is sent via the specified contact protocol if notifications
	// are enabled for the alarm, and when the alarm is triggered.
	//
	// A notification is not sent if a contact protocol is not specified, if the
	// specified contact protocol is not configured in the AWS Region, or if notifications
	// are not enabled for the alarm using the notificationEnabled paramater.
	//
	// Use the CreateContactMethod action to configure a contact protocol in an
	// AWS Region.
	ContactProtocols []ContactProtocol `locationName:"contactProtocols" type:"list"`

	// The number of data points that must be not within the specified threshold
	// to trigger the alarm. If you are setting an "M out of N" alarm, this value
	// (datapointsToAlarm) is the M.
	DatapointsToAlarm *int64 `locationName:"datapointsToAlarm" type:"integer"`

	// The number of most recent periods over which data is compared to the specified
	// threshold. If you are setting an "M out of N" alarm, this value (evaluationPeriods)
	// is the N.
	//
	// If you are setting an alarm that requires that a number of consecutive data
	// points be breaching to trigger the alarm, this value specifies the rolling
	// period of time in which data points are evaluated.
	//
	// Each evaluation period is five minutes long. For example, specify an evaluation
	// period of 24 to evaluate a metric over a rolling period of two hours.
	//
	// You can specify a minimum valuation period of 1 (5 minutes), and a maximum
	// evaluation period of 288 (24 hours).
	//
	// EvaluationPeriods is a required field
	EvaluationPeriods *int64 `locationName:"evaluationPeriods" type:"integer" required:"true"`

	// The name of the metric to associate with the alarm.
	//
	// You can configure up to two alarms per metric.
	//
	// The following metrics are available for each resource type:
	//
	//    * Instances: CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed,
	//    StatusCheckFailed_Instance, and StatusCheckFailed_System.
	//
	//    * Load balancers: ClientTLSNegotiationErrorCount, HealthyHostCount, UnhealthyHostCount,
	//    HTTPCode_LB_4XX_Count, HTTPCode_LB_5XX_Count, HTTPCode_Instance_2XX_Count,
	//    HTTPCode_Instance_3XX_Count, HTTPCode_Instance_4XX_Count, HTTPCode_Instance_5XX_Count,
	//    InstanceResponseTime, RejectedConnectionCount, and RequestCount.
	//
	//    * Relational databases: CPUUtilization, DatabaseConnections, DiskQueueDepth,
	//    FreeStorageSpace, NetworkReceiveThroughput, and NetworkTransmitThroughput.
	//
	// MetricName is a required field
	MetricName MetricName `locationName:"metricName" type:"string" required:"true" enum:"true"`

	// The name of the Lightsail resource that will be monitored.
	//
	// Instances, load balancers, and relational databases are the only Lightsail
	// resources that can currently be monitored by alarms.
	//
	// MonitoredResourceName is a required field
	MonitoredResourceName *string `locationName:"monitoredResourceName" type:"string" required:"true"`

	// Indicates whether the alarm is enabled.
	//
	// Notifications are enabled by default if you don't specify this parameter.
	NotificationEnabled *bool `locationName:"notificationEnabled" type:"boolean"`

	// The alarm states that trigger a notification.
	//
	// An alarm has the following possible states:
	//
	//    * ALARM - The metric is outside of the defined threshold.
	//
	//    * INSUFFICIENT_DATA - The alarm has just started, the metric is not available,
	//    or not enough data is available for the metric to determine the alarm
	//    state.
	//
	//    * OK - The metric is within the defined threshold.
	//
	// When you specify a notification trigger, the ALARM state must be specified.
	// The INSUFFICIENT_DATA and OK states can be specified in addition to the ALARM
	// state.
	//
	//    * If you specify OK as an alarm trigger, a notification is sent when the
	//    alarm switches from an ALARM or INSUFFICIENT_DATA alarm state to an OK
	//    state. This can be thought of as an all clear alarm notification.
	//
	//    * If you specify INSUFFICIENT_DATA as the alarm trigger, a notification
	//    is sent when the alarm switches from an OK or ALARM alarm state to an
	//    INSUFFICIENT_DATA state.
	//
	// The notification trigger defaults to ALARM if you don't specify this parameter.
	NotificationTriggers []AlarmState `locationName:"notificationTriggers" type:"list"`

	// The value against which the specified statistic is compared.
	//
	// Threshold is a required field
	Threshold *float64 `locationName:"threshold" type:"double" required:"true"`

	// Sets how this alarm will handle missing data points.
	//
	// An alarm can treat missing data in the following ways:
	//
	//    * breaching - Assume the missing data is not within the threshold. Missing
	//    data counts towards the number of times the metric is not within the threshold.
	//
	//    * notBreaching - Assume the missing data is within the threshold. Missing
	//    data does not count towards the number of times the metric is not within
	//    the threshold.
	//
	//    * ignore - Ignore the missing data. Maintains the current alarm state.
	//
	//    * missing - Missing data is treated as missing.
	//
	// If treatMissingData is not specified, the default behavior of missing is
	// used.
	TreatMissingData TreatMissingData `locationName:"treatMissingData" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

func (PutAlarmInput) String

func (s PutAlarmInput) String() string

String returns the string representation

func (*PutAlarmInput) Validate

func (s *PutAlarmInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PutAlarmOutput

type PutAlarmOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (PutAlarmOutput) String

func (s PutAlarmOutput) String() string

String returns the string representation

type PutAlarmRequest

type PutAlarmRequest struct {
	*aws.Request
	Input *PutAlarmInput
	Copy  func(*PutAlarmInput) PutAlarmRequest
}

PutAlarmRequest is the request type for the PutAlarm API operation.

func (PutAlarmRequest) Send

Send marshals and sends the PutAlarm API request.

type PutAlarmResponse

type PutAlarmResponse struct {
	*PutAlarmOutput
	// contains filtered or unexported fields
}

PutAlarmResponse is the response type for the PutAlarm API operation.

func (*PutAlarmResponse) SDKResponseMetdata

func (r *PutAlarmResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutAlarm request.

type PutInstancePublicPortsInput

type PutInstancePublicPortsInput struct {

	// The name of the instance for which to open ports.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`

	// An array of objects to describe the ports to open for the specified instance.
	//
	// PortInfos is a required field
	PortInfos []PortInfo `locationName:"portInfos" type:"list" required:"true"`
	// contains filtered or unexported fields
}

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 {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

func (PutInstancePublicPortsOutput) String

String returns the string representation

type PutInstancePublicPortsRequest

type PutInstancePublicPortsRequest struct {
	*aws.Request
	Input *PutInstancePublicPortsInput
	Copy  func(*PutInstancePublicPortsInput) PutInstancePublicPortsRequest
}

PutInstancePublicPortsRequest is the request type for the PutInstancePublicPorts API operation.

func (PutInstancePublicPortsRequest) Send

Send marshals and sends the PutInstancePublicPorts API request.

type PutInstancePublicPortsResponse

type PutInstancePublicPortsResponse struct {
	*PutInstancePublicPortsOutput
	// contains filtered or unexported fields
}

PutInstancePublicPortsResponse is the response type for the PutInstancePublicPorts API operation.

func (*PutInstancePublicPortsResponse) SDKResponseMetdata

func (r *PutInstancePublicPortsResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the PutInstancePublicPorts request.

type RebootInstanceInput

type RebootInstanceInput struct {

	// The name of the instance to reboot.
	//
	// InstanceName is a required field
	InstanceName *string `locationName:"instanceName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (RebootInstanceOutput) String

func (s RebootInstanceOutput) String() string

String returns the string representation

type RebootInstanceRequest

type RebootInstanceRequest struct {
	*aws.Request
	Input *RebootInstanceInput
	Copy  func(*RebootInstanceInput) RebootInstanceRequest
}

RebootInstanceRequest is the request type for the RebootInstance API operation.

func (RebootInstanceRequest) Send

Send marshals and sends the RebootInstance API request.

type RebootInstanceResponse

type RebootInstanceResponse struct {
	*RebootInstanceOutput
	// contains filtered or unexported fields
}

RebootInstanceResponse is the response type for the RebootInstance API operation.

func (*RebootInstanceResponse) SDKResponseMetdata

func (r *RebootInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RebootInstance request.

type RebootRelationalDatabaseInput

type RebootRelationalDatabaseInput struct {

	// The name of your database to reboot.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (RebootRelationalDatabaseInput) String

String returns the string representation

func (*RebootRelationalDatabaseInput) Validate

func (s *RebootRelationalDatabaseInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type RebootRelationalDatabaseOutput

type RebootRelationalDatabaseOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (RebootRelationalDatabaseOutput) String

String returns the string representation

type RebootRelationalDatabaseRequest

type RebootRelationalDatabaseRequest struct {
	*aws.Request
	Input *RebootRelationalDatabaseInput
	Copy  func(*RebootRelationalDatabaseInput) RebootRelationalDatabaseRequest
}

RebootRelationalDatabaseRequest is the request type for the RebootRelationalDatabase API operation.

func (RebootRelationalDatabaseRequest) Send

Send marshals and sends the RebootRelationalDatabase API request.

type RebootRelationalDatabaseResponse

type RebootRelationalDatabaseResponse struct {
	*RebootRelationalDatabaseOutput
	// contains filtered or unexported fields
}

RebootRelationalDatabaseResponse is the response type for the RebootRelationalDatabase API operation.

func (*RebootRelationalDatabaseResponse) SDKResponseMetdata

func (r *RebootRelationalDatabaseResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the RebootRelationalDatabase request.

type RecordState

type RecordState string
const (
	RecordStateStarted   RecordState = "Started"
	RecordStateSucceeded RecordState = "Succeeded"
	RecordStateFailed    RecordState = "Failed"
)

Enum values for RecordState

func (RecordState) MarshalValue

func (enum RecordState) MarshalValue() (string, error)

func (RecordState) MarshalValueBuf

func (enum RecordState) MarshalValueBuf(b []byte) ([]byte, error)

type Region

type Region struct {

	// The Availability Zones. Follows the format us-east-2a (case-sensitive).
	AvailabilityZones []AvailabilityZone `locationName:"availabilityZones" type:"list"`

	// The continent code (e.g., NA, meaning North America).
	ContinentCode *string `locationName:"continentCode" type:"string"`

	// The description of the AWS Region (e.g., This region is recommended to serve
	// users in the eastern United States and eastern Canada).
	Description *string `locationName:"description" type:"string"`

	// The display name (e.g., Ohio).
	DisplayName *string `locationName:"displayName" type:"string"`

	// The region name (e.g., us-east-2).
	Name RegionName `locationName:"name" type:"string" enum:"true"`

	// The Availability Zones for databases. Follows the format us-east-2a (case-sensitive).
	RelationalDatabaseAvailabilityZones []AvailabilityZone `locationName:"relationalDatabaseAvailabilityZones" type:"list"`
	// contains filtered or unexported fields
}

Describes the AWS Region.

func (Region) String

func (s Region) String() string

String returns the string representation

type RegionName

type RegionName string
const (
	RegionNameUsEast1      RegionName = "us-east-1"
	RegionNameUsEast2      RegionName = "us-east-2"
	RegionNameUsWest1      RegionName = "us-west-1"
	RegionNameUsWest2      RegionName = "us-west-2"
	RegionNameEuWest1      RegionName = "eu-west-1"
	RegionNameEuWest2      RegionName = "eu-west-2"
	RegionNameEuWest3      RegionName = "eu-west-3"
	RegionNameEuCentral1   RegionName = "eu-central-1"
	RegionNameCaCentral1   RegionName = "ca-central-1"
	RegionNameApSouth1     RegionName = "ap-south-1"
	RegionNameApSoutheast1 RegionName = "ap-southeast-1"
	RegionNameApSoutheast2 RegionName = "ap-southeast-2"
	RegionNameApNortheast1 RegionName = "ap-northeast-1"
	RegionNameApNortheast2 RegionName = "ap-northeast-2"
)

Enum values for RegionName

func (RegionName) MarshalValue

func (enum RegionName) MarshalValue() (string, error)

func (RegionName) MarshalValueBuf

func (enum RegionName) MarshalValueBuf(b []byte) ([]byte, error)

type RelationalDatabase

type RelationalDatabase struct {

	// The Amazon Resource Name (ARN) of the database.
	Arn *string `locationName:"arn" type:"string"`

	// A Boolean value indicating whether automated backup retention is enabled
	// for the database.
	BackupRetentionEnabled *bool `locationName:"backupRetentionEnabled" type:"boolean"`

	// The certificate associated with the database.
	CaCertificateIdentifier *string `locationName:"caCertificateIdentifier" type:"string"`

	// The timestamp when the database was created. Formatted in Unix time.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The database software (for example, MySQL).
	Engine *string `locationName:"engine" type:"string"`

	// The database engine version (for example, 5.7.23).
	EngineVersion *string `locationName:"engineVersion" type:"string"`

	// Describes the hardware of the database.
	Hardware *RelationalDatabaseHardware `locationName:"hardware" type:"structure"`

	// The latest point in time to which the database can be restored. Formatted
	// in Unix time.
	LatestRestorableTime *time.Time `locationName:"latestRestorableTime" type:"timestamp"`

	// The Region name and Availability Zone where the database is located.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the master database created when the Lightsail database resource
	// is created.
	MasterDatabaseName *string `locationName:"masterDatabaseName" type:"string"`

	// The master endpoint for the database.
	MasterEndpoint *RelationalDatabaseEndpoint `locationName:"masterEndpoint" type:"structure"`

	// The master user name of the database.
	MasterUsername *string `locationName:"masterUsername" type:"string"`

	// The unique name of the database resource in Lightsail.
	Name *string `locationName:"name" type:"string"`

	// The status of parameter updates for the database.
	ParameterApplyStatus *string `locationName:"parameterApplyStatus" type:"string"`

	// Describes the pending maintenance actions for the database.
	PendingMaintenanceActions []PendingMaintenanceAction `locationName:"pendingMaintenanceActions" type:"list"`

	// Describes pending database value modifications.
	PendingModifiedValues *PendingModifiedRelationalDatabaseValues `locationName:"pendingModifiedValues" type:"structure"`

	// The daily time range during which automated backups are created for the database
	// (for example, 16:00-16:30).
	PreferredBackupWindow *string `locationName:"preferredBackupWindow" type:"string"`

	// The weekly time range during which system maintenance can occur on the database.
	//
	// In the format ddd:hh24:mi-ddd:hh24:mi. For example, Tue:17:00-Tue:17:30.
	PreferredMaintenanceWindow *string `locationName:"preferredMaintenanceWindow" type:"string"`

	// A Boolean value indicating whether the database is publicly accessible.
	PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"`

	// The blueprint ID for the database. A blueprint describes the major engine
	// version of a database.
	RelationalDatabaseBlueprintId *string `locationName:"relationalDatabaseBlueprintId" type:"string"`

	// The bundle ID for the database. A bundle describes the performance specifications
	// for your database.
	RelationalDatabaseBundleId *string `locationName:"relationalDatabaseBundleId" type:"string"`

	// The Lightsail resource type for the database (for example, RelationalDatabase).
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// Describes the secondary Availability Zone of a high availability database.
	//
	// The secondary database is used for failover support of a high availability
	// database.
	SecondaryAvailabilityZone *string `locationName:"secondaryAvailabilityZone" type:"string"`

	// Describes the current state of the database.
	State *string `locationName:"state" type:"string"`

	// The support code for the database. Include this code in your email to support
	// when you have questions about a database in Lightsail. This code enables
	// our support team to look up your Lightsail information more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Describes a database.

func (RelationalDatabase) String

func (s RelationalDatabase) String() string

String returns the string representation

type RelationalDatabaseBlueprint

type RelationalDatabaseBlueprint struct {

	// The ID for the database blueprint.
	BlueprintId *string `locationName:"blueprintId" type:"string"`

	// The database software of the database blueprint (for example, MySQL).
	Engine RelationalDatabaseEngine `locationName:"engine" type:"string" enum:"true"`

	// The description of the database engine for the database blueprint.
	EngineDescription *string `locationName:"engineDescription" type:"string"`

	// The database engine version for the database blueprint (for example, 5.7.23).
	EngineVersion *string `locationName:"engineVersion" type:"string"`

	// The description of the database engine version for the database blueprint.
	EngineVersionDescription *string `locationName:"engineVersionDescription" type:"string"`

	// A Boolean value indicating whether the engine version is the default for
	// the database blueprint.
	IsEngineDefault *bool `locationName:"isEngineDefault" type:"boolean"`
	// contains filtered or unexported fields
}

Describes a database image, or blueprint. A blueprint describes the major engine version of a database.

func (RelationalDatabaseBlueprint) String

String returns the string representation

type RelationalDatabaseBundle

type RelationalDatabaseBundle struct {

	// The ID for the database bundle.
	BundleId *string `locationName:"bundleId" type:"string"`

	// The number of virtual CPUs (vCPUs) for the database bundle.
	CpuCount *int64 `locationName:"cpuCount" type:"integer"`

	// The size of the disk for the database bundle.
	DiskSizeInGb *int64 `locationName:"diskSizeInGb" type:"integer"`

	// A Boolean value indicating whether the database bundle is active.
	IsActive *bool `locationName:"isActive" type:"boolean"`

	// A Boolean value indicating whether the database bundle is encrypted.
	IsEncrypted *bool `locationName:"isEncrypted" type:"boolean"`

	// The name for the database bundle.
	Name *string `locationName:"name" type:"string"`

	// The cost of the database bundle in US currency.
	Price *float64 `locationName:"price" type:"float"`

	// The amount of RAM in GB (for example, 2.0) for the database bundle.
	RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"`

	// The data transfer rate per month in GB for the database bundle.
	TransferPerMonthInGb *int64 `locationName:"transferPerMonthInGb" type:"integer"`
	// contains filtered or unexported fields
}

Describes a database bundle. A bundle describes the performance specifications of the database.

func (RelationalDatabaseBundle) String

func (s RelationalDatabaseBundle) String() string

String returns the string representation

type RelationalDatabaseEndpoint

type RelationalDatabaseEndpoint struct {

	// Specifies the DNS address of the database.
	Address *string `locationName:"address" type:"string"`

	// Specifies the port that the database is listening on.
	Port *int64 `locationName:"port" type:"integer"`
	// contains filtered or unexported fields
}

Describes an endpoint for a database.

func (RelationalDatabaseEndpoint) String

String returns the string representation

type RelationalDatabaseEngine

type RelationalDatabaseEngine string
const (
	RelationalDatabaseEngineMysql RelationalDatabaseEngine = "mysql"
)

Enum values for RelationalDatabaseEngine

func (RelationalDatabaseEngine) MarshalValue

func (enum RelationalDatabaseEngine) MarshalValue() (string, error)

func (RelationalDatabaseEngine) MarshalValueBuf

func (enum RelationalDatabaseEngine) MarshalValueBuf(b []byte) ([]byte, error)

type RelationalDatabaseEvent

type RelationalDatabaseEvent struct {

	// The timestamp when the database event was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The category that the database event belongs to.
	EventCategories []string `locationName:"eventCategories" type:"list"`

	// The message of the database event.
	Message *string `locationName:"message" type:"string"`

	// The database that the database event relates to.
	Resource *string `locationName:"resource" type:"string"`
	// contains filtered or unexported fields
}

Describes an event for a database.

func (RelationalDatabaseEvent) String

func (s RelationalDatabaseEvent) String() string

String returns the string representation

type RelationalDatabaseHardware

type RelationalDatabaseHardware struct {

	// The number of vCPUs for the database.
	CpuCount *int64 `locationName:"cpuCount" type:"integer"`

	// The size of the disk for the database.
	DiskSizeInGb *int64 `locationName:"diskSizeInGb" type:"integer"`

	// The amount of RAM in GB for the database.
	RamSizeInGb *float64 `locationName:"ramSizeInGb" type:"float"`
	// contains filtered or unexported fields
}

Describes the hardware of a database.

func (RelationalDatabaseHardware) String

String returns the string representation

type RelationalDatabaseMetricName

type RelationalDatabaseMetricName string
const (
	RelationalDatabaseMetricNameCpuutilization            RelationalDatabaseMetricName = "CPUUtilization"
	RelationalDatabaseMetricNameDatabaseConnections       RelationalDatabaseMetricName = "DatabaseConnections"
	RelationalDatabaseMetricNameDiskQueueDepth            RelationalDatabaseMetricName = "DiskQueueDepth"
	RelationalDatabaseMetricNameFreeStorageSpace          RelationalDatabaseMetricName = "FreeStorageSpace"
	RelationalDatabaseMetricNameNetworkReceiveThroughput  RelationalDatabaseMetricName = "NetworkReceiveThroughput"
	RelationalDatabaseMetricNameNetworkTransmitThroughput RelationalDatabaseMetricName = "NetworkTransmitThroughput"
)

Enum values for RelationalDatabaseMetricName

func (RelationalDatabaseMetricName) MarshalValue

func (enum RelationalDatabaseMetricName) MarshalValue() (string, error)

func (RelationalDatabaseMetricName) MarshalValueBuf

func (enum RelationalDatabaseMetricName) MarshalValueBuf(b []byte) ([]byte, error)

type RelationalDatabaseParameter

type RelationalDatabaseParameter struct {

	// Specifies the valid range of values for the parameter.
	AllowedValues *string `locationName:"allowedValues" type:"string"`

	// Indicates when parameter updates are applied.
	//
	// Can be immediate or pending-reboot.
	ApplyMethod *string `locationName:"applyMethod" type:"string"`

	// Specifies the engine-specific parameter type.
	ApplyType *string `locationName:"applyType" type:"string"`

	// Specifies the valid data type for the parameter.
	DataType *string `locationName:"dataType" type:"string"`

	// Provides a description of the parameter.
	Description *string `locationName:"description" type:"string"`

	// A Boolean value indicating whether the parameter can be modified.
	IsModifiable *bool `locationName:"isModifiable" type:"boolean"`

	// Specifies the name of the parameter.
	ParameterName *string `locationName:"parameterName" type:"string"`

	// Specifies the value of the parameter.
	ParameterValue *string `locationName:"parameterValue" type:"string"`
	// contains filtered or unexported fields
}

Describes the parameters of a database.

func (RelationalDatabaseParameter) String

String returns the string representation

type RelationalDatabasePasswordVersion

type RelationalDatabasePasswordVersion string
const (
	RelationalDatabasePasswordVersionCurrent  RelationalDatabasePasswordVersion = "CURRENT"
	RelationalDatabasePasswordVersionPrevious RelationalDatabasePasswordVersion = "PREVIOUS"
	RelationalDatabasePasswordVersionPending  RelationalDatabasePasswordVersion = "PENDING"
)

Enum values for RelationalDatabasePasswordVersion

func (RelationalDatabasePasswordVersion) MarshalValue

func (enum RelationalDatabasePasswordVersion) MarshalValue() (string, error)

func (RelationalDatabasePasswordVersion) MarshalValueBuf

func (enum RelationalDatabasePasswordVersion) MarshalValueBuf(b []byte) ([]byte, error)

type RelationalDatabaseSnapshot

type RelationalDatabaseSnapshot struct {

	// The Amazon Resource Name (ARN) of the database snapshot.
	Arn *string `locationName:"arn" type:"string"`

	// The timestamp when the database snapshot was created.
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// The software of the database snapshot (for example, MySQL)
	Engine *string `locationName:"engine" type:"string"`

	// The database engine version for the database snapshot (for example, 5.7.23).
	EngineVersion *string `locationName:"engineVersion" type:"string"`

	// The Amazon Resource Name (ARN) of the database from which the database snapshot
	// was created.
	FromRelationalDatabaseArn *string `locationName:"fromRelationalDatabaseArn" type:"string"`

	// The blueprint ID of the database from which the database snapshot was created.
	// A blueprint describes the major engine version of a database.
	FromRelationalDatabaseBlueprintId *string `locationName:"fromRelationalDatabaseBlueprintId" type:"string"`

	// The bundle ID of the database from which the database snapshot was created.
	FromRelationalDatabaseBundleId *string `locationName:"fromRelationalDatabaseBundleId" type:"string"`

	// The name of the source database from which the database snapshot was created.
	FromRelationalDatabaseName *string `locationName:"fromRelationalDatabaseName" type:"string"`

	// The Region name and Availability Zone where the database snapshot is located.
	Location *ResourceLocation `locationName:"location" type:"structure"`

	// The name of the database snapshot.
	Name *string `locationName:"name" type:"string"`

	// The Lightsail resource type.
	ResourceType ResourceType `locationName:"resourceType" type:"string" enum:"true"`

	// The size of the disk in GB (for example, 32) for the database snapshot.
	SizeInGb *int64 `locationName:"sizeInGb" type:"integer"`

	// The state of the database snapshot.
	State *string `locationName:"state" type:"string"`

	// The support code for the database snapshot. Include this code in your email
	// to support when you have questions about a database snapshot in Lightsail.
	// This code enables our support team to look up your Lightsail information
	// more easily.
	SupportCode *string `locationName:"supportCode" type:"string"`

	// The tag keys and optional values for the resource. For more information about
	// tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
	Tags []Tag `locationName:"tags" type:"list"`
	// contains filtered or unexported fields
}

Describes a database snapshot.

func (RelationalDatabaseSnapshot) String

String returns the string representation

type ReleaseStaticIpInput

type ReleaseStaticIpInput struct {

	// The name of the static IP to delete.
	//
	// StaticIpName is a required field
	StaticIpName *string `locationName:"staticIpName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (ReleaseStaticIpOutput) String

func (s ReleaseStaticIpOutput) String() string

String returns the string representation

type ReleaseStaticIpRequest

type ReleaseStaticIpRequest struct {
	*aws.Request
	Input *ReleaseStaticIpInput
	Copy  func(*ReleaseStaticIpInput) ReleaseStaticIpRequest
}

ReleaseStaticIpRequest is the request type for the ReleaseStaticIp API operation.

func (ReleaseStaticIpRequest) Send

Send marshals and sends the ReleaseStaticIp API request.

type ReleaseStaticIpResponse

type ReleaseStaticIpResponse struct {
	*ReleaseStaticIpOutput
	// contains filtered or unexported fields
}

ReleaseStaticIpResponse is the response type for the ReleaseStaticIp API operation.

func (*ReleaseStaticIpResponse) SDKResponseMetdata

func (r *ReleaseStaticIpResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the ReleaseStaticIp request.

type ResourceLocation

type ResourceLocation struct {

	// The Availability Zone. Follows the format us-east-2a (case-sensitive).
	AvailabilityZone *string `locationName:"availabilityZone" type:"string"`

	// The AWS Region name.
	RegionName RegionName `locationName:"regionName" type:"string" enum:"true"`
	// contains filtered or unexported fields
}

Describes the resource location.

func (ResourceLocation) String

func (s ResourceLocation) String() string

String returns the string representation

type ResourceType

type ResourceType string
const (
	ResourceTypeInstance                   ResourceType = "Instance"
	ResourceTypeStaticIp                   ResourceType = "StaticIp"
	ResourceTypeKeyPair                    ResourceType = "KeyPair"
	ResourceTypeInstanceSnapshot           ResourceType = "InstanceSnapshot"
	ResourceTypeDomain                     ResourceType = "Domain"
	ResourceTypePeeredVpc                  ResourceType = "PeeredVpc"
	ResourceTypeLoadBalancer               ResourceType = "LoadBalancer"
	ResourceTypeLoadBalancerTlsCertificate ResourceType = "LoadBalancerTlsCertificate"
	ResourceTypeDisk                       ResourceType = "Disk"
	ResourceTypeDiskSnapshot               ResourceType = "DiskSnapshot"
	ResourceTypeRelationalDatabase         ResourceType = "RelationalDatabase"
	ResourceTypeRelationalDatabaseSnapshot ResourceType = "RelationalDatabaseSnapshot"
	ResourceTypeExportSnapshotRecord       ResourceType = "ExportSnapshotRecord"
	ResourceTypeCloudFormationStackRecord  ResourceType = "CloudFormationStackRecord"
	ResourceTypeAlarm                      ResourceType = "Alarm"
	ResourceTypeContactMethod              ResourceType = "ContactMethod"
)

Enum values for ResourceType

func (ResourceType) MarshalValue

func (enum ResourceType) MarshalValue() (string, error)

func (ResourceType) MarshalValueBuf

func (enum ResourceType) MarshalValueBuf(b []byte) ([]byte, error)

type SendContactMethodVerificationInput

type SendContactMethodVerificationInput struct {

	// The protocol to verify, such as Email or SMS (text messaging).
	//
	// Protocol is a required field
	Protocol ContactMethodVerificationProtocol `locationName:"protocol" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

func (SendContactMethodVerificationInput) String

String returns the string representation

func (*SendContactMethodVerificationInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type SendContactMethodVerificationOutput

type SendContactMethodVerificationOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (SendContactMethodVerificationOutput) String

String returns the string representation

type SendContactMethodVerificationRequest

type SendContactMethodVerificationRequest struct {
	*aws.Request
	Input *SendContactMethodVerificationInput
	Copy  func(*SendContactMethodVerificationInput) SendContactMethodVerificationRequest
}

SendContactMethodVerificationRequest is the request type for the SendContactMethodVerification API operation.

func (SendContactMethodVerificationRequest) Send

Send marshals and sends the SendContactMethodVerification API request.

type SendContactMethodVerificationResponse

type SendContactMethodVerificationResponse struct {
	*SendContactMethodVerificationOutput
	// contains filtered or unexported fields
}

SendContactMethodVerificationResponse is the response type for the SendContactMethodVerification API operation.

func (*SendContactMethodVerificationResponse) SDKResponseMetdata

func (r *SendContactMethodVerificationResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the SendContactMethodVerification request.

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
}

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (StartInstanceOutput) String

func (s StartInstanceOutput) String() string

String returns the string representation

type StartInstanceRequest

type StartInstanceRequest struct {
	*aws.Request
	Input *StartInstanceInput
	Copy  func(*StartInstanceInput) StartInstanceRequest
}

StartInstanceRequest is the request type for the StartInstance API operation.

func (StartInstanceRequest) Send

Send marshals and sends the StartInstance API request.

type StartInstanceResponse

type StartInstanceResponse struct {
	*StartInstanceOutput
	// contains filtered or unexported fields
}

StartInstanceResponse is the response type for the StartInstance API operation.

func (*StartInstanceResponse) SDKResponseMetdata

func (r *StartInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartInstance request.

type StartRelationalDatabaseInput

type StartRelationalDatabaseInput struct {

	// The name of your database to start.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (StartRelationalDatabaseInput) String

String returns the string representation

func (*StartRelationalDatabaseInput) Validate

func (s *StartRelationalDatabaseInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StartRelationalDatabaseOutput

type StartRelationalDatabaseOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (StartRelationalDatabaseOutput) String

String returns the string representation

type StartRelationalDatabaseRequest

type StartRelationalDatabaseRequest struct {
	*aws.Request
	Input *StartRelationalDatabaseInput
	Copy  func(*StartRelationalDatabaseInput) StartRelationalDatabaseRequest
}

StartRelationalDatabaseRequest is the request type for the StartRelationalDatabase API operation.

func (StartRelationalDatabaseRequest) Send

Send marshals and sends the StartRelationalDatabase API request.

type StartRelationalDatabaseResponse

type StartRelationalDatabaseResponse struct {
	*StartRelationalDatabaseOutput
	// contains filtered or unexported fields
}

StartRelationalDatabaseResponse is the response type for the StartRelationalDatabase API operation.

func (*StartRelationalDatabaseResponse) SDKResponseMetdata

func (r *StartRelationalDatabaseResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StartRelationalDatabase request.

type StaticIp

type StaticIp struct {

	// The Amazon Resource Name (ARN) of the static IP (e.g., arn:aws:lightsail:us-east-2:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE).
	Arn *string `locationName:"arn" type:"string"`

	// The instance where the static IP is attached (e.g., Amazon_Linux-1GB-Ohio-1).
	AttachedTo *string `locationName:"attachedTo" type:"string"`

	// The timestamp when the static IP was created (e.g., 1479735304.222).
	CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"`

	// 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.

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
}

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (StopInstanceOutput) String

func (s StopInstanceOutput) String() string

String returns the string representation

type StopInstanceRequest

type StopInstanceRequest struct {
	*aws.Request
	Input *StopInstanceInput
	Copy  func(*StopInstanceInput) StopInstanceRequest
}

StopInstanceRequest is the request type for the StopInstance API operation.

func (StopInstanceRequest) Send

Send marshals and sends the StopInstance API request.

type StopInstanceResponse

type StopInstanceResponse struct {
	*StopInstanceOutput
	// contains filtered or unexported fields
}

StopInstanceResponse is the response type for the StopInstance API operation.

func (*StopInstanceResponse) SDKResponseMetdata

func (r *StopInstanceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StopInstance request.

type StopRelationalDatabaseInput

type StopRelationalDatabaseInput struct {

	// The name of your database to stop.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`

	// The name of your new database snapshot to be created before stopping your
	// database.
	RelationalDatabaseSnapshotName *string `locationName:"relationalDatabaseSnapshotName" type:"string"`
	// contains filtered or unexported fields
}

func (StopRelationalDatabaseInput) String

String returns the string representation

func (*StopRelationalDatabaseInput) Validate

func (s *StopRelationalDatabaseInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type StopRelationalDatabaseOutput

type StopRelationalDatabaseOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (StopRelationalDatabaseOutput) String

String returns the string representation

type StopRelationalDatabaseRequest

type StopRelationalDatabaseRequest struct {
	*aws.Request
	Input *StopRelationalDatabaseInput
	Copy  func(*StopRelationalDatabaseInput) StopRelationalDatabaseRequest
}

StopRelationalDatabaseRequest is the request type for the StopRelationalDatabase API operation.

func (StopRelationalDatabaseRequest) Send

Send marshals and sends the StopRelationalDatabase API request.

type StopRelationalDatabaseResponse

type StopRelationalDatabaseResponse struct {
	*StopRelationalDatabaseOutput
	// contains filtered or unexported fields
}

StopRelationalDatabaseResponse is the response type for the StopRelationalDatabase API operation.

func (*StopRelationalDatabaseResponse) SDKResponseMetdata

func (r *StopRelationalDatabaseResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the StopRelationalDatabase request.

type Tag

type Tag struct {

	// The key of the tag.
	//
	// Constraints: Tag keys accept a maximum of 128 letters, numbers, spaces in
	// UTF-8, or the following characters: + - = . _ : / @
	Key *string `locationName:"key" type:"string"`

	// The value of the tag.
	//
	// Constraints: Tag values accept a maximum of 256 letters, numbers, spaces
	// in UTF-8, or the following characters: + - = . _ : / @
	Value *string `locationName:"value" type:"string"`
	// contains filtered or unexported fields
}

Describes a tag key and optional value assigned to an Amazon Lightsail resource.

For more information about tags in Lightsail, see the Lightsail Dev Guide (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).

func (Tag) String

func (s Tag) String() string

String returns the string representation

type TagResourceInput

type TagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource to which you want to add a
	// tag.
	ResourceArn *string `locationName:"resourceArn" type:"string"`

	// The name of the resource to which you are adding tags.
	//
	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`

	// The tag key and optional value.
	//
	// Tags is a required field
	Tags []Tag `locationName:"tags" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (TagResourceInput) String

func (s TagResourceInput) String() string

String returns the string representation

func (*TagResourceInput) Validate

func (s *TagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TagResourceOutput

type TagResourceOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (TagResourceOutput) String

func (s TagResourceOutput) String() string

String returns the string representation

type TagResourceRequest

type TagResourceRequest struct {
	*aws.Request
	Input *TagResourceInput
	Copy  func(*TagResourceInput) TagResourceRequest
}

TagResourceRequest is the request type for the TagResource API operation.

func (TagResourceRequest) Send

Send marshals and sends the TagResource API request.

type TagResourceResponse

type TagResourceResponse struct {
	*TagResourceOutput
	// contains filtered or unexported fields
}

TagResourceResponse is the response type for the TagResource API operation.

func (*TagResourceResponse) SDKResponseMetdata

func (r *TagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TagResource request.

type TestAlarmInput

type TestAlarmInput struct {

	// The name of the alarm to test.
	//
	// AlarmName is a required field
	AlarmName *string `locationName:"alarmName" type:"string" required:"true"`

	// The alarm state to test.
	//
	// An alarm has the following possible states that can be tested:
	//
	//    * ALARM - The metric is outside of the defined threshold.
	//
	//    * INSUFFICIENT_DATA - The alarm has just started, the metric is not available,
	//    or not enough data is available for the metric to determine the alarm
	//    state.
	//
	//    * OK - The metric is within the defined threshold.
	//
	// State is a required field
	State AlarmState `locationName:"state" type:"string" required:"true" enum:"true"`
	// contains filtered or unexported fields
}

func (TestAlarmInput) String

func (s TestAlarmInput) String() string

String returns the string representation

func (*TestAlarmInput) Validate

func (s *TestAlarmInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TestAlarmOutput

type TestAlarmOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (TestAlarmOutput) String

func (s TestAlarmOutput) String() string

String returns the string representation

type TestAlarmRequest

type TestAlarmRequest struct {
	*aws.Request
	Input *TestAlarmInput
	Copy  func(*TestAlarmInput) TestAlarmRequest
}

TestAlarmRequest is the request type for the TestAlarm API operation.

func (TestAlarmRequest) Send

Send marshals and sends the TestAlarm API request.

type TestAlarmResponse

type TestAlarmResponse struct {
	*TestAlarmOutput
	// contains filtered or unexported fields
}

TestAlarmResponse is the response type for the TestAlarm API operation.

func (*TestAlarmResponse) SDKResponseMetdata

func (r *TestAlarmResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the TestAlarm request.

type TreatMissingData

type TreatMissingData string
const (
	TreatMissingDataBreaching    TreatMissingData = "breaching"
	TreatMissingDataNotBreaching TreatMissingData = "notBreaching"
	TreatMissingDataIgnore       TreatMissingData = "ignore"
	TreatMissingDataMissing      TreatMissingData = "missing"
)

Enum values for TreatMissingData

func (TreatMissingData) MarshalValue

func (enum TreatMissingData) MarshalValue() (string, error)

func (TreatMissingData) MarshalValueBuf

func (enum TreatMissingData) MarshalValueBuf(b []byte) ([]byte, error)

type UnpeerVpcInput

type UnpeerVpcInput struct {
	// contains filtered or unexported fields
}

func (UnpeerVpcInput) String

func (s UnpeerVpcInput) String() string

String returns the string representation

type UnpeerVpcOutput

type UnpeerVpcOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operation *Operation `locationName:"operation" type:"structure"`
	// contains filtered or unexported fields
}

func (UnpeerVpcOutput) String

func (s UnpeerVpcOutput) String() string

String returns the string representation

type UnpeerVpcRequest

type UnpeerVpcRequest struct {
	*aws.Request
	Input *UnpeerVpcInput
	Copy  func(*UnpeerVpcInput) UnpeerVpcRequest
}

UnpeerVpcRequest is the request type for the UnpeerVpc API operation.

func (UnpeerVpcRequest) Send

Send marshals and sends the UnpeerVpc API request.

type UnpeerVpcResponse

type UnpeerVpcResponse struct {
	*UnpeerVpcOutput
	// contains filtered or unexported fields
}

UnpeerVpcResponse is the response type for the UnpeerVpc API operation.

func (*UnpeerVpcResponse) SDKResponseMetdata

func (r *UnpeerVpcResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UnpeerVpc request.

type UntagResourceInput

type UntagResourceInput struct {

	// The Amazon Resource Name (ARN) of the resource from which you want to remove
	// a tag.
	ResourceArn *string `locationName:"resourceArn" type:"string"`

	// The name of the resource from which you are removing a tag.
	//
	// ResourceName is a required field
	ResourceName *string `locationName:"resourceName" type:"string" required:"true"`

	// The tag keys to delete from the specified resource.
	//
	// TagKeys is a required field
	TagKeys []string `locationName:"tagKeys" type:"list" required:"true"`
	// contains filtered or unexported fields
}

func (UntagResourceInput) String

func (s UntagResourceInput) String() string

String returns the string representation

func (*UntagResourceInput) Validate

func (s *UntagResourceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UntagResourceOutput

type UntagResourceOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (UntagResourceOutput) String

func (s UntagResourceOutput) String() string

String returns the string representation

type UntagResourceRequest

type UntagResourceRequest struct {
	*aws.Request
	Input *UntagResourceInput
	Copy  func(*UntagResourceInput) UntagResourceRequest
}

UntagResourceRequest is the request type for the UntagResource API operation.

func (UntagResourceRequest) Send

Send marshals and sends the UntagResource API request.

type UntagResourceResponse

type UntagResourceResponse struct {
	*UntagResourceOutput
	// contains filtered or unexported fields
}

UntagResourceResponse is the response type for the UntagResource API operation.

func (*UntagResourceResponse) SDKResponseMetdata

func (r *UntagResourceResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UntagResource request.

type UpdateDomainEntryInput

type UpdateDomainEntryInput struct {

	// An array of key-value pairs containing information about the domain entry.
	//
	// DomainEntry is a required field
	DomainEntry *DomainEntry `locationName:"domainEntry" type:"structure" required:"true"`

	// The name of the domain recordset to update.
	//
	// DomainName is a required field
	DomainName *string `locationName:"domainName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

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 objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateDomainEntryOutput) String

func (s UpdateDomainEntryOutput) String() string

String returns the string representation

type UpdateDomainEntryRequest

type UpdateDomainEntryRequest struct {
	*aws.Request
	Input *UpdateDomainEntryInput
	Copy  func(*UpdateDomainEntryInput) UpdateDomainEntryRequest
}

UpdateDomainEntryRequest is the request type for the UpdateDomainEntry API operation.

func (UpdateDomainEntryRequest) Send

Send marshals and sends the UpdateDomainEntry API request.

type UpdateDomainEntryResponse

type UpdateDomainEntryResponse struct {
	*UpdateDomainEntryOutput
	// contains filtered or unexported fields
}

UpdateDomainEntryResponse is the response type for the UpdateDomainEntry API operation.

func (*UpdateDomainEntryResponse) SDKResponseMetdata

func (r *UpdateDomainEntryResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateDomainEntry request.

type UpdateLoadBalancerAttributeInput

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
}

func (UpdateLoadBalancerAttributeInput) String

String returns the string representation

func (*UpdateLoadBalancerAttributeInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateLoadBalancerAttributeOutput

type UpdateLoadBalancerAttributeOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateLoadBalancerAttributeOutput) String

String returns the string representation

type UpdateLoadBalancerAttributeRequest

type UpdateLoadBalancerAttributeRequest struct {
	*aws.Request
	Input *UpdateLoadBalancerAttributeInput
	Copy  func(*UpdateLoadBalancerAttributeInput) UpdateLoadBalancerAttributeRequest
}

UpdateLoadBalancerAttributeRequest is the request type for the UpdateLoadBalancerAttribute API operation.

func (UpdateLoadBalancerAttributeRequest) Send

Send marshals and sends the UpdateLoadBalancerAttribute API request.

type UpdateLoadBalancerAttributeResponse

type UpdateLoadBalancerAttributeResponse struct {
	*UpdateLoadBalancerAttributeOutput
	// contains filtered or unexported fields
}

UpdateLoadBalancerAttributeResponse is the response type for the UpdateLoadBalancerAttribute API operation.

func (*UpdateLoadBalancerAttributeResponse) SDKResponseMetdata

func (r *UpdateLoadBalancerAttributeResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateLoadBalancerAttribute request.

type UpdateRelationalDatabaseInput

type UpdateRelationalDatabaseInput struct {

	// When true, applies changes immediately. When false, applies changes during
	// the preferred maintenance window. Some changes may cause an outage.
	//
	// Default: false
	ApplyImmediately *bool `locationName:"applyImmediately" type:"boolean"`

	// Indicates the certificate that needs to be associated with the database.
	CaCertificateIdentifier *string `locationName:"caCertificateIdentifier" type:"string"`

	// When true, disables automated backup retention for your database.
	//
	// Disabling backup retention deletes all automated database backups. Before
	// disabling this, you may want to create a snapshot of your database using
	// the create relational database snapshot operation.
	//
	// Updates are applied during the next maintenance window because this can result
	// in an outage.
	DisableBackupRetention *bool `locationName:"disableBackupRetention" type:"boolean"`

	// When true, enables automated backup retention for your database.
	//
	// Updates are applied during the next maintenance window because this can result
	// in an outage.
	EnableBackupRetention *bool `locationName:"enableBackupRetention" type:"boolean"`

	// The password for the master user of your database. The password can include
	// any printable ASCII character except "/", """, or "@".
	//
	// Constraints: Must contain 8 to 41 characters.
	MasterUserPassword *string `locationName:"masterUserPassword" type:"string" sensitive:"true"`

	// The daily time range during which automated backups are created for your
	// database if automated backups are enabled.
	//
	// Constraints:
	//
	//    * Must be in the hh24:mi-hh24:mi format. Example: 16:00-16:30
	//
	//    * Specified in Coordinated Universal Time (UTC).
	//
	//    * Must not conflict with the preferred maintenance window.
	//
	//    * Must be at least 30 minutes.
	PreferredBackupWindow *string `locationName:"preferredBackupWindow" type:"string"`

	// The weekly time range during which system maintenance can occur on your database.
	//
	// The default is a 30-minute window selected at random from an 8-hour block
	// of time for each AWS Region, occurring on a random day of the week.
	//
	// Constraints:
	//
	//    * Must be in the ddd:hh24:mi-ddd:hh24:mi format.
	//
	//    * Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
	//
	//    * Must be at least 30 minutes.
	//
	//    * Specified in Coordinated Universal Time (UTC).
	//
	//    * Example: Tue:17:00-Tue:17:30
	PreferredMaintenanceWindow *string `locationName:"preferredMaintenanceWindow" type:"string"`

	// Specifies the accessibility options for your database. A value of true specifies
	// a database that is available to resources outside of your Lightsail account.
	// A value of false specifies a database that is available only to your Lightsail
	// resources in the same region as your database.
	PubliclyAccessible *bool `locationName:"publiclyAccessible" type:"boolean"`

	// The name of your database to update.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`

	// When true, the master user password is changed to a new strong password generated
	// by Lightsail.
	//
	// Use the get relational database master user password operation to get the
	// new password.
	RotateMasterUserPassword *bool `locationName:"rotateMasterUserPassword" type:"boolean"`
	// contains filtered or unexported fields
}

func (UpdateRelationalDatabaseInput) String

String returns the string representation

func (*UpdateRelationalDatabaseInput) Validate

func (s *UpdateRelationalDatabaseInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type UpdateRelationalDatabaseOutput

type UpdateRelationalDatabaseOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateRelationalDatabaseOutput) String

String returns the string representation

type UpdateRelationalDatabaseParametersInput

type UpdateRelationalDatabaseParametersInput struct {

	// The database parameters to update.
	//
	// Parameters is a required field
	Parameters []RelationalDatabaseParameter `locationName:"parameters" type:"list" required:"true"`

	// The name of your database for which to update parameters.
	//
	// RelationalDatabaseName is a required field
	RelationalDatabaseName *string `locationName:"relationalDatabaseName" type:"string" required:"true"`
	// contains filtered or unexported fields
}

func (UpdateRelationalDatabaseParametersInput) String

String returns the string representation

func (*UpdateRelationalDatabaseParametersInput) Validate

Validate inspects the fields of the type to determine if they are valid.

type UpdateRelationalDatabaseParametersOutput

type UpdateRelationalDatabaseParametersOutput struct {

	// An array of objects that describe the result of the action, such as the status
	// of the request, the timestamp of the request, and the resources affected
	// by the request.
	Operations []Operation `locationName:"operations" type:"list"`
	// contains filtered or unexported fields
}

func (UpdateRelationalDatabaseParametersOutput) String

String returns the string representation

type UpdateRelationalDatabaseParametersRequest

UpdateRelationalDatabaseParametersRequest is the request type for the UpdateRelationalDatabaseParameters API operation.

func (UpdateRelationalDatabaseParametersRequest) Send

Send marshals and sends the UpdateRelationalDatabaseParameters API request.

type UpdateRelationalDatabaseParametersResponse

type UpdateRelationalDatabaseParametersResponse struct {
	*UpdateRelationalDatabaseParametersOutput
	// contains filtered or unexported fields
}

UpdateRelationalDatabaseParametersResponse is the response type for the UpdateRelationalDatabaseParameters API operation.

func (*UpdateRelationalDatabaseParametersResponse) SDKResponseMetdata

func (r *UpdateRelationalDatabaseParametersResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateRelationalDatabaseParameters request.

type UpdateRelationalDatabaseRequest

type UpdateRelationalDatabaseRequest struct {
	*aws.Request
	Input *UpdateRelationalDatabaseInput
	Copy  func(*UpdateRelationalDatabaseInput) UpdateRelationalDatabaseRequest
}

UpdateRelationalDatabaseRequest is the request type for the UpdateRelationalDatabase API operation.

func (UpdateRelationalDatabaseRequest) Send

Send marshals and sends the UpdateRelationalDatabase API request.

type UpdateRelationalDatabaseResponse

type UpdateRelationalDatabaseResponse struct {
	*UpdateRelationalDatabaseOutput
	// contains filtered or unexported fields
}

UpdateRelationalDatabaseResponse is the response type for the UpdateRelationalDatabase API operation.

func (*UpdateRelationalDatabaseResponse) SDKResponseMetdata

func (r *UpdateRelationalDatabaseResponse) SDKResponseMetdata() *aws.Response

SDKResponseMetdata returns the response metadata for the UpdateRelationalDatabase request.

Source Files

api_client.go api_doc.go api_enums.go api_errors.go api_op_AllocateStaticIp.go api_op_AttachDisk.go api_op_AttachInstancesToLoadBalancer.go api_op_AttachLoadBalancerTlsCertificate.go api_op_AttachStaticIp.go api_op_CloseInstancePublicPorts.go api_op_CopySnapshot.go api_op_CreateCloudFormationStack.go api_op_CreateContactMethod.go api_op_CreateDisk.go api_op_CreateDiskFromSnapshot.go api_op_CreateDiskSnapshot.go api_op_CreateDomain.go api_op_CreateDomainEntry.go api_op_CreateInstanceSnapshot.go api_op_CreateInstances.go api_op_CreateInstancesFromSnapshot.go api_op_CreateKeyPair.go api_op_CreateLoadBalancer.go api_op_CreateLoadBalancerTlsCertificate.go api_op_CreateRelationalDatabase.go api_op_CreateRelationalDatabaseFromSnapshot.go api_op_CreateRelationalDatabaseSnapshot.go api_op_DeleteAlarm.go api_op_DeleteAutoSnapshot.go api_op_DeleteContactMethod.go api_op_DeleteDisk.go api_op_DeleteDiskSnapshot.go api_op_DeleteDomain.go api_op_DeleteDomainEntry.go api_op_DeleteInstance.go api_op_DeleteInstanceSnapshot.go api_op_DeleteKeyPair.go api_op_DeleteKnownHostKeys.go api_op_DeleteLoadBalancer.go api_op_DeleteLoadBalancerTlsCertificate.go api_op_DeleteRelationalDatabase.go api_op_DeleteRelationalDatabaseSnapshot.go api_op_DetachDisk.go api_op_DetachInstancesFromLoadBalancer.go api_op_DetachStaticIp.go api_op_DisableAddOn.go api_op_DownloadDefaultKeyPair.go api_op_EnableAddOn.go api_op_ExportSnapshot.go api_op_GetActiveNames.go api_op_GetAlarms.go api_op_GetAutoSnapshots.go api_op_GetBlueprints.go api_op_GetBundles.go api_op_GetCloudFormationStackRecords.go api_op_GetContactMethods.go api_op_GetDisk.go api_op_GetDiskSnapshot.go api_op_GetDiskSnapshots.go api_op_GetDisks.go api_op_GetDomain.go api_op_GetDomains.go api_op_GetExportSnapshotRecords.go api_op_GetInstance.go api_op_GetInstanceAccessDetails.go api_op_GetInstanceMetricData.go api_op_GetInstancePortStates.go api_op_GetInstanceSnapshot.go api_op_GetInstanceSnapshots.go api_op_GetInstanceState.go api_op_GetInstances.go api_op_GetKeyPair.go api_op_GetKeyPairs.go api_op_GetLoadBalancer.go api_op_GetLoadBalancerMetricData.go api_op_GetLoadBalancerTlsCertificates.go api_op_GetLoadBalancers.go api_op_GetOperation.go api_op_GetOperations.go api_op_GetOperationsForResource.go api_op_GetRegions.go api_op_GetRelationalDatabase.go api_op_GetRelationalDatabaseBlueprints.go api_op_GetRelationalDatabaseBundles.go api_op_GetRelationalDatabaseEvents.go api_op_GetRelationalDatabaseLogEvents.go api_op_GetRelationalDatabaseLogStreams.go api_op_GetRelationalDatabaseMasterUserPassword.go api_op_GetRelationalDatabaseMetricData.go api_op_GetRelationalDatabaseParameters.go api_op_GetRelationalDatabaseSnapshot.go api_op_GetRelationalDatabaseSnapshots.go api_op_GetRelationalDatabases.go api_op_GetStaticIp.go api_op_GetStaticIps.go api_op_ImportKeyPair.go api_op_IsVpcPeered.go api_op_OpenInstancePublicPorts.go api_op_PeerVpc.go api_op_PutAlarm.go api_op_PutInstancePublicPorts.go api_op_RebootInstance.go api_op_RebootRelationalDatabase.go api_op_ReleaseStaticIp.go api_op_SendContactMethodVerification.go api_op_StartInstance.go api_op_StartRelationalDatabase.go api_op_StopInstance.go api_op_StopRelationalDatabase.go api_op_TagResource.go api_op_TestAlarm.go api_op_UnpeerVpc.go api_op_UntagResource.go api_op_UpdateDomainEntry.go api_op_UpdateLoadBalancerAttribute.go api_op_UpdateRelationalDatabase.go api_op_UpdateRelationalDatabaseParameters.go api_types.go

Directories

PathSynopsis
service/lightsail/lightsailifacePackage lightsailiface provides an interface to enable mocking the Amazon Lightsail service client for testing your code.
Version
v0.23.0
Published
May 28, 2020
Platform
js/wasm
Imports
8 packages
Last checked
4 seconds ago

Tools for package owners.